Halide 18.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Internal::IRMatcher::RampOp< A, B, C > Struct Template Reference

#include <IRMatch.h>

Classes

struct  pattern_tag
 

Public Member Functions

template<uint32_t bound>
HALIDE_ALWAYS_INLINE bool match (const BaseExprNode &e, MatcherState &state) const noexcept
 
template<uint32_t bound, typename A2 , typename B2 , typename C2 >
HALIDE_ALWAYS_INLINE bool match (const RampOp< A2, B2, C2 > &op, MatcherState &state) const noexcept
 
HALIDE_ALWAYS_INLINE Expr make (MatcherState &state, halide_type_t type_hint) const
 

Public Attributes

A a
 
B b
 
C lanes
 

Static Public Attributes

static constexpr uint32_t binds = bindings<A>::mask | bindings<B>::mask | bindings<C>::mask
 
static constexpr IRNodeType min_node_type = IRNodeType::Ramp
 
static constexpr IRNodeType max_node_type = IRNodeType::Ramp
 
static constexpr bool canonical = A::canonical && B::canonical && C::canonical
 
static constexpr bool foldable = false
 

Detailed Description

template<typename A, typename B, typename C>
struct Halide::Internal::IRMatcher::RampOp< A, B, C >

Definition at line 1798 of file IRMatch.h.

Member Function Documentation

◆ match() [1/2]

◆ match() [2/2]

◆ make()

Member Data Documentation

◆ a

◆ b

◆ lanes

◆ binds

template<typename A , typename B , typename C >
constexpr uint32_t Halide::Internal::IRMatcher::RampOp< A, B, C >::binds = bindings<A>::mask | bindings<B>::mask | bindings<C>::mask
staticconstexpr

Definition at line 1804 of file IRMatch.h.

◆ min_node_type

template<typename A , typename B , typename C >
constexpr IRNodeType Halide::Internal::IRMatcher::RampOp< A, B, C >::min_node_type = IRNodeType::Ramp
staticconstexpr

Definition at line 1806 of file IRMatch.h.

◆ max_node_type

template<typename A , typename B , typename C >
constexpr IRNodeType Halide::Internal::IRMatcher::RampOp< A, B, C >::max_node_type = IRNodeType::Ramp
staticconstexpr

Definition at line 1807 of file IRMatch.h.

◆ canonical

template<typename A , typename B , typename C >
constexpr bool Halide::Internal::IRMatcher::RampOp< A, B, C >::canonical = A::canonical && B::canonical && C::canonical
staticconstexpr

Definition at line 1809 of file IRMatch.h.

◆ foldable

template<typename A , typename B , typename C >
constexpr bool Halide::Internal::IRMatcher::RampOp< A, B, C >::foldable = false
staticconstexpr

Definition at line 1846 of file IRMatch.h.


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