Searched refs:SrcPTy (Results 1 – 5 of 5) sorted by relevance
102 Type *SrcPTy = SrcTy->getElementType(); in InstCombineLoadCast() local109 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() local278 if (SrcPTy->isArrayTy() || SrcPTy->isStructTy()) { in InstCombineStoreToCast()284 if (StructType *STy = dyn_cast<StructType>(SrcPTy)) { in InstCombineStoreToCast()[all …]
1661 PointerType *SrcPTy = cast<PointerType>(SrcTy); in visitBitCast() local1663 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast()1667 if (SrcPTy->getAddressSpace() != DstPTy->getAddressSpace()) in visitBitCast()
573 if (const PointerType *SrcPTy = SrcType->getAs<PointerType>()) { in isAlwaysNull() local574 SrcType = SrcPTy->getPointeeType(); in isAlwaysNull()
2242 PointerType *SrcPTy = cast<PointerType>(SrcTy); in visitBitCast() local2244 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast()2249 (DstPTy->getAddressSpace() != SrcPTy->getAddressSpace())) in visitBitCast()
1805 PointerType *SrcPTy = cast<PointerType>(SrcTy); in visitBitCast() local1807 Type *SrcElTy = SrcPTy->getElementType(); in visitBitCast()