Home
last modified time | relevance | path

Searched refs:gcov_type (Results 1 – 25 of 56) sorted by relevance

123

/netbsd/src/external/gpl3/gcc/dist/libgcc/
Dlibgcov.h56 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 …]
Dlibgcov-profiler.c36 __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 …]
Dlibgcov-merge.c32 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 …]
Dlibgcov-util.c204 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 …]
Dlibgcov-driver.c155 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/
Dprofile.h42 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);
Dmcf.cc86 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 …]
Dauto-profile.cc131 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 …]
Dvalue-prof.cc333 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 …]
Dgcov-io.h177 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;
Dvalue-prof.h50 gcov_type *counters; /* Pointer to first counter. */
93 histogram_value hist, gcov_type *value,
94 gcov_type *count, gcov_type *all,
Dprofile.cc73 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 …]
Dprofile-count.h300 (gcov_type val1, gcov_type val2) in class()
500 gcov_type apply (gcov_type val) const in class()
779 gcov_type to_gcov_type () const in to_gcov_type()
943 bool operator< (const gcov_type other) const
950 bool operator> (const gcov_type other) const
981 bool operator<= (const gcov_type other) const
988 bool operator>= (const gcov_type other) const
1242 static profile_count from_gcov_type (gcov_type v,
Dgcov.cc92 gcov_type count;
94 gcov_type cs_count;
149 gcov_type num_succ;
150 gcov_type num_pred;
155 gcov_type count;
206 gcov_type count;
279 vector<gcov_type> counts;
663 static const char *format_gcov (gcov_type, gcov_type, int);
840 static gcov_type
849 gcov_type count = 0; in get_cycles_count()
[all …]
Dbasic-block.h589 static inline gcov_type
590 apply_scale (gcov_type freq, gcov_type scale) in apply_scale()
597 static inline gcov_type
598 apply_probability (gcov_type freq, int prob) in apply_probability()
Dipa-profile.cc65 gcov_type count;
104 gcov_type count, int time, int size) in account_time_size()
137 gcov_type overall_time = 0, cumulated_time = 0, cumulated_size = 0, in dump_histogram()
290 gcov_type val, count, all; in ipa_profile_generate_summary()
523 gcov_type count = streamer_read_gcov_count (ib); in ipa_profile_read_summary()
766 gcov_type overall_time = 0, cutoff = 0, cumulated = 0, overall_size = 0; in ipa_profile()
771 gcov_type threshold; in ipa_profile()
795 gcov_type cumulated_time = 0, cumulated_size = 0; in ipa_profile()
Dpredict.h54 extern gcov_type get_hot_bb_threshold (void);
55 extern void set_hot_bb_threshold (gcov_type);
Ddata-streamer.h58 void streamer_write_gcov_count (struct output_block *, gcov_type);
71 void streamer_write_gcov_count_stream (struct lto_output_stream *, gcov_type);
89 gcov_type streamer_read_gcov_count (class lto_input_block *);
Dgcov-io.cc406 GCOV_LINKAGE gcov_type
409 gcov_type value; in gcov_read_counter()
417 value |= ((gcov_type) from_file (buffer[1])) << 32; in gcov_read_counter()
Dprofile-count.cc434 profile_count::from_gcov_type (gcov_type v, profile_quality quality) in from_gcov_type()
438 if (dump_file && v >= (gcov_type)max_count) in from_gcov_type()
442 ret.m_val = MIN (v, (gcov_type)max_count); in from_gcov_type()
Ddata-streamer-in.cc202 gcov_type
205 gcov_type ret = streamer_read_hwi (ib); in streamer_read_gcov_count()
Dcfgloopanal.cc244 gcov_type
251 gcov_type expected = -1; in expected_loop_iterations_unbounded()
319 gcov_type expected = expected_loop_iterations_unbounded (loop); in expected_loop_iterations()
Dcoverage.h53 extern gcov_type *get_coverage_counts (unsigned /*counter*/,
Ddata-streamer-out.cc244 streamer_write_gcov_count (struct output_block *ob, gcov_type work) in streamer_write_gcov_count()
359 streamer_write_gcov_count_stream (struct lto_output_stream *obs, gcov_type work) in streamer_write_gcov_count_stream()
Dtree-ssa-loop-manip.h50 extern gcov_type niter_for_unrolled_loop (class loop *, unsigned);

123