Home
last modified time | relevance | path

Searched refs:m_LogicalShift (Results 1 – 25 of 94) sorted by relevance

1234

/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1639 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
1866 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
1867 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwap()
1879 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
1882 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in matchBSwap()
1914 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in matchRotate()
1915 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in matchRotate()
H A DInstCombineSelect.cpp1720 if (!match(Or0, m_OneUse(m_LogicalShift(m_Specific(TVal), m_Value(SA0)))) || in foldSelectRotate()
1721 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(TVal), m_Value(SA1))))) in foldSelectRotate()
H A DInstCombineCasts.cpp514 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate()
515 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1561 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
1781 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
1782 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwap()
1794 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
1797 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in matchBSwap()
1825 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in matchRotate()
1826 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in matchRotate()
H A DInstCombineSelect.cpp1568 if (!match(Or0, m_OneUse(m_LogicalShift(m_Specific(TVal), m_Value(SA0)))) || in foldSelectRotate()
1569 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(TVal), m_Value(SA1))))) in foldSelectRotate()
H A DInstCombineCasts.cpp515 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate()
516 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1754 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
1995 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
1996 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwap()
2008 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
2011 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in matchBSwap()
2043 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in matchRotate()
2044 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in matchRotate()
H A DInstCombineCasts.cpp515 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate()
516 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1754 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
1995 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
1996 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwap()
2008 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
2011 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in matchBSwap()
2043 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in matchRotate()
2044 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in matchRotate()
H A DInstCombineCasts.cpp515 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate()
516 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1754 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
1995 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
1996 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwap()
2008 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
2011 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in matchBSwap()
2043 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in matchRotate()
2044 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in matchRotate()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1800 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
2051 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
2052 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwap()
2064 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
2067 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in matchBSwap()
2099 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in matchRotate()
2100 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in matchRotate()
H A DInstCombineCasts.cpp520 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate()
521 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1801 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
2052 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
2053 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwap()
2065 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in matchBSwap()
2068 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in matchBSwap()
2100 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in matchRotate()
2101 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in matchRotate()
H A DInstCombineCasts.cpp520 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate()
521 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/7.0/
H A DInstCombineAndOrXor.cpp1464 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
1685 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in MatchBSwap()
1686 match(Op1, m_LogicalShift(m_Value(), m_Value())); in MatchBSwap()
1698 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in MatchBSwap()
1701 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in MatchBSwap()
H A DInstCombineCasts.cpp515 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) || in narrowRotate()
516 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1))))) in narrowRotate()
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1434 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
1655 bool OrOfShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) && in MatchBSwap()
1656 match(Op1, m_LogicalShift(m_Value(), m_Value())); in MatchBSwap()
1668 bool OrOfAndAndSh = (match(Op0, m_LogicalShift(m_Value(), m_Value())) && in MatchBSwap()
1671 match(Op1, m_LogicalShift(m_Value(), m_Value()))); in MatchBSwap()
H A DInstCombineCasts.cpp508 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal), m_Value(ShAmt0)))) ||
509 !match(Or1, m_OneUse(m_LogicalShift(m_Specific(ShVal), m_Value(ShAmt1)))))
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1769 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
2006 bool OrWithShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) || in matchBSwapOrBitReverse()
2007 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwapOrBitReverse()
2051 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in matchFunnelShift()
2052 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in matchFunnelShift()
H A DInstCombineCasts.cpp539 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift()
540 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1732 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
2011 bool OrWithShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) || in matchBSwapOrBitReverse()
2012 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwapOrBitReverse()
2056 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in matchFunnelShift()
2057 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in matchFunnelShift()
H A DInstCombineCasts.cpp539 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift()
540 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1732 if (match(Op0, m_OneUse(m_LogicalShift(m_One(), m_Value(X)))) && in visitAnd()
2011 bool OrWithShifts = match(Op0, m_LogicalShift(m_Value(), m_Value())) || in matchBSwapOrBitReverse()
2012 match(Op1, m_LogicalShift(m_Value(), m_Value())); in matchBSwapOrBitReverse()
2056 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in matchFunnelShift()
2057 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in matchFunnelShift()
H A DInstCombineCasts.cpp539 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift()
540 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()

1234