Lines Matching defs:Or
1790 Value *Or = And->getOperand(0);
1792 if (match(Or, m_Or(m_Value(LShr), m_Value(A))) &&
1797 if (Or->hasOneUse())
1811 One, Or->getName());
1879 Instruction *InstCombiner::foldICmpOrConstant(ICmpInst &Cmp, BinaryOperator *Or,
1885 if (Pred == ICmpInst::ICMP_SLT && match(Or, m_Signum(m_Value(V))))
1890 Value *OrOp0 = Or->getOperand(0), *OrOp1 = Or->getOperand(1);
1902 if (Or->hasOneUse()) {
1908 if (!Cmp.isEquality() || !C.isNullValue() || !Or->hasOneUse())
1912 if (match(Or, m_Or(m_PtrToInt(m_Value(P)), m_PtrToInt(m_Value(Q))))) {
1919 auto BOpc = Pred == CmpInst::ICMP_EQ ? Instruction::And : Instruction::Or;
1932 auto BOpc = Pred == CmpInst::ICMP_EQ ? Instruction::And : Instruction::Or;
2834 case Instruction::Or:
2977 case Instruction::Or: {
3083 Value *Or = Builder.CreateOr(II->getArgOperand(0), II->getArgOperand(1));
3085 Cmp.getPredicate(), Or, Constant::getNullValue(Ty)));
3493 // Or they both have identical types if there was no truncation.