Lines Matching refs:SrcPtrTy
3143 PointerType *SrcPtrTy = cast<PointerType>(SrcTy->getScalarType()); in isEliminableCastPair() local
3145 if (SrcPtrTy->hasSameElementTypeAs(DstPtrTy)) in isEliminableCastPair()
3423 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
3424 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3625 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3630 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3635 if (!SrcPtrTy) in castIsValid()
3639 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3653 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3654 if (!SrcPtrTy) in castIsValid()
3661 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()