LLVM  10.0.0svn
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 1156 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 1161 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 1164 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 1157 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 1158 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 1159 of file PatternMatch.h.


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