Halide 22.0.0 Halide compiler and libraries

Classes | Public Member Functions | Static Public Attributes | List of all members
Halide::Internal::IRMatcher::Overflow Struct 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
HALIDE_ALWAYS_INLINE Expr | make (MatcherState &state, halide_type_t type_hint) const
HALIDE_ALWAYS_INLINE void | make_folded_const (halide_scalar_value_t &val, halide_type_t &ty, MatcherState &state) const noexcept

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

## Detailed Description

Definition at line 2343 of file IRMatch.h.

## Member Function Documentation

## ◆ match()

template<uint32_t bound>

HALIDE_ALWAYS_INLINE bool Halide::Internal::IRMatcher::Overflow::match | ( | const BaseExprNode & | e,
|  | MatcherState & | state
| ) |  | const
| inlinenoexcept

Definition at line 2354 of file IRMatch.h.

References Halide::Internal::Call::_node_type, Halide::Internal::Call::is_intrinsic(), and Halide::Internal::Call::signed_integer_overflow.

## ◆ make()

HALIDE_ALWAYS_INLINE Expr Halide::Internal::IRMatcher::Overflow::make | ( | MatcherState & | state,
|  | halide_type_t | type_hint
| ) |  | const
| inline

Definition at line 2363 of file IRMatch.h.

References halide_type_t::lanes, Halide::Internal::IRMatcher::make_const_special_expr(), and Halide::Internal::IRMatcher::MatcherState::signed_integer_overflow.

## ◆ make_folded_const()

HALIDE_ALWAYS_INLINE void Halide::Internal::IRMatcher::Overflow::make_folded_const | ( | halide_scalar_value_t & | val,
|  | halide_type_t & | ty,
|  | MatcherState & | state
| ) |  | const
| inlinenoexcept

Definition at line 2371 of file IRMatch.h.

References Halide::Internal::IRMatcher::MatcherState::signed_integer_overflow.

## Member Data Documentation

## ◆ binds

constexpr uint32_t Halide::Internal::IRMatcher::Overflow::binds = 0
| staticconstexpr

Definition at line 2346 of file IRMatch.h.

## ◆ min_node_type

constexpr IRNodeType Halide::Internal::IRMatcher::Overflow::min_node_type = IRNodeType::Call
| staticconstexpr

Definition at line 2349 of file IRMatch.h.

## ◆ max_node_type

constexpr IRNodeType Halide::Internal::IRMatcher::Overflow::max_node_type = IRNodeType::Call
| staticconstexpr

Definition at line 2350 of file IRMatch.h.

## ◆ canonical

constexpr bool Halide::Internal::IRMatcher::Overflow::canonical = true
| staticconstexpr

Definition at line 2351 of file IRMatch.h.

## ◆ foldable

constexpr bool Halide::Internal::IRMatcher::Overflow::foldable = true
| staticconstexpr

Definition at line 2368 of file IRMatch.h.

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

- src/IRMatch.h