LLVM 22.0.0git
llvm::PatternMatch::CastOperator_match< Op_t, Opcode > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 CastOperator_match (const Op_t &OpMatch)
template<typename OpTy>
bool match (OpTy *V) const

Public Attributes

Op_t Op

Detailed Description

template<typename Op_t, unsigned Opcode>
struct llvm::PatternMatch::CastOperator_match< Op_t, Opcode >

Definition at line 2081 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ CastOperator_match()

template<typename Op_t, unsigned Opcode>
llvm::PatternMatch::CastOperator_match< Op_t, Opcode >::CastOperator_match ( const Op_t & OpMatch)
inline

Definition at line 2084 of file PatternMatch.h.

References Op.

Member Function Documentation

◆ match()

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

Definition at line 2086 of file PatternMatch.h.

References llvm::dyn_cast(), and Op.

Member Data Documentation

◆ Op

template<typename Op_t, unsigned Opcode>
Op_t llvm::PatternMatch::CastOperator_match< Op_t, Opcode >::Op

Definition at line 2082 of file PatternMatch.h.

Referenced by CastOperator_match(), and match().


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