#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 C2, typename T2, typename F2> | |
HALIDE_ALWAYS_INLINE bool | match (const SelectOp< C2, T2, F2 > &instance, MatcherState &state) const noexcept |
HALIDE_ALWAYS_INLINE Expr | make (MatcherState &state, halide_type_t type_hint) const |
template<typename C1 = C> | |
HALIDE_ALWAYS_INLINE void | make_folded_const (halide_scalar_value_t &val, halide_type_t &ty, MatcherState &state) const noexcept |
Public Attributes | |
C | c |
T | t |
F | f |
Static Public Attributes | |
static constexpr uint32_t | binds = bindings<C>::mask | bindings<T>::mask | bindings<F>::mask |
static constexpr IRNodeType | min_node_type = IRNodeType::Select |
static constexpr IRNodeType | max_node_type = IRNodeType::Select |
static constexpr bool | canonical = C::canonical && T::canonical && F::canonical |
static constexpr bool | foldable = C::foldable && T::foldable && F::foldable |
|
inlinenoexcept |
Definition at line 1689 of file IRMatch.h.
References Halide::Internal::Select::_node_type, c, Halide::Internal::Select::condition, f, Halide::Internal::Select::false_value, Halide::Expr::get(), HALIDE_ALWAYS_INLINE, Halide::Internal::IRMatcher::bindings< T >::mask, match(), t, and Halide::Internal::Select::true_value.
|
inlinenoexcept |
Definition at line 1699 of file IRMatch.h.
References c, f, HALIDE_ALWAYS_INLINE, Halide::Internal::IRMatcher::bindings< T >::mask, match(), t, and Halide::Internal::IRMatcher::unwrap().
|
inline |
|
inlinenoexcept |
Definition at line 1713 of file IRMatch.h.
References c, f, HALIDE_ALWAYS_INLINE, halide_type_t::lanes, Halide::Internal::IRMatcher::MatcherState::special_values_mask, t, halide_scalar_value_t::u, and halide_scalar_value_t::u64.
C Halide::Internal::IRMatcher::SelectOp< C, T, F >::c |
Definition at line 1677 of file IRMatch.h.
Referenced by make(), make_folded_const(), match(), match(), and Halide::Internal::IRMatcher::operator<<().
T Halide::Internal::IRMatcher::SelectOp< C, T, F >::t |
Definition at line 1678 of file IRMatch.h.
Referenced by make(), make_folded_const(), match(), match(), and Halide::Internal::IRMatcher::operator<<().
F Halide::Internal::IRMatcher::SelectOp< C, T, F >::f |
Definition at line 1679 of file IRMatch.h.
Referenced by make(), make_folded_const(), match(), match(), and Halide::Internal::IRMatcher::operator<<().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |