Home | History | Annotate | Download | only in callgrind

Lines Matching refs:bbs

36 bb_hash bbs;
42 bbs.size = 8437;
43 bbs.entries = 0;
44 bbs.table = (BB**) CLG_MALLOC("cl.bb.ibh.1",
45 bbs.size * sizeof(BB*));
47 for (i = 0; i < bbs.size; i++) bbs.table[i] = NULL;
52 return &bbs;
55 /* The hash stores BBs according to
73 new_size = 2* bbs.size +3;
82 for (i = 0; i < bbs.size; i++) {
83 if (bbs.table[i] == NULL) continue;
85 curr = bbs.table[i];
103 VG_(free)(bbs.table);
107 bbs.size, new_size,
108 bbs.entries, conflicts1, conflicts2);
110 bbs.size = new_size;
111 bbs.table = new_table;
128 bbs.entries++;
129 if (10 * bbs.entries / bbs.size > 8)
154 idx = bb_hash_idx(obj, offset, bbs.size);
155 bb->next = bbs.table[idx];
156 bbs.table[idx] = bb;
184 idx = bb_hash_idx(obj, offset, bbs.size);
185 bb = bbs.table[idx];
232 * BBs are never discarded. There are 2 cases where this function
297 idx = bb_hash_idx(obj, offset, bbs.size);
298 bb = bbs.table[idx];
324 tl_assert(bb == bbs.table[idx]);
325 bbs.table[idx] = bb->next;
327 tl_assert(bb != bbs.table[idx]);