Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp102 Type *SrcPTy = SrcTy->getElementType(); in InstCombineLoadCast() local
109 if (ArrayType *ASrcTy = dyn_cast<ArrayType>(SrcPTy)) in InstCombineLoadCast()
117 SrcPTy = SrcTy->getElementType(); in InstCombineLoadCast()
121 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() || in InstCombineLoadCast()
122 SrcPTy->isVectorTy()) && in InstCombineLoadCast()
125 (SrcPTy->isPointerTy() == LI.getType()->isPointerTy()) && in InstCombineLoadCast()
126 IC.getTargetData()->getTypeSizeInBits(SrcPTy) == in InstCombineLoadCast()
264 Type *SrcPTy = SrcTy->getElementType(); in InstCombineStoreToCast() local
278 if (SrcPTy->isArrayTy() || SrcPTy->isStructTy()) { in InstCombineStoreToCast()
284 if (StructType *STy = dyn_cast<StructType>(SrcPTy)) { in InstCombineStoreToCast()
[all …]
DInstCombineCasts.cpp1661 PointerType *SrcPTy = cast<PointerType>(SrcTy); in visitBitCast() local
1663 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast()
1667 if (SrcPTy->getAddressSpace() != DstPTy->getAddressSpace()) in visitBitCast()
/external/clang/lib/AST/
DExprCXX.cpp573 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { in isAlwaysNull() local
574 SrcType = SrcPTy->getPointeeType(); in isAlwaysNull()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1805 PointerType *SrcPTy = cast<PointerType>(SrcTy); in visitBitCast() local
1807 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast()