Searched refs:getAllocatedType (Results 1 - 25 of 39) sorted by relevance

12

/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1463 Type *T = AI->getAllocatedType();
1502 if (AI->isArrayAllocation() || !AI->getAllocatedType()->isSized())
1509 uint64_t AllocaSize = DL.getTypeAllocSize(AI->getAllocatedType());
1554 if (StructType *ST = dyn_cast<StructType>(AI->getAllocatedType())) {
1564 ArrayType *AT = cast<ArrayType>(AI->getAllocatedType());
1753 if (!TypeHasComponent(Info.AI->getAllocatedType(), Offset, NonConstantIdxSize,
1812 MemSize == DL.getTypeAllocSize(Info.AI->getAllocatedType())) {
1828 if (isCompatibleAggregate(MemOpType, Info.AI->getAllocatedType())) {
1834 Type *T = Info.AI->getAllocatedType();
1902 if (Offset == 0 && MemSize == DL.getTypeAllocSize(AI->getAllocatedType()))
[all...]
H A DSROA.cpp638 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {}
2225 NewAllocaTy(NewAI.getAllocatedType()),
2229 DL.getTypeSizeInBits(NewAI.getAllocatedType()))
2333 NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType());
2631 Type *AllocaTy = NewAI.getAllocatedType();
2764 SliceSize != DL.getTypeStoreSize(NewAI.getAllocatedType()) ||
2765 !NewAI.getAllocatedType()->isSingleValueType());
3826 if (Type *TypePartitionTy = getTypePartition(DL, AI.getAllocatedType(),
3849 if (SliceTy == AI.getAllocatedType()) {
3862 Alignment = DL.getABITypeAlignment(AI.getAllocatedType());
[all...]
H A DMemCpyOptimizer.cpp613 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) *
628 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) *
659 srcAlign = DL.getABITypeAlignment(srcAlloca->getAllocatedType());
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp183 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue());
228 if (AI.getAllocatedType()->isSized()) {
231 AI.setAlignment(DL.getPrefTypeAlignment(AI.getAllocatedType()));
236 if (DL.getTypeAllocSize(AI.getAllocatedType()) == 0) {
253 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() ||
254 DL.getTypeAllocSize(EntryAI->getAllocatedType()) != 0) {
263 DL.getPrefTypeAlignment(EntryAI->getAllocatedType()));
619 if (!AI->getAllocatedType()->isSized())
626 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType());
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp154 Type *AllocaTy = Alloca->getAllocatedType();
285 Type *AllocaTy = I.getAllocatedType();
316 Type *GVTy = ArrayType::get(I.getAllocatedType(), 256);
/external/clang/lib/CodeGen/
H A DCGCXXABI.cpp196 return getArrayCookieSizeImpl(expr->getAllocatedType());
230 return expr->getAllocatedType().isDestructedType();
H A DCGExprCXX.cpp547 QualType type = e->getAllocatedType();
855 QualType AllocType = E->getAllocatedType();
1099 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr);
1310 QualType allocType = getContext().getBaseElementType(E->getAllocatedType());
/external/llvm/lib/Analysis/
H A DLoads.cpp85 BaseType = AI->getAllocatedType();
H A DMemoryBuiltins.cpp444 if (!I.getAllocatedType()->isSized())
447 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType()));
674 if (!I.getAllocatedType()->isSized())
681 DL.getTypeAllocSize(I.getAllocatedType()));
H A DInlineCost.cpp298 Type *Ty = I.getAllocatedType();
307 Type *Ty = I.getAllocatedType();
H A DLint.cpp428 Type *ATy = AI->getAllocatedType();
/external/llvm/lib/Transforms/Instrumentation/
H A DSafeStack.cpp200 uint64_t Size = DL->getTypeAllocSize(AI->getAllocatedType());
503 Type *Ty = AI->getAllocatedType();
556 Type *Ty = AI->getAllocatedType();
610 Type *Ty = AI->getAllocatedType();
H A DAddressSanitizer.cpp420 Type *Ty = AI->getAllocatedType();
859 (AI.getAllocatedType()->isSized() &&
2101 F.getParent()->getDataLayout().getTypeAllocSize(AI->getAllocatedType());
/external/llvm/lib/Transforms/IPO/
H A DInliner.cpp198 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType());
244 unsigned TypeAlign = DL.getABITypeAlignment(AI->getAllocatedType());
H A DMergeFunctions.cpp918 if (int Res = cmpTypes(AI->getAllocatedType(),
919 cast<AllocaInst>(R)->getAllocatedType()))
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp240 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) {
H A DShadowStackGCLowering.cpp254 EltTys.push_back(Roots[I].second->getAllocatedType());
/external/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp638 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType());
860 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB),
H A DValueMapper.cpp476 AI->setAllocatedType(TypeMapper->remapType(AI->getAllocatedType()));
H A DInlineFunction.cpp1366 Type *AllocaType = AI->getAllocatedType();
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp107 Type *Ty = AI->getAllocatedType();
/external/clang/lib/AST/
H A DStmtPrinter.cpp2038 E->getAllocatedType().print(OS, Policy, TypeS);
H A DStmtProfile.cpp1247 VisitType(S->getAllocatedType());
/external/llvm/lib/IR/
H A DVerifier.cpp2806 Assert(AI.getAllocatedType()->isSized(&Visited),
3545 if (!AI->getAllocatedType()->isPointerTy()) {
/external/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp930 if (!NE->getAllocatedType()->getAsCXXRecordDecl())

Completed in 1972 milliseconds

12