Searched refs:SrcPtrTy (Results 1 – 5 of 5) sorted by relevance
2924 PointerType *SrcPtrTy = cast<PointerType>(SrcTy->getScalarType()); in isEliminableCastPair() local2926 if (SrcPtrTy->hasSameElementTypeAs(DstPtrTy)) in isEliminableCastPair()3204 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local3205 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()3406 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local3411 if (!SrcPtrTy != !DstPtrTy) in castIsValid()3416 if (!SrcPtrTy) in castIsValid()3420 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()3434 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local3435 if (!SrcPtrTy) in castIsValid()[all …]
2269 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local2272 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtr()2274 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtr()2279 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
1499 LLT SrcPtrTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local1501 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()1508 if (SrcPtrTy.getAddressSpace() != MMOs[1]->getAddrSpace()) in verifyPreISelGenericInstruction()
2040 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local2041 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()
1347 llvm::PointerType *SrcPtrTy = llvm::dyn_cast<llvm::PointerType>(SrcTy); in CreateCoercedStore() local1349 if (SrcPtrTy && DstPtrTy && in CreateCoercedStore()1350 SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) { in CreateCoercedStore()