GPUOcelot
Public Member Functions

ir::BasicBlock::DotFormatter Class Reference

an object that formats the string representation of a basic block used in the DOT output of the graph More...

#include <ControlFlowGraph.h>

List of all members.

Public Member Functions

 DotFormatter ()
virtual ~DotFormatter ()
virtual std::string entryLabel (const BasicBlock *block)
 emits label for entry block
virtual std::string exitLabel (const BasicBlock *block)
 emits label for exit block
virtual std::string toString (const BasicBlock *block)
 prints string representation of
virtual std::string toString (const Edge *edge)
 emits DOT representation of an edge

Detailed Description

an object that formats the string representation of a basic block used in the DOT output of the graph


Constructor & Destructor Documentation

ir::BasicBlock::DotFormatter::DotFormatter ( )
ir::BasicBlock::DotFormatter::~DotFormatter ( ) [virtual]

Member Function Documentation

std::string ir::BasicBlock::DotFormatter::entryLabel ( const BasicBlock block) [virtual]

emits label for entry block

std::string ir::BasicBlock::DotFormatter::exitLabel ( const BasicBlock block) [virtual]

emits label for exit block

std::string ir::BasicBlock::DotFormatter::toString ( const BasicBlock block) [virtual]

prints string representation of

std::string ir::BasicBlock::DotFormatter::toString ( const Edge edge) [virtual]

emits DOT representation of an edge


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines