| /freebsd-10-stable/contrib/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() 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 …]
|
| D | MemCpyOptimizer.cpp | 605 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/ |
| D | InstCombineLoadStoreAlloca.cpp | 170 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()
|
| D | InstCombineCasts.cpp | 90 Type *AllocElTy = AI.getAllocatedType(); in PromoteCastOfAllocation()
|
| /freebsd-10-stable/contrib/llvm/lib/Analysis/ |
| D | MemoryBuiltins.cpp | 442 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()
|
| D | Loads.cpp | 69 BaseType = AI->getAllocatedType(); in isSafeToLoadUnconditionally()
|
| D | Lint.cpp | 426 Type *ATy = AI->getAllocatedType(); in visitMemoryReference()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
| D | CGCXXABI.cpp | 148 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 182 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| D | CGExprCXX.cpp | 467 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()
|
| D | MicrosoftCXXABI.cpp | 1104 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| /freebsd-10-stable/contrib/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()
|
| /freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| D | FunctionLoweringInfo.cpp | 81 Type *Ty = AI->getAllocatedType(); in set() 110 AI->getAllocatedType()), in set()
|
| /freebsd-10-stable/contrib/llvm/lib/CodeGen/ |
| D | StackProtector.cpp | 223 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector()
|
| D | ShadowStackGC.cpp | 263 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
|
| /freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/ |
| D | PromoteMemoryToRegister.cpp | 635 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 946 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| D | InlineFunction.cpp | 687 Type *AllocaType = AI->getAllocatedType(); in InlineFunction()
|
| /freebsd-10-stable/contrib/llvm/patches/ |
| D | patch-r263312-llvm-r202930-fix-alloca-esi-clobber.diff | 94 + AI->getAllocatedType()),
|
| /freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/ |
| D | AddressSanitizer.cpp | 520 AI.getAllocatedType()->isSized()); in isInterestingAlloca() 527 Type *Ty = AI->getAllocatedType(); in getAllocaSizeInBytes()
|
| /freebsd-10-stable/contrib/llvm/lib/Analysis/IPA/ |
| D | InlineCost.cpp | 295 Type *Ty = I.getAllocatedType(); in visitAlloca()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/ |
| D | StmtProfile.cpp | 911 VisitType(S->getAllocatedType()); in VisitCXXNewExpr()
|
| D | StmtPrinter.cpp | 1568 E->getAllocatedType().print(OS, Policy, TypeS); in VisitCXXNewExpr()
|
| /freebsd-10-stable/contrib/llvm/tools/lldb/source/Expression/ |
| D | IRInterpreter.cpp | 764 Type *T = alloca_inst->getAllocatedType(); in Interpret()
|
| /freebsd-10-stable/contrib/llvm/lib/IR/ |
| D | Instructions.cpp | 906 Type *AllocaInst::getAllocatedType() const { in getAllocatedType() function in AllocaInst 3536 return new AllocaInst(getAllocatedType(), in clone_impl()
|
| D | AsmWriter.cpp | 1968 TypePrinter.print(AI->getAllocatedType(), Out); in printInstruction()
|