Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
isa_hazards_gen.cxx File Reference
#include <cstddef>
#include <cstdlib>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <list>
#include "topcode.h"
#include "gen_util.h"
#include "targ_isa_subset.h"
#include "isa_hazards_gen.h"
Include dependency graph for isa_hazards_gen.cxx:

Go to the source code of this file.

Classes

struct  isa_hazard
struct  haz_desc
struct  op_haz

Defines

#define FNAME   "targ_isa_hazards"

Functions

void ISA_Hazards_Begin (const char *)
ISA_HAZARD Hazard_Create (const char *name)
void Hazard_Group (TOP topcode,...)
void Hazard_Type (ISA_HAZARD isa_hazard)
void Hazard_Data (int data)
void Hazard_Post_Ops (int ops)
void Hazard_Pre_Ops (int ops)
void Hazard_ISA (ISA_SUBSET isa)
void ISA_Hazards_End (void)

Variables

static list< ISA_HAZARDhazards
static op_hazop_hazards [TOP_count+1]
static list< op_haz * > op_hazards_list
static haz_desccurrent_haz_desc
static int haz_index
static const char *const interface []

Define Documentation

#define FNAME   "targ_isa_hazards"

Function Documentation

ISA_HAZARD Hazard_Create ( const char *  name)

Definition at line 149 of file isa_hazards_gen.cxx.

References bzero(), hazards, isa_hazard::name, name, and result.

Referenced by main().

Here is the call graph for this function:

void Hazard_Data ( int  data)

Definition at line 205 of file isa_hazards_gen.cxx.

References current_haz_desc, haz_desc::data, and data.

void Hazard_Group ( TOP  topcode,
  ... 
)

Definition at line 162 of file isa_hazards_gen.cxx.

References bzero(), current_haz_desc, op_haz::desc, fprintf(), haz_index, op_haz::index, op_haz::next, op_hazards, and op_hazards_list.

Here is the call graph for this function:

void Hazard_ISA ( ISA_SUBSET  isa)

Definition at line 235 of file isa_hazards_gen.cxx.

References current_haz_desc, exit(), fprintf(), and haz_desc::subsets.

Referenced by isa_all(), isa_down(), and isa_up().

Here is the call graph for this function:

void Hazard_Post_Ops ( int  ops)

Definition at line 215 of file isa_hazards_gen.cxx.

References current_haz_desc, and haz_desc::post_ops.

void Hazard_Pre_Ops ( int  ops)

Definition at line 225 of file isa_hazards_gen.cxx.

References current_haz_desc, and haz_desc::pre_ops.

void Hazard_Type ( ISA_HAZARD  isa_hazard)

Definition at line 195 of file isa_hazards_gen.cxx.

References current_haz_desc, and haz_desc::type.

void ISA_Hazards_Begin ( const char *  )

Definition at line 141 of file isa_hazards_gen.cxx.

Referenced by main().


Variable Documentation

int haz_index [static]

Definition at line 86 of file isa_hazards_gen.cxx.

Referenced by Hazard_Group(), and ISA_Hazards_End().

list<ISA_HAZARD> hazards [static]

Definition at line 82 of file isa_hazards_gen.cxx.

Referenced by Hazard_Create(), and ISA_Hazards_End().

const char* const interface[] [static]

Definition at line 88 of file isa_hazards_gen.cxx.

Referenced by ISA_Hazards_End().

op_haz* op_hazards[TOP_count+1] [static]

Definition at line 83 of file isa_hazards_gen.cxx.

Referenced by Hazard_Group(), and ISA_Hazards_End().

list<op_haz *> op_hazards_list [static]

Definition at line 84 of file isa_hazards_gen.cxx.

Referenced by Hazard_Group(), and ISA_Hazards_End().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines