/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 126 uint64_t AllocaSize = 0; in getInlineThreshold() local 137 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getInlineThreshold() 140 if (AllocaSize > ArgAllocaCutoff) { in getInlineThreshold() 141 AllocaSize = 0; in getInlineThreshold() 146 if (AllocaSize) in getInlineThreshold()
|
D | AMDGPUTargetTransformInfo.cpp | 160 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local 161 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-7.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 268 return IsAccessSafe(U, Len->getZExtValue(), AllocaPtr, AllocaSize); in IsMemIntrinsicSafe() 274 bool SafeStack::IsSafeStackAlloca(const Value *AllocaPtr, uint64_t AllocaSize) { in IsSafeStackAlloca() argument 292 AllocaSize)) in IsSafeStackAlloca() 309 AllocaPtr, AllocaSize)) in IsSafeStackAlloca() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 229 unsigned AllocaSize; member in __anonafddda8d0211::ConvertToScalarInfo 268 : AllocaSize(Size), TD(td), IsNotTrivial(false), ScalarKind(Unknown), in ConvertToScalarInfo() 301 if (ScalarKind == Vector && VectorTy->getBitWidth() != AllocaSize * 8) in TryConvert() 317 unsigned BitWidth = AllocaSize * 8; in TryConvert() 364 if (EltSize == AllocaSize) in MergeInTypeForLoadOrStore() 370 if (Offset % EltSize == 0 && AllocaSize % EltSize == 0 && in MergeInTypeForLoadOrStore() 375 VectorTy = VectorType::get(In, AllocaSize/EltSize); in MergeInTypeForLoadOrStore() 390 if (VInTy->getBitWidth()/8 == AllocaSize && Offset == 0) { in MergeInVectorType() 482 if (Len->getZExtValue() != AllocaSize || Offset != 0) in CanConvertToScalar() 494 if (Len == 0 || Len->getZExtValue() != AllocaSize || Offset != 0) in CanConvertToScalar() [all …]
|
/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.cpp | 704 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-7.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 4179 uint64_t AllocaSize = DL.getTypeAllocSize(AI.getAllocatedType()); in splitAlloca() local 4181 if (AllocaSize <= MaxBitVectorSize) { in splitAlloca() 4184 SmallBitVector SplittableOffset(AllocaSize + 1, true); in splitAlloca() 4187 O < S.endOffset() && O < AllocaSize; O++) in splitAlloca() 4194 if ((S.beginOffset() > AllocaSize || SplittableOffset[S.beginOffset()]) && in splitAlloca() 4195 (S.endOffset() > AllocaSize || SplittableOffset[S.endOffset()])) in splitAlloca() 4212 if (S.beginOffset() == 0 && S.endOffset() >= AllocaSize) in splitAlloca() 4243 uint64_t AllocaSize = DL.getTypeSizeInBits(NewAI->getAllocatedType()); in splitAlloca() local 4245 uint64_t Size = std::min(AllocaSize, P.size() * SizeOfByte); in splitAlloca() 4263 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-7.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1924 ConstantInt *AllocaSize = nullptr; in InlineFunction() local 1941 AllocaSize = ConstantInt::get(Type::getInt64Ty(AI->getContext()), in InlineFunction() 1946 builder.CreateLifetimeStart(AI, AllocaSize); in InlineFunction() 1956 IRBuilder<>(RI).CreateLifetimeEnd(AI, AllocaSize); in InlineFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 178 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() local 179 if (!AllocaSize) in isDereferenceableForAllocaSize() 182 APInt(64, AllocaSize), DL); in isDereferenceableForAllocaSize()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceCfg.cpp | 976 Operand *AllocaSize = Ctx->getConstantInt32(TotalSize); in sortAndCombineAllocas() local 978 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()
|