Lines Matching refs:from
79 static UInt jcc_hash_idx(BBCC* from, UInt jmp, BBCC* to, UInt size) in jcc_hash_idx() argument
81 return (UInt) ( (UWord)from + 7* (UWord)to + 13*jmp) % size; in jcc_hash_idx()
108 new_idx = jcc_hash_idx(curr_jcc->from, curr_jcc->jmp, in resize_jcc_table()
140 static jCC* new_jcc(BBCC* from, UInt jmp, BBCC* to) in new_jcc() argument
152 jcc->from = from; in new_jcc()
162 if (from) { in new_jcc()
164 CLG_ASSERT((0 <= jmp) && (jmp <= from->bb->cjmp_count)); in new_jcc()
165 jcc->next_from = from->jmp[jmp].jcc_list; in new_jcc()
166 from->jmp[jmp].jcc_list = jcc; in new_jcc()
174 new_idx = jcc_hash_idx(from, jmp, to, current_jccs.size); in new_jcc()
190 jCC* CLG_(get_jcc)(BBCC* from, UInt jmp, BBCC* to) in CLG_()
196 from, jmp, to); in CLG_()
200 if (jcc && (jcc->from == from) && (jcc->jmp == jmp)) { in CLG_()
206 jcc = from->lru_from_jcc; in CLG_()
208 CLG_ASSERT(from == jcc->from); in CLG_()
215 idx = jcc_hash_idx(from, jmp, to, current_jccs.size); in CLG_()
219 if ((jcc->from == from) && in CLG_()
226 jcc = new_jcc(from, jmp, to); in CLG_()
229 from->lru_from_jcc = jcc; in CLG_()
233 from, to); in CLG_()