Halide 19.0.0
Halide compiler and libraries
|
#include <IRMatch.h>
Classes | |
struct | pattern_tag |
Public Member Functions | |
HALIDE_ALWAYS_INLINE | IntLiteral (int64_t v) |
template<uint32_t bound> | |
HALIDE_ALWAYS_INLINE bool | match (const BaseExprNode &e, MatcherState &state) const noexcept |
template<uint32_t bound> | |
HALIDE_ALWAYS_INLINE bool | match (int64_t val, MatcherState &state) const noexcept |
template<uint32_t bound> | |
HALIDE_ALWAYS_INLINE bool | match (const IntLiteral &b, MatcherState &state) const noexcept |
HALIDE_ALWAYS_INLINE Expr | make (MatcherState &state, halide_type_t type_hint) const |
HALIDE_ALWAYS_INLINE void | make_folded_const (halide_scalar_value_t &val, halide_type_t &ty, MatcherState &state) const noexcept |
Public Attributes | |
int64_t | v |
Static Public Attributes | |
static constexpr uint32_t | binds = 0 |
static constexpr IRNodeType | min_node_type = IRNodeType::IntImm |
static constexpr IRNodeType | max_node_type = IRNodeType::FloatImm |
static constexpr bool | canonical = true |
static constexpr bool | foldable = true |
|
inlineexplicit |
|
inlinenoexcept |
Definition at line 504 of file IRMatch.h.
References Halide::Internal::Broadcast, Halide::Internal::FloatImm, Halide::Internal::IntImm, Halide::Internal::IRNode::node_type, Halide::Internal::UIntImm, and v.
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Definition at line 532 of file IRMatch.h.
References Halide::Internal::make_const(), and v.
|
inlinenoexcept |
Definition at line 539 of file IRMatch.h.
References halide_type_bfloat, halide_type_float, halide_type_int, halide_type_uint, and v.
int64_t Halide::Internal::IRMatcher::IntLiteral::v |
Definition at line 490 of file IRMatch.h.
Referenced by make(), make_folded_const(), match(), match(), match(), Halide::Internal::IRMatcher::operator<<(), and Halide::Internal::IRMatcher::unwrap().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |