/external/llvm-project/llvm/lib/Target/Mips/ |
D | Mips16FrameLowering.cpp | 53 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local 56 if (StackSize == 0 && !MFI.adjustsStack()) return; in emitPrologue() 62 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); in emitPrologue() 66 MF.addFrameInst(MCCFIInstruction::cfiDefCfaOffset(nullptr, StackSize)); in emitPrologue() 98 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local 100 if (!StackSize) in emitEpilogue() 109 TII.restoreFrame(Mips::SP, StackSize, MBB, MBBI); in emitEpilogue()
|
/external/llvm/lib/Target/Mips/ |
D | Mips16FrameLowering.cpp | 46 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local 49 if (StackSize == 0 && !MFI->adjustsStack()) return; in emitPrologue() 56 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); in emitPrologue() 60 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue() 93 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local 95 if (!StackSize) in emitEpilogue() 104 TII.restoreFrame(Mips::SP, StackSize, MBB, MBBI); in emitEpilogue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | Mips16FrameLowering.cpp | 53 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local 56 if (StackSize == 0 && !MFI.adjustsStack()) return; in emitPrologue() 62 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); in emitPrologue() 66 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue() 98 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local 100 if (!StackSize) in emitEpilogue() 109 TII.restoreFrame(Mips::SP, StackSize, MBB, MBBI); in emitEpilogue()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFrameLowering.cpp | 130 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local 151 StackSize ? SPReg : (unsigned)WebAssembly::SP32) in emitPrologue() 157 if (StackSize) { in emitPrologue() 161 .addImm(StackSize); in emitPrologue() 175 if (StackSize && needsSPWriteback(MF, *MFI)) { in emitPrologue() 183 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local 197 if (StackSize) { in emitEpilogue() 203 .addImm(StackSize); in emitEpilogue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFrameLowering.cpp | 161 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local 175 if (StackSize) in emitPrologue() 191 if (StackSize) { in emitPrologue() 195 .addImm(StackSize); in emitPrologue() 220 if (StackSize && needsSPWriteback(MF)) { in emitPrologue() 227 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in emitEpilogue() local 244 } else if (StackSize) { in emitEpilogue() 249 .addImm(StackSize); in emitEpilogue()
|
/external/llvm-project/llvm/lib/Target/ARC/ |
D | ARCRegisterInfo.cpp | 40 unsigned FrameReg, int Offset, int StackSize, in ReplaceFrameIndex() argument 173 int StackSize = MF.getFrameInfo().getStackSize(); in eliminateFrameIndex() local 182 LLVM_DEBUG(dbgs() << "StackSize : " << StackSize << "\n"); in eliminateFrameIndex() 208 Offset = StackSize + Offset; in eliminateFrameIndex() 210 assert((Offset >= 0 && Offset < StackSize) && "SP Offset not in bounds."); in eliminateFrameIndex() 213 assert((Offset < 0 && -Offset <= StackSize) && in eliminateFrameIndex() 217 ReplaceFrameIndex(II, TII, Reg, getFrameRegister(MF), Offset, StackSize, in eliminateFrameIndex()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCRegisterInfo.cpp | 40 unsigned FrameReg, int Offset, int StackSize, in ReplaceFrameIndex() argument 178 int StackSize = MF.getFrameInfo().getStackSize(); in eliminateFrameIndex() local 187 LLVM_DEBUG(dbgs() << "StackSize : " << StackSize << "\n"); in eliminateFrameIndex() 213 Offset = StackSize + Offset; in eliminateFrameIndex() 215 assert((Offset >= 0 && Offset < StackSize) && "SP Offset not in bounds."); in eliminateFrameIndex() 218 assert((Offset < 0 && -Offset <= StackSize) && in eliminateFrameIndex() 222 ReplaceFrameIndex(II, TII, Reg, getFrameRegister(MF), Offset, StackSize, in eliminateFrameIndex()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVFrameLowering.cpp | 129 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local 132 if (StackSize == 0 && !MFI.adjustsStack()) in emitPrologue() 144 StackSize = FirstSPAdjustAmount; in emitPrologue() 147 adjustReg(MBB, MBBI, DL, SPReg, SPReg, -StackSize, MachineInstr::FrameSetup); in emitPrologue() 151 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue() 182 StackSize - RVFI->getVarArgsSaveSize(), MachineInstr::FrameSetup); in emitPrologue() 274 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local 275 uint64_t FPOffset = StackSize - RVFI->getVarArgsSaveSize(); in emitEpilogue() 297 StackSize = FirstSPAdjustAmount; in emitEpilogue() 300 adjustReg(MBB, MBBI, DL, SPReg, SPReg, StackSize, MachineInstr::FrameDestroy); in emitEpilogue() [all …]
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 328 uint64_t StackSize = (MFFrame.estimateStackSize(MF) + in processFunctionBeforeFrameFinalized() local 340 uint64_t MaxReach = StackSize + MaxArgOffset; in processFunctionBeforeFrameFinalized() 472 uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue() local 483 StackSize += SystemZMC::CallFrameSize; in emitPrologue() 485 StackSize = StackSize > SystemZMC::CallFrameSize in emitPrologue() 486 ? StackSize - SystemZMC::CallFrameSize in emitPrologue() 488 MFFrame.setStackSize(StackSize); in emitPrologue() 490 if (StackSize) { in emitPrologue() 501 int64_t Delta = -int64_t(StackSize); in emitPrologue() 504 (ZFI->getSpillGPRRegs().GPROffset + StackSize) < ProbeSize); in emitPrologue() [all …]
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFrameLowering.cpp | 215 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local 230 if (StackSize) in emitPrologue() 246 if (StackSize) { in emitPrologue() 250 .addImm(StackSize); in emitPrologue() 271 if (StackSize && needsSPWriteback(MF)) { in emitPrologue() 278 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in emitEpilogue() local 297 } else if (StackSize) { in emitEpilogue() 302 .addImm(StackSize); in emitEpilogue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 367 uint64_t StackSize = (MFFrame.estimateStackSize(MF) + in processFunctionBeforeFrameFinalized() local 379 uint64_t MaxReach = StackSize + MaxArgOffset; in processFunctionBeforeFrameFinalized() 477 uint64_t StackSize = MFFrame.getStackSize(); in emitPrologue() local 488 StackSize += SystemZMC::CallFrameSize; in emitPrologue() 490 StackSize = StackSize > SystemZMC::CallFrameSize in emitPrologue() 491 ? StackSize - SystemZMC::CallFrameSize in emitPrologue() 493 MFFrame.setStackSize(StackSize); in emitPrologue() 495 if (StackSize) { in emitPrologue() 506 int64_t Delta = -int64_t(StackSize); in emitPrologue() 594 uint64_t StackSize = MFFrame.getStackSize(); in emitEpilogue() local [all …]
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | InterpStack.cpp | 26 StackSize = 0; in clear() 45 StackSize += Size; in grow() 77 StackSize -= Size; in shrink()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 361 uint64_t StackSize = getAllocatedStackSize(MF); in emitPrologue() local 362 if (StackSize) { in emitPrologue() 373 int64_t Delta = -int64_t(StackSize); in emitPrologue() 448 uint64_t StackSize = getAllocatedStackSize(MF); in emitEpilogue() local 457 uint64_t Offset = StackSize + MBBI->getOperand(AddrOpNo + 1).getImm(); in emitEpilogue() 473 } else if (StackSize) { in emitEpilogue() 475 emitIncrement(MBB, MBBI, DL, SystemZ::R15D, StackSize, ZII); in emitEpilogue() 514 uint64_t StackSize = MFFrame->getStackSize(); in getAllocatedStackSize() local 519 if (StackSize || MFFrame->hasVarSizedObjects() || MFFrame->hasCalls()) in getAllocatedStackSize() 520 StackSize += SystemZMC::CallFrameSize; in getAllocatedStackSize() [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/ceva/ |
D | mcps_macros.h | 44 int StackSize; \ 69 StackSize = CEVA_BX_Stack_Measurement(0x800) * 4; \ 71 fprintf(f_mcps_report, ":cycles:%d:Stack:%d\r\n", ClockCEVA, StackSize);
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | prologue-epilogue-remarks.mir | 10 # CHECK-NEXT: Name: StackSize 28 # CHECK-NEXT: Name: StackSize 46 # CHECK-NEXT: Name: StackSize
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | prologue-epilogue-remarks.mir | 16 # CHECK-NEXT: Name: StackSize 35 # CHECK-NEXT: Name: StackSize 53 # CHECK-NEXT: Name: StackSize
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 53 uint64_t StackSize = MFI->getStackSize(); in emitPrologue() local 58 uint64_t FrameSize = StackSize - 2; in emitPrologue() 80 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue() 126 uint64_t StackSize = MFI->getStackSize(); in emitEpilogue() local 132 uint64_t FrameSize = StackSize - 2; in emitEpilogue() 138 NumBytes = StackSize - CSSize; in emitEpilogue()
|
/external/llvm-project/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 52 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local 57 uint64_t FrameSize = StackSize - 2; in emitPrologue() 79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue() 125 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local 131 uint64_t FrameSize = StackSize - 2; in emitEpilogue() 137 NumBytes = StackSize - CSSize; in emitEpilogue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 52 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local 57 uint64_t FrameSize = StackSize - 2; in emitPrologue() 79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue() 125 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local 131 uint64_t FrameSize = StackSize - 2; in emitEpilogue() 137 NumBytes = StackSize - CSSize; in emitEpilogue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | StackMaps.h | 243 uint64_t StackSize = 0; member 247 explicit FunctionInfo(uint64_t StackSize) : StackSize(StackSize) {} in FunctionInfo()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64AsmBackend.cpp | 381 uint32_t encodeStackAdjustment(uint32_t StackSize) const { in encodeStackAdjustment() 382 return (StackSize / 16) << 12; in encodeStackAdjustment() 401 unsigned StackSize = 0; in generateCompactUnwindEncoding() local 440 assert(StackSize == 0 && "We already have the CFA offset!"); in generateCompactUnwindEncoding() 441 StackSize = std::abs(Inst.getOffset()); in generateCompactUnwindEncoding() 514 if (StackSize > 65520) in generateCompactUnwindEncoding() 518 CompactUnwindEncoding |= encodeStackAdjustment(StackSize); in generateCompactUnwindEncoding()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreFrameToArgsOffsetElim.cpp | 51 unsigned StackSize = MF.getFrameInfo()->getStackSize(); in runOnMachineFunction() local 60 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize); in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/Target/XCore/ |
D | XCoreFrameToArgsOffsetElim.cpp | 50 unsigned StackSize = MF.getFrameInfo().getStackSize(); in runOnMachineFunction() local 59 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize); in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreFrameToArgsOffsetElim.cpp | 50 unsigned StackSize = MF.getFrameInfo().getStackSize(); in runOnMachineFunction() local 59 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize); in runOnMachineFunction()
|
/external/llvm/lib/Target/X86/ |
D | X86FrameLowering.cpp | 917 uint64_t StackSize = MFI->getStackSize(); // Number of bytes to allocate. in emitPrologue() local 974 X86FI->setUsesRedZone(MinSize > 0 || StackSize > 0); in emitPrologue() 975 StackSize = std::max(MinSize, StackSize > 128 ? StackSize - 128 : 0); in emitPrologue() 976 MFI->setStackSize(StackSize); in emitPrologue() 1025 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue() 1053 assert(StackSize); in emitPrologue() 1094 NumBytes = StackSize - X86FI->getCalleeSavedFrameSize(); in emitPrologue() 1118 assert(StackSize); in emitPrologue() 1376 assert(StackSize); in emitPrologue() 1378 nullptr, -StackSize + stackGrowth)); in emitPrologue() [all …]
|