Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
Typedefs | |
typedef struct isa_exec_unit_type * | ISA_EXEC_UNIT_TYPE |
typedef struct isa_bundle_type * | ISA_BUNDLE_TYPE |
Enumerations | |
enum | ISA_BUNDLE_PACK_ENDIAN { ISA_Bundle_Pack_Little_Endian, ISA_Bundle_Pack_Big_Endian } |
Functions | |
void | ISA_Bundle_Begin (const char *archname, int bundle_width) |
ISA_EXEC_UNIT_TYPE | ISA_Exec_Unit_Type_Create (const char *name, ISA_EXEC_UNIT_TYPE base_unit) |
void | Instruction_Exec_Unit_Group (ISA_EXEC_UNIT_TYPE unit_type,...) |
void | ISA_Bundle_Pack_Create (ISA_BUNDLE_PACK_ENDIAN endian) |
void | Pack_Template (int comp_pos, int bundle_pos, int width) |
void | Pack_Slot (int slot, int comp_pos, int bundle_pos, int width) |
void | ISA_Bundle_Type_Create (const char *name, const char *asm_name, int slot_count) |
void | Slot (int slot_index, ISA_EXEC_UNIT_TYPE type) |
void | Stop (int slot_index) |
void | ISA_Bundle_End (void) |
typedef struct isa_bundle_type* ISA_BUNDLE_TYPE |
Definition at line 108 of file isa_bundle_gen.h.
typedef struct isa_exec_unit_type* ISA_EXEC_UNIT_TYPE |
Definition at line 107 of file isa_bundle_gen.h.
Definition at line 110 of file isa_bundle_gen.h.
void Instruction_Exec_Unit_Group | ( | ISA_EXEC_UNIT_TYPE | unit_type, |
... | |||
) |
Definition at line 252 of file isa_bundle_gen.cxx.
References current_exec_type_desc, exit(), fprintf(), isa_exec_unit_type::members, and isa_exec_unit_type::name.
Referenced by main().
void ISA_Bundle_Begin | ( | const char * | archname, |
int | bundle_width | ||
) |
void ISA_Bundle_End | ( | void | ) |
Definition at line 892 of file isa_bundle_gen.cxx.
References buf, cfile, efile, Emit_Bundle_Packing(), Emit_Bundle_Scheduling(), Emit_Footer(), Emit_Header(), fprintf(), hfile, and interface.
Referenced by main().
void ISA_Bundle_Pack_Create | ( | ISA_BUNDLE_PACK_ENDIAN | endian | ) |
Definition at line 608 of file isa_bundle_gen.cxx.
References bundle_pack_info, bzero(), BUNDLE_PACK_INFO::endian, exit(), and fprintf().
Referenced by main().
void ISA_Bundle_Type_Create | ( | const char * | name, |
const char * | asm_name, | ||
int | slot_count | ||
) |
Definition at line 274 of file isa_bundle_gen.cxx.
References all_bundles, isa_bundle_type::asm_name, current_bundle_desc, max_slots, isa_bundle_type::name, name, num_bundles, isa_bundle_type::pack_code, isa_bundle_type::slot_count, and isa_bundle_type::stop_bit.
Referenced by main().
ISA_EXEC_UNIT_TYPE ISA_Exec_Unit_Type_Create | ( | const char * | name, |
ISA_EXEC_UNIT_TYPE | base_unit | ||
) |
Definition at line 233 of file isa_bundle_gen.cxx.
References all_exec_types, isa_exec_unit_type::base_unit, isa_exec_unit_type::bit_position, current_exec_type_desc, isa_exec_property_count, isa_exec_unit_type::members, isa_exec_unit_type::name, and name.
Referenced by main().
void Pack_Slot | ( | int | slot, |
int | comp_pos, | ||
int | bundle_pos, | ||
int | width | ||
) |
Definition at line 644 of file isa_bundle_gen.cxx.
References bundle_bits, bundle_pack_info, BUNDLE_FIELD::bundle_pos, BUNDLE_FIELD::comp_pos, exit(), fprintf(), BUNDLE_PACK_INFO::fslot, MAX_SLOTS, NULL, and BUNDLE_FIELD::width.
Referenced by main().
void Pack_Template | ( | int | comp_pos, |
int | bundle_pos, | ||
int | width | ||
) |
Definition at line 624 of file isa_bundle_gen.cxx.
References bundle_bits, bundle_pack_info, BUNDLE_FIELD::bundle_pos, BUNDLE_FIELD::comp_pos, exit(), fprintf(), BUNDLE_PACK_INFO::ftemplate, NULL, and BUNDLE_FIELD::width.
Referenced by main().
void Slot | ( | int | slot_index, |
ISA_EXEC_UNIT_TYPE | type | ||
) |
Definition at line 296 of file isa_bundle_gen.cxx.
References current_bundle_desc, exit(), fprintf(), isa_bundle_type::slot, and isa_bundle_type::slot_count.
Referenced by main().
void Stop | ( | int | slot_index | ) |
Definition at line 316 of file isa_bundle_gen.cxx.
References current_bundle_desc, exit(), fprintf(), isa_bundle_type::slot_count, and isa_bundle_type::stop_bit.
Referenced by main().