MLIR-AIE
Public Member Functions | Static Public Attributes | List of all members
xilinx::AIE::Field< highBit, lowBit > Class Template Referencefinal
+ Collaboration diagram for xilinx::AIE::Field< highBit, lowBit >:

Public Member Functions

constexpr uint32_t operator() (uint32_t value) const
 

Static Public Attributes

static constexpr auto NUM_BITS_USED = (highBit - lowBit) + 1u
 
static constexpr auto UNSHIFTED_MASK = (1u << NUM_BITS_USED) - 1u
 
static constexpr auto SHIFTED_MASK = UNSHIFTED_MASK << lowBit
 

Detailed Description

template<uint8_t highBit, uint8_t lowBit = highBit>
class xilinx::AIE::Field< highBit, lowBit >

Definition at line 378 of file AIETargetAirbin.cpp.

Member Function Documentation

◆ operator()()

template<uint8_t highBit, uint8_t lowBit = highBit>
constexpr uint32_t xilinx::AIE::Field< highBit, lowBit >::operator() ( uint32_t  value) const
inlineconstexpr

Member Data Documentation

◆ NUM_BITS_USED

template<uint8_t highBit, uint8_t lowBit = highBit>
constexpr auto xilinx::AIE::Field< highBit, lowBit >::NUM_BITS_USED = (highBit - lowBit) + 1u
staticconstexpr

Definition at line 385 of file AIETargetAirbin.cpp.

◆ SHIFTED_MASK

template<uint8_t highBit, uint8_t lowBit = highBit>
constexpr auto xilinx::AIE::Field< highBit, lowBit >::SHIFTED_MASK = UNSHIFTED_MASK << lowBit
staticconstexpr

◆ UNSHIFTED_MASK

template<uint8_t highBit, uint8_t lowBit = highBit>
constexpr auto xilinx::AIE::Field< highBit, lowBit >::UNSHIFTED_MASK = (1u << NUM_BITS_USED) - 1u
staticconstexpr

Definition at line 386 of file AIETargetAirbin.cpp.


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