Home
last modified time | relevance | path

Searched refs:CastElTy (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp96 Type *CastElTy = PTy->getNonOpaquePointerElementType(); in PromoteCastOfAllocation() local
97 if (!AllocElTy->isSized() || !CastElTy->isSized()) return nullptr; in PromoteCastOfAllocation()
108 bool CastIsScalable = isa<ScalableVectorType>(CastElTy); in PromoteCastOfAllocation()
112 Align CastElTyAlign = DL.getABITypeAlign(CastElTy); in PromoteCastOfAllocation()
122 uint64_t CastElTySize = DL.getTypeAllocSize(CastElTy).getKnownMinSize(); in PromoteCastOfAllocation()
128 uint64_t CastElTyStoreSize = DL.getTypeStoreSize(CastElTy).getKnownMinSize(); in PromoteCastOfAllocation()
162 AllocaInst *New = Builder.CreateAlloca(CastElTy, AI.getAddressSpace(), Amt); in PromoteCastOfAllocation()