21 #ifndef OTAWA_CLP_FEATURES_H_
22 #define OTAWA_CLP_FEATURES_H_
53 inline int ipc(
void) {
return i; }
The usual Feature class has as drawback to exhibit completely the processing of the feature and there...
Definition: SilentFeature.h:32
State * state(void)
Get the state result of the last interpretation.
Definition: clp_analysis.cpp:2628
Identifier< clp::State > STATE_IN
Put on a basic block, it's the CLP state at the begining of the block.
static bool newSem(step_t s)
Test if the given step result contains the flag Manager::NEW_SEM.
Definition: features.h:42
static bool newPath(step_t s)
Test if the given step result contains the flag Manager::NEW_PATH.
Definition: features.h:43
BasicBlock::InstIter mi
Definition: features.h:57
t::uint32 step_t
Definition: features.h:36
dtd::Element bb(dtd::make("bb", _BB).attr(id).attr(address).attr(size))
step_t start(BasicBlock *bb)
Start the interpretation of a basic block.
Definition: clp_analysis.cpp:2561
clp::State * cs
Definition: features.h:58
Identifier< clp::State > STATE_OUT
Put on a basic block, it's the CLP state at the end of the block.
step_t next(void)
Go to the next step in the interpretation of the basic block.
Definition: clp_analysis.cpp:2581
SilentFeature FEATURE
This features ensure that the clp analysis has been identified.
Inst * inst(void)
Get the current interpreted machine instruction.
Definition: clp_analysis.cpp:2619
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
static const step_t NEW_INST
Definition: features.h:40
The abstract state of the computer (abstract domain).
Definition: ClpState.h:42
static bool isEnded(step_t s)
Definition: features.h:45
Manager(WorkSpace *ws)
Create a manager for the current workspace.
Definition: clp_analysis.cpp:2552
This class allows to exploit the result of a CLP analysis.
Definition: features.h:34
static const step_t NEW_SEM
Definition: features.h:38
int i
Definition: features.h:59
static bool newInst(step_t s)
Test if the given step result contains the flag Manager::NEW_INST.
Definition: features.h:44
static const step_t NEW_PATH
Definition: features.h:39
ClpProblem * p
Definition: features.h:56
This class represents identifier with a typed associated value.
Definition: Identifier.h:51
This is the minimal definition of a basic block.
Definition: BasicBlock.h:43
bool new_path
Definition: features.h:60
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
static const step_t ENDED
Definition: features.h:41
This structure class represents an instruction in the semantics representation of machine instruction...
Definition: inst.h:110
int ipc(void)
Get the current semantic instruction PC.
Definition: features.h:53
clp::State s
Definition: features.h:58
sem::inst sem(void)
Get the last interpreted semantic instruction.
Definition: clp_analysis.cpp:2610
Iterator for instructions in the basic block.
Definition: BasicBlock.h:70