llvm-project/llvm/lib/Target/Mips
Petar Avramovic 1e62635d05 [MIPS GlobalISel] ClampScalar and select pointer G_ICMP
Add narrowScalar to half of original size for G_ICMP.
ClampScalar G_ICMP's operands 2 and 3 to to s32.
Select G_ICMP for pointers for MIPS32. Pointer compare is same
as for integers, it is enough to declare them as legal type.

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

llvm-svn: 366317
2019-07-17 12:08:01 +00:00
..
AsmParser [mips] Implement .cplocal directive 2019-07-17 08:11:31 +00:00
Disassembler Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
MCTargetDesc [mips] Implement .cplocal directive 2019-07-17 08:11:31 +00:00
TargetInfo Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
CMakeLists.txt [Mips] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 01:38:56 +00:00
LLVMBuild.txt [Mips] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 01:38:56 +00:00
MSA.txt
MicroMips32r6InstrFormats.td
MicroMips32r6InstrInfo.td [mips] Fix JmpLink to texternalsym and tglobaladdr on mcroMIPS R6 2019-07-12 04:58:45 +00:00
MicroMipsDSPInstrFormats.td
MicroMipsDSPInstrInfo.td
MicroMipsInstrFPU.td [mips] Add more strict predicates to the RSQRT_S_MM and TAILCALL_MM 2019-06-18 17:00:08 +00:00
MicroMipsInstrFormats.td
MicroMipsInstrInfo.td [mips] Add more strict predicates to the RSQRT_S_MM and TAILCALL_MM 2019-06-18 17:00:08 +00:00
MicroMipsSizeReduction.cpp
Mips.h
Mips.td
Mips16FrameLowering.cpp
Mips16FrameLowering.h
Mips16HardFloat.cpp
Mips16HardFloatInfo.cpp
Mips16HardFloatInfo.h
Mips16ISelDAGToDAG.cpp
Mips16ISelDAGToDAG.h
Mips16ISelLowering.cpp Simplify std::lower_bound with llvm::{bsearch,lower_bound}. NFC 2019-06-21 05:40:31 +00:00
Mips16ISelLowering.h [TargetLowering] Add MachineMemOperand::Flags to allowsMemoryAccess tests (PR42123) 2019-06-12 17:14:03 +00:00
Mips16InstrFormats.td
Mips16InstrInfo.cpp
Mips16InstrInfo.h
Mips16InstrInfo.td [mips] Add missing mips16 instructions to general scheduling definitions 2019-07-03 10:33:09 +00:00
Mips16RegisterInfo.cpp
Mips16RegisterInfo.h
Mips32r6InstrFormats.td
Mips32r6InstrInfo.td [mips] Mark the `lwupc` instruction as MIPS64 R6 only 2019-06-19 22:08:06 +00:00
Mips64InstrInfo.td [mips] Use mult/mflo pattern on 64-bit targets prior to MIPS64 2019-07-17 08:11:40 +00:00
Mips64r6InstrInfo.td [mips] Mark the `lwupc` instruction as MIPS64 R6 only 2019-06-19 22:08:06 +00:00
MipsAnalyzeImmediate.cpp
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
MipsAsmPrinter.h [AsmPrinter] refactor to remove remove AsmVariant. NFC 2019-04-10 16:38:43 +00:00
MipsBranchExpansion.cpp
MipsCCState.cpp
MipsCCState.h
MipsCallLowering.cpp GlobalISel: Convert some build functions to using SrcOp/DstOp 2019-07-08 16:27:47 +00:00
MipsCallLowering.h [GlobalISel] Accept multiple vregs in lowerFormalArgs 2019-06-27 08:54:17 +00:00
MipsCallingConv.td
MipsCondMov.td [mips] Mark pseudo select instructions by the `hasNoSchedulingInfo` tag 2019-06-27 13:41:30 +00:00
MipsConstantIslandPass.cpp Simplify std::lower_bound with llvm::{bsearch,lower_bound}. NFC 2019-06-21 05:40:31 +00:00
MipsDSPInstrFormats.td
MipsDSPInstrInfo.td [mips] Add missing schedinfo for MSA and ASE instructions 2019-07-01 13:21:05 +00:00
MipsDelaySlotFiller.cpp [mips] Use range-based `for` loops. NFC 2019-05-15 21:26:25 +00:00
MipsEVAInstrFormats.td
MipsEVAInstrInfo.td
MipsExpandPseudo.cpp
MipsFastISel.cpp
MipsFrameLowering.cpp
MipsFrameLowering.h
MipsISelDAGToDAG.cpp
MipsISelDAGToDAG.h
MipsISelLowering.cpp [Mips] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 01:38:56 +00:00
MipsISelLowering.h [mips] Support the "o" inline asm constraint 2019-07-17 08:11:15 +00:00
MipsInstrFPU.td [Mips] Add s.d instruction alias for Mips1 2019-06-12 17:52:05 +00:00
MipsInstrFormats.td [mips] Set the hasNoSchedulingInfo flag for the `MipsAsmPseudoInst` 2019-06-18 16:59:47 +00:00
MipsInstrInfo.cpp
MipsInstrInfo.h
MipsInstrInfo.td [mips] Print BEQZL and BNEZL pseudo instructions 2019-07-15 21:46:38 +00:00
MipsInstructionSelector.cpp [MIPS GlobalISel] Select float and double phi 2019-07-10 13:18:13 +00:00
MipsLegalizerInfo.cpp [MIPS GlobalISel] ClampScalar and select pointer G_ICMP 2019-07-17 12:08:01 +00:00
MipsLegalizerInfo.h
MipsMCInstLower.cpp
MipsMCInstLower.h
MipsMSAInstrFormats.td
MipsMSAInstrInfo.td [mips] Add missing schedinfo for MSA and ASE instructions 2019-07-01 13:21:05 +00:00
MipsMTInstrFormats.td
MipsMTInstrInfo.td
MipsMachineFunction.cpp GlobalISel: Remove unsigned variant of SrcOp 2019-06-24 16:16:12 +00:00
MipsMachineFunction.h GlobalISel: Remove unsigned variant of SrcOp 2019-06-24 16:16:12 +00:00
MipsModuleISelDAGToDAG.cpp
MipsOptimizePICCall.cpp
MipsOptionRecord.h
MipsOs16.cpp
MipsPreLegalizerCombiner.cpp
MipsRegisterBankInfo.cpp [MIPS GlobalISel] Skip copies in addUseDef and addDefUses 2019-07-11 09:28:34 +00:00
MipsRegisterBankInfo.h [MIPS GlobalISel] Skip copies in addUseDef and addDefUses 2019-07-11 09:28:34 +00:00
MipsRegisterBanks.td [MIPS GlobalISel] Add floating point register bank 2019-03-25 11:30:46 +00:00
MipsRegisterInfo.cpp CodeGen: Introduce a class for registers 2019-06-24 15:50:29 +00:00
MipsRegisterInfo.h CodeGen: Introduce a class for registers 2019-06-24 15:50:29 +00:00
MipsRegisterInfo.td [mips] Extend range of register indexes accepted by cfcmsa/ctcmsa 2019-06-01 13:55:18 +00:00
MipsSEFrameLowering.cpp
MipsSEFrameLowering.h
MipsSEISelDAGToDAG.cpp [mips] Support the "o" inline asm constraint 2019-07-17 08:11:15 +00:00
MipsSEISelDAGToDAG.h [mips] Move initGlobalBaseReg to MipsFunctionInfo. NFC 2019-05-31 08:15:28 +00:00
MipsSEISelLowering.cpp CodeGen: Introduce a class for registers 2019-06-24 15:50:29 +00:00
MipsSEISelLowering.h [TargetLowering] Add MachineMemOperand::Flags to allowsMemoryAccess tests (PR42123) 2019-06-12 17:14:03 +00:00
MipsSEInstrInfo.cpp [Mips] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 01:38:56 +00:00
MipsSEInstrInfo.h
MipsSERegisterInfo.cpp
MipsSERegisterInfo.h
MipsSchedule.td
MipsScheduleGeneric.td [mips] Fix JmpLink to texternalsym and tglobaladdr on mcroMIPS R6 2019-07-12 04:58:45 +00:00
MipsScheduleP5600.td [mips] Mark P5600 scheduling model as complete 2019-07-02 10:22:14 +00:00
MipsSubtarget.cpp [mips] Show error in case of using FP64 mode on pre MIPS32R2 CPU 2019-07-09 15:48:16 +00:00
MipsSubtarget.h
MipsTargetMachine.cpp Revert CMake: Make most target symbols hidden by default 2019-06-11 03:21:13 +00:00
MipsTargetMachine.h [Mips][CodeGen] Remove MachineFunction::setSubtarget. Change Mips to just copy the subtarget from the MachineFunction instead of recalculating it. 2019-04-24 06:48:31 +00:00
MipsTargetObjectFile.cpp
MipsTargetObjectFile.h
MipsTargetStreamer.h [mips] Implement .cplocal directive 2019-07-17 08:11:31 +00:00
Relocation.txt