#include <stdio.h>#include "gen_util.h"
Go to the source code of this file.
Classes | |
| struct | definition |
Typedefs | |
| typedef struct definition | DEFINITION |
Enumerations | |
| enum | DEFINITION_KIND { DK_MACRO } |
Functions | |
| void | Emit_Header (FILE *hfile, const char *name, const char *const *interface_desc) |
| void | Emit_Footer (FILE *hfile) |
| void | Define_Macro (const char *name, const char *def) |
| void | Emit_Definitions (FILE *hfile, const char *prefix) |
Variables | |
| static DEFINITION * | defs |
| static DEFINITION * | lastdef |
| typedef struct definition DEFINITION |
| enum DEFINITION_KIND |
Definition at line 99 of file gen_util.cxx.
| void Define_Macro | ( | const char * | name, | |
| const char * | def | |||
| ) |
Definition at line 113 of file gen_util.cxx.
References definition::kind, definition::name, definition::next, NULL, and definition::s.
Referenced by main().
| void Emit_Definitions | ( | FILE * | hfile, | |
| const char * | prefix | |||
| ) |
Definition at line 128 of file gen_util.cxx.
References c, fprintf(), definition::name, definition::next, NULL, definition::s, and s.
Referenced by ISA_Print_End().

| void Emit_Footer | ( | FILE * | hfile | ) |
Definition at line 91 of file gen_util.cxx.
References fprintf().
Referenced by ABI_Properties_End(), ISA_Bundle_End(), ISA_Create(), ISA_Decode_End(), ISA_Enums_End(), ISA_Hazards_End(), ISA_Lits_End(), ISA_Operands_End(), ISA_Pack_End(), ISA_Print_End(), ISA_Properties_End(), ISA_Pseudo_End(), ISA_Registers_End(), ISA_Subset_End(), PROC_Create(), and PROC_Properties_End().

| void Emit_Header | ( | FILE * | hfile, | |
| const char * | name, | |||
| const char *const * | interface_desc | |||
| ) |
Definition at line 39 of file gen_util.cxx.
References fprintf().
Referenced by ABI_Properties_End(), ISA_Bundle_End(), ISA_Create(), ISA_Decode_End(), ISA_Enums_End(), ISA_Hazards_End(), ISA_Lits_Begin(), ISA_Operands_End(), ISA_Pack_End(), ISA_Print_End(), ISA_Properties_End(), ISA_Pseudo_End(), ISA_Registers_End(), ISA_Subset_End(), PROC_Create(), and PROC_Properties_End().

DEFINITION* defs [static] |
Definition at line 110 of file gen_util.cxx.
Referenced by _Cif_binread(), Cif_Free(), Cif_Putrecord(), and CFG_NODE_INFO::Print().
DEFINITION* lastdef [static] |
Definition at line 111 of file gen_util.cxx.
1.7.1