/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 189 ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in visitAllocaInst() 218 if (TD && AI.getAllocatedType()->isSized()) { in visitAllocaInst() 221 AI.setAlignment(TD->getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst() 226 if (TD->getTypeAllocSize(AI.getAllocatedType()) == 0) { in visitAllocaInst() 243 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 244 TD->getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst() 253 std::max(TD->getPrefTypeAlignment(EntryAI->getAllocatedType()), in visitAllocaInst() 254 TD->getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst()
|
D | InstCombineCasts.cpp | 90 Type *AllocElTy = AI.getAllocatedType(); in PromoteCastOfAllocation()
|
/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() 1749 if (!TypeHasComponent(Info.AI->getAllocatedType(), Offset, in isSafeGEP() 1807 MemSize == TD->getTypeAllocSize(Info.AI->getAllocatedType())) { in isSafeMemAccess() 1823 if (isCompatibleAggregate(MemOpType, Info.AI->getAllocatedType())) { in isSafeMemAccess() 1829 Type *T = Info.AI->getAllocatedType(); in isSafeMemAccess() 1896 MemSize == TD->getTypeAllocSize(AI->getAllocatedType())) in RewriteForScalarRepl() [all …]
|
D | MemCpyOptimizer.cpp | 593 uint64_t srcSize = TD->getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn() 608 uint64_t destSize = TD->getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn()
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 150 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 184 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
D | MicrosoftCXXABI.cpp | 116 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
D | CGExprCXX.cpp | 552 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 923 StoreAnyExprIntoOneUnit(*this, Init, E->getAllocatedType(), curPtr); in EmitNewArrayInitializer() 992 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr); in EmitNewInitializer() 1154 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 419 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 422 APInt Size(IntTyBits, TD->getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 640 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 647 TD->getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
D | Loads.cpp | 98 BaseType = AI->getAllocatedType(); in isSafeToLoadUnconditionally()
|
/external/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 157 if (ContainsProtectableArray(AI->getAllocatedType())) in RequiresStackProtector()
|
D | ShadowStackGC.cpp | 263 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
|
/external/llvm/lib/Transforms/IPO/ |
D | Inliner.cpp | 149 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible()
|
/external/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 547 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 1002 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 82 Type *Ty = AI->getAllocatedType(); in set()
|
D | SelectionDAGBuilder.cpp | 3187 Type *Ty = I.getAllocatedType(); in visitAlloca()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 188 Type *Ty = AI->getAllocatedType(); in getAllocaSizeInBytes() 1062 if (!AI->getAllocatedType()->isSized()) continue; in poisonStackInFunction()
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 837 VisitType(S->getAllocatedType()); in VisitCXXNewExpr()
|
D | StmtPrinter.cpp | 1400 E->getAllocatedType().getAsStringInternal(TypeS, Policy); in VisitCXXNewExpr()
|
D | ItaniumMangle.cpp | 2504 mangleType(New->getAllocatedType()); in mangleExpression()
|
/external/llvm/lib/VMCore/ |
D | Instructions.cpp | 884 Type *AllocaInst::getAllocatedType() const { in getAllocatedType() function in AllocaInst 3393 return new AllocaInst(getAllocatedType(), in clone_impl()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 1281 << getCppName(allocaI->getAllocatedType()) << ", "; in printInstruction()
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 1514 QualType getAllocatedType() const { in getAllocatedType() function
|
/external/llvm/include/llvm/ |
D | Instructions.h | 99 Type *getAllocatedType() const;
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 7246 if (E->isArray() && !E->getAllocatedType()->isDependentType()) { in TransformCXXNewExpr() 7248 = SemaRef.Context.getBaseElementType(E->getAllocatedType()); in TransformCXXNewExpr()
|