/external/llvm/lib/Target/AArch64/ |
D | AArch64RegisterInfo.cpp | 42 AArch64RegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { in getCalleeSavedRegs() 43 assert(MF && "Invalid MachineFunction pointer."); in getCalleeSavedRegs() 44 if (MF->getFunction()->getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 48 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs() 50 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs() 51 return MF->getInfo<AArch64FunctionInfo>()->isSplitCSR() ? in getCalleeSavedRegs() 59 const MachineFunction *MF) const { in getCalleeSavedRegsViaCopy() 60 assert(MF && "Invalid MachineFunction pointer."); in getCalleeSavedRegsViaCopy() 61 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy() 62 MF->getInfo<AArch64FunctionInfo>()->isSplitCSR()) in getCalleeSavedRegsViaCopy() [all …]
|
D | AArch64FrameLowering.cpp | 118 bool AArch64FrameLowering::canUseRedZone(const MachineFunction &MF) const { in canUseRedZone() 123 if (MF.getFunction()->hasFnAttribute(Attribute::NoRedZone)) in canUseRedZone() 126 const MachineFrameInfo *MFI = MF.getFrameInfo(); in canUseRedZone() 127 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in canUseRedZone() 133 if (MFI->hasCalls() || hasFP(MF) || NumBytes > 128) in canUseRedZone() 140 bool AArch64FrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() 141 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() 142 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP() 145 MFI->hasPatchPoint() || RegInfo->needsStackRealignment(MF)); in hasFP() 154 AArch64FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const { in hasReservedCallFrame() [all …]
|
D | AArch64RegisterInfo.h | 34 bool isReservedReg(const MachineFunction &MF, unsigned Reg) const; 37 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override; 39 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const override; 40 const uint32_t *getCallPreservedMask(const MachineFunction &MF, 62 const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF, 65 BitVector getReservedRegs(const MachineFunction &MF) const override; 67 getPointerRegClass(const MachineFunction &MF, 72 bool requiresRegisterScavenging(const MachineFunction &MF) const override; 73 bool useFPForScavengingIndex(const MachineFunction &MF) const override; 74 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override; [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcFrameLowering.cpp | 40 void SparcFrameLowering::emitSPAdjustment(MachineFunction &MF, in emitSPAdjustment() argument 49 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitSPAdjustment() 85 void SparcFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue() argument 87 SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>(); in emitPrologue() 89 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported"); in emitPrologue() 90 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitPrologue() 92 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologue() 94 *static_cast<const SparcRegisterInfo *>(MF.getSubtarget().getRegisterInfo()); in emitPrologue() 99 bool NeedsStackRealignment = RegInfo.needsStackRealignment(MF); in emitPrologue() 107 report_fatal_error("Function \"" + Twine(MF.getName()) + "\" required " in emitPrologue() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 64 ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { in getCalleeSavedRegs() 65 const ARMSubtarget &STI = MF->getSubtarget<ARMSubtarget>(); in getCalleeSavedRegs() 69 const Function *F = MF->getFunction(); in getCalleeSavedRegs() 94 ARMBaseRegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask() argument 96 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getCallPreservedMask() 109 ARMBaseRegisterInfo::getThisReturnPreservedMask(const MachineFunction &MF, in getThisReturnPreservedMask() argument 111 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getThisReturnPreservedMask() 128 getReservedRegs(const MachineFunction &MF) const { in getReservedRegs() 129 const ARMSubtarget &STI = MF.getSubtarget<ARMSubtarget>(); in getReservedRegs() 130 const ARMFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() [all …]
|
D | ARMBaseRegisterInfo.h | 94 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override; 95 const uint32_t *getCallPreservedMask(const MachineFunction &MF, 107 const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF, 110 BitVector getReservedRegs(const MachineFunction &MF) const override; 113 getPointerRegClass(const MachineFunction &MF, 120 const MachineFunction &MF) const override; 123 MachineFunction &MF) const override; 128 const MachineFunction &MF, 133 MachineFunction &MF) const override; 135 bool hasBasePointer(const MachineFunction &MF) const; [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FrameLowering.h | 54 MachineInstr *emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB, 59 void inlineStackProbe(MachineFunction &MF, 68 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 69 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 71 void adjustForSegmentedStacks(MachineFunction &MF, 74 void adjustForHiPEPrologue(MachineFunction &MF, 77 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, 81 assignCalleeSavedSpillSlots(MachineFunction &MF, 95 bool hasFP(const MachineFunction &MF) const override; 96 bool hasReservedCallFrame(const MachineFunction &MF) const override; [all …]
|
D | X86FrameLowering.cpp | 52 bool X86FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const { in hasReservedCallFrame() 53 return !MF.getFrameInfo()->hasVarSizedObjects() && in hasReservedCallFrame() 54 !MF.getInfo<X86MachineFunctionInfo>()->getHasPushSequences(); in hasReservedCallFrame() 62 X86FrameLowering::canSimplifyCallFramePseudos(const MachineFunction &MF) const { in canSimplifyCallFramePseudos() 63 return hasReservedCallFrame(MF) || in canSimplifyCallFramePseudos() 64 (hasFP(MF) && !TRI->needsStackRealignment(MF)) || in canSimplifyCallFramePseudos() 65 TRI->hasBasePointer(MF); in canSimplifyCallFramePseudos() 76 X86FrameLowering::needsFrameIndexResolution(const MachineFunction &MF) const { in needsFrameIndexResolution() 77 return MF.getFrameInfo()->hasStackObjects() || in needsFrameIndexResolution() 78 MF.getInfo<X86MachineFunctionInfo>()->getHasPushSequences(); in needsFrameIndexResolution() [all …]
|
D | X86RegisterInfo.h | 60 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override; 76 const MachineFunction &MF) const override; 81 getPointerRegClass(const MachineFunction &MF, 93 getGPRsForTailCall(const MachineFunction &MF) const; 96 MachineFunction &MF) const override; 101 getCalleeSavedRegs(const MachineFunction* MF) const override; 102 const uint32_t *getCallPreservedMask(const MachineFunction &MF, 114 BitVector getReservedRegs(const MachineFunction &MF) const override; 118 bool hasBasePointer(const MachineFunction &MF) const; 120 bool canRealignStack(const MachineFunction &MF) const override; [all …]
|
/external/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 31 bool TargetFrameLowering::noFramePointerElim(const MachineFunction &MF) const { in noFramePointerElim() 32 auto Attr = MF.getFunction()->getFnAttribute("no-frame-pointer-elim"); in noFramePointerElim() 40 int TargetFrameLowering::getFrameIndexReference(const MachineFunction &MF, in getFrameIndexReference() argument 42 const MachineFrameInfo *MFI = MF.getFrameInfo(); in getFrameIndexReference() 43 const TargetRegisterInfo *RI = MF.getSubtarget().getRegisterInfo(); in getFrameIndexReference() 48 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference() 55 const MachineFunction &MF) const { in needsFrameIndexResolution() 56 return MF.getFrameInfo()->hasStackObjects(); in needsFrameIndexResolution() 59 void TargetFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves() argument 63 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves() [all …]
|
D | StackMapLivenessAnalysis.cpp | 66 bool runOnMachineFunction(MachineFunction &MF) override; 70 bool calculateLiveness(MachineFunction &MF); 73 void addLiveOutSetToMI(MachineFunction &MF, MachineInstr &MI); 77 uint32_t *createRegisterMask(MachineFunction &MF) const; 101 bool StackMapLiveness::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 105 DEBUG(dbgs() << "********** COMPUTING STACKMAP LIVENESS: " << MF.getName() in runOnMachineFunction() 107 TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction() 111 if (!MF.getFrameInfo()->hasPatchPoint()) { in runOnMachineFunction() 115 return calculateLiveness(MF); in runOnMachineFunction() 119 bool StackMapLiveness::calculateLiveness(MachineFunction &MF) { in calculateLiveness() argument [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetFrameLowering.h | 102 virtual unsigned getStackAlignmentSkew(const MachineFunction &MF) const; 121 assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots() argument 150 virtual bool enableShrinkWrapping(const MachineFunction &MF) const { in enableShrinkWrapping() argument 156 virtual void emitPrologue(MachineFunction &MF, 158 virtual void emitEpilogue(MachineFunction &MF, 162 virtual void inlineStackProbe(MachineFunction &MF, in inlineStackProbe() argument 167 virtual void adjustForSegmentedStacks(MachineFunction &MF, in adjustForSegmentedStacks() argument 172 virtual void adjustForHiPEPrologue(MachineFunction &MF, in adjustForHiPEPrologue() argument 178 adjustForFrameAllocatePrologue(MachineFunction &MF, in adjustForFrameAllocatePrologue() argument 204 virtual bool noFramePointerElim(const MachineFunction &MF) const; [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsRegisterInfo.cpp | 52 MipsRegisterInfo::getPointerRegClass(const MachineFunction &MF, in getPointerRegClass() argument 54 MipsABIInfo ABI = MF.getSubtarget<MipsSubtarget>().getABI(); in getPointerRegClass() 60 MachineFunction &MF) const { in getRegPressureLimit() 67 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit() 68 return 28 - TFI->hasFP(MF); in getRegPressureLimit() 85 MipsRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { in getCalleeSavedRegs() 86 const MipsSubtarget &Subtarget = MF->getSubtarget<MipsSubtarget>(); in getCalleeSavedRegs() 87 const Function *F = MF->getFunction(); in getCalleeSavedRegs() 116 MipsRegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask() argument 118 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getCallPreservedMask() [all …]
|
D | MipsFrameLowering.cpp | 96 bool MipsFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() 97 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() 100 return MF.getTarget().Options.DisableFramePointerElim(MF) || in hasFP() 102 TRI->needsStackRealignment(MF); in hasFP() 105 bool MipsFrameLowering::hasBP(const MachineFunction &MF) const { in hasBP() 106 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasBP() 109 return MFI->hasVarSizedObjects() && TRI->needsStackRealignment(MF); in hasBP() 112 uint64_t MipsFrameLowering::estimateStackSize(const MachineFunction &MF) const { in estimateStackSize() 113 const MachineFrameInfo *MFI = MF.getFrameInfo(); in estimateStackSize() 123 for (const MCPhysReg *R = TRI.getCalleeSavedRegs(&MF); *R; ++R) { in estimateStackSize() [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 30 bool MSP430FrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() 31 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() 33 return (MF.getTarget().Options.DisableFramePointerElim(MF) || in hasFP() 34 MF.getFrameInfo()->hasVarSizedObjects() || in hasFP() 38 bool MSP430FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const { in hasReservedCallFrame() 39 return !MF.getFrameInfo()->hasVarSizedObjects(); in hasReservedCallFrame() 42 void MSP430FrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue() argument 44 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported"); in emitPrologue() 45 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitPrologue() 46 MSP430MachineFunctionInfo *MSP430FI = MF.getInfo<MSP430MachineFunctionInfo>(); in emitPrologue() [all …]
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MIRParser.cpp | 98 bool initializeMachineFunction(MachineFunction &MF); 100 bool initializeRegisterInfo(MachineFunction &MF, 104 void inferRegisterInfo(MachineFunction &MF, 107 bool initializeFrameInfo(MachineFunction &MF, 111 bool parseCalleeSavedRegister(MachineFunction &MF, 117 bool parseStackObjectsDebugInfo(MachineFunction &MF, 124 const MachineFunction &MF, 127 bool initializeJumpTableInfo(MachineFunction &MF, 133 MachineFunction &MF, const PerFunctionMIParsingState &PFS); 136 const yaml::StringValue &Source, MachineFunction &MF, [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineInstrBuilder.h | 46 MachineFunction *MF; variable 49 MachineInstrBuilder() : MF(nullptr), MI(nullptr) {} in MachineInstrBuilder() 53 MachineInstrBuilder(MachineFunction &F, MachineInstr *I) : MF(&F), MI(I) {} in MachineInstrBuilder() 69 MI->addOperand(*MF, MachineOperand::CreateReg(RegNo, 84 MI->addOperand(*MF, MachineOperand::CreateImm(Val)); in addImm() 89 MI->addOperand(*MF, MachineOperand::CreateCImm(Val)); in addCImm() 94 MI->addOperand(*MF, MachineOperand::CreateFPImm(Val)); in addFPImm() 100 MI->addOperand(*MF, MachineOperand::CreateMBB(MBB, TargetFlags)); 105 MI->addOperand(*MF, MachineOperand::CreateFI(Idx)); in addFrameIndex() 112 MI->addOperand(*MF, MachineOperand::CreateCPI(Idx, Offset, TargetFlags)); [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 65 void SystemZFrameLowering::determineCalleeSaves(MachineFunction &MF, in determineCalleeSaves() argument 68 TargetFrameLowering::determineCalleeSaves(MF, SavedRegs, RS); in determineCalleeSaves() 70 MachineFrameInfo *MFFrame = MF.getFrameInfo(); in determineCalleeSaves() 71 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in determineCalleeSaves() 72 bool HasFP = hasFP(MF); in determineCalleeSaves() 73 SystemZMachineFunctionInfo *MFI = MF.getInfo<SystemZMachineFunctionInfo>(); in determineCalleeSaves() 74 bool IsVarArg = MF.getFunction()->isVarArg(); in determineCalleeSaves() 98 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF); in determineCalleeSaves() 133 MachineFunction &MF = *MBB.getParent(); in spillCalleeSavedRegisters() local 134 const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFrameLowering.cpp | 167 bool runOnMachineFunction(MachineFunction &MF) override; 173 bool HexagonCallFrameInformation::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 174 auto &HFI = *MF.getSubtarget<HexagonSubtarget>().getFrameLowering(); in runOnMachineFunction() 175 bool NeedCFI = MF.getMMI().hasDebugInfo() || in runOnMachineFunction() 176 MF.getFunction()->needsUnwindTableEntry(); in runOnMachineFunction() 180 HFI.insertCFIInstructions(MF); in runOnMachineFunction() 290 void HexagonFrameLowering::findShrunkPrologEpilog(MachineFunction &MF, in findShrunkPrologEpilog() argument 300 auto &HST = static_cast<const HexagonSubtarget&>(MF.getSubtarget()); in findShrunkPrologEpilog() 304 MDT.runOnMachineFunction(MF); in findShrunkPrologEpilog() 306 MPT.runOnMachineFunction(MF); in findShrunkPrologEpilog() [all …]
|
D | HexagonFrameLowering.h | 29 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const 31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue() argument 44 void eliminateCallFramePseudoInstr(MachineFunction &MF, 46 void processFunctionBeforeFrameFinalized(MachineFunction &MF, 48 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, 54 int getFrameIndexReference(const MachineFunction &MF, int FI, 56 bool hasFP(const MachineFunction &MF) const override; 72 bool assignCalleeSavedSpillSlots(MachineFunction &MF, 76 bool needsAligna(const MachineFunction &MF) const; 77 const MachineInstr *getAlignaInstr(const MachineFunction &MF) const; [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXReplaceImageHandles.cpp | 37 bool runOnMachineFunction(MachineFunction &MF) override; 44 void replaceImageHandle(MachineOperand &Op, MachineFunction &MF); 45 bool findIndexForHandle(MachineOperand &Op, MachineFunction &MF, 55 bool NVPTXReplaceImageHandles::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 59 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); BI != BE; in runOnMachineFunction() 80 MachineFunction &MF = *MI.getParent()->getParent(); in processInstr() local 87 replaceImageHandle(TexHandle, MF); in processInstr() 91 replaceImageHandle(SampHandle, MF); in processInstr() 102 replaceImageHandle(SurfHandle, MF); in processInstr() 109 replaceImageHandle(SurfHandle, MF); in processInstr() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFrameLowering.cpp | 45 bool WebAssemblyFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() 46 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() 48 MF.getSubtarget<WebAssemblySubtarget>().getRegisterInfo(); in hasFP() 51 RegInfo->needsStackRealignment(MF); in hasFP() 60 const MachineFunction &MF) const { in hasReservedCallFrame() 61 return !MF.getFrameInfo()->hasVarSizedObjects(); in hasReservedCallFrame() 68 MachineFunction& MF, in adjustStackPointer() argument 73 auto &MRI = MF.getRegInfo(); in adjustStackPointer() 75 auto *SPSymbol = MF.createExternalSymbolName("__stack_pointer"); in adjustStackPointer() 110 MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr() argument [all …]
|
D | WebAssemblyCFGStackify.cpp | 59 bool runOnMachineFunction(MachineFunction &MF) override; 72 static void EliminateMultipleEntryLoops(MachineFunction &MF, in EliminateMultipleEntryLoops() argument 75 for (scc_iterator<MachineFunction *> I = scc_begin(&MF), E = scc_end(&MF); in EliminateMultipleEntryLoops() 109 POStackEntry(MachineBasicBlock *MBB, MachineFunction &MF, 119 POStackEntry::POStackEntry(MachineBasicBlock *MBB, MachineFunction &MF, in POStackEntry() argument 127 MachineBasicBlock *LayoutSucc = Next == MF.end() ? nullptr : &*Next; in POStackEntry() 173 static void SortBlocks(MachineFunction &MF, const MachineLoopInfo &MLI) { in SortBlocks() argument 181 MachineBasicBlock *EntryBlock = &*MF.begin(); in SortBlocks() 183 Stack.push_back(POStackEntry(EntryBlock, MF, MLI)); in SortBlocks() 191 Stack.push_back(POStackEntry(Succ, MF, MLI)); in SortBlocks() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 86 PPCRegisterInfo::getPointerRegClass(const MachineFunction &MF, unsigned Kind) in getPointerRegClass() argument 102 PPCRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { in getCalleeSavedRegs() 103 const PPCSubtarget &Subtarget = MF->getSubtarget<PPCSubtarget>(); in getCalleeSavedRegs() 104 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) { in getCalleeSavedRegs() 120 bool SaveR2 = MF->getRegInfo().isAllocatable(PPC::X2); in getCalleeSavedRegs() 132 PPCRegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask() argument 134 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getCallPreservedMask() 165 BitVector PPCRegisterInfo::getReservedRegs(const MachineFunction &MF) const { in getReservedRegs() 167 const PPCSubtarget &Subtarget = MF.getSubtarget<PPCSubtarget>(); in getReservedRegs() 168 const PPCFrameLowering *TFI = getFrameLowering(MF); in getReservedRegs() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 178 MachineFunction *MF = MBB.getParent(); in getFrameIndexMMO() local 179 const MachineFrameInfo &MFI = *MF->getFrameInfo(); in getFrameIndexMMO() 180 MachineMemOperand *MMO = MF->getMachineMemOperand( in getFrameIndexMMO() 181 MachinePointerInfo::getFixedStack(*MF, FrameIndex), flags, in getFrameIndexMMO() 217 bool XCoreFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() 218 return MF.getTarget().Options.DisableFramePointerElim(MF) || in hasFP() 219 MF.getFrameInfo()->hasVarSizedObjects(); in hasFP() 222 void XCoreFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue() argument 224 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported"); in emitPrologue() 226 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitPrologue() [all …]
|