Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCFrameLowering.cpp100 int ScalarAlloc = MF.getFrameInfo().getStackSize(); in adjustStackToMatchRecords()
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()
245 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in emitEpilogue()
438 LLVM_DEBUG(dbgs() << "Current stack size: " << MFI.getStackSize() << "\n"); in processFunctionBeforeFrameFinalized()
H A DARCISelLowering.cpp288 RetCCInfo.AllocateStack(CCInfo.getStackSize(), Align(4)); in LowerCall()
292 unsigned NumBytes = RetCCInfo.getStackSize(); in LowerCall()
503 AFI->setReturnStackOffset(CCInfo.getStackSize()); in LowerCallArguments()
570 CCInfo.getStackSize(), true); in LowerCallArguments()
638 if (CCInfo.getStackSize() != 0 && IsVarArg) in CanLowerReturn()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp110 bool HasFixedSizedObjects = MFI.getStackSize() > 0; in hasFP()
140 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF) || in needsPrologForEH()
176 bool CanUseRedZone = MFI.getStackSize() <= RedZoneSize && !MFI.hasCalls() && in getSPReg()
270 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
333 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in emitEpilogue()
H A DWebAssemblyRegisterInfo.cpp64 int64_t FrameOffset = MFI.getStackSize() + MFI.getObjectOffset(FrameIndex); in eliminateFrameIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp113 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout()
203 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
326 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
366 if (!isInt<12>(MFI.getStackSize()) && (CSI.size() > 0)) { in getFirstSPAdjustAmount()
459 uint64_t StackSize = MFI.getStackSize(); in getFrameIndexReference()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.cpp32 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout()
106 unsigned StackSize = MFI.getStackSize(); in emitPrologue()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16FrameLowering.cpp52 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
95 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallLowering.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86CallLowering.cpp63 uint64_t getStackSize() { return StackSize; } in getStackSize() function
74 StackSize = State.getStackSize(); in assignArg()
418 CallSeqStart.addImm(Assigner.getStackSize()) in lowerCall()
424 .addImm(Assigner.getStackSize()) in lowerCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameToArgsOffsetElim.cpp50 unsigned StackSize = MF.getFrameInfo().getStackSize(); in runOnMachineFunction()
H A DXCoreFrameLowering.cpp246 assert(MFI.getStackSize()%4 == 0 && "Misaligned frame size"); in emitPrologue()
247 const int FrameSize = MFI.getStackSize() / 4; in emitPrologue()
353 int RemainingAdj = MFI.getStackSize(); in emitEpilogue()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaFrameLowering.cpp47 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
184 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
H A DXtensaRegisterInfo.cpp67 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in eliminateFrameIndex()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h27 << ", stack size: " << F.getStackSize() in prettyPrintStackMap()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp546 if (MFFrame.getStackSize() > 2048 * sizeof(long)) { in emitPrologue()
554 MFFrame.setStackSize(MFFrame.getStackSize() + SystemZMC::ELFCallFrameSize); in emitPrologue()
586 uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue()
705 uint64_t StackSize = MFFrame.getStackSize(); in emitEpilogue()
1223 const uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue()
1305 MFFrame.getStackSize() + Regs.getCallFrameSize() + in emitPrologue()
1331 uint64_t StackSize = MFFrame.getStackSize(); in emitEpilogue()
1508 uint64_t StackSize = MFFrame.getStackSize(); in determineFrameLayout()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp341 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout()
372 return alignTo(MFI.getStackSize() + RVFI->getRVVPadding(), getStackAlign()); in getStackSizeWithRVVPadding()
972 assert(MFI.getStackSize() == getStackSizeWithRVVPadding(MF) && in getFrameIndexReference()
974 Offset -= StackOffset::getFixed(MFI.getStackSize()); in getFrameIndexReference()
1020 Offset += StackOffset::getFixed(MFI.getStackSize()); in getFrameIndexReference()
1025 int ScalarLocalVarSize = MFI.getStackSize() - in getFrameIndexReference()
1547 MFI.getStackSize() - RVFI->getCalleeSavedStackSize() - in emitCalleeSavedRVVPrologCFI()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetFrameLoweringImpl.cpp59 return StackOffset::getFixed(MFI.getObjectOffset(FI) + MFI.getStackSize() - in getFrameIndexReference()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFrameInfo.h405 return getStackSize() != 0 || hasTailCall(); in needsSplitStackProlog()
587 uint64_t getStackSize() const { return StackSize; } in getStackSize() function
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp95 uint64_t StackSize = MFI.getStackSize(); in emitPrologue()
212 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
H A DMSP430RegisterInfo.cpp122 Offset += MF.getFrameInfo().getStackSize(); in eliminateFrameIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp98 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue()
178 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitEpilogue()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp96 uint64_t StackSize = MFI.getStackSize(); in getFrameIndexReference()
482 uint64_t StackSize = MFI.getStackSize(); // Number of bytes to allocate. in emitPrologue()
683 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()

1234