Searched refs:NewPtrTy (Results 1 – 3 of 3) sorted by relevance
421 Type *NewPtrTy = in operandWithNewAddressSpaceOrCreateUndef() local425 return ConstantExpr::getAddrSpaceCast(C, NewPtrTy); in operandWithNewAddressSpaceOrCreateUndef()431 return UndefValue::get(NewPtrTy); in operandWithNewAddressSpaceOrCreateUndef()
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()
777 auto *NewPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local779 ElemTy = NewPtrTy->getPointerElementType(); in StripPtrCastKeepAS()782 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()783 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()784 Ptr = ConstantExpr::getPointerCast(Ptr, NewPtrTy); in StripPtrCastKeepAS()