Lines Matching refs:BO1
4569 BinaryOperator *BO1 = dyn_cast<BinaryOperator>(Op1); in foldICmpBinOp() local
4570 if (!BO0 && !BO1) in foldICmpBinOp()
4661 if (BO1) { in foldICmpBinOp()
4662 match(BO1, m_AddLike(m_Value(C), m_Value(D))); in foldICmpBinOp()
4663 NoOp1WrapProblem = hasNoWrapProblem(*BO1, Pred, Op1HasNSW, Op1HasNUW); in foldICmpBinOp()
4773 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) { in foldICmpBinOp()
4814 if (BO1 && BO1->getOpcode() == Instruction::Sub) { in foldICmpBinOp()
4815 C = BO1->getOperand(0); in foldICmpBinOp()
4816 D = BO1->getOperand(1); in foldICmpBinOp()
4885 if (NonZero && BO0 && BO1 && Op0HasNSW && Op1HasNSW) in foldICmpBinOp()
4892 if (NonZero && BO0 && BO1 && Op0HasNUW && Op1HasNUW) in foldICmpBinOp()
4902 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in foldICmpBinOp()
4903 Op0 == BO1->getOperand(1)) in foldICmpBinOp()
4904 SRem = BO1; in foldICmpBinOp()
4926 if (BO0 && BO1 && BO0->getOpcode() == BO1->getOpcode() && in foldICmpBinOp()
4927 (BO0->hasOneUse() || BO1->hasOneUse()) && in foldICmpBinOp()
4928 BO0->getOperand(1) == BO1->getOperand(1)) { in foldICmpBinOp()
4936 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4943 return new ICmpInst(NewPred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4950 return new ICmpInst(NewPred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4969 Value *And2 = Builder.CreateAnd(BO1->getOperand(0), Mask); in foldICmpBinOp()
4977 if (I.isSigned() || !BO0->isExact() || !BO1->isExact()) in foldICmpBinOp()
4979 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4983 !BO0->isExact() || !BO1->isExact()) in foldICmpBinOp()
4985 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4988 if (!BO0->isExact() || !BO1->isExact()) in foldICmpBinOp()
4990 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
4999 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()