Halide
12.0.1
Halide compiler and libraries
|
#include <IRMatch.h>
Classes | |
struct | pattern_tag |
Public Member Functions | |
template<int i, uint32_t bound, typename = typename std::enable_if<(i < sizeof...(Args))>::type> | |
HALIDE_ALWAYS_INLINE bool | match_args (int, const Call &c, MatcherState &state) const noexcept |
template<int i, uint32_t binds> | |
HALIDE_ALWAYS_INLINE bool | match_args (double, const Call &c, MatcherState &state) const noexcept |
template<uint32_t bound> | |
HALIDE_ALWAYS_INLINE bool | match (const BaseExprNode &e, MatcherState &state) const noexcept |
template<int i, typename = typename std::enable_if<(i < sizeof...(Args))>::type> | |
HALIDE_ALWAYS_INLINE void | print_args (int, std::ostream &s) const |
template<int i> | |
HALIDE_ALWAYS_INLINE void | print_args (double, std::ostream &s) const |
HALIDE_ALWAYS_INLINE void | print_args (std::ostream &s) const |
HALIDE_ALWAYS_INLINE Expr | make (MatcherState &state, halide_type_t type_hint) const |
HALIDE_ALWAYS_INLINE | Intrin (Call::IntrinsicOp intrin, Args... args) noexcept |
Public Attributes | |
Call::IntrinsicOp | intrin |
std::tuple< Args... > | args |
Static Public Attributes | |
static constexpr uint32_t | binds = bitwise_or_reduce((bindings<Args>::mask)...) |
constexpr static IRNodeType | min_node_type = IRNodeType::Call |
constexpr static IRNodeType | max_node_type = IRNodeType::Call |
constexpr static bool | canonical = and_reduce((Args::canonical)...) |
constexpr static bool | foldable = false |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 1394 of file IRMatch.h.
References Halide::Internal::IRMatcher::Intrin< Args >::args.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 1406 of file IRMatch.h.
References Halide::Internal::Call, Halide::Internal::IRMatcher::Intrin< Args >::intrin, and Halide::Internal::Call::is_intrinsic().
|
inline |
Definition at line 1416 of file IRMatch.h.
References Halide::Internal::IRMatcher::Intrin< Args >::args.
Referenced by Halide::Internal::IRMatcher::operator<<().
|
inline |
|
inline |
|
inline |
Definition at line 1434 of file IRMatch.h.
References Halide::Internal::Call::abs, Halide::abs(), Halide::Internal::Call::absd, Halide::absd(), Halide::Internal::IRMatcher::Intrin< Args >::args, Halide::Internal::IRMatcher::const_min(), Halide::Internal::Call::halving_add, Halide::Internal::IRMatcher::halving_add(), Halide::Internal::Call::halving_sub, Halide::Internal::IRMatcher::halving_sub(), internal_error, Halide::Internal::IRMatcher::Intrin< Args >::intrin, Halide::Internal::Call::likely, Halide::likely(), Halide::Internal::Call::likely_if_innermost, Halide::likely_if_innermost(), Halide::Internal::Call::mul_shift_right, Halide::Internal::IRMatcher::mul_shift_right(), Halide::Internal::Call::rounding_halving_add, Halide::Internal::IRMatcher::rounding_halving_add(), Halide::Internal::Call::rounding_halving_sub, Halide::Internal::IRMatcher::rounding_halving_sub(), Halide::Internal::Call::rounding_mul_shift_right, Halide::Internal::IRMatcher::rounding_mul_shift_right(), Halide::Internal::Call::rounding_shift_left, Halide::Internal::IRMatcher::rounding_shift_left(), Halide::Internal::Call::rounding_shift_right, Halide::Internal::IRMatcher::rounding_shift_right(), Halide::Internal::Call::saturating_add, Halide::Internal::IRMatcher::saturating_add(), Halide::Internal::Call::saturating_sub, Halide::Internal::IRMatcher::saturating_sub(), Halide::Internal::Call::shift_left, Halide::Internal::Call::shift_right, Halide::Internal::Call::widening_add, Halide::Internal::IRMatcher::widening_add(), Halide::Internal::Call::widening_mul, Halide::Internal::IRMatcher::widening_mul(), Halide::Internal::Call::widening_sub, and Halide::Internal::IRMatcher::widening_sub().
Call::IntrinsicOp Halide::Internal::IRMatcher::Intrin< Args >::intrin |
Definition at line 1382 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::Intrin< Args >::make(), Halide::Internal::IRMatcher::Intrin< Args >::match(), and Halide::Internal::IRMatcher::operator<<().
std::tuple<Args...> Halide::Internal::IRMatcher::Intrin< Args >::args |
Definition at line 1383 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::Intrin< Args >::make(), Halide::Internal::IRMatcher::Intrin< Args >::match_args(), and Halide::Internal::IRMatcher::Intrin< Args >::print_args().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |