Lines Matching refs:sets
74 int sets; member
158 for (i = 0; i < c->sets * c->assoc; i++) in cachesim_clearcache()
161 for (i = 0; i < c->sets * c->assoc; i++) { in cachesim_clearcache()
183 c->sets = (c->size / c->line_size) / c->assoc; in cachesim_initcache()
184 c->sets_min_1 = c->sets - 1; in cachesim_initcache()
186 c->tag_shift = c->line_size_bits + VG_(log2)(c->sets); in cachesim_initcache()
204 sizeof(UWord) * c->sets * c->assoc); in cachesim_initcache()
219 for (i = 0, set = 0; set < c->sets; set++) {
612 sizeof(line_use) * c->sets * c->assoc); in cacheuse_initcache()
614 sizeof(line_loaded) * c->sets * c->assoc); in cacheuse_initcache()
997 for (i = 0; i < I1.sets * I1.assoc; i++) in cacheuse_finish()
1002 for (i = 0; i < D1.sets * D1.assoc; i++) in cacheuse_finish()
1007 for (i = 0; i < LL.sets * LL.assoc; i++) in cacheuse_finish()
1523 D_total = CLG_(get_eventset_cost)( CLG_(sets).full ); in cachesim_printstat()
1524 CLG_(init_cost)( CLG_(sets).full, D_total); in cachesim_printstat()
1596 struct event_sets CLG_(sets);
1634 CLG_(sets).base = CLG_(get_event_set2)(EG_USE, EG_IR); in CLG_()
1637 CLG_(sets).full = CLG_(add_event_group2)(CLG_(sets).base, EG_DR, EG_DW); in CLG_()
1638 CLG_(sets).full = CLG_(add_event_group2)(CLG_(sets).full, EG_BC, EG_BI); in CLG_()
1639 CLG_(sets).full = CLG_(add_event_group) (CLG_(sets).full, EG_BUS); in CLG_()
1640 CLG_(sets).full = CLG_(add_event_group2)(CLG_(sets).full, EG_ALLOC, EG_SYS); in CLG_()
1644 CLG_(print_eventset)(-2, CLG_(sets).base); in CLG_()
1645 CLG_(print_eventset)(-2, CLG_(sets).full); in CLG_()
1649 CLG_(dumpmap) = CLG_(get_eventmapping)(CLG_(sets).full); in CLG_()
1686 CLG_(add_and_zero_cost2)( CLG_(sets).full, cost, in cachesim_add_icost()