Home
last modified time | relevance | path

Searched refs:n_counters (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libgcc/
H A Dlibgcov-merge.c33 unsigned n_counters __attribute__ ((unused))) {} in __gcov_merge_add() argument
38 unsigned n_counters __attribute__ ((unused))) {} in __gcov_merge_topn() argument
48 __gcov_merge_add (gcov_type *counters, unsigned n_counters) in __gcov_merge_add() argument
50 for (; n_counters; counters++, n_counters--) in __gcov_merge_add()
60 __gcov_merge_ior (gcov_type *counters, unsigned n_counters) in __gcov_merge_ior() argument
62 for (; n_counters; counters++, n_counters--) in __gcov_merge_ior()
72 __gcov_merge_time_profile (gcov_type *counters, unsigned n_counters) in __gcov_merge_time_profile() argument
77 for (i = 0; i < n_counters; i++) in __gcov_merge_time_profile()
103 __gcov_merge_topn (gcov_type *counters, unsigned n_counters) in __gcov_merge_topn() argument
105 gcc_assert (!(n_counters % GCOV_TOPN_MEM_COUNTERS)); in __gcov_merge_topn()
[all …]
H A Dlibgcov-util.c750 __gcov_add_counter_op (gcov_type *counters, unsigned n_counters, in __gcov_add_counter_op() argument
753 for (; n_counters; counters++, n_counters--) in __gcov_add_counter_op()
764 unsigned n_counters ATTRIBUTE_UNUSED, in __gcov_ior_counter_op()
776 unsigned n_counters ATTRIBUTE_UNUSED, in __gcov_time_profile_counter_op()
787 __gcov_topn_counter_op (gcov_type *counters, unsigned n_counters, in __gcov_topn_counter_op() argument
792 gcc_assert (!(n_counters % 3)); in __gcov_topn_counter_op()
793 n_measures = n_counters / 3; in __gcov_topn_counter_op()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/
H A Dlibgcov-merge.c33 unsigned n_counters __attribute__ ((unused))) {} in __gcov_merge_add() argument
38 unsigned n_counters __attribute__ ((unused))) {} in __gcov_merge_topn() argument
48 __gcov_merge_add (gcov_type *counters, unsigned n_counters) in __gcov_merge_add() argument
50 for (; n_counters; counters++, n_counters--) in __gcov_merge_add()
60 __gcov_merge_ior (gcov_type *counters, unsigned n_counters) in __gcov_merge_ior() argument
62 for (; n_counters; counters++, n_counters--) in __gcov_merge_ior()
72 __gcov_merge_time_profile (gcov_type *counters, unsigned n_counters) in __gcov_merge_time_profile() argument
77 for (i = 0; i < n_counters; i++) in __gcov_merge_time_profile()
179 __gcov_merge_topn (gcov_type *counters, unsigned n_counters) in __gcov_merge_topn() argument
181 gcc_assert (!(n_counters % GCOV_TOPN_VALUES_COUNTERS)); in __gcov_merge_topn()
[all …]
H A Dlibgcov-util.c693 __gcov_add_counter_op (gcov_type *counters, unsigned n_counters, in __gcov_add_counter_op() argument
696 for (; n_counters; counters++, n_counters--) in __gcov_add_counter_op()
707 unsigned n_counters ATTRIBUTE_UNUSED, in __gcov_ior_counter_op()
719 unsigned n_counters ATTRIBUTE_UNUSED, in __gcov_time_profile_counter_op()
730 __gcov_topn_counter_op (gcov_type *counters, unsigned n_counters, in __gcov_topn_counter_op() argument
735 gcc_assert (!(n_counters % 3)); in __gcov_topn_counter_op()
736 n_measures = n_counters / 3; in __gcov_topn_counter_op()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dprofile.cc159 if (!coverage_counter_alloc (t, hist->n_counters)) in instrument_values()
886 n_histogram_counters[(int) hist->type] += hist->n_counters; in compute_value_histograms()
927 hist->n_counters = total_size; in compute_value_histograms()
928 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters); in compute_value_histograms()
929 for (j = 0; j < hist->n_counters; j++) in compute_value_histograms()
934 act_count[t] += hist->n_counters; in compute_value_histograms()
942 act_count[t] += hist->n_counters; in compute_value_histograms()
945 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters); in compute_value_histograms()
946 for (j = 0; j < hist->n_counters; j++) in compute_value_histograms()
H A Dvalue-prof.cc329 for (i = 0; i < hist->n_counters; i++) in stream_out_histogram_value()
407 new_val->n_counters = 2 + 2 * ncounters; in stream_in_histogram_value()
416 new_val->n_counters = ncounters; in stream_in_histogram_value()
462 …l->hvalue.counters = XNEWVAR (gcov_type, sizeof (*new_val->hvalue.counters) * new_val->n_counters); in gimple_duplicate_stmt_histograms()
463 …->hvalue.counters, val->hvalue.counters, sizeof (*new_val->hvalue.counters) * new_val->n_counters); in gimple_duplicate_stmt_histograms()
1936 hist->n_counters = hist->hdata.intvl.steps + 2; in gimple_find_values_to_profile()
1940 hist->n_counters = 2; in gimple_find_values_to_profile()
1945 hist->n_counters = GCOV_TOPN_MEM_COUNTERS; in gimple_find_values_to_profile()
1949 hist->n_counters = 1; in gimple_find_values_to_profile()
1953 hist->n_counters = 2; in gimple_find_values_to_profile()
[all …]
H A Dvalue-prof.h54 unsigned n_counters; /* Number of required counters. */ member
H A Dcoverage.cc1148 unsigned n_counters = 0; in coverage_obj_init() local
1175 n_counters++; in coverage_obj_init()
1180 build_fn_info_type (gcov_fn_info_type, n_counters, gcov_info_type); in coverage_obj_init()
H A Dauto-profile.cc1012 hist->n_counters = 4; in afdo_indirect_call()
1013 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters); in afdo_indirect_call()
H A DChangeLog-202020809 to n_counters.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvalue-prof.c330 for (i = 0; i < hist->n_counters; i++) in stream_out_histogram_value()
397 new_val->n_counters = ncounters; in stream_in_histogram_value()
441 …l->hvalue.counters = XNEWVAR (gcov_type, sizeof (*new_val->hvalue.counters) * new_val->n_counters); in gimple_duplicate_stmt_histograms()
442 …->hvalue.counters, val->hvalue.counters, sizeof (*new_val->hvalue.counters) * new_val->n_counters); in gimple_duplicate_stmt_histograms()
1899 hist->n_counters = hist->hdata.intvl.steps + 2; in gimple_find_values_to_profile()
1903 hist->n_counters = 2; in gimple_find_values_to_profile()
1908 hist->n_counters = GCOV_TOPN_VALUES_COUNTERS; in gimple_find_values_to_profile()
1912 hist->n_counters = 1; in gimple_find_values_to_profile()
1916 hist->n_counters = 2; in gimple_find_values_to_profile()
1920 hist->n_counters = 1; in gimple_find_values_to_profile()
H A Dprofile.c157 if (!coverage_counter_alloc (t, hist->n_counters)) in instrument_values()
775 gcc_assert (hist->n_counters == GCOV_TOPN_VALUES_COUNTERS); in sort_hist_values()
821 n_histogram_counters[(int) hist->type] += hist->n_counters; in compute_value_histograms()
854 act_count[t] += hist->n_counters; in compute_value_histograms()
857 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters); in compute_value_histograms()
858 for (j = 0; j < hist->n_counters; j++) in compute_value_histograms()
H A Dvalue-prof.h54 unsigned n_counters; /* Number of required counters. */ member
H A Dcoverage.c1108 unsigned n_counters = 0; in coverage_obj_init() local
1135 n_counters++; in coverage_obj_init()
1140 build_fn_info_type (gcov_fn_info_type, n_counters, gcov_info_type); in coverage_obj_init()
H A Dauto-profile.c1012 hist->n_counters = 3; in afdo_indirect_call()
1013 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters); in afdo_indirect_call()