Searched refs:m_One (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 41 match(One, m_One())) { in simplifyValueKnownNonZero() 353 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) { in visitMul() 356 } else if (match(Op1, m_Shl(m_One(), m_Value(Y)))) { in visitMul() 1405 if (match(Op0, m_One())) { in visitURem()
|
D | InstCombineCompares.cpp | 1463 if (match(LHSI->getOperand(1), m_One())) { in visitICmpInstWithInstAndIntCst() 1602 if (match(LHSI, m_Shl(m_One(), m_Value(X)))) { in visitICmpInstWithInstAndIntCst() 2300 if (match(RHS, m_One())) in OptimizeOverflowCheck() 2996 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 3040 if (match(LHS, m_Shl(m_One(), m_Value(X)))) { in visitICmpInst() 3418 match(B, m_One())) in visitICmpInst() 3423 match(B, m_One())) in visitICmpInst() 3438 match(D, m_One())) in visitICmpInst() 3443 match(D, m_One())) in visitICmpInst()
|
D | InstCombineAddSub.cpp | 1007 if (match(RHS, m_Add(m_Value(X), m_One()))) in checkForNegativeOperand() 1010 if (match(LHS, m_Add(m_Value(X), m_One()))) { in checkForNegativeOperand()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 433 if (match(TCmp, m_One())) in ThreadCmpOverSelect() 438 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in ThreadCmpOverSelect() 916 if (match(Op1, m_One())) in SimplifyMulInst() 1022 if (match(Op1, m_One())) in SimplifyDiv() 1185 if (match(Op1, m_One())) in SimplifyRem() 2161 if (match(RHS, m_One())) in SimplifyICmpInst() 2176 if (match(RHS, m_One())) in SimplifyICmpInst() 2199 if (match(RHS, m_One())) in SimplifyICmpInst()
|
D | ValueTracking.cpp | 1733 if (match(V, m_Shl(m_One(), m_Value()))) in isKnownToBeAPowerOfTwo()
|
/external/llvm/include/llvm/IR/ |
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
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 955 if (match(C2, m_Zero()) || match(C2, m_One())) in ConstantFoldBinaryInstruction()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1643 if (match(CountZeros->getOperand(1), m_One())) in despeculateCountZeros()
|