LLVM 24.0.0git
llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable, Flags > Struct Template Reference

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

Public Member Functions

 BinaryOp_match (const LHS_P &LHS, const RHS_P &RHS)
 BinaryOp_match (const LHS_P &LHS, const RHS_P &RHS, MIFlagsRef FlagsOut)
template<typename OpTy>
bool match (const MachineRegisterInfo &MRI, OpTy &&Op)

Public Attributes

LHS_P L
RHS_P R
uint32_tFlagsOut = nullptr

Detailed Description

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false, unsigned Flags = MachineInstr::NoFlags>
struct llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable, Flags >

Definition at line 746 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ BinaryOp_match() [1/2]

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false, unsigned Flags = MachineInstr::NoFlags>
llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable, Flags >::BinaryOp_match ( const LHS_P & LHS,
const RHS_P & RHS )
inline

Definition at line 752 of file MIPatternMatch.h.

References L, LHS, R, and RHS.

◆ BinaryOp_match() [2/2]

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false, unsigned Flags = MachineInstr::NoFlags>
llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable, Flags >::BinaryOp_match ( const LHS_P & LHS,
const RHS_P & RHS,
MIFlagsRef FlagsOut )
inline

Definition at line 753 of file MIPatternMatch.h.

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

Member Function Documentation

◆ match()

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

Member Data Documentation

◆ FlagsOut

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false, unsigned Flags = MachineInstr::NoFlags>
uint32_t* llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable, Flags >::FlagsOut = nullptr

Definition at line 750 of file MIPatternMatch.h.

Referenced by BinaryOp_match(), and match().

◆ L

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false, unsigned Flags = MachineInstr::NoFlags>
LHS_P llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable, Flags >::L

Definition at line 747 of file MIPatternMatch.h.

Referenced by BinaryOp_match(), BinaryOp_match(), and match().

◆ R

template<typename LHS_P, typename RHS_P, unsigned Opcode, bool Commutable = false, unsigned Flags = MachineInstr::NoFlags>
RHS_P llvm::MIPatternMatch::BinaryOp_match< LHS_P, RHS_P, Opcode, Commutable, Flags >::R

Definition at line 748 of file MIPatternMatch.h.

Referenced by BinaryOp_match(), BinaryOp_match(), and match().


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