Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
isa_properties_gen.cxx File Reference
#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"
Include dependency graph for isa_properties_gen.cxx:

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_PROPERTYproperties
static const char *const interface []

Define Documentation

#define FNAME   "targ_isa_properties"

Enumeration Type Documentation

anonymous enum
Enumerator:
BIT_POS_ALL 
BIT_POS_NONE 

Definition at line 69 of file isa_properties_gen.cxx.


Function Documentation

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().

Here is the call graph for this function:

Definition at line 105 of file isa_properties_gen.cxx.

References isa_property::members, isa_property::name, name, properties, and result.

Referenced by main().


Variable Documentation

const char* const interface[] [static]
Initial value:
 {
  "/* ====================================================================",
  " * ====================================================================",
  " *",
  " * 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().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines