Home
last modified time | relevance | path

Searched refs:ProbeSize (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMachineFunctionInfo.cpp36 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 DRISCVFrameLowering.cpp740 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 DRISCVFrameLowering.h84 uint64_t ProbeSize, bool DynAllocation,
H A DRISCVISelLowering.cpp24448 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 DAArch64MachineFunctionInfo.cpp114 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 DAArch64FrameLowering.cpp887 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 DAArch64InstrInfo.cpp10320 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 DStringMap.cpp246 unsigned ProbeSize = 1; in RehashTable() local
248 NewBucket = (NewBucket + ProbeSize++) & (NewSize - 1); in RehashTable()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZFrameLowering.cpp639 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 DSystemZISelLowering.cpp10729 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 DPPCFrameLowering.cpp1258 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 DPPCISelLowering.cpp13530 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 DX86ISelLowering.cpp36501 const unsigned ProbeSize = getStackProbeSize(*MF); in EmitLoweredProbedAlloca() local
36564 .addImm(ProbeSize); in EmitLoweredProbedAlloca()