Otawa  0.10
otawa::BBDeletor< T > Class Template Reference

Basic block cleaner removing an identifier and deleting its content. More...

#include <otawa/proc/BBProcessor.h>

Inheritance diagram for otawa::BBDeletor< T >:
otawa::BBRemover< T > otawa::BBCleaner elm::Cleaner

Public Member Functions

 BBDeletor (WorkSpace *ws, Identifier< T * > &identifier)
 
virtual ~BBDeletor (void)
 
virtual void clean (void)
 

Protected Member Functions

virtual void clean (WorkSpace *ws, CFG *cfg, BasicBlock *bb)
 

Protected Attributes

Identifier< T * > & id
 

Detailed Description

template<class T>
class otawa::BBDeletor< T >

Basic block cleaner removing an identifier and deleting its content.

Parameters
TType of data pointed by the identifier.

Constructor & Destructor Documentation

template<class T >
otawa::BBDeletor< T >::BBDeletor ( WorkSpace ws,
Identifier< T * > &  identifier 
)
inline
template<class T >
virtual otawa::BBDeletor< T >::~BBDeletor ( void  )
inlinevirtual

Member Function Documentation

void otawa::BBCleaner::clean ( void  )
virtualinherited
template<class T >
virtual void otawa::BBDeletor< T >::clean ( WorkSpace ws,
CFG cfg,
BasicBlock bb 
)
inlineprotectedvirtual

Reimplemented from otawa::BBRemover< T >.

References otawa::BBCleaner::clean().

Member Data Documentation

template<class T >
Identifier<T *>& otawa::BBDeletor< T >::id
protected

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