Lines Matching refs:ZExt
240 return Call->hasRetAttr(Attribute::AttrKind::ZExt); in isSource()
264 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSink() local
265 return GreaterThanTypeSize(ZExt); in isSink()
535 Value *ZExt = Builder.CreateZExt(V, ExtTy); in ExtendSources() local
536 if (auto *I = dyn_cast<Instruction>(ZExt)) { in ExtendSources()
544 ReplaceAllUsersOfWith(V, ZExt); in ExtendSources()
692 auto ZExt = cast<CastInst>(V); in Cleanup() local
693 if (ZExt->getDestTy() != ExtTy) in Cleanup()
696 Value *Src = ZExt->getOperand(0); in Cleanup()
697 if (ZExt->getSrcTy() == ZExt->getDestTy()) { in Cleanup()
698 LLVM_DEBUG(dbgs() << "ARM CGP: Removing unnecessary cast: " << *ZExt in Cleanup()
700 ReplaceAllUsersOfWith(ZExt, Src); in Cleanup()
710 ReplaceAllUsersOfWith(ZExt, Trunc->getOperand(0)); in Cleanup()
849 Call->hasRetAttr(Attribute::AttrKind::ZExt); in isSupportedValue()