#include <stddef.h>#include <stdlib.h>#include <stdarg.h>#include <stdio.h>#include <assert.h>#include <list>#include <vector>#include "gen_util.h"#include "targ_proc.h"#include "proc_properties_gen.h"

Go to the source code of this file.
Data Types | |
| type | proc_property |
Enumerations | |
| enum | { BIT_ALWAYS_TRUE = -1, BIT_ALWAYS_FALSE = -2 } |
Functions/Subroutines | |
| void | PROC_Properties_Begin (const char *) |
| PROC_PROPERTY | PROC_Property_Create (const char *name) |
| void | Processor_Group (PROC_PROPERTY property,...) |
| void | PROC_Properties_End (void) |
Variables | |
| static int | proc_property_count = 0 |
| static std::list< PROC_PROPERTY > | properties |
| static const char *const | interface [] |
| anonymous enum |
| void PROC_Properties_Begin | ( | const char * | ) |
Definition at line 147 of file proc_properties_gen.cxx.
References assert, BIT_ALWAYS_FALSE, BIT_ALWAYS_TRUE, cfile, efile, Emit_Footer(), Emit_Header(), filename, fopen, fprintf(), hfile, interface, LL_FORMAT, properties, and sprintf().
Referenced by main().
| PROC_PROPERTY PROC_Property_Create | ( | const char * | name | ) |
Definition at line 112 of file proc_properties_gen.cxx.
References proc_property::members, proc_property::name, proc_property_count, properties, and result.
Referenced by main().
| void Processor_Group | ( | PROC_PROPERTY | property, | |
| ... | ||||
| ) |
const char* const interface[] [static] |
Initial value:
{
"/* ====================================================================",
" * ====================================================================",
" *",
" * Description:",
" *",
" * A description of the properties (attributes) for the processors",
" * in the PROC. The description exports the following:",
" *",
" * BOOL PROC_xxx(void)",
" * Return true/false if PROCESSOR_Value has/does-not-have the",
" * property 'xxx'.",
" *",
" * ====================================================================",
" * ====================================================================",
" */",
NULL
}
Definition at line 83 of file proc_properties_gen.cxx.
int proc_property_count = 0 [static] |
std::list<PROC_PROPERTY> properties [static] |
Definition at line 81 of file proc_properties_gen.cxx.
1.5.6