Searched refs:DstPtrTy (Results 1 – 2 of 2) sorted by relevance
2151 PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType()); in ConstantFoldGetElementPtrImpl() local2152 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()2156 dyn_cast<ArrayType>(DstPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()2159 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
3074 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local3078 if (!SrcPtrTy != !DstPtrTy) in castIsValid()3087 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()3105 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local3106 if (!DstPtrTy) in castIsValid()3109 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()