osprey/cygnus/opcodes/z8kgen.c File Reference

#include <stdio.h>
#include "sysdep.h"
#include "libiberty.h"

Include dependency graph for z8kgen.c:

Go to the source code of this file.

Data Types

type  op
type  tok_struct

Defines

#define BYTE_INFO_LEN   10
#define iswhite(x)   ((x) == ' ' || (x) == '\t')

Functions/Subroutines

static int count (void)
static int func (struct op *a, struct op *b)
static char * translate (struct tok_struct *table, char *x, int *length)
static void chewbits (char *bits, int *length)
static int chewname (char **name)
static void sub (char *x, char c)
static void print_type (struct op *n)
static void internal (void)
static void gas (void)
int main (int ac, char **av)

Variables

static struct op opt []
static struct tok_struct args []
static struct tok_struct toks []


Define Documentation

#define BYTE_INFO_LEN   10

Definition at line 26 of file z8kgen.c.

Referenced by chewbits(), and gas().

#define iswhite (  )     ((x) == ' ' || (x) == '\t')

Definition at line 38 of file z8kgen.c.

Referenced by chewname(), and print_type().


Function Documentation

static void chewbits ( char *  bits,
int *  length 
) [static]

Definition at line 758 of file z8kgen.c.

References BYTE_INFO_LEN, n, printf(), and translate().

Referenced by gas().

static int chewname ( char **  name  )  [static]

Definition at line 784 of file z8kgen.c.

References d, iswhite, len, memcpy, n, printf(), translate(), and xmalloc().

Referenced by gas().

static int count ( void   )  [static]

Definition at line 555 of file z8kgen.c.

References op::name, p, and r.

static int func ( struct op a,
struct op b 
) [static]

Definition at line 570 of file z8kgen.c.

References strcmp().

static void gas ( void   )  [static]

static void internal ( void   )  [static]

Definition at line 904 of file z8kgen.c.

References op::bits, c, count, op::cycles, op::flags, func, memcpy, op::name, p, print_type(), printf(), qsort(), s, sub, and xmalloc().

int main ( int  ac,
char **  av 
)

Definition at line 1313 of file z8kgen.c.

References op::bits, gas(), op::name, p, printf(), and strcmp().

static void print_type ( struct op n  )  [static]

Definition at line 878 of file z8kgen.c.

References iswhite, printf(), s, and op::type.

Referenced by internal().

static void sub ( char *  x,
char  c 
) [static]

Definition at line 825 of file z8kgen.c.

static char* translate ( struct tok_struct table,
char *  x,
int *  length 
) [static]


Variable Documentation

struct tok_struct args[] [static]

Definition at line 589 of file z8kgen.c.

Referenced by $DFI(), $EFI(), __OPN(), _Cif_binread(), _CLS(), _ferr(), _fwarn(), _INQ(), _RUI(), _WUI(), acceptable_java_type(), altivec_resolve_overloaded_builtin(), arc_compute_function_type(), arg_assoc(), arg_assoc_namespace(), avr_handle_progmem_attribute(), bfd_h8_disassemble(), build_asm_expr(), build_conditional_expr(), build_expr_from_tree(), build_java_argument_signature(), build_jni_stub(), build_message_expr(), build_new_1(), build_new_op(), build_op_delete_call(), build_over_call(), build_user_type_conversion_1(), c_parser_direct_declarator(), c_parser_direct_declarator_inner(), c_parser_initelt(), c_parser_postfix_expression(), CG_LOOP_Trace_Loop(), check_function_format(), check_function_type(), Cif_Duplicate(), Cif_Free(), Cif_Msginsert(), Cif_Putrecord(), coerce_delete_type(), coerce_new_type(), collect_args(), concat(), concat_copy(), concat_copy2(), concat_length(), constrain_visibility_for_template(), convert_like_real(), copy_fn_p(), cp_parser_postfix_expression(), cse_change_cc_mode(), current_template_args(), cwh_addr_insert_bounds_check(), cwh_char_intrin(), cwh_do_tranformational(), cwh_inline_allocate(), cwh_intrin_ieee_intrin_call_helper(), cwh_intrin_ieee_intrin_helper(), cwh_intrin_sync_intrin(), cwh_stmt_call_helper(), cwh_stmt_insert_conformance_check(), d_expression(), decl_attributes(), def_fn_type(), define_builtin_type(), demangle_arm_hp_template(), determine_visibility(), DevWarn(), df_insn_mem_replace(), df_refs_reg_replace(), df_rtx_mem_replace(), df_rtx_reg_replace(), dump_decl(), dump_expr(), dump_template_parms(), dump_type(), eliminate_tail_call(), error(), Exp_OP(), expand_call(), expand_call_inline(), expand_complex_libcall(), expand_java_multianewarray(), expand_omp_for_generic(), expand_parallel_call(), fail(), fei_count(), fei_fpclass(), fei_isfinite(), fei_isnan(), fei_isunordered(), fei_logb(), fei_matmul(), fei_omp_set_lock(), fei_omp_test_lock(), fei_omp_unset_lock(), fei_remainder(), fei_scalb(), fei_select(), ffecom_char_args_x_(), ffecom_expr_(), ffecom_subscript_check_(), ffeste_R1212(), ffeste_R904(), ffeste_R907(), ffeste_R923A(), find_data_references_in_loop(), find_substitution(), find_tail_calls(), finish_function(), finish_id_expression(), finish_repo(), fixup_pending_inline(), fold_builtin_cos(), for_each_memref(), get_command_line(), get_extra_args(), gimplify_decl_expr(), gimplify_modify_expr_to_memcpy(), gimplify_modify_expr_to_memset(), gimplify_omp_atomic_fetch_op(), gimplify_omp_atomic_pipeline(), gimplify_parameters(), gimplify_variable_sized_compare(), give_switch(), GRA_Trace(), GRA_Trace_Color(), GRA_Trace_Place(), GRA_Trace_Split(), grokdeclarator(), grokfndecl(), grokoptypename(), GTY(), handle_spec_function(), implicitly_declare_fn(), infer_loop_bounds_from_undefined(), instantiate_class_template(), instantiate_decl(), instantiate_type(), internal_error(), intrinsic_runtime(), ip2k_handle_progmem_attribute(), is_specialization_of_friend(), is_std_substitution_char(), lang_specific_driver(), lower_omp_single_copy(), lower_rec_input_clauses(), macroexpand(), most_specialized(), most_specialized_class(), new_exp_1(), new_exp_2(), new_exp_3(), note_not_unrolled(), parse_params(), pp_base_format(), pp_base_output_formatted_text(), pp_cxx_parameter_declaration_clause(), pp_cxx_postfix_expression(), print_insn_w65(), Process_Inline(), push_namespace_with_attribs(), push_template_decl_real(), put_decl_node(), random_seed_intrinsic(), reconcat(), regenerate_decl_from_template(), register_dtor_fn(), replace_loop_mem(), replace_loop_mems(), replace_loop_reg(), replace_loop_regs(), resolve_typename_type(), revert_static_member_fn(), set_collect_gcc_options(), simplify_aggr_init_expr(), simplify_aggr_init_exprs_r(), stabilize_throw_expr(), start_decl(), start_function(), tree_gen_interval_profiler(), tree_gen_one_value_profiler(), tree_gen_pow2_profiler(), type_unification_real(), value_dependent_expression_p(), verify_call_expr(), verify_target_expr(), vmsg(), VPARAMS(), warn(), warning(), WFE_is_default_constructor(), WGEN_is_default_constructor(), WN_Nary(), xstormy16_expand_builtin(), xstormy16_handle_below100_attribute(), and xstormy16_init_builtins().

struct op opt[] [static]

struct tok_struct toks[] [static]

Definition at line 650 of file z8kgen.c.

Referenced by destringize_and_run(), and do_pragma().


Generated on Wed Apr 8 15:06:42 2009 for Open64 by  doxygen 1.5.6