/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXPrologEpilogPass.cpp | 111 static inline void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 116 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 118 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset() 130 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 134 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 135 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 148 MachineFrameInfo &MFI = Fn.getFrameInfo(); in calculateFrameObjectOffsets() local 165 for (int i = MFI.getObjectIndexBegin(); i != 0; ++i) { in calculateFrameObjectOffsets() 171 FixedOff = -MFI.getObjectOffset(i); in calculateFrameObjectOffsets() 175 FixedOff = MFI.getObjectOffset(i) + MFI.getObjectSize(i); in calculateFrameObjectOffsets() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LocalStackSlotAllocation.cpp | 81 void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, int64_t &Offset, 85 MachineFrameInfo &MFI, bool StackGrowsDown, 132 MachineFrameInfo &MFI = MF.getFrameInfo(); in runOnMachineFunction() local 134 unsigned LocalObjectCount = MFI.getObjectIndexEnd(); in runOnMachineFunction() 142 LocalOffsets.resize(MFI.getObjectIndexEnd()); in runOnMachineFunction() 155 MFI.setUseLocalStackAllocationBlock(UsedBaseRegs); in runOnMachineFunction() 161 void LocalStackSlotImpl::AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 166 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 168 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset() 183 MFI.mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset() [all …]
|
H A D | PrologEpilogInserter.cpp | 292 MachineFrameInfo &MFI = MF.getFrameInfo(); in runOnMachineFunction() local 293 uint64_t StackSize = MFI.getStackSize(); in runOnMachineFunction() 305 uint64_t UnsafeStackSize = MFI.getUnsafeStackSize(); in runOnMachineFunction() 313 for (int Idx = MFI.getObjectIndexBegin(), End = MFI.getObjectIndexEnd(); in runOnMachineFunction() 315 if (MFI.isSpillSlotObjectIndex(Idx)) in runOnMachineFunction() 316 SpillSize += MFI.getObjectSize(Idx); in runOnMachineFunction() 350 MFI.setSavePoint(nullptr); in runOnMachineFunction() 351 MFI.setRestorePoint(nullptr); in runOnMachineFunction() 360 MachineFrameInfo &MFI = MF.getFrameInfo(); in calculateCallFrameInfo() local 373 MFI.isMaxCallFrameSizeComputed() ? MFI.getMaxCallFrameSize() : UINT64_MAX; in calculateCallFrameInfo() [all …]
|
H A D | StackFrameLayoutAnalysisPass.cpp | 69 SlotData(const MachineFrameInfo &MFI, const StackOffset Offset, in SlotData() 71 : Slot(Idx), Size(MFI.getObjectSize(Idx)), in SlotData() 72 Align(MFI.getObjectAlign(Idx).value()), Offset(Offset), in SlotData() 74 Scalable = MFI.getStackID(Idx) == TargetStackID::ScalableVector; in SlotData() 75 if (MFI.isSpillSlotObjectIndex(Idx)) in SlotData() 77 else if (MFI.isFixedObjectIndex(Idx)) in SlotData() 79 else if (MFI.isVariableSizedObjectIndex(Idx)) in SlotData() 81 else if (MFI.hasStackProtectorIndex() && in SlotData() 82 Idx == MFI.getStackProtectorIndex()) in SlotData() 205 const MachineFrameInfo &MFI, in getStackOffset() [all …]
|
H A D | MIRYamlMapping.cpp | 22 FrameIndex::FrameIndex(int FI, const llvm::MachineFrameInfo &MFI) { in FrameIndex() argument 23 IsFixed = MFI.isFixedObjectIndex(FI); in FrameIndex() 25 FI -= MFI.getObjectIndexBegin(); in FrameIndex() 30 Expected<int> FrameIndex::getFI(const llvm::MachineFrameInfo &MFI) const { in getFI() 33 if (unsigned(FI) >= MFI.getNumFixedObjects()) in getFI() 37 FI += MFI.getObjectIndexBegin(); in getFI() 39 if (unsigned(FI + MFI.getNumFixedObjects()) >= MFI.getNumObjects()) in getFI()
|
H A D | MIRPrinter.cpp | 117 const MachineFrameInfo &MFI); 353 const MachineFrameInfo &MFI) { in convert() argument 354 YamlMFI.IsFrameAddressTaken = MFI.isFrameAddressTaken(); in convert() 355 YamlMFI.IsReturnAddressTaken = MFI.isReturnAddressTaken(); in convert() 356 YamlMFI.HasStackMap = MFI.hasStackMap(); in convert() 357 YamlMFI.HasPatchPoint = MFI.hasPatchPoint(); in convert() 358 YamlMFI.StackSize = MFI.getStackSize(); in convert() 359 YamlMFI.OffsetAdjustment = MFI.getOffsetAdjustment(); in convert() 360 YamlMFI.MaxAlignment = MFI.getMaxAlign().value(); in convert() 361 YamlMFI.AdjustsStack = MFI.adjustsStack(); in convert() [all …]
|
H A D | StackSlotColoring.cpp | 65 MachineFrameInfo *MFI = nullptr; member in __anonb7b65c290111::StackSlotColoring 209 SSRefs.resize(MFI->getObjectIndexEnd()); in ScanForSpillSlotRefs() 243 int LastFI = MFI->getObjectIndexEnd(); in InitializeSlots() 271 if (MFI->isDeadObjectIndex(FI)) in InitializeSlots() 275 OrigAlignments[FI] = MFI->getObjectAlign(FI); in InitializeSlots() 276 OrigSizes[FI] = MFI->getObjectSize(FI); in InitializeSlots() 278 auto StackID = MFI->getStackID(FI); in InitializeSlots() 305 uint8_t StackID = MFI->getStackID(FI); in ColorSlot() 321 if (Color != -1 && MFI->getStackID(Color) != MFI->getStackID(FI)) { in ColorSlot() 335 assert(MFI->getStackID(Color) == MFI->getStackID(FI)); in ColorSlot() [all …]
|
H A D | PseudoSourceValue.cpp | 60 const MachineFrameInfo *MFI) const { in isConstant() 61 return MFI && MFI->isImmutableObjectIndex(FI); in isConstant() 64 bool FixedStackPseudoSourceValue::isAliased(const MachineFrameInfo *MFI) const { in isAliased() 65 if (!MFI) in isAliased() 67 return MFI->isAliasedObjectIndex(FI); in isAliased() 70 bool FixedStackPseudoSourceValue::mayAlias(const MachineFrameInfo *MFI) const { in mayAlias() 71 if (!MFI) in mayAlias() 74 return !MFI->isSpillSlotObjectIndex(FI); in mayAlias()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A 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 …]
|
H A D | WebAssemblyFrameLowering.cpp | 56 MachineFrameInfo &MFI = MF.getFrameInfo(); in getLocalForStackObject() local 59 if (MFI.getStackID(FrameIndex) == TargetStackID::WasmLocal) in getLocalForStackObject() 60 return static_cast<unsigned>(MFI.getObjectOffset(FrameIndex)); in getLocalForStackObject() 64 const AllocaInst *AI = MFI.getObjectAllocation(FrameIndex); in getLocalForStackObject() 75 MFI.setStackID(FrameIndex, TargetStackID::WasmLocal); in getLocalForStackObject() 78 MFI.setObjectOffset(FrameIndex, Local); in getLocalForStackObject() 85 MFI.setObjectSize(FrameIndex, ValueVTs.size()); in getLocalForStackObject() 102 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local 110 bool HasFixedSizedObjects = MFI.getStackSize() > 0; in hasFP() 113 return MFI in hasFP() 132 auto &MFI = MF.getFrameInfo(); needsSPForLocalFrame() local 159 auto &MFI = MF.getFrameInfo(); needsSPWriteback() local 256 auto &MFI = MF.getFrameInfo(); emitPrologue() local 378 const WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); getDwarfFrameBase() local [all...] |
H A D | WebAssemblyRegNumbering.cpp | 66 WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); in runOnMachineFunction() local 69 MFI.initWARegs(MRI); 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) == WebAssembly::UnusedReg) { in runOnMachineFunction() 105 MFI.setWAReg(VReg, CurReg++); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiFrameLowering.cpp | 28 MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() local 32 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout() 36 LRI->hasStackRealignment(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() 92 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local 106 unsigned StackSize = MFI.getStackSize(); in emitPrologue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchFrameLowering.cpp | 37 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local 39 RegInfo->hasStackRealignment(MF) || MFI.hasVarSizedObjects() || in hasFP() 40 MFI.isFrameAddressTaken(); in hasFP() 44 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasBP() local 47 return MFI.hasVarSizedObjects() && TRI->hasStackRealignment(MF); in hasBP() 110 MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() local 113 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout() 119 MFI.setStackSize(FrameSize); in determineFrameLayout() 148 MachineFrameInfo &MFI = MF.getFrameInfo(); in processFunctionBeforeFrameFinalized() local 161 if (!isInt<11>(MFI.estimateStackSize(MF))) in processFunctionBeforeFrameFinalized() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIFrameLowering.cpp | 76 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in getVGPRSpillLaneOrTempRegister() local 98 MFI->allocateSGPRSpillToVGPRLane(MF, FI, /*SpillToPhysVGPRLane=*/true, in getVGPRSpillLaneOrTempRegister() 102 MFI->addToPrologEpilogSGPRSpills( in getVGPRSpillLaneOrTempRegister() 106 LLVM_DEBUG(auto Spill = MFI->getSGPRSpillToPhysicalVGPRLanes(FI).front(); in getVGPRSpillLaneOrTempRegister() 115 MFI->addToPrologEpilogSGPRSpills( in getVGPRSpillLaneOrTempRegister() 122 MFI->addToPrologEpilogSGPRSpills( in getVGPRSpillLaneOrTempRegister() 181 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in buildGitPtr() local 187 if (MFI->getGITPtrHigh() != 0xffffffff) { in buildGitPtr() 189 .addImm(MFI->getGITPtrHigh()) in buildGitPtr() 195 Register GitPtrLo = MFI->getGITPtrLoReg(*MF); in buildGitPtr() [all …]
|
H A D | SIMachineFunctionInfo.cpp | 513 MachineFrameInfo &MFI, bool ResetSGPRSpillStackIDs) { in removeDeadFrameIndices() argument 521 MFI.RemoveStackObject(R.first); in removeDeadFrameIndices() 529 MFI.RemoveStackObject(R.first); in removeDeadFrameIndices() 538 for (int I = MFI.getObjectIndexBegin(), E = MFI.getObjectIndexEnd(); I != E; in removeDeadFrameIndices() 541 if (MFI.getStackID(I) == TargetStackID::SGPRSpill) { in removeDeadFrameIndices() 542 MFI.setStackID(I, TargetStackID::Default); in removeDeadFrameIndices() 551 MFI.RemoveStackObject(R.first); in removeDeadFrameIndices() 557 int SIMachineFunctionInfo::getScavengeFI(MachineFrameInfo &MFI, in getScavengeFI() argument 563 MFI.CreateStackObject(TRI.getSpillSize(AMDGPU::SGPR_32RegClass), in getScavengeFI() 672 const llvm::SIMachineFunctionInfo &MFI, const TargetRegisterInfo &TRI, in SIMachineFunctionInfo() argument [all …]
|
H A D | R600FrameLowering.cpp | 21 const MachineFrameInfo &MFI = MF.getFrameInfo(); in getFrameIndexReference() local 32 int UpperBound = FI == -1 ? MFI.getNumObjects() : FI; in getFrameIndexReference() 34 for (int i = MFI.getObjectIndexBegin(); i < UpperBound; ++i) { in getFrameIndexReference() 35 OffsetBytes = alignTo(OffsetBytes, MFI.getObjectAlign(i)); in getFrameIndexReference() 36 OffsetBytes += MFI.getObjectSize(i); in getFrameIndexReference() 43 OffsetBytes = alignTo(OffsetBytes, MFI.getObjectAlign(FI)); in getFrameIndexReference()
|
H A D | SILowerSGPRSpills.cpp | 170 const MachineFrameInfo &MFI = MF.getFrameInfo(); in calculateSaveRestoreBlocks() local 177 if (MFI.getSavePoint()) { in calculateSaveRestoreBlocks() 178 SaveBlocks.push_back(MFI.getSavePoint()); in calculateSaveRestoreBlocks() 179 assert(MFI.getRestorePoint() && "Both restore and save must be set"); in calculateSaveRestoreBlocks() 180 MachineBasicBlock *RestoreBlock = MFI.getRestorePoint(); in calculateSaveRestoreBlocks() 215 MachineFrameInfo &MFI = MF.getFrameInfo(); in spillCalleeSavedRegs() local 226 MFI.setCalleeSavedInfoValid(true); in spillCalleeSavedRegs() 237 int JunkFI = MFI.CreateStackObject(TRI->getSpillSize(*RC), in spillCalleeSavedRegs() 275 SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>(); in extendWWMVirtRegLiveness() local 278 for (auto Reg : MFI->getSGPRSpillVGPRs()) { in extendWWMVirtRegLiveness() [all …]
|
H A D | AMDGPUAsmPrinter.cpp | 158 const SIMachineFunctionInfo &MFI = *MF->getInfo<SIMachineFunctionInfo>(); in emitFunctionBodyStart() local 194 if (!MFI.isEntryFunction()) in emitFunctionBodyStart() 209 if (MFI.getNumKernargPreloadedSGPRs() > 0) { in emitFunctionBodyStart() 217 const SIMachineFunctionInfo &MFI = *MF->getInfo<SIMachineFunctionInfo>(); in emitFunctionBodyEnd() local 218 if (!MFI.isEntryFunction()) in emitFunctionBodyEnd() 276 const SIMachineFunctionInfo *MFI = MF->getInfo<SIMachineFunctionInfo>(); in emitFunctionEntryLabel() local 278 if (MFI->isEntryFunction() && STM.isAmdHsaOrMesa(MF->getFunction())) { in emitFunctionEntryLabel() 381 const AMDGPUMachineFunction *MFI) { in emitCommonFunctionComments() argument 391 OutStreamer->emitRawComment(" MemoryBound: " + Twine(MFI->isMemoryBound()), in emitCommonFunctionComments() 410 const AMDGPUMachineFunction *MFI) { in emitCommonFunctionComments() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A 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->hasStackRealignment(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()
|
H A D | Mips16FrameLowering.cpp | 43 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local 52 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() 55 if (StackSize == 0 && !MFI.adjustsStack()) return; in emitPrologue() 68 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() 71 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() 74 int64_t Offset = MFI.getObjectOffset(I.getFrameIdx()); in emitPrologue() 91 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitEpilogue() local 95 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() 150 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasReservedCallFrame() local 153 return isInt<15>(MFI.getMaxCallFrameSize()) && !MFI.hasVarSizedObjects(); in hasReservedCallFrame()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCFrameLowering.cpp | 126 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local 127 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() 135 unsigned VarArgsBytes = MFI.getObjectSize(AFI->getVarArgsFrameIndex()); in emitPrologue() 170 if (MFI.hasCalls() && !SavedBlink) { in emitPrologue() 176 MFI.setStackSize(MFI.getStackSize() + AFI->MaxCallStackReq); in emitPrologue() 179 << (MFI.getStackSize() - AlreadyAdjusted) << "\n"); in emitPrologue() 181 -(MFI.getStackSize() - AlreadyAdjusted), ARC::SP); in emitPrologue() 186 TII->get(isUInt<6>(MFI.getStackSize()) ? ARC::ADD_rru6 in emitPrologue() 190 .addImm(MFI.getStackSize()); in emitPrologue() 198 MCCFIInstruction::cfiDefCfaOffset(nullptr, MFI.getStackSize())); in emitPrologue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVFrameLowering.cpp | 315 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local 317 RegInfo->hasStackRealignment(MF) || MFI.hasVarSizedObjects() || in hasFP() 318 MFI.isFrameAddressTaken(); in hasFP() 322 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasBP() local 329 return (MFI.hasVarSizedObjects() || in hasBP() 330 (!hasReservedCallFrame(MF) && (!MFI.isMaxCallFrameSizeComputed() || in hasBP() 331 MFI.getMaxCallFrameSize() != 0))) && in hasBP() 337 MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() local 341 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout() 350 MFI.setStackSize(FrameSize); in determineFrameLayout() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaFrameLowering.cpp | 31 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local 33 MFI.hasVarSizedObjects(); in hasFP() 39 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() local 47 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() 54 if (StackSize == 0 && !MFI.adjustsStack()) in emitPrologue() 66 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() 99 int64_t Offset = MFI.getObjectOffset(I.getFrameIdx()); in emitPrologue() 125 MFI.setStackSize(StackSize); in emitPrologue() 127 for (int i = MFI.getObjectIndexBegin(); i < MFI.getObjectIndexEnd(); i++) { in emitPrologue() 128 if (!MFI.isDeadObjectIndex(i)) { in emitPrologue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYFrameLowering.cpp | 39 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() local 41 RegInfo->hasStackRealignment(MF) || MFI.hasVarSizedObjects() || in hasFP() 42 MFI.isFrameAddressTaken(); in hasFP() 46 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasBP() local 48 return MFI.hasVarSizedObjects(); in hasBP() 53 MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() local 57 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout() 62 Align MaxStackAlign = std::max(StackAlign, MFI.getMaxAlign()); in determineFrameLayout() 68 uint64_t MaxCallSize = alignTo(MFI.getMaxCallFrameSize(), StackAlign); in determineFrameLayout() 69 MFI.setMaxCallFrameSize(MaxCallSize); in determineFrameLayout() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreMachineFunctionInfo.cpp | 47 MachineFrameInfo &MFI = MF.getFrameInfo(); in createLRSpillSlot() local 50 LRSpillSlot = MFI.CreateFixedObject(TRI.getSpillSize(RC), 0, true); in createLRSpillSlot() 52 LRSpillSlot = MFI.CreateStackObject(TRI.getSpillSize(RC), in createLRSpillSlot() 65 MachineFrameInfo &MFI = MF.getFrameInfo(); in createFPSpillSlot() local 67 MFI.CreateStackObject(TRI.getSpillSize(RC), TRI.getSpillAlign(RC), true); in createFPSpillSlot() 78 MachineFrameInfo &MFI = MF.getFrameInfo(); in createEHSpillSlot() local 81 EHSpillSlot[0] = MFI.CreateStackObject(Size, Alignment, true); in createEHSpillSlot() 82 EHSpillSlot[1] = MFI.CreateStackObject(Size, Alignment, true); in createEHSpillSlot()
|