Searched refs:DstPtrTy (Results 1 – 2 of 2) sorted by relevance
2142 PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType()); in ConstantFoldGetElementPtrImpl() local2143 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()2147 dyn_cast<ArrayType>(DstPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()2150 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
2800 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local2804 if (!SrcPtrTy != !DstPtrTy) in castIsValid()2813 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()2831 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local2832 if (!DstPtrTy) in castIsValid()2835 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()