Searched refs:m_One (Results 1 – 7 of 7) sorted by relevance
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 41 match(One, m_One())) { in simplifyValueKnownNonZero() 342 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) { in visitMul() 345 } else if (match(Op1, m_Shl(m_One(), m_Value(Y)))) { in visitMul() 1394 if (match(Op0, m_One())) { in visitURem()
|
H A D | InstCombineCompares.cpp | 1392 if (match(LHSI->getOperand(1), m_One())) { in visitICmpInstWithInstAndIntCst() 1505 if (match(LHSI, m_Shl(m_One(), m_Value(X)))) { in visitICmpInstWithInstAndIntCst() 2829 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 2874 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 3243 match(B, m_One())) in visitICmpInst() 3248 match(B, m_One())) in visitICmpInst()
|
H A D | InstCombineAddSub.cpp | 1005 if (match(RHS, m_Add(m_Value(X), m_One()))) in checkForNegativeOperand() 1008 if (match(LHS, m_Add(m_Value(X), m_One()))) { in checkForNegativeOperand()
|
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 430 if (match(TCmp, m_One())) in ThreadCmpOverSelect() 435 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in ThreadCmpOverSelect() 921 if (match(Op1, m_One())) in SimplifyMulInst() 1027 if (match(Op1, m_One())) in SimplifyDiv() 1168 if (match(Op1, m_One())) in SimplifyRem() 2136 if (match(RHS, m_One())) in SimplifyICmpInst() 2151 if (match(RHS, m_One())) in SimplifyICmpInst() 2161 if (match(RHS, m_One())) in SimplifyICmpInst()
|
H A D | ValueTracking.cpp | 1362 if (match(V, m_Shl(m_One(), m_Value()))) in isKnownToBeAPowerOfTwo()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 244 inline cst_pred_ty<is_one> m_One() { return cst_pred_ty<is_one>(); } in m_One() function 245 inline api_pred_ty<is_one> m_One(const APInt *&V) { return V; } in m_One() function
|
/minix/external/bsd/llvm/dist/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 937 if (match(C2, m_Zero()) || match(C2, m_One())) in ConstantFoldBinaryInstruction()
|