LLVM 22.0.0git
llvm::MIPatternMatch::CompareOp_match< Pred_P, LHS_P, RHS_P, Opcode, Commutable > Struct Template Reference

#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"

Public Member Functions

 CompareOp_match (const Pred_P &Pred, const LHS_P &LHS, const RHS_P &RHS)
template<typename OpTy>
bool match (const MachineRegisterInfo &MRI, OpTy &&Op)

Public Attributes

Pred_P P
LHS_P L
RHS_P R

Detailed Description

template<typename Pred_P, typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
struct llvm::MIPatternMatch::CompareOp_match< Pred_P, LHS_P, RHS_P, Opcode, Commutable >

Definition at line 767 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ CompareOp_match()

template<typename Pred_P, typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
llvm::MIPatternMatch::CompareOp_match< Pred_P, LHS_P, RHS_P, Opcode, Commutable >::CompareOp_match ( const Pred_P & Pred,
const LHS_P & LHS,
const RHS_P & RHS )
inline

Definition at line 772 of file MIPatternMatch.h.

References L, LHS, P, R, and RHS.

Member Function Documentation

◆ match()

template<typename Pred_P, typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
template<typename OpTy>
bool llvm::MIPatternMatch::CompareOp_match< Pred_P, LHS_P, RHS_P, Opcode, Commutable >::match ( const MachineRegisterInfo & MRI,
OpTy && Op )
inline

Member Data Documentation

◆ L

template<typename Pred_P, typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
LHS_P llvm::MIPatternMatch::CompareOp_match< Pred_P, LHS_P, RHS_P, Opcode, Commutable >::L

Definition at line 769 of file MIPatternMatch.h.

Referenced by CompareOp_match(), and match().

◆ P

template<typename Pred_P, typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
Pred_P llvm::MIPatternMatch::CompareOp_match< Pred_P, LHS_P, RHS_P, Opcode, Commutable >::P

Definition at line 768 of file MIPatternMatch.h.

Referenced by CompareOp_match(), and match().

◆ R

template<typename Pred_P, typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false>
RHS_P llvm::MIPatternMatch::CompareOp_match< Pred_P, LHS_P, RHS_P, Opcode, Commutable >::R

Definition at line 770 of file MIPatternMatch.h.

Referenced by CompareOp_match(), and match().


The documentation for this struct was generated from the following file: