LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::PatternMatch::ThreeOps_match< T0, T1, T2, Opcode > Struct Template Reference

Matches instructions with Opcode and three operands. More...

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 ThreeOps_match (const T0 &Op1, const T1 &Op2, const T2 &Op3)
 
template<typename OpTy >
bool match (OpTy *V)
 

Public Attributes

T0 Op1
 
T1 Op2
 
T2 Op3
 

Detailed Description

template<typename T0, typename T1, typename T2, unsigned Opcode>
struct llvm::PatternMatch::ThreeOps_match< T0, T1, T2, Opcode >

Matches instructions with Opcode and three operands.

Definition at line 1710 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ ThreeOps_match()

template<typename T0 , typename T1 , typename T2 , unsigned Opcode>
llvm::PatternMatch::ThreeOps_match< T0, T1, T2, Opcode >::ThreeOps_match ( const T0 &  Op1,
const T1 Op2,
const T2 &  Op3 
)
inline

Definition at line 1715 of file PatternMatch.h.

Member Function Documentation

◆ match()

template<typename T0 , typename T1 , typename T2 , unsigned Opcode>
template<typename OpTy >
bool llvm::PatternMatch::ThreeOps_match< T0, T1, T2, Opcode >::match ( OpTy *  V)
inline

Member Data Documentation

◆ Op1

template<typename T0 , typename T1 , typename T2 , unsigned Opcode>
T0 llvm::PatternMatch::ThreeOps_match< T0, T1, T2, Opcode >::Op1

◆ Op2

template<typename T0 , typename T1 , typename T2 , unsigned Opcode>
T1 llvm::PatternMatch::ThreeOps_match< T0, T1, T2, Opcode >::Op2

◆ Op3

template<typename T0 , typename T1 , typename T2 , unsigned Opcode>
T2 llvm::PatternMatch::ThreeOps_match< T0, T1, T2, Opcode >::Op3

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