#include <include/hllcode.h>
Inheritance diagram for PostTestedLoopSyntaxNode:
Definition at line 358 of file hllcode.h.
Public Member Functions | |
virtual void | addSuccessors (SyntaxNode *root, std::vector< SyntaxNode * > &successors) |
virtual SyntaxNode * | clone () |
virtual bool | endsWithGoto () |
virtual int | evaluate (SyntaxNode *root) |
virtual SyntaxNode * | findNodeFor (PBB bb) |
virtual SyntaxNode * | getEnclosingLoop (SyntaxNode *pFor, SyntaxNode *cur=NULL) |
virtual int | getNumOutEdges () |
virtual SyntaxNode * | getOutEdge (SyntaxNode *root, int n) |
virtual bool | isBranch () |
virtual bool | isGoto () |
PostTestedLoopSyntaxNode () | |
virtual void | printAST (SyntaxNode *root, std::ostream &os) |
virtual SyntaxNode * | replace (SyntaxNode *from, SyntaxNode *to) |
void | setBody (SyntaxNode *n) |
void | setCond (Exp *e) |
virtual | ~PostTestedLoopSyntaxNode () |
Protected Attributes | |
Exp * | cond |
SyntaxNode * | pBody |
|
Definition at line 662 of file syntax.cpp. Referenced by clone(). |
|
Definition at line 666 of file syntax.cpp. |
|
Reimplemented from SyntaxNode. Definition at line 685 of file syntax.cpp. References SyntaxNode::clone(), SyntaxNode::endsWithGoto(), SyntaxNode::getNumOutEdges(), SyntaxNode::getOutEdge(), SyntaxNode::ignoreGoto(), pBody, and SyntaxNode::setDepth(). |
|
Implements SyntaxNode. Definition at line 704 of file syntax.cpp. References SyntaxNode::clone(), Exp::clone(), cond, SyntaxNode::correspond, SyntaxNode::pbb, pBody, and PostTestedLoopSyntaxNode(). |
|
Implements SyntaxNode. |
|
Implements SyntaxNode. Definition at line 678 of file syntax.cpp. References SyntaxNode::evaluate(), and pBody. |
|
Implements SyntaxNode. Definition at line 725 of file syntax.cpp. References SyntaxNode::findNodeFor(), SyntaxNode::pbb, and pBody. |
|
Implements SyntaxNode. Definition at line 374 of file hllcode.h. References SyntaxNode::getEnclosingLoop(), and pBody. |
|
Implements SyntaxNode. |
|
Implements SyntaxNode. Definition at line 674 of file syntax.cpp. References SyntaxNode::findNodeFor(), BasicBlock::getOutEdge(), and SyntaxNode::pbb. Referenced by printAST(). |
|
Reimplemented from SyntaxNode. |
|
Reimplemented from SyntaxNode. |
|
Implements SyntaxNode. Definition at line 735 of file syntax.cpp. References cond, SyntaxNode::getNumber(), getOutEdge(), pBody, and SyntaxNode::printAST(). |
|
Implements SyntaxNode. Definition at line 714 of file syntax.cpp. References SyntaxNode::correspond, SyntaxNode::getCorrespond(), pBody, and to. |
|
Definition at line 383 of file hllcode.h. References pBody. |
|
Definition at line 382 of file hllcode.h. References cond. |
|
Definition at line 361 of file hllcode.h. Referenced by clone(), printAST(), setCond(), and ~PostTestedLoopSyntaxNode(). |
|
Definition at line 360 of file hllcode.h. Referenced by addSuccessors(), clone(), evaluate(), findNodeFor(), getEnclosingLoop(), printAST(), replace(), setBody(), and ~PostTestedLoopSyntaxNode(). |