void CLG_(print_bbcc)(int s, BBCC* bbcc, Bool jumpaddr) { BB* bb; if (s<0) { s = -s; print_indent(s); } if (!bbcc) { VG_(printf)("BBCC 0x0\n"); return; } bb = bbcc->bb; CLG_ASSERT(bb!=0); #if 0 if (jumpaddr) VG_(printf)("%s +%p=%p, ", bb->obj->name + bb->obj->last_slash_pos, bb->jmp_offset, bb_jmpaddr(bb)); else #endif VG_(printf)("%s +%p=%p, ", bb->obj->name + bb->obj->last_slash_pos, bb->offset, bb_addr(bb)); CLG_(print_cxt)(s+8, bbcc->cxt, bbcc->rec_index); }
void CLG_(print_short_jcc)(jCC* jcc) { if (jcc) VG_(printf)("%#lx => %#lx [%llu/%llu,%llu,%llu]", bb_jmpaddr(jcc->from->bb), bb_addr(jcc->to->bb), jcc->call_counter, jcc->cost ? jcc->cost[CLG_(sets).off_sim_Ir]:0, jcc->cost ? jcc->cost[CLG_(sets).off_sim_Dr]:0, jcc->cost ? jcc->cost[CLG_(sets).off_sim_Dw]:0); else VG_(printf)("[Skipped JCC]"); }
void CLG_(print_short_jcc)(jCC* jcc) { if (jcc) VG_(printf)("%#lx => %#lx [calls %llu/Ir %llu, Dr %llu, Dw %llu]", bb_jmpaddr(jcc->from->bb), bb_addr(jcc->to->bb), jcc->call_counter, jcc->cost ? jcc->cost[fullOffset(EG_IR)]:0, jcc->cost ? jcc->cost[fullOffset(EG_DR)]:0, jcc->cost ? jcc->cost[fullOffset(EG_DW)]:0); else VG_(printf)("[Skipped JCC]"); }