diff options
author | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-10 16:48:44 +0000 |
---|---|---|
committer | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-10 16:48:44 +0000 |
commit | b3e7c666ad7871d027bb54d7674646e5a6a1401c (patch) | |
tree | 46df024621e90306181aba8a7770f9b752c0defa /gcc/ipa-prop.h | |
parent | 1ebeebc2e55f017239464c1e5d77a6806fac94cf (diff) |
* gcc/cgraph.h (cgraph_node_set_iterator, varpool_node_set_iterator):
Remove typedef.
(cgraph_inline_failed_enum, cgraph_inline_failed_t): Remove typedef and
rename to cgraph_inline_failed_t.
* gcc/tree-ssa-alias.h (ao_ref_s, ao_ref): Remove typedef and rename
to ao_ref.
* gcc/reload.h (reg_equivs_s, reg_equivs_t): Remove typedef and rename
to reg_equivs_t.
* gcc/conditions.h (CC_STATUS): Remove typedef.
* gcc/bitmap.h (bitmap_obstack): Remove typedef.
(bitmap_element_def, bitmap_element): Remove typedef and rename to
bitmap_element.
(bitmap_head_def, bitmap_head): Remove typedef and rename to
bitmap_head.
(bitmap_iterator): Remove typedef.
* gcc/target.h (cumulative_args_t, print_switch_type,
secondary_reload_info): Remove typedef.
* gcc/dwarf2out.h (dw_cfi_oprnd_struct, dw_cfi_oprnd): Remove
dw_cfi_oprnd_struct alias.
(dw_cfi_struct, dw_cfi_node): Remove typedef and rename to dw_cfi_node.
(dw_fde_struct, dw_fde_node): Remove typedef and rename to dw_fde_node.
(cfa_loc, dw_cfa_location): Remove typedef and rename to
dw_cfa_location.
(dw_vec_struct, dw_vec_const): Remove typedef and rename to
dw_vec_const.
(dw_val_struct, dw_val_node): Remove typedef and rename to dw_val_node.
(dw_loc_descr_struct, dw_loc_descr_node): Remove typedef and rename to
dw_loc_descr_node.
* gcc/params.h (param_info, compiler_param): Remove typedef.
* gcc/opts.h (cl_deferred_param): Remove typedef.
* gcc/sreal.h (sreal): Remove typedef.
* gcc/ddg.h (dep_type, dep_data_type): Remove typedef.
* gcc/graphite-clast-to-gimple.h (cloog_prog_clast, bb_pbb_def): Remove
typedef.
* gcc/lto-streamer.h (lto_decl_stream_e_t, lto_encoder_entry,
lto_symtab_encoder_iterator, res_pair): Remove typedef.
* gcc/tree-affine.h (affine_tree_combination, aff_tree): Remove typedef
and rename to aff_tree.
* gcc/sched-int.h (region): Remove typedef.
* gcc/diagnostic.h (diagnostic_info,
diagnostic_classification_change_t): Remove typedef.
* gcc/tree-ssa-loop.h (affine_iv_d): Remove typedef and rename to
affine_iv.
* gcc/sbitmap.h (sbitmap_iterator): Remove typedef.
* gcc/ssa-iterators.h (immediate_use_iterator_d, imm_use_iterator):
Remove typedef and rename to imm_use_iterator.
(ssa_operand_iterator_d, ssa_op_iter): Remove typedef and rename to
ssa_op_iter.
* gcc/ggc-internal.h (ggc_statistics): Remove typedef.
* gcc/cselib.h (cselib_val_struct, cselib_val): Remove typedef and
rename to cselib_val.
* gcc/tree-core.h (alias_pair): Remove typedef.
(constructor_elt_d, constructor_elt): Remove typedef and rename to
constructor_elt.
(ssa_use_operand_d, ssa_use_operand_t): Remove typedef and rename to
ssa_use_operand_t.
* gcc/graphite-sese-to-poly.h (base_alias_pair): Remove typedef.
* gcc/tree-data-ref.h (conflict_function): Remove typedef.
* gcc/tree-inline.h (copy_body_data): Remove typedef.
* gcc/ipa-inline.h (condition, size_time_entry, inline_param_summary_t,
edge_growth_cache_entry): Remove typedef.
* gcc/regrename.h (operand_rr_info, insn_rr_info): Remove typedef.
* gcc/gimple-iterator.h (gimple_stmt_iterator_d, gimple_stmt_iterator):
Remove typedef and rename to gimple_stmt_iterator.
* gcc/basic-block.h (ce_if_block, ce_if_block_t): Remove typedef and
rename to ce_if_block.
(edge_iterator): Remove typedef.
* gcc/ipa-prop.h (ipa_agg_jf_item, ipa_agg_jf_item_t): Remove typedef
and rename to ipa_agg_jf_item.
(ipa_agg_jump_function_t, ipa_param_descriptor_t, ipa_node_params_t,
ipa_parm_adjustment_t): Remove typedef.
(ipa_jump_func, ipa_jump_func_t): Remove typedef and rename to
ipa_jump_func.
(ipa_edge_args, ipa_edge_args_t): Remove typedef and rename to
ipa_edge_args.
* gcc/gcov-io.h (gcov_bucket_type): Remove typedef.
(gcov_working_set_info, gcov_working_set_t): Remove typedef and rename
to gcov_working_set_t.
* gcc/ira-int.h (minmax_set_iterator, ira_allocno_iterator,
ira_object_iterator, ira_allocno_object_iterator, ira_pref_iterator,
ira_copy_iterator, ira_object_conflict_iterator): Remove typedef.
* gcc/tree-iterator.h (tree_stmt_iterator): Remove typedef.
* gcc/rtl.h (addr_diff_vec_flags, mem_attrs, reg_attrs,
replace_label_data): Remove typedef.
(rtunion_def, rtunion): Remove typedef and rename to rtunion.
* gcc/hard-reg-set.h (hard_reg_set_iterator): Remove typedef.
* gcc/sel-sched-ir.h (_list_iterator, sel_global_bb_info_def,
sel_region_bb_info_def, succ_iterator): Remove typedef.
(deps_where_def, deps_where_t): Remove typedef and rename to
deps_where_t.
* gcc/coretypes.h: Adapt forward declarations.
* gcc/tree-scalar-evolution.h: Likewise.
* gcc/tree-ssa-address.h: Likewise.
* gcc/tree-ssa-operands.h: Likewise.
* gcc/function.h: Likewise.
* gcc/config/frv/frv-protos.h: Likewise.
* gcc/targhooks.h: Likewise.
* gcc/basic_block.h: Likewise.
* gcc/rtl.def: Adapt documentation.
* gcc/doc/tm.texi: Likewise.
* gcc/ipa-cp.c: Adapt uses.
* gcc/bitmap.c: Likewise.
* gcc/dwarf2out.c: Likewise.
* gcc/target.def: Likewise.
* gcc/ipa-inline-analysis.c: Likewise.
* gcc/dwarf2cfi.c: Likewise.
* gcc/tree-ssa-loop-ivopts.c: Likewise.
* gcc/lto-cgraph.c: Likewise.
* gcc/config/frv/frv.c: Likewise.
* gcc/ifcvt.c: Likewise.
* gcc/ipa-prop.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205863 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.h')
-rw-r--r-- | gcc/ipa-prop.h | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index 2fb00afcac2..9a987d78a04 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -152,14 +152,14 @@ struct GTY(()) ipa_ancestor_jf_data different, all unlisted parts are assumed to be unknown and all values must fulfill is_gimple_ip_invariant. */ -typedef struct GTY(()) ipa_agg_jf_item +struct GTY(()) ipa_agg_jf_item { /* The offset at which the known value is located within the aggregate. */ HOST_WIDE_INT offset; /* The known constant or type if this is a clobber. */ tree value; -} ipa_agg_jf_item_t; +}; /* Aggregate jump function - i.e. description of contents of aggregates passed @@ -168,18 +168,17 @@ typedef struct GTY(()) ipa_agg_jf_item struct GTY(()) ipa_agg_jump_function { /* Description of the individual items. */ - vec<ipa_agg_jf_item_t, va_gc> *items; + vec<ipa_agg_jf_item, va_gc> *items; /* True if the data was passed by reference (as opposed to by value). */ bool by_ref; }; typedef struct ipa_agg_jump_function *ipa_agg_jump_function_p; -typedef struct ipa_agg_jump_function ipa_agg_jump_function_t; /* A jump function for a callsite represents the values passed as actual arguments of the callsite. See enum jump_func_type for the various types of jump functions supported. */ -typedef struct GTY (()) ipa_jump_func +struct GTY (()) ipa_jump_func { /* Aggregate contants description. See struct ipa_agg_jump_function and its description. */ @@ -196,7 +195,7 @@ typedef struct GTY (()) ipa_jump_func struct ipa_pass_through_data GTY ((tag ("IPA_JF_PASS_THROUGH"))) pass_through; struct ipa_ancestor_jf_data GTY ((tag ("IPA_JF_ANCESTOR"))) ancestor; } GTY ((desc ("%1.type"))) value; -} ipa_jump_func_t; +}; /* Return the offset of the component that is described by a known type jump @@ -350,7 +349,6 @@ struct ipa_param_descriptor unsigned used : 1; }; -typedef struct ipa_param_descriptor ipa_param_descriptor_t; struct ipcp_lattice; /* ipa_node_params stores information related to formal parameters of functions @@ -361,7 +359,7 @@ struct ipa_node_params { /* Information about individual formal parameters that are gathered when summaries are generated. */ - vec<ipa_param_descriptor_t> descriptors; + vec<ipa_param_descriptor> descriptors; /* Pointer to an array of structures describing individual formal parameters. */ struct ipcp_param_lattices *lattices; @@ -474,11 +472,11 @@ void ipa_set_node_agg_value_chain (struct cgraph_node *node, /* ipa_edge_args stores information related to a callsite and particularly its arguments. It can be accessed by the IPA_EDGE_REF macro. */ -typedef struct GTY(()) ipa_edge_args +struct GTY(()) ipa_edge_args { /* Vector of the callsite's jump function of each parameter. */ - vec<ipa_jump_func_t, va_gc> *jump_functions; -} ipa_edge_args_t; + vec<ipa_jump_func, va_gc> *jump_functions; +}; /* ipa_edge_args access functions. Please use these to access fields that are or will be shared among various passes. */ @@ -501,17 +499,14 @@ ipa_get_ith_jump_func (struct ipa_edge_args *args, int i) return &(*args->jump_functions)[i]; } -/* Vectors need to have typedefs of structures. */ -typedef struct ipa_node_params ipa_node_params_t; - /* Types of vectors holding the infos. */ /* Vector where the parameter infos are actually stored. */ -extern vec<ipa_node_params_t> ipa_node_params_vector; +extern vec<ipa_node_params> ipa_node_params_vector; /* Vector of known aggregate values in cloned nodes. */ extern GTY(()) vec<ipa_agg_replacement_value_p, va_gc> *ipa_node_agg_replacements; /* Vector where the parameter infos are actually stored. */ -extern GTY(()) vec<ipa_edge_args_t, va_gc> *ipa_edge_args_vector; +extern GTY(()) vec<ipa_edge_args, va_gc> *ipa_edge_args_vector; /* Return the associated parameter/argument info corresponding to the given node/edge. */ @@ -685,9 +680,7 @@ struct ipa_parm_adjustment unsigned by_ref : 1; }; -typedef struct ipa_parm_adjustment ipa_parm_adjustment_t; - -typedef vec<ipa_parm_adjustment_t> ipa_parm_adjustment_vec; +typedef vec<ipa_parm_adjustment> ipa_parm_adjustment_vec; vec<tree> ipa_get_vector_of_formal_parms (tree fndecl); vec<tree> ipa_get_vector_of_formal_parm_types (tree fntype); |