Searched refs:NewPtrTy (Results 1 – 1 of 1) sorted by relevance
730 auto *NewPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local732 ElemTy = NewPtrTy->getPointerElementType(); in StripPtrCastKeepAS()735 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()736 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()737 Ptr = ConstantExpr::getPointerCast(Ptr, NewPtrTy); in StripPtrCastKeepAS()