| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRefTypeMem2Local.cpp | 60 if (WebAssembly::isWebAssemblyReferenceType(AI.getAllocatedType())) { in visitAllocaInst() 64 auto *NewAI = IRB.CreateAlloca(AI.getAllocatedType(), in visitAllocaInst()
|
| H A D | WebAssemblyFrameLowering.cpp | 74 ComputeValueVTs(TLI, MF.getDataLayout(), AI->getAllocatedType(), ValueVTs); in getLocalForStackObject()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MemoryTaggingSupport.cpp | 182 return (AI.getAllocatedType()->isSized() && in isInterestingAlloca() 184 !AI.getAllocatedType()->isScalableTy() && in isInterestingAlloca() 220 Info.AI->getAllocatedType(), in alignAndPadAlloca() 222 : Info.AI->getAllocatedType(); in alignAndPadAlloca()
|
| H A D | PromoteMemoryToRegister.cpp | 71 if (LI->isVolatile() || LI->getType() != AI->getAllocatedType()) in isAllocaPromotable() 75 SI->getValueOperand()->getType() != AI->getAllocatedType()) in isAllocaPromotable() 854 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); in run() 1078 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| H A D | FunctionComparator.cpp | 666 if (int Res = cmpTypes(AI->getAllocatedType(), in cmpOperations() 667 cast<AllocaInst>(R)->getAllocatedType())) in cmpOperations()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 190 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() 212 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 465 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 469 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinValue() == 0) { in visitAllocaInst() 485 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 486 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 841 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 848 TypeSize TS = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1031 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType()).getFixedValue()), in SliceBuilder() 2683 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2687 DL.getTypeSizeInBits(NewAI.getAllocatedType()) in AllocaSliceRewriter() 2821 LoadInst *Load = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedLoadInst() 2832 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad() 2879 LoadInst *NewLI = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), NewPtr, in visitLoadInst() 2987 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedStoreInst() 3011 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerStore() 3163 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 3226 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemSetInst() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 73 auto ETy = allocaInst->getAllocatedType(); in runOnFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 75 QualType ElementType = NE->getAllocatedType(); in getExtentSizeOfNewTarget() 278 QualType AllocatedT = NE->getAllocatedType(); in checkPlaceIsAlignedProperly()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 335 const unsigned AllocaCost = DL->getTypeSizeInBits(AI->getAllocatedType()); in run() 383 const unsigned Size = DL.getTypeStoreSize(AI->getAllocatedType()); in isSupportedMemset() 735 Type *AllocaTy = Alloca.getAllocatedType(); in tryPromoteAllocaToVector() 802 if (Ptr == &Alloca && DL->getTypeStoreSize(Alloca.getAllocatedType()) == in tryPromoteAllocaToVector() 1433 DL.getValueOrABITypeAlignment(I.getAlign(), I.getAllocatedType()); in tryPromoteAllocaToLDS() 1443 WorkGroupSize * DL.getTypeAllocSize(I.getAllocatedType()); in tryPromoteAllocaToLDS() 1465 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize); in tryPromoteAllocaToLDS()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 201 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences() 1272 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getCallArgsTotalAllocaSize() 1321 auto ArgAllocaSize = DL.getTypeAllocSize(AI->getAllocatedType()); in getCallerAllocaCost()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 218 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 252 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| H A D | CGExprCXX.cpp | 710 QualType type = e->getAllocatedType(); in EmitCXXNewAllocSize() 1099 QualType AllocType = E->getAllocatedType(); in EmitNewArrayInitializer() 1325 StoreAnyExprIntoOneUnit(CGF, Init, E->getAllocatedType(), NewPtr, in EmitNewInitializer() 1576 QualType allocType = getContext().getBaseElementType(E->getAllocatedType()); in EmitCXXNewExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 207 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType()); in getStaticAllocaAllocationSize() 512 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 532 Type *Ty = AI->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 667 Type *Ty = AI->getAllocatedType(); in moveDynamicAllocasToUnsafeStack()
|
| H A D | StackProtector.cpp | 453 if (ContainsProtectableArray(AI->getAllocatedType(), M, SSPBufferSize, in CreatePrologue() 473 AI, M->getDataLayout().getTypeAllocSize(AI->getAllocatedType()), in InsertStackProtectors()
|
| H A D | GCRootLowering.cpp | 183 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
|
| H A D | ShadowStackGCLowering.cpp | 208 EltTys.push_back(Root.second->getAllocatedType()); in doInitialization()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | TypeFinder.cpp | 82 incorporateType(AI->getAllocatedType()); in run()
|
| H A D | Instruction.cpp | 794 return AI->getAllocatedType() == cast<AllocaInst>(I2)->getAllocatedType() && in hasSameSpecialState()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 38 PointeeTy = Inst->getAllocatedType(); in classifyPointerType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 781 TypeSize ElemSize = DL.getTypeAllocSize(I.getAllocatedType()); in visitAllocaInst() 1138 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 1142 assert(I.isArrayAllocation() || I.getAllocatedType()->isScalableTy()); in visitAllocaInst() 1153 ArraySize->getType(), DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 770 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in addStateStores() 782 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(),
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfo.h | 347 SizeInBits == DL.getTypeSizeInBits(Base->getAllocatedType())) {}
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ExpandVariadics.cpp | 330 StructType *VarargsTy = cast<StructType>(Alloced->getAllocatedType()); in initializeStructAlloca() 767 assert(Alloced->getAllocatedType() == VarargsTy); in expandCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 137 Type *Ty = AI->getAllocatedType(); in set()
|