Searched refs:AllocaSize (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 200 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize); 203 const Value *AllocaPtr, uint64_t AllocaSize); 205 uint64_t AllocaSize); 236 const Value *AllocaPtr, uint64_t AllocaSize) { in IsAccessSafe() argument 246 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize)); in IsAccessSafe() 266 uint64_t AllocaSize) { in IsMemIntrinsicSafe() argument 278 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize); in IsMemIntrinsicSafe() 284 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() argument 302 AllocaSize)) in IsSafeStackAlloca() 319 AllocaPtr, AllocaSize)) in IsSafeStackAlloca() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 197 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local 198 if (AllocaSize > MaxAlloca) in getUnrollingPreferences() 1200 uint64_t AllocaSize = 0; in adjustInliningThreshold() local 1212 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in adjustInliningThreshold() 1215 if (AllocaSize > ArgAllocaCutoff) { in adjustInliningThreshold() 1216 AllocaSize = 0; in adjustInliningThreshold() 1221 if (AllocaSize) in adjustInliningThreshold()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | StackLifetime.cpp | 78 int64_t AllocaSize = AllocaSizeInBits.getValue() / 8; in findMatchingAlloca() local 85 if (LifetimeSize != -1 && LifetimeSize != AllocaSize) in findMatchingAlloca()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 4456 uint64_t AllocaSize = in splitAlloca() local 4459 if (AllocaSize <= MaxBitVectorSize) { in splitAlloca() 4462 SmallBitVector SplittableOffset(AllocaSize + 1, true); in splitAlloca() 4465 O < S.endOffset() && O < AllocaSize; O++) in splitAlloca() 4472 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) && in splitAlloca() 4473 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()])) in splitAlloca() 4490 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize) in splitAlloca() 4521 uint64_t AllocaSize = in splitAlloca() local 4524 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte); in splitAlloca() 4540 uint64_t AllocaSize = in splitAlloca() local [all …]
|
| H A D | MemCpyOptimizer.cpp | 1302 if (Optional<TypeSize> AllocaSize = Alloca->getAllocationSizeInBits(DL)) in hasUndefContentsMSSA() local 1303 if (*AllocaSize == LTSize->getValue() * 8) in hasUndefContentsMSSA()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 163 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() local 164 if (!AllocaSize) in isDereferenceableForAllocaSize() 167 APInt(64, AllocaSize), DL); in isDereferenceableForAllocaSize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 2211 ConstantInt *AllocaSize = nullptr; in InlineFunction() local 2229 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()), in InlineFunction() 2234 builder.CreateLifetimeStart(AI, AllocaSize); in InlineFunction() 2244 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize); in InlineFunction()
|