/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1454 Type *T = AI->getAllocatedType(); in ShouldAttemptScalarRepl() 1492 if (AI->isArrayAllocation() || !AI->getAllocatedType()->isSized()) in performScalarRepl() 1499 uint64_t AllocaSize = TD->getTypeAllocSize(AI->getAllocatedType()); in performScalarRepl() 1543 if (StructType *ST = dyn_cast<StructType>(AI->getAllocatedType())) { in DoScalarReplacement() 1553 ArrayType *AT = cast<ArrayType>(AI->getAllocatedType()); in DoScalarReplacement() 1740 if (!TypeHasComponent(Info.AI->getAllocatedType(), Offset, in isSafeGEP() 1798 MemSize == TD->getTypeAllocSize(Info.AI->getAllocatedType())) { in isSafeMemAccess() 1814 if (isCompatibleAggregate(MemOpType, Info.AI->getAllocatedType())) { in isSafeMemAccess() 1820 Type *T = Info.AI->getAllocatedType(); in isSafeMemAccess() 1887 MemSize == TD->getTypeAllocSize(AI->getAllocatedType())) in RewriteForScalarRepl() [all …]
|
D | SROA.cpp | 330 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), S(S) {} in SliceBuilder() 1891 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 1898 DL.getTypeSizeInBits(NewAI.getAllocatedType())) in AllocaSliceRewriter() 1970 NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType()); in getOffsetAlign() 2257 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 2410 !NewAI.getAllocatedType()->isSingleValueType()); in visitMemTransferInst() 3000 if (Type *TypePartitionTy = getTypePartition(*DL, AI.getAllocatedType(), in rewritePartition() 3023 if (SliceTy == AI.getAllocatedType()) { in rewritePartition() 3035 Alignment = DL->getABITypeAlignment(AI.getAllocatedType()); in rewritePartition() 3279 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() || in runOnAlloca() [all …]
|
D | MemCpyOptimizer.cpp | 602 uint64_t srcSize = TD->getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() 617 uint64_t destSize = TD->getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn() 646 srcAlign = TD->getABITypeAlignment(srcAlloca->getAllocatedType()); in performCallSlotOptzn()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 170 ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in visitAllocaInst() 199 if (TD && AI.getAllocatedType()->isSized()) { in visitAllocaInst() 202 AI.setAlignment(TD->getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst() 207 if (TD->getTypeAllocSize(AI.getAllocatedType()) == 0) { in visitAllocaInst() 224 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 225 TD->getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst() 234 TD->getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst()
|
D | InstCombineCasts.cpp | 90 Type *AllocElTy = AI.getAllocatedType(); in PromoteCastOfAllocation()
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 148 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 182 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
D | CGExprCXX.cpp | 557 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 933 StoreAnyExprIntoOneUnit(*this, Init, E->getAllocatedType(), curPtr); in EmitNewArrayInitializer() 1002 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr); in EmitNewInitializer() 1195 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
D | MicrosoftCXXABI.cpp | 576 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 434 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 437 APInt Size(IntTyBits, TD->getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 661 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 668 TD->getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
D | Loads.cpp | 69 BaseType = AI->getAllocatedType(); in isSafeToLoadUnconditionally()
|
D | Lint.cpp | 426 Type *ATy = AI->getAllocatedType(); in visitMemoryReference()
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 178 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible() 222 unsigned TypeAlign = TD->getABITypeAlignment(AI->getAllocatedType()); in InlineCallIfPossible()
|
/external/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 97 AllocaTy = AI.getAllocatedType(); in analyzeAlloca() 701 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 1022 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
D | InlineFunction.cpp | 686 Type *AllocaType = AI->getAllocatedType(); in InlineFunction()
|
/external/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 254 if (ContainsProtectableArray(AI->getAllocatedType(), Strong)) in RequiresStackProtector()
|
D | ShadowStackGC.cpp | 263 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 79 Type *Ty = AI->getAllocatedType(); in set()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 495 AI.getAllocatedType()->isSized()); in isInterestingAlloca() 502 Type *Ty = AI->getAllocatedType(); in getAllocaSizeInBytes()
|
D | MemorySanitizer.cpp | 1713 uint64_t Size = MS.TD->getTypeAllocSize(I.getAllocatedType()); in visitAllocaInst()
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 286 Type *Ty = I.getAllocatedType(); in visitAlloca()
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 898 VisitType(S->getAllocatedType()); in VisitCXXNewExpr()
|
D | StmtPrinter.cpp | 1541 E->getAllocatedType().print(OS, Policy, TypeS); in VisitCXXNewExpr()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 906 Type *AllocaInst::getAllocatedType() const { in getAllocatedType() function in AllocaInst 3496 return new AllocaInst(getAllocatedType(), in clone_impl()
|
D | AsmWriter.cpp | 1965 TypePrinter.print(AI->getAllocatedType(), Out); in printInstruction()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 1292 << getCppName(allocaI->getAllocatedType()) << ", "; in printInstruction()
|