Searched refs:getAllocatedType (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1454 Type *T = AI->getAllocatedType();
1492 if (AI->isArrayAllocation() || !AI->getAllocatedType()->isSized())
1499 uint64_t AllocaSize = TD->getTypeAllocSize(AI->getAllocatedType());
1543 if (StructType *ST = dyn_cast<StructType>(AI->getAllocatedType())) {
1553 ArrayType *AT = cast<ArrayType>(AI->getAllocatedType());
1740 if (!TypeHasComponent(Info.AI->getAllocatedType(), Offset,
1798 MemSize == TD->getTypeAllocSize(Info.AI->getAllocatedType())) {
1814 if (isCompatibleAggregate(MemOpType, Info.AI->getAllocatedType())) {
1820 Type *T = Info.AI->getAllocatedType();
1887 MemSize == TD->getTypeAllocSize(AI->getAllocatedType()))
[all...]
H A DSROA.cpp330 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), S(S) {}
1957 NewAllocaTy(NewAI.getAllocatedType()),
1964 DL.getTypeSizeInBits(NewAI.getAllocatedType()))
2036 NewAIAlign = DL.getABITypeAlignment(NewAI.getAllocatedType());
2323 Type *AllocaTy = NewAI.getAllocatedType();
2476 !NewAI.getAllocatedType()->isSingleValueType());
3066 if (Type *TypePartitionTy = getTypePartition(*DL, AI.getAllocatedType(),
3089 if (SliceTy == AI.getAllocatedType()) {
3101 Alignment = DL->getABITypeAlignment(AI.getAllocatedType());
3345 if (AI.isArrayAllocation() || !AI.getAllocatedType()
[all...]
H A DMemCpyOptimizer.cpp605 uint64_t srcSize = TD->getTypeAllocSize(srcAlloca->getAllocatedType()) *
620 uint64_t destSize = TD->getTypeAllocSize(A->getAllocatedType()) *
649 srcAlign = TD->getABITypeAlignment(srcAlloca->getAllocatedType());
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp170 ArrayType::get(AI.getAllocatedType(), C->getZExtValue());
200 if (TD && AI.getAllocatedType()->isSized()) {
203 AI.setAlignment(TD->getPrefTypeAlignment(AI.getAllocatedType()));
208 if (TD->getTypeAllocSize(AI.getAllocatedType()) == 0) {
225 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() ||
226 TD->getTypeAllocSize(EntryAI->getAllocatedType()) != 0) {
235 TD->getPrefTypeAlignment(EntryAI->getAllocatedType()));
H A DInstCombineCasts.cpp90 Type *AllocElTy = AI.getAllocatedType();
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DLoads.cpp69 BaseType = AI->getAllocatedType();
H A DMemoryBuiltins.cpp442 if (!I.getAllocatedType()->isSized())
445 APInt Size(IntTyBits, DL->getTypeAllocSize(I.getAllocatedType()));
672 if (!I.getAllocatedType()->isSized())
679 DL->getTypeAllocSize(I.getAllocatedType()));
H A DLint.cpp426 Type *ATy = AI->getAllocatedType();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCXXABI.cpp148 return getArrayCookieSizeImpl(expr->getAllocatedType());
182 return expr->getAllocatedType().isDestructedType();
H A DCGExprCXX.cpp467 QualType type = e->getAllocatedType();
776 QualType AllocType = E->getAllocatedType();
859 StoreAnyExprIntoOneUnit(*this, Init, E->getAllocatedType(), curPtr);
928 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr);
1121 QualType allocType = getContext().getBaseElementType(E->getAllocatedType());
H A DMicrosoftCXXABI.cpp1104 return expr->getAllocatedType().isDestructedType();
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/
H A DInliner.cpp178 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType());
222 unsigned TypeAlign = TD->getABITypeAlignment(AI->getAllocatedType());
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp81 Type *Ty = AI->getAllocatedType();
110 AI->getAllocatedType()),
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DStackProtector.cpp223 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) {
H A DShadowStackGC.cpp263 EltTys.push_back(Roots[I].second->getAllocatedType());
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp635 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType());
946 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB),
H A DInlineFunction.cpp687 Type *AllocaType = AI->getAllocatedType();
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp520 AI.getAllocatedType()->isSized());
527 Type *Ty = AI->getAllocatedType();
H A DMemorySanitizer.cpp2029 uint64_t Size = MS.TD->getTypeAllocSize(I.getAllocatedType());
/freebsd-9.3-release/contrib/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp295 Type *Ty = I.getAllocatedType();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DStmtProfile.cpp911 VisitType(S->getAllocatedType());
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DInstructions.cpp906 Type *AllocaInst::getAllocatedType() const { function in class:AllocaInst
3536 return new AllocaInst(getAllocatedType(),
H A DAsmWriter.cpp1968 TypePrinter.print(AI->getAllocatedType(), Out);
/freebsd-9.3-release/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp1291 << getCppName(allocaI->getAllocatedType()) << ", ";
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DInstructions.h95 /// getAllocatedType - Return the type that is being allocated by the
98 Type *getAllocatedType() const;

Completed in 338 milliseconds

12