/external/valgrind/main/callgrind/ |
jumps.c | 34 /*--- Jump Cost Center (JCC) operations, including Calls ---*/ 49 jccs->table = (jCC**) CLG_MALLOC("cl.jumps.ijh.1", 50 jccs->size * sizeof(jCC*)); 84 /* double size of jcc table */ 88 jCC** new_table; 90 jCC *curr_jcc, *next_jcc; 93 new_table = (jCC**) CLG_MALLOC("cl.jumps.rjt.1", 94 new_size * sizeof(jCC*)); 126 CLG_DEBUG(0, "Resize JCC Hash: %d => %d (entries %d, conflicts %d/%d)\n", 137 /* new jCC structure: a call was done to a BB of a BBCC 142 jCC* jcc; local 192 jCC* jcc; local [all...] |
global.h | 44 /* Set to 1 if you want full sanity checks for JCC */ 217 typedef struct _jCC jCC; 240 jk_CondJump /* conditional jump taken (only used as jCC type) */ 247 * Each BB has at most one CALL instruction. The list of JCC from 249 * <next_from> in the JCC struct. 252 * the (from_bbcc,to) pair. <next_hash> is used for the JCC chain 266 jCC* next_hash; /* for hash entry chain */ 267 jCC* next_from; /* next JCC from a BBCC */ 375 jCC* jcc_list; /* JCCs used for this exit * 491 jCC* jcc; \/* jCC for this call *\/ member in struct:_call_entry [all...] |
debug.c | 226 void CLG_(print_short_jcc)(jCC* jcc) 228 if (jcc) 230 bb_jmpaddr(jcc->from->bb), 231 bb_addr(jcc->to->bb), 232 jcc->call_counter, 233 jcc->cost ? jcc->cost[fullOffset(EG_IR)]:0, 234 jcc->cost ? jcc->cost[fullOffset(EG_DR)]:0 [all...] |
callstack.c | 184 * for this, we set jcc = 0. 188 jCC* jcc; local 201 jcc = 0; 217 jcc = CLG_(get_jcc)(from, jmp, to); 218 CLG_ASSERT(jcc != 0); 223 if (jcc->from->cxt->fn[0] != to_fn) (*pdepth)++; 230 jcc->call_counter++; 247 /* put jcc on call stack */ 248 current_entry->jcc = jcc 315 jCC* jcc; local [all...] |
bbcc.c | 86 jCC* jcc; local 103 for(jcc=bbcc->jmp[i].jcc_list; jcc; jcc=jcc->next_from) 104 CLG_(init_cost)( CLG_(sets).full, jcc->cost ); 359 * but with costs set to 0 and jcc chains empty. 684 if (top_ce->jcc) { 689 CLG_(current_state).bbcc = top_ce->jcc->from 853 jCC* jcc = CLG_(get_jcc)(last_bbcc, passed, bbcc); local [all...] |
dump.c | 651 /* Write out the calls from jcc (at pos) 653 static void fprint_jcc(Int fd, jCC* jcc, AddrPos* curr, AddrPos* last, ULong ecounter) 660 CLG_DEBUG(2, " fprint_jcc (jkind %d)\n", jcc->jmpkind); 661 CLG_(print_jcc)(-10, jcc); 664 CLG_ASSERT(jcc->to !=0); 665 CLG_ASSERT(jcc->from !=0); 667 if (!get_debug_pos(jcc->to, bb_addr(jcc->to->bb), &target)) { 672 if ((jcc->jmpkind == jk_CondJump) || (jcc->jmpkind == jk_Jump)) 784 jCC* jcc; local [all...] |