Searched refs:DstPtrTy (Results 1 – 2 of 2) sorted by relevance
2338 PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType()); in ConstantFoldGetElementPtr() local2339 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtr()2343 dyn_cast<ArrayType>(DstPtrTy->getElementType()); in ConstantFoldGetElementPtr()2346 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
3242 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local3246 if (!SrcPtrTy != !DstPtrTy) in castIsValid()3255 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()3275 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local3276 if (!DstPtrTy) in castIsValid()3279 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()