Searched refs:AllocaSize (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 181 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize); 184 const Value *AllocaPtr, uint64_t AllocaSize); 186 uint64_t AllocaSize); 218 const Value *AllocaPtr, uint64_t AllocaSize) { in IsAccessSafe() argument 237 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize)); in IsAccessSafe() 257 uint64_t AllocaSize) { in IsMemIntrinsicSafe() argument 269 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize); in IsMemIntrinsicSafe() 275 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() argument 293 AllocaSize)) in IsSafeStackAlloca() 310 AllocaPtr, AllocaSize)) in IsSafeStackAlloca() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 202 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local 203 if (AllocaSize > MaxAlloca) in getUnrollingPreferences() 1244 unsigned AllocaSize = 0; in getCallArgsTotalAllocaSize() local 1260 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getCallArgsTotalAllocaSize() 1262 return AllocaSize; in getCallArgsTotalAllocaSize() 1270 unsigned AllocaSize = getCallArgsTotalAllocaSize(CB, DL); in adjustInliningThreshold() local 1271 if (AllocaSize > 0) in adjustInliningThreshold() 1281 auto AllocaSize = getCallArgsTotalAllocaSize(CB, DL); in getCallerAllocaCost() local 1282 if (AllocaSize <= ArgAllocaCutoff) in getCallerAllocaCost() 1312 unsigned AllocaThresholdBonus = (Threshold * ArgAllocaSize) / AllocaSize; in getCallerAllocaCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | StackLifetime.cpp | 70 auto AllocaSize = AI->getAllocationSize(DL); in findMatchingAlloca() local 71 if (!AllocaSize) in findMatchingAlloca() 79 if (LifetimeSize != -1 && uint64_t(LifetimeSize) != *AllocaSize) in findMatchingAlloca()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 1342 if (std::optional<TypeSize> AllocaSize = in hasUndefContents() local 1344 if (*AllocaSize == LTSize->getValue()) in hasUndefContents() 1910 std::optional<TypeSize> AllocaSize = AI->getAllocationSize(DL); in processImmutArgument() local 1913 if (!AllocaSize || AllocaSize->isScalable()) in processImmutArgument() 1915 MemoryLocation Loc(ImmutArg, LocationSize::precise(*AllocaSize)); in processImmutArgument() 1938 if (!MDepLen || AllocaSize != MDepLen->getValue()) in processImmutArgument()
|
| H A D | SROA.cpp | 4987 uint64_t AllocaSize = in splitAlloca() local 4990 if (AllocaSize <= MaxBitVectorSize) { in splitAlloca() 4993 SmallBitVector SplittableOffset(AllocaSize + 1, true); in splitAlloca() 4996 O < S.endOffset() && O < AllocaSize; O++) in splitAlloca() 5003 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) && in splitAlloca() 5004 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()])) in splitAlloca() 5021 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize) in splitAlloca() 5052 uint64_t AllocaSize = in splitAlloca() local 5055 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte); in splitAlloca() 5070 uint64_t AllocaSize = in splitAlloca() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 190 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() local 191 if (!AllocaSize) in isDereferenceableForAllocaSize() 194 APInt(64, AllocaSize), DL); in isDereferenceableForAllocaSize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 2553 ConstantInt *AllocaSize = nullptr; in InlineFunction() local 2571 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()), in InlineFunction() 2576 builder.CreateLifetimeStart(AI, AllocaSize); in InlineFunction() 2586 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize); in InlineFunction()
|