Home
last modified time | relevance | path

Searched refs:getSubtarget (Results 1 – 25 of 256) sorted by relevance

1234567891011

/external/llvm/lib/Target/NVPTX/
DNVPTXFrameLowering.cpp50 BuildMI(MBB, MBBI, dl, MF.getSubtarget().getInstrInfo()->get( in emitPrologue()
54 MF.getSubtarget().getInstrInfo()->get(NVPTX::MOV_DEPOT_ADDR_64), in emitPrologue()
60 MF.getSubtarget().getInstrInfo()->get(NVPTX::cvta_local_yes), in emitPrologue()
63 MF.getSubtarget().getInstrInfo()->get(NVPTX::MOV_DEPOT_ADDR), in emitPrologue()
DNVPTXPrologEpilogPass.cpp51 const TargetSubtargetInfo &STI = MF.getSubtarget(); in runOnMachineFunction()
112 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets()
113 const TargetRegisterInfo *RegInfo = Fn.getSubtarget().getRegisterInfo(); in calculateFrameObjectOffsets()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp65 const ARMSubtarget &STI = MF->getSubtarget<ARMSubtarget>(); in getCalleeSavedRegs()
96 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getCallPreservedMask()
111 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getThisReturnPreservedMask()
129 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getReservedRegs()
196 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getRegPressureLimit()
305 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in hasBasePointer()
346 if (!MRI->canReserveReg(getFramePointerReg(MF.getSubtarget<ARMSubtarget>()))) in canRealignStack()
350 if (MF.getSubtarget().getFrameLowering()->hasReservedCallFrame(MF)) in canRealignStack()
362 MF.getSubtarget().getFrameLowering()->getStackAlignment(); in needsStackRealignment()
380 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getFrameRegister()
[all …]
DARMMachineFunctionInfo.cpp17 : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), in ARMFunctionInfo()
18 hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()), in ARMFunctionInfo()
DThumbRegisterInfo.cpp46 if (!MF.getSubtarget<ARMSubtarget>().isThumb1Only()) in getLargestLegalSuperClass()
57 if (!MF.getSubtarget<ARMSubtarget>().isThumb1Only()) in getPointerRegClass()
69 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in emitThumb1LoadConstPool()
89 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in emitThumb2LoadConstPool()
108 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in emitLoadConstPool()
358 assert(MBB.getParent()->getSubtarget<ARMSubtarget>().isThumb1Only() && in rewriteFrameIndex()
426 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in resolveFrameIndex()
450 const ARMSubtarget &STI = MBB.getParent()->getSubtarget<ARMSubtarget>(); in saveScavengerRegister()
503 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in eliminateFrameIndex()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.cpp93 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs()
122 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in isReservedReg()
216 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister()
283 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in needsFrameBaseReg()
340 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in materializeFrameBaseRegister()
363 MF->getSubtarget<AArch64Subtarget>().getInstrInfo(); in resolveFrameIndex()
378 MF.getSubtarget<AArch64Subtarget>().getInstrInfo(); in eliminateFrameIndex()
380 MF.getSubtarget().getFrameLowering()); in eliminateFrameIndex()
418 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit()
DAArch64FrameLowering.cpp142 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP()
162 static_cast<const AArch64InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateCallFramePseudoInstr()
168 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateCallFramePseudoInstr()
211 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in emitCalleeSavedFrameMoves()
259 MF.getSubtarget().getRegisterInfo()); in emitPrologue()
260 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in emitPrologue()
536 static_cast<const AArch64InstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogue()
538 MF.getSubtarget().getRegisterInfo()); in emitEpilogue()
654 MF.getSubtarget().getRegisterInfo()); in resolveFrameIndexReference()
728 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters()
[all …]
/external/llvm/lib/Target/R600/
DAMDGPUMCInstLower.cpp95 const AMDGPUSubtarget &STI = MF->getSubtarget<AMDGPUSubtarget>(); in EmitInstruction()
125 *MF->getSubtarget().getInstrInfo(), in EmitInstruction()
126 *MF->getSubtarget().getRegisterInfo()); in EmitInstruction()
128 MF->getSubtarget()); in EmitInstruction()
138 MF->getSubtarget<MCSubtargetInfo>()); in EmitInstruction()
DAMDGPUCallingConv.td63 "(State.getMachineFunction().getSubtarget()).getGeneration() >="
69 "(State.getMachineFunction().getSubtarget()).getGeneration() < "
75 "(State.getMachineFunction().getSubtarget()).getGeneration() >= "
79 "(State.getMachineFunction().getSubtarget()).getGeneration() < "
DSIMachineFunctionInfo.cpp43 MF->getSubtarget<AMDGPUSubtarget>().getRegisterInfo()); in getSpilledReg()
73 const AMDGPUSubtarget &ST = MF.getSubtarget<AMDGPUSubtarget>(); in getMaximumWorkGroupSize()
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp162 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in runOnMachineFunction()
163 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in runOnMachineFunction()
237 const TargetInstrInfo &TII = *Fn.getSubtarget().getInstrInfo(); in calculateCallsInformation()
238 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in calculateCallsInformation()
291 const TargetRegisterInfo *RegInfo = F.getSubtarget().getRegisterInfo(); in calculateCalleeSavedRegisters()
292 const TargetFrameLowering *TFI = F.getSubtarget().getFrameLowering(); in calculateCalleeSavedRegisters()
389 const TargetInstrInfo &TII = *Fn.getSubtarget().getInstrInfo(); in insertCSRSpillsAndRestores()
390 const TargetFrameLowering *TFI = Fn.getSubtarget().getFrameLowering(); in insertCSRSpillsAndRestores()
391 const TargetRegisterInfo *TRI = Fn.getSubtarget().getRegisterInfo(); in insertCSRSpillsAndRestores()
497 const TargetFrameLowering &TFI = *Fn.getSubtarget().getFrameLowering(); in calculateFrameObjectOffsets()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp40 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in getCalleeSavedRegs()
76 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs()
112 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex()
134 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in eliminateFrameIndex()
159 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister()
DMSP430FrameLowering.cpp47 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologue()
112 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogue()
192 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters()
218 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters()
230 *static_cast<const MSP430InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.cpp53 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getPointerRegClass()
66 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit()
85 const MipsSubtarget &Subtarget = MF->getSubtarget<MipsSubtarget>(); in getCalleeSavedRegs()
107 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getCallPreservedMask()
141 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getReservedRegs()
264 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getFrameRegister()
DMips16RegisterInfo.cpp67 const TargetInstrInfo &TII = *MBB.getParent()->getSubtarget().getInstrInfo(); in saveScavengerRegister()
108 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFI()
142 *static_cast<const Mips16InstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFI()
DMipsDelaySlotFiller.cpp285 assert(MF.getSubtarget().getRegisterInfo()->getAllocatableSet(MF).test(R) && in addLiveInRegs()
504 MBB.getParent()->getSubtarget<MipsSubtarget>().getInstrInfo(); in replaceWithCompactBranch()
527 MBB.getParent()->getSubtarget<MipsSubtarget>().getInstrInfo(); in replaceWithCompactJump()
564 const MipsSubtarget &STI = MBB.getParent()->getSubtarget<MipsSubtarget>(); in runOnMachineBasicBlock()
660 const MipsSubtarget &STI = MBB.getParent()->getSubtarget<MipsSubtarget>(); in searchRange()
692 RegDefsUses RegDU(*MBB.getParent()->getSubtarget().getRegisterInfo()); in searchBackward()
713 RegDefsUses RegDU(*MBB.getParent()->getSubtarget().getRegisterInfo()); in searchForward()
737 RegDefsUses RegDU(*MBB.getParent()->getSubtarget().getRegisterInfo()); in searchSuccBBs()
790 MBB.getParent()->getSubtarget<MipsSubtarget>().getInstrInfo(); in getBranch()
/external/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.cpp103 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegs()
134 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getCallPreservedMask()
167 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getReservedRegs()
259 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getRegPressureLimit()
294 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getLargestLegalSuperClass()
328 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerDynamicAlloc()
446 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRSpilling()
491 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRRestore()
534 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRBitSpilling()
578 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in lowerCRBitRestore()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp39 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs()
66 static_cast<const SystemZInstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFrameIndex()
67 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex()
138 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUTargetMachine.cpp98 const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>(); in addPreISel()
113 const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>(); in addPreRegAlloc()
136 const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>(); in addPreEmitPass()
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp54 MF.getSubtarget().getFrameLowering()->getStackAlignment(); in determineFrameLayout()
82 MF.getSubtarget<HexagonSubtarget>().getRegisterInfo(); in emitPrologue()
119 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in emitPrologue()
158 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in emitEpilogue()
228 const TargetInstrInfo &TII = *MF->getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters()
283 const TargetInstrInfo &TII = *MF->getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters()
DHexagonRegisterInfo.cpp51 switch (MF->getSubtarget<HexagonSubtarget>().getHexagonArchVersion()) { in getCalleeSavedRegs()
89 switch (MF->getSubtarget<HexagonSubtarget>().getHexagonArchVersion()) { in getCalleeSavedRegClasses()
111 *static_cast<const HexagonInstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFrameIndex()
116 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex()
230 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister()
/external/llvm/lib/Target/Sparc/
DSparcFrameLowering.cpp49 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitSPAdjustment()
91 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologue()
106 NumBytes = -MF.getSubtarget<SparcSubtarget>().getAdjustedFrameSize(NumBytes); in emitPrologue()
154 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogue()
169 NumBytes = MF.getSubtarget<SparcSubtarget>().getAdjustedFrameSize(NumBytes); in emitEpilogue()
DSparcRegisterInfo.cpp57 const SparcSubtarget &Subtarget = MF.getSubtarget<SparcSubtarget>(); in getReservedRegs()
92 const SparcSubtarget &Subtarget = MF.getSubtarget<SparcSubtarget>(); in getPointerRegClass()
112 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in replaceFI()
164 const SparcSubtarget &Subtarget = MF.getSubtarget<SparcSubtarget>(); in eliminateFrameIndex()
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp120 const X86Subtarget &STI = MF.getSubtarget<X86Subtarget>(); in isLegal()
210 TII = MF.getSubtarget().getInstrInfo(); in runOnMachineFunction()
211 TFL = MF.getSubtarget().getFrameLowering(); in runOnMachineFunction()
247 MF.getSubtarget().getRegisterInfo()); in collectCallInfo()
405 const X86Subtarget &ST = MF.getSubtarget<X86Subtarget>(); in adjustCallSequence()
/external/llvm/lib/Target/XCore/
DXCoreRegisterInfo.cpp225 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); in getCalleeSavedRegs()
233 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getReservedRegs()
271 *static_cast<const XCoreInstrInfo *>(MF.getSubtarget().getInstrInfo()); in eliminateFrameIndex()
273 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in eliminateFrameIndex()
327 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getFrameRegister()

1234567891011