Home
last modified time | relevance | path

Searched refs:MFI (Results 1 – 25 of 209) sorted by relevance

123456789

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp274 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 …]
DLocalStackSlotAllocation.cpp81 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 …]
DMIRPrinter.cpp125 const MachineFrameInfo &MFI);
329 const MachineFrameInfo &MFI) { in convert() argument
330 YamlMFI.IsFrameAddressTaken = MFI.isFrameAddressTaken(); in convert()
331 YamlMFI.IsReturnAddressTaken = MFI.isReturnAddressTaken(); in convert()
332 YamlMFI.HasStackMap = MFI.hasStackMap(); in convert()
333 YamlMFI.HasPatchPoint = MFI.hasPatchPoint(); in convert()
334 YamlMFI.StackSize = MFI.getStackSize(); in convert()
335 YamlMFI.OffsetAdjustment = MFI.getOffsetAdjustment(); in convert()
336 YamlMFI.MaxAlignment = MFI.getMaxAlignment(); in convert()
337 YamlMFI.AdjustsStack = MFI.adjustsStack(); in convert()
[all …]
DStackSlotColoring.cpp63 MachineFrameInfo *MFI; member in __anon8b1277320111::StackSlotColoring
157 SSRefs.resize(MFI->getObjectIndexEnd()); in ScanForSpillSlotRefs()
198 int LastFI = MFI->getObjectIndexEnd(); in InitializeSlots()
226 if (MFI->isDeadObjectIndex(FI)) in InitializeSlots()
230 OrigAlignments[FI] = MFI->getObjectAlignment(FI); in InitializeSlots()
231 OrigSizes[FI] = MFI->getObjectSize(FI); in InitializeSlots()
233 auto StackID = MFI->getStackID(FI); in InitializeSlots()
273 uint8_t StackID = MFI->getStackID(FI); in ColorSlot()
289 if (Color != -1 && MFI->getStackID(Color) != MFI->getStackID(FI)) { in ColorSlot()
303 assert(MFI->getStackID(Color) == MFI->getStackID(FI)); in ColorSlot()
[all …]
DPseudoSourceValue.cpp61 const MachineFrameInfo *MFI) const { in isConstant()
62 return MFI && MFI->isImmutableObjectIndex(FI); in isConstant()
65 bool FixedStackPseudoSourceValue::isAliased(const MachineFrameInfo *MFI) const { in isAliased()
66 if (!MFI) in isAliased()
68 return MFI->isAliasedObjectIndex(FI); in isAliased()
71 bool FixedStackPseudoSourceValue::mayAlias(const MachineFrameInfo *MFI) const { in mayAlias()
72 if (!MFI) in mayAlias()
75 return !MFI->isSpillSlotObjectIndex(FI); in mayAlias()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp101 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp97 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 …]
DAMDGPUAsmPrinter.cpp192 const SIMachineFunctionInfo &MFI = *MF->getInfo<SIMachineFunctionInfo>(); in EmitFunctionBodyStart() local
193 if (!MFI.isEntryFunction()) in EmitFunctionBodyStart()
211 const SIMachineFunctionInfo &MFI = *MF->getInfo<SIMachineFunctionInfo>(); in EmitFunctionBodyEnd() local
212 if (!MFI.isEntryFunction()) in EmitFunctionBodyEnd()
257 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in EmitFunctionEntryLabel() local
259 if (MFI->isEntryFunction() && STM.isAmdHsaOrMesa(MF->getFunction())) { in EmitFunctionEntryLabel()
349 const AMDGPUMachineFunction *MFI) { in emitCommonFunctionComments() argument
359 OutStreamer->emitRawComment(" MemoryBound: " + Twine(MFI->isMemoryBound()), in emitCommonFunctionComments()
365 const SIMachineFunctionInfo &MFI = *MF.getInfo<SIMachineFunctionInfo>(); in getAmdhsaKernelCodeProperties() local
368 if (MFI.hasPrivateSegmentBuffer()) { in getAmdhsaKernelCodeProperties()
[all …]
DAMDGPUTargetMachine.cpp1010 const SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in convertFuncInfoToYAML() local
1011 return new yaml::SIMachineFunctionInfo(*MFI, in convertFuncInfoToYAML()
1021 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in parseMachineFunctionInfo() local
1023 MFI->initializeBaseYamlFields(YamlMFI); in parseMachineFunctionInfo()
1046 if (parseRegister(YamlMFI.ScratchRSrcReg, MFI->ScratchRSrcReg) || in parseMachineFunctionInfo()
1047 parseRegister(YamlMFI.ScratchWaveOffsetReg, MFI->ScratchWaveOffsetReg) || in parseMachineFunctionInfo()
1048 parseRegister(YamlMFI.FrameOffsetReg, MFI->FrameOffsetReg) || in parseMachineFunctionInfo()
1049 parseRegister(YamlMFI.StackPtrOffsetReg, MFI->StackPtrOffsetReg)) in parseMachineFunctionInfo()
1052 if (MFI->ScratchRSrcReg != AMDGPU::PRIVATE_RSRC_REG && in parseMachineFunctionInfo()
1053 !AMDGPU::SGPR_128RegClass.contains(MFI->ScratchRSrcReg)) { in parseMachineFunctionInfo()
[all …]
DSIMachineFunctionInfo.cpp388 void SIMachineFunctionInfo::removeDeadFrameIndices(MachineFrameInfo &MFI) { in removeDeadFrameIndices() argument
392 MFI.RemoveStackObject(R.first); in removeDeadFrameIndices()
397 for (int i = MFI.getObjectIndexBegin(), e = MFI.getObjectIndexEnd(); i != e; in removeDeadFrameIndices()
400 MFI.setStackID(i, TargetStackID::Default); in removeDeadFrameIndices()
404 MFI.RemoveStackObject(R.first); in removeDeadFrameIndices()
479 const llvm::SIMachineFunctionInfo& MFI, in SIMachineFunctionInfo() argument
481 : ExplicitKernArgSize(MFI.getExplicitKernArgSize()), in SIMachineFunctionInfo()
482 MaxKernArgAlign(MFI.getMaxKernArgAlign()), in SIMachineFunctionInfo()
483 LDSSize(MFI.getLDSSize()), in SIMachineFunctionInfo()
484 IsEntryFunction(MFI.isEntryFunction()), in SIMachineFunctionInfo()
[all …]
DR600FrameLowering.cpp24 const MachineFrameInfo &MFI = MF.getFrameInfo(); in getFrameIndexReference() local
35 int UpperBound = FI == -1 ? MFI.getNumObjects() : FI; in getFrameIndexReference()
37 for (int i = MFI.getObjectIndexBegin(); i < UpperBound; ++i) { in getFrameIndexReference()
38 OffsetBytes = alignTo(OffsetBytes, MFI.getObjectAlignment(i)); in getFrameIndexReference()
39 OffsetBytes += MFI.getObjectSize(i); in getFrameIndexReference()
46 OffsetBytes = alignTo(OffsetBytes, MFI.getObjectAlignment(FI)); in getFrameIndexReference()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVFrameLowering.cpp29 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp28 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DLeonPasses.cpp46 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()
DSparcFrameLowering.cpp90 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local
107 if (!NeedsStackRealignment && MFI.getMaxAlignment() > getStackAlignment()) in emitPrologue()
113 int NumBytes = (int) MFI.getStackSize(); in emitPrologue()
140 if (MFI.adjustsStack() && hasReservedCallFrame(MF)) in emitPrologue()
141 NumBytes += MFI.getMaxCallFrameSize(); in emitPrologue()
149 if (MFI.getMaxAlignment() > 0) { in emitPrologue()
150 NumBytes = alignTo(NumBytes, MFI.getMaxAlignment()); in emitPrologue()
154 MFI.setStackSize(NumBytes); in emitPrologue()
192 int MaxAlign = MFI.getMaxAlignment(); in emitPrologue()
234 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitEpilogue() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCFrameLowering.cpp128 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local
129 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue()
137 unsigned VarArgsBytes = MFI.getObjectSize(AFI->getVarArgsFrameIndex()); in emitPrologue()
172 if (MFI.hasCalls() && !SavedBlink) { in emitPrologue()
178 MFI.setStackSize(MFI.getStackSize() + AFI->MaxCallStackReq); in emitPrologue()
181 << (MFI.getStackSize() - AlreadyAdjusted) << "\n"); in emitPrologue()
183 -(MFI.getStackSize() - AlreadyAdjusted), ARC::SP); in emitPrologue()
188 TII->get(isUInt<6>(MFI.getStackSize()) ? ARC::ADD_rru6 in emitPrologue()
192 .addImm(MFI.getStackSize()); in emitPrologue()
200 MCCFIInstruction::createDefCfaOffset(nullptr, -MFI.getStackSize())); in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsFrameLowering.cpp94 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()
DMips16FrameLowering.cpp44 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local
53 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
56 if (StackSize == 0 && !MFI.adjustsStack()) return; in emitPrologue()
70 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue()
73 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue()
77 int64_t Offset = MFI.getObjectOffset(I->getFrameIdx()); in emitPrologue()
94 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitEpilogue() local
98 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
156 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasReservedCallFrame() local
159 return isInt<15>(MFI.getMaxCallFrameSize()) && !MFI.hasVarSizedObjects(); in hasReservedCallFrame()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp54 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local
62 bool HasFixedSizedObjects = MFI.getStackSize() > 0; in hasFP()
65 return MFI.isFrameAddressTaken() || in hasFP()
66 (MFI.hasVarSizedObjects() && NeedsFixedReference) || in hasFP()
67 MFI.hasStackMap() || MFI.hasPatchPoint(); in hasFP()
84 auto &MFI = MF.getFrameInfo(); in needsSPForLocalFrame() local
85 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF); in needsSPForLocalFrame()
111 auto &MFI = MF.getFrameInfo(); in needsSPWriteback() local
120 bool CanUseRedZone = MFI.getStackSize() <= RedZoneSize && !MFI.hasCalls() && in needsSPWriteback()
155 auto &MFI = MF.getFrameInfo(); in emitPrologue() local
[all …]
DWebAssemblyExplicitLocals.cpp171 WebAssemblyFunctionInfo &MFI) { in findStartOfTree() argument
173 assert(MFI.isVRegStackified(Reg)); in findStartOfTree()
180 return findStartOfTree(DefMO, MRI, MFI); in findStartOfTree()
198 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction() local
212 assert(!MFI.isVRegStackified(Reg)); in runOnMachineFunction()
219 unsigned CurLocal = static_cast<unsigned>(MFI.getParams().size()); in runOnMachineFunction()
240 assert(MFI.isVRegStackified(MI.getOperand(0).getReg())); in runOnMachineFunction()
241 assert(!MFI.isVRegStackified(MI.getOperand(1).getReg())); in runOnMachineFunction()
246 if (!MFI.isVRegStackified(OldReg)) { in runOnMachineFunction()
253 MFI.stackifyVReg(NewReg); in runOnMachineFunction()
[all …]
DWebAssemblyRegNumbering.cpp66 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction() local
69 MFI.initWARegs(); in runOnMachineFunction()
81 MFI.setWAReg(MI.getOperand(0).getReg(), Imm); in runOnMachineFunction()
90 unsigned CurReg = MFI.getParams().size(); in runOnMachineFunction()
97 if (MFI.isVRegStackified(VReg)) { in runOnMachineFunction()
100 MFI.setWAReg(VReg, INT32_MIN | NumStackRegs++); in runOnMachineFunction()
103 if (MFI.getWAReg(VReg) == WebAssemblyFunctionInfo::UnusedReg) { in runOnMachineFunction()
105 MFI.setWAReg(VReg, CurReg++); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreMachineFunctionInfo.cpp40 MachineFrameInfo &MFI = MF.getFrameInfo(); in createLRSpillSlot() local
43 LRSpillSlot = MFI.CreateFixedObject(TRI.getSpillSize(RC), 0, true); in createLRSpillSlot()
45 LRSpillSlot = MFI.CreateStackObject(TRI.getSpillSize(RC), in createLRSpillSlot()
58 MachineFrameInfo &MFI = MF.getFrameInfo(); in createFPSpillSlot() local
59 FPSpillSlot = MFI.CreateStackObject(TRI.getSpillSize(RC), in createFPSpillSlot()
71 MachineFrameInfo &MFI = MF.getFrameInfo(); in createEHSpillSlot() local
74 EHSpillSlot[0] = MFI.CreateStackObject(Size, Align, true); in createEHSpillSlot()
75 EHSpillSlot[1] = MFI.CreateStackObject(Size, Align, true); in createEHSpillSlot()
DXCoreFrameLowering.cpp139 MachineFrameInfo &MFI, XCoreFunctionInfo *XFI, in GetSpillList() argument
142 int Offset = MFI.getObjectOffset(XFI->getLRSpillSlot()); in GetSpillList()
148 int Offset = MFI.getObjectOffset(XFI->getFPSpillSlot()); in GetSpillList()
161 MachineFrameInfo &MFI, XCoreFunctionInfo *XFI, in GetEHSpillList() argument
167 StackSlotInfo(EHSlot[0], MFI.getObjectOffset(EHSlot[0]), in GetEHSpillList()
170 StackSlotInfo(EHSlot[0], MFI.getObjectOffset(EHSlot[1]), in GetEHSpillList()
179 const MachineFrameInfo &MFI = MF->getFrameInfo(); in getFrameIndexMMO() local
182 MFI.getObjectSize(FrameIndex), MFI.getObjectAlignment(FrameIndex)); in getFrameIndexMMO()
227 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local
236 if (MFI.getMaxAlignment() > getStackAlignment()) in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVEFrameLowering.cpp177 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local
194 if (!NeedsStackRealignment && MFI.getMaxAlignment() > getStackAlignment()) in emitPrologue()
201 int NumBytes = (int)MFI.getStackSize(); in emitPrologue()
215 if (MFI.adjustsStack() && hasReservedCallFrame(MF)) in emitPrologue()
216 NumBytes += MFI.getMaxCallFrameSize(); in emitPrologue()
224 if (MFI.getMaxAlignment() > 0) { in emitPrologue()
225 NumBytes = alignTo(NumBytes, MFI.getMaxAlignment()); in emitPrologue()
229 MFI.setStackSize(NumBytes); in emitPrologue()
273 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitEpilogue() local
275 int NumBytes = (int)MFI.getStackSize(); in emitEpilogue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp445 const PPCFunctionInfo *MFI = MF.getInfo<PPCFunctionInfo>(); in MustSaveLR() local
452 return RI !=MF.getRegInfo().def_end() || MFI->isLRStoreRequired(); in MustSaveLR()
474 const MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() local
479 UseEstimate ? MFI.estimateStackSize(MF) : MFI.getStackSize(); in determineFrameLayout()
483 unsigned MaxAlign = MFI.getMaxAlignment(); // algmt required by data in frame in determineFrameLayout()
490 bool CanUseRedZone = !MFI.hasVarSizedObjects() && // No dynamic alloca. in determineFrameLayout()
491 !MFI.adjustsStack() && // No calls. in determineFrameLayout()
507 unsigned maxCallFrameSize = MFI.getMaxCallFrameSize(); in determineFrameLayout()
515 if (MFI.hasVarSizedObjects()) in determineFrameLayout()
534 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local
[all …]

123456789