Searched refs:DstPtrTy (Results 1 – 4 of 4) sorted by relevance
2115 PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType()); in ConstantFoldGetElementPtr() local2116 if (SrcPtrTy && DstPtrTy && !SrcPtrTy->isOpaque() && in ConstantFoldGetElementPtr()2117 !DstPtrTy->isOpaque()) { in ConstantFoldGetElementPtr()2121 dyn_cast<ArrayType>(DstPtrTy->getNonOpaquePointerElementType()); in ConstantFoldGetElementPtr()2124 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
3144 PointerType *DstPtrTy = cast<PointerType>(DstTy->getScalarType()); in isEliminableCastPair() local3145 if (SrcPtrTy->hasSameElementTypeAs(DstPtrTy)) in isEliminableCastPair()3626 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local3630 if (!SrcPtrTy != !DstPtrTy) in castIsValid()3639 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()3657 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local3658 if (!DstPtrTy) in castIsValid()3661 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
1547 LLT DstPtrTy = MRI->getType(MI->getOperand(0).getReg()); in verifyPreISelGenericInstruction() local1550 if (!DstPtrTy.isPointer() || !SrcPtrTy.isPointer()) { in verifyPreISelGenericInstruction()1555 if (DstPtrTy.getAddressSpace() != MMOs[0]->getAddrSpace()) in verifyPreISelGenericInstruction()1580 LLT DstPtrTy = MRI->getType(MI->getOperand(0).getReg()); in verifyPreISelGenericInstruction() local1581 if (!DstPtrTy.isPointer()) { in verifyPreISelGenericInstruction()1586 if (DstPtrTy.getAddressSpace() != MMOs[0]->getAddrSpace()) in verifyPreISelGenericInstruction()
1370 llvm::PointerType *DstPtrTy = llvm::dyn_cast<llvm::PointerType>(DstTy); in CreateCoercedStore() local1371 if (SrcPtrTy && DstPtrTy && in CreateCoercedStore()1372 SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) { in CreateCoercedStore()