22 #ifndef OTAWA_CACHE_LBLOCKSET_H
23 #define OTAWA_CACHE_LBLOCKSET_H
25 #include <elm/assert.h>
28 #include <elm/genstruct/Vector.h>
29 #include <elm/genstruct/Table.h>
31 #include <elm/PreIterator.h>
52 inline int count(
void) {
return listelbc.length(); }
55 inline int set(
void) {
return linenumber; }
59 int line(
void) {
return linenumber; }
74 #endif // OTAWA_CACHE_LBLOCKSET_H
Iterator(LBlockSet &lbset)
Definition: LBlockSet.h:45
int cacheBlockCount(void)
Get the internal counter of l-block number (only used internally).
Definition: LBlockSet.h:53
elm::genstruct::Vector< LBlock * > listelbc
Definition: LBlockSet.h:63
int cblock_count
Definition: LBlockSet.h:64
Identifier< LBlockSet ** > LBLOCKS
This property is used for storing the list of L-Blocks.
int linenumber
Definition: LBlockSet.h:62
const hard::Cache * _cache
Definition: LBlockSet.h:65
This class contains the configuration of a level of cache of processor.
Definition: Cache.h:34
The l-block is an abstraction allowing to split the basic block according to the bound of the cache b...
Definition: LBlock.h:43
StringOption cache(command, 'c',"cache","used cache","path","")
int line(void)
Definition: LBlockSet.h:59
This class represents the list of l-blocks of a task for a chosen cache row.
Definition: LBlockSet.h:38
const hard::Cache * cache(void) const
Definition: LBlockSet.h:56
int count(void)
Get a number for a new l-block in the set.
Definition: LBlockSet.h:52
inst add(int d, int a, int b)
Definition: inst.h:163
This class represents identifier with a typed associated value.
Definition: Identifier.h:51
Identifier< genstruct::AllocatedTable< LBlock * > * > BB_LBLOCKS
This property is used for storing the list of L-Blocks of a BasicBlock.
LBlock * lblock(int i)
Get the l-block with the given index.
Definition: LBlockSet.h:54
int set(void)
Get the set number of the l-blocks in the cache.
Definition: LBlockSet.h:55
Definition: LBlockSet.h:43