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

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

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 OneOps_match (const T0 &Op1)
template<typename OpTy>
bool match (OpTy *V) const

Public Attributes

T0 Op1

Detailed Description

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

Matches instructions with Opcode and three operands.

Definition at line 1830 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ OneOps_match()

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

Definition at line 1833 of file PatternMatch.h.

References Op1.

Member Function Documentation

◆ match()

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

Definition at line 1835 of file PatternMatch.h.

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

Member Data Documentation

◆ Op1

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

Definition at line 1831 of file PatternMatch.h.

Referenced by match(), and OneOps_match().


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