Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
isa_enums_gen.cxx File Reference
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <assert.h>
#include <vector>
#include "gen_util.h"
#include "isa_enums_gen.h"
Include dependency graph for isa_enums_gen.cxx:

Go to the source code of this file.

Classes

struct  ECV_struct
struct  EC_struct

Defines

#define FNAME   "targ_isa_enums"

Functions

void ISA_Enums_Begin (void)
void ISA_Create_Enum_Class (const char *name,...)
static const char * Print_ECV_EName (const char *name)
void ISA_Enums_End (void)

Variables

static vector< ECV_structall_ecv
static vector< EC_structall_ec
static const char *const interface []

Define Documentation

#define FNAME   "targ_isa_enums"

Function Documentation

void ISA_Enums_Begin ( void  )

Definition at line 119 of file isa_enums_gen.cxx.

References all_ec, all_ecv, and UNDEFINED.

Referenced by main().

void ISA_Enums_End ( void  )

Definition at line 191 of file isa_enums_gen.cxx.

References all_ec, all_ecv, buf, cfile, ECV_struct::ecv_ecname, ECV_struct::ecv_name, efile, Emit_Footer(), Emit_Header(), fprintf(), hfile, interface, and Print_ECV_EName().

Referenced by main().

Here is the call graph for this function:

static const char* Print_ECV_EName ( const char *  name) [static]

Definition at line 160 of file isa_enums_gen.cxx.

References buf, and NULL.

Referenced by ISA_Enums_End().


Variable Documentation

vector<EC_struct> all_ec [static]

Definition at line 70 of file isa_enums_gen.cxx.

Referenced by ISA_Create_Enum_Class(), ISA_Enums_Begin(), and ISA_Enums_End().

vector<ECV_struct> all_ecv [static]

Definition at line 69 of file isa_enums_gen.cxx.

Referenced by ISA_Create_Enum_Class(), ISA_Enums_Begin(), and ISA_Enums_End().

const char* const interface[] [static]

Definition at line 72 of file isa_enums_gen.cxx.

Referenced by ISA_Enums_End().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines