llvm/lib/Target/Mips
Serge Guelton 9d54400bba Module::getOrInsertFunction is using C-style vararg instead of variadic templates.
From a user prospective, it forces the use of an annoying nullptr to mark the end of the vararg, and there's not type checking on the arguments.
The variadic template is an obvious solution to both issues.

Differential Revision: https://reviews.llvm.org/D31070



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299949 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-11 15:01:18 +00:00
..
AsmParser [mips] Fix 64bit slt/sltu/nor with immediates 2017-02-28 15:55:23 +00:00
Disassembler [Mips] Fix for decoding DINS instruction - disassembler 2017-03-23 13:19:04 +00:00
InstPrinter
MCTargetDesc [mips] Use Triple::isLittleEndian to check endianness. NFC 2017-04-10 19:42:44 +00:00
TargetInfo Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
CMakeLists.txt [mips] Revert fixes for PR32020. 2017-03-09 14:03:26 +00:00
LLVMBuild.txt
MicroMips32r6InstrFormats.td
MicroMips32r6InstrInfo.td [mips] seb, seh instruction aliases 2016-11-22 19:17:23 +00:00
MicroMips64r6InstrFormats.td
MicroMips64r6InstrInfo.td [mips] Recommit: "N64 static relocation model support" 2017-01-27 11:36:52 +00:00
MicroMipsDSPInstrFormats.td
MicroMipsDSPInstrInfo.td
MicroMipsInstrFormats.td [mips] Correct c.cond.fmt instruction definition. 2017-01-16 13:55:58 +00:00
MicroMipsInstrFPU.td [mips] Correct c.cond.fmt instruction definition. 2017-01-16 13:55:58 +00:00
MicroMipsInstrInfo.td [mips][ias] Further relax operands of certain assembly instructions 2017-02-23 12:40:58 +00:00
Mips16FrameLowering.cpp Move FrameInstructions from MachineModuleInfo to MachineFunction 2016-11-30 23:48:42 +00:00
Mips16FrameLowering.h
Mips16HardFloat.cpp Module::getOrInsertFunction is using C-style vararg instead of variadic templates. 2017-04-11 15:01:18 +00:00
Mips16HardFloatInfo.cpp
Mips16HardFloatInfo.h
Mips16InstrFormats.td
Mips16InstrInfo.cpp
Mips16InstrInfo.h
Mips16InstrInfo.td [mips] Correct mips16 return instructions definitions 2017-02-14 21:53:23 +00:00
Mips16ISelDAGToDAG.cpp
Mips16ISelDAGToDAG.h
Mips16ISelLowering.cpp
Mips16ISelLowering.h
Mips16RegisterInfo.cpp
Mips16RegisterInfo.h
Mips32r6InstrFormats.td [mips] Add IAS support for dvp, evp 2016-10-13 12:12:56 +00:00
Mips32r6InstrInfo.td [mips] divide macro instruction cleanup. 2017-02-13 16:06:48 +00:00
Mips64InstrInfo.td [Mips] Add support to match more patterns for DEXT and CINS 2017-03-15 13:10:08 +00:00
Mips64r6InstrInfo.td [mips] Fix aui/daui/dahi/dati for MIPSR6 2016-10-14 09:31:42 +00:00
Mips.h [mips] Revert fixes for PR32020. 2017-03-09 14:03:26 +00:00
Mips.td [mips] Recommit: "N64 static relocation model support" 2017-01-27 11:36:52 +00:00
MipsAnalyzeImmediate.cpp
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp [LLVM][XRAY][MIPS] Support xray on mips/mipsel/mips64/mips64el 2017-02-15 10:48:11 +00:00
MipsAsmPrinter.h [LLVM][XRAY][MIPS] Support xray on mips/mipsel/mips64/mips64el 2017-02-15 10:48:11 +00:00
MipsCallingConv.td Revert "[SelectionDAG] Enable target specific vector scalarization of calls and returns" 2017-04-07 17:25:05 +00:00
MipsCCState.cpp Revert "[SelectionDAG] Enable target specific vector scalarization of calls and returns" 2017-04-07 17:25:05 +00:00
MipsCCState.h Revert "[SelectionDAG] Enable target specific vector scalarization of calls and returns" 2017-04-07 17:25:05 +00:00
MipsCondMov.td
MipsConstantIslandPass.cpp [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-30 23:21:32 +00:00
MipsDelaySlotFiller.cpp [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-01 01:22:51 +00:00
MipsDSPInstrFormats.td
MipsDSPInstrInfo.td
MipsEVAInstrFormats.td [mips] Add IAS support for dvp, evp 2016-10-13 12:12:56 +00:00
MipsEVAInstrInfo.td
MipsFastISel.cpp [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-30 23:21:32 +00:00
MipsFrameLowering.cpp
MipsFrameLowering.h
MipsHazardSchedule.cpp [mips] Deal with empty blocks in the mips hazard scheduler 2017-04-04 11:28:53 +00:00
MipsInstrFormats.td [mips] Correct c.cond.fmt instruction definition. 2017-01-16 13:55:58 +00:00
MipsInstrFPU.td [mips] Correct c.cond.fmt instruction definition. 2017-01-16 13:55:58 +00:00
MipsInstrInfo.cpp [mips][msa] Prevent output operand from commuting for dpadd_[su].df ins 2017-03-31 14:31:55 +00:00
MipsInstrInfo.h [mips][msa] Prevent output operand from commuting for dpadd_[su].df ins 2017-03-31 14:31:55 +00:00
MipsInstrInfo.td [Mips] Add support to match more patterns for DEXT and CINS 2017-03-15 13:10:08 +00:00
MipsISelDAGToDAG.cpp
MipsISelDAGToDAG.h
MipsISelLowering.cpp Revert "[SelectionDAG] Enable target specific vector scalarization of calls and returns" 2017-04-07 17:25:05 +00:00
MipsISelLowering.h Revert "[SelectionDAG] Enable target specific vector scalarization of calls and returns" 2017-04-07 17:25:05 +00:00
MipsLongBranch.cpp [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-01 01:22:51 +00:00
MipsMachineFunction.cpp [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-30 23:21:32 +00:00
MipsMachineFunction.h [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-30 23:21:32 +00:00
MipsMCInstLower.cpp
MipsMCInstLower.h
MipsModuleISelDAGToDAG.cpp
MipsMSAInstrFormats.td
MipsMSAInstrInfo.td [mips][msa] Implement f16 support 2016-11-18 16:17:44 +00:00
MipsOptimizePICCall.cpp [mips] Do not allow -opt-bisect-limit to skip the PIC call optimization pass. 2016-10-27 15:50:36 +00:00
MipsOptionRecord.h [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-01 01:22:51 +00:00
MipsOs16.cpp Remove getArgumentList() in favor of arg_begin(), args(), etc 2017-03-16 22:59:15 +00:00
MipsRegisterInfo.cpp Revert "[SelectionDAG] Enable target specific vector scalarization of calls and returns" 2017-04-07 17:25:05 +00:00
MipsRegisterInfo.h
MipsRegisterInfo.td [mips] divide macro instruction cleanup. 2017-02-13 16:06:48 +00:00
MipsSchedule.td
MipsScheduleGeneric.td
MipsScheduleP5600.td
MipsSEFrameLowering.cpp [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-01 01:22:51 +00:00
MipsSEFrameLowering.h [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-01 01:22:51 +00:00
MipsSEInstrInfo.cpp [mips] Fix return lowering 2017-03-09 11:19:48 +00:00
MipsSEInstrInfo.h
MipsSEISelDAGToDAG.cpp [mips][msa] Fix generation of bm(n)zi and bins[lr]i instructions 2017-04-07 13:31:36 +00:00
MipsSEISelDAGToDAG.h [LLC][MIPS] Fix crash after enabling LLVM_ENABLE_EXPENSIVE_CHECKS 2017-01-04 09:34:37 +00:00
MipsSEISelLowering.cpp [mips][msa] Fix generation of bm(n)zi and bins[lr]i instructions 2017-04-07 13:31:36 +00:00
MipsSEISelLowering.h [mips][msa] Implement f16 support 2016-11-18 16:17:44 +00:00
MipsSERegisterInfo.cpp
MipsSERegisterInfo.h
MipsSubtarget.cpp [mips] Recommit: "N64 static relocation model support" 2017-01-27 11:36:52 +00:00
MipsSubtarget.h [LLVM][XRAY][MIPS] Support xray on mips/mipsel/mips64/mips64el 2017-02-15 10:48:11 +00:00
MipsTargetMachine.cpp [mips] Revert fixes for PR32020. 2017-03-09 14:03:26 +00:00
MipsTargetMachine.h [Mips] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-01 01:22:51 +00:00
MipsTargetObjectFile.cpp [mips] Fix debug information for __thread variable 2017-01-20 17:53:30 +00:00
MipsTargetObjectFile.h [mips] Fix debug information for __thread variable 2017-01-20 17:53:30 +00:00
MipsTargetStreamer.h
MSA.txt Revert: r286868 - Test commit 2016-11-14 19:10:56 +00:00