| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVMachineFunctionInfo.cpp | 36 uint64_t ProbeSize = 4096; in RISCVMachineFunctionInfo() local 38 ProbeSize = F.getFnAttributeAsParsedInteger("stack-probe-size"); in RISCVMachineFunctionInfo() 41 ProbeSize = PS->getZExtValue(); in RISCVMachineFunctionInfo() 42 assert(int64_t(ProbeSize) > 0 && "Invalid stack probe size"); in RISCVMachineFunctionInfo() 47 ProbeSize = std::max(StackAlign, alignDown(ProbeSize, StackAlign)); in RISCVMachineFunctionInfo() 55 StackProbeSize = ProbeSize; in RISCVMachineFunctionInfo()
|
| H A D | RISCVFrameLowering.cpp | 740 bool NeedProbe, uint64_t ProbeSize, in allocateStack() argument 750 if (!NeedProbe || Offset <= ProbeSize) { in allocateStack() 770 if (Offset < ProbeSize * 5) { in allocateStack() 774 while (CurrentOffset + ProbeSize <= Offset) { in allocateStack() 776 StackOffset::getFixed(-ProbeSize), Flag, getStackAlign()); in allocateStack() 784 CurrentOffset += ProbeSize; in allocateStack() 810 uint64_t RoundedSize = alignDown(Offset, ProbeSize); in allocateStack() 1032 uint64_t ProbeSize = TLI->getStackProbeSize(MF, getStackAlign()); in emitPrologue() local 1037 NeedProbe, ProbeSize, DynAllocation, in emitPrologue() 1086 ProbeSize, DynAllocation, MachineInstr::FrameSetup); in emitPrologue() [all …]
|
| H A D | RISCVFrameLowering.h | 84 uint64_t ProbeSize, bool DynAllocation,
|
| H A D | RISCVISelLowering.cpp | 24448 uint64_t ProbeSize = TLI->getStackProbeSize(MF, StackAlign); in emitDynamicProbedAlloc() local 24461 TII->movImm(*MBB, MBBI, DL, ScratchReg, ProbeSize, MachineInstr::NoFlags); in emitDynamicProbedAlloc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MachineFunctionInfo.cpp | 114 uint64_t ProbeSize = 4096; in AArch64FunctionInfo() local 116 ProbeSize = F.getFnAttributeAsParsedInteger("stack-probe-size"); in AArch64FunctionInfo() 119 ProbeSize = PS->getZExtValue(); in AArch64FunctionInfo() 120 assert(int64_t(ProbeSize) > 0 && "Invalid stack probe size"); in AArch64FunctionInfo() 124 StackProbeSize = ProbeSize; in AArch64FunctionInfo() 129 ProbeSize = std::max(StackAlign, ProbeSize & ~(StackAlign - 1U)); in AArch64FunctionInfo() 139 StackProbeSize = ProbeSize; in AArch64FunctionInfo()
|
| H A D | AArch64FrameLowering.cpp | 887 int64_t ProbeSize = AFI.getStackProbeSize(); in allocateStackSpace() local 888 if (upperBound(AllocSize) + RealignmentPadding <= ProbeSize) { in allocateStackSpace() 5550 MachineBasicBlock::iterator MBBI, int64_t ProbeSize, in inlineStackProbeLoopExactMultiple() argument 5567 StackOffset::getFixed(-ProbeSize), TII, in inlineStackProbeLoopExactMultiple() 5612 int64_t ProbeSize = MF.getInfo<AArch64FunctionInfo>()->getStackProbeSize(); in inlineStackProbeFixed() local 5613 int64_t NumBlocks = FrameSize / ProbeSize; in inlineStackProbeFixed() 5614 int64_t ResidualSize = FrameSize % ProbeSize; in inlineStackProbeFixed() 5617 << NumBlocks << " blocks of " << ProbeSize in inlineStackProbeFixed() 5627 StackOffset::getFixed(-ProbeSize), TII, in inlineStackProbeFixed() 5630 CFAOffset += StackOffset::getFixed(ProbeSize); in inlineStackProbeFixed() [all …]
|
| H A D | AArch64InstrInfo.cpp | 10320 int64_t ProbeSize = MF.getInfo<AArch64FunctionInfo>()->getStackProbeSize(); in probedStackAlloc() local 10338 AArch64::SP, StackOffset::getFixed(-ProbeSize), TII, Flags); in probedStackAlloc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | StringMap.cpp | 246 unsigned ProbeSize = 1; in RehashTable() local 248 NewBucket = (NewBucket + ProbeSize++) & (NewSize - 1); in RehashTable()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZFrameLowering.cpp | 639 const unsigned ProbeSize = TLI.getStackProbeSize(MF); in emitPrologue() local 641 (ZFI->getSpillGPRRegs().GPROffset + StackSize) < ProbeSize); in emitPrologue() 784 const unsigned ProbeSize = TLI.getStackProbeSize(MF); in inlineStackProbe() local 785 uint64_t NumFullBlocks = StackSize / ProbeSize; in inlineStackProbe() 786 uint64_t Residual = StackSize % ProbeSize; in inlineStackProbe() 820 allocateAndProbe(*MBB, MBBI, ProbeSize, true/*EmitCFI*/); in inlineStackProbe() 823 uint64_t LoopAlloc = ProbeSize * NumFullBlocks; in inlineStackProbe() 841 allocateAndProbe(*MBB, MBB->end(), ProbeSize, false/*EmitCFI*/); in inlineStackProbe()
|
| H A D | SystemZISelLowering.cpp | 10729 const unsigned ProbeSize = getStackProbeSize(MF); in emitProbedAlloca() local 10758 .addImm(ProbeSize); in emitProbedAlloca() 10770 .addImm(ProbeSize); in emitProbedAlloca() 10773 .addImm(ProbeSize); in emitProbedAlloca() 10775 .addReg(SystemZ::R15D).addImm(ProbeSize - 8).addReg(0) in emitProbedAlloca()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCFrameLowering.cpp | 1258 unsigned ProbeSize = TLI.getStackProbeSize(MF); in inlineStackProbe() local 1259 int64_t NegProbeSize = -(int64_t)ProbeSize; in inlineStackProbe() 1355 assert(isPowerOf2_64(ProbeSize) && "Probe size should be power of 2"); in inlineStackProbe() 1361 assert(ProbeSize >= Subtarget.getRedZoneSize() && in inlineStackProbe()
|
| H A D | PPCISelLowering.cpp | 13530 const unsigned ProbeSize = getStackProbeSize(*MF); in emitProbedAlloca() local 13599 int64_t NegProbeSize = -(int64_t)ProbeSize; in emitProbedAlloca()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 36501 const unsigned ProbeSize = getStackProbeSize(*MF); in EmitLoweredProbedAlloca() local 36564 .addImm(ProbeSize); in EmitLoweredProbedAlloca()
|