Home
last modified time | relevance | path

Searched refs:getStackSize (Results 1 – 25 of 53) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/
H A DARCFrameLowering.cpp100 int ScalarAlloc = MF.getFrameInfo().getStackSize(); in adjustStackToMatchRecords()
177 MFI.setStackSize(MFI.getStackSize() + AFI->MaxCallStackReq); in emitPrologue()
180 << (MFI.getStackSize() - AlreadyAdjusted) << "\n"); in emitPrologue()
182 -(MFI.getStackSize() - AlreadyAdjusted), ARC::SP); in emitPrologue()
187 TII->get(isUInt<6>(MFI.getStackSize()) ? ARC::ADD_rru6 in emitPrologue()
191 .addImm(MFI.getStackSize()); in emitPrologue()
199 MCCFIInstruction::cfiDefCfaOffset(nullptr, MFI.getStackSize())); in emitPrologue()
246 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in emitEpilogue()
439 LLVM_DEBUG(dbgs() << "Current stack size: " << MFI.getStackSize() << "\n"); in processFunctionBeforeFrameFinalized()
H A DARCRegisterInfo.cpp175 int StackSize = MF.getFrameInfo().getStackSize(); in eliminateFrameIndex()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp110 bool HasFixedSizedObjects = MFI.getStackSize() > 0; in hasFP()
133 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF); in needsSPForLocalFrame()
168 bool CanUseRedZone = MFI.getStackSize() <= RedZoneSize && !MFI.hasCalls() && in needsSPWriteback()
262 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
325 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in emitEpilogue()
H A DWebAssemblyRegisterInfo.cpp64 int64_t FrameOffset = MFI.getStackSize() + MFI.getObjectOffset(FrameIndex); in eliminateFrameIndex()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVEFrameLowering.cpp330 uint64_t NumBytes = MFI.getStackSize(); in emitPrologue()
400 uint64_t NumBytes = MFI.getStackSize(); in emitEpilogue()
457 MF.getFrameInfo().getStackSize()); in getFrameIndexReference()
467 MF.getFrameInfo().getStackSize()); in getFrameIndexReference()
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp113 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout()
202 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
342 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
383 if (!isInt<12>(MFI.getStackSize())) { in getFirstSPAdjustAmount()
482 uint64_t StackSize = MFI.getStackSize(); in getFrameIndexReference()
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYFrameLowering.cpp57 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout()
104 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
217 MCCFIInstruction::cfiDefCfaOffset(nullptr, MFI.getStackSize())); in emitPrologue()
248 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
606 Offset += MFI.getStackSize(); in getFrameIndexReference()
617 Offset += MFI.getStackSize(); in getFrameIndexReference()
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.cpp32 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout()
106 unsigned StackSize = MFI.getStackSize(); in emitPrologue()
H A DLanaiRegisterInfo.cpp151 Offset += MF.getFrameInfo().getStackSize(); in eliminateFrameIndex()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMips16FrameLowering.cpp53 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
97 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
H A DMipsRegisterInfo.cpp261 uint64_t stackSize = MF.getFrameInfo().getStackSize(); in eliminateFrameIndex()
/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreFrameToArgsOffsetElim.cpp50 unsigned StackSize = MF.getFrameInfo().getStackSize(); in runOnMachineFunction()
H A DXCoreFrameLowering.cpp247 assert(MFI.getStackSize()%4 == 0 && "Misaligned frame size"); in emitPrologue()
248 const int FrameSize = MFI.getStackSize() / 4; in emitPrologue()
354 int RemainingAdj = MFI.getStackSize(); in emitEpilogue()
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.cpp108 int NumBytes = (int) MFI.getStackSize(); in emitPrologue()
231 int NumBytes = (int) MFI.getStackSize(); in emitEpilogue()
305 return StackOffset::getFixed(FrameOffset + MF.getFrameInfo().getStackSize()); in getFrameIndexReference()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86CallLowering.cpp62 uint64_t getStackSize() { return StackSize; } in getStackSize() function
404 CallSeqStart.addImm(Assigner.getStackSize()) in lowerCall()
410 .addImm(Assigner.getStackSize()) in lowerCall()
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h27 << ", stack size: " << F.getStackSize() in prettyPrintStackMap()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp260 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout()
291 return alignTo(MFI.getStackSize() + RVFI->getRVVPadding(), getStackAlign()); in getStackSizeWithRVVPadding()
812 assert(MFI.getStackSize() == getStackSizeWithRVVPadding(MF) && in getFrameIndexReference()
814 Offset -= StackOffset::getFixed(MFI.getStackSize()); in getFrameIndexReference()
861 Offset += StackOffset::getFixed(MFI.getStackSize()); in getFrameIndexReference()
867 MFI.getStackSize() - RVFI->getCalleeSavedStackSize() - in getFrameIndexReference()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp52 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
124 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
H A DMSP430RegisterInfo.cpp122 Offset += MF.getFrameInfo().getStackSize(); in eliminateFrameIndex()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp557 if (MFFrame.getStackSize() > 2048 * sizeof(long)) { in emitPrologue()
565 MFFrame.setStackSize(MFFrame.getStackSize() + SystemZMC::ELFCallFrameSize); in emitPrologue()
597 uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue()
716 uint64_t StackSize = MFFrame.getStackSize(); in emitEpilogue()
1208 const uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue()
1292 uint64_t StackSize = MFFrame.getStackSize(); in emitEpilogue()
1392 uint64_t StackSize = MFFrame.getStackSize(); in determineFrameLayout()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetFrameLoweringImpl.cpp60 return StackOffset::getFixed(MFI.getObjectOffset(FI) + MFI.getStackSize() - in getFrameIndexReference()
H A DGCRootLowering.cpp318 FI->setFrameSize(DynamicFrameSize ? UINT64_MAX : MFI.getStackSize()); in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineFrameInfo.h423 return getStackSize() != 0 || hasTailCall(); in needsSplitStackProlog()
605 uint64_t getStackSize() const { return StackSize; } in getStackSize() function
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp100 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue()
180 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitEpilogue()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp96 uint64_t StackSize = MFI.getStackSize(); in getFrameIndexReference()
485 uint64_t StackSize = MFI.getStackSize(); // Number of bytes to allocate. in emitPrologue()
686 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()

123