Searched refs:DstPtrTy (Results 1 – 4 of 4) sorted by relevance
2217 PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType()); in ConstantFoldGetElementPtr() local2218 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtr()2222 dyn_cast<ArrayType>(DstPtrTy->getElementType()); in ConstantFoldGetElementPtr()2225 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
2964 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local2968 if (!SrcPtrTy != !DstPtrTy) in castIsValid()2977 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()2995 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local2996 if (!DstPtrTy) in castIsValid()2999 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
2171 PointerType *DstPtrTy = dyn_cast<PointerType>(CE->getType()); in ConstantFoldGetElementPtrImpl() local2172 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()2176 dyn_cast<ArrayType>(DstPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()2179 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
3149 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local3153 if (!SrcPtrTy != !DstPtrTy) in castIsValid()3162 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()3180 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() local3181 if (!DstPtrTy) in castIsValid()3184 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()