/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFrameLowering.cpp | 66 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()
|
D | WebAssemblyPEI.cpp | 243 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/ |
D | Mips16FrameLowering.cpp | 47 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()
|
D | Mips16RegisterInfo.cpp | 81 uint64_t StackSize, in eliminateFI() argument 130 Offset = SPOffset + (int64_t)StackSize; in eliminateFI()
|
D | MipsTargetStreamer.h | 50 virtual void emitFrame(unsigned StackReg, unsigned StackSize, 165 void emitFrame(unsigned StackReg, unsigned StackSize, 242 void emitFrame(unsigned StackReg, unsigned StackSize,
|
D | MipsSERegisterInfo.cpp | 107 uint64_t StackSize, in eliminateFI() argument 163 Offset = SPOffset + (int64_t)StackSize; in eliminateFI()
|
D | MipsSERegisterInfo.h | 35 int FrameIndex, uint64_t StackSize,
|
D | Mips16RegisterInfo.h | 42 int FrameIndex, uint64_t StackSize,
|
D | MipsSEFrameLowering.cpp | 401 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()
|
D | MipsRegisterInfo.h | 74 int FrameIndex, uint64_t StackSize,
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 354 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/ |
D | MSP430FrameLowering.cpp | 54 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/ |
D | AArch64AsmBackend.cpp | 305 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/ |
D | X86FrameLowering.cpp | 913 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/ |
D | XCoreFrameToArgsOffsetElim.cpp | 48 unsigned StackSize = MF.getFrameInfo()->getStackSize(); in runOnMachineFunction() local 57 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize); in runOnMachineFunction()
|
D | XCoreRegisterInfo.cpp | 275 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/ |
D | X86AsmBackend.cpp | 509 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/ |
D | DiagnosticInfo.h | 166 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/ |
D | MachineFrameInfo.h | 172 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()
|
D | MIRYamlMapping.h | 344 uint64_t StackSize = 0; 365 YamlIO.mapOptional("stackSize", MFI.StackSize);
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600MachineFunctionInfo.h | 29 unsigned StackSize; variable
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXPrologEpilogPass.cpp | 226 int64_t StackSize = Offset - LocalAreaOffset; in calculateFrameObjectOffsets() local 227 MFI->setStackSize(StackSize); in calculateFrameObjectOffsets()
|
/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 227 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/ |
D | MipsTargetStreamer.cpp | 57 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/ |
D | runtime-test.cc | 413 static int StackSize(Isolate* isolate) { in StackSize() function 424 int n = StackSize(isolate); in PrintTransition()
|