| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 163 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() 185 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 357 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 361 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinSize() == 0) { in visitAllocaInst() 377 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 378 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 416 auto *DestTy = PointerType::get(AI.getAllocatedType(), SrcAddrSpace); in visitAllocaInst() 773 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 780 uint64_t TypeSize = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 659 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType()).getFixedSize()), in SliceBuilder() 2342 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2346 DL.getTypeSizeInBits(NewAI.getAllocatedType()) in AllocaSliceRewriter() 2475 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedLoadInst() 2483 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad() 2529 LoadInst *NewLI = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitLoadInst() 2629 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedStoreInst() 2647 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerStore() 2797 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 2854 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemSetInst() [all …]
|
| H A D | RewriteStatepointsForGC.cpp | 1865 cast<AllocaInst>(Alloca)->getAllocatedType(), in insertRelocationStores() 1995 auto PT = cast<PointerType>(AI->getAllocatedType()); in relocationViaAlloca() 2044 new LoadInst(Alloca->getAllocatedType(), Alloca, "", in relocationViaAlloca() 2051 new LoadInst(Alloca->getAllocatedType(), Alloca, "", Use); in relocationViaAlloca()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 75 QualType ElementType = NE->getAllocatedType(); in getExtentSizeOfNewTarget() 278 QualType AllocatedT = NE->getAllocatedType(); in checkPlaceIsAlignedProperly()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 665 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 668 if (isa<ScalableVectorType>(I.getAllocatedType())) in visitAllocaInst() 671 APInt Size(IntTyBits, DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst() 954 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 968 DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 225 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType()); in getStaticAllocaAllocationSize() 518 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 538 Type *Ty = AI->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 667 Type *Ty = AI->getAllocatedType(); in moveDynamicAllocasToUnsafeStack()
|
| H A D | StackProtector.cpp | 339 if (ContainsProtectableArray(AI->getAllocatedType(), IsLarge, Strong)) { in RequiresStackProtector() 355 AI->getAllocatedType()))) { in RequiresStackProtector()
|
| H A D | GCRootLowering.cpp | 162 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
|
| H A D | ShadowStackGCLowering.cpp | 165 EltTys.push_back(Roots[I].second->getAllocatedType()); in GetConcreteStackEntryType()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 167 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 201 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| H A D | CGExprCXX.cpp | 696 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 1074 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 1300 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1556 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 415 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector() 856 Type *AllocaTy = I.getAllocatedType(); in handleAlloca() 891 DL.getValueOrABITypeAlignment(I.getAlign(), I.getAllocatedType()); in handleAlloca() 922 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize); in handleAlloca()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 195 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences() 1217 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in adjustInliningThreshold()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 419 AI.getAllocatedType()->isSized() && AI.isStaticAlloca() && in isInterestingAlloca() 502 Info.AI->getAllocatedType(), in alignAndPadAlloca() 504 : Info.AI->getAllocatedType(); in alignAndPadAlloca()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 774 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in addStateStores() 786 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in insertStateNumberStore()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Instruction.cpp | 411 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in haveSameSpecialState()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | PromoteMemoryToRegister.cpp | 648 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 864 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| H A D | FunctionComparator.cpp | 556 if (int Res = cmpTypes(AI->getAllocatedType(), in cmpOperations() 557 cast<AllocaInst>(R)->getAllocatedType())) in cmpOperations()
|
| H A D | Evaluator.cpp | 468 Type *Ty = AI->getAllocatedType(); in EvaluateBlock()
|
| H A D | Local.cpp | 1521 (AI->getAllocatedType() && AI->getAllocatedType()->isArrayTy()); in isArray() 1526 return AI->getAllocatedType() && AI->getAllocatedType()->isStructTy(); in isStructure()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/ |
| H A D | toy.cpp | 753 return Builder->CreateLoad(A->getAllocatedType(), A, Name.c_str()); in codegen() 966 Builder->CreateLoad(Alloca->getAllocatedType(), Alloca, VarName.c_str()); in codegen()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 887 Type *Ty = AI.getAllocatedType(); in getAllocaSizeInBytes() 1193 return (AI.getAllocatedType()->isSized() && in isInterestingAlloca() 1293 Type *AllocatedType = AI->getAllocatedType(); in sanitizeFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 137 Type *Ty = AI->getAllocatedType(); in set()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 443 Type *Ty = AI->getAllocatedType(); in addFieldForAlloca() 1705 auto *Value = Builder.CreateLoad(Alloca->getAllocatedType(), Alloca); in insertSpills() 2157 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | Inliner.cpp | 169 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); in mergeInlinedArrayAllocas()
|