Lines Matching refs:BO1
4900 BinaryOperator *BO1 = dyn_cast<BinaryOperator>(Op1); in foldICmpBinOp() local
4901 if (!BO0 && !BO1) in foldICmpBinOp()
4992 if (BO1) { in foldICmpBinOp()
4993 match(BO1, m_AddLike(m_Value(C), m_Value(D))); in foldICmpBinOp()
4994 NoOp1WrapProblem = hasNoWrapProblem(*BO1, Pred, Op1HasNSW, Op1HasNUW); in foldICmpBinOp()
5104 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) { in foldICmpBinOp()
5146 if (BO1 && BO1->getOpcode() == Instruction::Sub) { in foldICmpBinOp()
5147 C = BO1->getOperand(0); in foldICmpBinOp()
5148 D = BO1->getOperand(1); in foldICmpBinOp()
5216 if (NonZero && BO0 && BO1 && Op0HasNSW && Op1HasNSW) in foldICmpBinOp()
5223 if (NonZero && BO0 && BO1 && Op0HasNUW && Op1HasNUW) in foldICmpBinOp()
5233 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in foldICmpBinOp()
5234 Op0 == BO1->getOperand(1)) in foldICmpBinOp()
5235 SRem = BO1; in foldICmpBinOp()
5257 if (BO0 && BO1 && BO0->getOpcode() == BO1->getOpcode() && in foldICmpBinOp()
5258 (BO0->hasOneUse() || BO1->hasOneUse()) && in foldICmpBinOp()
5259 BO0->getOperand(1) == BO1->getOperand(1)) { in foldICmpBinOp()
5267 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
5274 return new ICmpInst(NewPred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
5281 return new ICmpInst(NewPred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
5300 Value *And2 = Builder.CreateAnd(BO1->getOperand(0), Mask); in foldICmpBinOp()
5308 if (I.isSigned() || !BO0->isExact() || !BO1->isExact()) in foldICmpBinOp()
5310 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
5314 !BO0->isExact() || !BO1->isExact()) in foldICmpBinOp()
5316 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
5319 if (!BO0->isExact() || !BO1->isExact()) in foldICmpBinOp()
5321 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()
5330 return new ICmpInst(Pred, BO0->getOperand(0), BO1->getOperand(0)); in foldICmpBinOp()