Searched refs:AllocaSize (Results 1 – 7 of 7) sorted by relevance
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | SafeStack.cpp | 181 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize); 184 const Value *AllocaPtr, uint64_t AllocaSize); 186 uint64_t AllocaSize); 219 const Value *AllocaPtr, uint64_t AllocaSize) { in IsAccessSafe() argument 238 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize)); in IsAccessSafe() 258 uint64_t AllocaSize) { in IsMemIntrinsicSafe() argument 270 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize); in IsMemIntrinsicSafe() 276 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() argument 294 AllocaSize)) in IsSafeStackAlloca() 311 AllocaPtr, AllocaSize)) in IsSafeStackAlloca() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | AMDGPUTargetTransformInfo.cpp | 201 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local 202 if (AllocaSize > MaxAlloca) in getUnrollingPreferences() 1185 uint64_t AllocaSize = 0; in adjustInliningThreshold() local 1197 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in adjustInliningThreshold() 1200 if (AllocaSize > ArgAllocaCutoff) { in adjustInliningThreshold() 1201 AllocaSize = 0; in adjustInliningThreshold() 1206 if (AllocaSize) in adjustInliningThreshold()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| D | SROA.cpp | 4794 uint64_t AllocaSize = in splitAlloca() local 4797 if (AllocaSize <= MaxBitVectorSize) { in splitAlloca() 4800 SmallBitVector SplittableOffset(AllocaSize + 1, true); in splitAlloca() 4803 O < S.endOffset() && O < AllocaSize; O++) in splitAlloca() 4810 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) && in splitAlloca() 4811 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()])) in splitAlloca() 4828 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize) in splitAlloca() 4859 uint64_t AllocaSize = in splitAlloca() local 4862 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte); in splitAlloca() 4880 uint64_t AllocaSize = in splitAlloca() local [all …]
|
| D | MemCpyOptimizer.cpp | 1363 if (std::optional<TypeSize> AllocaSize = in hasUndefContents() local 1365 if (*AllocaSize == LTSize->getValue()) in hasUndefContents()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineLoadStoreAlloca.cpp | 183 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() local 184 if (!AllocaSize) in isDereferenceableForAllocaSize() 187 APInt(64, AllocaSize), DL); in isDereferenceableForAllocaSize()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | InlineFunction.cpp | 2493 ConstantInt *AllocaSize = nullptr; in InlineFunction() local 2511 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()), in InlineFunction() 2516 builder.CreateLifetimeStart(AI, AllocaSize); in InlineFunction() 2526 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize); in InlineFunction()
|