Searched refs:AllocaSize (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInline.cpp130 uint64_t AllocaSize = 0;
142 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType());
145 if (AllocaSize > ArgAllocaCutoff) {
146 AllocaSize = 0;
151 if (AllocaSize)
H A DAMDGPUTargetTransformInfo.cpp161 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; local
162 if (AllocaSize > MaxAlloca)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp196 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize);
199 const Value *AllocaPtr, uint64_t AllocaSize);
201 uint64_t AllocaSize);
232 const Value *AllocaPtr, uint64_t AllocaSize) {
242 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize));
262 uint64_t AllocaSize) {
274 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize);
280 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { argument
298 AllocaSize))
315 AllocaPtr, AllocaSize))
231 IsAccessSafe(Value *Addr, uint64_t AccessSize, const Value *AllocaPtr, uint64_t AllocaSize) argument
260 IsMemIntrinsicSafe(const MemIntrinsic *MI, const Use &U, const Value *AllocaPtr, uint64_t AllocaSize) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp4277 uint64_t AllocaSize = DL.getTypeAllocSize(AI.getAllocatedType());
4279 if (AllocaSize <= MaxBitVectorSize) {
4282 SmallBitVector SplittableOffset(AllocaSize + 1, true);
4285 O < S.endOffset() && O < AllocaSize; O++)
4292 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) &&
4293 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()]))
4310 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize)
4341 uint64_t AllocaSize = DL.getTypeSizeInBits(NewAI->getAllocatedType());
4343 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte);
4361 uint64_t AllocaSize
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp175 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType());
176 if (!AllocaSize)
179 APInt(64, AllocaSize), DL);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1993 ConstantInt *AllocaSize = nullptr; local
2010 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()),
2015 builder.CreateLifetimeStart(AI, AllocaSize);
2025 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize);

Completed in 185 milliseconds