/external/valgrind/callgrind/ |
jumps.c | 32 /*--- Jump Cost Center (JCC) operations, including Calls ---*/ 47 jccs->table = (jCC**) CLG_MALLOC("cl.jumps.ijh.1", 48 jccs->size * sizeof(jCC*)); 82 /* double size of jcc table */ 86 jCC** new_table; 88 jCC *curr_jcc, *next_jcc; 91 new_table = (jCC**) CLG_MALLOC("cl.jumps.rjt.1", 92 new_size * sizeof(jCC*)); 122 CLG_DEBUG(0, "Resize JCC Hash: %d => %d (entries %d, conflicts %d/%d)\n", 133 /* new jCC structure: a call was done to a BB of a BBCC 138 jCC* jcc; local 188 jCC* jcc; local [all...] |
global.h | 184 typedef struct _jCC jCC; 207 jk_CondJump /* conditional jump taken (only used as jCC type) */ 214 * Each BB has at most one CALL instruction. The list of JCC from 216 * <next_from> in the JCC struct. 219 * the (from_bbcc,to) pair. <next_hash> is used for the JCC chain 233 jCC* next_hash; /* for hash entry chain */ 234 jCC* next_from; /* next JCC from a BBCC */ 342 jCC* jcc_list; /* JCCs used for this exit */ 375 jCC* lru_from_jcc; /* Temporary: Cached for faster access (LRU) * 457 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 316 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 ); 364 * but with costs set to 0 and jcc chains empty. 708 if (top_ce->jcc) { 713 CLG_(current_state).bbcc = top_ce->jcc->from 877 jCC* jcc = CLG_(get_jcc)(last_bbcc, passed, bbcc); local [all...] |
dump.c | 559 /* Write out the calls from jcc (at pos) 561 static void fprint_jcc(VgFile *fp, jCC* jcc, AddrPos* curr, AddrPos* last, 569 CLG_DEBUG(2, " fprint_jcc (jkind %d)\n", jcc->jmpkind); 570 CLG_(print_jcc)(-10, jcc); 573 CLG_ASSERT(jcc->to !=0); 574 CLG_ASSERT(jcc->from !=0); 576 if (!get_debug_pos(jcc->to, bb_addr(jcc->to->bb), &target)) { 581 if ((jcc->jmpkind == jk_CondJump) || (jcc->jmpkind == jk_Jump)) 685 jCC* jcc; local [all...] |