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, Char* buf, Char* 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);
355 last->cxt->fn[1] : 0;
357 bbcc->cxt->fn[1] : 0;
374 if (last->obj != bbcc->cxt->fn[0]->file->obj) {
376 print_obj(outbuf+3, bbcc->cxt->fn[0]->file->obj);
378 last->obj = bbcc->cxt->fn[0]->file->obj;
382 if (last->file != bbcc->cxt->fn[0]->file) {
384 print_file(outbuf+3, bbcc->cxt->fn[0]->file);
386 last->file = bbcc->cxt->fn[0]->file;
391 if (last->fn != bbcc->cxt->fn[0]) {
392 print_fn(fd,outbuf, "fn", bbcc->cxt->fn[0]);
393 last->fn = bbcc->cxt->fn[0];
402 print_mangled_fn(fd, outbuf, "fn", bbcc->cxt, bbcc->rec_index);
403 last->fn = bbcc->cxt->fn[0];
481 CLG_DEBUG(3, " get_debug_pos(%#lx): BB %#lx, fn '%s', file '%s', line %u\n",
482 addr, bb_addr(bbcc->bb), bbcc->cxt->fn[0]->name,
699 print_fn(fd, outbuf, "jfn", jcc->to->cxt->fn[0]);
725 file = jcc->to->cxt->fn[0]->file;
729 if (jcc->from->cxt->fn[0]->file->obj != obj) {
745 print_fn(fd, outbuf, "cfn", jcc->to->cxt->fn[0]);
808 newCost->p.file = bbcc->cxt->fn[0]->file;
818 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
842 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
846 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
879 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
884 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
913 fprint_apos(fd, &(currCost->p), last, bbcc->cxt->fn[0]->file);
936 * from->bb->obj, from->bb->fn
937 * obj, fn[0]->file, fn
951 if (cxt1->fn[0]->file->obj != cxt2->fn[0]->file->obj)
952 return cxt1->fn[0]->file->obj - cxt2->fn[0]->file->obj;
954 if (cxt1->fn[0]->file != cxt2->fn[0]->file)
955 return cxt1->fn[0]->file - cxt2->fn[0]->file;
957 if (cxt1->fn[0] != cxt2->fn[0])
958 return cxt1->fn[0] - cxt2->fn[0];
964 fn_node* ffn1 = cxt1->fn[off];
965 fn_node* ffn2 = cxt2->fn[off];
1161 i,CLG_(current_tid),bbcc->cxt->fn[0]->name);
1401 VG_(sprintf)(buf, "desc: Option: --fn-skip=%s\n", fnc->name);
1405 VG_(sprintf)(buf, "desc: Option: --fn-dump-at-enter=%s\n",
1410 VG_(sprintf)(buf, "desc: Option: --fn-dump-at-leave=%s\n",
1534 lastFnPos.cxt->fn[0]->file);
1538 if (ccSum[currSum].p.file != lastFnPos.cxt->fn[0]->file) {
1541 print_file(print_buf+3, lastFnPos.cxt->fn[0]->file);
1552 init_apos(&lastAPos, 0, 0, (*p)->cxt->fn[0]->file);
1559 /* FIXME: Specify Object of BB if different to object of fn */