Halide
|
#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 | |
constexpr static uint32_t | binds = bindings<A>::mask | bindings<B>::mask |
constexpr static IRNodeType | min_node_type = Op::_node_type |
constexpr static IRNodeType | max_node_type = Op::_node_type |
constexpr static bool | canonical |
constexpr static bool | foldable = A::foldable && B::foldable |
|
inlinenoexcept |
Definition at line 657 of file IRMatch.h.
References Halide::Internal::IRMatcher::BinOp< Op, A, B >::a, and Halide::Internal::IRMatcher::BinOp< Op, A, B >::b.
Referenced by Halide::Internal::IRMatcher::BinOp< Op, A, B >::match().
|
inlinenoexcept |
Definition at line 667 of file IRMatch.h.
References Halide::Internal::IRMatcher::BinOp< Op, A, B >::a, Halide::Internal::IRMatcher::BinOp< Op, A, B >::b, Halide::Internal::IRMatcher::BinOp< Op, A, B >::match(), and Halide::Internal::IRMatcher::unwrap().
|
inlinenoexcept |
Definition at line 676 of file IRMatch.h.
References Halide::Internal::IRMatcher::BinOp< Op, A, B >::a, Halide::Internal::IRMatcher::BinOp< Op, A, B >::b, 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 719 of file IRMatch.h.
References Halide::Internal::IRMatcher::BinOp< Op, A, B >::a, Halide::Internal::IRMatcher::BinOp< Op, A, B >::b, Halide::Type::is_vector(), Halide::Type::lanes(), Halide::Internal::Broadcast::make(), and Halide::Expr::type().
A Halide::Internal::IRMatcher::BinOp< Op, A, B >::a |
B Halide::Internal::IRMatcher::BinOp< Op, A, B >::b |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |