21 #ifndef OTAWA_CCG_LBLOCKBUILDER_H
22 #define OTAWA_CCG_LBLOCKBUILDER_H
24 #include <elm/genstruct/HashTable.h>
58 #endif // OTAWA_CCG_LBLOCKBUILDER_H
static p::declare reg
Definition: LBlockBuilder.h:40
struct otawa::sem::inst inst
This processor is dedicated to the basic block process thru proccessBB() method.
Definition: BBProcessor.h:72
CFG * cfg(void) const
Get the current CFG.
Definition: CFGProcessor.h:56
const hard::Cache * cache
Definition: LBlockBuilder.h:50
Abstract class to represent the registered processors.
Definition: Registration.h:80
Class to declare simple a processor.
Definition: Registration.h:213
virtual void processBB(WorkSpace *fw, CFG *cfg, BasicBlock *bb)
Perform the work of the given basic block.
Definition: ccg_LBlockBuilder.cpp:144
dtd::Element bb(dtd::make("bb", _BB).attr(id).attr(address).attr(size))
Control Flow Graph representation.
Definition: CFG.h:42
Class to represent the whole memory of the platform.
Definition: Memory.h:173
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 processor builds the list of l-blocks for each lines of instruction cache and stores it in the C...
Definition: LBlockBuilder.h:38
void addLBlock(BasicBlock *bb, Inst *inst, int &index, genstruct::AllocatedTable< LBlock * > *lblocks)
Add an lblock to the lblock lists.
Definition: ccg_LBlockBuilder.cpp:104
This class represents the list of l-blocks of a task for a chosen cache row.
Definition: features.h:75
This is the minimal definition of a basic block.
Definition: BasicBlock.h:43
LBlockBuilder(AbstractRegistration &r=reg)
Build a new l-block builder.
Definition: ccg_LBlockBuilder.cpp:55
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
LBlockSet ** lbsets
Definition: LBlockBuilder.h:49
virtual void setup(WorkSpace *fw)
This method is called before an anlysis to let the processor do some initialization.
Definition: ccg_LBlockBuilder.cpp:61
virtual void cleanup(WorkSpace *fw)
This method is called after the end of the processor analysis to let it do some clean up...
Definition: ccg_LBlockBuilder.cpp:88
const hard::Memory * mem
Definition: LBlockBuilder.h:51
genstruct::HashTable< ot::mask, int > block_map
Definition: LBlockBuilder.h:52