Home
last modified time | relevance | path

Searched refs:m_Power2 (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp934 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 DInstCombineSelect.cpp147 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 DInstCombineShifts.cpp415 match(C, m_Power2())) { in commonShiftTransforms()
H A DInstCombineAndOrXor.cpp878 m_ICmp(Pred, m_Add(m_Value(X), m_Power2(I01)), m_Power2(I1))) && in foldSignedTruncationCheck()
H A DInstCombineCompares.cpp2322 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 DPatternMatch.h544 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 DLoopIdiomRecognize.cpp2141 m_CombineAnd(m_Value(BitMask), m_Power2()))) && in detectShiftUntilBitTestIdiom()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp879 if (match(W, m_Power2(RHS))) { in visitMulExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DValueTracking.cpp1935 if (match(V, m_Power2())) in isKnownToBeAPowerOfTwo()
H A DInstructionSimplify.cpp3045 if (match(LHS, m_Shl(m_Power2(), m_Value())) && in simplifyICmpWithBinOp()