CIRCT 22.0.0git
Loading...
Searching...
No Matches
Public Attributes | List of all members
circt::arc::runtime::FmtDescriptor::IntFmt Struct Reference

Integer formatting options. More...

#include <FmtDescriptor.h>

Collaboration diagram for circt::arc::runtime::FmtDescriptor::IntFmt:
Collaboration graph
[legend]

Public Attributes

int16_t bitwidth
 The bitwidth of the integer value.
 
int16_t specifierWidth
 The minumum width of the output in characters.
 
int8_t radix
 The radix to use for formatting. Must be one of {2, 8, 10, 16}.
 
char paddingChar
 Padding character (NUL if no padding is desired).
 
bool isLeftAligned
 Whether the value is left aligned.
 
bool isUpperCase
 Whether to use uppercase hex letters.
 
bool isSigned
 Whether to treat the value as signed.
 

Detailed Description

Integer formatting options.

Definition at line 119 of file FmtDescriptor.h.

Member Data Documentation

◆ bitwidth

int16_t circt::arc::runtime::FmtDescriptor::IntFmt::bitwidth

The bitwidth of the integer value.

Definition at line 121 of file FmtDescriptor.h.

Referenced by arcRuntimeIR_format(), and circt::arc::runtime::FmtDescriptor::createInt().

◆ isLeftAligned

bool circt::arc::runtime::FmtDescriptor::IntFmt::isLeftAligned

Whether the value is left aligned.

Definition at line 129 of file FmtDescriptor.h.

Referenced by arcRuntimeIR_format(), and circt::arc::runtime::FmtDescriptor::createInt().

◆ isSigned

bool circt::arc::runtime::FmtDescriptor::IntFmt::isSigned

Whether to treat the value as signed.

Definition at line 133 of file FmtDescriptor.h.

Referenced by arcRuntimeIR_format(), and circt::arc::runtime::FmtDescriptor::createInt().

◆ isUpperCase

bool circt::arc::runtime::FmtDescriptor::IntFmt::isUpperCase

Whether to use uppercase hex letters.

Definition at line 131 of file FmtDescriptor.h.

Referenced by arcRuntimeIR_format(), and circt::arc::runtime::FmtDescriptor::createInt().

◆ paddingChar

char circt::arc::runtime::FmtDescriptor::IntFmt::paddingChar

Padding character (NUL if no padding is desired).

Definition at line 127 of file FmtDescriptor.h.

Referenced by arcRuntimeIR_format().

◆ radix

int8_t circt::arc::runtime::FmtDescriptor::IntFmt::radix

The radix to use for formatting. Must be one of {2, 8, 10, 16}.

Definition at line 125 of file FmtDescriptor.h.

Referenced by arcRuntimeIR_format(), and circt::arc::runtime::FmtDescriptor::createInt().

◆ specifierWidth

int16_t circt::arc::runtime::FmtDescriptor::IntFmt::specifierWidth

The minumum width of the output in characters.

Definition at line 123 of file FmtDescriptor.h.

Referenced by arcRuntimeIR_format(), and circt::arc::runtime::FmtDescriptor::createInt().


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