Searched refs:SrcPtrTy (Results 1 – 5 of 5) sorted by relevance
3571 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local3572 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()3773 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local3778 if (!SrcPtrTy != !DstPtrTy) in castIsValid()3783 if (!SrcPtrTy) in castIsValid()3787 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()3801 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local3802 if (!SrcPtrTy) in castIsValid()3809 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
1678 LLT SrcPtrTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local1680 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()1687 if (SrcPtrTy.getAddressSpace() != MMOs[1]->getAddrSpace()) in verifyPreISelGenericInstruction()
834 SPIRVType *SrcPtrTy = GR.getSPIRVTypeForVReg(SrcPtr); in selectAddrSpaceCast() local848 SrcPtrTy, I, TII, SPIRV::StorageClass::Generic); in selectAddrSpaceCast()
2089 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local2090 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()
1379 llvm::PointerType *SrcPtrTy = llvm::dyn_cast<llvm::PointerType>(SrcTy); in CreateCoercedStore() local1381 if (SrcPtrTy && DstPtrTy && in CreateCoercedStore()1382 SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) { in CreateCoercedStore()