Searched refs:CastElTy (Results 1 – 1 of 1) sorted by relevance
96 Type *CastElTy = PTy->getNonOpaquePointerElementType(); in PromoteCastOfAllocation() local97 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()