Home | History | Annotate | Download | only in callgrind

Lines Matching refs:bb

418 /* the debug lookup cache is useful if BBCC for same BB are
471 p->file = CLG_(get_file_node)(bbcc->bb->obj, file);
480 p->addr = addr - bbcc->bb->obj->offset;
481 p->bb_addr = bbcc->bb->offset;
483 CLG_DEBUG(3, " get_debug_pos(%#lx): BB %#lx, fn '%s', file '%s', line %u\n",
484 addr, bb_addr(bbcc->bb), bbcc->cxt->fn[0]->name,
519 * print position change inside of a BB (last -> curr)
525 CLG_DEBUG(2, " print_apos(file '%s', line %d, bb %#lx, addr %#lx) fnFile '%s'\n",
636 CLG_DEBUG(2, " print_fcost(file '%s', line %d, bb %#lx, addr %#lx):\n",
667 if (!get_debug_pos(jcc->to, bb_addr(jcc->to->bb), &target)) {
681 CLG_ASSERT(jcc->from->bb->obj == jcc->to->bb->obj);
728 obj = jcc->to->bb->obj;
776 * - JCCs of the unique jump of this BB
787 BB* bb = bbcc->bb;
791 VG_(printf)("+ fprint_bbcc (Instr %d): ", bb->instr_count);
801 instr_info = &(bb->instr[0]);
802 for(instr=0; instr<bb->instr_count; instr++, instr_info++) {
807 if (!get_debug_pos(bbcc, bb_addr(bb) + instr_info->instr_offset,
834 if (bb->jmp[jmp].instr == instr) {
847 get_debug_pos(bbcc, bb_addr(bb)+instr_info->instr_offset, &(currCost->p));
859 if (jmp < bb->cjmp_count)
860 if (bb->jmp[jmp].instr == instr) {
885 get_debug_pos(bbcc, bb_jmpaddr(bb), &(currCost->p));
927 for(i=0; i<=bbcc->bb->cjmp_count; i++)
938 * from->bb->obj, from->bb->fn
945 return (*pbbcc1)->bb->offset - (*pbbcc2)->bb->offset;
977 return bbcc1->bb->offset - bbcc2->bb->offset;
1035 VG_(printf)(" %3ld BB %#lx, ",
1037 bb_addr((*pm)->bb));
1090 VG_(printf)(" PV BB %#lx, ", bb_addr((*pv)->bb));
1099 VG_(printf)(" %3ld BB %#lx, ",
1101 bb_addr((*pm)->bb));
1111 VG_(printf)(" %3ld BB %#lx, ",
1113 bb_addr((*pm)->bb));
1434 CLG_(clo).dump_bb ? " bb" : "",
1561 /* FIXME: Specify Object of BB if different to object of fn */
1564 pos = VG_(sprintf)(print_buf, "bb=%#lx ", (*p)->bb->offset);
1565 for(i = 0; i<(*p)->bb->cjmp_count;i++) {
1567 (*p)->bb->jmp[i].instr,
1572 (*p)->bb->instr_count,
1626 VG_(message)(Vg_DebugMsg, "Start dumping at BB %llu (%s)...\n",