Otawa  0.10
EdgeCAT2Builder.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * exegraph module implementation
4  *
5  * This file is part of OTAWA
6  * Copyright (c) 2007, IRIT UPS.
7  *
8  * OTAWA is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * OTAWA is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with OTAWA; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  */
23 
24 #ifndef CACHE_EDGECAT2BUILDER_H_
25 #define CACHE_EDGECAT2BUILDER_H_
26 
27 #include <otawa/prop/Identifier.h>
28 #include <otawa/hard/Cache.h>
29 #include <otawa/cache/LBlockSet.h>
31 #include <otawa/cache/categorisation/CATBuilder.h>
33 
34 namespace otawa {
35 
36 
37 
38 extern Identifier<Vector<category_t> *> CATEGORY_EDGE;
39 extern Identifier<Vector<BasicBlock*> *> CATEGORY_EDGE_HEADER;
40 
44  public:
45  EdgeCAT2Builder(void);
46  virtual void processCFG(WorkSpace*, otawa::CFG*);
47  virtual void setup(WorkSpace*);
48  virtual void configure(const PropList &props);
49 };
50 
52 
53 
54 }
55 
56 
57 #endif /*CACHE_CAT2BUILDER_H_*/
Feature< EdgeCAT2Builder > ICACHE_EDGE_CATEGORY2_FEATURE
virtual void configure(const PropList &props)
Configure the current processor.
Definition: cache_EdgeCAT2Builder.cpp:161
virtual void processCFG(WorkSpace *, otawa::CFG *)
Definition: cache_EdgeCAT2Builder.cpp:166
This processor produces categorization information for each l-block.
Definition: EdgeCAT2Builder.h:41
Control Flow Graph representation.
Definition: CFG.h:42
Identifier< Vector< BasicBlock * > * > CATEGORY_EDGE_HEADER
fmlevel_t firstmiss_level
Definition: EdgeCAT2Builder.h:43
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
This class contains the configuration of a level of cache of processor.
Definition: Cache.h:34
This is a specialization of the processor class dedicated to CFG processing.
Definition: CFGProcessor.h:35
EdgeCAT2Builder(void)
Definition: cache_EdgeCAT2Builder.cpp:61
void processLBlockSet(otawa::CFG *, LBlockSet *, const hard::Cache *)
Definition: cache_EdgeCAT2Builder.cpp:71
This class represents the list of l-blocks of a task for a chosen cache row.
Definition: LBlockSet.h:38
Identifier< Vector< category_t > * > CATEGORY_EDGE
This a list of properties.
Definition: PropList.h:63
virtual void setup(WorkSpace *)
This method is called before an anlysis to let the processor do some initialization.
Definition: cache_EdgeCAT2Builder.cpp:158
enum otawa::fmlevel fmlevel_t
A feature is a set of facilities, usually provided using properties, available on a framework...
Definition: Feature.h:46