Home
last modified time | relevance | path

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

12345678910>>...29

/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsMachineFunction.cpp38 static const TargetRegisterClass &getGlobalBaseRegClass(MachineFunction &MF) { in getGlobalBaseRegClass()
54 Register MipsFunctionInfo::getGlobalBaseReg(MachineFunction &MF) { in getGlobalBaseReg()
61 Register MipsFunctionInfo::getGlobalBaseRegForGlobalISel(MachineFunction &MF) { in getGlobalBaseRegForGlobalISel()
69 void MipsFunctionInfo::initGlobalBaseReg(MachineFunction &MF) { in initGlobalBaseReg()
156 void MipsFunctionInfo::createEhDataRegsFI(MachineFunction &MF) { in createEhDataRegsFI()
169 void MipsFunctionInfo::createISRRegFI(MachineFunction &MF) { in createISRRegFI()
190 MachinePointerInfo MipsFunctionInfo::callPtrInfo(MachineFunction &MF, in callPtrInfo()
195 MachinePointerInfo MipsFunctionInfo::callPtrInfo(MachineFunction &MF, in callPtrInfo()
200 int MipsFunctionInfo::getMoveF64ViaSpillFI(MachineFunction &MF, in getMoveF64ViaSpillFI()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h71 void add(const Constant *C, MachineFunction *MF, Register R) { in add()
75 void add(const GlobalVariable *GV, MachineFunction *MF, Register R) { in add()
79 void add(const Function *F, MachineFunction *MF, Register R) { in add()
83 void add(const Argument *Arg, MachineFunction *MF, Register R) { in add()
87 Register find(const Constant *C, MachineFunction *MF) { in find()
91 Register find(const GlobalVariable *GV, MachineFunction *MF) { in find()
95 Register find(const Function *F, MachineFunction *MF) { in find()
156 void setCurrentFunc(MachineFunction &MF) { CurMF = &MF; } in setCurrentFunc()
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()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp54 WebAssemblyFrameLowering::getLocalForStackObject(MachineFunction &MF, in getLocalForStackObject()
173 unsigned WebAssemblyFrameLowering::getSPReg(const MachineFunction &MF) { in getSPReg()
179 unsigned WebAssemblyFrameLowering::getFPReg(const MachineFunction &MF) { in getFPReg()
186 WebAssemblyFrameLowering::getOpcConst(const MachineFunction &MF) { in getOpcConst()
192 unsigned WebAssemblyFrameLowering::getOpcAdd(const MachineFunction &MF) { in getOpcAdd()
198 unsigned WebAssemblyFrameLowering::getOpcSub(const MachineFunction &MF) { in getOpcSub()
204 unsigned WebAssemblyFrameLowering::getOpcAnd(const MachineFunction &MF) { in getOpcAnd()
211 WebAssemblyFrameLowering::getOpcGlobGet(const MachineFunction &MF) { in getOpcGlobGet()
218 WebAssemblyFrameLowering::getOpcGlobSet(const MachineFunction &MF) { in getOpcGlobSet()
225 unsigned SrcReg, MachineFunction &MF, MachineBasicBlock &MBB, in writeSPToGlobal()
[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()
264 MachineFunction &MF) { in removeUnnecessaryUnreachables()
292 bool WebAssemblyLateEHPrepare::restoreStackPointer(MachineFunction &MF) { in restoreStackPointer()
H A DWebAssemblyCFGStackify.cpp111 MachineBasicBlock *getAppendixBlock(MachineFunction &MF) { in getAppendixBlock()
128 MachineBasicBlock *getFakeCallerBlock(MachineFunction &MF) { in getFakeCallerBlock()
254 MachineFunction &MF = *MBB.getParent(); in placeBlockMarker() local
399 MachineFunction &MF = *MBB.getParent(); in placeLoopMarker() local
467 MachineFunction &MF = *MBB.getParent(); in placeTryMarker() local
665 void WebAssemblyCFGStackify::removeUnnecessaryInstrs(MachineFunction &MF) { in removeUnnecessaryInstrs()
788 MachineFunction &MF = *MBB.getParent(); in unstackifyVRegsUsedInSplitBB() local
852 MachineFunction &MF = *BeginBB->getParent(); in addTryDelegate() local
968 bool WebAssemblyCFGStackify::fixCallUnwindMismatches(MachineFunction &MF) { in fixCallUnwindMismatches()
1255 bool WebAssemblyCFGStackify::fixCatchUnwindMismatches(MachineFunction &MF) { in fixCatchUnwindMismatches()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h157 virtual bool assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots()
166 assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots()
195 virtual bool enableShrinkWrapping(const MachineFunction &MF) const { in enableShrinkWrapping()
202 virtual bool enableStackSlotScavenging(const MachineFunction &MF) const { in enableStackSlotScavenging()
240 virtual void inlineStackProbe(MachineFunction &MF, in inlineStackProbe()
248 virtual void adjustForSegmentedStacks(MachineFunction &MF, in adjustForSegmentedStacks()
253 virtual void adjustForHiPEPrologue(MachineFunction &MF, in adjustForHiPEPrologue()
283 virtual bool keepFramePointer(const MachineFunction &MF) const { in keepFramePointer()
297 virtual bool hasReservedCallFrame(const MachineFunction &MF) const { in hasReservedCallFrame()
308 virtual bool canSimplifyCallFramePseudos(const MachineFunction &MF) const { in canSimplifyCallFramePseudos()
[all …]
H A DTargetRegisterInfo.h202 ArrayRef<MCPhysReg> getRawAllocationOrder(const MachineFunction &MF) const { in getRawAllocationOrder()
355 ArrayRef<uint8_t> getRegisterCosts(const MachineFunction &MF) const { in getRegisterCosts()
482 virtual const uint32_t *getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
491 getCustomEHPadPreservedMask(const MachineFunction &MF) const { in getCustomEHPadPreservedMask()
504 getIntraCallClobberedRegs(const MachineFunction *MF) const { in getIntraCallClobberedRegs()
534 explainReservedReg(const MachineFunction &MF, MCRegister PhysReg) const { in explainReservedReg()
540 virtual bool isAsmClobberable(const MachineFunction &MF, in isAsmClobberable()
546 virtual bool isInlineAsmReadOnlyReg(const MachineFunction &MF, in isInlineAsmReadOnlyReg()
566 const MachineFunction &MF) const { in isCallerPreservedPhysReg()
576 virtual bool isArgumentRegister(const MachineFunction &MF, in isArgumentRegister()
[all …]
H A DModuloSchedule.h106 ModuloSchedule(MachineFunction &MF, MachineLoop *Loop, in ModuloSchedule()
170 MachineFunction &MF; variable
264 ModuloScheduleExpander(MachineFunction &MF, ModuloSchedule &S, in ModuloScheduleExpander()
284 PeelingModuloScheduleExpander(MachineFunction &MF, ModuloSchedule &S, in PeelingModuloScheduleExpander()
297 MachineFunction &MF; variable
379 MachineFunction &MF; variable
383 ModuloScheduleTestAnnotater(MachineFunction &MF, ModuloSchedule &S) in ModuloScheduleTestAnnotater()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineOperand.cpp46 if (const MachineFunction *MF = MBB->getParent()) in getMFIfAvailable() local
66 if (MachineFunction *MF = getMFIfAvailable(*this)) { in setReg() local
109 if (MachineFunction *MF = getMFIfAvailable(*this)) { in setIsDef() local
150 if (MachineFunction *MF = getMFIfAvailable(*this)) in removeRegFromUses() local
259 if (MachineFunction *MF = getMFIfAvailable(*this)) in ChangeToRegister() local
341 if (const MachineFunction *MF = getMFIfAvailable(*this)) { in isIdenticalTo() local
403 if (const MachineFunction *MF = getMFIfAvailable(MO)) { in hash_value() local
440 if (const MachineFunction *MF = getMFIfAvailable(MO)) { in tryToGetTargetInfo() local
446 static const char *getTargetIndexName(const MachineFunction &MF, int Index) { in getTargetIndexName()
459 const MachineFunction *MF = getMFIfAvailable(*this); in getTargetIndexName() local
[all …]
H A DBasicBlockSections.cpp134 updateBranches(MachineFunction &MF, in updateBranches()
168 const MachineFunction &MF, in getBBClusterInfoForFunction()
201 assignSections(MachineFunction &MF, in assignSections()
253 MachineFunction &MF, MachineBasicBlockComparator MBBCmp) { in sortBasicBlocksAndUpdateBranches()
276 void llvm::avoidZeroOffsetLandingPad(MachineFunction &MF) { in avoidZeroOffsetLandingPad()
294 static bool hasInstrProfHashMismatch(MachineFunction &MF) { in hasInstrProfHashMismatch()
310 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
282 const MachineFunction &MF = *MBB.getParent(); in recomputeLivenessFlags() local
H A DMachineModuleSlotTracker.cpp16 AbstractSlotTrackerStorage *AST, const MachineFunction &MF) { in processMachineFunctionMetadata()
41 if (auto *MF = TheMMI.getMachineFunction(F)) in processMachineModule() local
54 if (auto *MF = TheMMI.getMachineFunction(*F)) in processMachineFunction() local
66 const MachineFunction *MF, bool ShouldInitializeAllMetadata) in MachineModuleSlotTracker()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchExpandPseudoInsts.cpp86 bool LoongArchPreRAExpandPseudo::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction()
136 MachineFunction *MF = MBB.getParent(); in expandPcalau12iInstPair() local
166 MachineFunction *MF = MBB.getParent(); in expandLoadAddressPcrel() local
179 MachineFunction *MF = MBB.getParent(); in expandLoadAddressGot() local
192 MachineFunction *MF = MBB.getParent(); in expandLoadAddressTLSLE() local
218 MachineFunction *MF = MBB.getParent(); in expandLoadAddressTLSIE() local
231 MachineFunction *MF = MBB.getParent(); in expandLoadAddressTLSLD() local
244 MachineFunction *MF = MBB.getParent(); in expandLoadAddressTLSGD() local
254 MachineFunction *MF = MBB.getParent(); in expandFunctionCALL() local
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()
179 void LoongArchFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
322 void LoongArchFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
376 LoongArchFrameLowering::getFirstSPAdjustAmount(const MachineFunction &MF, in getFirstSPAdjustAmount()
400 void LoongArchFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves()
426 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
459 MachineFunction *MF = MBB.getParent(); in spillCalleeSavedRegisters() local
478 const MachineFunction &MF, int FI, Register &FrameReg) const { in getFrameIndexReference() argument
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp32 static void emitSCSPrologue(MachineFunction &MF, MachineBasicBlock &MBB, in emitSCSPrologue()
83 static void emitSCSEpilogue(MachineFunction &MF, MachineBasicBlock &MBB, in emitSCSEpilogue()
137 static int getLibCallID(const MachineFunction &MF, in getLibCallID()
176 getSpillLibCallName(const MachineFunction &MF, in getSpillLibCallName()
203 getRestoreLibCallName(const MachineFunction &MF, in getRestoreLibCallName()
301 getNonLibcallCSI(const MachineFunction &MF, in getNonLibcallCSI()
315 void RISCVFrameLowering::adjustStackForRVV(MachineFunction &MF, in adjustStackForRVV()
394 void RISCVFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
609 void RISCVFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
700 RISCVFrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI, in getFrameIndexReference()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp208 AArch64RegisterInfo::getDarwinCallPreservedMask(const MachineFunction &MF, in getDarwinCallPreservedMask()
244 AArch64RegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
304 void AArch64RegisterInfo::UpdateCustomCallPreservedMask(MachineFunction &MF, in UpdateCustomCallPreservedMask()
338 AArch64RegisterInfo::getThisReturnPreservedMask(const MachineFunction &MF, in getThisReturnPreservedMask()
358 AArch64RegisterInfo::explainReservedReg(const MachineFunction &MF, in explainReservedReg()
446 bool AArch64RegisterInfo::isReservedReg(const MachineFunction &MF, in isReservedReg()
451 bool AArch64RegisterInfo::isStrictlyReservedReg(const MachineFunction &MF, in isStrictlyReservedReg()
469 bool AArch64RegisterInfo::isAsmClobberable(const MachineFunction &MF, in isAsmClobberable()
482 AArch64RegisterInfo::getPointerRegClass(const MachineFunction &MF, in getPointerRegClass()
532 bool AArch64RegisterInfo::isArgumentRegister(const MachineFunction &MF, in isArgumentRegister()
[all …]
H A DAArch64FrameLowering.cpp270 static int64_t getArgumentStackToRestore(MachineFunction &MF, in getArgumentStackToRestore()
310 MachineFunction &MF, MachineBasicBlock *Exit) const { in homogeneousPrologEpilog()
352 static unsigned estimateRSStackSizeLimit(MachineFunction &MF) { in estimateRSStackSizeLimit()
384 static unsigned getFixedObjectSize(const MachineFunction &MF, in getFixedObjectSize()
401 static StackOffset getSVEStackSize(const MachineFunction &MF) { in getSVEStackSize()
469 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
514 MachineFunction &MF = *MBB.getParent(); in emitCalleeSavedGPRLocations() local
545 MachineFunction &MF = *MBB.getParent(); in emitCalleeSavedSVELocations() local
581 static void insertCFISameValue(const MCInstrDesc &Desc, MachineFunction &MF, in insertCFISameValue()
593 MachineFunction &MF = *MBB.getParent(); in resetCFIToInitialState() local
[all …]
H A DAArch64ReturnProtectorLowering.cpp35 MachineFunction &MF, MachineBasicBlock &MBB, GlobalVariable *cookie) const { in insertReturnProtectorPrologue()
53 MachineFunction &MF, MachineInstr &MI, GlobalVariable *cookie) const { in insertReturnProtectorEpilogue()
89 MachineFunction &MF, std::vector<unsigned> &TempRegs) const { in fillTempRegisters()
100 MachineFunction &MF, std::vector<CalleeSavedInfo> &CSI) const { in saveReturnProtectorRegister()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp32 void NVPTXFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
71 NVPTXFrameLowering::getFrameIndexReference(const MachineFunction &MF, int FI, in getFrameIndexReference()
79 void NVPTXFrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
85 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceIRReferences.cpp23 static void dropIRReferencesFromInstructions(Oracle &O, MachineFunction &MF) { in dropIRReferencesFromInstructions()
42 if (auto *MF = WorkItem.MMI->getMachineFunction(F)) in stripIRFromInstructions() local
49 if (auto *MF = WorkItem.MMI->getMachineFunction(F)) { in stripIRFromBlocks() local
61 if (auto *MF = WorkItem.MMI->getMachineFunction(F)) { in stripIRFromFunctions() local
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp169 PPCRegisterInfo::getPointerRegClass(const MachineFunction &MF, unsigned Kind) in getPointerRegClass()
278 PPCRegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
442 bool PPCRegisterInfo::isAsmClobberable(const MachineFunction &MF, in isAsmClobberable()
564 const MachineFunction &MF, in getRegAllocationHints()
740 MachineFunction &MF = *MBB.getParent(); in lowerDynamicAlloc() local
800 MachineFunction &MF = *MBB.getParent(); in prepareDynamicAlloca() local
888 MachineFunction &MF = *MBB.getParent(); in lowerPrepareProbedAlloca() local
930 MachineFunction &MF = *MBB.getParent(); in lowerDynamicAreaOffset() local
960 MachineFunction &MF = *MBB.getParent(); in lowerCRSpilling() local
1005 MachineFunction &MF = *MBB.getParent(); in lowerCRRestore() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp40 void MSP430FrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue()
105 void MSP430FrameLowering::emitEpilogue(MachineFunction &MF, in emitEpilogue()
187 MachineFunction &MF = *MBB.getParent(); in spillCalleeSavedRegisters() local
211 MachineFunction &MF = *MBB.getParent(); in restoreCalleeSavedRegisters() local
221 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr()
283 MSP430FrameLowering::processFunctionBeforeFrameFinalized(MachineFunction &MF, in processFunctionBeforeFrameFinalized()

12345678910>>...29