Searched refs:OldPtrTy (Results 1 – 2 of 2) sorted by relevance
728 auto *OldPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local735 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()736 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()
775 auto *OldPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local782 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()783 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()