Home
last modified time | relevance | path

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

12345678910>>...30

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h147 void add(KeyTy V, const MachineFunction *MF, Register R) { in add()
165 Register find(KeyTy V, const MachineFunction *MF) const { in find()
220 void add(const Type *Ty, const MachineFunction *MF, Register R) { in add()
225 const MachineFunction *MF, Register R) { in add()
230 void add(const Constant *C, const MachineFunction *MF, Register R) { in add()
234 void add(const GlobalVariable *GV, const MachineFunction *MF, Register R) { in add()
238 void add(const Function *F, const MachineFunction *MF, Register R) { in add()
242 void add(const Argument *Arg, const MachineFunction *MF, Register R) { in add()
246 void add(const MachineInstr *MI, const MachineFunction *MF, Register R) { in add()
250 void add(const SPIRV::SpecialTypeDescriptor &TD, const MachineFunction *MF, in add()
[all …]
H A DSPIRVFrameLowering.h31 void emitPrologue(MachineFunction &MF, in emitPrologue()
33 void emitEpilogue(MachineFunction &MF, in emitEpilogue()
36 bool hasFP(const MachineFunction &MF) const override { return false; } in hasFP()
H A DSPIRVGlobalRegistry.h105 void add(const Constant *C, MachineFunction *MF, Register R) { in add()
109 void add(const GlobalVariable *GV, MachineFunction *MF, Register R) { in add()
113 void add(const Function *F, MachineFunction *MF, Register R) { in add()
117 void add(const Argument *Arg, MachineFunction *MF, Register R) { in add()
121 void add(const MachineInstr *MI, MachineFunction *MF, Register R) { in add()
125 Register find(const MachineInstr *MI, MachineFunction *MF) { in find()
129 Register find(const Constant *C, MachineFunction *MF) { in find()
133 Register find(const GlobalVariable *GV, MachineFunction *MF) { in find()
137 Register find(const Function *F, MachineFunction *MF) { in find()
340 MachineFunction *setCurrentFunc(MachineFunction &MF) { in setCurrentFunc()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMachineFunction.cpp38 getGlobalBaseRegClass(MachineFunction & MF) getGlobalBaseRegClass() argument
54 getGlobalBaseReg(MachineFunction & MF) getGlobalBaseReg() argument
61 getGlobalBaseRegForGlobalISel(MachineFunction & MF) getGlobalBaseRegForGlobalISel() argument
69 initGlobalBaseReg(MachineFunction & MF) initGlobalBaseReg() argument
156 createEhDataRegsFI(MachineFunction & MF) createEhDataRegsFI() argument
169 createISRRegFI(MachineFunction & MF) createISRRegFI() argument
190 callPtrInfo(MachineFunction & MF,const char * ES) callPtrInfo() argument
195 callPtrInfo(MachineFunction & MF,const GlobalValue * GV) callPtrInfo() argument
200 getMoveF64ViaSpillFI(MachineFunction & MF,const TargetRegisterClass * RC) getMoveF64ViaSpillFI() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.h32 const MachineFunction &MF) const override { in allocateScavengingFrameIndexesNearIncomingSP()
104 unsigned getBackchainOffset(MachineFunction &MF) const override { in getBackchainOffset()
110 int getReturnAddressOffset(MachineFunction &MF) const override { in getReturnAddressOffset()
158 unsigned getBackchainOffset(MachineFunction &MF) const override { in getBackchainOffset()
164 int getReturnAddressOffset(MachineFunction &MF) const override { in getReturnAddressOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp54 WebAssemblyFrameLowering::getLocalForStackObject(MachineFunction &MF, in getLocalForStackObject() argument
173 getSPReg(const MachineFunction & MF) getSPReg() argument
179 getFPReg(const MachineFunction & MF) getFPReg() argument
186 getOpcConst(const MachineFunction & MF) getOpcConst() argument
192 getOpcAdd(const MachineFunction & MF) getOpcAdd() argument
198 getOpcSub(const MachineFunction & MF) getOpcSub() argument
204 getOpcAnd(const MachineFunction & MF) getOpcAnd() argument
211 getOpcGlobGet(const MachineFunction & MF) getOpcGlobGet() argument
218 getOpcGlobSet(const MachineFunction & MF) getOpcGlobSet() argument
225 writeSPToGlobal(unsigned SrcReg,MachineFunction & MF,MachineBasicBlock & MBB,MachineBasicBlock::iterator & InsertStore,const DebugLoc & DL) const writeSPToGlobal() argument
239 eliminateCallFramePseudoInstr(MachineFunction & MF,MachineBasicBlock & MBB,MachineBasicBlock::iterator I) const eliminateCallFramePseudoInstr() argument
253 emitPrologue(MachineFunction & MF,MachineBasicBlock & MBB) const emitPrologue() argument
323 emitEpilogue(MachineFunction & MF,MachineBasicBlock & MBB) const emitEpilogue() argument
[all...]
H A DWebAssemblyLateEHPrepare.cpp69 MachineFunction *MF = MI->getParent()->getParent(); in getMatchingEHPad() local
114 bool WebAssemblyLateEHPrepare::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction()
139 bool WebAssemblyLateEHPrepare::removeUnreachableEHPads(MachineFunction &MF) { in removeUnreachableEHPads()
151 void WebAssemblyLateEHPrepare::recordCatchRetBBs(MachineFunction &MF) { in recordCatchRetBBs()
175 bool WebAssemblyLateEHPrepare::hoistCatches(MachineFunction &MF) { in hoistCatches()
201 bool WebAssemblyLateEHPrepare::addCatchAlls(MachineFunction &MF) { in addCatchAlls()
227 bool WebAssemblyLateEHPrepare::replaceFuncletReturns(MachineFunction &MF) { in replaceFuncletReturns()
292 MachineFunction &MF) { in removeUnnecessaryUnreachables()
320 bool WebAssemblyLateEHPrepare::restoreStackPointer(MachineFunction &MF) { in restoreStackPointer()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h160 virtual bool assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots()
169 assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots()
198 virtual bool enableShrinkWrapping(const MachineFunction &MF) const { in enableShrinkWrapping()
205 virtual bool enableStackSlotScavenging(const MachineFunction &MF) const { in enableStackSlotScavenging()
239 virtual void inlineStackProbe(MachineFunction &MF, in inlineStackProbe()
247 virtual void adjustForSegmentedStacks(MachineFunction &MF, in adjustForSegmentedStacks()
252 virtual void adjustForHiPEPrologue(MachineFunction &MF, in adjustForHiPEPrologue()
282 virtual bool keepFramePointer(const MachineFunction &MF) const { in keepFramePointer()
296 virtual bool hasReservedCallFrame(const MachineFunction &MF) const { in hasReservedCallFrame()
307 virtual bool canSimplifyCallFramePseudos(const MachineFunction &MF) const { in canSimplifyCallFramePseudos()
[all …]
H A DTargetRegisterInfo.h204 ArrayRef<MCPhysReg> getRawAllocationOrder(const MachineFunction &MF) const { in getRawAllocationOrder()
373 ArrayRef<uint8_t> getRegisterCosts(const MachineFunction &MF) const { in getRegisterCosts()
510 virtual const uint32_t *getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
519 getCustomEHPadPreservedMask(const MachineFunction &MF) const { in getCustomEHPadPreservedMask()
532 getIntraCallClobberedRegs(const MachineFunction *MF) const { in getIntraCallClobberedRegs()
562 explainReservedReg(const MachineFunction &MF, MCRegister PhysReg) const { in explainReservedReg()
568 virtual bool isAsmClobberable(const MachineFunction &MF, in isAsmClobberable()
574 virtual bool isInlineAsmReadOnlyReg(const MachineFunction &MF, in isInlineAsmReadOnlyReg()
606 const MachineFunction &MF) const { in isCallerPreservedPhysReg()
616 virtual bool isArgumentRegister(const MachineFunction &MF, in isArgumentRegister()
[all …]
H A DModuloSchedule.h107 ModuloSchedule(MachineFunction &MF, MachineLoop *Loop, in ModuloSchedule()
171 MachineFunction &MF; variable
265 ModuloScheduleExpander(MachineFunction &MF, ModuloSchedule &S, in ModuloScheduleExpander()
285 PeelingModuloScheduleExpander(MachineFunction &MF, ModuloSchedule &S, in PeelingModuloScheduleExpander()
298 MachineFunction &MF; variable
382 MachineFunction &MF; variable
436 ModuloScheduleExpanderMVE(MachineFunction &MF, ModuloSchedule &S, in ModuloScheduleExpanderMVE()
452 MachineFunction &MF; variable
456 ModuloScheduleTestAnnotater(MachineFunction &MF, ModuloSchedule &S) in ModuloScheduleTestAnnotater()
H A DIndirectThunks.h154 MachineFunction &MF = MMI.getOrCreateMachineFunction(*F); in createThunkFunction() local
166 MachineFunction &MF) { in run()
201 bool runOnMachineFunction(MachineFunction &MF) override { in runOnMachineFunction()
214 static bool runTIs(MachineModuleInfo &MMI, MachineFunction &MF, in runTIs()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEFrameLowering.cpp135 void VEFrameLowering::emitPrologueInsns(MachineFunction &MF, in emitPrologueInsns()
183 void VEFrameLowering::emitEpilogueInsns(MachineFunction &MF, in emitEpilogueInsns()
226 void VEFrameLowering::emitSPAdjustment(MachineFunction &MF, in emitSPAdjustment()
274 void VEFrameLowering::emitSPExtend(MachineFunction &MF, MachineBasicBlock &MBB, in emitSPExtend()
308 void VEFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
378 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
392 void VEFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
444 StackOffset VEFrameLowering::getFrameIndexReference(const MachineFunction &MF, in getFrameIndexReference()
486 void VEFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp46 if (const MachineFunction *MF = MBB->getParent()) in getMFIfAvailable() local
71 if (MachineFunction *MF = getMFIfAvailable(*this)) { in setReg() local
114 if (MachineFunction *MF = getMFIfAvailable(*this)) { in setIsDef() local
155 if (MachineFunction *MF = getMFIfAvailable(*this)) in removeRegFromUses() local
277 if (MachineFunction *MF = getMFIfAvailable(*this)) in ChangeToRegister() local
359 if (const MachineFunction *MF = getMFIfAvailable(*this)) { in isIdenticalTo() local
421 if (const MachineFunction *MF = getMFIfAvailable(MO)) { in hash_value() local
458 if (const MachineFunction *MF = getMFIfAvailable(MO)) { in tryToGetTargetInfo() local
464 static const char *getTargetIndexName(const MachineFunction &MF, int Index) { in getTargetIndexName()
477 const MachineFunction *MF = getMFIfAvailable(*this); in getTargetIndexName() local
[all …]
H A DBasicBlockSections.cpp186 assignSections(MachineFunction &MF, in assignSections()
241 MachineFunction &MF, MachineBasicBlockComparator MBBCmp) { in sortBasicBlocksAndUpdateBranches()
265 void llvm::avoidZeroOffsetLandingPad(MachineFunction &MF) { in avoidZeroOffsetLandingPad()
276 bool llvm::hasInstrProfHashMismatch(MachineFunction &MF) { in hasInstrProfHashMismatch()
294 bool BasicBlockSections::handleBBSections(MachineFunction &MF) { in handleBBSections()
382 bool BasicBlockSections::handleBBAddrMap(MachineFunction &MF) { in handleBBAddrMap()
391 bool BasicBlockSections::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction()
H A DLivePhysRegs.cpp175 const MachineFunction &MF) { in addCalleeSavedRegs()
181 void LivePhysRegs::addPristines(const MachineFunction &MF) { in addPristines()
222 const MachineFunction &MF = *MBB.getParent(); in addLiveOutsNoPristines() local
233 const MachineFunction &MF = *MBB.getParent(); in addLiveOuts() local
239 const MachineFunction &MF = *MBB.getParent(); in addLiveIns() local
250 const MachineFunction &MF = *MBB.getParent(); in computeLiveIns() local
261 const MachineFunction &MF = *MBB.getParent(); in addLiveIns() local
277 const MachineFunction &MF = *MBB.getParent(); in recomputeLivenessFlags() local
H A DMachineModuleSlotTracker.cpp17 AbstractSlotTrackerStorage *AST, const MachineFunction &MF) { in processMachineFunctionMetadata()
42 if (auto *MF = TheMMI.getMachineFunction(F)) in processMachineModule() local
55 if (auto *MF = TheMMI.getMachineFunction(*F)) in processMachineFunction() local
67 const MachineFunction *MF, bool ShouldInitializeAllMetadata) in MachineModuleSlotTracker()
H A DDeadMachineInstructionElim.cpp53 bool runOnMachineFunction(MachineFunction &MF) override { in runOnMachineFunction()
67 DeadMachineInstructionElimPass::run(MachineFunction &MF, in run()
126 bool DeadMachineInstructionElimImpl::runImpl(MachineFunction &MF) { in runImpl()
139 bool DeadMachineInstructionElimImpl::eliminateDeadMI(MachineFunction &MF) { in eliminateDeadMI()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYRegisterInfo.h42 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
46 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
50 bool useFPForScavengingIndex(const MachineFunction &MF) const override { in useFPForScavengingIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFFrameLowering.cpp25 void BPFFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
28 void BPFFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
31 void BPFFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp32 void NVPTXFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
73 NVPTXFrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI, in getFrameIndexReference()
81 void NVPTXFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
87 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600FrameLowering.h23 void emitPrologue(MachineFunction &MF, in emitPrologue()
25 void emitEpilogue(MachineFunction &MF, in emitEpilogue()
30 bool hasFP(const MachineFunction &MF) const override { in hasFP()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp50 MachineFunction &MF = *MBB.getParent(); in BuildCFI() local
60 MachineFunction &MF = *MBB.getParent(); in emitCalleeSavedFrameMoves() local
83 void MSP430FrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
193 void MSP430FrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
324 MachineFunction &MF = *MBB.getParent(); in spillCalleeSavedRegisters() local
349 MachineFunction &MF = *MBB.getParent(); in restoreCalleeSavedRegisters() local
360 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
427 MSP430FrameLowering::processFunctionBeforeFrameFinalized(MachineFunction &MF, in processFunctionBeforeFrameFinalized()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp243 AArch64RegisterInfo::getDarwinCallPreservedMask(const MachineFunction &MF, in getDarwinCallPreservedMask()
279 AArch64RegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
347 void AArch64RegisterInfo::UpdateCustomCallPreservedMask(MachineFunction &MF, in UpdateCustomCallPreservedMask()
380 AArch64RegisterInfo::getThisReturnPreservedMask(const MachineFunction &MF, in getThisReturnPreservedMask()
400 AArch64RegisterInfo::explainReservedReg(const MachineFunction &MF, in explainReservedReg()
519 bool AArch64RegisterInfo::isReservedReg(const MachineFunction &MF, in isReservedReg()
524 bool AArch64RegisterInfo::isStrictlyReservedReg(const MachineFunction &MF, in isStrictlyReservedReg()
542 bool AArch64RegisterInfo::isAsmClobberable(const MachineFunction &MF, in isAsmClobberable()
559 AArch64RegisterInfo::getPointerRegClass(const MachineFunction &MF, in getPointerRegClass()
610 bool AArch64RegisterInfo::isArgumentRegister(const MachineFunction &MF, in isArgumentRegister()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp58 static void emitSCSPrologue(MachineFunction &MF, MachineBasicBlock &MBB, in emitSCSPrologue()
120 static void emitSCSEpilogue(MachineFunction &MF, MachineBasicBlock &MBB, in emitSCSEpilogue()
170 static int getLibCallID(const MachineFunction &MF, in getLibCallID()
209 getSpillLibCallName(const MachineFunction &MF, in getSpillLibCallName()
236 getRestoreLibCallName(const MachineFunction &MF, in getRestoreLibCallName()
295 static Register getMaxPushPopReg(const MachineFunction &MF, in getMaxPushPopReg()
382 getUnmanagedCSI(const MachineFunction &MF, in getUnmanagedCSI()
397 getRVVCalleeSavedInfo(const MachineFunction &MF, in getRVVCalleeSavedInfo()
411 void RISCVFrameLowering::adjustStackForRVV(MachineFunction &MF, in adjustStackForRVV()
525 void RISCVFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp123 const MachineFunction &MF) { in estimateFunctionSizeInBytes()
131 static bool needScavSlotForCFR(MachineFunction &MF) { in needScavSlotForCFR()
142 MachineFunction &MF, RegScavenger *RS) const { in processFunctionBeforeFrameFinalized()
180 void LoongArchFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
306 void LoongArchFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
377 void LoongArchFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves()
403 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
436 MachineFunction *MF = MBB.getParent(); in spillCalleeSavedRegisters() local
455 const MachineFunction &MF, int FI, Register &FrameReg) const { in getFrameIndexReference() argument

12345678910>>...30