/external/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 118 if (!match(Elt, m_APInt(IVal)) || !IVal->isPowerOf2()) 196 match(C1, m_APInt(IVal))) { 211 if (match(C1, m_APInt(IVal)) && IVal->isPowerOf2()) 795 if (match(Op1, m_APInt(C2))) { 801 if ((IsSigned && match(LHS, m_SDiv(m_Value(X), m_APInt(C1)))) || 802 (!IsSigned && match(LHS, m_UDiv(m_Value(X), m_APInt(C1))))) { 809 if ((IsSigned && match(LHS, m_NSWMul(m_Value(X), m_APInt(C1)))) || 810 (!IsSigned && match(LHS, m_NUWMul(m_Value(X), m_APInt(C1))))) { 834 if ((IsSigned && match(LHS, m_NSWShl(m_Value(X), m_APInt(C1))) && 836 (!IsSigned && match(LHS, m_NUWShl(m_Value(X), m_APInt(C1))))) [all...] |
InstCombineAddSub.cpp | 1012 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) 1015 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { 1018 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { 1021 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { [all...] |
InstCombineSelect.cpp | 701 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) 705 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) 709 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) 713 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) [all...] |
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | [all...] |
InstructionSimplify.cpp | [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | [all...] |
/external/llvm/include/llvm/IR/ |
PatternMatch.h | 180 inline apint_match m_APInt(const APInt *&Res) { return Res; } [all...] |