Searched refs:m_APInt (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 982 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 985 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand() 988 if (match(Y, m_Or(m_Value(Z), m_APInt(C2))) && (*C2 == ~(*C1))) { in checkForNegativeOperand() 991 } else if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && (*C1 == *C2)) { in checkForNegativeOperand() 1005 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 1011 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 1013 if (match(Y, m_And(m_Value(Z), m_APInt(C2))) && *C1 == (*C2 + 1)) { in checkForNegativeOperand()
|
D | InstCombineSelect.cpp | 419 if (match(FalseVal, m_Xor(m_Specific(X), m_APInt(C2))) && C1 == C2) in foldSelectICmpAndOr() 422 if (match(FalseVal, m_And(m_Specific(X), m_APInt(C2))) && *C1 == ~(*C2)) in foldSelectICmpAndOr() 426 if (match(TrueVal, m_Xor(m_Specific(X), m_APInt(C2))) && C1 == C2) in foldSelectICmpAndOr() 429 if (match(TrueVal, m_And(m_Specific(X), m_APInt(C2))) && *C1 == ~(*C2)) in foldSelectICmpAndOr() 432 if (match(TrueVal, m_Or(m_Specific(X), m_APInt(C2))) && C1 == C2) in foldSelectICmpAndOr()
|
D | InstCombineMulDivRem.cpp | 111 if (!match(Elt, m_APInt(IVal)) || !IVal->isPowerOf2()) in getLogBase2Vector() 142 match(C1, m_APInt(IVal))) in visitMul() 148 if (match(C1, m_APInt(IVal)) && IVal->isPowerOf2()) in visitMul()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1159 if (match(U->getOperand(1), m_APInt(ShAmt))) { in ComputeNumSignBits() 1167 if (match(U->getOperand(1), m_APInt(ShAmt))) { in ComputeNumSignBits()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 183 inline apint_match m_APInt(const APInt *&Res) { return Res; } in m_APInt() function
|