Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp103 Type *SrcPTy = SrcTy->getElementType(); in InstCombineLoadCast() local
110 if (ArrayType *ASrcTy = dyn_cast<ArrayType>(SrcPTy)) in InstCombineLoadCast()
118 SrcPTy = SrcTy->getElementType(); in InstCombineLoadCast()
122 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() || in InstCombineLoadCast()
123 SrcPTy->isVectorTy()) && in InstCombineLoadCast()
126 (SrcPTy->isPointerTy() == LI.getType()->isPointerTy()) && in InstCombineLoadCast()
127 IC.getTargetData()->getTypeSizeInBits(SrcPTy) == in InstCombineLoadCast()
263 Type *SrcPTy = SrcTy->getElementType(); in InstCombineStoreToCast() local
277 if (SrcPTy->isArrayTy() || SrcPTy->isStructTy()) { in InstCombineStoreToCast()
283 if (StructType *STy = dyn_cast<StructType>(SrcPTy)) { in InstCombineStoreToCast()
[all …]
DInstCombineCasts.cpp1663 PointerType *SrcPTy = cast<PointerType>(SrcTy); in visitBitCast() local
1665 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast()
1669 if (SrcPTy->getAddressSpace() != DstPTy->getAddressSpace()) in visitBitCast()
/external/clang/lib/AST/
DExprCXX.cpp529 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { in isAlwaysNull() local
530 SrcType = SrcPTy->getPointeeType(); in isAlwaysNull()