5 Commits

Author SHA1 Message Date
Marc Auberer
17af9addbb
[DAG] Add SDPatternMatch m_ZExtOrSelf/m_SExtOrSelf/m_AExtOrSelf/m_TruncOrSelf matchers (#85480)
Fixes #85395
2024-03-20 13:18:58 -07:00
zicwangupa
bc70f60418
[SelectionDAG] Add m_Neg and m_Not pattern matcher and update DAGCombiner (#85365)
Resolves #85065

---------

Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
2024-03-18 18:34:31 +05:30
Simon Pilgrim
c9c23261ab [DAG] Add SDPatternMatch m_SMin/m_SMax/m_UMin/m_UMax matchers 2024-03-14 12:28:19 +00:00
Simon Pilgrim
560d7c51fd [DAG] Add SDPatternMatch m_And/m_Or/m_Xor matchers for logic ops 2024-03-13 11:13:37 +00:00
Min-Yih Hsu
5874874c24
[SelectionDAG] Introducing the SelectionDAG pattern matching framework (#78654)
Akin to `llvm::PatternMatch` and `llvm::MIPatternMatch`, the
`llvm::SDPatternMatch` introduced in this patch provides a DSL-alike
framework to match SDValue / SDNode with a more succinct syntax.
2024-02-23 11:03:36 -08:00