LLVM 22.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) const |
template<int Idx, int Last> | |
std::enable_if_t< Idx==Last, bool > | match_operands (const Instruction *I) const |
template<typename OpTy> | |
bool | match (OpTy *V) const |
Public Attributes | |
std::tuple< OperandTypes... > | Operands |
Matches instructions with Opcode and any number of operands.
Definition at line 1907 of file PatternMatch.h.
|
inline |
Definition at line 1910 of file PatternMatch.h.
References AbstractManglingParser< Derived, Alloc >::Ops, and Operands.
|
inline |
Definition at line 1928 of file PatternMatch.h.
References llvm::cast(), I, and match_operands().
|
inline |
Definition at line 1918 of file PatternMatch.h.
References I, and match_operands().
Referenced by match(), and match_operands().
|
inline |
Definition at line 1924 of file PatternMatch.h.
std::tuple<OperandTypes...> llvm::PatternMatch::AnyOps_match< Opcode, OperandTypes >::Operands |
Definition at line 1908 of file PatternMatch.h.
Referenced by AnyOps_match(), and match_operands().