Home | History | Annotate | Download | only in callgrind

Lines Matching refs:cxt

122     p->cxt = 0;
188 Context* cxt, int rec_index)
198 if (cxt_dumped[cxt->base_number+rec_index]) {
200 tag, cxt->base_number + rec_index);
206 for(i=cxt->size;i>0;i--) {
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;
217 if ((last == cxt) && (rec_index == 0)) return;
220 cxt->base_number + rec_index,
221 cxt->fn[0]->pure_cxt->base_number);
224 for(i=1;i<cxt->size;i++)
226 cxt->fn[i]->pure_cxt->base_number);
229 cxt_dumped[cxt->base_number+rec_index] = True;
237 if (cxt_dumped[cxt->base_number+rec_index]) {
238 VG_(fprintf)(fp, "(%d)\n", cxt->base_number + rec_index);
242 VG_(fprintf)(fp, "(%d) ", cxt->base_number + rec_index);
243 cxt_dumped[cxt->base_number+rec_index] = True;
247 VG_(fprintf)(fp, "%s", cxt->fn[0]->name);
250 for(i=1;i<cxt->size;i++)
251 VG_(fprintf)(fp, "'%s", cxt->fn[i]->name);
267 CLG_ASSERT(bbcc && bbcc->cxt);
271 CLG_(print_cxt)(16, bbcc->cxt, bbcc->rec_index);
278 last->cxt = 0; /* reprint context */
282 if (last->cxt != bbcc->cxt) {
283 fn_node* last_from = (last->cxt && last->cxt->size >1) ?
284 last->cxt->fn[1] : 0;
285 fn_node* curr_from = (bbcc->cxt->size >1) ?
286 bbcc->cxt->fn[1] : 0;
298 last->cxt = bbcc->cxt;
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];
324 (last->cxt != bbcc->cxt)) {
326 print_mangled_fn(fp, "fn", bbcc->cxt, bbcc->rec_index);
327 last->fn = bbcc->cxt->fn[0];
333 last->cxt = bbcc->cxt;
397 addr, bb_addr(bbcc->bb), bbcc->cxt->fn[0]->name,
605 if (jcc->from->cxt != jcc->to->cxt) {
608 jcc->to->cxt, jcc->to->rec_index);
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) {
647 print_mangled_fn(fp, "cfn", jcc->to->cxt, jcc->to->rec_index);
649 print_fn(fp, "cfn", jcc->to->cxt->fn[0]);
690 CLG_ASSERT(bbcc->cxt != 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);
849 Context* cxt1 = bbcc1->cxt;
850 Context* cxt2 = bbcc2->cxt;
928 CLG_(print_cxt)(9, (*pm)->cxt, (*pm)->rec_index);
981 CLG_(print_cxt)(9, (*pv)->cxt, (*pv)->rec_index);
992 CLG_(print_cxt)(9, (*pm)->cxt, (*pm)->rec_index);
1004 CLG_(print_cxt)(9, (*pm)->cxt, (*pm)->rec_index);
1053 i,CLG_(current_tid),bbcc->cxt->fn[0]->name);
1390 if (lastFnPos.cxt && ((*p==0) ||
1391 (lastFnPos.cxt != (*p)->cxt) ||
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);