Halide
Halide::Internal::IRMatcher::RampOp< A, B, known_lanes > 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 , bool known_lanes_2>
HALIDE_ALWAYS_INLINE bool match (const RampOp< A2, B2, known_lanes_2 > &op, MatcherState &state) const noexcept
 
HALIDE_ALWAYS_INLINE Expr make (MatcherState &state, halide_type_t type_hint) const
 

Public Attributes

a
 
b
 
int lanes
 

Static Public Attributes

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

Detailed Description

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

Definition at line 1592 of file IRMatch.h.

Member Function Documentation

◆ match() [1/2]

◆ match() [2/2]

template<typename A , typename B , bool known_lanes>
template<uint32_t bound, typename A2 , typename B2 , bool known_lanes_2>
HALIDE_ALWAYS_INLINE bool Halide::Internal::IRMatcher::RampOp< A, B, known_lanes >::match ( const RampOp< A2, B2, known_lanes_2 > &  op,
MatcherState state 
) const
inlinenoexcept

◆ make()

Member Data Documentation

◆ a

◆ b

◆ lanes

◆ binds

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

Definition at line 1598 of file IRMatch.h.

◆ min_node_type

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

Definition at line 1600 of file IRMatch.h.

◆ max_node_type

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

Definition at line 1601 of file IRMatch.h.

◆ canonical

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

Definition at line 1603 of file IRMatch.h.

◆ foldable

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

Definition at line 1642 of file IRMatch.h.


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