Otawa  0.10
otawa::ExeSequence< N > Class Template Reference

A sequence of instructions (ExeInst) More...

#include <>>

Inheritance diagram for otawa::ExeSequence< N >:
elm::genstruct::DLList< ExeInst< N > * >

Classes

class  InstIterator
 Iterator on the list of instructions of the sequence. More...
 

Public Member Functions

int length ()
 
int count (void) const
 
bool contains (const ExeInst< N > *&value) const
 
bool isEmpty (void) const
 
 operator bool (void) const
 
void clear (void)
 
void add (const ExeInst< N > *&item)
 
void addAll (const C< ExeInst< N > * > &items)
 
void remove (const ExeInst< N > *&value)
 
void remove (const AbstractIterator &iter)
 
void removeAll (const C< ExeInst< N > * > &items)
 
const ExeInst< N > *& first (void) const
 
const ExeInst< N > *& last (void) const
 
Iterator find (const ExeInst< N > *&item) const
 
Iterator find (const ExeInst< N > *&item, const Iterator &iter) const
 
void addFirst (const ExeInst< N > *&value)
 
void addLast (const ExeInst< N > *&value)
 
void removeFirst (void)
 
void removeLast (void)
 
void addAfter (const AbstractIterator &pos, const ExeInst< N > *&item)
 
void addBefore (const AbstractIterator &pos, const ExeInst< N > *&item)
 
void set (const AbstractIterator &pos, const ExeInst< N > *&item)
 
const ExeInst< N > *& head (void) const
 
ExeInst< N > * get (void)
 
void put (const ExeInst< N > *&item)
 
void reset (void)
 

Detailed Description

template<class N>
class otawa::ExeSequence< N >

A sequence of instructions (ExeInst)

Parameters
Typeof execution graph nodes.

Member Function Documentation

void elm::genstruct::DLList< ExeInst< N > * , class >::add ( const ExeInst< N > * &  item)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::addAfter ( const AbstractIterator &  pos,
const ExeInst< N > * &  item 
)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::addAll ( const C< ExeInst< N > * > &  items)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::addBefore ( const AbstractIterator &  pos,
const ExeInst< N > * &  item 
)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::addFirst ( const ExeInst< N > * &  value)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::clear ( void  )
inherited
bool elm::genstruct::DLList< ExeInst< N > * , class >::contains ( const ExeInst< N > * &  value) const
inherited
Iterator elm::genstruct::DLList< ExeInst< N > * , class >::find ( const ExeInst< N > * &  item) const
inherited
Iterator elm::genstruct::DLList< ExeInst< N > * , class >::find ( const ExeInst< N > * &  item,
const Iterator &  iter 
) const
inherited
ExeInst< N > * elm::genstruct::DLList< ExeInst< N > * , class >::get ( void  )
inherited
const ExeInst< N > * & elm::genstruct::DLList< ExeInst< N > * , class >::head ( void  ) const
inherited
const ExeInst< N > * & elm::genstruct::DLList< ExeInst< N > * , class >::last ( void  ) const
inherited
template<class N>
otawa::ExeSequence< N >::length ( void  )
inline
Returns
Length of the sequence.

Referenced by otawa::ParamExeGraph::instructionCount().

elm::genstruct::DLList< ExeInst< N > * , class >::operator bool ( void  ) const
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::put ( const ExeInst< N > * &  item)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::remove ( const ExeInst< N > * &  value)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::remove ( const AbstractIterator &  iter)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::removeAll ( const C< ExeInst< N > * > &  items)
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::removeFirst ( void  )
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::removeLast ( void  )
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::reset ( void  )
inherited
void elm::genstruct::DLList< ExeInst< N > * , class >::set ( const AbstractIterator &  pos,
const ExeInst< N > * &  item 
)
inherited

The documentation for this class was generated from the following files: