Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp3032 if (PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy)) { in isBitCastable() local
3033 return SrcPtrTy->getAddressSpace() == DestPtrTy->getAddressSpace(); in isBitCastable()
3241 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3246 if (!SrcPtrTy != !DstPtrTy) in castIsValid()
3251 if (!SrcPtrTy) in castIsValid()
3255 if (SrcPtrTy->getAddressSpace() != DstPtrTy->getAddressSpace()) in castIsValid()
3271 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() local
3272 if (!SrcPtrTy) in castIsValid()
3279 if (SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in castIsValid()
DConstantFold.cpp2336 PointerType *SrcPtrTy = in ConstantFoldGetElementPtr() local
2339 if (SrcPtrTy && DstPtrTy) { in ConstantFoldGetElementPtr()
2341 dyn_cast<ArrayType>(SrcPtrTy->getElementType()); in ConstantFoldGetElementPtr()
2346 && SrcPtrTy->getAddressSpace() == DstPtrTy->getAddressSpace()) in ConstantFoldGetElementPtr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp609 auto *SrcPtrTy = dyn_cast<PointerType>(SrcPtr->getType()); in ConstantFoldLoadThroughBitcastExpr() local
610 if (!SrcPtrTy) in ConstantFoldLoadThroughBitcastExpr()
612 Type *SrcTy = SrcPtrTy->getPointerElementType(); in ConstantFoldLoadThroughBitcastExpr()