Otawa  0.10
features.h
Go to the documentation of this file.
1 /*
2  * features for bpred module
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2008, 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 02110-1301 USA
20  */
21 #ifndef OTAWA_BPRED_FEATURES_H_
22 #define OTAWA_BPRED_FEATURES_H_
23 
24 #include <otawa/proc/Feature.h>
25 
26 namespace otawa { namespace bpred {
27 
28 typedef enum {
30  BI_MODAL = 1,
31  GLOBAL_2B = 2,
33 } method_t;
34 
35 // feature
37 
38 // Configuration Properties
49 
50 } } // otawa::bpred
51 
52 #endif /* OTAWA_BPRED_FEATURES_H_ */
Identifier< const char * > INIT_HISTORY_BINARYVALUE
Configuration property to select the inital value for history.
The usual Feature class has as drawback to exhibit completely the processing of the feature and there...
Definition: SilentFeature.h:32
Identifier< method_t > METHOD
Configuration property to select the method used for branch prediction.
Identifier< bool > DUMP_BCG
Configuration property to dump or not the BCGs.
Identifier< bool > DUMP_BHG
Configuration property to select to dump or not the BHGs.
Identifier< int > BHT_SIZE
Configuration property to select the BHT's size to use with the bimodal metho.
Identifier< bool > EXPLICIT_MODE
Configuration property to select .
method_t
Definition: features.h:28
Identifier< int > HISTORY_SIZE
Configuration property to select the history size to use for Global2b and Global1b methods...
This class represents identifier with a typed associated value.
Definition: Identifier.h:51
SilentFeature BRANCH_PREDICTION_FEATURE
Identifier< bool > DUMP_BBHG
Configuration property to dump or not the BBHGs.
Identifier< bool > WITH_STATS
Configuration property to generate or not stats.
Identifier< bool > WITH_MITRA
Configuration property to use or not some constraints from mitra's .
Definition: features.h:30
Definition: features.h:31
Definition: features.h:32