Halide
Halide::Internal::IRMatcher::IsConst< A > Struct Template Reference

#include <IRMatch.h>

Classes

struct  pattern_tag
 

Public Member Functions

template<typename A1 = A>
HALIDE_ALWAYS_INLINE void make_folded_const (halide_scalar_value_t &val, halide_type_t &ty, MatcherState &state) const noexcept
 

Public Attributes

a
 
bool check_v
 
int64_t v
 

Static Public Attributes

constexpr static uint32_t binds = bindings<A>::mask
 
constexpr static IRNodeType min_node_type = IRNodeType::UIntImm
 
constexpr static IRNodeType max_node_type = IRNodeType::UIntImm
 
constexpr static bool canonical = true
 
constexpr static bool foldable = true
 

Detailed Description

template<typename A>
struct Halide::Internal::IRMatcher::IsConst< A >

Definition at line 2278 of file IRMatch.h.

Member Function Documentation

◆ make_folded_const()

Member Data Documentation

◆ binds

template<typename A >
constexpr static uint32_t Halide::Internal::IRMatcher::IsConst< A >::binds = bindings<A>::mask
staticconstexpr

Definition at line 2281 of file IRMatch.h.

◆ min_node_type

template<typename A >
constexpr static IRNodeType Halide::Internal::IRMatcher::IsConst< A >::min_node_type = IRNodeType::UIntImm
staticconstexpr

Definition at line 2284 of file IRMatch.h.

◆ max_node_type

template<typename A >
constexpr static IRNodeType Halide::Internal::IRMatcher::IsConst< A >::max_node_type = IRNodeType::UIntImm
staticconstexpr

Definition at line 2285 of file IRMatch.h.

◆ canonical

template<typename A >
constexpr static bool Halide::Internal::IRMatcher::IsConst< A >::canonical = true
staticconstexpr

Definition at line 2286 of file IRMatch.h.

◆ a

◆ check_v

◆ v

◆ foldable

template<typename A >
constexpr static bool Halide::Internal::IRMatcher::IsConst< A >::foldable = true
staticconstexpr

Definition at line 2292 of file IRMatch.h.


The documentation for this struct was generated from the following file: