/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCFrameLowering.cpp | 100 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 D | ARCISelLowering.cpp | 288 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() 639 if (CCInfo.getStackSize() != 0 && IsVarArg) in CanLowerReturn()
|
/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFrameLowering.cpp | 108 bool HasFixedSizedObjects = MFI.getStackSize() > 0; in hasFP() 138 return MFI.getStackSize() || MFI.adjustsStack() || hasFP(MF) || in needsSPForLocalFrame() 174 bool CanUseRedZone = MFI.getStackSize() <= RedZoneSize && !MFI.hasCalls() && in needsSPWriteback() 268 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() 331 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in emitEpilogue()
|
H A D | WebAssemblyRegisterInfo.cpp | 62 int64_t FrameOffset = MFI.getStackSize() + MFI.getObjectOffset(FrameIndex); in eliminateFrameIndex()
|
/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchFrameLowering.cpp | 113 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()
|
/llvm-project/llvm/lib/Target/VE/ |
H A D | VEFrameLowering.cpp | 327 uint64_t NumBytes = MFI.getStackSize(); in emitPrologue() 397 uint64_t NumBytes = MFI.getStackSize(); in emitEpilogue() 454 MF.getFrameInfo().getStackSize()); in getFrameIndexReference() 464 MF.getFrameInfo().getStackSize()); in getFrameIndexReference()
|
/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYFrameLowering.cpp | 57 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()
|
/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiFrameLowering.cpp | 30 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout() 104 unsigned StackSize = MFI.getStackSize(); in emitPrologue()
|
/llvm-project/llvm/lib/Target/Mips/ |
H A D | Mips16FrameLowering.cpp | 50 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() 93 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
|
/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86CallLowering.cpp | 62 uint64_t getStackSize() { return StackSize; } 73 StackSize = State.getStackSize(); in assignArg() 417 CallSeqStart.addImm(Assigner.getStackSize()) in lowerCall() 423 .addImm(Assigner.getStackSize()) in lowerCall() 63 uint64_t getStackSize() { return StackSize; } getStackSize() function
|
/llvm-project/llvm/unittests/CodeGen/ |
H A D | CCStateTest.cpp | 45 ASSERT_EQ(Info.getStackSize(), 13u); in TEST()
|
/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreFrameToArgsOffsetElim.cpp | 48 unsigned StackSize = MF.getFrameInfo().getStackSize(); in runOnMachineFunction()
|
H A D | XCoreFrameLowering.cpp | 244 assert(MFI.getStackSize()%4 == 0 && "Misaligned frame size"); in emitPrologue() 245 const int FrameSize = MFI.getStackSize() / 4; in emitPrologue() 351 int RemainingAdj = MFI.getStackSize(); in emitEpilogue()
|
/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcFrameLowering.cpp | 101 int NumBytes = (int) MFI.getStackSize(); in emitPrologue() 199 int NumBytes = (int) MFI.getStackSize(); in eliminateCallFramePseudoInstr() 265 return StackOffset::getFixed(FrameOffset + MF.getFrameInfo().getStackSize()); in getFrameIndexReference()
|
/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaFrameLowering.cpp | 48 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() 185 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
|
H A D | XtensaRegisterInfo.cpp | 67 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in eliminateFrameIndex()
|
/llvm-project/llvm/tools/llvm-readobj/ |
H A D | StackMapPrinter.h | 27 << ", stack size: " << F.getStackSize() in prettyPrintStackMap()
|
/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZFrameLowering.cpp | 545 if (MFFrame.getStackSize() > 2048 * sizeof(long)) { in emitPrologue() 553 MFFrame.setStackSize(MFFrame.getStackSize() + SystemZMC::ELFCallFrameSize); in emitPrologue() 585 uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue() 704 uint64_t StackSize = MFFrame.getStackSize(); in emitEpilogue() 1222 const uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue() 1304 MFFrame.getStackSize() + Regs.getCallFrameSize() + in emitPrologue() 1330 uint64_t StackSize = MFFrame.getStackSize(); in emitEpilogue() 1507 uint64_t StackSize = MFFrame.getStackSize(); in determineFrameLayout()
|
/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVFrameLowering.cpp | 419 uint64_t FrameSize = MFI.getStackSize(); in adjustStackForRVV() 450 return alignTo(MFI.getStackSize() + RVFI->getRVVPadding(), getStackAlign()); in appendScalableVectorExpression() 1296 // | in MFI.getStackSize()) | | | in eliminateCallFramePseudoInstr() 1297 // |--------------------------| -- |-- MFI.getStackSize() in eliminateCallFramePseudoInstr() 1300 // | MFI.getStackSize() but | | | in eliminateCallFramePseudoInstr() 1306 // | MFI.getStackSize()) | | | in eliminateCallFramePseudoInstr() 1310 // | MFI.getStackSize() or in | | | in eliminateCallFramePseudoInstr() 1338 // |--------------------------| | MFI.getStackSize() in getFirstSPAdjustAmount() 1351 assert(MFI.getStackSize() == getStackSizeWithRVVPadding(MF) && in getFirstSPAdjustAmount() 1353 Offset -= StackOffset::getFixed(MFI.getStackSize()); in getFirstSPAdjustAmount() [all...] |
/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetFrameLoweringImpl.cpp | 58 return StackOffset::getFixed(MFI.getObjectOffset(FI) + MFI.getStackSize() - in getFrameIndexReference()
|
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineFrameInfo.h | 405 return getStackSize() != 0 || hasTailCall(); in needsSplitStackProlog() 587 uint64_t getStackSize() const { return StackSize; } in getStackSize() function
|
/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430FrameLowering.cpp | 92 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() 209 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue()
|
H A D | MSP430RegisterInfo.cpp | 119 Offset += MF.getFrameInfo().getStackSize(); in eliminateFrameIndex()
|
/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRFrameLowering.cpp | 97 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue() 177 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitEpilogue()
|
/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kFrameLowering.cpp | 98 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()
|