/dflybsd-src/contrib/gcc-8.0/libgcc/ |
H A D | libgcov.h | 52 typedef signed gcov_type __attribute__ ((mode (DI))); typedef 55 typedef signed gcov_type __attribute__ ((mode (SI))); typedef 63 typedef signed gcov_type __attribute__ ((mode (SI))); typedef 66 typedef signed gcov_type __attribute__ ((mode (HI))); typedef 73 typedef signed gcov_type __attribute__ ((mode (HI))); typedef 76 typedef signed gcov_type __attribute__ ((mode (QI))); typedef 135 extern gcov_type gcov_read_counter_mem (); 169 gcov_type *values; /* their values. */ 188 typedef void (*gcov_merge_fn) (gcov_type *, gcov_unsigned_t); 250 extern void __gcov_merge_add (gcov_type *, unsigned) ATTRIBUTE_HIDDEN; [all …]
|
H A D | libgcov-profiler.c | 47 __gcov_interval_profiler (gcov_type *counters, gcov_type value, in __gcov_interval_profiler() 50 gcov_type delta = value - start; in __gcov_interval_profiler() 67 __gcov_interval_profiler_atomic (gcov_type *counters, gcov_type value, in __gcov_interval_profiler_atomic() 70 gcov_type delta = value - start; in __gcov_interval_profiler_atomic() 85 __gcov_pow2_profiler (gcov_type *counters, gcov_type value) in __gcov_pow2_profiler() 99 __gcov_pow2_profiler_atomic (gcov_type *counters, gcov_type value) in __gcov_pow2_profiler_atomic() 121 __gcov_one_value_profiler_body (gcov_type *counters, gcov_type value, in __gcov_one_value_profiler_body() 142 __gcov_one_value_profiler (gcov_type *counters, gcov_type value) in __gcov_one_value_profiler() 160 __gcov_one_value_profiler_atomic (gcov_type *counters, gcov_type value) in __gcov_one_value_profiler_atomic() 179 __gcov_topn_value_profiler_body (gcov_type *counters, gcov_type value) in __gcov_topn_value_profiler_body() [all …]
|
H A D | libgcov-merge.c | 32 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_add() 37 void __gcov_merge_single (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_single() 48 __gcov_merge_add (gcov_type *counters, unsigned n_counters) in __gcov_merge_add() 60 __gcov_merge_ior (gcov_type *counters, unsigned n_counters) in __gcov_merge_ior() 72 __gcov_merge_time_profile (gcov_type *counters, unsigned n_counters) in __gcov_merge_time_profile() 75 gcov_type value; in __gcov_merge_time_profile() 98 __gcov_merge_single (gcov_type *counters, unsigned n_counters) in __gcov_merge_single() 101 gcov_type value, counter, all; in __gcov_merge_single() 131 __gcov_merge_icall_topn (gcov_type *counters, unsigned n_counters) in __gcov_merge_icall_topn() 138 gcov_type *value_array = &counters[i + 1]; in __gcov_merge_icall_topn() [all …]
|
H A D | libgcov-driver.c | 125 gcov_type *values; in buffer_fn_data() 137 len = length * sizeof (gcov_type); in buffer_fn_data() 138 values = (gcov_type *) xmalloc (len); in buffer_fn_data() 205 gcov_histogram_insert(gcov_bucket_type *histogram, gcov_type value) in gcov_histogram_insert() 575 gcov_type *c_ptr; in write_one_data() 681 gcov_sort_n_vals (gcov_type *value_array, int n) in gcov_sort_n_vals() 687 gcov_type cur_ent[2]; in gcov_sort_n_vals() 710 gcov_type *values; in gcov_sort_icall_topn_counter() 718 gcov_type *value_array = &values[i + 1]; in gcov_sort_icall_topn_counter()
|
/dflybsd-src/contrib/gcc-4.7/gcc/ |
H A D | gcov-io.h | 173 typedef signed gcov_type __attribute__ ((mode (DI))); typedef 175 typedef signed gcov_type __attribute__ ((mode (SI))); typedef 182 typedef signed gcov_type __attribute__ ((mode (SI))); typedef 184 typedef signed gcov_type __attribute__ ((mode (HI))); typedef 190 typedef signed gcov_type __attribute__ ((mode (HI))); typedef 192 typedef signed gcov_type __attribute__ ((mode (QI))); typedef 212 typedef HOST_WIDEST_INT gcov_type; typedef 397 gcov_type sum_all; /* sum of all counters accumulated. */ 398 gcov_type run_max; /* maximum value on a single run. */ 399 gcov_type sum_max; /* sum of individual run max values. */ [all …]
|
H A D | mcf.c | 92 gcov_type flow; 94 gcov_type rflow; 95 gcov_type weight; 96 gcov_type cost; 97 gcov_type max_capacity; 372 add_edge (fixup_graph_type *fixup_graph, int src, int dest, gcov_type cost) in add_edge() 392 edge_type type, gcov_type weight, gcov_type cost, in add_fixup_edge() 393 gcov_type max_capacity) in add_fixup_edge() 407 gcov_type rflow, gcov_type cost) in add_rfixup_edge() 467 gcov_type *diff_out_in = NULL; in create_fixup_graph() [all …]
|
H A D | value-prof.c | 81 static tree gimple_divmod_fixed_value (gimple, tree, int, gcov_type, gcov_type); 82 static tree gimple_mod_pow2 (gimple, int, gcov_type, gcov_type); 83 static tree gimple_mod_subtract (gimple, int, int, int, gcov_type, gcov_type, 84 gcov_type); 339 …new_val->hvalue.counters = XNEWVAR (gcov_type, sizeof (*new_val->hvalue.counters) * new_val->n_cou… in gimple_duplicate_stmt_histograms() 457 gcov_type *count, gcov_type *all, gcov_type bb_count) in check_counter() 559 gimple_divmod_fixed_value (gimple stmt, tree value, int prob, gcov_type count, in gimple_divmod_fixed_value() 560 gcov_type all) in gimple_divmod_fixed_value() 646 gcov_type val, count, all; in gimple_divmod_fixed_value_transform() 648 gcov_type prob; in gimple_divmod_fixed_value_transform() [all …]
|
H A D | profile.c | 79 gcov_type succ_count; 80 gcov_type pred_count; 233 static gcov_type * 238 gcov_type *counts; in get_exec_counts() 384 read_profile_edge_counts (gcov_type *exec_counts) in read_profile_edge_counts() 453 gcov_type count_total = 0, freq_total = 0; in compute_frequency_overlap() 488 gcov_type *exec_counts = get_exec_counts (cfg_checksum, lineno_checksum); in compute_branch_probabilities() 562 gcov_type total = 0; in compute_branch_probabilities() 574 gcov_type total = 0; in compute_branch_probabilities() 589 gcov_type total = 0; in compute_branch_probabilities() [all …]
|
H A D | gcov.c | 80 gcov_type count; 82 gcov_type cs_count; 122 gcov_type num_succ; 123 gcov_type num_pred; 126 gcov_type count; 186 gcov_type *counts; 222 gcov_type count; /* execution count */ 386 static const char *format_gcov (gcov_type, gcov_type, int); 1308 fn->counts = XCNEWVEC (gcov_type, fn->num_counts); in read_count_file() 1334 gcov_type *count_ptr = fn->counts; in solve_flow_graph() [all …]
|
H A D | cgraph.h | 197 gcov_type count; 342 gcov_type count; 486 gimple, gcov_type, int); 488 int, gcov_type, int); 502 gimple, gimple, gcov_type, int, 511 unsigned, gcov_type, int, bool); 512 struct cgraph_node * cgraph_clone_node (struct cgraph_node *, tree, gcov_type,
|
H A D | gcov-io.c | 276 gcov_write_counter (gcov_type value) in gcov_write_counter() 454 GCOV_LINKAGE gcov_type 457 gcov_type value; in gcov_read_counter() 464 value |= ((gcov_type) from_file (buffer[1])) << 32; in gcov_read_counter()
|
H A D | basic-block.h | 33 typedef HOST_WIDEST_INT gcov_type; typedef 60 gcov_type count; /* Expected number of executions calculated 157 gcov_type count; 469 extern void scale_bbs_frequencies_gcov_type (basic_block *, int, gcov_type, 470 gcov_type); 887 extern void update_bb_profile_for_threading (basic_block, int, gcov_type, edge);
|
/dflybsd-src/contrib/gcc-4.7/libgcc/ |
H A D | libgcov.c | 55 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_add() 60 void __gcov_merge_single (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_single() 65 void __gcov_merge_delta (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_delta() 187 gcov_type *values; in buffer_fn_data() 199 len = length * sizeof (gcov_type); in buffer_fn_data() 200 values = (gcov_type *)malloc (len); in buffer_fn_data() 660 gcov_type *c_ptr = ci_ptr->values; in gcov_exit() 735 memset (ci_ptr->values, 0, sizeof (gcov_type) * ci_ptr->num); in __gcov_flush() 749 __gcov_merge_add (gcov_type *counters, unsigned n_counters) in __gcov_merge_add() 761 __gcov_merge_ior (gcov_type *counters, unsigned n_counters) in __gcov_merge_ior() [all …]
|
/dflybsd-src/contrib/gcc-8.0/gcc/ |
H A D | gcov-io.h | 179 typedef int64_t gcov_type; typedef 323 gcov_type min_value; 325 gcov_type cum_value; 345 gcov_type sum_all; /* sum of all counters accumulated. */ 346 gcov_type run_max; /* maximum value on a single run. */ 347 gcov_type sum_max; /* sum of individual run max values. */ 379 GCOV_LINKAGE gcov_type gcov_read_counter (void) ATTRIBUTE_HIDDEN; 392 GCOV_LINKAGE unsigned gcov_histo_index (gcov_type value); 414 gcov_type min_counter;
|
H A D | profile.h | 42 extern vec<gcov_type> bb_gcov_counts; 43 extern hash_map<edge,gcov_type> *edge_gcov_counts; 45 inline gcov_type & 49 gcov_type &c = edge_gcov_counts->get_or_insert (e, &existed); in edge_gcov_count() 55 inline gcov_type & 69 extern gcov_type sum_edge_counts (vec<edge, va_gc> *edges);
|
H A D | mcf.c | 86 gcov_type flow; 88 gcov_type rflow; 89 gcov_type weight; 90 gcov_type cost; 91 gcov_type max_capacity; 364 add_edge (fixup_graph_type *fixup_graph, int src, int dest, gcov_type cost) in add_edge() 384 edge_type type, gcov_type weight, gcov_type cost, in add_fixup_edge() 385 gcov_type max_capacity) in add_fixup_edge() 399 gcov_type rflow, gcov_type cost) in add_rfixup_edge() 459 gcov_type *diff_out_in = NULL; in create_fixup_graph() [all …]
|
H A D | auto-profile.c | 115 typedef std::map<unsigned, gcov_type> icall_target_map; 125 gcov_type count; 191 gcov_type head_count); 202 gcov_type 207 gcov_type 224 gcov_type find_icall_target_map (gcall *stmt, icall_target_map *map) const; 227 gcov_type total_annotated_count () const; 239 function_instance (unsigned name, gcov_type head_count) in function_instance() 251 gcov_type total_count_; 254 gcov_type head_count_; [all …]
|
H A D | profile.c | 71 vec<gcov_type> bb_gcov_counts; 72 hash_map<edge,gcov_type> *edge_gcov_counts; 78 gcov_type succ_count; 79 gcov_type pred_count; 268 static gcov_type * 273 gcov_type *counts; in get_exec_counts() 422 read_profile_edge_counts (gcov_type *exec_counts) in read_profile_edge_counts() 495 gcov_type *exec_counts = get_exec_counts (cfg_checksum, lineno_checksum); in compute_branch_probabilities() 507 edge_gcov_counts = new hash_map<edge,gcov_type>; in compute_branch_probabilities() 571 gcov_type total = 0; in compute_branch_probabilities() [all …]
|
H A D | value-prof.c | 366 gcov_type value = hist->hvalue.counters[i]; in stream_out_histogram_value() 427 … new_val->hvalue.counters = XNEWVAR (gcov_type, sizeof (*new_val->hvalue.counters) * ncounters); in stream_in_histogram_value() 472 …new_val->hvalue.counters = XNEWVAR (gcov_type, sizeof (*new_val->hvalue.counters) * new_val->n_cou… in gimple_duplicate_stmt_histograms() 584 gcov_type *count, gcov_type *all, profile_count bb_count_d) in check_counter() 586 gcov_type bb_count = bb_count_d.ipa ().to_gcov_type (); in check_counter() 687 gcov_type count, gcov_type all) in gimple_divmod_fixed_value() 764 gcov_type val, count, all; in gimple_divmod_fixed_value_transform() 809 if (sizeof (gcov_type) == sizeof (HOST_WIDE_INT)) in gimple_divmod_fixed_value_transform() 844 gimple_mod_pow2 (gassign *stmt, profile_probability prob, gcov_type count, gcov_type all) in gimple_mod_pow2() 925 gcov_type count, wrong_values, all; in gimple_mod_pow2_value_transform() [all …]
|
H A D | gcov-io.c | 318 gcov_write_counter (gcov_type value) in gcov_write_counter() 562 GCOV_LINKAGE gcov_type 565 gcov_type value; in gcov_read_counter() 572 value |= ((gcov_type) from_file (buffer[1])) << 32; in gcov_read_counter() 724 gcov_histo_index (gcov_type value) in gcov_histo_index() 779 gcov_type src_cum, tgt_cum, merge_src_cum, merge_tgt_cum, merge_cum; in gcov_histogram_merge() 780 gcov_type merge_min; in gcov_histogram_merge() 927 gcov_type working_set_cum_values[NUM_GCOV_WORKING_SETS]; in compute_working_sets() 928 gcov_type ws_cum_hotness_incr; in compute_working_sets() 929 gcov_type cum, tmp_cum; in compute_working_sets()
|
H A D | ipa-profile.c | 73 gcov_type count; 112 gcov_type count, int time, int size) in account_time_size() 145 gcov_type overall_time = 0, cumulated_time = 0, cumulated_size = 0, overall_size = 0; in dump_histogram() 278 gcov_type count = streamer_read_gcov_count (ib); in ipa_profile_read_summary() 494 gcov_type overall_time = 0, cutoff = 0, cumulated = 0, overall_size = 0; in ipa_profile() 509 gcov_type threshold; in ipa_profile() 514 gcov_type min, cumulated_time = 0, cumulated_size = 0; in ipa_profile() 542 gcov_type cumulated_time = 0, cumulated_size = 0; in ipa_profile()
|
H A D | profile-count.h | 265 (gcov_type val1, gcov_type val2) in class() 453 gcov_type apply (gcov_type val) const in class() 707 gcov_type to_gcov_type () const in class() 856 bool operator< (const gcov_type other) const in class() 862 bool operator> (const gcov_type other) const in class() 891 bool operator<= (const gcov_type other) const in class() 897 bool operator>= (const gcov_type other) const in class() 1130 static profile_count from_gcov_type (gcov_type v); in class()
|
H A D | gcov.c | 89 gcov_type count; 91 gcov_type cs_count; 144 gcov_type num_succ; 145 gcov_type num_pred; 150 gcov_type count; 200 gcov_type count; 268 vector<gcov_type> counts; 552 static const char *format_gcov (gcov_type, gcov_type, int); 725 static gcov_type 735 gcov_type count = 0; [all …]
|
H A D | basic-block.h | 586 static inline gcov_type 587 apply_scale (gcov_type freq, gcov_type scale) in apply_scale() 594 static inline gcov_type 595 apply_probability (gcov_type freq, int prob) in apply_probability()
|
H A D | predict.h | 54 extern gcov_type get_hot_bb_threshold (void); 55 extern void set_hot_bb_threshold (gcov_type);
|