Searched refs:AllocaSize (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 196 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local 197 if (AllocaSize > MaxAlloca) in getUnrollingPreferences() 1205 uint64_t AllocaSize = 0; in adjustInliningThreshold() local 1217 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in adjustInliningThreshold() 1220 if (AllocaSize > ArgAllocaCutoff) { in adjustInliningThreshold() 1221 AllocaSize = 0; in adjustInliningThreshold() 1226 if (AllocaSize) in adjustInliningThreshold()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 4435 uint64_t AllocaSize = in splitAlloca() local 4438 if (AllocaSize <= MaxBitVectorSize) { in splitAlloca() 4441 SmallBitVector SplittableOffset(AllocaSize + 1, true); in splitAlloca() 4444 O < S.endOffset() && O < AllocaSize; O++) in splitAlloca() 4451 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) && in splitAlloca() 4452 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()])) in splitAlloca() 4469 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize) in splitAlloca() 4500 uint64_t AllocaSize = in splitAlloca() local 4503 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte); in splitAlloca() 4519 uint64_t AllocaSize = in splitAlloca() local [all …]
|
| H A D | MemCpyOptimizer.cpp | 1279 if (Optional<TypeSize> AllocaSize = Alloca->getAllocationSizeInBits(DL)) in hasUndefContentsMSSA() local 1280 if (*AllocaSize == LTSize->getValue() * 8) in hasUndefContentsMSSA()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 2204 ConstantInt *AllocaSize = nullptr; in InlineFunction() local 2222 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()), in InlineFunction() 2227 builder.CreateLifetimeStart(AI, AllocaSize); in InlineFunction() 2237 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize); in InlineFunction()
|