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 , typename C2 > | |
HALIDE_ALWAYS_INLINE bool | match (const RampOp< A2, B2, C2 > &op, MatcherState &state) const noexcept |
HALIDE_ALWAYS_INLINE Expr | make (MatcherState &state, halide_type_t type_hint) const |
Public Attributes | |
A | a |
B | b |
C | lanes |
Static Public Attributes | |
static constexpr uint32_t | binds = bindings<A>::mask | bindings<B>::mask | bindings<C>::mask |
static constexpr IRNodeType | min_node_type = IRNodeType::Ramp |
static constexpr IRNodeType | max_node_type = IRNodeType::Ramp |
static constexpr bool | canonical = A::canonical && B::canonical && C::canonical |
static constexpr bool | foldable = false |
|
inlinenoexcept |
Definition at line 1812 of file IRMatch.h.
References Halide::Internal::Ramp::_node_type, Halide::Internal::IRMatcher::RampOp< A, B, C >::a, Halide::Internal::IRMatcher::RampOp< A, B, C >::b, Halide::Internal::Ramp::base, Halide::Internal::IRMatcher::cast(), Halide::Expr::get(), Halide::Internal::Ramp::lanes, Halide::Internal::IRMatcher::RampOp< A, B, C >::lanes, Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), and Halide::Internal::Ramp::stride.
Referenced by Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), and Halide::Internal::IRMatcher::RampOp< A, B, C >::match().
|
inlinenoexcept |
Definition at line 1827 of file IRMatch.h.
References Halide::Internal::IRMatcher::RampOp< A, B, C >::a, Halide::Internal::IRMatcher::RampOp< A, B, C >::b, Halide::Internal::IRMatcher::cast(), Halide::Internal::IRMatcher::RampOp< A, B, C >::lanes, Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), and Halide::Internal::IRMatcher::unwrap().
|
inline |
Definition at line 1800 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::RampOp< A, B, C >::make(), Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), and Halide::Internal::IRMatcher::operator<<().
Definition at line 1801 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::RampOp< A, B, C >::make(), Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), and Halide::Internal::IRMatcher::operator<<().
C Halide::Internal::IRMatcher::RampOp< A, B, C >::lanes |
Definition at line 1802 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::RampOp< A, B, C >::make(), Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), Halide::Internal::IRMatcher::RampOp< A, B, C >::match(), and Halide::Internal::IRMatcher::operator<<().
|
staticconstexpr |
|
staticconstexpr |