Home | History | Annotate | Download | only in callgrind

Lines Matching refs:cxt

141     p->cxt = 0;
255 Context* cxt, int rec_index)
265 if (cxt_dumped[cxt->base_number+rec_index]) {
267 tag, cxt->base_number + rec_index);
274 for(i=cxt->size;i>0;i--) {
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;
286 if ((last == cxt) && (rec_index == 0)) return;
289 cxt->base_number + rec_index,
290 cxt->fn[0]->pure_cxt->base_number);
293 for(i=1;i<cxt->size;i++)
295 cxt->fn[i]->pure_cxt->base_number);
299 cxt_dumped[cxt->base_number+rec_index] = True;
307 if (cxt_dumped[cxt->base_number+rec_index]) {
308 p += VG_(sprintf)(buf+p, "(%d)\n", cxt->base_number + rec_index);
313 p += VG_(sprintf)(buf+p, "(%d) ", cxt->base_number + rec_index);
314 cxt_dumped[cxt->base_number+rec_index] = True;
318 p += VG_(sprintf)(buf+p, "%s", cxt->fn[0]->name);
321 for(i=1;i<cxt->size;i++)
322 p += VG_(sprintf)(buf+p, "'%s", cxt->fn[i]->name);
339 CLG_ASSERT(bbcc && bbcc->cxt);
343 CLG_(print_cxt)(16, bbcc->cxt, bbcc->rec_index);
351 last->cxt = 0; /* reprint context */
355 if (last->cxt != bbcc->cxt) {
356 fn_node* last_from = (last->cxt && last->cxt->size >1) ?
357 last->cxt->fn[1] : 0;
358 fn_node* curr_from = (bbcc->cxt->size >1) ?
359 bbcc->cxt->fn[1] : 0;
372 last->cxt = bbcc->cxt;
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];
402 (last->cxt != bbcc->cxt)) {
404 print_mangled_fn(fd, outbuf, "fn", bbcc->cxt, bbcc->rec_index);
405 last->fn = bbcc->cxt->fn[0];
411 last->cxt = bbcc->cxt;
484 addr, bb_addr(bbcc->bb), bbcc->cxt->fn[0]->name,
698 if (jcc->from->cxt != jcc->to->cxt) {
701 jcc->to->cxt, jcc->to->rec_index);
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) {
745 print_mangled_fn(fd, outbuf, "cfn", jcc->to->cxt, jcc->to->rec_index);
747 print_fn(fd, outbuf, "cfn", jcc->to->cxt->fn[0]);
789 CLG_ASSERT(bbcc->cxt != 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);
949 Context* cxt1 = bbcc1->cxt;
950 Context* cxt2 = bbcc2->cxt;
1038 CLG_(print_cxt)(9, (*pm)->cxt, (*pm)->rec_index);
1091 CLG_(print_cxt)(9, (*pv)->cxt, (*pv)->rec_index);
1102 CLG_(print_cxt)(9, (*pm)->cxt, (*pm)->rec_index);
1114 CLG_(print_cxt)(9, (*pm)->cxt, (*pm)->rec_index);
1163 i,CLG_(current_tid),bbcc->cxt->fn[0]->name);
1530 if (lastFnPos.cxt && ((*p==0) ||
1531 (lastFnPos.cxt != (*p)->cxt) ||
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);