Lines Matching refs:WO
572 static bool processOverflowIntrinsic(WithOverflowInst *WO, LazyValueInfo *LVI) { in processOverflowIntrinsic() argument
573 IRBuilder<> B(WO); in processOverflowIntrinsic()
574 Instruction::BinaryOps Opcode = WO->getBinaryOp(); in processOverflowIntrinsic()
575 bool NSW = WO->isSigned(); in processOverflowIntrinsic()
576 bool NUW = !WO->isSigned(); in processOverflowIntrinsic()
579 B.CreateBinOp(Opcode, WO->getLHS(), WO->getRHS(), WO->getName()); in processOverflowIntrinsic()
582 StructType *ST = cast<StructType>(WO->getType()); in processOverflowIntrinsic()
587 WO->replaceAllUsesWith(NewI); in processOverflowIntrinsic()
588 WO->eraseFromParent(); in processOverflowIntrinsic()
629 if (auto *WO = dyn_cast<WithOverflowInst>(&CB)) { in processCallSite() local
630 if (WO->getLHS()->getType()->isIntegerTy() && willNotOverflow(WO, LVI)) { in processCallSite()
631 return processOverflowIntrinsic(WO, LVI); in processCallSite()