#include <cross_cache.h>

Public Member Functions | |
| CACHE_CONTENTS (CACHE_TYPE type, UINT64 size, INT32 nprocs, ARA_LOOP_INFO *_ara_info) | |
| CACHE_CONTENTS (CACHE_CONTENTS *cc) | |
| INT32 | N_Procs (void) |
| void | Add_Region (CACHE_REGION *c, ACCESS_TYPE atype) |
| INT32 | Intersect_Region (CACHE_REGION *c) |
| void | Compact_Cache (void) |
| void | Print (FILE *file) |
Private Member Functions | |
| void | Add_Region_Distributed (CACHE_REGION *c, ACCESS_TYPE atype) |
| void | Add_Region_Replicated (CACHE_REGION *c, ACCESS_TYPE atype) |
| void | Add_Region_Exclusive (CACHE_REGION *c, ACCESS_TYPE atype) |
Private Attributes | |
| CACHE_TYPE | _type |
| UINT64 | _size |
| CACHE_REGION_LIST | _reg_list |
| ARA_LOOP_INFO * | _ara_info |
| INT32 | _nprocs |
Definition at line 100 of file cross_cache.h.
| CACHE_CONTENTS::CACHE_CONTENTS | ( | CACHE_TYPE | type, | |
| UINT64 | size, | |||
| INT32 | nprocs, | |||
| ARA_LOOP_INFO * | _ara_info | |||
| ) |
| CACHE_CONTENTS::CACHE_CONTENTS | ( | CACHE_CONTENTS * | cc | ) |
| void CACHE_CONTENTS::Add_Region_Distributed | ( | CACHE_REGION * | c, | |
| ACCESS_TYPE | atype | |||
| ) | [private] |
Definition at line 998 of file cross_cache.cxx.
References _ara_info, _reg_list, SLIST::Append(), Are_Independent_Regions(), Are_Similar_Regions(), BOOL, CACHE_READ_ONLY, CXX_DELETE, SLIST_ITER::First(), SLIST_ITER::Init(), SLIST_ITER::Is_Empty(), iter, LNO_local_pool, SLIST_ITER::Next(), NULL, prev, SLIST::Remove(), and TRUE.
Referenced by Add_Region().
| void CACHE_CONTENTS::Add_Region_Replicated | ( | CACHE_REGION * | c, | |
| ACCESS_TYPE | atype | |||
| ) | [private] |
Definition at line 1031 of file cross_cache.cxx.
References _ara_info, _reg_list, SLIST::Append(), Are_Independent_Regions(), Are_Similar_Regions(), BOOL, CACHE_READ_ONLY, CXX_DELETE, SLIST_ITER::First(), SLIST_ITER::Init(), SLIST_ITER::Is_Empty(), iter, LNO_local_pool, SLIST_ITER::Next(), NULL, prev, SLIST::Remove(), and TRUE.
Referenced by Add_Region().
| void CACHE_CONTENTS::Add_Region_Exclusive | ( | CACHE_REGION * | c, | |
| ACCESS_TYPE | atype | |||
| ) | [private] |
Definition at line 1064 of file cross_cache.cxx.
References _ara_info, _reg_list, SLIST::Append(), Are_Independent_Regions(), Are_Similar_Regions(), BOOL, CACHE_READ_ONLY, CXX_DELETE, SLIST_ITER::First(), SLIST_ITER::Init(), SLIST_ITER::Is_Empty(), iter, LNO_local_pool, SLIST_ITER::Next(), NULL, prev, SLIST::Remove(), and TRUE.
Referenced by Add_Region().
| void CACHE_CONTENTS::Add_Region | ( | CACHE_REGION * | c, | |
| ACCESS_TYPE | atype | |||
| ) |
Definition at line 961 of file cross_cache.cxx.
References Add_Region_Distributed(), Add_Region_Exclusive(), Add_Region_Replicated(), DISTRIBUTED, EXCLUSIVE, FmtAssert, REPLICATED, and CACHE_REGION::Type().
Referenced by Add_References().
| INT32 CACHE_CONTENTS::Intersect_Region | ( | CACHE_REGION * | c | ) |
Definition at line 1221 of file cross_cache.cxx.
References _ara_info, _nprocs, _reg_list, Are_Independent_Regions(), Are_Similar_Dimensions(), Are_Similar_Regions(), Compare_Cache_Regions(), CACHE_REGION::Dist(), DISTRIBUTED, EXCLUSIVE, SLIST_ITER::First(), INT, INT32, CACHE_REGION::Intersect_Region(), SLIST_ITER::Is_Empty(), iter, MAX, CACHE_REGION::N_Dist(), SLIST_ITER::Next(), offset, CACHE_REGION::Region_Size(), Regions_Distributed_Orthogonally(), Regions_Distributed_Similarly(), REPLICATED, size, and CACHE_REGION::Type().
Referenced by Intersect_References().
Definition at line 1100 of file cross_cache.cxx.
References _ara_info, _reg_list, SLIST::Append(), SLIST::Append_List(), ARA_REF::Array(), CXX_NEW, SLIST_ITER::First(), CACHE_REGION::Get_Ref(), SLIST_ITER::Init(), SLIST::Is_Empty(), SLIST_ITER::Is_Empty(), iter, LNO_local_pool, Merge_Regions(), SLIST_ITER::Next(), NULL, prev, SLIST::Remove(), SLIST::Remove_Headnode(), and CACHE_REGION::Type().
Referenced by Explore_Path().
Definition at line 1406 of file cross_cache.cxx.
References _ara_info, _reg_list, SLIST_ITER::First(), fprintf(), i, INT, SLIST_ITER::Is_Empty(), iter, and SLIST_ITER::Next().
Referenced by Explore_Path().
CACHE_TYPE CACHE_CONTENTS::_type [private] |
UINT64 CACHE_CONTENTS::_size [private] |
CACHE_REGION_LIST CACHE_CONTENTS::_reg_list [private] |
Definition at line 103 of file cross_cache.h.
Referenced by Add_Region_Distributed(), Add_Region_Exclusive(), Add_Region_Replicated(), Compact_Cache(), Intersect_Region(), and Print().
ARA_LOOP_INFO* CACHE_CONTENTS::_ara_info [private] |
Definition at line 104 of file cross_cache.h.
Referenced by Add_Region_Distributed(), Add_Region_Exclusive(), Add_Region_Replicated(), CACHE_CONTENTS(), Compact_Cache(), Intersect_Region(), and Print().
INT32 CACHE_CONTENTS::_nprocs [private] |
Definition at line 105 of file cross_cache.h.
Referenced by CACHE_CONTENTS(), Intersect_Region(), and N_Procs().
1.5.6