AI Engine API User Guide (AIE-API) 2024.1
Loading...
Searching...
No Matches
aie::unary_op_common< Parent, Op > Struct Template Reference

#include <expr.hpp>

Public Types

using parent1_type = aie_dm_resource_remove_t< Parent >
 
using result_type = op_result_type_t< parent1_type, Op >
 
using value_type = op_value_type_t< result_type >
 

Public Member Functions

constexpr unary_op_common (const parent1_type parent)
 
auto parent1 () const
 

Static Public Member Functions

static constexpr unsigned bits ()
 
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool is_operation (Operation op, Operations... ops)
 
static constexpr bool is_operation_none ()
 
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool is_operation_not (Operation op, Operations... ops)
 
static constexpr unsigned size ()
 

Static Public Attributes

static constexpr Operation operation = Op
 

Member Typedef Documentation

◆ parent1_type

template<typename Parent , Operation Op>
using aie::unary_op_common< Parent, Op >::parent1_type = aie_dm_resource_remove_t<Parent>

◆ result_type

template<typename Parent , Operation Op>
using aie::unary_op_common< Parent, Op >::result_type = op_result_type_t<parent1_type, Op>

◆ value_type

template<typename Parent , Operation Op>
using aie::unary_op_common< Parent, Op >::value_type = op_value_type_t<result_type>

Constructor & Destructor Documentation

◆ unary_op_common()

template<typename Parent , Operation Op>
constexpr aie::unary_op_common< Parent, Op >::unary_op_common ( const parent1_type  parent)
inlineconstexpr

Member Function Documentation

◆ bits()

template<typename Parent , Operation Op>
static constexpr unsigned aie::unary_op_common< Parent, Op >::bits ( )
inlinestaticconstexpr

◆ is_operation()

template<typename Parent , Operation Op>
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool aie::unary_op_common< Parent, Op >::is_operation ( Operation  op,
Operations...  ops 
)
inlinestaticconstexpr

◆ is_operation_none()

template<typename Parent , Operation Op>
static constexpr bool aie::unary_op_common< Parent, Op >::is_operation_none ( )
inlinestaticconstexpr

◆ is_operation_not()

template<typename Parent , Operation Op>
template<typename... Operations>
requires (... && std::is_same_v<Operations, Operation>)
static constexpr bool aie::unary_op_common< Parent, Op >::is_operation_not ( Operation  op,
Operations...  ops 
)
inlinestaticconstexpr

◆ parent1()

template<typename Parent , Operation Op>
auto aie::unary_op_common< Parent, Op >::parent1 ( ) const
inline

◆ size()

template<typename Parent , Operation Op>
static constexpr unsigned aie::unary_op_common< Parent, Op >::size ( )
inlinestaticconstexpr

Member Data Documentation

◆ operation

template<typename Parent , Operation Op>
constexpr Operation aie::unary_op_common< Parent, Op >::operation = Op
staticconstexpr

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