Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
Typedefs | |
typedef struct isa_pack_type * | ISA_PACK_TYPE |
typedef struct opnd_adj_type * | OPND_ADJ_TYPE |
Functions | |
void | ISA_Pack_Begin (const char *archname, int inst_bit_size) |
ISA_PACK_TYPE | ISA_Pack_Type_Create (const char *name) |
OPND_ADJ_TYPE | Create_Operand_Adjustment (const char *name, const char *adj) |
void | Instruction_Pack_Group (ISA_PACK_TYPE pack_type,...) |
void | Operand (int operand_index, int opnd_position, int inst_position, int width) |
void | Adjust_Operand (int operand_index, OPND_ADJ_TYPE pack_adj, OPND_ADJ_TYPE unpack_adj) |
void | Result (int result_index, int bit_position, int width) |
void | Next_Word (void) |
void | ISA_Pack_End (void) |
typedef struct isa_pack_type* ISA_PACK_TYPE |
Definition at line 130 of file isa_pack_gen.h.
typedef struct opnd_adj_type* OPND_ADJ_TYPE |
Definition at line 132 of file isa_pack_gen.h.
void Adjust_Operand | ( | int | operand_index, |
OPND_ADJ_TYPE | pack_adj, | ||
OPND_ADJ_TYPE | unpack_adj | ||
) |
Definition at line 335 of file isa_pack_gen.cxx.
References current_pack_desc, exit(), fprintf(), MAX_OPNDS, isa_pack_type::oadj, isa_adj_type::opnd_index, isa_adj_type::padj, and isa_adj_type::uadj.
Referenced by main().
OPND_ADJ_TYPE Create_Operand_Adjustment | ( | const char * | name, |
const char * | adj | ||
) |
Definition at line 287 of file isa_pack_gen.cxx.
References opnd_adj_type::adj, all_oadj, opnd_adj_type::code, opnd_adj_type::name, name, and num_adj.
Referenced by main().
void Instruction_Pack_Group | ( | ISA_PACK_TYPE | pack_type, |
... | |||
) |
Definition at line 301 of file isa_pack_gen.cxx.
References current_pack_desc, op_assembly::desc, inst_bits, inst_words, isa_pack_type::max_word, MAX_WORDS, op_packs, op_packs_list, op_assembly::opcode_mask, and top_specified.
Referenced by main().
void ISA_Pack_Begin | ( | const char * | archname, |
int | inst_bit_size | ||
) |
void ISA_Pack_End | ( | void | ) |
Definition at line 434 of file isa_pack_gen.cxx.
References opnd_adj_type::adj, isa_pack_type::adj_index, all_oadj, all_packs, buf, cfile, opnd_adj_type::code, op_assembly::desc, efile, Emit_Footer(), Emit_Header(), END, exit(), fprintf(), hfile, isa_pack_type::index, inst_bits, isa_args_type::inst_position, inst_words, interface, Mask(), mask_width, MAX_LISTING_OPERANDS, isa_pack_type::max_word, isa_args_type::name, isa_pack_type::name, opnd_adj_type::name, isa_pack_type::oadj, op_packs, op_assembly::opcode_mask, isa_pack_type::operands, OPND, isa_adj_type::opnd_index, isa_args_type::opnd_position, isa_adj_type::padj, Print_Name(), RESULT, isa_pack_type::results, top, top_specified, isa_adj_type::uadj, isa_args_type::width, and isa_pack_type::word.
Referenced by main().
ISA_PACK_TYPE ISA_Pack_Type_Create | ( | const char * | name | ) |
Definition at line 273 of file isa_pack_gen.cxx.
References all_packs, current_pack_desc, isa_pack_type::max_word, isa_pack_type::name, name, and result.
Referenced by main().
void Next_Word | ( | void | ) |
Definition at line 406 of file isa_pack_gen.cxx.
References current_pack_desc, exit(), fprintf(), isa_pack_type::max_word, and MAX_WORDS.
Referenced by main().
void Operand | ( | int | operand_index, |
int | opnd_position, | ||
int | inst_position, | ||
int | width | ||
) |
Definition at line 356 of file isa_pack_gen.cxx.
References current_pack_desc, exit(), fprintf(), isa_args_type::inst_position, mask_width, MAX_OPNDS, isa_pack_type::max_word, isa_args_type::name, isa_pack_type::operands, OPND, isa_args_type::opnd_position, isa_args_type::width, and isa_pack_type::word.
void Result | ( | int | result_index, |
int | bit_position, | ||
int | width | ||
) |
Definition at line 382 of file isa_pack_gen.cxx.
References current_pack_desc, exit(), fprintf(), isa_args_type::inst_position, mask_width, MAX_RESULTS, isa_pack_type::max_word, isa_args_type::name, isa_args_type::opnd_position, RESULT, isa_pack_type::results, isa_args_type::width, and isa_pack_type::word.