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) |
void | collectLeaves (SDValue V, SmallVector< SDValue > &Leaves) |
bool | reassociatableMatchHelper (const ArrayRef< SmallBitVector > Matches, SmallBitVector &Used, size_t Curr=0) |
Public Attributes | |
unsigned | Opcode |
std::tuple< PatternTs... > | Patterns |
Definition at line 1256 of file SDPatternMatch.h.
|
inline |
Definition at line 1260 of file SDPatternMatch.h.
|
inline |
Definition at line 1287 of file SDPatternMatch.h.
References collectLeaves(), llvm::SmallVectorImpl< T >::emplace_back(), I, N, and Opcode.
Referenced by collectLeaves(), and match().
|
inline |
Definition at line 1264 of file SDPatternMatch.h.
References collectLeaves(), I, N, P, Patterns, reassociatableMatchHelper(), llvm::SDPatternMatch::sd_context_match(), and llvm::SmallVectorTemplateCommon< T, typename >::size().
|
inlinenodiscard |
Definition at line 1297 of file SDPatternMatch.h.
References N, reassociatableMatchHelper(), llvm::ArrayRef< T >::size(), and llvm::size().
Referenced by match(), and reassociatableMatchHelper().
unsigned llvm::SDPatternMatch::ReassociatableOpc_match< PatternTs >::Opcode |
Definition at line 1257 of file SDPatternMatch.h.
Referenced by collectLeaves(), and ReassociatableOpc_match().
std::tuple<PatternTs...> llvm::SDPatternMatch::ReassociatableOpc_match< PatternTs >::Patterns |
Definition at line 1258 of file SDPatternMatch.h.
Referenced by match(), and ReassociatableOpc_match().