Lines Matching refs:fn
120 p->fn = 0;
169 * tag can be "fn", "cfn", "jfn"
171 static void print_fn(VgFile *fp, const HChar* tag, const fn_node* fn)
176 if (fn_dumped[fn->number])
177 VG_(fprintf)(fp, "(%u)\n", fn->number);
179 VG_(fprintf)(fp, "(%u) %s\n", fn->number, fn->name);
180 fn_dumped[fn->number] = True;
184 VG_(fprintf)(fp, "%s\n", fn->name);
207 CLG_ASSERT(cxt->fn[i-1]->pure_cxt != 0);
208 n = cxt->fn[i-1]->pure_cxt->base_number;
211 tag, n, cxt->fn[i-1]->name);
214 last = cxt->fn[i-1]->pure_cxt;
221 cxt->fn[0]->pure_cxt->base_number);
226 cxt->fn[i]->pure_cxt->base_number);
247 VG_(fprintf)(fp, "%s", cxt->fn[0]->name);
251 VG_(fprintf)(fp, "'%s", cxt->fn[i]->name);
284 last->cxt->fn[1] : 0;
286 bbcc->cxt->fn[1] : 0;
302 if (last->obj != bbcc->cxt->fn[0]->file->obj) {
303 print_obj(fp, "ob=", bbcc->cxt->fn[0]->file->obj);
304 last->obj = bbcc->cxt->fn[0]->file->obj;
308 if (last->file != bbcc->cxt->fn[0]->file) {
309 print_file(fp, "fl=", bbcc->cxt->fn[0]->file);
310 last->file = bbcc->cxt->fn[0]->file;
315 if (last->fn != bbcc->cxt->fn[0]) {
316 print_fn(fp, "fn", bbcc->cxt->fn[0]);
317 last->fn = bbcc->cxt->fn[0];
326 print_mangled_fn(fp, "fn", bbcc->cxt, bbcc->rec_index);
327 last->fn = bbcc->cxt->fn[0];
396 CLG_DEBUG(3, " get_debug_pos(%#lx): BB %#lx, fn '%s', file '%s', line %u\n",
397 addr, bb_addr(bbcc->bb), bbcc->cxt->fn[0]->name,
610 print_fn(fp, "jfn", jcc->to->cxt->fn[0]);
633 file = jcc->to->cxt->fn[0]->file;
637 if (jcc->from->cxt->fn[0]->file->obj != obj) {
649 print_fn(fp, "cfn", jcc->to->cxt->fn[0]);
711 newCost->p.file = bbcc->cxt->fn[0]->file;
721 fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
745 fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
749 fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
782 fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
787 fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
815 fprint_apos(fp, &(currCost->p), last, bbcc->cxt->fn[0]->file);
838 * from->bb->obj, from->bb->fn
839 * obj, fn[0]->file, fn
853 if (cxt1->fn[0]->file->obj != cxt2->fn[0]->file->obj)
854 return cxt1->fn[0]->file->obj - cxt2->fn[0]->file->obj;
856 if (cxt1->fn[0]->file != cxt2->fn[0]->file)
857 return cxt1->fn[0]->file - cxt2->fn[0]->file;
859 if (cxt1->fn[0] != cxt2->fn[0])
860 return cxt1->fn[0] - cxt2->fn[0];
866 fn_node* ffn1 = cxt1->fn[off];
867 fn_node* ffn2 = cxt2->fn[off];
1053 i,CLG_(current_tid),bbcc->cxt->fn[0]->name);
1273 VG_(fprintf)(fp, "desc: Option: --fn-skip=%s\n", fnc->name);
1276 VG_(fprintf)(fp, "desc: Option: --fn-dump-at-enter=%s\n",
1280 VG_(fprintf)(fp, "desc: Option: --fn-dump-at-leave=%s\n",
1396 lastFnPos.cxt->fn[0]->file);
1400 if (ccSum[currSum].p.file != lastFnPos.cxt->fn[0]->file) {
1402 print_file(print_fp, "fe=", lastFnPos.cxt->fn[0]->file);
1412 init_apos(&lastAPos, 0, 0, (*p)->cxt->fn[0]->file);
1419 /* FIXME: Specify Object of BB if different to object of fn */