Home
last modified time | relevance | path

Searched defs:MF (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCRegisterInfo.h87 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
91 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
95 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override { in trackLivenessAfterRegAlloc()
99 bool requiresVirtualBaseRegisters(const MachineFunction &MF) const override { in requiresVirtualBaseRegisters()
HDPPCRegisterInfo.cpp86 PPCRegisterInfo::getPointerRegClass(const MachineFunction &MF, unsigned Kind) in getPointerRegClass()
132 PPCRegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
326 MachineFunction &MF = *MBB.getParent(); in lowerDynamicAlloc() local
447 MachineFunction &MF = *MBB.getParent(); in lowerCRSpilling() local
492 MachineFunction &MF = *MBB.getParent(); in lowerCRRestore() local
535 MachineFunction &MF = *MBB.getParent(); in lowerCRBitSpilling() local
579 MachineFunction &MF = *MBB.getParent(); in lowerCRBitRestore() local
627 MachineFunction &MF = *MBB.getParent(); in lowerVRSAVESpilling() local
653 MachineFunction &MF = *MBB.getParent(); in lowerVRSAVERestore() local
675 PPCRegisterInfo::hasReservedSpillSlot(const MachineFunction &MF, in hasReservedSpillSlot()
[all …]
HDPPCFrameLowering.cpp260 MachineFunction *MF = Entry->getParent(); in RemoveVRSaveCode() local
305 MachineFunction *MF = MI->getParent()->getParent(); in HandleVRSaveUpdate() local
387 static bool spillsCR(const MachineFunction &MF) { in spillsCR()
392 static bool spillsVRSAVE(const MachineFunction &MF) { in spillsVRSAVE()
397 static bool hasSpills(const MachineFunction &MF) { in hasSpills()
402 static bool hasNonRISpills(const MachineFunction &MF) { in hasNonRISpills()
410 static bool MustSaveLR(const MachineFunction &MF, unsigned LR) { in MustSaveLR()
423 unsigned PPCFrameLowering::determineFrameLayout(MachineFunction &MF, in determineFrameLayout()
558 void PPCFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
918 void PPCFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
[all …]
/NextBSD/contrib/llvm/include/llvm/Target/
HDTargetFrameLowering.h104 assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots()
141 virtual void adjustForSegmentedStacks(MachineFunction &MF, in adjustForSegmentedStacks()
146 virtual void adjustForHiPEPrologue(MachineFunction &MF, in adjustForHiPEPrologue()
152 adjustForFrameAllocatePrologue(MachineFunction &MF, in adjustForFrameAllocatePrologue()
190 virtual bool hasReservedCallFrame(const MachineFunction &MF) const { in hasReservedCallFrame()
201 virtual bool canSimplifyCallFramePseudos(const MachineFunction &MF) const { in canSimplifyCallFramePseudos()
223 virtual int getFrameIndexReferenceFromSP(const MachineFunction &MF, int FI, in getFrameIndexReferenceFromSP()
257 eliminateCallFramePseudoInstr(MachineFunction &MF, in eliminateCallFramePseudoInstr()
HDTargetRegisterInfo.h196 ArrayRef<MCPhysReg> getRawAllocationOrder(const MachineFunction &MF) const { in getRawAllocationOrder()
466 virtual const uint32_t *getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
663 MachineFunction &MF) const { in getRegPressureLimit()
721 MachineFunction &MF) const { in updateRegAllocHint()
743 virtual bool requiresRegisterScavenging(const MachineFunction &MF) const { in requiresRegisterScavenging()
750 virtual bool useFPForScavengingIndex(const MachineFunction &MF) const { in useFPForScavengingIndex()
756 virtual bool requiresFrameIndexScavenging(const MachineFunction &MF) const { in requiresFrameIndexScavenging()
763 virtual bool requiresVirtualBaseRegisters(const MachineFunction &MF) const { in requiresVirtualBaseRegisters()
773 virtual bool hasReservedSpillSlot(const MachineFunction &MF, unsigned Reg, in hasReservedSpillSlot()
780 virtual bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const { in trackLivenessAfterRegAlloc()
[all …]
/NextBSD/contrib/llvm/lib/Target/WebAssembly/
HDWebAssemblyFrameLowering.cpp56 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
61 void WebAssemblyFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
66 void WebAssemblyFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
72 MachineFunction &MF, RegScavenger *RS) const { in processFunctionBeforeCalleeSavedScan()
HDWebAssemblyMachineFunctionInfo.h28 MachineFunction &MF; variable
31 explicit WebAssemblyFunctionInfo(MachineFunction &MF) : MF(MF) {} in WebAssemblyFunctionInfo()
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDHexagonRegisterInfo.h56 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
62 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
71 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override { in trackLivenessAfterRegAlloc()
HDHexagonFrameLowering.cpp248 void HexagonFrameLowering::findShrunkPrologEpilog(MachineFunction &MF, in findShrunkPrologEpilog()
352 void HexagonFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
384 MachineFunction &MF = *MBB.getParent(); in insertPrologueInBlock() local
552 MachineFunction &MF = *MBB.getParent(); in insertEpilogueInBlock() local
721 int HexagonFrameLowering::getFrameIndexOffset(const MachineFunction &MF, in getFrameIndexOffset()
733 MachineFunction &MF = *MBB.getParent(); in insertCSRSpillsInBlock() local
774 MachineFunction &MF = *MBB.getParent(); in insertCSRRestoresInBlock() local
816 void HexagonFrameLowering::eliminateCallFramePseudoInstr(MachineFunction &MF, in eliminateCallFramePseudoInstr()
828 MachineFunction &MF, RegScavenger *RS) const { in processFunctionBeforeFrameFinalized()
860 static bool needToReserveScavengingSpillSlots(MachineFunction &MF, in needToReserveScavengingSpillSlots()
[all …]
/NextBSD/contrib/llvm/lib/Target/BPF/
HDBPFFrameLowering.cpp26 void BPFFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
29 void BPFFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
32 void BPFFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves()
/NextBSD/contrib/llvm/lib/Target/XCore/
HDXCoreMachineFunctionInfo.cpp34 int XCoreFunctionInfo::createLRSpillSlot(MachineFunction &MF) { in createLRSpillSlot()
50 int XCoreFunctionInfo::createFPSpillSlot(MachineFunction &MF) { in createFPSpillSlot()
61 const int* XCoreFunctionInfo::createEHSpillSlot(MachineFunction &MF) { in createEHSpillSlot()
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXFrameLowering.cpp34 void NVPTXFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
68 void NVPTXFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
74 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
HDNVPTXReplaceImageHandles.cpp55 bool NVPTXReplaceImageHandles::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction()
80 MachineFunction &MF = *MI.getParent()->getParent(); in processInstr() local
125 replaceImageHandle(MachineOperand &Op, MachineFunction &MF) { in replaceImageHandle()
133 findIndexForHandle(MachineOperand &Op, MachineFunction &MF, unsigned &Idx) { in findIndexForHandle()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64RegisterInfo.cpp58 AArch64RegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
78 AArch64RegisterInfo::getThisReturnPreservedMask(const MachineFunction &MF, in getThisReturnPreservedMask()
120 bool AArch64RegisterInfo::isReservedReg(const MachineFunction &MF, in isReservedReg()
147 AArch64RegisterInfo::getPointerRegClass(const MachineFunction &MF, in getPointerRegClass()
279 MachineFunction &MF = *MI->getParent()->getParent(); in needsFrameBaseReg() local
335 const MachineFunction &MF = *MBB->getParent(); in materializeFrameBaseRegister() local
358 const MachineFunction *MF = MI.getParent()->getParent(); in resolveFrameIndex() local
373 MachineFunction &MF = *MBB.getParent(); in eliminateFrameIndex() local
HDAArch64FrameLowering.cpp159 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
207 MachineFunction &MF = *MBB.getParent(); in emitCalleeSavedFrameMoves() local
278 void AArch64FrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
535 void AArch64FrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
642 int AArch64FrameLowering::getFrameIndexOffset(const MachineFunction &MF, in getFrameIndexOffset()
652 int AArch64FrameLowering::getFrameIndexReference(const MachineFunction &MF, in getFrameIndexReference()
658 int AArch64FrameLowering::resolveFrameIndexReference(const MachineFunction &MF, in resolveFrameIndexReference()
722 static unsigned getPrologueDeath(MachineFunction &MF, unsigned Reg) { in getPrologueDeath()
736 MachineFunction &MF = *MBB.getParent(); in spillCalleeSavedRegisters() local
814 MachineFunction &MF = *MBB.getParent(); in restoreCalleeSavedRegisters() local
[all …]
/NextBSD/contrib/llvm/lib/Target/MSP430/
HDMSP430FrameLowering.cpp42 void MSP430FrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
108 void MSP430FrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
192 MachineFunction &MF = *MBB.getParent(); in spillCalleeSavedRegisters() local
218 MachineFunction &MF = *MBB.getParent(); in restoreCalleeSavedRegisters() local
228 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
290 MSP430FrameLowering::processFunctionBeforeFrameFinalized(MachineFunction &MF, in processFunctionBeforeFrameFinalized()
/NextBSD/contrib/llvm/lib/CodeGen/
HDTargetFrameLoweringImpl.cpp38 int TargetFrameLowering::getFrameIndexOffset(const MachineFunction &MF, in getFrameIndexOffset()
45 int TargetFrameLowering::getFrameIndexReference(const MachineFunction &MF, in getFrameIndexReference()
61 void TargetFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves()
HDStackMapLivenessAnalysis.cpp101 bool StackMapLiveness::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction()
119 bool StackMapLiveness::calculateLiveness(MachineFunction &MF) { in calculateLiveness()
147 void StackMapLiveness::addLiveOutSetToMI(MachineFunction &MF, in addLiveOutSetToMI()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDGPUFrameLowering.cpp74 int AMDGPUFrameLowering::getFrameIndexOffset(const MachineFunction &MF, in getFrameIndexOffset()
102 void AMDGPUFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
105 AMDGPUFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
/NextBSD/contrib/llvm/lib/Target/Sparc/
HDSparcFrameLowering.cpp40 void SparcFrameLowering::emitSPAdjustment(MachineFunction &MF, in emitSPAdjustment()
85 void SparcFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
135 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
150 void SparcFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
250 void SparcFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves()
HDSparcRegisterInfo.cpp45 SparcRegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
90 SparcRegisterInfo::getPointerRegClass(const MachineFunction &MF, in getPointerRegClass()
96 static void replaceFI(MachineFunction &MF, in replaceFI()
163 MachineFunction &MF = *MI.getParent()->getParent(); in eliminateFrameIndex() local
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86FrameLowering.cpp153 const MachineFunction *MF = MBB.getParent(); in findDeadCallerSavedReg() local
204 static bool isEAXLiveIn(MachineFunction &MF) { in isEAXLiveIn()
408 MachineFunction &MF = *MBB.getParent(); in BuildCFI() local
418 MachineFunction &MF = *MBB.getParent(); in emitCalleeSavedFrameMoves() local
444 static bool usesTheStack(const MachineFunction &MF) { in usesTheStack()
456 void X86FrameLowering::emitStackProbeCall(MachineFunction &MF, in emitStackProbeCall()
638 void X86FrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
1018 void X86FrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
1137 int X86FrameLowering::getFrameIndexOffset(const MachineFunction &MF, in getFrameIndexOffset()
1210 int X86FrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI, in getFrameIndexReference()
[all …]
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMFrameLowering.cpp172 static bool WindowsRequiresStackProbe(const MachineFunction &MF, in WindowsRequiresStackProbe()
233 static void emitAligningInstructions(MachineFunction &MF, ARMFunctionInfo *AFI, in emitAligningInstructions()
289 void ARMFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
693 void ARMFrameLowering::fixTCReturn(MachineFunction &MF, in fixTCReturn()
741 void ARMFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
854 ARMFrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI, in getFrameIndexReference()
860 ARMFrameLowering::ResolveFrameIndexReference(const MachineFunction &MF, in ResolveFrameIndexReference()
935 int ARMFrameLowering::getFrameIndexOffset(const MachineFunction &MF, in getFrameIndexOffset()
949 MachineFunction &MF = *MBB.getParent(); in emitPushInst() local
1022 MachineFunction &MF = *MBB.getParent(); in emitPopInst() local
[all …]
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDMachineInstrBuilder.h46 MachineFunction *MF; variable
236 inline MachineInstrBuilder BuildMI(MachineFunction &MF, in BuildMI()
245 inline MachineInstrBuilder BuildMI(MachineFunction &MF, in BuildMI()
262 MachineFunction &MF = *BB.getParent(); in BuildMI() local
273 MachineFunction &MF = *BB.getParent(); in BuildMI() local
301 MachineFunction &MF = *BB.getParent(); in BuildMI() local
311 MachineFunction &MF = *BB.getParent(); in BuildMI() local
356 inline MachineInstrBuilder BuildMI(MachineFunction &MF, DebugLoc DL, in BuildMI()
391 MachineFunction &MF = *BB.getParent(); in BuildMI() local
/NextBSD/contrib/llvm/lib/CodeGen/MIRParser/
HDMIRParser.cpp227 auto MF = llvm::make_unique<yaml::MachineFunction>(); in parseMachineFunction() local
252 bool MIRParserImpl::initializeMachineFunction(MachineFunction &MF) { in initializeMachineFunction()
307 MachineFunction &MF, MachineBasicBlock &MBB, in initializeMachineBasicBlock()
343 const MachineFunction &MF, MachineRegisterInfo &RegInfo, in initializeRegisterInfo()
464 void MIRParserImpl::initNames2RegClasses(const MachineFunction &MF) { in initNames2RegClasses()
475 const TargetRegisterClass *MIRParserImpl::getRegClass(const MachineFunction &MF, in getRegClass()
491 bool MIRParser::initializeMachineFunction(MachineFunction &MF) { in initializeMachineFunction()

12345678910>>...12