Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#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"
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_HAZARD > | hazards |
static op_haz * | op_hazards [TOP_count+1] |
static list< op_haz * > | op_hazards_list |
static haz_desc * | current_haz_desc |
static int | haz_index |
static const char *const | interface [] |
#define FNAME "targ_isa_hazards" |
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().
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.
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().
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().
void ISA_Hazards_End | ( | void | ) |
Definition at line 251 of file isa_hazards_gen.cxx.
References cfile, haz_desc::data, op_haz::desc, efile, Emit_Footer(), Emit_Header(), fprintf(), haz_index, hazards, hfile, op_haz::index, interface, isa_hazard::name, op_haz::next, next, op_hazards, op_hazards_list, haz_desc::post_ops, haz_desc::pre_ops, haz_desc::subsets, top, and haz_desc::type.
Referenced by main().
haz_desc* current_haz_desc [static] |
Definition at line 85 of file isa_hazards_gen.cxx.
Referenced by Hazard_Data(), Hazard_Group(), Hazard_ISA(), Hazard_Post_Ops(), Hazard_Pre_Ops(), and Hazard_Type().
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().
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().