reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/InstructionSimplify.cpp
 2061   if (Constant *C = foldOrCommuteConstant(Instruction::Or, Op0, Op1, Q))
 2067   if (match(Op1, m_Undef()) || match(Op1, m_AllOnes()))
 2067   if (match(Op1, m_Undef()) || match(Op1, m_AllOnes()))
 2072   if (Op0 == Op1 || match(Op1, m_Zero()))
 2072   if (Op0 == Op1 || match(Op1, m_Zero()))
 2076   if (match(Op0, m_Not(m_Specific(Op1))) ||
 2077       match(Op1, m_Not(m_Specific(Op0))))
 2081   if (match(Op0, m_c_And(m_Specific(Op1), m_Value())))
 2082     return Op1;
 2085   if (match(Op1, m_c_And(m_Specific(Op0), m_Value())))
 2089   if (match(Op0, m_Not(m_c_And(m_Specific(Op1), m_Value()))))
 2090     return Constant::getAllOnesValue(Op1->getType());
 2093   if (match(Op1, m_Not(m_c_And(m_Specific(Op1), m_Value()))))
 2093   if (match(Op1, m_Not(m_c_And(m_Specific(Op1), m_Value()))))
 2101   if (match(Op1, m_Xor(m_Value(A), m_Value(B))) &&
 2104     return Op1;
 2112       (match(Op1, m_c_And(m_Specific(A), m_Not(m_Specific(B)))) ||
 2113        match(Op1, m_c_And(m_Not(m_Specific(A)), m_Specific(B)))))
 2121       (match(Op1, m_c_Xor(m_Specific(A), m_Not(m_Specific(B)))) ||
 2122        match(Op1, m_c_Xor(m_Not(m_Specific(A)), m_Specific(B)))))
 2123     return Op1;
 2129   if (match(Op1, m_And(m_Value(A), m_Value(B))) &&
 2134   if (Value *V = simplifyAndOrOfCmps(Q, Op0, Op1, false))
 2140   if (Value *V = omitCheckForZeroBeforeInvertedMulWithOverflow(Op0, Op1))
 2142   if (Value *V = omitCheckForZeroBeforeInvertedMulWithOverflow(Op1, Op0))
 2146   if (Value *V = SimplifyAssociativeBinOp(Instruction::Or, Op0, Op1, Q,
 2151   if (Value *V = ExpandBinOp(Instruction::Or, Op0, Op1, Instruction::And, Q,
 2157   if (isa<SelectInst>(Op0) || isa<SelectInst>(Op1))
 2158     if (Value *V = ThreadBinOpOverSelect(Instruction::Or, Op0, Op1, Q,
 2165       match(Op1, m_And(m_Value(B), m_APInt(C2)))) {
 2190   if (isa<PHINode>(Op0) || isa<PHINode>(Op1))
 2191     if (Value *V = ThreadBinOpOverPHI(Instruction::Or, Op0, Op1, Q, MaxRecurse))