LLVM 22.0.0git
llvm::PatternMatch::CastInst_match< Op_t, Class > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

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

Public Attributes

Op_t Op

Detailed Description

template<typename Op_t, typename Class>
struct llvm::PatternMatch::CastInst_match< Op_t, Class >

Definition at line 2093 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ CastInst_match()

template<typename Op_t, typename Class>
llvm::PatternMatch::CastInst_match< Op_t, Class >::CastInst_match ( const Op_t & OpMatch)
inline

Definition at line 2096 of file PatternMatch.h.

References Op.

Member Function Documentation

◆ match()

template<typename Op_t, typename Class>
template<typename OpTy>
bool llvm::PatternMatch::CastInst_match< Op_t, Class >::match ( OpTy * V) const
inline

Definition at line 2098 of file PatternMatch.h.

References llvm::dyn_cast(), I, and Op.

Member Data Documentation

◆ Op

template<typename Op_t, typename Class>
Op_t llvm::PatternMatch::CastInst_match< Op_t, Class >::Op

Definition at line 2094 of file PatternMatch.h.

Referenced by CastInst_match(), and match().


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