OpenASIP 2.2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TDGen::RegInfo Struct Reference

#include <TDGen.hh>

Collaboration diagram for TDGen::RegInfo:
Collaboration graph

Public Member Functions

bool operator< (const RegInfo &other) const
 

Public Attributes

std::string rf
 
unsigned idx
 

Detailed Description

Definition at line 111 of file TDGen.hh.

Member Function Documentation

◆ operator<()

bool TDGen::RegInfo::operator< ( const RegInfo other) const
inline

Definition at line 116 of file TDGen.hh.

116 {
117 if (rf < other.rf ||
118 (rf == other.rf && idx < other.idx)) {
119
120 return true;
121 }
122
123 return false;
124 }
unsigned idx
Definition TDGen.hh:113
std::string rf
Definition TDGen.hh:112

References idx, and rf.

Member Data Documentation

◆ idx

unsigned TDGen::RegInfo::idx

Definition at line 113 of file TDGen.hh.

Referenced by operator<(), TDGen::writeBackendCode(), and TDGen::writeRegisterDef().

◆ rf

std::string TDGen::RegInfo::rf

Definition at line 112 of file TDGen.hh.

Referenced by operator<(), TDGen::writeBackendCode(), and TDGen::writeRegisterDef().


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