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

Static Public Attributes

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

Detailed Description

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

Definition at line 1739 of file IRMatch.h.

Member Function Documentation

◆ match() [1/2]

◆ match() [2/2]

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

◆ make()

◆ make_folded_const()

Member Data Documentation

◆ a

◆ lanes

◆ binds

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

Definition at line 1744 of file IRMatch.h.

◆ min_node_type

template<typename A , typename B >
constexpr static IRNodeType Halide::Internal::IRMatcher::BroadcastOp< A, B >::min_node_type = IRNodeType::Broadcast
staticconstexpr

Definition at line 1746 of file IRMatch.h.

◆ max_node_type

template<typename A , typename B >
constexpr static IRNodeType Halide::Internal::IRMatcher::BroadcastOp< A, B >::max_node_type = IRNodeType::Broadcast
staticconstexpr

Definition at line 1747 of file IRMatch.h.

◆ canonical

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

Definition at line 1749 of file IRMatch.h.

◆ foldable

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

Definition at line 1784 of file IRMatch.h.


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