OpenASIP  2.0
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 110 of file TDGen.hh.

Member Function Documentation

◆ operator<()

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

Definition at line 115 of file TDGen.hh.

115  {
116  if (rf < other.rf ||
117  (rf == other.rf && idx < other.idx)) {
118 
119  return true;
120  }
121 
122  return false;
123  }

References idx, and rf.

Member Data Documentation

◆ idx

unsigned TDGen::RegInfo::idx

Definition at line 112 of file TDGen.hh.

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

◆ rf

std::string TDGen::RegInfo::rf

Definition at line 111 of file TDGen.hh.

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


The documentation for this struct was generated from the following file:
TDGen::RegInfo::idx
unsigned idx
Definition: TDGen.hh:112
TDGen::RegInfo::rf
std::string rf
Definition: TDGen.hh:111