OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
TDGenerator::RegisterInfo Struct Reference

#include <TDGen.hh>

Collaboration diagram for TDGenerator::RegisterInfo:
Collaboration graph

Public Member Functions

 RegisterInfo (const TCEString &regName, const TCEString &regFileName, unsigned regIndex, unsigned regWidth)
 

Public Attributes

TCEString regName_
 Register name in GenRegisterInfo.td, e.g. "KLUDGE_REGISTER". More...
 
TCEString regFileName_
 Name of the register file the register belongs to, e.g. "RF". More...
 
unsigned regIndex_
 Register index in the register file. More...
 
unsigned regWidth_
 Register width in bits. More...
 

Detailed Description

Class to represent info of a single register in a register file.

Definition at line 644 of file TDGen.hh.

Constructor & Destructor Documentation

◆ RegisterInfo()

TDGenerator::RegisterInfo::RegisterInfo ( const TCEString regName,
const TCEString regFileName,
unsigned  regIndex,
unsigned  regWidth 
)
inline

Definition at line 645 of file TDGen.hh.

648  : regName_(regName),
649  regFileName_(regFileName),
650  regIndex_(regIndex),
651  regWidth_(regWidth) {}

Member Data Documentation

◆ regFileName_

TCEString TDGenerator::RegisterInfo::regFileName_

Name of the register file the register belongs to, e.g. "RF".

Definition at line 656 of file TDGen.hh.

Referenced by TDGen::writeVectorRegisterNames().

◆ regIndex_

unsigned TDGenerator::RegisterInfo::regIndex_

Register index in the register file.

Definition at line 658 of file TDGen.hh.

Referenced by TDGen::orderEqualWidthRegistersToRoundRobin(), and TDGen::writeVectorRegisterNames().

◆ regName_

TCEString TDGenerator::RegisterInfo::regName_

◆ regWidth_

unsigned TDGenerator::RegisterInfo::regWidth_

Register width in bits.

Definition at line 660 of file TDGen.hh.


The documentation for this struct was generated from the following file:
TDGenerator::RegisterInfo::regWidth_
unsigned regWidth_
Register width in bits.
Definition: TDGen.hh:660
TDGenerator::RegisterInfo::regFileName_
TCEString regFileName_
Name of the register file the register belongs to, e.g. "RF".
Definition: TDGen.hh:656
TDGenerator::RegisterInfo::regIndex_
unsigned regIndex_
Register index in the register file.
Definition: TDGen.hh:658
TDGenerator::RegisterInfo::regName_
TCEString regName_
Register name in GenRegisterInfo.td, e.g. "KLUDGE_REGISTER".
Definition: TDGen.hh:654