Searched refs:SrcPtrTy (Results 1 – 6 of 6) sorted by relevance
3143 PointerType *SrcPtrTy = cast<PointerType>(SrcTy->getScalarType()); in isEliminableCastPair() local3145 if (SrcPtrTy->hasSameElementTypeAs(DstPtrTy)) in isEliminableCastPair()3423 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local3424 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()3625 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local3630 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() local3654 if (!SrcPtrTy) in castIsValid()[all …]
2113 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local2116 if (SrcPtrTy && DstPtrTy && !SrcPtrTy->isOpaque() && in ConstantFoldGetElementPtr()2119 dyn_cast<ArrayType>(SrcPtrTy->getNonOpaquePointerElementType()); in ConstantFoldGetElementPtr()2124 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
660 SPIRVType *SrcPtrTy = GR.getSPIRVTypeForVReg(SrcPtr); in selectAddrSpaceCast() local674 SrcPtrTy, I, TII, SPIRV::StorageClass::Generic); in selectAddrSpaceCast()
1548 LLT SrcPtrTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local1550 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()1557 if (SrcPtrTy.getAddressSpace() != MMOs[1]->getAddrSpace()) in verifyPreISelGenericInstruction()
2042 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local2043 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()
1369 llvm::PointerType *SrcPtrTy = llvm::dyn_cast<llvm::PointerType>(SrcTy); in CreateCoercedStore() local1371 if (SrcPtrTy && DstPtrTy && in CreateCoercedStore()1372 SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) { in CreateCoercedStore()