llvm/lib/Target/Mips
Rafael Espindola 2dc637165b Don't pass a Reloc::Model to MC.
MC only needs to know if the output is PIC or not. It never has to
decide about creating GOTs and PLTs for example. The only thing that
MC itself uses this information for is expanding "macros" in sparc and
mips. The rest I am pretty sure could be moved to CodeGen.

This is a cleanup and isolates the code from future changes to
Reloc::Model.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269909 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-18 11:58:50 +00:00
..
AsmParser Don't pass a Reloc::Model to MC. 2016-05-18 11:58:50 +00:00
Disassembler [mips][microMIPS] Implement BEQZC and BNEZC instructions 2016-05-17 11:10:15 +00:00
InstPrinter [mips] Fix unused variable warning for release builds introduced by r268379. 2016-05-03 14:00:37 +00:00
MCTargetDesc Don't pass a Reloc::Model to MC. 2016-05-18 11:58:50 +00:00
TargetInfo
CMakeLists.txt [mips] MIPS32R6 compact branch support 2016-03-14 16:24:05 +00:00
LLVMBuild.txt
MicroMips32r6InstrFormats.td [mips][microMIPS] Implement BEQZC and BNEZC instructions 2016-05-17 11:10:15 +00:00
MicroMips32r6InstrInfo.td [mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions and add CodeGen support 2016-05-18 06:54:59 +00:00
MicroMips64r6InstrFormats.td [mips][micromips] Implement DSBH, DSHD, DSLL, DSLL32, DSLLV, DSRA, DSRA32 and DSRAV instructions 2016-05-11 11:17:04 +00:00
MicroMips64r6InstrInfo.td [mips][micromips] Implement DSBH, DSHD, DSLL, DSLL32, DSLLV, DSRA, DSRA32 and DSRAV instructions 2016-05-11 11:17:04 +00:00
MicroMipsDSPInstrFormats.td [mips][microMIPS][DSP] Implement BALIGN, BITREV, BPOSGE32, CMP*, CMPGDU*, CMPGU* and CMPU* instructions 2016-05-17 09:32:58 +00:00
MicroMipsDSPInstrInfo.td [mips][microMIPS][DSP] Implement BALIGN, BITREV, BPOSGE32, CMP*, CMPGDU*, CMPGU* and CMPU* instructions 2016-05-17 09:32:58 +00:00
MicroMipsInstrFormats.td [mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions and add CodeGen support 2016-05-18 06:54:59 +00:00
MicroMipsInstrFPU.td Revert "[mips][microMIPS] Implement CFC*, CTC* and LDC* instructions" 2016-05-12 12:46:06 +00:00
MicroMipsInstrInfo.td [mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions and add CodeGen support 2016-05-18 06:54:59 +00:00
Mips16FrameLowering.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Mips16FrameLowering.h
Mips16HardFloat.cpp [mips] Use range-based for loops. NFC. 2016-03-14 15:05:30 +00:00
Mips16HardFloatInfo.cpp
Mips16HardFloatInfo.h
Mips16InstrFormats.td
Mips16InstrInfo.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Mips16InstrInfo.h
Mips16InstrInfo.td [mips] Trivial corrections to range checked immediates. 2016-04-11 15:20:40 +00:00
Mips16ISelDAGToDAG.cpp SDAG: Implement Select instead of SelectImpl in MipsDAGToDAGISel 2016-05-13 23:55:59 +00:00
Mips16ISelDAGToDAG.h SDAG: Implement Select instead of SelectImpl in MipsDAGToDAGISel 2016-05-13 23:55:59 +00:00
Mips16ISelLowering.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Mips16ISelLowering.h
Mips16RegisterInfo.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Mips16RegisterInfo.h
Mips32r6InstrFormats.td [PATCH] [mips] Restrict the creation of compact branches 2016-05-18 10:38:01 +00:00
Mips32r6InstrInfo.td [mips][microMIPS] Implement BEQZC and BNEZC instructions 2016-05-17 11:10:15 +00:00
Mips64InstrInfo.td [mips][micromips] Implement DSBH, DSHD, DSLL, DSLL32, DSLLV, DSRA, DSRA32 and DSRAV instructions 2016-05-11 11:17:04 +00:00
Mips64r6InstrInfo.td [mips][microMIPS] Add CodeGen support for MUL* and DMUL* instructions 2016-05-06 08:24:14 +00:00
Mips.h [Mips] Fix -Wunused-private-field warning after r263444. 2016-03-14 18:10:20 +00:00
Mips.td
MipsAnalyzeImmediate.cpp
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp Don't pass a Reloc::Model to MC. 2016-05-18 11:58:50 +00:00
MipsAsmPrinter.h [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
MipsCallingConv.td
MipsCCState.cpp [mips] Fix an issue with long double when function roundl is defined 2016-03-14 12:50:23 +00:00
MipsCCState.h
MipsCondMov.td Revert "[mips] Promote the result of SETCC nodes to GPR width." 2016-03-01 20:25:43 +00:00
MipsConstantIslandPass.cpp [mips][mips16] Use isUnconditionalBranch() in AnalyzeBranch() and constant island pass. 2016-05-06 13:23:51 +00:00
MipsDelaySlotFiller.cpp [mips] Compact branch policy control for MIPSR6 2016-05-17 10:21:43 +00:00
MipsDSPInstrFormats.td [mips][microMIPS] Implement APPEND, BPOSGE32C, MODSUB, MULSA.W.PH and MULSAQ_S.W.PH instructions 2016-05-13 11:32:53 +00:00
MipsDSPInstrInfo.td [mips][microMIPS][DSP] Implement BALIGN, BITREV, BPOSGE32, CMP*, CMPGDU*, CMPGU* and CMPU* instructions 2016-05-17 09:32:58 +00:00
MipsEVAInstrFormats.td
MipsEVAInstrInfo.td [mips] Range check simm9 and fix a bug this revealed. 2016-03-31 13:15:23 +00:00
MipsFastISel.cpp [mips][fastisel] Conditional moves do not have implicit operands. 2016-05-06 12:57:26 +00:00
MipsFrameLowering.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MipsFrameLowering.h Change eliminateCallFramePseudoInstr() to return an iterator 2016-03-31 18:33:38 +00:00
MipsHazardSchedule.cpp [PATCH] [mips] Fix forbidden slot hazard handling 2016-04-29 16:04:18 +00:00
MipsInstrFormats.td [mips] MIPS32R6 compact branch support 2016-03-14 16:24:05 +00:00
MipsInstrFPU.td Revert "[mips][microMIPS] Implement CFC*, CTC* and LDC* instructions" 2016-05-12 12:46:06 +00:00
MipsInstrInfo.cpp [PATCH] [mips] Restrict the creation of compact branches 2016-05-18 10:38:01 +00:00
MipsInstrInfo.h [mips] MIPS32R6 compact branch support 2016-03-14 16:24:05 +00:00
MipsInstrInfo.td [mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions and add CodeGen support 2016-05-18 06:54:59 +00:00
MipsISelDAGToDAG.cpp SDAG: Implement Select instead of SelectImpl in MipsDAGToDAGISel 2016-05-13 23:55:59 +00:00
MipsISelDAGToDAG.h SDAG: Implement Select instead of SelectImpl in MipsDAGToDAGISel 2016-05-13 23:55:59 +00:00
MipsISelLowering.cpp [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MipsISelLowering.h [PR27599] [SystemZ] [SelectionDAG] Fix extension of atomic cmpxchg result. 2016-05-10 16:49:04 +00:00
MipsLongBranch.cpp [mips] More range-based for loops. NFC. 2016-04-15 20:43:17 +00:00
MipsMachineFunction.cpp [mips][microMIPS] Fix for "Cannot copy registers" assertion 2016-04-13 06:17:21 +00:00
MipsMachineFunction.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MipsMCInstLower.cpp [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MipsMCInstLower.h [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MipsModuleISelDAGToDAG.cpp
MipsMSAInstrFormats.td
MipsMSAInstrInfo.td [mips] Split mem_msa into range checked mem_simm10 and mem_simm10_lsl[123] 2016-03-31 14:12:01 +00:00
MipsOptimizePICCall.cpp
MipsOptionRecord.h
MipsOs16.cpp [mips] Use range-based for loops. NFC. 2016-04-08 10:33:00 +00:00
MipsRegisterInfo.cpp [mips][ias] Attempt to fix 'not all control paths return a value' reported by MSVC. 2016-05-09 15:37:52 +00:00
MipsRegisterInfo.h [mips][micromips] Make getPointerRegClass() result depend on the instruction. 2016-05-09 13:38:25 +00:00
MipsRegisterInfo.td [mips][micromips] Make getPointerRegClass() result depend on the instruction. 2016-05-09 13:38:25 +00:00
MipsSchedule.td [mips] MIPSR6 Instruction itineraries 2016-03-11 13:05:06 +00:00
MipsScheduleP5600.td TableGen: Check scheduling models for completeness 2016-03-01 20:03:21 +00:00
MipsSEFrameLowering.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MipsSEFrameLowering.h
MipsSEInstrInfo.cpp [mips] Fix a small typo that would leave BLTZC out of getAnalyzableBrOpc().' 2016-04-22 13:05:51 +00:00
MipsSEInstrInfo.h
MipsSEISelDAGToDAG.cpp SDAG: Implement Select instead of SelectImpl in MipsDAGToDAGISel 2016-05-13 23:55:59 +00:00
MipsSEISelDAGToDAG.h SDAG: Implement Select instead of SelectImpl in MipsDAGToDAGISel 2016-05-13 23:55:59 +00:00
MipsSEISelLowering.cpp [mips][microMIPS] Implement APPEND, BPOSGE32C, MODSUB, MULSA.W.PH and MULSAQ_S.W.PH instructions 2016-05-13 11:32:53 +00:00
MipsSEISelLowering.h
MipsSERegisterInfo.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MipsSERegisterInfo.h
MipsSubtarget.cpp
MipsSubtarget.h
MipsTargetMachine.cpp CodeGen: Move TargetPassConfig from Passes.h to an own header; NFC 2016-05-10 03:21:59 +00:00
MipsTargetMachine.h
MipsTargetObjectFile.cpp
MipsTargetObjectFile.h
MipsTargetStreamer.h [mips][ias] EF_MIPS_MICROMIPS should iff microMIPS code was emitted. 2016-05-16 09:10:13 +00:00
MSA.txt