Halide
Halide::Internal::IRMatcher::NegateOp< 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 (NegateOp< A2 > &&p, 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::Sub
 
constexpr static IRNodeType max_node_type = IRNodeType::Sub
 
constexpr static bool canonical = A::canonical
 
constexpr static bool foldable = A::foldable
 

Detailed Description

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

Definition at line 1771 of file IRMatch.h.

Member Function Documentation

◆ match() [1/2]

◆ match() [2/2]

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

◆ make()

◆ make_folded_const()

Member Data Documentation

◆ a

◆ binds

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

Definition at line 1775 of file IRMatch.h.

◆ min_node_type

template<typename A >
constexpr static IRNodeType Halide::Internal::IRMatcher::NegateOp< A >::min_node_type = IRNodeType::Sub
staticconstexpr

Definition at line 1777 of file IRMatch.h.

◆ max_node_type

template<typename A >
constexpr static IRNodeType Halide::Internal::IRMatcher::NegateOp< A >::max_node_type = IRNodeType::Sub
staticconstexpr

Definition at line 1778 of file IRMatch.h.

◆ canonical

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

Definition at line 1780 of file IRMatch.h.

◆ foldable

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

Definition at line 1804 of file IRMatch.h.


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