Halide
Halide::Internal::IRMatcher::NotOp< A > Struct Template Reference

#include <IRMatch.h>

Classes

struct  pattern_tag
 

Public Member Functions

template<uint32_t bound>
HALIDE_ALWAYS_INLINE bool match (const BaseExprNode &e, MatcherState &state) const noexcept
 
template<uint32_t bound, typename A2 >
HALIDE_ALWAYS_INLINE bool match (const NotOp< A2 > &op, MatcherState &state) const noexcept
 
HALIDE_ALWAYS_INLINE Expr make (MatcherState &state, halide_type_t type_hint) const
 
template<typename A1 = A>
HALIDE_ALWAYS_INLINE void make_folded_const (halide_scalar_value_t &val, halide_type_t &ty, MatcherState &state) const noexcept
 

Public Attributes

a
 

Static Public Attributes

constexpr static uint32_t binds = bindings<A>::mask
 
constexpr static IRNodeType min_node_type = IRNodeType::Not
 
constexpr static IRNodeType max_node_type = IRNodeType::Not
 
constexpr static bool canonical = A::canonical
 
constexpr static bool foldable = A::foldable
 

Detailed Description

template<typename A>
struct Halide::Internal::IRMatcher::NotOp< A >

Definition at line 1398 of file IRMatch.h.

Member Function Documentation

◆ match() [1/2]

template<typename A >
template<uint32_t bound>
HALIDE_ALWAYS_INLINE bool Halide::Internal::IRMatcher::NotOp< A >::match ( const BaseExprNode e,
MatcherState state 
) const
inlinenoexcept

◆ match() [2/2]

template<typename A >
template<uint32_t bound, typename A2 >
HALIDE_ALWAYS_INLINE bool Halide::Internal::IRMatcher::NotOp< A >::match ( const NotOp< A2 > &  op,
MatcherState state 
) const
inlinenoexcept

◆ make()

template<typename A >
HALIDE_ALWAYS_INLINE Expr Halide::Internal::IRMatcher::NotOp< A >::make ( MatcherState state,
halide_type_t  type_hint 
) const
inline

◆ make_folded_const()

template<typename A >
template<typename A1 = A>
HALIDE_ALWAYS_INLINE void Halide::Internal::IRMatcher::NotOp< A >::make_folded_const ( halide_scalar_value_t val,
halide_type_t ty,
MatcherState state 
) const
inlinenoexcept

Definition at line 1430 of file IRMatch.h.

References Halide::Internal::IRMatcher::NotOp< A >::a.

Member Data Documentation

◆ a

◆ binds

template<typename A >
constexpr static uint32_t Halide::Internal::IRMatcher::NotOp< A >::binds = bindings<A>::mask
staticconstexpr

Definition at line 1402 of file IRMatch.h.

◆ min_node_type

template<typename A >
constexpr static IRNodeType Halide::Internal::IRMatcher::NotOp< A >::min_node_type = IRNodeType::Not
staticconstexpr

Definition at line 1404 of file IRMatch.h.

◆ max_node_type

template<typename A >
constexpr static IRNodeType Halide::Internal::IRMatcher::NotOp< A >::max_node_type = IRNodeType::Not
staticconstexpr

Definition at line 1405 of file IRMatch.h.

◆ canonical

template<typename A >
constexpr static bool Halide::Internal::IRMatcher::NotOp< A >::canonical = A::canonical
staticconstexpr

Definition at line 1406 of file IRMatch.h.

◆ foldable

template<typename A >
constexpr static bool Halide::Internal::IRMatcher::NotOp< A >::foldable = A::foldable
staticconstexpr

Definition at line 1427 of file IRMatch.h.


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