LLVM  8.0.1
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"

Collaboration diagram for llvm::PatternMatch::ThreeOps_match< T0, T1, T2, Opcode >:
Collaboration graph
[legend]

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 1061 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 1066 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

Definition at line 1069 of file PatternMatch.h.

References I.

Member Data Documentation

◆ Op1

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

Definition at line 1062 of file PatternMatch.h.

◆ Op2

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

Definition at line 1063 of file PatternMatch.h.

◆ Op3

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

Definition at line 1064 of file PatternMatch.h.


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