Searched refs:OldPtrTy (Results 1 – 4 of 4) sorted by relevance
279 auto OldPtrTy = ExpectedType->getPointerTo(); in generateLocationAccessed() local281 OldPtrTy = PointerType::get(OldPtrTy->getElementType(), in generateLocationAccessed()284 if (OldPtrTy != NewPtrTy) in generateLocationAccessed()285 Address = Builder.CreateBitOrPointerCast(Address, OldPtrTy); in generateLocationAccessed()
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()
806 auto *OldPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local813 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()814 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()
851 auto *OldPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local858 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()859 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()