Home
last modified time | relevance | path

Searched refs:getAllocatedType (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1452 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 …]
DSROA.cpp348 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 …]
DMemCpyOptimizer.cpp613 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/
DInstCombineLoadStoreAlloca.cpp182 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()
DInstCombineCasts.cpp92 Type *AllocElTy = AI.getAllocatedType(); in PromoteCastOfAllocation()
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp149 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/
DCGCXXABI.cpp182 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize()
216 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
DCGExprCXX.cpp469 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/
DMemoryBuiltins.cpp445 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()
DLoads.cpp69 BaseType = AI->getAllocatedType(); in isSafeToLoadUnconditionally()
DLint.cpp426 Type *ATy = AI->getAllocatedType(); in visitMemoryReference()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp187 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible()
231 unsigned TypeAlign = DL->getABITypeAlignment(AI->getAllocatedType()); in InlineCallIfPossible()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp85 Type *Ty = AI->getAllocatedType(); in set()
107 AI->getAllocatedType()), in set()
/external/llvm/lib/CodeGen/
DStackProtector.cpp245 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector()
DShadowStackGC.cpp264 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp632 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run()
943 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
DInlineFunction.cpp750 Type *AllocaType = AI->getAllocatedType(); in InlineFunction()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp279 Type *Ty = I.getAllocatedType(); in visitAlloca()
287 Type *Ty = I.getAllocatedType(); in visitAlloca()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp561 AI.getAllocatedType()->isSized() && in isInterestingAlloca()
567 Type *Ty = AI->getAllocatedType(); in getAllocaSizeInBytes()
/external/lldb/source/Expression/
DIRInterpreter.cpp756 Type *T = alloca_inst->getAllocatedType(); in Interpret()
/external/clang/lib/AST/
DStmtProfile.cpp1003 VisitType(S->getAllocatedType()); in VisitCXXNewExpr()
DStmtPrinter.cpp1742 E->getAllocatedType().print(OS, Policy, TypeS); in VisitCXXNewExpr()
/external/llvm/lib/IR/
DInstructions.cpp907 Type *AllocaInst::getAllocatedType() const { in getAllocatedType() function in AllocaInst
3586 AllocaInst *Result = new AllocaInst(getAllocatedType(), in clone_impl()
DAsmWriter.cpp2012 TypePrinter.print(AI->getAllocatedType(), Out); in printInstruction()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1308 << getCppName(allocaI->getAllocatedType()) << ", "; in printInstruction()

12