Home
last modified time | relevance | path

Searched refs:NewPtrTy (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Analysis/
DConstantFolding.cpp730 auto *NewPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local
732 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()