Otawa  0.10
otawa::DelayedInfo Class Referenceabstract

Provide information on delayed branches. More...

#include <otawa/prog/features.h>

Public Member Functions

virtual ~DelayedInfo (void)
 
virtual delayed_t type (Inst *inst)=0
 Get the type of the delayed control instruction. More...
 
virtual int count (Inst *inst)
 Get the count of instructions before the delayed branch becomes effective. More...
 

Detailed Description

Provide information on delayed branches.

Constructor & Destructor Documentation

otawa::DelayedInfo::~DelayedInfo ( void  )
virtual

Member Function Documentation

int otawa::DelayedInfo::count ( Inst inst)
virtual

Get the count of instructions before the delayed branch becomes effective.

Parameters
instDelayed control instruction (as a default, 1).
Returns
Count of instructions.

Referenced by otawa::DelayedBuilder::count().

delayed_t otawa::DelayedInfo::type ( Inst inst)
pure virtual

Get the type of the delayed control instruction.

Parameters
instBranch instruction.
Returns
Type of the delayed instruction (one of DELAYED_None, DELAYED_Taken or DELAYED_Always.

Referenced by otawa::DelayedBuilder::type().


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