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 "topcode.h"
#include "gen_util.h"
#include "isa_properties_gen.h"
Go to the source code of this file.
Classes | |
struct | isa_property |
Defines | |
#define | FNAME "targ_isa_properties" |
Enumerations | |
enum | { BIT_POS_ALL = -1, BIT_POS_NONE = -2 } |
Functions | |
void | ISA_Properties_Begin (const char *) |
ISA_PROPERTY | ISA_Property_Create (const char *name) |
void | Instruction_Group (ISA_PROPERTY property,...) |
void | ISA_Properties_End (void) |
Variables | |
static list< ISA_PROPERTY > | properties |
static const char *const | interface [] |
#define FNAME "targ_isa_properties" |
anonymous enum |
Definition at line 69 of file isa_properties_gen.cxx.
void Instruction_Group | ( | ISA_PROPERTY | property, |
... | |||
) |
Definition at line 121 of file isa_properties_gen.cxx.
void ISA_Properties_Begin | ( | const char * | ) |
Definition at line 97 of file isa_properties_gen.cxx.
Referenced by main().
void ISA_Properties_End | ( | void | ) |
Definition at line 137 of file isa_properties_gen.cxx.
References BIT_POS_ALL, BIT_POS_NONE, isa_property::bit_position, cfile, code, efile, Emit_Footer(), Emit_Header(), fprintf(), hfile, interface, member(), and properties.
Referenced by main().
ISA_PROPERTY ISA_Property_Create | ( | const char * | name | ) |
Definition at line 105 of file isa_properties_gen.cxx.
References isa_property::members, isa_property::name, name, properties, and result.
Referenced by main().
{ "/* ====================================================================", " * ====================================================================", " *", " * Description:", " *", " * A description of the properties (attributes) for the instructions", " * in the ISA. The description exports the following:", " *", " * BOOL TOP_is_xxx(TOP topcode)", " * Return true/false if 'topcode' has/does-not-have the property", " * 'xxx'.", " *", " * ====================================================================", " * ====================================================================", " */", NULL }
Definition at line 76 of file isa_properties_gen.cxx.
Referenced by ISA_Properties_End().
list<ISA_PROPERTY> properties [static] |
Definition at line 74 of file isa_properties_gen.cxx.
Referenced by ISA_Properties_End(), and ISA_Property_Create().