LLVM 22.0.0git
llvm::PatternMatch::Argument_match< Opnd_t > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 Argument_match (unsigned OpIdx, const Opnd_t &V)
template<typename OpTy>
bool match (OpTy *V) const

Public Attributes

unsigned OpI
Opnd_t Val

Detailed Description

template<typename Opnd_t>
struct llvm::PatternMatch::Argument_match< Opnd_t >

Definition at line 2696 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ Argument_match()

template<typename Opnd_t>
llvm::PatternMatch::Argument_match< Opnd_t >::Argument_match ( unsigned OpIdx,
const Opnd_t & V )
inline

Definition at line 2700 of file PatternMatch.h.

References OpI, OpIdx, and Val.

Member Function Documentation

◆ match()

template<typename Opnd_t>
template<typename OpTy>
bool llvm::PatternMatch::Argument_match< Opnd_t >::match ( OpTy * V) const
inline

Definition at line 2702 of file PatternMatch.h.

References llvm::dyn_cast(), OpI, and Val.

Member Data Documentation

◆ OpI

template<typename Opnd_t>
unsigned llvm::PatternMatch::Argument_match< Opnd_t >::OpI

Definition at line 2697 of file PatternMatch.h.

Referenced by Argument_match(), and match().

◆ Val

template<typename Opnd_t>
Opnd_t llvm::PatternMatch::Argument_match< Opnd_t >::Val

Definition at line 2698 of file PatternMatch.h.

Referenced by Argument_match(), and match().


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