Lines Matching defs:SrcTy
302 if (PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType())) {
305 if (DestTy->getAddressSpace() != SrcTy->getAddressSpace())
308 Type *SrcPTy = SrcTy->getElementType();
319 ? DL->getIntPtrType(SrcTy)
320 : Type::getInt64Ty(SrcTy->getContext());
324 SrcTy = cast<PointerType>(CastOp->getType());
325 SrcPTy = SrcTy->getElementType();
477 PointerType *SrcTy = dyn_cast<PointerType>(CastOp->getType());
478 if (!SrcTy) return nullptr;
480 Type *SrcPTy = SrcTy->getElementType();
513 SrcTy = PointerType::get(SrcPTy, SrcTy->getAddressSpace());
521 if (SrcTy->getAddressSpace() !=