#include <CFGIRInterfaceDefault.hpp>


Public Member Functions | |
| CFGIRInterfaceDefault () | |
| virtual | ~CFGIRInterfaceDefault () |
| virtual bool | parallelWithSuccessor (StmtHandle h) |
| virtual int | numberOfDelaySlots (StmtHandle h) |
| virtual void | printLeaf (LeafHandle vh, std::ostream &os) |
| virtual void | dump (StmtHandle stmt, std::ostream &os) |
| virtual void | dump (MemRefHandle stmt, std::ostream &os) |
Implements defaults for some of the methods required by the CFGIRInterface.
Definition at line 25 of file CFGIRInterfaceDefault.hpp.
| OA::CFG::CFGIRInterfaceDefault::CFGIRInterfaceDefault | ( | ) | [inline] |
Definition at line 22 of file CFGIRInterfaceDefault.hpp.
Referenced by ~CFGIRInterfaceDefault().
| virtual OA::CFG::CFGIRInterfaceDefault::~CFGIRInterfaceDefault | ( | ) | [inline, virtual] |
Definition at line 23 of file CFGIRInterfaceDefault.hpp.
References CFGIRInterfaceDefault().

| virtual void OA::CFG::CFGIRInterfaceDefault::dump | ( | StmtHandle | stmt, | |
| std::ostream & | os | |||
| ) | [inline, virtual] |
Given a statement, pretty-print it to the output stream os. The default implementation does nothing.
Implements OA::IRHandlesIRInterface.
Definition at line 49 of file CFGIRInterfaceDefault.hpp.
| virtual void OA::CFG::CFGIRInterfaceDefault::dump | ( | MemRefHandle | stmt, | |
| std::ostream & | os | |||
| ) | [inline, virtual] |
Given a memory reference, pretty-print it to the output stream os. The default implementation does nothing.
Implements OA::IRHandlesIRInterface.
Definition at line 54 of file CFGIRInterfaceDefault.hpp.
| virtual int OA::CFG::CFGIRInterfaceDefault::numberOfDelaySlots | ( | StmtHandle | h | ) | [inline, virtual] |
Given an unstructured branch/jump statement, return the number of delay slots. Again, this would be used when the underlying IR is a low-level/assembly-level language for a VLIW or superscalar instruction set. The default implementation (which is appropriate for most IR's) is to return 0.
Implements OA::CFG::CFGIRInterface.
Definition at line 37 of file CFGIRInterfaceDefault.hpp.
| virtual bool OA::CFG::CFGIRInterfaceDefault::parallelWithSuccessor | ( | StmtHandle | h | ) | [inline, virtual] |
Given a statement, return true if it issues in parallel with its successor. This would be used, for example, when the underlying IR is a low-level/assembly-level language for a VLIW or superscalar instruction set. The default implementation (which is appropriate for most IR's) is to return false.
Implements OA::CFG::CFGIRInterface.
Definition at line 30 of file CFGIRInterfaceDefault.hpp.
| virtual void OA::CFG::CFGIRInterfaceDefault::printLeaf | ( | LeafHandle | vh, | |
| std::ostream & | os | |||
| ) | [inline, virtual] |
Given a LeafHandle, pretty-print it to the output stream os. The default implementation does nothing.
Definition at line 45 of file CFGIRInterfaceDefault.hpp.
1.7.1