/external/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 83 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, in AdjustStackOffset() argument 88 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 90 unsigned Align = MFI->getObjectAlignment(FrameIdx); in AdjustStackOffset() 101 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 104 MFI->setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 105 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 118 MachineFrameInfo *MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() local 135 for (int i = MFI->getObjectIndexBegin(); i != 0; ++i) { in calculateFrameObjectOffsets() 141 FixedOff = -MFI->getObjectOffset(i); in calculateFrameObjectOffsets() 145 FixedOff = MFI->getObjectOffset(i) + MFI->getObjectSize(i); in calculateFrameObjectOffsets() [all …]
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 101 static inline void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 106 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 108 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset() 120 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 124 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 125 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 138 MachineFrameInfo &MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() local 155 for (int i = MFI.getObjectIndexBegin(); i != 0; ++i) { in calculateFrameObjectOffsets() 161 FixedOff = -MFI.getObjectOffset(i); in calculateFrameObjectOffsets() 165 FixedOff = MFI.getObjectOffset(i) + MFI.getObjectSize(i); in calculateFrameObjectOffsets() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 101 AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 106 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 108 unsigned Align = MFI.getObjectAlignment(FrameIdx); in AdjustStackOffset() 120 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 124 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 125 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 138 MachineFrameInfo &MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() local 155 for (int i = MFI.getObjectIndexBegin(); i != 0; ++i) { in calculateFrameObjectOffsets() 161 FixedOff = -MFI.getObjectOffset(i); in calculateFrameObjectOffsets() 165 FixedOff = MFI.getObjectOffset(i) + MFI.getObjectSize(i); in calculateFrameObjectOffsets() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 278 MachineFrameInfo &MFI = MF.getFrameInfo(); in runOnMachineFunction() local 279 uint64_t StackSize = MFI.getStackSize(); in runOnMachineFunction() 294 MFI.setSavePoint(nullptr); in runOnMachineFunction() 295 MFI.setRestorePoint(nullptr); in runOnMachineFunction() 305 MachineFrameInfo &MFI = MF.getFrameInfo(); in calculateCallFrameInfo() local 308 bool AdjustsStack = MFI.adjustsStack(); in calculateCallFrameInfo() 334 assert(!MFI.isMaxCallFrameSizeComputed() || in calculateCallFrameInfo() 335 (MFI.getMaxCallFrameSize() == MaxCallFrameSize && in calculateCallFrameInfo() 336 MFI.adjustsStack() == AdjustsStack)); in calculateCallFrameInfo() 337 MFI.setAdjustsStack(AdjustsStack); in calculateCallFrameInfo() [all …]
|
D | LocalStackSlotAllocation.cpp | 81 void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, int64_t &Offset, 85 MachineFrameInfo &MFI, bool StackGrowsDown, 114 MachineFrameInfo &MFI = MF.getFrameInfo(); in runOnMachineFunction() local 116 unsigned LocalObjectCount = MFI.getObjectIndexEnd(); in runOnMachineFunction() 124 LocalOffsets.resize(MFI.getObjectIndexEnd()); in runOnMachineFunction() 137 MFI.setUseLocalStackAllocationBlock(UsedBaseRegs); in runOnMachineFunction() 143 void LocalStackSlotPass::AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 148 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 150 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset() 165 MFI.mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset() [all …]
|
D | MIRPrinter.cpp | 128 const MachineFrameInfo &MFI); 337 const MachineFrameInfo &MFI) { in convert() argument 338 YamlMFI.IsFrameAddressTaken = MFI.isFrameAddressTaken(); in convert() 339 YamlMFI.IsReturnAddressTaken = MFI.isReturnAddressTaken(); in convert() 340 YamlMFI.HasStackMap = MFI.hasStackMap(); in convert() 341 YamlMFI.HasPatchPoint = MFI.hasPatchPoint(); in convert() 342 YamlMFI.StackSize = MFI.getStackSize(); in convert() 343 YamlMFI.OffsetAdjustment = MFI.getOffsetAdjustment(); in convert() 344 YamlMFI.MaxAlignment = MFI.getMaxAlign().value(); in convert() 345 YamlMFI.AdjustsStack = MFI.adjustsStack(); in convert() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 274 MachineFrameInfo &MFI = MF.getFrameInfo(); in runOnMachineFunction() local 275 uint64_t StackSize = MFI.getStackSize(); in runOnMachineFunction() 290 MFI.setSavePoint(nullptr); in runOnMachineFunction() 291 MFI.setRestorePoint(nullptr); in runOnMachineFunction() 301 MachineFrameInfo &MFI = MF.getFrameInfo(); in calculateCallFrameInfo() local 304 bool AdjustsStack = MFI.adjustsStack(); in calculateCallFrameInfo() 330 assert(!MFI.isMaxCallFrameSizeComputed() || in calculateCallFrameInfo() 331 (MFI.getMaxCallFrameSize() == MaxCallFrameSize && in calculateCallFrameInfo() 332 MFI.adjustsStack() == AdjustsStack)); in calculateCallFrameInfo() 333 MFI.setAdjustsStack(AdjustsStack); in calculateCallFrameInfo() [all …]
|
D | LocalStackSlotAllocation.cpp | 81 void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, int64_t &Offset, 85 MachineFrameInfo &MFI, bool StackGrowsDown, 114 MachineFrameInfo &MFI = MF.getFrameInfo(); in runOnMachineFunction() local 116 unsigned LocalObjectCount = MFI.getObjectIndexEnd(); in runOnMachineFunction() 124 LocalOffsets.resize(MFI.getObjectIndexEnd()); in runOnMachineFunction() 137 MFI.setUseLocalStackAllocationBlock(UsedBaseRegs); in runOnMachineFunction() 143 void LocalStackSlotPass::AdjustStackOffset(MachineFrameInfo &MFI, in AdjustStackOffset() argument 149 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 151 unsigned Align = MFI.getObjectAlignment(FrameIdx); in AdjustStackOffset() 166 MFI.mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FixupLEAs.cpp | 41 bool processBasicBlock(MachineFunction &MF, MachineFunction::iterator MFI); 51 MachineFunction::iterator MFI); 58 MachineFunction::iterator MFI); 63 MachineFunction::iterator MFI); 68 MachineFunction::iterator MFI) const; 79 MachineFunction::iterator MFI); 84 MachineInstr *postRAConvertToLEA(MachineFunction::iterator &MFI, 111 FixupLEAPass::postRAConvertToLEA(MachineFunction::iterator &MFI, in postRAConvertToLEA() argument 129 MFI->insert(MBBI, NewMI); // Insert the new inst in postRAConvertToLEA() 159 return TII->convertToThreeAddress(MFI, MI, nullptr); in postRAConvertToLEA() [all …]
|
/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 224 MachineFrameInfo *MFI = Fn.getFrameInfo(); in runOnMachineFunction() local 225 uint64_t StackSize = MFI->getStackSize(); in runOnMachineFunction() 234 MFI->setSavePoint(nullptr); in runOnMachineFunction() 235 MFI->setRestorePoint(nullptr); in runOnMachineFunction() 245 MachineFrameInfo *MFI = Fn.getFrameInfo(); in calculateCallFrameInfo() local 248 bool AdjustsStack = MFI->adjustsStack(); in calculateCallFrameInfo() 277 MFI->setAdjustsStack(AdjustsStack); in calculateCallFrameInfo() 278 MFI->setMaxCallFrameSize(MaxCallFrameSize); in calculateCallFrameInfo() 296 const MachineFrameInfo *MFI = Fn.getFrameInfo(); in calculateSaveRestoreBlocks() local 303 if (MFI->getSavePoint()) { in calculateSaveRestoreBlocks() [all …]
|
D | LocalStackSlotAllocation.cpp | 70 void AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset, 74 MachineFrameInfo *MFI, bool StackGrowsDown, 105 MachineFrameInfo *MFI = MF.getFrameInfo(); in INITIALIZE_PASS_DEPENDENCY() local 107 unsigned LocalObjectCount = MFI->getObjectIndexEnd(); in INITIALIZE_PASS_DEPENDENCY() 115 LocalOffsets.resize(MFI->getObjectIndexEnd()); in INITIALIZE_PASS_DEPENDENCY() 128 MFI->setUseLocalStackAllocationBlock(UsedBaseRegs); in INITIALIZE_PASS_DEPENDENCY() 134 void LocalStackSlotPass::AdjustStackOffset(MachineFrameInfo *MFI, in AdjustStackOffset() argument 140 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 142 unsigned Align = MFI->getObjectAlignment(FrameIdx); in AdjustStackOffset() 157 MFI->mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset() [all …]
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyExplicitLocals.cpp | 62 static void checkFrameBase(WebAssemblyFunctionInfo &MFI, unsigned Local, in checkFrameBase() argument 65 if (MFI.isFrameBaseVirtual() && Reg == MFI.getFrameBaseVreg()) { in checkFrameBase() 70 MFI.setFrameBaseLocal(Local); in checkFrameBase() 77 WebAssemblyFunctionInfo &MFI, unsigned &CurLocal, in getLocalId() argument 81 checkFrameBase(MFI, CurLocal, Reg); in getLocalId() 196 const WebAssemblyFunctionInfo &MFI) { in findStartOfTree() argument 198 assert(MFI.isVRegStackified(Reg)); in findStartOfTree() 203 if (!MFI.isVRegStackified(DefReg.getReg())) { in findStartOfTree() 212 return findStartOfTree(DefMO, MRI, MFI); in findStartOfTree() 226 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction() local [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsFrameLowering.cpp | 95 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() local 99 MFI->hasVarSizedObjects() || MFI->isFrameAddressTaken() || in hasFP() 104 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasBP() local 107 return MFI->hasVarSizedObjects() && TRI->needsStackRealignment(MF); in hasBP() 111 const MachineFrameInfo *MFI = MF.getFrameInfo(); in estimateStackSize() local 117 for (int I = MFI->getObjectIndexBegin(); I != 0; ++I) in estimateStackSize() 118 Offset = std::max(Offset, -MFI->getObjectOffset(I)); in estimateStackSize() 126 unsigned MaxAlign = MFI->getMaxAlignment(); in estimateStackSize() 130 assert(!MFI->getObjectIndexEnd() || MaxAlign); in estimateStackSize() 133 for (unsigned I = 0, E = MFI->getObjectIndexEnd(); I != E; ++I) in estimateStackSize() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIFrameLowering.cpp | 97 MachineFrameInfo &MFI = MF->getFrameInfo(); in buildPrologSpill() local 99 int64_t Offset = MFI.getObjectOffset(FI); in buildPrologSpill() 103 MFI.getObjectAlignment(FI)); in buildPrologSpill() 145 MachineFrameInfo &MFI = MF->getFrameInfo(); in buildEpilogReload() local 146 int64_t Offset = MFI.getObjectOffset(FI); in buildEpilogReload() 150 MFI.getObjectAlignment(FI)); in buildEpilogReload() 192 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitFlatScratchInit() local 210 MFI->getPreloadedReg(AMDGPUFunctionArgInfo::FLAT_SCRATCH_INIT); in emitFlatScratchInit() 219 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in emitFlatScratchInit() 273 SIMachineFunctionInfo *MFI, in getReservedPrivateSegmentBufferReg() argument [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFrameLowering.cpp | 43 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() local 46 return MFI->isFrameAddressTaken() || MFI->hasVarSizedObjects() || in hasFP() 47 MFI->hasStackMap() || MFI->hasPatchPoint() || in hasFP() 66 const MachineFrameInfo &MFI) const { in needsSP() 67 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF); in needsSP() 74 const MachineFunction &MF, const MachineFrameInfo &MFI) const { in needsSPWriteback() 75 assert(needsSP(MF, MFI)); in needsSPWriteback() 76 return MFI.getStackSize() > RedZoneSize || MFI.hasCalls() || in needsSPWriteback() 125 auto *MFI = MF.getFrameInfo(); in emitPrologue() local 126 assert(MFI->getCalleeSavedInfo().empty() && in emitPrologue() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVFrameLowering.cpp | 29 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local 31 RegInfo->needsStackRealignment(MF) || MFI.hasVarSizedObjects() || in hasFP() 32 MFI.isFrameAddressTaken(); in hasFP() 36 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasBP() local 39 return MFI.hasVarSizedObjects() && TRI->needsStackRealignment(MF); in hasBP() 44 MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() local 48 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout() 53 unsigned MaxStackAlign = std::max(StackAlign, MFI.getMaxAlignment()); in determineFrameLayout() 59 uint64_t MaxCallSize = alignTo(MFI.getMaxCallFrameSize(), StackAlign); in determineFrameLayout() 60 MFI.setMaxCallFrameSize(MaxCallSize); in determineFrameLayout() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIFrameLowering.cpp | 75 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getVGPRSpillLaneOrTempRegister() local 87 if (MFI->haveFreeLanesForSGPRSpill(MF, 1)) { in getVGPRSpillLaneOrTempRegister() 91 if (!MFI->allocateSGPRSpillToVGPR(MF, NewFI)) in getVGPRSpillLaneOrTempRegister() 96 LLVM_DEBUG(auto Spill = MFI->getSGPRToVGPRSpills(NewFI).front(); in getVGPRSpillLaneOrTempRegister() 111 if (MFI->allocateSGPRSpillToVGPR(MF, NewFI)) { in getVGPRSpillLaneOrTempRegister() 117 auto Spill = MFI->getSGPRToVGPRSpills(NewFI).front(); in getVGPRSpillLaneOrTempRegister() 143 MachineFrameInfo &MFI = MF->getFrameInfo(); in buildPrologSpill() local 145 int64_t Offset = MFI.getObjectOffset(FI); in buildPrologSpill() 149 MFI.getObjectAlign(FI)); in buildPrologSpill() 228 MachineFrameInfo &MFI = MF->getFrameInfo(); in buildEpilogReload() local [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAsmPrinter.cpp | 126 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in EmitFunctionEntryLabel() local 128 if (MFI->isKernel() && STM.isAmdHsaOS()) { in EmitFunctionEntryLabel() 227 R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>(); in runOnMachineFunction() local 229 Twine("SQ_PGM_RESOURCES:STACK_SIZE = " + Twine(MFI->StackSize))); in runOnMachineFunction() 255 const R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>(); in EmitProgramInfoR600() local 299 S_STACK_SIZE(MFI->StackSize), 4); in EmitProgramInfoR600() 305 OutStreamer->EmitIntValue(alignTo(MFI->LDSSize, 4) >> 2, 4); in EmitProgramInfoR600() 312 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getSIProgramInfo() local 450 ProgInfo.ReservedVGPRCount = MFI->getDebuggerReservedVGPRCount(); in getSIProgramInfo() 451 MaxVGPR += MFI->getDebuggerReservedVGPRCount(); in getSIProgramInfo() [all …]
|
/external/llvm-project/llvm/lib/Target/Lanai/ |
D | LanaiFrameLowering.cpp | 28 MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() local 32 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout() 36 LRI->needsStackRealignment(MF) ? MFI.getMaxAlign() : getStackAlign(); in determineFrameLayout() 39 unsigned MaxCallFrameSize = MFI.getMaxCallFrameSize(); in determineFrameLayout() 43 if (MFI.hasVarSizedObjects()) in determineFrameLayout() 47 MFI.setMaxCallFrameSize(MaxCallFrameSize); in determineFrameLayout() 50 if (!(hasReservedCallFrame(MF) && MFI.adjustsStack())) in determineFrameLayout() 57 MFI.setStackSize(FrameSize); in determineFrameLayout() 95 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local 109 unsigned StackSize = MFI.getStackSize(); in emitPrologue() [all …]
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiFrameLowering.cpp | 29 MachineFrameInfo *MFI = MF.getFrameInfo(); in determineFrameLayout() local 33 unsigned FrameSize = MFI->getStackSize(); in determineFrameLayout() 36 unsigned StackAlign = LRI->needsStackRealignment(MF) ? MFI->getMaxAlignment() in determineFrameLayout() 40 unsigned MaxCallFrameSize = MFI->getMaxCallFrameSize(); in determineFrameLayout() 44 if (MFI->hasVarSizedObjects()) in determineFrameLayout() 48 MFI->setMaxCallFrameSize(MaxCallFrameSize); in determineFrameLayout() 51 if (!(hasReservedCallFrame(MF) && MFI->adjustsStack())) in determineFrameLayout() 58 MFI->setStackSize(FrameSize); in determineFrameLayout() 96 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitPrologue() local 110 unsigned StackSize = MFI->getStackSize(); in emitPrologue() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiFrameLowering.cpp | 28 MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() local 32 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout() 35 unsigned StackAlign = LRI->needsStackRealignment(MF) ? MFI.getMaxAlignment() in determineFrameLayout() 39 unsigned MaxCallFrameSize = MFI.getMaxCallFrameSize(); in determineFrameLayout() 43 if (MFI.hasVarSizedObjects()) in determineFrameLayout() 47 MFI.setMaxCallFrameSize(MaxCallFrameSize); in determineFrameLayout() 50 if (!(hasReservedCallFrame(MF) && MFI.adjustsStack())) in determineFrameLayout() 57 MFI.setStackSize(FrameSize); in determineFrameLayout() 95 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local 109 unsigned StackSize = MFI.getStackSize(); in emitPrologue() [all …]
|
/external/llvm-project/llvm/lib/Target/Sparc/ |
D | LeonPasses.cpp | 45 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 46 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() 80 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 81 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() 132 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 133 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | LeonPasses.cpp | 46 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 47 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() 81 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 82 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() 133 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 134 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsFrameLowering.cpp | 94 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local 98 MFI.hasVarSizedObjects() || MFI.isFrameAddressTaken() || in hasFP() 103 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasBP() local 106 return MFI.hasVarSizedObjects() && TRI->needsStackRealignment(MF); in hasBP() 115 const MachineFrameInfo &MFI = MF.getFrameInfo(); in estimateStackSize() local 121 for (int I = MFI.getObjectIndexBegin(); I != 0; ++I) in estimateStackSize() 122 if (MFI.getObjectOffset(I) > 0) in estimateStackSize() 123 Size += MFI.getObjectSize(I); in estimateStackSize() 133 return Size + MFI.estimateStackSize(MF); in estimateStackSize()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsFrameLowering.cpp | 94 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local 98 MFI.hasVarSizedObjects() || MFI.isFrameAddressTaken() || in hasFP() 103 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasBP() local 106 return MFI.hasVarSizedObjects() && TRI->needsStackRealignment(MF); in hasBP() 115 const MachineFrameInfo &MFI = MF.getFrameInfo(); in estimateStackSize() local 121 for (int I = MFI.getObjectIndexBegin(); I != 0; ++I) in estimateStackSize() 122 if (MFI.getObjectOffset(I) > 0) in estimateStackSize() 123 Size += MFI.getObjectSize(I); in estimateStackSize() 133 return Size + MFI.estimateStackSize(MF); in estimateStackSize()
|