Lines Matching refs:current_bbccs
41 bbcc_hash current_bbccs; variable
61 dst->size = current_bbccs.size; in CLG_()
62 dst->entries = current_bbccs.entries; in CLG_()
63 dst->table = current_bbccs.table; in CLG_()
68 return ¤t_bbccs; in CLG_()
75 current_bbccs.size = h->size; in CLG_()
76 current_bbccs.entries = h->entries; in CLG_()
77 current_bbccs.table = h->table; in CLG_()
117 for (i = 0; i < current_bbccs.size; i++) { in CLG_()
118 if ((bbcc=current_bbccs.table[i]) == NULL) continue; in CLG_()
173 idx = bbcc_hash_idx(bb, cxt, current_bbccs.size); in lookup_bbcc()
174 bbcc = current_bbccs.table[idx]; in lookup_bbcc()
200 new_size = 2*current_bbccs.size+3; in resize_bbcc_hash()
207 for (i = 0; i < current_bbccs.size; i++) { in resize_bbcc_hash()
208 if (current_bbccs.table[i] == NULL) continue; in resize_bbcc_hash()
210 curr_BBCC = current_bbccs.table[i]; in resize_bbcc_hash()
230 VG_(free)(current_bbccs.table); in resize_bbcc_hash()
234 current_bbccs.size, new_size, in resize_bbcc_hash()
235 current_bbccs.entries, conflicts1, conflicts2); in resize_bbcc_hash()
237 current_bbccs.size = new_size; in resize_bbcc_hash()
238 current_bbccs.table = new_table; in resize_bbcc_hash()
327 current_bbccs.entries++; in insert_bbcc_into_hash()
328 if (100 * current_bbccs.entries / current_bbccs.size > 90) in insert_bbcc_into_hash()
331 idx = bbcc_hash_idx(bbcc->bb, bbcc->cxt, current_bbccs.size); in insert_bbcc_into_hash()
332 bbcc->next = current_bbccs.table[idx]; in insert_bbcc_into_hash()
333 current_bbccs.table[idx] = bbcc; in insert_bbcc_into_hash()
336 current_bbccs.entries); in insert_bbcc_into_hash()