LLVM 22.0.0git
llvm::PatternMatch::TwoOps_match< T0, T1, Opcode > Struct Template Reference

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

#include "llvm/IR/PatternMatch.h"

Public Member Functions

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

Public Attributes

T0 Op1
T1 Op2

Detailed Description

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

Matches instructions with Opcode and three operands.

Definition at line 1866 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ TwoOps_match()

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

Definition at line 1870 of file PatternMatch.h.

References Op1, Op2, and T1.

Member Function Documentation

◆ match()

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

Definition at line 1872 of file PatternMatch.h.

References llvm::cast(), I, Op1, and Op2.

Member Data Documentation

◆ Op1

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

Definition at line 1867 of file PatternMatch.h.

Referenced by match(), and TwoOps_match().

◆ Op2

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

Definition at line 1868 of file PatternMatch.h.

Referenced by match(), and TwoOps_match().


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