Home | History | Annotate | Download | only in callgrind

Lines Matching refs:fn

139     p->fn = 0;
232 * tag can be "fn", "cfn", "jfn"
234 static void print_fn(Int fd, HChar* buf, const HChar* tag, fn_node* fn)
240 if (fn_dumped[fn->number])
241 p += VG_(sprintf)(buf+p, "(%d)\n", fn->number);
244 fn->number, fn->name);
245 fn_dumped[fn->number] = True;
249 p += VG_(sprintf)(buf+p, "%s\n", fn->name);
275 CLG_ASSERT(cxt->fn[i-1]->pure_cxt != 0);
276 n = cxt->fn[i-1]->pure_cxt->base_number;
279 tag, n, cxt->fn[i-1]->name);
283 last = cxt->fn[i-1]->pure_cxt;
290 cxt->fn[0]->pure_cxt->base_number);
295 cxt->fn[i]->pure_cxt->base_number);
318 p += VG_(sprintf)(buf+p, "%s", cxt->fn[0]->name);
322 p += VG_(sprintf)(buf+p, "'%s", cxt->fn[i]->name);
357 last->cxt->fn[1] : 0;
359 bbcc->cxt->fn[1] : 0;
376 if (last->obj != bbcc->cxt->fn[0]->file->obj) {
378 print_obj(outbuf+3, bbcc->cxt->fn[0]->file->obj);
380 last->obj = bbcc->cxt->fn[0]->file->obj;
384 if (last->file != bbcc->cxt->fn[0]->file) {
386 print_file(outbuf+3, bbcc->cxt->fn[0]->file);
388 last->file = bbcc->cxt->fn[0]->file;
393 if (last->fn != bbcc->cxt->fn[0]) {
394 print_fn(fd,outbuf, "fn", bbcc->cxt->fn[0]);
395 last->fn = bbcc->cxt->fn[0];
404 print_mangled_fn(fd, outbuf, "fn", bbcc->cxt, bbcc->rec_index);
405 last->fn = bbcc->cxt->fn[0];
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,
703 print_fn(fd, outbuf, "jfn", jcc->to->cxt->fn[0]);
727 file = jcc->to->cxt->fn[0]->file;
731 if (jcc->from->cxt->fn[0]->file->obj != obj) {
747 print_fn(fd, outbuf, "cfn", jcc->to->cxt->fn[0]);
810 newCost->p.file = bbcc->cxt->fn[0]->file;
820 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
844 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
848 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
881 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
886 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
915 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
938 * from->bb->obj, from->bb->fn
939 * obj, fn[0]->file, fn
953 if (cxt1->fn[0]->file->obj != cxt2->fn[0]->file->obj)
954 return cxt1->fn[0]->file->obj - cxt2->fn[0]->file->obj;
956 if (cxt1->fn[0]->file != cxt2->fn[0]->file)
957 return cxt1->fn[0]->file - cxt2->fn[0]->file;
959 if (cxt1->fn[0] != cxt2->fn[0])
960 return cxt1->fn[0] - cxt2->fn[0];
966 fn_node* ffn1 = cxt1->fn[off];
967 fn_node* ffn2 = cxt2->fn[off];
1163 i,CLG_(current_tid),bbcc->cxt->fn[0]->name);
1403 VG_(sprintf)(buf, "desc: Option: --fn-skip=%s\n", fnc->name);
1407 VG_(sprintf)(buf, "desc: Option: --fn-dump-at-enter=%s\n",
1412 VG_(sprintf)(buf, "desc: Option: --fn-dump-at-leave=%s\n",
1536 lastFnPos.cxt->fn[0]->file);
1540 if (ccSum[currSum].p.file != lastFnPos.cxt->fn[0]->file) {
1543 print_file(print_buf+3, lastFnPos.cxt->fn[0]->file);
1554 init_apos(&lastAPos, 0, 0, (*p)->cxt->fn[0]->file);
1561 /* FIXME: Specify Object of BB if different to object of fn */