
Public Member Functions | |
| RES (char *name, int count) | |
| char * | Name () const |
| char * | Addr_Of_Gname () |
| unsigned int | Count () const |
| int | Word () const |
| int | Id () const |
| unsigned int | Shift_Count () const |
Static Public Member Functions | |
| static RES * | Get (int id) |
| static void | Output_All (FILE *fd) |
Private Member Functions | |
| void | Calculate_Field_Width () |
| void | Calculate_Field_Pos () |
| void | Output (FILE *fd) |
Static Private Member Functions | |
| static void | Calculate_Fields () |
Private Attributes | |
| const int | count |
| char *const | name |
| GNAME | gname |
| int | word |
| int | field_width |
| int | shift_count |
| const int | id |
Static Private Attributes | |
| static int | total = 0 |
| static map< int, RES * > | resources |
Definition at line 315 of file si_gen.cxx.
| RES::RES | ( | char * | name, | |
| int | count | |||
| ) |
Definition at line 378 of file si_gen.cxx.
References id.
| char* RES::Addr_Of_Gname | ( | ) | [inline] |
Definition at line 331 of file si_gen.cxx.
References GNAME::Addr_Of_Gname(), and gname.

| void RES::Calculate_Field_Pos | ( | ) | [private] |
Definition at line 431 of file si_gen.cxx.
References Calculate_Field_Width(), count, field_width, RES_WORD::Find_Word_Allocate_Field(), shift_count, and word.
Referenced by Calculate_Fields().

| void RES::Calculate_Field_Width | ( | ) | [private] |
Definition at line 413 of file si_gen.cxx.
References count, and field_width.
Referenced by Calculate_Field_Pos().
| void RES::Calculate_Fields | ( | ) | [static, private] |
Definition at line 438 of file si_gen.cxx.
References Calculate_Field_Pos(), and total.
Referenced by Output_All().

| unsigned int RES::Count | ( | ) | const [inline] |
Definition at line 334 of file si_gen.cxx.
Referenced by RES_REQ::Add_Resource().
| RES * RES::Get | ( | int | id | ) | [static] |
Definition at line 385 of file si_gen.cxx.
References total.
Referenced by RES_REQ::Compute_Output_Resource_Count_Vec(), and RES_REQ::CYCLE_RES::Res().
| int RES::Id | ( | void | ) | const [inline] |
Definition at line 341 of file si_gen.cxx.
Referenced by RES_REQ::Compute_Output_Resource_Count_Vec(), and RES_REQ::Output().
| char* RES::Name | ( | void | ) | const [inline] |
Definition at line 328 of file si_gen.cxx.
Referenced by INSTRUCTION_GROUP::Add_Resource_Requirement(), and RES_REQ::Compute_Output_Resource_Count_Vec().
| void RES::Output | ( | FILE * | fd | ) | [private] |
Definition at line 449 of file si_gen.cxx.
References count, fprintf(), GNAME::Gname(), gname, id, name, shift_count, and word.
Referenced by Output_All().

| void RES::Output_All | ( | FILE * | fd | ) | [static] |
Definition at line 391 of file si_gen.cxx.
References GNAME::Addr_Of_Gname(), Calculate_Fields(), fprintf(), gname, Maybe_Print_Comma(), Output(), and total.
Referenced by Machine_Done().

| unsigned int RES::Shift_Count | ( | ) | const [inline] |
| int RES::Word | ( | ) | const [inline] |
Definition at line 337 of file si_gen.cxx.
References word.
const int RES::count [private] |
Definition at line 352 of file si_gen.cxx.
Referenced by Calculate_Field_Pos(), Calculate_Field_Width(), and Output().
int RES::field_width [private] |
Definition at line 356 of file si_gen.cxx.
Referenced by Calculate_Field_Pos(), and Calculate_Field_Width().
GNAME RES::gname [private] |
Definition at line 354 of file si_gen.cxx.
Referenced by Addr_Of_Gname(), Output(), and Output_All().
const int RES::id [private] |
Definition at line 359 of file si_gen.cxx.
char* const RES::name [private] |
Definition at line 353 of file si_gen.cxx.
Referenced by Output().
map< int, RES * > RES::resources [static, private] |
Definition at line 362 of file si_gen.cxx.
int RES::shift_count [private] |
Definition at line 357 of file si_gen.cxx.
Referenced by Calculate_Field_Pos(), Output(), and Shift_Count().
int RES::total = 0 [static, private] |
Definition at line 360 of file si_gen.cxx.
Referenced by Calculate_Fields(), Get(), and Output_All().
int RES::word [private] |
Definition at line 355 of file si_gen.cxx.
Referenced by Calculate_Field_Pos(), Output(), and Word().
1.7.1