Otawa  0.10
otawa::sem::Printer Class Reference

Printer class for semantic instructions (resolve the generic register value to the their real platform name). More...

#include <otawa/sem/inst.h>

Public Member Functions

 Printer (const hard::Platform *platform=0)
 
void print (elm::io::Output &out, const Block &block) const
 Print the given block. More...
 
void print (elm::io::Output &out, const inst &inst) const
 Print the given instruction. More...
 

Private Attributes

const hard::Platformpf
 

Detailed Description

Printer class for semantic instructions (resolve the generic register value to the their real platform name).

Constructor & Destructor Documentation

otawa::sem::Printer::Printer ( const hard::Platform platform = 0)
inline

Member Function Documentation

void Printer::print ( elm::io::Output out,
const Block block 
) const

Print the given block.

Parameters
outOutput stream to use.
blockBlock to output.

References elm::io::endl, and otawa::p::print().

Referenced by otawa::sem::inst::print(), and otawa::sem::Block::print().

Member Data Documentation

const hard::Platform* otawa::sem::Printer::pf
private

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