Home
last modified time | relevance | path

Searched refs:AllocaSize (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp129 uint64_t AllocaSize = 0; in getInlineThreshold() local
141 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getInlineThreshold()
144 if (AllocaSize > ArgAllocaCutoff) { in getInlineThreshold()
145 AllocaSize = 0; in getInlineThreshold()
150 if (AllocaSize) in getInlineThreshold()
DAMDGPUTargetTransformInfo.cpp197 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local
198 if (AllocaSize > MaxAlloca) in getUnrollingPreferences()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp130 uint64_t AllocaSize = 0; in getInlineThreshold() local
142 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getInlineThreshold()
145 if (AllocaSize > ArgAllocaCutoff) { in getInlineThreshold()
146 AllocaSize = 0; in getInlineThreshold()
151 if (AllocaSize) in getInlineThreshold()
DAMDGPUTargetTransformInfo.cpp161 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local
162 if (AllocaSize > MaxAlloca) in getUnrollingPreferences()
/external/llvm/lib/CodeGen/
DSafeStack.cpp180 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize);
183 const Value *AllocaPtr, uint64_t AllocaSize);
185 uint64_t AllocaSize);
225 const Value *AllocaPtr, uint64_t AllocaSize) { in IsAccessSafe() argument
235 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize)); in IsAccessSafe()
254 uint64_t AllocaSize) { in IsMemIntrinsicSafe() argument
260 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize); in IsMemIntrinsicSafe()
266 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() argument
284 AllocaSize)) in IsSafeStackAlloca()
300 AllocaPtr, AllocaSize)) in IsSafeStackAlloca()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
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) { in IsAccessSafe() argument
242 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize)); in IsAccessSafe()
262 uint64_t AllocaSize) { in IsMemIntrinsicSafe() argument
274 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize); in IsMemIntrinsicSafe()
280 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() argument
298 AllocaSize)) in IsSafeStackAlloca()
315 AllocaPtr, AllocaSize)) in IsSafeStackAlloca()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DSafeStack.cpp198 bool IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize);
201 const Value *AllocaPtr, uint64_t AllocaSize);
203 uint64_t AllocaSize);
234 const Value *AllocaPtr, uint64_t AllocaSize) { in IsAccessSafe() argument
244 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AllocaSize)); in IsAccessSafe()
264 uint64_t AllocaSize) { in IsMemIntrinsicSafe() argument
276 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize); in IsMemIntrinsicSafe()
282 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() argument
300 AllocaSize)) in IsSafeStackAlloca()
317 AllocaPtr, AllocaSize)) in IsSafeStackAlloca()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DStackLifetime.cpp78 int64_t AllocaSize = AllocaSizeInBits.getValue() / 8; in findMatchingAlloca() local
85 if (LifetimeSize != -1 && LifetimeSize != AllocaSize) in findMatchingAlloca()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp704 size_t AllocaSize; member
720 size_t AllocaSize; member
771 alloca(encoder->AllocaSize); in EncodeThreadFunction()
791 alloca(decoder->AllocaSize); in DecodeThreadFunction()
815 decoder.AllocaSize = allocaSize; in CreateDecoderThread()
1298 encoder.AllocaSize = (i * 16 * 21) & 0x7FF; in MethodBench()
1576 size_t AllocaSize; member
1591 alloca(p->AllocaSize); in CrcThreadFunction()
2293 info.AllocaSize = (i * 16 * 21) & 0x7FF; in CrcBench()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp4277 uint64_t AllocaSize = DL.getTypeAllocSize(AI.getAllocatedType()); in splitAlloca() local
4279 if (AllocaSize <= MaxBitVectorSize) { in splitAlloca()
4282 SmallBitVector SplittableOffset(AllocaSize + 1, true); in splitAlloca()
4285 O < S.endOffset() && O < AllocaSize; O++) in splitAlloca()
4292 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) && in splitAlloca()
4293 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()])) in splitAlloca()
4310 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize) in splitAlloca()
4341 uint64_t AllocaSize = DL.getTypeSizeInBits(NewAI->getAllocatedType()); in splitAlloca() local
4343 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte); in splitAlloca()
4361 uint64_t AllocaSize = DL.getTypeSizeInBits(AI.getAllocatedType()); in splitAlloca() local
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp4440 uint64_t AllocaSize = in splitAlloca() local
4443 if (AllocaSize <= MaxBitVectorSize) { in splitAlloca()
4446 SmallBitVector SplittableOffset(AllocaSize + 1, true); in splitAlloca()
4449 O < S.endOffset() && O < AllocaSize; O++) in splitAlloca()
4456 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) && in splitAlloca()
4457 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()])) in splitAlloca()
4474 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize) in splitAlloca()
4505 uint64_t AllocaSize = in splitAlloca() local
4508 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte); in splitAlloca()
4524 uint64_t AllocaSize = in splitAlloca() local
[all …]
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1711 ConstantInt *AllocaSize = nullptr; in InlineFunction() local
1727 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()), in InlineFunction()
1732 builder.CreateLifetimeStart(AI, AllocaSize); in InlineFunction()
1742 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize); in InlineFunction()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp163 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() local
164 if (!AllocaSize) in isDereferenceableForAllocaSize()
167 APInt(64, AllocaSize), DL); in isDereferenceableForAllocaSize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp175 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() local
176 if (!AllocaSize) in isDereferenceableForAllocaSize()
179 APInt(64, AllocaSize), DL); in isDereferenceableForAllocaSize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1993 ConstantInt *AllocaSize = nullptr; in InlineFunction() local
2010 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()), in InlineFunction()
2015 builder.CreateLifetimeStart(AI, AllocaSize); in InlineFunction()
2025 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize); in InlineFunction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DInlineFunction.cpp2054 ConstantInt *AllocaSize = nullptr; in InlineFunction() local
2072 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()), in InlineFunction()
2077 builder.CreateLifetimeStart(AI, AllocaSize); in InlineFunction()
2087 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize); in InlineFunction()
/external/swiftshader/third_party/subzero/src/
DIceCfg.cpp879 Operand *AllocaSize = Ctx->getConstantInt32(TotalSize); in sortAndCombineAllocas() local
881 InstAlloca::create(this, BaseVariable, AllocaSize, CombinedAlignment); in sortAndCombineAllocas()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp4005 uint64_t AllocaSize = DL.getTypeSizeInBits(NewAI->getAllocatedType()); in splitAlloca() local
4007 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte); in splitAlloca()
4024 uint64_t AllocaSize = DL.getTypeSizeInBits(AI.getAllocatedType()); in splitAlloca() local
4029 if (Piece.Size < AllocaSize || Expr->isBitPiece()) { in splitAlloca()