Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUInline.cpp126 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()
DAMDGPUTargetTransformInfo.cpp160 unsigned AllocaSize = Ty->isSized() ? DL.getTypeAllocSize(Ty) : 0; in getUnrollingPreferences() local
161 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-7.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
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/
DScalarReplAggregates.cpp229 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/
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-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp4179 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/
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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1924 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/
DInstCombineLoadStoreAlloca.cpp178 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/
DIceCfg.cpp976 Operand *AllocaSize = Ctx->getConstantInt32(TotalSize); in sortAndCombineAllocas() local
978 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()