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 <vector>
#include <list>
#include "topcode.h"
#include "gen_util.h"
#include "isa_subset_gen.h"
Go to the source code of this file.
Classes | |
struct | isa_subset |
Defines | |
#define | FNAME "targ_isa_subset" |
Functions | |
void | ISA_Subset_Begin (const char *) |
ISA_SUBSET | ISA_Subset_Create (ISA_SUBSET parent, const char *name) |
void | Instruction_Group (ISA_SUBSET subset,...) |
void | ISA_Subset_End (void) |
Variables | |
static int | isa_subset_count = 0 |
static list< ISA_SUBSET > | subsets |
static size_t | bit_vector_sizeof |
static vector< ISA_SUBSET > | opcode_subset |
static const char *const | interface [] |
#define FNAME "targ_isa_subset" |
void Instruction_Group | ( | ISA_SUBSET | subset, |
... | |||
) |
Definition at line 139 of file isa_subset_gen.cxx.
References exit(), fprintf(), isa_subset::members, isa_subset::name, NULL, opcode_subset, and isa_subset::superset.
void ISA_Subset_Begin | ( | const char * | ) |
Definition at line 109 of file isa_subset_gen.cxx.
References bit_vector_sizeof, code, NULL, and opcode_subset.
Referenced by main().
ISA_SUBSET ISA_Subset_Create | ( | ISA_SUBSET | parent, |
const char * | name | ||
) |
Definition at line 121 of file isa_subset_gen.cxx.
References bit_vector_sizeof, isa_subset::index, isa_subset_count, isa_subset::members, isa_subset::name, name, result, subsets, and isa_subset::superset.
Referenced by main().
void ISA_Subset_End | ( | void | ) |
Definition at line 170 of file isa_subset_gen.cxx.
References bit_vector_sizeof, cfile, code, efile, Emit_Footer(), Emit_Header(), exit(), fprintf(), hfile, interface, isa_subset_count, isa_subset::members, isa_subset::name, name, opcode_subset, subsets, and top.
Referenced by main().
size_t bit_vector_sizeof [static] |
Definition at line 71 of file isa_subset_gen.cxx.
Referenced by ISA_Subset_Begin(), ISA_Subset_Create(), and ISA_Subset_End().
{ "/* ====================================================================", " * ====================================================================", " *", " * Description:", " *", " * A description of the ISA subset hierarchy. The description", " * exports the following:", " *", " * typedef (enum) ISA_SUBSET", " * An enumberated type of the different subsets.", " *", " * const ISA_SUBSET ISA_SUBSET_UNDEFINED", " * Useful value guaranteed not to be a valid ISA_SUBSET.", " *", " * extern ISA_SUBSET ISA_SUBSET_Value", " * A variable containing the current subset value.", " *", " * const char* ISA_SUBSET_Name( ISA_SUBSET subset )", " * Returns a name suitable for printing.", " *", " * int ISA_SUBSET_Member( ISA_SUBSET subset, TOP opcode )", " * Is the given <opcode> a member of the given <subset>?", " *", " * ====================================================================", " * ====================================================================", " */", NULL }
Definition at line 77 of file isa_subset_gen.cxx.
Referenced by ISA_Subset_End().
int isa_subset_count = 0 [static] |
Definition at line 69 of file isa_subset_gen.cxx.
Referenced by ISA_Subset_Create(), and ISA_Subset_End().
vector<ISA_SUBSET> opcode_subset [static] |
Definition at line 73 of file isa_subset_gen.cxx.
Referenced by Instruction_Group(), ISA_Subset_Begin(), and ISA_Subset_End().
list<ISA_SUBSET> subsets [static] |
Definition at line 70 of file isa_subset_gen.cxx.
Referenced by ISA_Subset_Create(), and ISA_Subset_End().