Lines Matching refs:hasOneUse
822 if (AddI->getParent() != CI->getParent() && !AddI->hasOneUse()) in CombineUAddWithOverflow()
828 if (AddI->hasOneUse()) in CombineUAddWithOverflow()
835 auto *InsertPt = AddI->hasOneUse() ? CI : AddI; in CombineUAddWithOverflow()
1823 if (!ExtVal || !ExtVal->hasOneUse() || in optimizeCallInst()
1960 if (CI && CI->hasOneUse() && CI->getParent() == PN->getIncomingBlock(I) && in dupRetToEnableTailCallOpts()
2895 if (!ExtOpnd->hasOneUse() && !TLI.isTruncateFree(ExtTy, ExtOpnd->getType())) in getAction()
2958 if (!ExtOpnd->hasOneUse()) { in promoteOperandForOther()
3356 if (I->hasOneUse() || in matchAddr()
4117 (LI->hasOneUse() || hasSameExtUse(LI, *TLI)))) in extLdPromotion()
4165 if (!LI->hasOneUse() && TLI && in moveExtToFormExtLoad()
4202 if (Src->hasOneUse()) in optimizeExtUses()
4328 if (Load->hasOneUse()) { in optimizeLoadExt()
4457 return I && I->hasOneUse() && isSafeToSpeculativelyExecute(I) && in sinkSelectOperand()
4474 if (!Cmp || !Cmp->hasOneUse()) in isFormingBranchFromSelectProfitable()
4484 if ((isa<LoadInst>(CmpOp0) && CmpOp0->hasOneUse()) || in isFormingBranchFromSelectProfitable()
4485 (isa<LoadInst>(CmpOp1) && CmpOp1->hasOneUse())) in isFormingBranchFromSelectProfitable()
5065 while (Inst->hasOneUse()) { in optimizeExtractElementInst()