Otawa  0.10
features.h
Go to the documentation of this file.
1 /*
2  * cache::cat2 module features
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2013, IRIT UPS.
6  *
7  * OTAWA is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * OTAWA is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with OTAWA; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20  * 02110-1301 USA
21  */
22 #ifndef OTAWA_CACHE_CAT2_FEATURES_H_
23 #define OTAWA_CACHE_CAT2_FEATURES_H_
24 
28 #include <otawa/cache/categories.h>
29 
30 namespace otawa {
31 
32 // ACS feature
33 typedef enum fmlevel {
34  FML_INNER = 0,
35  FML_OUTER = 1,
36  FML_MULTI = 2,
38 } fmlevel_t;
40 
47 
48 
49 // MAY ACS feature
53 
54 
55 // category feature
57 
58 // constraint feature2
62 
63 } // otawa
64 
65 #endif /* OTAWA_CACHE_CAT2_FEATURES_H_ */
The usual Feature class has as drawback to exhibit completely the processing of the feature and there...
Definition: SilentFeature.h:32
Identifier< genstruct::Vector< MAYProblem::Domain * > * > CACHE_ACS_MAY_ENTRY
This property allows us to set an entry may ACS.
Definition: features.h:35
Definition: features.h:36
p::feature ICACHE_ACS_FEATURE
This feature represents the availability of Abstract Cache State informations.
Identifier< ilp::Var * > MISS_VAR
Property giving the variable counting the number of misses.
SilentFeature ICACHE_CATEGORY2_FEATURE
This feature ensures that the categories for instruction cache according to the following method has ...
Identifier< genstruct::Vector< MAYProblem::Domain * > * > CACHE_ACS_MAY
This property represents the "may" Abstract Cache State of a basic block.
elm::io::Output & operator<<(elm::io::Output &out, Address addr)
Definition: base.cpp:188
Definition: features.h:34
Identifier< bool > PSEUDO_UNROLLING
This property represents the "persistence" Abstract Cache State of a basic block. ...
Definition: features.h:42
Identifier< fmlevel_t > FIRSTMISS_LEVEL
Specify the loop-level-precision of the First Miss computation (inner, outer, multi-level) ...
Definition: features.h:41
p::feature ICACHE_ACS_MAY_FEATURE
This feature represents the availability of MAY Abstract Cache State informations.
p::feature ICACHE_CONSTRAINT2_FEATURE
Ensures that the constraints for cache analysis by categories 2 has been built and that the term of i...
Identifier< genstruct::Vector< PERSProblem::Domain * > * > CACHE_ACS_PERS
This property represents the "persistence" Abstract Cache State of a basic block. ...
Identifier< genstruct::Vector< MUSTProblem::Domain * > * > CACHE_ACS_MUST_ENTRY
This property allows us to set an entry must ACS.
Definition: features.h:43
sys::SystemOutStream & out
p::feature ICACHE_ONLY_CONSTRAINT2_FEATURE
Ensures that the constraints for cache analysis by categories 2 has been built.
fmlevel
Definition: features.h:33
This class represents identifier with a typed associated value.
Definition: Identifier.h:51
Identifier< genstruct::Vector< MUSTProblem::Domain * > * > CACHE_ACS_MUST
This property represents the "must" Abstract Cache State of a basic block.
Definition: features.h:37
enum otawa::fmlevel fmlevel_t
Shortcut to create a feature with a maker (without the mess of SilentFeature).
Definition: AbstractFeature.h:51