LLVM 20.0.0git
|
Matches instructions with Opcode and any number of operands. More...
#include "llvm/IR/PatternMatch.h"
Public Member Functions | |
AnyOps_match (const OperandTypes &...Ops) | |
template<int Idx, int Last> | |
std::enable_if_t< Idx !=Last, bool > | match_operands (const Instruction *I) |
template<int Idx, int Last> | |
std::enable_if_t< Idx==Last, bool > | match_operands (const Instruction *I) |
template<typename OpTy > | |
bool | match (OpTy *V) |
Public Attributes | |
std::tuple< OperandTypes... > | Operands |
Matches instructions with Opcode and any number of operands.
Definition at line 1739 of file PatternMatch.h.
|
inline |
Definition at line 1742 of file PatternMatch.h.
|
inline |
Definition at line 1758 of file PatternMatch.h.
References I, and llvm::PatternMatch::AnyOps_match< Opcode, OperandTypes >::match_operands().
|
inline |
Definition at line 1749 of file PatternMatch.h.
References I.
Referenced by llvm::PatternMatch::AnyOps_match< Opcode, OperandTypes >::match().
|
inline |
Definition at line 1754 of file PatternMatch.h.
References I, Idx, and llvm::PatternMatch::AnyOps_match< Opcode, OperandTypes >::Operands.
std::tuple<OperandTypes...> llvm::PatternMatch::AnyOps_match< Opcode, OperandTypes >::Operands |
Definition at line 1740 of file PatternMatch.h.
Referenced by llvm::PatternMatch::AnyOps_match< Opcode, OperandTypes >::match_operands().