|
LLVM 22.0.0git
|
#include "llvm/CodeGen/SDPatternMatch.h"
Public Member Functions | |
| ReassociatableOpc_match (unsigned Opcode, const PatternTs &...Patterns) | |
| template<typename MatchContext> | |
| bool | match (const MatchContext &Ctx, SDValue N) |
| bool | collectLeaves (SDValue V, std::array< SDValue, NumPatterns > &Leaves, std::size_t &LeafIdx) |
| template<typename MatchContext, typename PatternHd, typename... PatternTl> | |
| bool | reassociatableMatchHelper (const MatchContext &Ctx, ArrayRef< SDValue > Leaves, Bitset< NumPatterns > &Used, PatternHd &HeadPattern, PatternTl &...TailPatterns) |
| template<typename MatchContext> | |
| bool | reassociatableMatchHelper (const MatchContext &Ctx, ArrayRef< SDValue > Leaves, Bitset< NumPatterns > &Used) |
Public Attributes | |
| unsigned | Opcode |
| std::tuple< PatternTs... > | Patterns |
Static Public Attributes | |
| static constexpr size_t | NumPatterns |
Definition at line 1302 of file SDPatternMatch.h.
|
inline |
Definition at line 1308 of file SDPatternMatch.h.
|
inline |
Definition at line 1326 of file SDPatternMatch.h.
References collectLeaves(), I, N, NumPatterns, and Opcode.
Referenced by collectLeaves(), and match().
|
inline |
Definition at line 1312 of file SDPatternMatch.h.
References collectLeaves(), N, NumPatterns, P, Patterns, and reassociatableMatchHelper().
|
inlinenodiscard |
Definition at line 1359 of file SDPatternMatch.h.
|
inlinenodiscard |
Definition at line 1343 of file SDPatternMatch.h.
References N, reassociatableMatchHelper(), and llvm::SDPatternMatch::sd_context_match().
Referenced by match(), and reassociatableMatchHelper().
|
staticconstexpr |
Definition at line 1305 of file SDPatternMatch.h.
Referenced by collectLeaves(), and match().
| unsigned llvm::SDPatternMatch::ReassociatableOpc_match< PatternTs >::Opcode |
Definition at line 1303 of file SDPatternMatch.h.
Referenced by collectLeaves(), and ReassociatableOpc_match().
| std::tuple<PatternTs...> llvm::SDPatternMatch::ReassociatableOpc_match< PatternTs >::Patterns |
Definition at line 1304 of file SDPatternMatch.h.
Referenced by match(), and ReassociatableOpc_match().