OTAWA  2.0
Framework to perform machine analysis and compute WCET.
otawa::bpred Namespace Reference

Classes

class  BPredProcessor
 

Enumerations

enum  method_t { NO_CONFLICT_2BITS_COUNTER = 0, BI_MODAL = 1, GLOBAL_2B = 2, GLOBAL_1B = 3 }
 

Functions

Identifier< int > BHT_SIZE ("otawa::bpred::BHT_SIZE", 4)
 Configuration property to select the BHT's size to use with the bimodal metho. More...
 
p::feature BRANCH_PREDICTION_FEATURE ("otawa::bpred::BRANCH_PREDICTION_FEATURE", p::make< BPredProcessor >())
 
Identifier< boolDUMP_BBHG ("otawa::bpred::DUMP_BBHG", false)
 Configuration property to dump or not the BBHGs. More...
 
Identifier< boolDUMP_BCG ("otawa::bpred::DUMP_BCG", false)
 Configuration property to dump or not the BCGs. More...
 
Identifier< boolDUMP_BHG ("otawa::bpred::DUMP_BHG", false)
 Configuration property to select to dump or not the BHGs. More...
 
Identifier< boolEXPLICIT_MODE ("otawa::bpred::sEXPLICIT_MODE", true)
 Configuration property to select . More...
 
Identifier< int > HISTORY_SIZE ("otawa::bpred::HISTORY_SIZE", 4)
 Configuration property to select the history size to use for Global2b and Global1b methods. More...
 
Identifier< const char * > INIT_HISTORY_BINARYVALUE ("otawa::bpred::INIT_HISTORY_BINARYVALUE", 0)
 Configuration property to select the initial value for history. More...
 
Identifier< method_tMETHOD ("otawa::bpred::METHOD", NO_CONFLICT_2BITS_COUNTER)
 Configuration property to select the method used for branch prediction. More...
 
Identifier< boolWITH_MITRA ("otawa::bpred::WITH_MITRA", false)
 Configuration property to use or not some constraints from mitra's . More...
 
Identifier< boolWITH_STATS ("otawa::bpred::WITH_STATS", false)
 Configuration property to generate or not stats. More...
 

Variables

Identifier< int > BHT_SIZE
 Configuration property to select the BHT's size to use with the bimodal metho. More...
 
p::feature BRANCH_PREDICTION_FEATURE
 
Identifier< boolDUMP_BBHG
 Configuration property to dump or not the BBHGs. More...
 
Identifier< boolDUMP_BCG
 Configuration property to dump or not the BCGs. More...
 
Identifier< boolDUMP_BHG
 Configuration property to select to dump or not the BHGs. More...
 
Identifier< boolEXPLICIT_MODE
 Configuration property to select . More...
 
Identifier< int > HISTORY_SIZE
 Configuration property to select the history size to use for Global2b and Global1b methods. More...
 
Identifier< const char * > INIT_HISTORY_BINARYVALUE
 Configuration property to select the initial value for history. More...
 
Identifier< method_tMETHOD
 Configuration property to select the method used for branch prediction. More...
 
Identifier< boolWITH_MITRA
 Configuration property to use or not some constraints from mitra's . More...
 
Identifier< boolWITH_STATS
 Configuration property to generate or not stats. More...
 

Enumeration Type Documentation

◆ method_t

Enumerator
NO_CONFLICT_2BITS_COUNTER 
BI_MODAL 
GLOBAL_2B 
GLOBAL_1B 

Function Documentation

◆ BRANCH_PREDICTION_FEATURE()

p::feature otawa::bpred::BRANCH_PREDICTION_FEATURE ( "otawa::bpred::BRANCH_PREDICTION_FEATURE"  ,
p::make< BPredProcessor () 
)

Variable Documentation

◆ BRANCH_PREDICTION_FEATURE

p::feature otawa::bpred::BRANCH_PREDICTION_FEATURE("otawa::bpred::BRANCH_PREDICTION_FEATURE", p::make< BPredProcessor >())