Halide 19.0.0
Halide compiler and libraries
|
#include <IRMatch.h>
Public Member Functions | |
HALIDE_ALWAYS_INLINE | Rewriter (Instance instance, halide_type_t ot, halide_type_t wt) |
template<typename After > | |
HALIDE_NEVER_INLINE void | build_replacement (After after) |
template<typename Before , typename After , typename = typename enable_if_pattern<Before>::type, typename = typename enable_if_pattern<After>::type> | |
HALIDE_ALWAYS_INLINE bool | operator() (Before before, After after) |
template<typename Before , typename = typename enable_if_pattern<Before>::type> | |
HALIDE_ALWAYS_INLINE bool | operator() (Before before, const Expr &after) noexcept |
template<typename Before , typename = typename enable_if_pattern<Before>::type> | |
HALIDE_ALWAYS_INLINE bool | operator() (Before before, int64_t after) noexcept |
template<typename Before , typename After , typename Predicate , typename = typename enable_if_pattern<Before>::type, typename = typename enable_if_pattern<After>::type, typename = typename enable_if_pattern<Predicate>::type> | |
HALIDE_ALWAYS_INLINE bool | operator() (Before before, After after, Predicate pred) |
template<typename Before , typename Predicate , typename = typename enable_if_pattern<Before>::type, typename = typename enable_if_pattern<Predicate>::type> | |
HALIDE_ALWAYS_INLINE bool | operator() (Before before, const Expr &after, Predicate pred) |
template<typename Before , typename Predicate , typename = typename enable_if_pattern<Before>::type, typename = typename enable_if_pattern<Predicate>::type> | |
HALIDE_ALWAYS_INLINE bool | operator() (Before before, int64_t after, Predicate pred) |
Public Attributes | |
Instance | instance |
Expr | result |
MatcherState | state |
halide_type_t | output_type |
halide_type_t | wildcard_type |
bool | validate |
|
inline |
|
inline |
Definition at line 2866 of file IRMatch.h.
References Halide::Internal::IRMatcher::Rewriter< Instance >::output_type, Halide::Internal::IRMatcher::Rewriter< Instance >::result, and Halide::Internal::IRMatcher::Rewriter< Instance >::state.
Referenced by Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), and Halide::Internal::IRMatcher::Rewriter< Instance >::operator()().
|
inline |
Definition at line 2874 of file IRMatch.h.
References Halide::Internal::IRMatcher::Rewriter< Instance >::build_replacement(), Halide::Internal::IRMatcher::fuzz_test_rule(), Halide::Internal::IRMatcher::Rewriter< Instance >::instance, Halide::Internal::IRMatcher::Rewriter< Instance >::output_type, Halide::Internal::IRMatcher::Rewriter< Instance >::result, Halide::Internal::IRMatcher::Rewriter< Instance >::state, Halide::Internal::IRMatcher::unwrap(), and Halide::Internal::IRMatcher::Rewriter< Instance >::wildcard_type.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 2915 of file IRMatch.h.
References Halide::Internal::IRMatcher::fuzz_test_rule(), Halide::Internal::IRMatcher::Rewriter< Instance >::instance, Halide::Internal::make_const(), Halide::Internal::IRMatcher::Rewriter< Instance >::output_type, Halide::Internal::IRMatcher::Rewriter< Instance >::result, Halide::Internal::IRMatcher::Rewriter< Instance >::state, Halide::Internal::IRMatcher::unwrap(), and Halide::Internal::IRMatcher::Rewriter< Instance >::wildcard_type.
|
inline |
Definition at line 2940 of file IRMatch.h.
References Halide::Internal::IRMatcher::Rewriter< Instance >::build_replacement(), Halide::Internal::IRMatcher::evaluate_predicate(), Halide::Internal::IRMatcher::fuzz_test_rule(), Halide::Internal::IRMatcher::Rewriter< Instance >::instance, Halide::Internal::IRMatcher::Rewriter< Instance >::output_type, Halide::Internal::IRMatcher::Rewriter< Instance >::result, Halide::Internal::IRMatcher::Rewriter< Instance >::state, Halide::Internal::IRMatcher::unwrap(), and Halide::Internal::IRMatcher::Rewriter< Instance >::wildcard_type.
|
inline |
Definition at line 2969 of file IRMatch.h.
References Halide::Internal::IRMatcher::evaluate_predicate(), Halide::Internal::IRMatcher::Rewriter< Instance >::instance, Halide::Internal::IRMatcher::Rewriter< Instance >::result, Halide::Internal::IRMatcher::Rewriter< Instance >::state, and Halide::Internal::IRMatcher::unwrap().
|
inline |
Definition at line 2992 of file IRMatch.h.
References Halide::Internal::IRMatcher::evaluate_predicate(), Halide::Internal::IRMatcher::fuzz_test_rule(), Halide::Internal::IRMatcher::Rewriter< Instance >::instance, Halide::Internal::make_const(), Halide::Internal::IRMatcher::Rewriter< Instance >::output_type, Halide::Internal::IRMatcher::Rewriter< Instance >::result, Halide::Internal::IRMatcher::Rewriter< Instance >::state, Halide::Internal::IRMatcher::unwrap(), and Halide::Internal::IRMatcher::Rewriter< Instance >::wildcard_type.
Instance Halide::Internal::IRMatcher::Rewriter< Instance >::instance |
Definition at line 2854 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), and Halide::Internal::IRMatcher::Rewriter< Instance >::operator()().
Expr Halide::Internal::IRMatcher::Rewriter< Instance >::result |
Definition at line 2855 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::Rewriter< Instance >::build_replacement(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), and Halide::Internal::IRMatcher::Rewriter< Instance >::operator()().
MatcherState Halide::Internal::IRMatcher::Rewriter< Instance >::state |
Definition at line 2856 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::Rewriter< Instance >::build_replacement(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), and Halide::Internal::IRMatcher::Rewriter< Instance >::operator()().
halide_type_t Halide::Internal::IRMatcher::Rewriter< Instance >::output_type |
Definition at line 2857 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::Rewriter< Instance >::build_replacement(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), and Halide::Internal::IRMatcher::Rewriter< Instance >::operator()().
halide_type_t Halide::Internal::IRMatcher::Rewriter< Instance >::wildcard_type |
Definition at line 2857 of file IRMatch.h.
Referenced by Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), Halide::Internal::IRMatcher::Rewriter< Instance >::operator()(), and Halide::Internal::IRMatcher::Rewriter< Instance >::operator()().
bool Halide::Internal::IRMatcher::Rewriter< Instance >::validate |