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 A2 , typename B2 > | |
HALIDE_ALWAYS_INLINE bool | match (const BroadcastOp< A2, B2 > &op, 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 |
B | lanes |
Static Public Attributes | |
constexpr static uint32_t | binds = bindings<A>::mask | bindings<B>::mask |
constexpr static IRNodeType | min_node_type = IRNodeType::Broadcast |
constexpr static IRNodeType | max_node_type = IRNodeType::Broadcast |
constexpr static bool | canonical = A::canonical && B::canonical |
constexpr static bool | foldable = false |
|
inlinenoexcept |
Definition at line 1752 of file IRMatch.h.
References Halide::Internal::Broadcast::_node_type, Halide::Internal::IRMatcher::BroadcastOp< A, B >::a, Halide::Expr::get(), Halide::Internal::Broadcast::lanes, Halide::Internal::IRMatcher::BroadcastOp< A, B >::lanes, and Halide::Internal::Broadcast::value.
Referenced by Halide::Internal::IRMatcher::BroadcastOp< A, B >::match().
|
inlinenoexcept |
|
inline |
Definition at line 1770 of file IRMatch.h.
References Halide::Internal::IRMatcher::BroadcastOp< A, B >::a, halide_scalar_value_t::i64, halide_type_t::lanes, Halide::Internal::IRMatcher::BroadcastOp< A, B >::lanes, Halide::Internal::Broadcast::make(), and halide_scalar_value_t::u.
|
inlinenoexcept |
A Halide::Internal::IRMatcher::BroadcastOp< A, B >::a |
B Halide::Internal::IRMatcher::BroadcastOp< A, B >::lanes |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |