Otawa
0.10
|
Contains a collection of CFGs (used with INVOLVED_CFGS property). More...
#include <>>
Classes | |
class | BBIterator |
class | Iterator |
Iterator on the CFG contained in a CFGCollection. More... | |
Public Member Functions | |
int | count (void) const |
Get the count of CFG in the collection. More... | |
CFG * | get (int index) const |
Get a CFG from the collection using its index. More... | |
CFG * | operator[] (int index) const |
Shortcut to get(). More... | |
void | add (CFG *cfg) |
Add a CFG to the collection. More... | |
Private Attributes | |
elm::genstruct::FragTable< CFG * > | cfgs |
Contains a collection of CFGs (used with INVOLVED_CFGS property).
void otawa::CFGCollection::add | ( | CFG * | cfg | ) |
Add a CFG to the collection.
cfg | Added CFG. |
References cfgs, and otawa::INDEX.
Referenced by otawa::Virtualizer::cleanup(), otawa::LoopUnroller::processWorkSpace(), otawa::CFGCollector::processWorkSpace(), and otawa::DelayedBuilder::processWorkSpace().
|
inline |
Get the count of CFG in the collection.
References cfgs.
Referenced by otawa::dcache::CATBuilder::cleanup(), otawa::BBStatCollector::collect(), otawa::dfa::hai::DefaultListener< P >::DefaultListener(), otawa::CFGProcessor::doCleanUp(), otawa::BBStatCollector::process(), otawa::dcache::CATBuilder::processLBlockSet(), otawa::dcache::CatConstraintBuilder::processWorkSpace(), otawa::CFGCollector::processWorkSpace(), otawa::BBStatCollector::total(), otawa::dfa::hai::UnrollingListener< P >::UnrollingListener(), otawa::dfa::hai::WideningListener< P >::WideningListener(), otawa::dfa::hai::DefaultListener< P >::~DefaultListener(), otawa::dfa::hai::UnrollingListener< P >::~UnrollingListener(), and otawa::dfa::hai::WideningListener< P >::~WideningListener().
|
inline |
Get a CFG from the collection using its index.
index | Index of the got CFG. |
References cfgs.
Referenced by otawa::dcache::CATBuilder::cleanup(), otawa::LoopUnroller::cleanup(), otawa::DelayedBuilder::cleanup(), otawa::BBStatCollector::collect(), otawa::dfa::hai::DefaultListener< P >::DefaultListener(), otawa::CFGProcessor::doCleanUp(), otawa::BBStatCollector::process(), otawa::dcache::CATBuilder::processLBlockSet(), otawa::DeadCodeAnalysis::processWorkSpace(), otawa::dcache::CatConstraintBuilder::processWorkSpace(), otawa::StackAnalysis::processWorkSpace(), otawa::CFGCollector::processWorkSpace(), otawa::Virtualizer::processWorkSpace(), otawa::clp::Analysis::processWorkSpace(), otawa::BBStatCollector::total(), otawa::LoopUnroller::unroll(), otawa::dfa::hai::UnrollingListener< P >::UnrollingListener(), otawa::dfa::hai::WideningListener< P >::WideningListener(), otawa::dfa::hai::DefaultListener< P >::~DefaultListener(), otawa::dfa::hai::UnrollingListener< P >::~UnrollingListener(), and otawa::dfa::hai::WideningListener< P >::~WideningListener().
|
inline |
|
private |
Referenced by add(), count(), get(), and operator[]().