FLANG
Public Types | Public Member Functions | List of all members
Fortran::evaluate::match::OperationPattern< OpType, Ops > Struct Template Reference

Matches evaluate::Expr<T> that contains evaluate::Opreration<OpType>. More...

#include <flang/Evaluate/match.h>

Inheritance diagram for Fortran::evaluate::match::OperationPattern< OpType, Ops >:
Fortran::evaluate::match::TypePattern< OpType > Fortran::evaluate::match::Add< Type, Op0, Op1 > Fortran::evaluate::match::Mul< Type, Op0, Op1 >

Public Types

using MatchType = OpType
 
- Public Types inherited from Fortran::evaluate::match::TypePattern< OpType >
using MatchType = llvm::remove_cvref_t< OpType >
 

Public Member Functions

 OperationPattern (const Ops &...ops, llvm::type_identity< OpType >={})
 
template<typename T >
bool match (const evaluate::Expr< T > &input) const
 
template<typename U >
bool match (const U &input) const
 
- Public Member Functions inherited from Fortran::evaluate::match::TypePattern< OpType >
bool match (const U &input) const
 

Additional Inherited Members

- Public Attributes inherited from Fortran::evaluate::match::TypePattern< OpType >
const MatchType * ref
 

Detailed Description

template<typename OpType, typename... Ops>
struct Fortran::evaluate::match::OperationPattern< OpType, Ops >

Matches evaluate::Expr<T> that contains evaluate::Opreration<OpType>.


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