Searched refs:SrcPtrTy (Results 1 – 5 of 5) sorted by relevance
3312 PointerType *SrcPtrTy = cast<PointerType>(SrcTy->getScalarType()); in isEliminableCastPair() local3314 if (SrcPtrTy->hasSameElementTypeAs(DstPtrTy)) in isEliminableCastPair()3592 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local3593 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()3794 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local3799 if (!SrcPtrTy != !DstPtrTy) in castIsValid()3804 if (!SrcPtrTy) in castIsValid()3808 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()3822 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local3823 if (!SrcPtrTy) in castIsValid()[all …]
2120 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local2123 if (SrcPtrTy && DstPtrTy && !SrcPtrTy->isOpaque() && in ConstantFoldGetElementPtr()2126 dyn_cast<ArrayType>(SrcPtrTy->getNonOpaquePointerElementType()); in ConstantFoldGetElementPtr()2131 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
1609 LLT SrcPtrTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local1611 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()1618 if (SrcPtrTy.getAddressSpace() != MMOs[1]->getAddrSpace()) in verifyPreISelGenericInstruction()
2058 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local2059 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()
1375 llvm::PointerType *SrcPtrTy = llvm::dyn_cast<llvm::PointerType>(SrcTy); in CreateCoercedStore() local1377 if (SrcPtrTy && DstPtrTy && in CreateCoercedStore()1378 SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) { in CreateCoercedStore()