CIRCT  19.0.0git
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
circt::moore::PackedRangeDim Class Reference

A packed range dimension, like [a:b]. More...

#include <MooreTypes.h>

Inheritance diagram for circt::moore::PackedRangeDim:
Inheritance graph
[legend]
Collaboration diagram for circt::moore::PackedRangeDim:
Collaboration graph
[legend]

Public Member Functions

Range getRange () const
 Get the range of this dimension. More...
 
 operator Range () const
 Allow implicit casts from PackedRangeDim to the actual range. More...
 

Static Public Member Functions

static PackedRangeDim get (PackedType inner, Range range)
 
template<typename... Args>
static PackedRangeDim get (PackedType inner, Args... args)
 Get a packed range with arguments forwarded to the Range constructor. More...
 

Static Public Attributes

static constexpr StringLiteral name = "moore.packed_range_dim"
 

Friends

struct detail::DimStorage
 

Detailed Description

A packed range dimension, like [a:b].

Definition at line 866 of file MooreTypes.h.

Member Function Documentation

◆ get() [1/2]

template<typename... Args>
static PackedRangeDim circt::moore::PackedRangeDim::get ( PackedType  inner,
Args...  args 
)
inlinestatic

Get a packed range with arguments forwarded to the Range constructor.

See Range::Range for details.

Definition at line 875 of file MooreTypes.h.

References get().

◆ get() [2/2]

PackedRangeDim PackedRangeDim::get ( PackedType  inner,
Range  range 
)
static

◆ getRange()

Range PackedRangeDim::getRange ( ) const

Get the range of this dimension.

Definition at line 803 of file MooreTypes.cpp.

Referenced by operator Range().

◆ operator Range()

circt::moore::PackedRangeDim::operator Range ( ) const
inline

Allow implicit casts from PackedRangeDim to the actual range.

Definition at line 883 of file MooreTypes.h.

References getRange().

Friends And Related Function Documentation

◆ detail::DimStorage

friend struct detail::DimStorage
friend

Definition at line 889 of file MooreTypes.h.

Member Data Documentation

◆ name

constexpr StringLiteral circt::moore::PackedRangeDim::name = "moore.packed_range_dim"
staticconstexpr

Definition at line 885 of file MooreTypes.h.


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