/netbsd-src/external/gpl3/gcc.old/dist/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 133 extern gcov_type gcov_read_counter_mem (); 167 gcov_type *values; /* their values. */ 186 typedef void (*gcov_merge_fn) (gcov_type *, gcov_unsigned_t); 234 gcov_type *counters; [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() 112 __gcov_topn_values_profiler_body (gcov_type *counters, gcov_type value, in __gcov_topn_values_profiler_body() 157 __gcov_topn_values_profiler (gcov_type *counters, gcov_type value) in __gcov_topn_values_profiler() 175 __gcov_topn_values_profiler_atomic (gcov_type *counters, gcov_type value) in __gcov_topn_values_profiler_atomic() 203 __gcov_indirect_call_profiler_body (gcov_type value, void *cur_func, in __gcov_indirect_call_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_topn (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_topn() 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() 102 merge_topn_values_set (gcov_type *counters) in merge_topn_values_set() 105 gcov_type all = gcov_get_counter (); in merge_topn_values_set() 106 gcov_type *total = &counters[0]; in merge_topn_values_set() 116 gcov_type read_counters[2 * GCOV_TOPN_VALUES]; in merge_topn_values_set() [all …]
|
H A D | libgcov-util.c | 206 gcov_type *values; in tag_counters() 216 k_ctrs[tag_ix].values = values = (gcov_type *) xmalloc (n_counts * sizeof (gcov_type)); in tag_counters() 474 static gcov_type *gcov_value_buf; 487 gcov_type 490 gcov_type ret; in gcov_read_counter_mem() 509 merge_wrapper (gcov_merge_fn f, gcov_type *v1, gcov_unsigned_t n, in merge_wrapper() 510 gcov_type *v2, unsigned w) in merge_wrapper() 688 typedef gcov_type (*counter_op_fn) (gcov_type, void*, void*); 693 __gcov_add_counter_op (gcov_type *counters, unsigned n_counters, in __gcov_add_counter_op() 698 gcov_type val = *counters; in __gcov_add_counter_op() [all …]
|
H A D | libgcov-driver.c | 127 gcov_type *values; in buffer_fn_data() 139 len = length * sizeof (gcov_type); in buffer_fn_data() 140 values = (gcov_type *) xmalloc (len); in buffer_fn_data() 220 prune_topn_counter (gcov_type *counters, gcov_type all) in prune_topn_counter() 251 gcov_type *counters in prune_counters() 430 gcov_type *c_ptr; in write_one_data() 454 gcov_type run_max) in merge_summary() 472 unsigned run_counted, gcov_type run_max) in dump_one_gcov() 534 gcov_type run_max = 0; in gcov_do_dump()
|
/netbsd-src/external/gpl3/gcc/dist/libgcc/ |
H A D | libgcov.h | 56 typedef signed gcov_type __attribute__ ((mode (DI))); typedef 59 typedef signed gcov_type __attribute__ ((mode (SI))); typedef 67 typedef signed gcov_type __attribute__ ((mode (SI))); typedef 70 typedef signed gcov_type __attribute__ ((mode (HI))); typedef 77 typedef signed gcov_type __attribute__ ((mode (HI))); typedef 80 typedef signed gcov_type __attribute__ ((mode (QI))); typedef 161 extern gcov_type gcov_read_counter_mem (); 205 gcov_type *values; /* their values. */ 224 typedef void (*gcov_merge_fn) (gcov_type *, gcov_unsigned_t); 274 gcov_type *counters; [all …]
|
H A D | libgcov-profiler.c | 36 __gcov_interval_profiler (gcov_type *counters, gcov_type value, in __gcov_interval_profiler() 39 gcov_type delta = value - start; in __gcov_interval_profiler() 56 __gcov_interval_profiler_atomic (gcov_type *counters, gcov_type value, in __gcov_interval_profiler_atomic() 59 gcov_type delta = value - start; in __gcov_interval_profiler_atomic() 74 __gcov_pow2_profiler (gcov_type *counters, gcov_type value) in __gcov_pow2_profiler() 88 __gcov_pow2_profiler_atomic (gcov_type *counters, gcov_type value) in __gcov_pow2_profiler_atomic() 100 __gcov_topn_values_profiler_body (gcov_type *counters, gcov_type value, in __gcov_topn_values_profiler_body() 108 __gcov_topn_values_profiler (gcov_type *counters, gcov_type value) in __gcov_topn_values_profiler() 126 __gcov_topn_values_profiler_atomic (gcov_type *counters, gcov_type value) in __gcov_topn_values_profiler_atomic() 154 __gcov_indirect_call_profiler_body (gcov_type value, void *cur_func, in __gcov_indirect_call_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_topn (gcov_type *counters __attribute__ ((unused)), in __gcov_merge_topn() 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() 103 __gcov_merge_topn (gcov_type *counters, unsigned n_counters) in __gcov_merge_topn() 110 gcov_type all = gcov_get_counter_ignore_scaling (-1); in __gcov_merge_topn() 111 gcov_type n = gcov_get_counter_ignore_scaling (-1); in __gcov_merge_topn() 114 gcov_type *total = &counters[GCOV_TOPN_MEM_COUNTERS * i]; in __gcov_merge_topn() [all …]
|
H A D | libgcov-util.c | 204 gcov_type *values; in tag_counters() 214 k_ctrs[tag_ix].values = values = (gcov_type *) xcalloc (sizeof (gcov_type), in tag_counters() 476 static gcov_type *gcov_value_buf; 489 gcov_type 492 gcov_type ret; in gcov_read_counter_mem() 511 merge_wrapper (gcov_merge_fn f, gcov_type *v1, gcov_unsigned_t n1, in merge_wrapper() 512 gcov_type *v2, gcov_unsigned_t n2, unsigned w) in merge_wrapper() 527 auto_vec<gcov_type> output; in topn_to_memory_representation() 528 gcov_type *values = info->values; in topn_to_memory_representation() 534 gcov_type n = values[1]; in topn_to_memory_representation() [all …]
|
H A D | libgcov-driver.c | 155 gcov_type *values; in buffer_fn_data() 167 len = length * sizeof (gcov_type); in buffer_fn_data() 168 values = (gcov_type *) xmalloc (len); in buffer_fn_data() 401 dump_counter (gcov_type counter, in dump_counter() 454 gcov_type start = ci_ptr->values[GCOV_TOPN_MEM_COUNTERS * i + 2]; in write_topn_counters() 473 gcov_type start = ci_ptr->values[GCOV_TOPN_MEM_COUNTERS * i + 2]; in write_topn_counters() 598 gcov_type run_max ATTRIBUTE_UNUSED) in dump_one_gcov() 664 gcov_type run_max = 0; in gcov_do_dump()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
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.cc | 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.cc | 131 typedef std::map<unsigned, gcov_type> icall_target_map; 142 gcov_type count; 208 gcov_type head_count); 219 gcov_type 224 gcov_type 241 gcov_type find_icall_target_map (gcall *stmt, icall_target_map *map) const; 244 gcov_type total_annotated_count () const; 256 function_instance (unsigned name, gcov_type head_count) in function_instance() 268 gcov_type total_count_; 271 gcov_type head_count_; [all …]
|
H A D | value-prof.cc | 333 gcov_type value = hist->hvalue.counters[i]; in stream_out_histogram_value() 400 gcov_type total = streamer_read_gcov_count (ib); in stream_in_histogram_value() 401 gcov_type ncounters = streamer_read_gcov_count (ib); in stream_in_histogram_value() 402 new_val->hvalue.counters = XNEWVAR (gcov_type, in stream_in_histogram_value() 413 new_val->hvalue.counters = XNEWVAR (gcov_type, in stream_in_histogram_value() 462 …new_val->hvalue.counters = XNEWVAR (gcov_type, sizeof (*new_val->hvalue.counters) * new_val->n_cou… in gimple_duplicate_stmt_histograms() 574 gcov_type *count, gcov_type *all, profile_count bb_count_d) in check_counter() 576 gcov_type bb_count = bb_count_d.ipa ().to_gcov_type (); in check_counter() 676 gcov_type count, gcov_type all) in gimple_divmod_fixed_value() 762 histogram_value hist, gcov_type *value, in get_nth_most_common_value() [all …]
|
H A D | gcov-io.h | 177 gcov_type value; 178 gcov_type count; 190 typedef int64_t gcov_type; typedef 335 gcov_type sum_max; /* Sum of individual run max values. */ 361 GCOV_LINKAGE gcov_type gcov_read_counter (void) ATTRIBUTE_HIDDEN;
|
H A D | value-prof.h | 50 gcov_type *counters; /* Pointer to first counter. */ 93 histogram_value hist, gcov_type *value, 94 gcov_type *count, gcov_type *all,
|
H A D | profile.cc | 73 vec<gcov_type> bb_gcov_counts; 74 hash_map<edge,gcov_type> *edge_gcov_counts; 80 gcov_type succ_count; 81 gcov_type pred_count; 203 static gcov_type * 208 gcov_type *counts; in get_exec_counts() 350 read_profile_edge_counts (gcov_type *exec_counts) in read_profile_edge_counts() 430 gcov_type *exec_counts = get_exec_counts (cfg_checksum, lineno_checksum); in compute_branch_probabilities() 442 edge_gcov_counts = new hash_map<edge,gcov_type>; in compute_branch_probabilities() 500 gcov_type total = 0; in compute_branch_probabilities() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
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 | 131 typedef std::map<unsigned, gcov_type> icall_target_map; 142 gcov_type count; 208 gcov_type head_count); 219 gcov_type 224 gcov_type 241 gcov_type find_icall_target_map (gcall *stmt, icall_target_map *map) const; 244 gcov_type total_annotated_count () const; 256 function_instance (unsigned name, gcov_type head_count) in function_instance() 268 gcov_type total_count_; 271 gcov_type head_count_; [all …]
|
H A D | value-prof.c | 334 gcov_type value = hist->hvalue.counters[i]; in stream_out_histogram_value() 394 new_val->hvalue.counters = XNEWVAR (gcov_type, in stream_in_histogram_value() 441 …new_val->hvalue.counters = XNEWVAR (gcov_type, sizeof (*new_val->hvalue.counters) * new_val->n_cou… in gimple_duplicate_stmt_histograms() 553 gcov_type *count, gcov_type *all, profile_count bb_count_d) in check_counter() 555 gcov_type bb_count = bb_count_d.ipa ().to_gcov_type (); in check_counter() 655 gcov_type count, gcov_type all) in gimple_divmod_fixed_value() 741 histogram_value hist, gcov_type *value, in get_nth_most_common_value() 742 gcov_type *count, gcov_type *all, unsigned n) in get_nth_most_common_value() 749 gcov_type read_all = abs_hwi (hist->hvalue.counters[0]); in get_nth_most_common_value() 751 gcov_type v = hist->hvalue.counters[2 * n + 1]; in get_nth_most_common_value() [all …]
|
H A D | value-prof.h | 50 gcov_type *counters; /* Pointer to first counter. */ 93 histogram_value hist, gcov_type *value, 94 gcov_type *count, gcov_type *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; 201 static gcov_type * 206 gcov_type *counts; in get_exec_counts() 348 read_profile_edge_counts (gcov_type *exec_counts) in read_profile_edge_counts() 404 gcov_type *exec_counts = get_exec_counts (cfg_checksum, lineno_checksum); in compute_branch_probabilities() 416 edge_gcov_counts = new hash_map<edge,gcov_type>; in compute_branch_probabilities() 474 gcov_type total = 0; in compute_branch_probabilities() [all …]
|
H A D | gcov-io.h | 175 typedef int64_t gcov_type; typedef 312 gcov_type sum_max; /* Sum of individual run max values. */ 338 GCOV_LINKAGE gcov_type gcov_read_counter (void) ATTRIBUTE_HIDDEN;
|
H A D | profile-count.h | 300 (gcov_type val1, gcov_type val2) in class() 500 gcov_type apply (gcov_type val) const in class() 776 gcov_type to_gcov_type () const in to_gcov_type() 940 bool operator< (const gcov_type other) const 947 bool operator> (const gcov_type other) const 978 bool operator<= (const gcov_type other) const 985 bool operator>= (const gcov_type other) const 1236 static profile_count from_gcov_type (gcov_type v,
|