/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/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 …]
|
D | PseudoSourceValue.cpp | 54 const MachineFrameInfo *MFI) const { in isConstant() 55 return MFI && MFI->isImmutableObjectIndex(FI); in isConstant() 58 bool FixedStackPseudoSourceValue::isAliased(const MachineFrameInfo *MFI) const { in isAliased() 59 if (!MFI) in isAliased() 61 return MFI->isAliasedObjectIndex(FI); in isAliased() 64 bool FixedStackPseudoSourceValue::mayAlias(const MachineFrameInfo *MFI) const { in mayAlias() 65 if (!MFI) in mayAlias() 68 return !MFI->isSpillSlotObjectIndex(FI); in mayAlias()
|
D | MIRPrinter.cpp | 84 const MachineFrameInfo &MFI); 90 const MachineFrameInfo &MFI, MachineModuleInfo &MMI, 256 const MachineFrameInfo &MFI) { in convert() argument 257 YamlMFI.IsFrameAddressTaken = MFI.isFrameAddressTaken(); in convert() 258 YamlMFI.IsReturnAddressTaken = MFI.isReturnAddressTaken(); in convert() 259 YamlMFI.HasStackMap = MFI.hasStackMap(); in convert() 260 YamlMFI.HasPatchPoint = MFI.hasPatchPoint(); in convert() 261 YamlMFI.StackSize = MFI.getStackSize(); in convert() 262 YamlMFI.OffsetAdjustment = MFI.getOffsetAdjustment(); in convert() 263 YamlMFI.MaxAlignment = MFI.getMaxAlignment(); in convert() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | LocalStackSlotAllocation.cpp | 61 void AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset, 89 MachineFrameInfo *MFI = MF.getFrameInfo(); in runOnMachineFunction() local 91 unsigned LocalObjectCount = MFI->getObjectIndexEnd(); in runOnMachineFunction() 99 LocalOffsets.resize(MFI->getObjectIndexEnd()); in runOnMachineFunction() 112 MFI->setUseLocalStackAllocationBlock(UsedBaseRegs); in runOnMachineFunction() 118 void LocalStackSlotPass::AdjustStackOffset(MachineFrameInfo *MFI, in AdjustStackOffset() argument 124 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 126 unsigned Align = MFI->getObjectAlignment(FrameIdx); in AdjustStackOffset() 141 MFI->mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset() 144 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() [all …]
|
D | PrologEpilogInserter.cpp | 153 MachineFrameInfo *MFI = Fn.getFrameInfo(); in calculateCallsInformation() local 156 bool AdjustsStack = MFI->adjustsStack(); in calculateCallsInformation() 185 MFI->setAdjustsStack(AdjustsStack); in calculateCallsInformation() 186 MFI->setMaxCallFrameSize(MaxCallFrameSize); in calculateCallsInformation() 207 MachineFrameInfo *MFI = Fn.getFrameInfo(); in calculateCalleeSavedRegisters() local 277 FrameIdx = MFI->CreateStackObject(RC->getSize(), Align, true); in calculateCalleeSavedRegisters() 282 FrameIdx = MFI->CreateFixedObject(RC->getSize(), FixedSlot->Offset, true); in calculateCalleeSavedRegisters() 288 MFI->setCalleeSavedInfo(CSI); in calculateCalleeSavedRegisters() 296 MachineFrameInfo *MFI = Fn.getFrameInfo(); in insertCSRSpillsAndRestores() local 297 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in insertCSRSpillsAndRestores() [all …]
|
D | PseudoSourceValue.cpp | 93 bool PseudoSourceValue::isAliased(const MachineFrameInfo *MFI) const { in isAliased() 103 bool PseudoSourceValue::mayAlias(const MachineFrameInfo *MFI) const { in mayAlias() 111 bool FixedStackPseudoSourceValue::isConstant(const MachineFrameInfo *MFI) const{ in isConstant() 112 return MFI && MFI->isImmutableObjectIndex(FI); in isConstant() 115 bool FixedStackPseudoSourceValue::isAliased(const MachineFrameInfo *MFI) const { in isAliased() 119 if (!MFI) in isAliased() 122 return !MFI->isFixedObjectIndex(FI) && !MFI->isSpillSlotObjectIndex(FI); in isAliased() 125 bool FixedStackPseudoSourceValue::mayAlias(const MachineFrameInfo *MFI) const { in mayAlias() 126 if (!MFI) in mayAlias() 129 return !MFI->isSpillSlotObjectIndex(FI); in mayAlias()
|
D | MachineVerifier.cpp | 279 for (MachineFunction::const_iterator MFI = MF.begin(), MFE = MF.end(); in runOnMachineFunction() local 280 MFI!=MFE; ++MFI) { in runOnMachineFunction() 281 visitMachineBasicBlockBefore(MFI); in runOnMachineFunction() 282 for (MachineBasicBlock::const_iterator MBBI = MFI->begin(), in runOnMachineFunction() 283 MBBE = MFI->end(); MBBI != MBBE; ++MBBI) { in runOnMachineFunction() 284 if (MBBI->getParent() != MFI) { in runOnMachineFunction() 285 report("Bad instruction parent pointer", MFI); in runOnMachineFunction() 294 visitMachineBasicBlockAfter(MFI); in runOnMachineFunction() 531 const MachineFrameInfo *MFI = MF->getFrameInfo(); in visitMachineBasicBlockBefore() local 532 assert(MFI && "Function has no frame info"); in visitMachineBasicBlockBefore() [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 …]
|
D | Mips16FrameLowering.cpp | 37 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitPrologue() local 46 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() 49 if (StackSize == 0 && !MFI->adjustsStack()) return; in emitPrologue() 64 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() 67 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() 71 int64_t Offset = MFI->getObjectOffset(I->getFrameIdx()); in emitPrologue() 89 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitEpilogue() local 93 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() 152 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasReservedCallFrame() local 155 return isInt<15>(MFI->getMaxCallFrameSize()) && !MFI->hasVarSizedObjects(); in hasReservedCallFrame()
|
/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 …]
|
D | WebAssemblyRegNumbering.cpp | 62 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction() local 65 MFI.initWARegs(); in runOnMachineFunction() 79 MFI.setWAReg(MI.getOperand(0).getReg(), Imm); in runOnMachineFunction() 93 unsigned CurReg = MFI.getParams().size(); in runOnMachineFunction() 100 if (MFI.isVRegStackified(VReg)) { in runOnMachineFunction() 103 MFI.setWAReg(VReg, INT32_MIN | NumStackRegs++); in runOnMachineFunction() 106 if (MFI.getWAReg(VReg) == WebAssemblyFunctionInfo::UnusedReg) { in runOnMachineFunction() 108 MFI.setWAReg(VReg, CurReg++); in runOnMachineFunction()
|
D | WebAssemblyPeephole.cpp | 59 MachineOperand &MO, WebAssemblyFunctionInfo &MFI, in MaybeRewriteToDrop() argument 67 MFI.stackifyVReg(NewReg); in MaybeRewriteToDrop() 74 WebAssemblyFunctionInfo &MFI, in MaybeRewriteToFallthrough() argument 90 if (!MFI.isVRegStackified(Reg)) { in MaybeRewriteToFallthrough() 95 MFI.stackifyVReg(NewReg); in MaybeRewriteToFallthrough() 110 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction() local 138 Changed |= MaybeRewriteToDrop(OldReg, NewReg, MO, MFI, MRI); in runOnMachineFunction() 162 Changed |= MaybeRewriteToDrop(OldReg, NewReg, MO, MFI, MRI); in runOnMachineFunction() 171 MI, MBB, MF, MFI, MRI, TII, WebAssembly::FALLTHROUGH_RETURN_I32, in runOnMachineFunction() 176 MI, MBB, MF, MFI, MRI, TII, WebAssembly::FALLTHROUGH_RETURN_I64, in runOnMachineFunction() [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 …]
|
D | SIFrameLowering.cpp | 53 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in emitPrologue() local 60 if (hasOnlySGPRSpills(MFI, MF.getFrameInfo())) in emitPrologue() 69 unsigned ScratchRsrcReg = MFI->getScratchRSrcReg(); in emitPrologue() 72 unsigned ScratchWaveOffsetReg = MFI->getScratchWaveOffsetReg(); in emitPrologue() 84 if (MFI->hasFlatScratchInit()) { in emitPrologue() 158 unsigned NumPreloaded = MFI->getNumPreloadedSGPRs() / 4; in emitPrologue() 168 MFI->setScratchRSrcReg(ScratchRsrcReg); in emitPrologue() 176 unsigned NumPreloaded = MFI->getNumPreloadedSGPRs(); in emitPrologue() 201 MFI->setScratchWaveOffsetReg(ScratchWaveOffsetReg); in emitPrologue() 282 MachineFrameInfo *MFI = MF.getFrameInfo(); in processFunctionBeforeFrameFinalized() local [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/lib/Target/CellSPU/ |
D | SPUFrameLowering.cpp | 47 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() local 49 return MFI->getStackSize() && in hasFP() 50 (DisableFramePointerElim(MF) || MFI->hasVarSizedObjects()); in hasFP() 57 MachineFrameInfo *MFI = MF.getFrameInfo(); in determineFrameLayout() local 60 unsigned FrameSize = MFI->getStackSize(); in determineFrameLayout() 65 unsigned Align = std::max(TargetAlign, MFI->getMaxAlignment()); in determineFrameLayout() 70 unsigned maxCallFrameSize = MFI->getMaxCallFrameSize(); in determineFrameLayout() 74 if (MFI->hasVarSizedObjects()) in determineFrameLayout() 78 MFI->setMaxCallFrameSize(maxCallFrameSize); in determineFrameLayout() 87 MFI->setStackSize(FrameSize); in determineFrameLayout() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/ |
D | BlackfinFrameLowering.cpp | 29 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() local 31 MFI->adjustsStack() || MFI->hasVarSizedObjects(); in hasFP() 46 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitPrologue() local 54 int FrameSize = MFI->getStackSize(); in emitPrologue() 57 MFI->setStackSize(FrameSize); in emitPrologue() 61 assert(!MFI->adjustsStack() && in emitPrologue() 94 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitEpilogue() local 102 int FrameSize = MFI->getStackSize(); in emitEpilogue() 106 assert(!MFI->adjustsStack() && in emitEpilogue() 119 MachineFrameInfo *MFI = MF.getFrameInfo(); in processFunctionBeforeCalleeSavedScan() local [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreMachineFunctionInfo.cpp | 39 MachineFrameInfo *MFI = MF.getFrameInfo(); in createLRSpillSlot() local 42 LRSpillSlot = MFI->CreateFixedObject(RC->getSize(), 0, true); in createLRSpillSlot() 44 LRSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createLRSpillSlot() 55 MachineFrameInfo *MFI = MF.getFrameInfo(); in createFPSpillSlot() local 56 FPSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createFPSpillSlot() 66 MachineFrameInfo *MFI = MF.getFrameInfo(); in createEHSpillSlot() local 67 EHSpillSlot[0] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot() 68 EHSpillSlot[1] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
D | MBlazeFrameLowering.cpp | 45 MachineFrameInfo *MFI = MF.getFrameInfo(); in replaceFrameIndexes() local 52 MFI->RemoveStackObject(FRI->first); in replaceFrameIndexes() 53 int NFI = MFI->CreateFixedObject(4, FRI->second, true); in replaceFrameIndexes() 90 MachineFrameInfo *MFI = MF.getFrameInfo(); in analyzeFrameIndexes() local 137 MFI->isFixedObjectIndex(FI) || in analyzeFrameIndexes() 138 MFI->getObjectSize(FI) != 4) continue; in analyzeFrameIndexes() 225 MachineFrameInfo *MFI = MF.getFrameInfo(); in interruptFrameLayout() local 254 int FI = MFI->CreateStackObject(4,4,false,false); in interruptFrameLayout() 262 int R17FI = MFI->CreateStackObject(4,4,false,false); in interruptFrameLayout() 263 int R18FI = MFI->CreateStackObject(4,4,false,false); in interruptFrameLayout() [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | LeonPasses.cpp | 84 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 85 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() 134 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 135 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() 247 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 248 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() 360 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 361 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() 418 for (auto MFI = MF.begin(), E = MF.end(); MFI != E; ++MFI) { in runOnMachineFunction() local 419 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() [all …]
|
D | SparcFrameLowering.cpp | 90 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitPrologue() local 106 if (!NeedsStackRealignment && MFI->getMaxAlignment() > getStackAlignment()) in emitPrologue() 112 int NumBytes = (int) MFI->getStackSize(); in emitPrologue() 139 if (MFI->adjustsStack() && hasReservedCallFrame(MF)) in emitPrologue() 140 NumBytes += MFI->getMaxCallFrameSize(); in emitPrologue() 148 if (MFI->getMaxAlignment() > 0) { in emitPrologue() 149 NumBytes = alignTo(NumBytes, MFI->getMaxAlignment()); in emitPrologue() 153 MFI->setStackSize(NumBytes); in emitPrologue() 181 int MaxAlign = MFI->getMaxAlignment(); in emitPrologue() 216 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitEpilogue() local [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 60 const MachineFrameInfo *MFI = MF.getFrameInfo(); in hasFP() local 61 return DisableFramePointerElim(MF) || MFI->hasVarSizedObjects(); in hasFP() 96 MachineFrameInfo *MFI = MF.getFrameInfo(); in emitPrologue() local 107 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() 122 if (StackSize || MFI->hasCalls()) { in emitPrologue() 143 const MachineFrameInfo *MFI = MF.getFrameInfo(); in emitEpilogue() local 161 MFI->getStackSize() - SystemZMFI->getCalleeSavedFrameSize(); in emitEpilogue() 175 if (StackSize || MFI->hasCalls()) { in emitEpilogue() 205 const MachineFrameInfo *MFI = MF.getFrameInfo(); in getFrameIndexOffset() local 208 int Offset = MFI->getObjectOffset(FI) + MFI->getOffsetAdjustment(); in getFrameIndexOffset() [all …]
|