/external/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 125 if (!match(Elt, m_APInt(IVal)) || !IVal->isPowerOf2()) 203 match(C1, m_APInt(IVal))) { 218 if (match(C1, m_APInt(IVal)) && IVal->isPowerOf2()) 805 if (match(Op1, m_APInt(C2))) { 811 if ((IsSigned && match(LHS, m_SDiv(m_Value(X), m_APInt(C1)))) || 812 (!IsSigned && match(LHS, m_UDiv(m_Value(X), m_APInt(C1))))) { 819 if ((IsSigned && match(LHS, m_NSWMul(m_Value(X), m_APInt(C1)))) || 820 (!IsSigned && match(LHS, m_NUWMul(m_Value(X), m_APInt(C1))))) { 844 if ((IsSigned && match(LHS, m_NSWShl(m_Value(X), m_APInt(C1))) && 846 (!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)) { 1035 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1))) [all...] |
InstCombineSelect.cpp | 572 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) 576 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) 580 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) 584 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) [all...] |
InstructionCombining.cpp | 541 if (match(V, m_APInt(CInt)) && !CInt->isMinSignedValue()) [all...] |
/external/llvm/lib/Transforms/Utils/ |
LoopUtils.cpp | 81 if (match(J, m_CombineOr(m_And(m_Instruction(I), m_APInt(M)), 82 m_And(m_APInt(M), m_Instruction(I))))) {
|
/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...] |