Home | History | Annotate | Download | only in callgrind

Lines Matching refs:sp

57   s->sp = 0;
63 call_entry* CLG_(get_call_entry)(Int sp)
65 CLG_ASSERT(sp <= CLG_(current_call_stack).sp);
66 return &(CLG_(current_call_stack).entry[sp]);
75 dst->sp = CLG_(current_call_stack).sp;
84 CLG_(current_call_stack).sp = s->sp;
182 * A jump from <from> to <to>, with <sp>.
186 void CLG_(push_call_stack)(BBCC* from, UInt jmp, BBCC* to, Addr sp, Bool skip)
197 ensure_stack_size(CLG_(current_call_stack).sp +1);
198 current_entry = &(CLG_(current_call_stack).entry[CLG_(current_call_stack).sp]);
249 current_entry->sp = sp;
253 CLG_(current_call_stack).sp++;
256 CLG_ASSERT(CLG_(current_call_stack).sp < CLG_(current_call_stack).size);
282 int s = CLG_(current_call_stack).sp;
283 Int* pars = (Int*) sp;
295 VG_(printf)("+ %2d ", CLG_(current_call_stack).sp);
297 VG_(printf)(", SP %#lx, RA %#lx\n", sp, ret_addr);
301 CLG_(print_stackentry)(3, CLG_(current_call_stack).sp-1);
327 &(CLG_(current_call_stack).entry[CLG_(current_call_stack).sp-1]);
330 CLG_(current_call_stack).sp, lower_entry->jcc);
370 CLG_(current_call_stack).sp--;
378 CLG_(current_call_stack).sp,
381 VG_(printf)(", SP %#lx\n",
382 CLG_(current_call_stack).entry[CLG_(current_call_stack).sp].sp);
386 VG_(printf)("- %2d [Skipped JCC], SP %#lx\n",
387 CLG_(current_call_stack).sp,
388 CLG_(current_call_stack).entry[CLG_(current_call_stack).sp].sp);
392 CLG_(print_stackentry)(7, CLG_(current_call_stack).sp);
407 Int CLG_(unwind_call_stack)(Addr sp, Int minpops)
411 CLG_DEBUG(4,"+ unwind_call_stack(sp %#lx, minpops %d): frame %d\n",
412 sp, minpops, CLG_(current_call_stack).sp);
416 * - call_stack_esp[] has SP after the CALL: p-4
417 * - current sp is after a RET: >= p
420 while( (csp=CLG_(current_call_stack).sp) >0) {
423 if ((top_ce->sp < sp) ||
424 ((top_ce->sp == sp) && minpops>0)) {
429 csp=CLG_(current_call_stack).sp;