Lines Matching refs:bbcc
115 void CLG_(print_bbcc)(int s, BBCC* bbcc)
124 if (!bbcc) {
125 VG_(printf)("BBCC 0x0\n");
129 bb = bbcc->bb;
135 CLG_(print_cxt)(s+8, bbcc->cxt, bbcc->rec_index);
295 void CLG_(print_bbcc_fn)(BBCC* bbcc)
299 if (!bbcc) {
304 VG_(printf)("%08lx/%c %u:", bb_addr(bbcc->bb),
305 (bbcc->bb->sect_kind == Vg_SectText) ? 'T' :
306 (bbcc->bb->sect_kind == Vg_SectData) ? 'D' :
307 (bbcc->bb->sect_kind == Vg_SectBSS) ? 'B' :
308 (bbcc->bb->sect_kind == Vg_SectGOT) ? 'G' :
309 (bbcc->bb->sect_kind == Vg_SectPLT) ? 'P' : 'U',
310 bbcc->cxt->base_number+bbcc->rec_index);
311 print_mangled_cxt(bbcc->cxt, bbcc->rec_index);
313 obj = bbcc->cxt->fn[0]->file->obj;
317 if (VG_(strcmp)(bbcc->cxt->fn[0]->file->name, "???") !=0) {
318 VG_(printf)(" %s", bbcc->cxt->fn[0]->file->name);
319 if ((bbcc->cxt->fn[0] == bbcc->bb->fn) && (bbcc->bb->line>0))
320 VG_(printf)(":%u", bbcc->bb->line);
324 void CLG_(print_bbcc_cost)(int s, BBCC* bbcc)
335 if (!bbcc) {
336 VG_(printf)("BBCC 0x0\n");
340 bb = bbcc->bb;
343 CLG_(print_bbcc)(s, bbcc);
345 ecounter = bbcc->ecounter_sum;
351 bb->jmp[i].instr, bbcc->jmp[i].ecounter);
361 CLG_(print_cost)(s+5, ii->eventset, bbcc->cost + ii->cost_offset);
366 ecounter -= bbcc->jmp[cjmpNo].ecounter;
431 BBCC* bbcc;
435 bbcc = CLG_(current_state).bbcc;
437 bbcc ? bbcc->rec_index : 0);
452 void CLG_(print_bbcc)(int s, BBCC* bbcc) {}
453 void CLG_(print_bbcc_fn)(BBCC* bbcc) {}