Lines Matching defs:used
35 /* Return value of comparison functions used to sort tables. */
782 unsigned long used, unused, scratch_index;
793 used = 0;
810 for (sym_index = 0, used = 0, unused = 0; sym_index < symtab.len; sym_index++)
819 used_syms[used++] = &symtab.base[sym_index];
827 /* Sort the arcs from most used to least used. */
843 by many highly used arcs and emit them as a group. This
850 /* Count how many times each parent and child are used up
859 times each function was used in the highest used arcs. */
860 memcpy (scratch_syms, used_syms, used * sizeof (Sym *));
861 qsort (scratch_syms, used, sizeof (Sym *), cmp_fun_nuses);
864 a group. We take up to 1.25% of the used symbols. */
865 for (sym_index = 0; sym_index < used / 80; sym_index++)
870 /* If we hit symbols that aren't used from many call sites,
919 /* If this arc refers to highly used functions, then
952 /* Now place the rarely used functions. */
957 for (sym_index = 0; sym_index < used; sym_index++)
1027 /* If we're not using all arcs, and this is a rarely used
1181 symbols, then we've got a rarely used arc.