Home
last modified time | relevance | path

Searched refs:StackSize (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp66 static void adjustStackPointer(unsigned StackSize, in adjustStackPointer() argument
91 .addImm(StackSize); in adjustStackPointer()
131 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local
132 if (!StackSize && (!MFI->adjustsStack() || MFI->getMaxCallFrameSize() == 0)) in emitPrologue()
140 adjustStackPointer(StackSize, false, MF, MBB, TII, InsertPt, DL); in emitPrologue()
145 uint64_t StackSize = MF.getFrameInfo()->getStackSize(); in emitEpilogue() local
146 if (!StackSize) in emitEpilogue()
160 .addImm(StackSize); in emitEpilogue()
DWebAssemblyPEI.cpp243 uint64_t StackSize = MFI->getStackSize(); in runOnMachineFunction() local
244 if (WarnStackSize.getNumOccurrences() > 0 && WarnStackSize < StackSize) { in runOnMachineFunction()
245 DiagnosticInfoStackSize DiagStackSize(*F, StackSize); in runOnMachineFunction()
780 int64_t StackSize = Offset - LocalAreaOffset; in calculateFrameObjectOffsets() local
781 MFI->setStackSize(StackSize); in calculateFrameObjectOffsets()
782 NumBytesStackSpace += StackSize; in calculateFrameObjectOffsets()
/external/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp47 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local
50 if (StackSize == 0 && !MFI->adjustsStack()) return; in emitPrologue()
57 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); in emitPrologue()
61 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
94 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local
96 if (!StackSize) in emitEpilogue()
105 TII.restoreFrame(Mips::SP, StackSize, MBB, MBBI); in emitEpilogue()
DMips16RegisterInfo.cpp81 uint64_t StackSize, in eliminateFI() argument
130 Offset = SPOffset + (int64_t)StackSize; in eliminateFI()
DMipsTargetStreamer.h50 virtual void emitFrame(unsigned StackReg, unsigned StackSize,
165 void emitFrame(unsigned StackReg, unsigned StackSize,
242 void emitFrame(unsigned StackReg, unsigned StackSize,
DMipsSERegisterInfo.cpp107 uint64_t StackSize, in eliminateFI() argument
163 Offset = SPOffset + (int64_t)StackSize; in eliminateFI()
DMipsSERegisterInfo.h35 int FrameIndex, uint64_t StackSize,
DMips16RegisterInfo.h42 int FrameIndex, uint64_t StackSize,
DMipsSEFrameLowering.cpp401 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local
404 if (StackSize == 0 && !MFI->adjustsStack()) return; in emitPrologue()
411 TII.adjustStackPtr(SP, -StackSize, MBB, MBBI); in emitPrologue()
415 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
716 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local
718 if (!StackSize) in emitEpilogue()
722 TII.adjustStackPtr(SP, StackSize, MBB, MBBI); in emitEpilogue()
DMipsRegisterInfo.h74 int FrameIndex, uint64_t StackSize,
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp354 uint64_t StackSize = getAllocatedStackSize(MF); in emitPrologue() local
355 if (StackSize) { in emitPrologue()
357 int64_t Delta = -int64_t(StackSize); in emitPrologue()
428 uint64_t StackSize = getAllocatedStackSize(MF); in emitEpilogue() local
437 uint64_t Offset = StackSize + MBBI->getOperand(AddrOpNo + 1).getImm(); in emitEpilogue()
453 } else if (StackSize) { in emitEpilogue()
455 emitIncrement(MBB, MBBI, DL, SystemZ::R15D, StackSize, ZII); in emitEpilogue()
494 uint64_t StackSize = MFFrame->getStackSize(); in getAllocatedStackSize() local
499 if (StackSize || MFFrame->hasVarSizedObjects() || MFFrame->hasCalls()) in getAllocatedStackSize()
500 StackSize += SystemZMC::CallFrameSize; in getAllocatedStackSize()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp54 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local
59 uint64_t FrameSize = StackSize - 2; in emitPrologue()
81 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue()
127 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local
133 uint64_t FrameSize = StackSize - 2; in emitEpilogue()
139 NumBytes = StackSize - CSSize; in emitEpilogue()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp305 uint32_t encodeStackAdjustment(uint32_t StackSize) const { in encodeStackAdjustment()
306 return (StackSize / 16) << 12; in encodeStackAdjustment()
325 unsigned StackSize = 0; in generateCompactUnwindEncoding() local
364 assert(StackSize == 0 && "We already have the CFA offset!"); in generateCompactUnwindEncoding()
365 StackSize = std::abs(Inst.getOffset()); in generateCompactUnwindEncoding()
438 if (StackSize > 65520) in generateCompactUnwindEncoding()
442 CompactUnwindEncoding |= encodeStackAdjustment(StackSize); in generateCompactUnwindEncoding()
/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp913 uint64_t StackSize = MFI->getStackSize(); // Number of bytes to allocate. in emitPrologue() local
971 StackSize = std::max(MinSize, StackSize > 128 ? StackSize - 128 : 0); in emitPrologue()
972 MFI->setStackSize(StackSize); in emitPrologue()
1021 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
1049 assert(StackSize); in emitPrologue()
1090 NumBytes = StackSize - X86FI->getCalleeSavedFrameSize(); in emitPrologue()
1114 assert(StackSize); in emitPrologue()
1372 assert(StackSize); in emitPrologue()
1374 nullptr, -StackSize + stackGrowth)); in emitPrologue()
1479 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local
[all …]
/external/llvm/lib/Target/XCore/
DXCoreFrameToArgsOffsetElim.cpp48 unsigned StackSize = MF.getFrameInfo()->getStackSize(); in runOnMachineFunction() local
57 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize); in runOnMachineFunction()
DXCoreRegisterInfo.cpp275 int StackSize = MF.getFrameInfo()->getStackSize(); in eliminateFrameIndex() local
284 DEBUG(errs() << "StackSize : " << StackSize << "\n"); in eliminateFrameIndex()
287 Offset += StackSize; in eliminateFrameIndex()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp509 unsigned StackSize = 0; in generateCompactUnwindEncodingImpl() local
554 PrevStackSize = StackSize; in generateCompactUnwindEncodingImpl()
555 StackSize = std::abs(Inst.getOffset()) / StackDivide; in generateCompactUnwindEncodingImpl()
607 StackSize - PrevStackSize == 1) || in generateCompactUnwindEncodingImpl()
608 (Instrs.size() == 1 && NumDefCFAOffsets == 1 && StackSize == 2)) in generateCompactUnwindEncodingImpl()
614 if ((StackSize & 0xFF) == StackSize) { in generateCompactUnwindEncodingImpl()
619 CompactUnwindEncoding |= (StackSize & 0xFF) << 16; in generateCompactUnwindEncodingImpl()
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h166 unsigned StackSize; variable
171 DiagnosticInfoStackSize(const Function &Fn, unsigned StackSize,
173 : DiagnosticInfo(DK_StackSize, Severity), Fn(Fn), StackSize(StackSize) {} in DiagnosticInfo()
176 unsigned getStackSize() const { return StackSize; } in getStackSize()
/external/llvm/include/llvm/CodeGen/
DMachineFrameInfo.h172 uint64_t StackSize; variable
267 StackSize = NumFixedObjects = OffsetAdjustment = MaxAlignment = 0; in MachineFrameInfo()
453 uint64_t getStackSize() const { return StackSize; } in getStackSize()
456 void setStackSize(uint64_t Size) { StackSize = Size; } in setStackSize()
DMIRYamlMapping.h344 uint64_t StackSize = 0;
365 YamlIO.mapOptional("stackSize", MFI.StackSize);
/external/llvm/lib/Target/AMDGPU/
DR600MachineFunctionInfo.h29 unsigned StackSize; variable
/external/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp226 int64_t StackSize = Offset - LocalAreaOffset; in calculateFrameObjectOffsets() local
227 MFI->setStackSize(StackSize); in calculateFrameObjectOffsets()
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp227 uint64_t StackSize = MFI->getStackSize(); in runOnMachineFunction() local
228 if (WarnStackSize.getNumOccurrences() > 0 && WarnStackSize < StackSize) { in runOnMachineFunction()
229 DiagnosticInfoStackSize DiagStackSize(*F, StackSize); in runOnMachineFunction()
764 int64_t StackSize = Offset - LocalAreaOffset; in calculateFrameObjectOffsets() local
765 MFI->setStackSize(StackSize); in calculateFrameObjectOffsets()
766 NumBytesStackSpace += StackSize; in calculateFrameObjectOffsets()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsTargetStreamer.cpp57 void MipsTargetStreamer::emitFrame(unsigned StackReg, unsigned StackSize, in emitFrame() argument
217 void MipsTargetAsmStreamer::emitFrame(unsigned StackReg, unsigned StackSize, in emitFrame() argument
221 << StackSize << ",$" in emitFrame()
713 void MipsTargetELFStreamer::emitFrame(unsigned StackReg, unsigned StackSize, in emitFrame() argument
720 FrameOffset = StackSize; in emitFrame()
/external/v8/src/runtime/
Druntime-test.cc413 static int StackSize(Isolate* isolate) { in StackSize() function
424 int n = StackSize(isolate); in PrintTransition()

12