Home
last modified time | relevance | path

Searched refs:FrameSize (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVESubtarget.cpp50 uint64_t VESubtarget::getAdjustedFrameSize(uint64_t FrameSize) const { in getAdjustedFrameSize()
55 FrameSize += getRsaSize(); in getAdjustedFrameSize()
56 FrameSize = alignTo(FrameSize, TFL->getStackAlign()); in getAdjustedFrameSize()
58 return FrameSize; in getAdjustedFrameSize()
H A DVESubtarget.h75 uint64_t getAdjustedFrameSize(uint64_t FrameSize) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiFrameLowering.cpp32 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout() local
51 FrameSize += MaxCallFrameSize; in determineFrameLayout()
54 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
57 MFI.setStackSize(FrameSize); in determineFrameLayout()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp98 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue()
117 if (!FrameSize) { in emitPrologue()
122 unsigned Opcode = (isUInt<6>(FrameSize) && STI.hasADDSUBIW()) ? AVR::SBIWRdK in emitPrologue()
127 .addImm(FrameSize) in emitPrologue()
178 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitEpilogue()
183 if (!FrameSize && !MF.getFrameInfo().hasVarSizedObjects()) { in emitEpilogue()
200 if (FrameSize) { in emitEpilogue()
204 if (isUInt<6>(FrameSize) && STI.hasADDSUBIW()) { in emitEpilogue()
208 FrameSize = -FrameSize; in emitEpilogue()
100 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); emitPrologue() local
180 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); emitEpilogue() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16InstrInfo.cpp210 void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize, in makeFrame() argument
219 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? Mips::Save16:Mips::SaveX16; in makeFrame()
225 if (isUInt<11>(FrameSize)) in makeFrame()
226 MIB.addImm(FrameSize); in makeFrame()
230 int64_t Remainder = FrameSize - Base; in makeFrame()
240 void Mips16InstrInfo::restoreFrame(unsigned SP, int64_t FrameSize, in restoreFrame() argument
249 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? in restoreFrame()
252 if (!isUInt<11>(FrameSize)) { in restoreFrame()
254 int64_t Remainder = FrameSize - Base; in restoreFrame()
255 FrameSize = Base; // should create template function like isUInt that in restoreFrame()
[all …]
H A DMips16InstrInfo.h74 void makeFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
78 void restoreFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DOcamlGCPrinter.cpp136 uint64_t FrameSize = FI->getFrameSize(); in finishAssembly() local
137 if (FrameSize >= 1 << 16) { in finishAssembly()
142 Twine(FrameSize) + in finishAssembly()
164 AP.emitInt16(FrameSize); in finishAssembly()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.cpp287 uint64_t FrameSize = determineFrameLayout(MF, UseEstimate, in determineFrameLayoutAndUpdate() local
289 MF.getFrameInfo().setStackSize(FrameSize); in determineFrameLayoutAndUpdate()
291 return FrameSize; in determineFrameLayoutAndUpdate()
304 uint64_t FrameSize = in determineFrameLayout() local
325 bool FitsInRedZone = FrameSize <= Subtarget.getRedZoneSize(); in determineFrameLayout()
350 FrameSize += maxCallFrameSize; in determineFrameLayout()
353 FrameSize = alignTo(FrameSize, Alignment); in determineFrameLayout()
355 return FrameSize; in determineFrameLayout()
539 unsigned FrameSize = determineFrameLayout(MF); in twoUniqueScratchRegsRequired() local
540 int NegFrameSize = -FrameSize; in twoUniqueScratchRegsRequired()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp101 int &Adjusted, int FrameSize, bool emitFrameMoves) { in IfNeededExtSP() argument
103 assert(Adjusted < FrameSize && "OffsetFromTop is beyond FrameSize"); in IfNeededExtSP()
104 int remaining = FrameSize - Adjusted; in IfNeededExtSP()
247 const int FrameSize = MFI.getStackSize() / 4; in emitPrologue() local
251 bool UseENTSP = saveLR && FrameSize in emitPrologue()
260 Adjusted = (FrameSize > MaxImmU16) ? MaxImmU16 : FrameSize; in emitPrologue()
283 IfNeededExtSP(MBB, MBBI, dl, TII, OffsetFromTop, Adjusted, FrameSize, in emitPrologue()
300 IfNeededExtSP(MBB, MBBI, dl, TII, FrameSize, Adjusted, FrameSize, in emitPrologue()
302 assert(Adjusted==FrameSize && "IfNeededExtSP has not completed adjustment"); in emitPrologue()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DGCMetadata.h87 uint64_t FrameSize;
135 uint64_t getFrameSize() const { return FrameSize; } in end()
136 void setFrameSize(uint64_t S) { FrameSize = S; } in size()
86 uint64_t FrameSize; global() variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DASanStackFrameLayout.cpp91 Layout.FrameSize = Offset; in ComputeASanStackFrameLayout()
92 assert((Layout.FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout()
129 SB.resize(Layout.FrameSize / Granularity, kAsanStackRightRedzoneMagic); in GetShadowBytes()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.h82 unsigned getFrameSize() const { return FrameSize; } in getFrameSize()
221 FrameSize = NewFrameSize; in setCode()
243 unsigned FrameSize = 0; variable
H A DInterpFrame.cpp33 unsigned FrameSize = Func->getFrameSize(); in InterpFrame() local
34 if (FrameSize == 0) in InterpFrame()
37 Locals = std::make_unique<char[]>(FrameSize); in InterpFrame()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp169 unsigned FrameSize = 0; in mayUseUncheckedLoadStore()
171 FrameSize += MFI->getObjectSize(i); in mayUseUncheckedLoadStore()
172 bool EntireFrameReachableFromSP = FrameSize < 0xf00; in mayUseUncheckedLoadStore()
170 unsigned FrameSize = 0; mayUseUncheckedLoadStore() local
H A DAArch64FrameLowering.h175 Register ScratchReg, int64_t FrameSize,
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp101 uint64_t FrameSize = StackSize - 2; in emitPrologue() local
102 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue()
219 uint64_t FrameSize = StackSize - 2; in emitEpilogue() local
220 NumBytes = FrameSize - CSSize; in emitEpilogue()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp113 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout() local
116 FrameSize = alignTo(FrameSize, getStackAlign()); in determineFrameLayout()
119 MFI.setStackSize(FrameSize); in determineFrameLayout()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp529 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue() local
533 FrameSize += SlotSize; in emitPrologue()
535 NumBytes = FrameSize - MMFI->getCalleeSavedFrameSize(); in emitPrologue()
690 uint64_t FrameSize = StackSize - SlotSize; in emitEpilogue() local
691 NumBytes = FrameSize - CSSize; in emitEpilogue()
696 NumBytes = alignTo(FrameSize, MaxAlign); in emitEpilogue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp60 void elideHeapAllocations(uint64_t FrameSize, Align FrameAlign);
218 void CoroIdElider::elideHeapAllocations(uint64_t FrameSize, Align FrameAlign) { in elideHeapAllocations() argument
240 auto FrameTy = ArrayType::get(Type::getInt8Ty(C), FrameSize); in elideHeapAllocations()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYFrameLowering.cpp57 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout() local
63 FrameSize += (MaxStackAlign.value() - StackAlign.value()); in determineFrameLayout()
72 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
75 MFI.setStackSize(FrameSize); in determineFrameLayout()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DASanStackFrameLayout.h47 uint64_t FrameSize; // Size of the frame in bytes. member
/freebsd/sys/dev/mpt/mpilib/
H A Dmpi_tool.h225 U16 FrameSize; /* 00h */ member
236 MPI_TB_FC_MANAGE_FRAME_SIZE_AI FrameSize; member
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCMetadata.cpp78 : F(F), S(S), FrameSize(~0LL) {} in GCFunctionInfo()
H A DSafeStack.cpp635 unsigned FrameSize = alignTo(SSL.getFrameSize(), StackAlignment); in moveStaticAllocasToUnsafeStack() local
640 Data.push_back(MDB.createConstant(ConstantInt::get(Int32Ty, FrameSize))); in moveStaticAllocasToUnsafeStack()
648 IRB.CreatePtrAdd(BasePointer, ConstantInt::get(Int32Ty, -FrameSize), in moveStaticAllocasToUnsafeStack()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp341 uint64_t FrameSize = MFI.getStackSize(); in determineFrameLayout() local
347 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
350 MFI.setStackSize(FrameSize); in determineFrameLayout()
358 int ScalarLocalVarSize = FrameSize - RVFI->getCalleeSavedStackSize() - in determineFrameLayout()

12