Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DConstantFolding.cpp728 auto *OldPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local
735 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()
736 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp775 auto *OldPtrTy = cast<PointerType>(Ptr->getType()); in StripPtrCastKeepAS() local
782 if (NewPtrTy->getAddressSpace() != OldPtrTy->getAddressSpace()) { in StripPtrCastKeepAS()
783 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()