|
Halide 21.0.0
Halide compiler and libraries
|
#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 Op2, typename A2, typename B2> | |
| HALIDE_ALWAYS_INLINE bool | match (const BinOp< Op2, A2, B2 > &op, MatcherState &state) const noexcept |
| HALIDE_ALWAYS_INLINE void | make_folded_const (halide_scalar_value_t &val, halide_type_t &ty, MatcherState &state) const noexcept |
| HALIDE_ALWAYS_INLINE Expr | make (MatcherState &state, halide_type_t type_hint) const noexcept |
Public Attributes | |
| A | a |
| B | b |
Static Public Attributes | |
| static constexpr uint32_t | binds = bindings<A>::mask | bindings<B>::mask |
| static constexpr IRNodeType | min_node_type = Op::_node_type |
| static constexpr IRNodeType | max_node_type = Op::_node_type |
| static constexpr bool | canonical |
| static constexpr bool | foldable = A::foldable && B::foldable |
|
inlinenoexcept |
Definition at line 645 of file IRMatch.h.
References a, b, HALIDE_ALWAYS_INLINE, Halide::Internal::IRMatcher::bindings< T >::mask, and match().
|
inlinenoexcept |
Definition at line 655 of file IRMatch.h.
References a, b, HALIDE_ALWAYS_INLINE, Halide::Internal::IRMatcher::bindings< T >::mask, match(), and Halide::Internal::IRMatcher::unwrap().
|
inlinenoexcept |
Definition at line 664 of file IRMatch.h.
References a, b, Halide::Internal::IRMatcher::constant_fold_bin_op(), halide_scalar_value_t::f64, halide_type_bfloat, halide_type_float, halide_type_int, halide_type_uint, halide_scalar_value_t::i64, halide_scalar_value_t::u, and halide_scalar_value_t::u64.
|
inlinenoexcept |
Definition at line 707 of file IRMatch.h.
References a, b, and Halide::Expr::type().
| A Halide::Internal::IRMatcher::BinOp< Op, A, B >::a |
Definition at line 630 of file IRMatch.h.
Referenced by make(), make_folded_const(), match(), match(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), and Halide::Internal::IRMatcher::operator<<().
| B Halide::Internal::IRMatcher::BinOp< Op, A, B >::b |
Definition at line 631 of file IRMatch.h.
Referenced by make(), make_folded_const(), match(), match(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), Halide::Internal::IRMatcher::operator<<(), and Halide::Internal::IRMatcher::operator<<().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |