1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/Target/Mips
Simon Atanasyan 685de12431 [mips] Disable the selection of mixed microMIPS/MIPS code
This patch modifies hasStandardEncoding() / inMicroMipsMode() /
inMips16Mode() methods of the MipsSubtarget class so only one can be
true at any one time. That prevents the selection of microMIPS and MIPS
instructions and patterns that are defined in TableGen files at the same
time. A few new patterns and instruction definitions hae been added to
keep test cases passed.

Differential revision: https://reviews.llvm.org/D51483

llvm-svn: 341338
2018-09-03 20:48:55 +00:00
..
AsmParser Remove trailing space 2018-07-30 19:41:25 +00:00
Disassembler [mips] Fix the definitions of lwp, swp 2018-05-25 16:15:48 +00:00
InstPrinter [mips] Remove dead code. NFC 2018-07-11 09:41:28 +00:00
MCTargetDesc Remove trailing space 2018-07-30 19:41:25 +00:00
TargetInfo
CMakeLists.txt [mips] Fix atomic operations at O0, v3 2018-07-05 09:27:05 +00:00
LLVMBuild.txt
MicroMips32r6InstrFormats.td [mips] Sink PredicateControl further down the class hierarchy. 2018-05-30 12:40:53 +00:00
MicroMips32r6InstrInfo.td [mips] Fix mtc1 and mfc1 definitions for microMIPS R6 2018-08-31 15:57:17 +00:00
MicroMipsDSPInstrFormats.td [mips] Fix the predicates of some DSP instructions from AdditionalPredicates to ASEPredicate 2018-06-20 13:29:57 +00:00
MicroMipsDSPInstrInfo.td [mips] Fix the predicates of some DSP instructions from AdditionalPredicates to ASEPredicate 2018-06-20 13:29:57 +00:00
MicroMipsInstrFormats.td [mips] Add licensing information of the microMIPS tablegen files. (NFC) 2018-06-15 13:29:35 +00:00
MicroMipsInstrFPU.td [mips] Disable the selection of mixed microMIPS/MIPS code 2018-09-03 20:48:55 +00:00
MicroMipsInstrInfo.td [mips] Disable the selection of mixed microMIPS/MIPS code 2018-09-03 20:48:55 +00:00
MicroMipsSizeReduction.cpp [mips][microMIPS] Extending size reduction pass with LWP and SWP 2018-06-13 12:51:37 +00:00
Mips16FrameLowering.cpp [mips] Support shrink-wrapping 2018-06-29 16:37:16 +00:00
Mips16FrameLowering.h
Mips16HardFloat.cpp
Mips16HardFloatInfo.cpp
Mips16HardFloatInfo.h
Mips16InstrFormats.td
Mips16InstrInfo.cpp Make TargetInstrInfo::isCopyInstr return true for regular COPY-instructions 2018-08-30 14:32:47 +00:00
Mips16InstrInfo.h Make TargetInstrInfo::isCopyInstr return true for regular COPY-instructions 2018-08-30 14:32:47 +00:00
Mips16InstrInfo.td [mips] Fix local dynamic TLS with Sym64 2018-07-24 13:47:52 +00:00
Mips16ISelDAGToDAG.cpp [Mips] Remove uneeded variants of ADDC/ADDE lowering 2018-06-05 22:13:56 +00:00
Mips16ISelDAGToDAG.h
Mips16ISelLowering.cpp
Mips16ISelLowering.h
Mips16RegisterInfo.cpp
Mips16RegisterInfo.h
Mips32r6InstrFormats.td [mips] Sink PredicateControl further down the class hierarchy. 2018-05-30 12:40:53 +00:00
Mips32r6InstrInfo.td
Mips64InstrInfo.td [mips] Sign extend i32 return values on MIPS64 2018-07-26 10:59:35 +00:00
Mips64r6InstrInfo.td [mips] Sign extend i32 return values on MIPS64 2018-07-26 10:59:35 +00:00
Mips.h [mips] Fix atomic operations at O0, v3 2018-07-05 09:27:05 +00:00
Mips.td
MipsAnalyzeImmediate.cpp
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp Remove trailing space 2018-07-30 19:41:25 +00:00
MipsAsmPrinter.h
MipsBranchExpansion.cpp [mips] Handle branch expansion corner cases 2018-08-07 10:45:45 +00:00
MipsCallingConv.td
MipsCallLowering.cpp [MIPS GlobalISel] Lower i8 and i16 arguments 2018-08-23 20:41:09 +00:00
MipsCallLowering.h [MIPS GlobalISel] Lower i8 and i16 arguments 2018-08-23 20:41:09 +00:00
MipsCCState.cpp
MipsCCState.h
MipsCondMov.td
MipsConstantIslandPass.cpp Remove trailing space 2018-07-30 19:41:25 +00:00
MipsDelaySlotFiller.cpp [mips][microMIPS] Extending size reduction pass with LWP and SWP 2018-06-13 12:51:37 +00:00
MipsDSPInstrFormats.td [mips] Sink PredicateControl further down the class hierarchy. 2018-05-30 12:40:53 +00:00
MipsDSPInstrInfo.td [mips] Fix the predicates of some DSP instructions from AdditionalPredicates to ASEPredicate 2018-06-20 13:29:57 +00:00
MipsEVAInstrFormats.td [mips] Sink PredicateControl further down the class hierarchy. 2018-05-30 12:40:53 +00:00
MipsEVAInstrInfo.td
MipsExpandPseudo.cpp [mips] Fix atomic operations at O0, v3 2018-07-05 09:27:05 +00:00
MipsFastISel.cpp DAG: Add calling convention argument to calling convention funcs 2018-07-28 13:25:19 +00:00
MipsFrameLowering.cpp
MipsFrameLowering.h [mips] Support shrink-wrapping 2018-06-29 16:37:16 +00:00
MipsInstrFormats.td [mips] Mark standard encoded instructions as not being in MIPS16e 2018-07-12 08:50:11 +00:00
MipsInstrFPU.td [mips] Fix mtc1 and mfc1 definitions for microMIPS R6 2018-08-31 15:57:17 +00:00
MipsInstrInfo.cpp [MI] Change the array of MachineMemOperand pointers to be 2018-08-16 21:30:05 +00:00
MipsInstrInfo.h
MipsInstrInfo.td [mips] Fix local dynamic TLS with Sym64 2018-07-24 13:47:52 +00:00
MipsInstructionSelector.cpp [MIPS GlobalISel] Select global address 2018-08-01 09:03:23 +00:00
MipsISelDAGToDAG.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
MipsISelDAGToDAG.h CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
MipsISelLowering.cpp DAG: Add calling convention argument to calling convention funcs 2018-07-28 13:25:19 +00:00
MipsISelLowering.h DAG: Add calling convention argument to calling convention funcs 2018-07-28 13:25:19 +00:00
MipsLegalizerInfo.cpp [MIPS GlobalISel] Legalize i8 and i16 add 2018-08-26 07:25:33 +00:00
MipsLegalizerInfo.h
MipsMachineFunction.cpp [mips] Factor out register class selection for global base register. NFC 2018-07-21 16:16:08 +00:00
MipsMachineFunction.h
MipsMCInstLower.cpp [mips] Extend LONG_BRANCH_LUi/ADDiu with extra parameter 2018-06-12 10:23:49 +00:00
MipsMCInstLower.h [mips] Extend LONG_BRANCH_LUi/ADDiu with extra parameter 2018-06-12 10:23:49 +00:00
MipsModuleISelDAGToDAG.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
MipsMSAInstrFormats.td [mips] Correct predicates for MSA pseudo instructions 2018-06-14 13:03:53 +00:00
MipsMSAInstrInfo.td [mips] Handle missing CondCodes 2018-08-22 09:34:44 +00:00
MipsMTInstrFormats.td [mips] Sink PredicateControl further down the class hierarchy. 2018-05-30 12:40:53 +00:00
MipsMTInstrInfo.td
MipsOptimizePICCall.cpp
MipsOptionRecord.h
MipsOs16.cpp
MipsRegisterBankInfo.cpp [MIPS GlobalISel] Select bitwise instructions 2018-08-21 08:15:56 +00:00
MipsRegisterBankInfo.h
MipsRegisterBanks.td
MipsRegisterInfo.cpp
MipsRegisterInfo.h
MipsRegisterInfo.td
MipsSchedule.td
MipsScheduleGeneric.td
MipsScheduleP5600.td [mips] Update the P5600 scheduler model not to use instruction itineraries. 2018-07-11 13:21:10 +00:00
MipsSEFrameLowering.cpp [mips] Prevent shrink-wrap for BuildPairF64, ExtractElementF64 when they use $sp 2018-08-29 14:07:14 +00:00
MipsSEFrameLowering.h
MipsSEInstrInfo.cpp [mips] Disable the selection of mixed microMIPS/MIPS code 2018-09-03 20:48:55 +00:00
MipsSEInstrInfo.h Make TargetInstrInfo::isCopyInstr return true for regular COPY-instructions 2018-08-30 14:32:47 +00:00
MipsSEISelDAGToDAG.cpp [mips] Prevent shrink-wrap for BuildPairF64, ExtractElementF64 when they use $sp 2018-08-29 14:07:14 +00:00
MipsSEISelDAGToDAG.h
MipsSEISelLowering.cpp [Mips] Remove uneeded variants of ADDC/ADDE lowering 2018-06-05 22:13:56 +00:00
MipsSEISelLowering.h
MipsSERegisterInfo.cpp
MipsSERegisterInfo.h
MipsSubtarget.cpp [mips] Warn when crc, ginv, virt flags are used with too old revision 2018-07-04 19:26:31 +00:00
MipsSubtarget.h [mips] Disable the selection of mixed microMIPS/MIPS code 2018-09-03 20:48:55 +00:00
MipsTargetMachine.cpp [mips] Remove dead code from MipsPassConfig 2018-08-16 08:43:17 +00:00
MipsTargetMachine.h
MipsTargetObjectFile.cpp
MipsTargetObjectFile.h
MipsTargetStreamer.h
MSA.txt
Relocation.txt