LLVM 22.0.0git
llvm::PatternMatch::brc_match< Cond_t, TrueBlock_t, FalseBlock_t > Struct Template Reference

#include "llvm/IR/PatternMatch.h"

Public Member Functions

 brc_match (const Cond_t &C, const TrueBlock_t &t, const FalseBlock_t &f)
template<typename OpTy>
bool match (OpTy *V) const

Public Attributes

Cond_t Cond
TrueBlock_t T
FalseBlock_t F

Detailed Description

template<typename Cond_t, typename TrueBlock_t, typename FalseBlock_t>
struct llvm::PatternMatch::brc_match< Cond_t, TrueBlock_t, FalseBlock_t >

Definition at line 2346 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ brc_match()

template<typename Cond_t, typename TrueBlock_t, typename FalseBlock_t>
llvm::PatternMatch::brc_match< Cond_t, TrueBlock_t, FalseBlock_t >::brc_match ( const Cond_t & C,
const TrueBlock_t & t,
const FalseBlock_t & f )
inline

Definition at line 2351 of file PatternMatch.h.

References llvm::CallingConv::C, Cond, F, and T.

Member Function Documentation

◆ match()

template<typename Cond_t, typename TrueBlock_t, typename FalseBlock_t>
template<typename OpTy>
bool llvm::PatternMatch::brc_match< Cond_t, TrueBlock_t, FalseBlock_t >::match ( OpTy * V) const
inline

Definition at line 2354 of file PatternMatch.h.

References Cond, llvm::dyn_cast(), F, and T.

Member Data Documentation

◆ Cond

template<typename Cond_t, typename TrueBlock_t, typename FalseBlock_t>
Cond_t llvm::PatternMatch::brc_match< Cond_t, TrueBlock_t, FalseBlock_t >::Cond

Definition at line 2347 of file PatternMatch.h.

Referenced by brc_match(), and match().

◆ F

template<typename Cond_t, typename TrueBlock_t, typename FalseBlock_t>
FalseBlock_t llvm::PatternMatch::brc_match< Cond_t, TrueBlock_t, FalseBlock_t >::F

Definition at line 2349 of file PatternMatch.h.

Referenced by brc_match(), and match().

◆ T

template<typename Cond_t, typename TrueBlock_t, typename FalseBlock_t>
TrueBlock_t llvm::PatternMatch::brc_match< Cond_t, TrueBlock_t, FalseBlock_t >::T

Definition at line 2348 of file PatternMatch.h.

Referenced by brc_match(), and match().


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