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

Lines Matching refs:hasOneUse

98     if (!OldLHS->hasOneUse() && !OldRHS->hasOneUse())
103 if (!OldLHS->hasOneUse())
126 if (Op->hasOneUse()) {
1075 (ZeroICmp->hasOneUse() || UnsignedICmp->hasOneUse())) {
1179 if (!Cmp1->hasOneUse())
1266 if (PredL == ICmpInst::ICMP_EQ && PredL == PredR && LHS->hasOneUse() &&
1267 RHS->hasOneUse()) {
1517 !isFreeToInvert(A, A->hasOneUse()) &&
1518 !isFreeToInvert(B, B->hasOneUse())) {
1666 if (Op0->hasOneUse() || Op1->hasOneUse())
1684 if (Op0->hasOneUse() || Op1->hasOneUse())
1945 if (Op1->hasOneUse() || isFreeToInvert(C, C->hasOneUse()))
1951 if (Op0->hasOneUse() || isFreeToInvert(C, C->hasOneUse()))
2323 PredL == PredR && LHSC && RHSC && LHS->hasOneUse() && RHS->hasOneUse() &&
2386 if (LHS->hasOneUse() || RHS->hasOneUse()) {
2675 if (Op0->hasOneUse() || Op1->hasOneUse()) {
2731 if (Op1->hasOneUse() && match(A, m_Not(m_Specific(Op0)))) {
2735 if (Op1->hasOneUse() && match(B, m_Not(m_Specific(Op0)))) {
2746 Op1->hasOneUse() && (B->getOpcode() == Instruction::Or ||
2810 if (Op0->hasOneUse() && !isa<ConstantInt>(Op1) &&
2822 if (Op0->hasOneUse() && Op1->hasOneUse() &&
2865 (Ov->hasOneUse() || (MulIsNotZero->hasOneUse() && Mul->hasOneUse())) &&
2915 if (!Op0->hasOneUse() && !Op1->hasOneUse())
2957 if ((LHS->hasOneUse() || RHS->hasOneUse()) &&
3002 if (X && Y && (Y->hasOneUse() || canFreelyInvertAllUsersOf(Y, &I))) {
3006 if (!Y->hasOneUse()) {
3062 if (D->hasOneUse() && match(M, m_Constant(C))) {
3091 if (isFreeToInvert(X, X->hasOneUse())) {
3093 } else if (isFreeToInvert(Y, Y->hasOneUse())) {
3172 NotVal->getOperand(0)->hasOneUse()) &&
3174 NotVal->getOperand(1)->hasOneUse())) {
3185 if (isa<Constant>(X) || NotVal->hasOneUse())
3279 if (Op0I->hasOneUse() &&
3397 if (match(Op1, m_AllOnes()) && Op0->hasOneUse()) {
3403 if (match(LHS, m_Not(m_Value(X))) && !isFreeToInvert(X, X->hasOneUse())) {
3411 if (match(RHS, m_Not(m_Value(Y))) && !isFreeToInvert(Y, Y->hasOneUse())) {
3439 if (CmpT && CmpF && CmpT->hasOneUse() && CmpF->hasOneUse()) {