Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#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.
Classes | |
struct | proc_property |
Enumerations | |
enum | { BIT_ALWAYS_TRUE = -1, BIT_ALWAYS_FALSE = -2 } |
Functions | |
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 list< PROC_PROPERTY > | properties |
static const char *const | interface [] |
anonymous enum |
Definition at line 70 of file proc_properties_gen.cxx.
void PROC_Properties_Begin | ( | const char * | ) |
Definition at line 100 of file proc_properties_gen.cxx.
Referenced by main().
void PROC_Properties_End | ( | void | ) |
Definition at line 143 of file proc_properties_gen.cxx.
References BIT_ALWAYS_FALSE, BIT_ALWAYS_TRUE, cfile, code, efile, Emit_Footer(), Emit_Header(), fprintf(), hfile, interface, proc_property::members, and properties.
Referenced by main().
PROC_PROPERTY PROC_Property_Create | ( | const char * | name | ) |
Definition at line 108 of file proc_properties_gen.cxx.
References proc_property::members, proc_property::name, name, proc_property_count, properties, and result.
Referenced by main().
void Processor_Group | ( | PROC_PROPERTY | property, |
... | |||
) |
Definition at line 126 of file proc_properties_gen.cxx.
Referenced by main().
{ "/* ====================================================================", " * ====================================================================", " *", " * 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 79 of file proc_properties_gen.cxx.
Referenced by PROC_Properties_End().
int proc_property_count = 0 [static] |
Definition at line 76 of file proc_properties_gen.cxx.
Referenced by PROC_Property_Create().
list<PROC_PROPERTY> properties [static] |
Definition at line 77 of file proc_properties_gen.cxx.
Referenced by PROC_Properties_End(), and PROC_Property_Create().