#include <stddef.h>#include <stdlib.h>#include <stdarg.h>#include <stdio.h>#include <assert.h>#include <vector>#include "gen_util.h"#include "isa_enums_gen.h"
Go to the source code of this file.
Classes | |
| struct | ECV_struct |
| struct | EC_struct |
Defines | |
| #define | FNAME "targ_isa_enums" |
Functions | |
| void | ISA_Enums_Begin (void) |
| void | ISA_Create_Enum_Class (const char *name,...) |
| static const char * | Print_ECV_EName (const char *name) |
| void | ISA_Enums_End (void) |
Variables | |
| static vector< ECV_struct > | all_ecv |
| static vector< EC_struct > | all_ec |
| static const char *const | interface [] |
| #define FNAME "targ_isa_enums" |
| void ISA_Create_Enum_Class | ( | const char * | name, | |
| ... | ||||
| ) |
Definition at line 132 of file isa_enums_gen.cxx.
References all_ec, all_ecv, EC_struct::ec_name, ECV_struct::ecv_ecname, ECV_struct::ecv_int, ECV_struct::ecv_name, EC_struct::first_ecv, EC_struct::last_ecv, NULL, and UNDEFINED.
Referenced by main().
| void ISA_Enums_Begin | ( | void | ) |
| void ISA_Enums_End | ( | void | ) |
Definition at line 191 of file isa_enums_gen.cxx.
References all_ec, all_ecv, buf, cfile, ECV_struct::ecv_ecname, ECV_struct::ecv_name, efile, Emit_Footer(), Emit_Header(), fprintf(), hfile, interface, and Print_ECV_EName().
Referenced by main().

| static const char* Print_ECV_EName | ( | const char * | name | ) | [static] |
Definition at line 160 of file isa_enums_gen.cxx.
Referenced by ISA_Enums_End().
Definition at line 70 of file isa_enums_gen.cxx.
Referenced by ISA_Create_Enum_Class(), ISA_Enums_Begin(), and ISA_Enums_End().
vector<ECV_struct> all_ecv [static] |
Definition at line 69 of file isa_enums_gen.cxx.
Referenced by ISA_Create_Enum_Class(), ISA_Enums_Begin(), and ISA_Enums_End().
const char* const interface[] [static] |
Definition at line 72 of file isa_enums_gen.cxx.
Referenced by ISA_Enums_End().
1.7.1