Searched refs:m_Power2 (Results 1 – 10 of 10) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 934 if (match(Op1, m_Power2())) { in visitUDivOperand() 940 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand() 941 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand() 1122 if (I.isExact() && ((match(Op1, m_Power2()) && match(Op1, m_NonNegative())) || in visitSDiv()
|
| H A D | InstCombineSelect.cpp | 147 if (!match(V, m_And(m_Value(), m_Power2(AndRHS)))) in foldSelectICmpAnd() 617 if (!match(CmpLHS, m_And(m_Value(), m_Power2(C1)))) in foldSelectICmpAndOr() 643 bool OrOnFalseVal = match(FalseVal, m_Or(m_Specific(TrueVal), m_Power2(C2))); in foldSelectICmpAndOr() 645 OrOnTrueVal = match(TrueVal, m_Or(m_Specific(FalseVal), m_Power2(C2))); in foldSelectICmpAndOr() 1490 match(CmpLHS, m_And(m_Value(X), m_Power2(Y))) && in foldSelectInstWithICmp()
|
| H A D | InstCombineShifts.cpp | 415 match(C, m_Power2())) { in commonShiftTransforms()
|
| H A D | InstCombineAndOrXor.cpp | 878 m_ICmp(Pred, m_Add(m_Value(X), m_Power2(I01)), m_Power2(I1))) && in foldSignedTruncationCheck()
|
| H A D | InstCombineCompares.cpp | 2322 if (!C.isNullValue() || !match(SRem->getOperand(1), m_Power2(DivisorC))) in foldICmpSRemConstant() 5129 match(LHS, m_LShr(m_Power2(CI), m_Value(X)))) { in foldICmpUsingKnownBits()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | PatternMatch.h | 544 inline cst_pred_ty<is_power2> m_Power2() { in m_Power2() function 547 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { in m_Power2() function
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 2141 m_CombineAnd(m_Value(BitMask), m_Power2()))) && in detectShiftUntilBitTestIdiom()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 879 if (match(W, m_Power2(RHS))) { in visitMulExpr()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 1935 if (match(V, m_Power2())) in isKnownToBeAPowerOfTwo()
|
| H A D | InstructionSimplify.cpp | 3045 if (match(LHS, m_Shl(m_Power2(), m_Value())) && in simplifyICmpWithBinOp()
|