Searched refs:SrcPtrTy (Results 1 – 3 of 3) sorted by relevance
2590 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local2591 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()2799 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local2804 if (!SrcPtrTy != !DstPtrTy) in castIsValid()2809 if (!SrcPtrTy) in castIsValid()2813 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()2827 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local2828 if (!SrcPtrTy) in castIsValid()2835 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
2140 PointerType *SrcPtrTy = in ConstantFoldGetElementPtrImpl() local2143 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()2145 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()2150 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
1702 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local1703 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()