| /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 | 72 ComputeValueVTs(TLI, MF.getDataLayout(), AI->getAllocatedType(), ValueVTs); in getLocalForStackObject()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MemoryTaggingSupport.cpp | 195 if (AI.getAllocatedType()->isSized() && in getAllocaInterestingness() 197 !AI.getAllocatedType()->isScalableTy() && in getAllocaInterestingness() 238 Info.AI->getAllocatedType(), in alignAndPadAlloca() 240 : Info.AI->getAllocatedType(); in alignAndPadAlloca()
|
| H A D | PromoteMemoryToRegister.cpp | 72 if (LI->isVolatile() || LI->getType() != AI->getAllocatedType()) in isAllocaPromotable() 76 SI->getValueOperand()->getType() != AI->getAllocatedType()) in isAllocaPromotable() 903 IncomingVals.init(i, UndefValue::get(Allocas[i]->getAllocatedType())); in run() 1120 PN = PHINode::Create(Allocas[AllocaNo]->getAllocatedType(), getNumPreds(BB), in QueuePhiNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILLegalizePass.cpp | 98 ElementType = AI->getAllocatedType(); in fixI8UseChain() 131 GEPType = AI->getAllocatedType(); in fixI8UseChain() 225 ElementType = AI->getAllocatedType(); in fixI8UseChain() 258 if (!AI || !AI->getAllocatedType()->isIntegerTy(8)) in upcastI8AllocasAndUses() 358 return dyn_cast<ArrayType>(Alloca->getAllocatedType()); in emitMemcpyExpansion() 417 Type *AllocatedTy = Alloca->getAllocatedType(); in emitMemsetExpansion()
|
| H A D | DXILDataScalarization.cpp | 131 Type *AllocatedType = AI.getAllocatedType(); in visitAllocaInst() 225 Type *ArrTy = ArrAlloca->getAllocatedType(); in dynamicallyLoadArray() 244 Type *ArrTy = ArrAlloca->getAllocatedType(); in replaceDynamicInsertElementInst() 314 Type *AllocatedType = Alloca->getAllocatedType(); in visitGetElementPtrInst()
|
| H A D | DXILFlattenArrays.cpp | 199 if (!isMultiDimensionalArray(AI.getAllocatedType())) in visitAllocaInst() 202 ArrayType *ArrType = cast<ArrayType>(AI.getAllocatedType()); in visitAllocaInst() 287 RootTy = Alloca->getAllocatedType(); in visitGetElementPtrInst()
|
| H A D | DXILPrepare.cpp | 165 ValTy = AI->getAllocatedType(); in maybeGenerateBitcast() 186 ValTy = AI->getAllocatedType(); in maybeGenerateBitcast()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenCXXExpr.cpp | 196 QualType type = e->getAllocatedType(); in emitCXXNewAllocSize() 244 storeAnyExprIntoOneUnit(cgf, init, e->getAllocatedType(), newPtr, in emitNewInitializer() 274 QualType allocType = getContext().getBaseElementType(e->getAllocatedType()); in emitCXXNewExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 178 uint64_t AllocaSize = DL.getTypeStoreSize(AI->getAllocatedType()); in isDereferenceableForAllocaSize() 200 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); in simplifyAllocaArraySize() 480 if (AI.getAllocatedType()->isSized()) { in visitAllocaInst() 484 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinValue() == 0) { in visitAllocaInst() 500 if (!EntryAI || !EntryAI->getAllocatedType()->isSized() || in visitAllocaInst() 501 DL.getTypeAllocSize(EntryAI->getAllocatedType()) in visitAllocaInst() 849 if (!AI->getAllocatedType()->isSized()) in isObjectSizeLessThanOrEq() 856 TypeSize TS = DL.getTypeAllocSize(AI->getAllocatedType()); in isObjectSizeLessThanOrEq()
|
| /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/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 76 auto ETy = allocaInst->getAllocatedType(); in runOnFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 1036 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType()).getFixedValue()), in SliceBuilder() 2779 NewAllocaTy(NewAI.getAllocatedType()), in AllocaSliceRewriter() 2783 DL.getTypeSizeInBits(NewAI.getAllocatedType()) in AllocaSliceRewriter() 2917 LoadInst *Load = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedLoadInst() 2928 Value *V = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerLoad() 2974 LoadInst *NewLI = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), NewPtr, in visitLoadInst() 3082 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteVectorizedStoreInst() 3106 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in rewriteIntegerStore() 3259 Type *AllocaTy = NewAI.getAllocatedType(); in visitMemSetInst() 3322 Value *Old = IRB.CreateAlignedLoad(NewAI.getAllocatedType(), &NewAI, in visitMemSetInst() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 333 const unsigned AllocaCost = DL->getTypeSizeInBits(AI->getAllocatedType()); in run() 381 const unsigned Size = DL.getTypeStoreSize(AI->getAllocatedType()); in isSupportedMemset() 798 Type *AllocaTy = Alloca.getAllocatedType(); in tryPromoteAllocaToVector() 898 if (Ptr == &Alloca && DL->getTypeStoreSize(Alloca.getAllocatedType()) == in tryPromoteAllocaToVector() 1512 DL.getValueOrABITypeAlignment(I.getAlign(), I.getAllocatedType()); in tryPromoteAllocaToLDS() 1522 WorkGroupSize * DL.getTypeAllocSize(I.getAllocatedType()); in tryPromoteAllocaToLDS() 1544 Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize); in tryPromoteAllocaToLDS()
|
| H A D | AMDGPUTargetTransformInfo.cpp | 208 Type *Ty = Alloca->getAllocatedType(); in getUnrollingPreferences() 1381 AllocaSize += DL.getTypeAllocSize(AI->getAllocatedType()); in getCallArgsTotalAllocaSize() 1435 auto ArgAllocaSize = DL.getTypeAllocSize(AI->getAllocatedType()); in getCallerAllocaCost()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 216 return getArrayCookieSizeImpl(expr->getAllocatedType()); in GetArrayCookieSize() 250 return expr->getAllocatedType().isDestructedType(); in requiresArrayCookie()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 206 uint64_t Size = DL.getTypeAllocSize(AI->getAllocatedType()); in getStaticAllocaAllocationSize() 519 Type *Ty = StackGuardSlot->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 539 Type *Ty = AI->getAllocatedType(); in moveStaticAllocasToUnsafeStack() 675 Type *Ty = AI->getAllocatedType(); in moveDynamicAllocasToUnsafeStack()
|
| H A D | StackProtector.cpp | 476 if (ContainsProtectableArray(AI->getAllocatedType(), M, SSPBufferSize, in requiresStackProtector() 496 AI, M->getDataLayout().getTypeAllocSize(AI->getAllocatedType()), in requiresStackProtector()
|
| H A D | GCRootLowering.cpp | 183 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | TypeFinder.cpp | 82 incorporateType(AI->getAllocatedType()); in run()
|
| /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 | 895 TypeSize ElemSize = DL.getTypeAllocSize(I.getAllocatedType()); in visitAllocaInst() 1280 if (!I.getAllocatedType()->isSized()) in visitAllocaInst() 1284 assert(I.isArrayAllocation() || I.getAllocatedType()->isScalableTy()); in visitAllocaInst() 1295 ArraySize->getType(), DL.getTypeAllocSize(I.getAllocatedType())); in visitAllocaInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 791 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in addStateStores() 803 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in insertStateNumberStore()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfo.h | 355 SizeInBits == DL.getTypeSizeInBits(Base->getAllocatedType())) {}
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 195 Type *Ty = AI->getAllocatedType(); in addFieldForAlloca() 1239 auto *Value = Builder.CreateLoad(Alloca->getAllocatedType(), Alloca); in insertSpills() 1292 auto *Value = Builder.CreateLoad(PA->getAllocatedType(), PA); in insertSpills() 1632 auto ValueTy = Alloca->getAllocatedType(); in emitSetAndGetSwiftErrorValueAround()
|