Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp53 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()
DMips16RegisterInfo.cpp77 uint64_t StackSize, in eliminateFI() argument
126 Offset = SPOffset + (int64_t)StackSize; in eliminateFI()
DMipsTargetStreamer.h62 virtual void emitFrame(unsigned StackReg, unsigned StackSize,
241 void emitFrame(unsigned StackReg, unsigned StackSize,
338 void emitFrame(unsigned StackReg, unsigned StackSize,
DMipsSERegisterInfo.cpp147 uint64_t StackSize, in eliminateFI() argument
203 Offset = SPOffset + (int64_t)StackSize; in eliminateFI()
DMipsSEFrameLowering.cpp425 uint64_t StackSize = MFI.getStackSize(); in emitPrologue() local
428 if (StackSize == 0 && !MFI.adjustsStack()) return; in emitPrologue()
434 TII.adjustStackPtr(SP, -StackSize, MBB, MBBI); in emitPrologue()
438 MCCFIInstruction::createDefCfaOffset(nullptr, -StackSize)); in emitPrologue()
738 uint64_t StackSize = MFI.getStackSize(); in emitEpilogue() local
740 if (!StackSize) in emitEpilogue()
744 TII.adjustStackPtr(SP, StackSize, MBB, MBBI); in emitEpilogue()
DMipsSERegisterInfo.h34 int FrameIndex, uint64_t StackSize,
DMips16RegisterInfo.h41 int FrameIndex, uint64_t StackSize,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFrameLowering.cpp161 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVFrameLowering.cpp129 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCRegisterInfo.cpp40 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()
DARCFrameLowering.cpp247 uint64_t StackSize = MF.getFrameInfo().getStackSize(); in emitEpilogue() local
256 if (isUInt<6>(StackSize)) in emitEpilogue()
260 .addImm(StackSize); in emitEpilogue()
282 if (unsigned MoveAmount = StackSize - AmountAboveFunclet) { in emitEpilogue()
290 .addImm(StackSize - AmountAboveFunclet); in emitEpilogue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp367 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp52 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FrameLowering.cpp981 uint64_t StackSize = MFI.getStackSize(); // Number of bytes to allocate. in emitPrologue() local
1025 StackSize += 8; in emitPrologue()
1026 MFI.setStackSize(StackSize); in emitPrologue()
1044 X86FI->setUsesRedZone(MinSize > 0 || StackSize > 0); in emitPrologue()
1045 StackSize = std::max(MinSize, StackSize > 128 ? StackSize - 128 : 0); in emitPrologue()
1046 MFI.setStackSize(StackSize); in emitPrologue()
1097 uint64_t FrameSize = StackSize - SlotSize; in emitPrologue()
1116 assert(StackSize); in emitPrologue()
1160 NumBytes = StackSize - X86FI->getCalleeSavedFrameSize(); in emitPrologue()
1169 MFI.setOffsetAdjustment(-StackSize); in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DStackMaps.h243 uint64_t StackSize = 0; member
247 explicit FunctionInfo(uint64_t StackSize) : StackSize(StackSize) {} in FunctionInfo()
DMachineFrameInfo.h243 uint64_t StackSize = 0; variable
550 uint64_t getStackSize() const { return StackSize; } in getStackSize()
553 void setStackSize(uint64_t Size) { StackSize = Size; } in setStackSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp552 uint32_t encodeStackAdjustment(uint32_t StackSize) const { in encodeStackAdjustment()
553 return (StackSize / 16) << 12; in encodeStackAdjustment()
579 unsigned StackSize = 0; in generateCompactUnwindEncoding() local
626 assert(StackSize == 0 && "We already have the CFA offset!"); in generateCompactUnwindEncoding()
627 StackSize = std::abs(Inst.getOffset()); in generateCompactUnwindEncoding()
700 if (StackSize > 65520) in generateCompactUnwindEncoding()
704 CompactUnwindEncoding |= encodeStackAdjustment(StackSize); in generateCompactUnwindEncoding()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreFrameToArgsOffsetElim.cpp50 unsigned StackSize = MF.getFrameInfo().getStackSize(); in runOnMachineFunction() local
59 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize); in runOnMachineFunction()
DXCoreRegisterInfo.cpp273 int StackSize = MF.getFrameInfo().getStackSize(); in eliminateFrameIndex() local
281 LLVM_DEBUG(errs() << "StackSize : " << StackSize << "\n"); in eliminateFrameIndex()
284 Offset += StackSize; in eliminateFrameIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp109 unsigned StackSize = MFI.getStackSize(); in emitPrologue() local
129 if (StackSize != 0) { in emitPrologue()
132 .addImm(StackSize) in emitPrologue()
/third_party/mesa3d/src/mesa/main/
Dmatrix.c309 if (stack->Depth + 1 >= stack->StackSize) { in push_matrix()
310 unsigned new_stack_size = stack->StackSize * 2; in push_matrix()
320 for (i = stack->StackSize; i < new_stack_size; i++) in push_matrix()
324 stack->StackSize = new_stack_size; in push_matrix()
1000 stack->StackSize = 1; in init_matrix_stack()
1015 stack->StackSize = 0; in free_matrix_stack()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMCallLowering.cpp179 StackSize = in assignArg()
180 std::max(StackSize, static_cast<uint64_t>(State.getNextStackOffset())); in assignArg()
185 uint64_t StackSize = 0; member
579 CallSeqStart.addImm(ArgHandler.StackSize).addImm(0).add(predOps(ARMCC::AL)); in lowerCall()
582 .addImm(ArgHandler.StackSize) in lowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXPrologEpilogPass.cpp245 int64_t StackSize = Offset - LocalAreaOffset; in calculateFrameObjectOffsets() local
246 MFI.setStackSize(StackSize); in calculateFrameObjectOffsets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp275 uint64_t StackSize = MFI.getStackSize(); in runOnMachineFunction() local
276 if (WarnStackSize.getNumOccurrences() > 0 && WarnStackSize < StackSize) { in runOnMachineFunction()
277 DiagnosticInfoStackSize DiagStackSize(F, StackSize); in runOnMachineFunction()
284 << ore::NV("NumStackBytes", StackSize) << " stack bytes in function"; in runOnMachineFunction()
1085 int64_t StackSize = Offset - LocalAreaOffset; in calculateFrameObjectOffsets() local
1086 MFI.setStackSize(StackSize); in calculateFrameObjectOffsets()
1087 NumBytesStackSpace += StackSize; in calculateFrameObjectOffsets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp137 StackSize(0) {} in OutgoingArgHandler()
200 StackSize = State.getNextStackOffset(); in assignArg()
211 uint64_t StackSize; member
1020 ? alignTo(Handler.StackSize, 16) in lowerCall()
1023 CallSeqStart.addImm(Handler.StackSize).addImm(0); in lowerCall()
1025 .addImm(Handler.StackSize) in lowerCall()

123