Halide
|
#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 | |
constexpr static uint32_t | binds = 0 |
constexpr static IRNodeType | min_node_type = IRNodeType::IntImm |
constexpr static IRNodeType | max_node_type = IRNodeType::FloatImm |
constexpr static bool | canonical = true |
constexpr static bool | foldable = true |
|
inlineexplicit |
|
inlinenoexcept |
Definition at line 516 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 544 of file IRMatch.h.
References Halide::Internal::make_const(), and v.
|
inlinenoexcept |
Definition at line 551 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 502 of file IRMatch.h.
Referenced by make(), make_folded_const(), match(), Halide::Internal::IRMatcher::operator<<(), and Halide::Internal::IRMatcher::unwrap().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |