Home
last modified time | relevance | path

Searched refs:SrcPtrTy (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/IR/
DInstructions.cpp2864 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
2865 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3073 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3078 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3083 if (!SrcPtrTy) in castIsValid()
3087 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3101 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3102 if (!SrcPtrTy) in castIsValid()
3109 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
DConstantFold.cpp2149 PointerType *SrcPtrTy = in ConstantFoldGetElementPtrImpl() local
2152 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()
2154 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()
2159 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
/external/clang/lib/Sema/
DSemaCast.cpp1715 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local
1716 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()