Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DInstructions.cpp2939 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
2940 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3148 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3153 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3158 if (!SrcPtrTy) in castIsValid()
3162 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3176 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3177 if (!SrcPtrTy) in castIsValid()
3184 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
DConstantFold.cpp2169 PointerType *SrcPtrTy = in ConstantFoldGetElementPtrImpl() local
2172 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtrImpl()
2174 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtrImpl()
2179 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtrImpl()
/external/llvm/lib/Analysis/
DConstantFolding.cpp500 auto *SrcPtrTy = dyn_cast<PointerType>(SrcPtr->getType()); in ConstantFoldLoadThroughBitcast() local
501 if (!SrcPtrTy) in ConstantFoldLoadThroughBitcast()
503 Type *SrcTy = SrcPtrTy->getPointerElementType(); in ConstantFoldLoadThroughBitcast()
/external/clang/lib/Sema/
DSemaCast.cpp1715 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local
1716 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()