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

An unpacked range dimension, like [a:b]. More...

#include <MooreTypes.h>

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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static constexpr StringLiteral name = "moore.unpacked_range_dim"
 

Friends

struct detail::DimStorage
 

Detailed Description

An unpacked range dimension, like [a:b].

Definition at line 380 of file MooreTypes.h.

Member Function Documentation

◆ get() [1/2]

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

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

See Range::Range for details.

Definition at line 389 of file MooreTypes.h.

References get().

◆ get() [2/2]

UnpackedRangeDim UnpackedRangeDim::get ( UnpackedType  inner,
Range  range 
)
static

Definition at line 255 of file MooreTypes.cpp.

References circt::calyx::direction::get().

Referenced by customTypeParser(), get(), and mooreUnpackedRangeDimTypeGet().

◆ getRange()

Range UnpackedRangeDim::getRange ( ) const

Get the range of this dimension.

Definition at line 259 of file MooreTypes.cpp.

Referenced by operator Range().

◆ operator Range()

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

Allow implicit casts from UnpackedRangeDim to the actual range.

Definition at line 397 of file MooreTypes.h.

References getRange().

Friends And Related Function Documentation

◆ detail::DimStorage

friend struct detail::DimStorage
friend

Definition at line 403 of file MooreTypes.h.

Member Data Documentation

◆ name

constexpr StringLiteral circt::moore::UnpackedRangeDim::name = "moore.unpacked_range_dim"
staticconstexpr

Definition at line 399 of file MooreTypes.h.


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