Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp2754 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
2755 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
2963 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
2968 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
2973 if (!SrcPtrTy) in castIsValid()
2977 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
2991 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
2992 if (!SrcPtrTy) in castIsValid()
2999 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
DConstantFold.cpp2215 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local
2218 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtr()
2220 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtr()
2225 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp578 auto *SrcPtrTy = dyn_cast<PointerType>(SrcPtr->getType()); in ConstantFoldLoadThroughBitcastExpr() local
579 if (!SrcPtrTy) in ConstantFoldLoadThroughBitcastExpr()
581 Type *SrcTy = SrcPtrTy->getPointerElementType(); in ConstantFoldLoadThroughBitcastExpr()
/external/clang/lib/Sema/
DSemaCast.cpp1715 if (const PointerType *SrcPtrTy = SrcType->getAs<PointerType>()) in DiagnoseCastOfObjCSEL() local
1716 if (SrcPtrTy->isObjCSelType()) { in DiagnoseCastOfObjCSEL()