Searched refs:SrcPtrTy (Results 1 – 3 of 3) sorted by relevance
2645 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local2646 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()2846 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local2851 if (!SrcPtrTy != !DstPtrTy) in castIsValid()2856 if (!SrcPtrTy) in castIsValid()2860 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()2874 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local2875 if (!SrcPtrTy) in castIsValid()2882 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
2070 PointerType *SrcPtrTy = in ConstantFoldGetElementPtrImpl() local2073 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()2075 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()2080 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
1665 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local1666 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()