#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 | a |
Static Public Attributes | |
static constexpr uint32_t | binds = bindings<A>::mask |
static constexpr IRNodeType | min_node_type = IRNodeType::Sub |
static constexpr IRNodeType | max_node_type = IRNodeType::Sub |
static constexpr bool | canonical = A::canonical |
static constexpr bool | foldable = A::foldable |
|
inlinenoexcept |
Definition at line 1970 of file IRMatch.h.
References Halide::Internal::Sub::_node_type, a, Halide::Internal::Sub::a, Halide::Internal::Sub::b, Halide::Expr::get(), HALIDE_ALWAYS_INLINE, Halide::Internal::is_const_zero(), and match().
|
inlinenoexcept |
Definition at line 1980 of file IRMatch.h.
References a, HALIDE_ALWAYS_INLINE, match(), and Halide::Internal::IRMatcher::unwrap().
|
inline |
Definition at line 1985 of file IRMatch.h.
References a, Halide::Internal::Sub::make(), Halide::Internal::make_zero(), and Halide::Expr::type().
|
inlinenoexcept |
Definition at line 1994 of file IRMatch.h.
References a, HALIDE_ALWAYS_INLINE, halide_type_bfloat, halide_type_float, halide_type_int, halide_type_uint, and Halide::Internal::IRMatcher::MatcherState::signed_integer_overflow.
A Halide::Internal::IRMatcher::NegateOp< A >::a |
Definition at line 1960 of file IRMatch.h.
Referenced by make(), make_folded_const(), match(), match(), and Halide::Internal::IRMatcher::operator<<().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |