/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1452 Type *T = AI->getAllocatedType(); in ShouldAttemptScalarRepl() 1490 if (AI->isArrayAllocation() || !AI->getAllocatedType()->isSized()) in performScalarRepl() 1497 uint64_t AllocaSize = DL->getTypeAllocSize(AI->getAllocatedType()); in performScalarRepl() 1541 if (StructType *ST = dyn_cast<StructType>(AI->getAllocatedType())) { in DoScalarReplacement() 1551 ArrayType *AT = cast<ArrayType>(AI->getAllocatedType()); in DoScalarReplacement() 1736 if (!TypeHasComponent(Info.AI->getAllocatedType(), Offset, in isSafeGEP() 1794 MemSize == DL->getTypeAllocSize(Info.AI->getAllocatedType())) { in isSafeMemAccess() 1810 if (isCompatibleAggregate(MemOpType, Info.AI->getAllocatedType())) { in isSafeMemAccess() 1816 Type *T = Info.AI->getAllocatedType(); in isSafeMemAccess() 1883 MemSize == DL->getTypeAllocSize(AI->getAllocatedType())) in RewriteForScalarRepl() [all …]
|
D | SROA.cpp | 348 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), S(S) {} in SliceBuilder() 2051 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2058 DL.getTypeSizeInBits(NewAI.getAllocatedType())) in AllocaSliceRewriter() 2156 NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType()); in getSliceAlign() 2408 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 2541 !NewAI.getAllocatedType()->isSingleValueType()); in visitMemTransferInst() 3122 if (Type *TypePartitionTy = getTypePartition(*DL, AI.getAllocatedType(), in rewritePartition() 3145 if (SliceTy == AI.getAllocatedType()) { in rewritePartition() 3157 Alignment = DL->getABITypeAlignment(AI.getAllocatedType()); in rewritePartition() 3428 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() || in runOnAlloca() [all …]
|
D | MemCpyOptimizer.cpp | 613 uint64_t srcSize = DL->getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() 628 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 ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in visitAllocaInst() 212 if (DL && AI.getAllocatedType()->isSized()) { in visitAllocaInst() 215 AI.setAlignment(DL->getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst() 220 if (DL->getTypeAllocSize(AI.getAllocatedType()) == 0) { in visitAllocaInst() 237 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 238 DL->getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst() 247 DL->getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst()
|
D | InstCombineCasts.cpp | 92 Type *AllocElTy = AI.getAllocatedType(); in PromoteCastOfAllocation()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUPromoteAlloca.cpp | 149 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() 256 Type *AllocaTy = I.getAllocatedType(); in visitAlloca() 281 *Mod, ArrayType::get(I.getAllocatedType(), 256), false, in visitAlloca()
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 182 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 216 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
D | CGExprCXX.cpp | 469 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 778 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 994 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr); in EmitNewInitializer() 1205 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 445 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 448 APInt Size(IntTyBits, DL->getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 679 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 686 DL->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 | 187 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible() 231 unsigned TypeAlign = DL->getABITypeAlignment(AI->getAllocatedType()); in InlineCallIfPossible()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 85 Type *Ty = AI->getAllocatedType(); in set() 107 AI->getAllocatedType()), in set()
|
/external/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 245 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector()
|
D | ShadowStackGC.cpp | 264 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
|
/external/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 632 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 943 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
D | InlineFunction.cpp | 750 Type *AllocaType = AI->getAllocatedType(); in InlineFunction()
|
/external/llvm/lib/Analysis/IPA/ |
D | InlineCost.cpp | 279 Type *Ty = I.getAllocatedType(); in visitAlloca() 287 Type *Ty = I.getAllocatedType(); in visitAlloca()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 561 AI.getAllocatedType()->isSized() && in isInterestingAlloca() 567 Type *Ty = AI->getAllocatedType(); in getAllocaSizeInBytes()
|
/external/lldb/source/Expression/ |
D | IRInterpreter.cpp | 756 Type *T = alloca_inst->getAllocatedType(); in Interpret()
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 1003 VisitType(S->getAllocatedType()); in VisitCXXNewExpr()
|
D | StmtPrinter.cpp | 1742 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 3586 AllocaInst *Result = new AllocaInst(getAllocatedType(), in clone_impl()
|
D | AsmWriter.cpp | 2012 TypePrinter.print(AI->getAllocatedType(), Out); in printInstruction()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 1308 << getCppName(allocaI->getAllocatedType()) << ", "; in printInstruction()
|