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

/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp181 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) {
237 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize));
257 uint64_t AllocaSize) {
269 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize);
275 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { argument
293 AllocaSize))
310 AllocaPtr, AllocaSize))
217 IsAccessSafe(Value *Addr, uint64_t AccessSize, const Value *AllocaPtr, uint64_t AllocaSize) argument
255 IsMemIntrinsicSafe(const MemIntrinsic *MI, const Use &U, const Value *AllocaPtr, uint64_t AllocaSize) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp202 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; local
203 if (AllocaSize > MaxAlloca)
1244 unsigned AllocaSize = 0;
1260 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType());
1262 return AllocaSize;
1270 unsigned AllocaSize = getCallArgsTotalAllocaSize(CB, DL);
1271 if (AllocaSize > 0)
1281 auto AllocaSize = getCallArgsTotalAllocaSize(CB, DL);
1282 if (AllocaSize <= ArgAllocaCutoff)
1312 unsigned AllocaThresholdBonus = (Threshold * ArgAllocaSize) / AllocaSize;
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DStackLifetime.cpp70 auto AllocaSize = AI->getAllocationSize(DL);
71 if (!AllocaSize)
79 if (LifetimeSize != -1 && uint64_t(LifetimeSize) != *AllocaSize)
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1342 if (std::optional<TypeSize> AllocaSize =
1344 if (*AllocaSize == LTSize->getValue())
1910 std::optional<TypeSize> AllocaSize = AI->getAllocationSize(DL);
1913 if (!AllocaSize || AllocaSize->isScalable())
1915 MemoryLocation Loc(ImmutArg, LocationSize::precise(*AllocaSize));
1938 if (!MDepLen || AllocaSize != MDepLen->getValue())
H A DSROA.cpp4987 uint64_t AllocaSize = local
4990 if (AllocaSize <= MaxBitVectorSize) {
4993 SmallBitVector SplittableOffset(AllocaSize + 1, true);
4996 O < S.endOffset() && O < AllocaSize; O++)
5003 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) &&
5004 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()]))
5021 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize)
5052 uint64_t AllocaSize = local
5055 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte);
5070 uint64_t AllocaSize
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp190 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType());
191 if (!AllocaSize)
194 APInt(64, AllocaSize), DL);
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2553 ConstantInt *AllocaSize = nullptr; local
2571 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()),
2576 builder.CreateLifetimeStart(AI, AllocaSize);
2586 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize);

Completed in 356 milliseconds