/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1462 Type *T = AI->getAllocatedType(); in ShouldAttemptScalarRepl() 1501 if (AI->isArrayAllocation() || !AI->getAllocatedType()->isSized()) in performScalarRepl() 1508 uint64_t AllocaSize = DL.getTypeAllocSize(AI->getAllocatedType()); in performScalarRepl() 1553 if (StructType *ST = dyn_cast<StructType>(AI->getAllocatedType())) { in DoScalarReplacement() 1563 ArrayType *AT = cast<ArrayType>(AI->getAllocatedType()); in DoScalarReplacement() 1752 if (!TypeHasComponent(Info.AI->getAllocatedType(), Offset, NonConstantIdxSize, in isSafeGEP() 1811 MemSize == DL.getTypeAllocSize(Info.AI->getAllocatedType())) { in isSafeMemAccess() 1827 if (isCompatibleAggregate(MemOpType, Info.AI->getAllocatedType())) { in isSafeMemAccess() 1833 Type *T = Info.AI->getAllocatedType(); in isSafeMemAccess() 1901 if (Offset == 0 && MemSize == DL.getTypeAllocSize(AI->getAllocatedType())) in RewriteForScalarRepl() [all …]
|
D | SROA.cpp | 642 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {} in SliceBuilder() 2429 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2433 DL.getTypeSizeInBits(NewAI.getAllocatedType())) in AllocaSliceRewriter() 2537 NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType()); in getSliceAlign() 2786 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 2919 SliceSize != DL.getTypeStoreSize(NewAI.getAllocatedType()) || in visitMemTransferInst() 2920 !NewAI.getAllocatedType()->isSingleValueType()); in visitMemTransferInst() 3986 if (Type *TypePartitionTy = getTypePartition(DL, AI.getAllocatedType(), in rewritePartition() 4009 if (SliceTy == AI.getAllocatedType()) { in rewritePartition() 4022 Alignment = DL.getABITypeAlignment(AI.getAllocatedType()); in rewritePartition() [all …]
|
D | MemCpyOptimizer.cpp | 611 uint64_t srcSize = DL.getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() 626 uint64_t destSize = DL.getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn() 657 srcAlign = DL.getABITypeAlignment(srcAlloca->getAllocatedType()); in performCallSlotOptzn()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 182 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 227 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 230 AI.setAlignment(DL.getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst() 235 if (DL.getTypeAllocSize(AI.getAllocatedType()) == 0) { in visitAllocaInst() 252 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 253 DL.getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst() 262 DL.getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst() 538 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 545 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
D | InstCombineCasts.cpp | 89 Type *AllocElTy = AI.getAllocatedType(); in PromoteCastOfAllocation()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUPromoteAlloca.cpp | 150 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() 267 Type *AllocaTy = I.getAllocatedType(); in visitAlloca() 298 Type *GVTy = ArrayType::get(I.getAllocatedType(), 256); in visitAlloca()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 429 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 432 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 662 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 669 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
D | Loads.cpp | 79 BaseType = AI->getAllocatedType(); in isSafeToLoadUnconditionally()
|
D | Lint.cpp | 442 Type *ATy = AI->getAllocatedType(); in visitMemoryReference()
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 182 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 216 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
D | CGExprCXX.cpp | 506 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 812 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 1029 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr); in EmitNewInitializer() 1240 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
D | CGObjC.cpp | 123 Builder.CreateStructGEP(Objects->getAllocatedType(), Objects, i), in EmitObjCCollectionLiteral() 135 Builder.CreateStructGEP(Keys->getAllocatedType(), Keys, i), in EmitObjCCollectionLiteral() 143 Builder.CreateStructGEP(Objects->getAllocatedType(), Objects, i), in EmitObjCCollectionLiteral() 1519 StatePtr->getAllocatedType(), StatePtr, 2, "mutationsptr.ptr"); in EmitObjCForCollectionStmt() 1600 StatePtr->getAllocatedType(), StatePtr, 1, "stateitems.ptr"); in EmitObjCForCollectionStmt()
|
D | CGCall.cpp | 3066 Builder.CreateStructGEP(ArgMemory->getAllocatedType(), ArgMemory, in EmitCall() 3102 Builder.CreateStructGEP(ArgMemory->getAllocatedType(), ArgMemory, in EmitCall() 3109 Builder.CreateStructGEP(ArgMemory->getAllocatedType(), ArgMemory, in EmitCall()
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 182 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible() 221 unsigned TypeAlign = DL.getABITypeAlignment(AI->getAllocatedType()); in InlineCallIfPossible()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 130 Type *Ty = AI->getAllocatedType(); in set() 145 AI->getAllocatedType()), in set()
|
/external/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 240 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector()
|
D | ShadowStackGCLowering.cpp | 250 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
|
/external/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 639 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 953 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
D | InlineFunction.cpp | 1167 Type *AllocaType = AI->getAllocatedType(); in InlineFunction()
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 280 Type *Ty = I.getAllocatedType(); in visitAlloca() 289 Type *Ty = I.getAllocatedType(); in visitAlloca()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 398 Type *Ty = AI->getAllocatedType(); in getAllocaSizeInBytes() 814 bool IsInteresting = (AI.getAllocatedType()->isSized() && in isInterestingAlloca() 2033 F.getParent()->getDataLayout().getTypeAllocSize(AI->getAllocatedType()); in handleDynamicAllocaCall()
|
/external/lldb/source/Expression/ |
D | IRInterpreter.cpp | 756 Type *T = alloca_inst->getAllocatedType(); in Interpret()
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 1143 VisitType(S->getAllocatedType()); in VisitCXXNewExpr()
|
D | StmtPrinter.cpp | 1853 E->getAllocatedType().print(OS, Policy, TypeS); in VisitCXXNewExpr()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 907 Type *AllocaInst::getAllocatedType() const { in getAllocatedType() function in AllocaInst 3539 AllocaInst *Result = new AllocaInst(getAllocatedType(), in clone_impl()
|