• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/

Lines Matching refs:hasOneUse

930           (GEPLHS->hasAllConstantIndices() || GEPLHS->hasOneUse()) &&
931 (GEPRHS->hasAllConstantIndices() || GEPRHS->hasOneUse()) &&
1010 if (GEPsInBounds && (isa<ConstantExpr>(GEPLHS) || GEPLHS->hasOneUse()) &&
1011 (isa<ConstantExpr>(GEPRHS) || GEPRHS->hasOneUse())) {
1266 if (!AddWithCst->hasOneUse())
1541 if (Cmp.isEquality() && Trunc->hasOneUse()) {
1593 if (Xor->hasOneUse()) {
1699 if (Shift->hasOneUse() && C1.isNullValue() && Cmp.isEquality() &&
1734 if (!And->hasOneUse())
1787 if (!Cmp.isSigned() && C1.isNullValue() && And->getOperand(0)->hasOneUse() &&
1795 if (And->hasOneUse())
1797 if (Or->hasOneUse())
1799 if (LShr->hasOneUse())
1862 if (And->hasOneUse() && C.isNullValue() && match(Y, m_APInt(C2))) {
1902 if (Or->hasOneUse()) {
1908 if (!Cmp.isEquality() || !C.isNullValue() || !Or->hasOneUse())
2099 if (Cmp.isEquality() && Shl->hasOneUse()) {
2111 if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) {
2122 if (Cmp.isUnsigned() && Shl->hasOneUse()) {
2149 if (Shl->hasOneUse() && Amt != 0 && C.countTrailingZeros() >= Amt &&
2170 if (Cmp.isEquality() && Shr->isExact() && Shr->hasOneUse() &&
2244 if (Shr->hasOneUse()) {
2269 if (!SRem->hasOneUse())
2517 if (!Sub->hasOneUse())
2602 if (!Add->hasOneUse())
2682 // aggressive here and remove the hasOneUse test. The original select is
2686 if (Cmp.hasOneUse() &&
2920 if (C.isNullValue() && BO->hasOneUse()) {
2933 if (BO->hasOneUse()) {
2944 if (BO->hasOneUse()) {
2953 if (BO->hasOneUse()) {
2965 if (BO->hasOneUse()) {
2979 if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) {
3050 if (Num != BitWidth && II->hasOneUse()) {
3139 if (!II->hasOneUse())
3219 if (LHSI->hasOneUse())
3473 !I.getOperand(0)->hasOneUse())
3526 if (!MaybeTruncation->hasOneUse() &&
3527 !NarrowestShift->getOperand(1)->hasOneUse())
3677 bool MulHadOtherUses = Mul && !Mul->hasOneUse();
3856 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned())
3941 // We don't check hasOneUse to avoid increasing register pressure because
3961 if (BO0 && BO1 && BO0->getOpcode() == BO1->getOpcode() && BO0->hasOneUse() &&
3962 BO1->hasOneUse() && BO0->getOperand(1) == BO1->getOperand(1)) {
4173 Op1->hasOneUse()) {
4232 if ((Op0->hasOneUse() && match(Op0, m_ZExt(m_Value(A))) &&
4234 (Op1->hasOneUse() && match(Op0, m_And(m_Value(B), m_ConstantInt(Cst1))) &&
4276 if (Op0->hasOneUse() &&
4281 !A->hasOneUse()) {
4355 if (!CastOp0->hasOneUse() && !CastOp1->hasOneUse())
4636 if (Zext->hasOneUse()) {
5414 (LHS->hasOneUse() || RHS->hasOneUse())) {
5519 if (I.hasOneUse())
6101 if (I.hasOneUse())