Halide 22.0.0 Halide compiler and libraries

Classes | Public Member Functions | Static Public Attributes | List of all members
Halide::Internal::IRMatcher::SimplifiedNegateOp< i > 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

## Static Public Attributes
static constexpr uint32_t | binds = 0
static constexpr IRNodeType | min_node_type = IRNodeType::EQ
static constexpr IRNodeType | max_node_type = IRNodeType::Not
static constexpr bool | canonical = true
static constexpr bool | foldable = false

## Detailed Description

template<int i>
struct Halide::Internal::IRMatcher::SimplifiedNegateOp< i >

Definition at line 1674 of file IRMatch.h.

## Member Function Documentation

## ◆ match()

template<int i>
template<uint32_t bound>

HALIDE_ALWAYS_INLINE bool Halide::Internal::IRMatcher::SimplifiedNegateOp< i >::match | ( | const BaseExprNode & | e,
|  | MatcherState & | state
| ) |  | const
| inlinenoexcept

Definition at line 1685 of file IRMatch.h.

References Halide::Internal::EQ::a, Halide::Internal::EQ::b, Halide::Internal::EQ, Halide::Internal::equal(), Halide::Expr::get(), Halide::Internal::LE, Halide::Internal::LT, Halide::Internal::NE, Halide::Internal::IRNode::node_type, and Halide::Internal::Not.

## Member Data Documentation

## ◆ binds

template<int i>

constexpr uint32_t Halide::Internal::IRMatcher::SimplifiedNegateOp< i >::binds = 0
| staticconstexpr

Definition at line 1677 of file IRMatch.h.

## ◆ min_node_type

template<int i>

constexpr IRNodeType Halide::Internal::IRMatcher::SimplifiedNegateOp< i >::min_node_type = IRNodeType::EQ
| staticconstexpr

Definition at line 1679 of file IRMatch.h.

## ◆ max_node_type

template<int i>

constexpr IRNodeType Halide::Internal::IRMatcher::SimplifiedNegateOp< i >::max_node_type = IRNodeType::Not
| staticconstexpr

Definition at line 1680 of file IRMatch.h.

## ◆ canonical

template<int i>

constexpr bool Halide::Internal::IRMatcher::SimplifiedNegateOp< i >::canonical = true
| staticconstexpr

Definition at line 1681 of file IRMatch.h.

## ◆ foldable

template<int i>

constexpr bool Halide::Internal::IRMatcher::SimplifiedNegateOp< i >::foldable = false
| staticconstexpr

Definition at line 1682 of file IRMatch.h.

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

- src/IRMatch.h