Home | History | Annotate | Download | only in coregrind

Lines Matching refs:tc

185          This is a pointer into the sector's tc (code) area. */
394 ULong* tc;
406 /* This points to the current allocation point in tc. */
442 N_TC_SECTORS. The initial value indicates the TT/TC system is
460 /* Fast helper for the TC. A direct-mapped cache which holds a set of
464 Entries in tt_fast may refer to any valid TC entry, regardless of
466 invalidate this cache when TC entries are changed or disappear.
851 if ((const UChar*)hcode >= (const UChar*)sectors[sno].tc
885 vg_assert( (UChar*)host_code >= (UChar*)sectors[to_sNo].tc );
1223 if (tce < &sec->tc[0] || tce > &sec->tc[tc_sector_szQ])
1224 BAD("sec->tc_next points outside tc");
1373 if (sectors[i].tc != NULL)
1391 if (sec->tc == NULL)
1519 if (sec->tc == NULL) {
1522 tc. */
1539 VG_(out_of_memory_NORETURN)("initialiseSector(TC)",
1543 sec->tc = (ULong*)(Addr)sr_Res(sres);
1596 VG_(message)(Vg_DebugMsg, "TT/TC: initialise sector %d\n", sno);
1676 VG_(message)(Vg_DebugMsg, "TT/TC: recycle sector %d\n", sno);
1679 sec->tc_next = sec->tc;
1689 /* Add a translation of vge to TT/TC. The translation is temporarily
1730 if (sectors[y].tc == NULL)
1736 /* Will it fit in tc? */
1737 tcAvailQ = ((ULong*)(&sectors[y].tc[tc_sector_szQ]))
1745 used before, in which case it will get its tt/tc allocated
1756 "(TT loading %2d%%, TC loading %2d%%, avg tce size %d)\n",
1768 tcAvailQ = ((ULong*)(&sectors[y].tc[tc_sector_szQ]))
1776 /* Copy into tc. */
1778 vg_assert(tcptr >= &sectors[y].tc[0]);
1779 vg_assert(tcptr <= &sectors[y].tc[tc_sector_szQ]);
1789 vg_assert(tcptr2 >= &sectors[y].tc[0]);
1790 vg_assert(tcptr2 <= &sectors[y].tc[tc_sector_szQ]);
2174 if (sec->tc == NULL)
2195 if (sec->tc == NULL)
2220 if (sec->tc == NULL)
2245 /*--- AUXILIARY: the unredirected TT/TC ---*/
2250 main tt/tc structures. When unredir_tc or unredir_tt becomes full,
2321 /* Add an UNREDIRECTED translation of vge to TT/TC. The translation
2473 "TT/TC: VG_(init_tt_tc) "
2476 /* Figure out how big each tc area should be. */
2505 /* and the unredir tt/tc */
2511 "TT/TC: cache: %s--avg-transtab-entry-size=%u, "
2518 "TT/TC: cache: %d sectors of %'d bytes each = %'d total TC\n",
2522 "TT/TC: table: %'d tables[%d] of C %'d + H %'d bytes each "
2530 "TT/TC: table: %d tt entries each = %'d total tt entries\n",
2533 "TT/TC: table: %d htt[%d] of %'d bytes each = %'d total HTT"
2571 " tt/tc: %'llu tt lookups requiring %'llu probes\n",
2574 " tt/tc: %'llu fast-cache updates, %'llu flushes\n",
2631 if (sectors[sno].tc == NULL)
2669 if (sectors[sno].tc == NULL)