Lines Matching refs:hasOneUse
973 (GEPLHS->hasAllConstantIndices() || GEPLHS->hasOneUse()) && in FoldGEPICmp()
974 (GEPRHS->hasAllConstantIndices() || GEPRHS->hasOneUse()) && in FoldGEPICmp()
1045 if (GEPsInBounds && (isa<ConstantExpr>(GEPLHS) || GEPLHS->hasOneUse()) && in FoldGEPICmp()
1046 (isa<ConstantExpr>(GEPRHS) || GEPRHS->hasOneUse())) { in FoldGEPICmp()
1412 if (Shr->hasOneUse() && Shr->isExact()) in FoldICmpShrCst()
1415 if (Shr->hasOneUse()) { in FoldICmpShrCst()
1553 if (ICI.isEquality() && LHSI->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
1602 if (LHSI->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
1639 if (LHSI->hasOneUse() && isa<ConstantInt>(LHSI->getOperand(1)) && in visitICmpInstWithInstAndIntCst()
1640 LHSI->getOperand(0)->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
1761 if (Shift && Shift->hasOneUse() && RHSV == 0 && in visitICmpInstWithInstAndIntCst()
1794 if (LHSI->hasOneUse()) in visitICmpInstWithInstAndIntCst()
1796 if (Or->hasOneUse()) in visitICmpInstWithInstAndIntCst()
1798 if (LShr->hasOneUse()) in visitICmpInstWithInstAndIntCst()
1858 if (ICI.isEquality() && LHSI->hasOneUse() && match(RHS, m_Zero())) { in visitICmpInstWithInstAndIntCst()
1884 if (!ICI.isEquality() || !RHS->isNullValue() || !LHSI->hasOneUse()) in visitICmpInstWithInstAndIntCst()
2017 if (LHSI->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
2041 if (LHSI->hasOneUse() && in visitICmpInstWithInstAndIntCst()
2060 if (LHSI->hasOneUse() && in visitICmpInstWithInstAndIntCst()
2085 if (ICI.isEquality() && BO->isExact() && BO->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
2134 if (ICI.getPredicate() == ICmpInst::ICMP_ULT && LHSI->hasOneUse() && in visitICmpInstWithInstAndIntCst()
2143 if (ICI.getPredicate() == ICmpInst::ICMP_UGT && LHSI->hasOneUse() && in visitICmpInstWithInstAndIntCst()
2181 if (ICI.getPredicate() == ICmpInst::ICMP_ULT && LHSI->hasOneUse() && in visitICmpInstWithInstAndIntCst()
2190 if (ICI.getPredicate() == ICmpInst::ICMP_UGT && LHSI->hasOneUse() && in visitICmpInstWithInstAndIntCst()
2209 if (RHSV == 0 && isa<ConstantInt>(BO->getOperand(1)) &&BO->hasOneUse()){ in visitICmpInstWithInstAndIntCst()
2223 if (BO->hasOneUse()) in visitICmpInstWithInstAndIntCst()
2235 if (BO->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
2243 if (BO->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
2257 if (BO->hasOneUse()) { in visitICmpInstWithInstAndIntCst()
2280 if (BO->hasOneUse() && RHS->isAllOnesValue()) { in visitICmpInstWithInstAndIntCst()
2302 if (!BO->hasOneUse()) in visitICmpInstWithInstAndIntCst()
2506 if (!AddWithCst->hasOneUse()) return nullptr; in ProcessUGT_ADDCST_ADD()
2754 if (Zext->hasOneUse()) { in ProcessUMulZExtIdiom()
3284 if (Op0->hasOneUse()) { in visitICmpInst()
3611 if (I.hasOneUse()) in visitICmpInst()
3684 if (LHSI->hasOneUse()) in visitICmpInst()
3834 BO0->hasOneUse() && BO1->hasOneUse()) { in visitICmpInst()
3906 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) in visitICmpInst()
3953 BO0->hasOneUse() && BO1->hasOneUse()) in visitICmpInst()
3959 BO0->hasOneUse() && BO1->hasOneUse()) in visitICmpInst()
4002 BO0->hasOneUse() && BO1->hasOneUse() && in visitICmpInst()
4146 match(D, m_ConstantInt(C2)) && Op1->hasOneUse()) { in visitICmpInst()
4195 if ((Op0->hasOneUse() && in visitICmpInst()
4198 (Op1->hasOneUse() && in visitICmpInst()
4244 if (Op0->hasOneUse() && in visitICmpInst()
4250 !A->hasOneUse()) { in visitICmpInst()
4584 if (I.hasOneUse()) in visitFCmpInst()