Halide 18.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 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 | |
static constexpr uint32_t | binds = bindings<A>::mask | bindings<B>::mask |
static constexpr IRNodeType | min_node_type = IRNodeType::Broadcast |
static constexpr IRNodeType | max_node_type = IRNodeType::Broadcast |
static constexpr bool | canonical = A::canonical && B::canonical |
static constexpr bool | foldable = false |
|
inlinenoexcept |
Definition at line 1740 of file IRMatch.h.
References Halide::Internal::Broadcast::_node_type, Halide::Internal::IRMatcher::BroadcastOp< A, B >::a, Halide::Internal::IRMatcher::cast(), 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 |
Definition at line 1752 of file IRMatch.h.
References Halide::Internal::IRMatcher::BroadcastOp< A, B >::a, Halide::Internal::IRMatcher::cast(), Halide::Internal::IRMatcher::BroadcastOp< A, B >::lanes, Halide::Internal::IRMatcher::BroadcastOp< A, B >::match(), and Halide::Internal::IRMatcher::unwrap().
|
inline |
Definition at line 1758 of file IRMatch.h.
References Halide::Internal::IRMatcher::BroadcastOp< A, B >::a, Halide::Internal::IRMatcher::cast(), Halide::Internal::IRMatcher::BroadcastOp< A, B >::lanes, and Halide::Internal::Broadcast::make().
|
inlinenoexcept |
Definition at line 1729 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::BroadcastOp< A, B >::make(), Halide::Internal::IRMatcher::BroadcastOp< A, B >::make_folded_const(), Halide::Internal::IRMatcher::BroadcastOp< A, B >::match(), Halide::Internal::IRMatcher::BroadcastOp< A, B >::match(), and Halide::Internal::IRMatcher::operator<<().
Definition at line 1730 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::BroadcastOp< A, B >::make(), Halide::Internal::IRMatcher::BroadcastOp< A, B >::make_folded_const(), Halide::Internal::IRMatcher::BroadcastOp< A, B >::match(), Halide::Internal::IRMatcher::BroadcastOp< A, B >::match(), and Halide::Internal::IRMatcher::operator<<().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |