/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 130 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()
|
D | AMDGPUTargetTransformInfo.cpp | 161 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local 162 if (AllocaSize > MaxAlloca) in getUnrollingPreferences()
|
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 180 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/ |
D | SafeStack.cpp | 196 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/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 673 size_t AllocaSize; member 689 size_t AllocaSize; member 743 alloca(encoder->AllocaSize); in EncodeThreadFunction() 764 alloca(decoder->AllocaSize); in DecodeThreadFunction() 793 decoder.AllocaSize = allocaSize; in CreateDecoderThread() 1361 encoder.AllocaSize = (i * 16 * 21) & 0x7FF; in MethodBench() 1665 size_t AllocaSize; member 1680 alloca(p->AllocaSize); in CrcThreadFunction() 2386 info.AllocaSize = (i * 16 * 21) & 0x7FF; in CrcBench()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 4277 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/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1711 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 175 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/ |
D | InlineFunction.cpp | 1993 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/swiftshader/third_party/subzero/src/ |
D | IceCfg.cpp | 879 Operand *AllocaSize = Ctx->getConstantInt32(TotalSize); in sortAndCombineAllocas() local 881 InstAlloca::create(this, BaseVariable, AllocaSize, CombinedAlignment); in sortAndCombineAllocas()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 4005 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()
|