Searched refs:StackSize (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.h33 int FrameIndex, uint64_t StackSize,
H A DMips16FrameLowering.cpp53 uint64_t StackSize = MFI.getStackSize(); local
56 if (StackSize == 0 && !MFI.adjustsStack()) return;
62 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI);
64 // emit ".cfi_def_cfa_offset StackSize"
66 MF.addFrameInst(MCCFIInstruction::cfiDefCfaOffset(nullptr, StackSize));
98 uint64_t StackSize = MFI.getStackSize(); local
100 if (!StackSize)
109 TII.restoreFrame(Mips::SP, StackSize, MBB, MBBI);
H A DMips16RegisterInfo.h40 int FrameIndex, uint64_t StackSize,
H A DMips16RegisterInfo.cpp75 uint64_t StackSize,
124 Offset = SPOffset + (int64_t)StackSize;
73 eliminateFI(MachineBasicBlock::iterator II, unsigned OpNo, int FrameIndex, uint64_t StackSize, int64_t SPOffset) const argument
H A DMipsRegisterInfo.h77 int FrameIndex, uint64_t StackSize,
H A DMipsSERegisterInfo.cpp147 uint64_t StackSize,
203 Offset = SPOffset + (int64_t)StackSize;
145 eliminateFI(MachineBasicBlock::iterator II, unsigned OpNo, int FrameIndex, uint64_t StackSize, int64_t SPOffset) const argument
H A DMipsTargetStreamer.h60 virtual void emitFrame(unsigned StackReg, unsigned StackSize,
242 void emitFrame(unsigned StackReg, unsigned StackSize,
342 void emitFrame(unsigned StackReg, unsigned StackSize,
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpStack.cpp26 StackSize = 0;
45 StackSize += Size;
77 StackSize -= Size;
H A DInterpStack.h59 size_t size() const { return StackSize; }
107 size_t StackSize = 0; member in class:clang::interp::final
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameToArgsOffsetElim.cpp50 unsigned StackSize = MF.getFrameInfo().getStackSize(); local
59 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCRegisterInfo.cpp40 unsigned FrameReg, int Offset, int StackSize,
173 int StackSize = MF.getFrameInfo().getStackSize(); local
182 LLVM_DEBUG(dbgs() << "StackSize : " << StackSize << "\n");
208 Offset = StackSize + Offset;
210 assert((Offset >= 0 && Offset < StackSize) && "SP Offset not in bounds.");
213 assert((Offset < 0 && -Offset <= StackSize) &&
217 ReplaceFrameIndex(II, TII, Reg, getFrameRegister(MF), Offset, StackSize,
38 ReplaceFrameIndex(MachineBasicBlock::iterator II, const ARCInstrInfo &TII, unsigned Reg, unsigned FrameReg, int Offset, int StackSize, int ObjSize, RegScavenger *RS, int SPAdj) argument
H A DARCFrameLowering.cpp195 // .cfi_def_cfa_offset StackSize
196 // .cfi_offset fp, -StackSize
197 // .cfi_offset blink, -StackSize+4
246 uint64_t StackSize = MF.getFrameInfo().getStackSize(); local
250 // the stack pointer to a known spot (fp - StackSize).
251 // Then, replace the frame pointer by (new) [sp,StackSize-4].
252 // Then, move the stack pointer the rest of the way (sp = sp + StackSize).
255 if (isUInt<6>(StackSize))
259 .addImm(StackSize);
281 if (unsigned MoveAmount = StackSize
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp215 uint64_t StackSize = MFI.getStackSize();
230 if (StackSize)
246 if (StackSize) {
250 .addImm(StackSize);
271 if (StackSize && needsSPWriteback(MF)) {
278 uint64_t StackSize = MF.getFrameInfo().getStackSize(); local
297 } else if (StackSize) {
302 .addImm(StackSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp326 uint64_t StackSize = (MFFrame.estimateStackSize(MF) + local
338 uint64_t MaxReach = StackSize + MaxArgOffset;
462 uint64_t StackSize = MFFrame.getStackSize(); local
473 StackSize += SystemZMC::CallFrameSize;
475 StackSize = StackSize > SystemZMC::CallFrameSize
476 ? StackSize - SystemZMC::CallFrameSize
478 MFFrame.setStackSize(StackSize);
480 if (StackSize) {
490 // Allocate StackSize byte
587 uint64_t StackSize = MFFrame.getStackSize(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.cpp109 unsigned StackSize = MFI.getStackSize(); local
128 // sub %sp,StackSize,%sp
129 if (StackSize != 0) {
132 .addImm(StackSize)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp52 uint64_t StackSize = MFI.getStackSize(); local
57 uint64_t FrameSize = StackSize - 2;
79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize();
125 uint64_t StackSize = MFI.getStackSize(); local
131 uint64_t FrameSize = StackSize - 2;
137 NumBytes = StackSize - CSSize;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h272 uint64_t StackSize = 0; member in struct:llvm::StackMaps::FunctionInfo
276 explicit FunctionInfo(uint64_t StackSize) : StackSize(StackSize) {} argument
H A DMachineFrameInfo.h241 /// above. It then updates StackSize to contain the number of bytes that need
243 uint64_t StackSize = 0; member in class:llvm::MachineFrameInfo
562 uint64_t getStackSize() const { return StackSize; }
565 void setStackSize(uint64_t Size) { StackSize = Size; }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MachineFunctionInfo.h209 void setPreallocatedStackSize(size_t Id, size_t StackSize) { argument
210 PreallocatedStackSizes[Id] = StackSize;
H A DX86FrameLowering.cpp1352 uint64_t StackSize = MFI.getStackSize(); // Number of bytes to allocate.
1397 StackSize += 8;
1398 MFI.setStackSize(StackSize);
1415 X86FI->setUsesRedZone(MinSize > 0 || StackSize > 0);
1416 StackSize = std::max(MinSize, StackSize > 128 ? StackSize - 128 : 0);
1417 MFI.setStackSize(StackSize);
1468 uint64_t FrameSize = StackSize - SlotSize;
1487 assert(StackSize);
2675 uint64_t StackSize; local
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp62 size_t StackSize = 0; variable
142 TLD.StackSize = 0;
150 TLD.StackSize = GlobalOptions.MaxStackDepth;
179 if (TLD.StackEntries++ >= TLD.StackSize)
199 if (--TLD.StackEntries >= TLD.StackSize)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp578 uint32_t encodeStackAdjustment(uint32_t StackSize) const {
579 return (StackSize / 16) << 12;
602 unsigned StackSize = 0; variable
649 assert(StackSize == 0 && "We already have the CFA offset!");
650 StackSize = std::abs(Inst.getOffset());
723 if (StackSize > 65520)
727 CompactUnwindEncoding |= encodeStackAdjustment(StackSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp264 uint64_t StackSize = MFI.getStackSize(); local
265 uint64_t RealStackSize = StackSize + RVFI->getLibCallStackSize();
280 StackSize = FirstSPAdjustAmount;
285 adjustReg(MBB, MBBI, DL, SPReg, SPReg, -StackSize, MachineInstr::FrameSetup);
350 // Emit ".cfi_def_cfa_offset StackSize"
432 uint64_t StackSize = MFI.getStackSize(); local
433 uint64_t RealStackSize = StackSize + RVFI->getLibCallStackSize();
456 StackSize = FirstSPAdjustAmount;
459 adjustReg(MBB, MBBI, DL, SPReg, SPReg, StackSize, MachineInstr::FrameDestroy);
633 uint64_t StackSize local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPrologEpilogPass.cpp242 int64_t StackSize = Offset - LocalAreaOffset; local
243 MFI.setStackSize(StackSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMCallLowering.cpp179 StackSize =
180 std::max(StackSize, static_cast<uint64_t>(State.getNextStackOffset()));
185 uint64_t StackSize = 0; member in struct:__anon4009::OutgoingValueHandler
578 CallSeqStart.addImm(ArgHandler.StackSize).addImm(0).add(predOps(ARMCC::AL));
581 .addImm(ArgHandler.StackSize)

Completed in 299 milliseconds

12