Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1454 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 …]
DSROA.cpp330 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), S(S) {} in SliceBuilder()
1957 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter()
1964 DL.getTypeSizeInBits(NewAI.getAllocatedType())) in AllocaSliceRewriter()
2036 NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType()); in getOffsetAlign()
2323 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst()
2476 !NewAI.getAllocatedType()->isSingleValueType()); in visitMemTransferInst()
3066 if (Type *TypePartitionTy = getTypePartition(*DL, AI.getAllocatedType(), in rewritePartition()
3089 if (SliceTy == AI.getAllocatedType()) { in rewritePartition()
3101 Alignment = DL->getABITypeAlignment(AI.getAllocatedType()); in rewritePartition()
3345 if (AI.isArrayAllocation() || !AI.getAllocatedType()->isSized() || in runOnAlloca()
[all …]
DMemCpyOptimizer.cpp605 uint64_t srcSize = TD->getTypeAllocSize(srcAlloca->getAllocatedType()) * in performCallSlotOptzn()
620 uint64_t destSize = TD->getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn()
649 srcAlign = TD->getABITypeAlignment(srcAlloca->getAllocatedType()); in performCallSlotOptzn()
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp170 ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in visitAllocaInst()
200 if (TD && AI.getAllocatedType()->isSized()) { in visitAllocaInst()
203 AI.setAlignment(TD->getPrefTypeAlignment(AI.getAllocatedType())); in visitAllocaInst()
208 if (TD->getTypeAllocSize(AI.getAllocatedType()) == 0) { in visitAllocaInst()
225 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst()
226 TD->getTypeAllocSize(EntryAI->getAllocatedType()) != 0) { in visitAllocaInst()
235 TD->getPrefTypeAlignment(EntryAI->getAllocatedType())); in visitAllocaInst()
DInstCombineCasts.cpp90 Type *AllocElTy = AI.getAllocatedType(); in PromoteCastOfAllocation()
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DMemoryBuiltins.cpp442 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
445 APInt Size(IntTyBits, DL->getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
672 if (!I.getAllocatedType()->isSized()) in visitAllocaInst()
679 DL->getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
DLoads.cpp69 BaseType = AI->getAllocatedType(); in isSafeToLoadUnconditionally()
DLint.cpp426 Type *ATy = AI->getAllocatedType(); in visitMemoryReference()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGCXXABI.cpp148 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize()
182 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
DCGExprCXX.cpp467 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize()
776 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer()
859 StoreAnyExprIntoOneUnit(*this, Init, E->getAllocatedType(), curPtr); in EmitNewArrayInitializer()
928 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr); in EmitNewInitializer()
1121 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
DMicrosoftCXXABI.cpp1104 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
/freebsd-10-stable/contrib/llvm/lib/Transforms/IPO/
DInliner.cpp178 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in InlineCallIfPossible()
222 unsigned TypeAlign = TD->getABITypeAlignment(AI->getAllocatedType()); in InlineCallIfPossible()
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp81 Type *Ty = AI->getAllocatedType(); in set()
110 AI->getAllocatedType()), in set()
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
DStackProtector.cpp223 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector()
DShadowStackGC.cpp263 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp635 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run()
946 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
DInlineFunction.cpp687 Type *AllocaType = AI->getAllocatedType(); in InlineFunction()
/freebsd-10-stable/contrib/llvm/patches/
Dpatch-r263312-llvm-r202930-fix-alloca-esi-clobber.diff94 + AI->getAllocatedType()),
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp520 AI.getAllocatedType()->isSized()); in isInterestingAlloca()
527 Type *Ty = AI->getAllocatedType(); in getAllocaSizeInBytes()
/freebsd-10-stable/contrib/llvm/lib/Analysis/IPA/
DInlineCost.cpp295 Type *Ty = I.getAllocatedType(); in visitAlloca()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
DStmtProfile.cpp911 VisitType(S->getAllocatedType()); in VisitCXXNewExpr()
DStmtPrinter.cpp1568 E->getAllocatedType().print(OS, Policy, TypeS); in VisitCXXNewExpr()
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Expression/
DIRInterpreter.cpp764 Type *T = alloca_inst->getAllocatedType(); in Interpret()
/freebsd-10-stable/contrib/llvm/lib/IR/
DInstructions.cpp906 Type *AllocaInst::getAllocatedType() const { in getAllocatedType() function in AllocaInst
3536 return new AllocaInst(getAllocatedType(), in clone_impl()
DAsmWriter.cpp1968 TypePrinter.print(AI->getAllocatedType(), Out); in printInstruction()

12