#include <include/hllcode.h>
Inheritance diagram for PretestedLoopSyntaxNode:
Definition at line 325 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 () |
PretestedLoopSyntaxNode () | |
virtual void | printAST (SyntaxNode *root, std::ostream &os) |
virtual SyntaxNode * | replace (SyntaxNode *from, SyntaxNode *to) |
void | setBody (SyntaxNode *n) |
void | setCond (Exp *e) |
virtual | ~PretestedLoopSyntaxNode () |
Protected Attributes | |
Exp * | cond |
SyntaxNode * | pBody |
|
Definition at line 578 of file syntax.cpp. Referenced by clone(). |
|
Definition at line 582 of file syntax.cpp. |
|
Reimplemented from SyntaxNode. Definition at line 601 of file syntax.cpp. References SyntaxNode::clone(), SyntaxNode::endsWithGoto(), SyntaxNode::getDepth(), SyntaxNode::getNumOutEdges(), SyntaxNode::getOutEdge(), SyntaxNode::ignoreGoto(), pBody, SyntaxNode::setDepth(), and SyntaxNode::startsWith(). |
|
Implements SyntaxNode. Definition at line 621 of file syntax.cpp. References SyntaxNode::clone(), Exp::clone(), cond, SyntaxNode::correspond, SyntaxNode::pbb, pBody, and PretestedLoopSyntaxNode(). |
|
Implements SyntaxNode. |
|
Implements SyntaxNode. Definition at line 594 of file syntax.cpp. References SyntaxNode::evaluate(), and pBody. |
|
Implements SyntaxNode. Definition at line 642 of file syntax.cpp. References SyntaxNode::findNodeFor(), SyntaxNode::pbb, and pBody. |
|
Implements SyntaxNode. Definition at line 341 of file hllcode.h. References SyntaxNode::getEnclosingLoop(), and pBody. |
|
Implements SyntaxNode. |
|
Implements SyntaxNode. Definition at line 590 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 649 of file syntax.cpp. References cond, SyntaxNode::getNumber(), getOutEdge(), pBody, and SyntaxNode::printAST(). |
|
Implements SyntaxNode. Definition at line 631 of file syntax.cpp. References SyntaxNode::correspond, SyntaxNode::getCorrespond(), pBody, and to. |
|
Definition at line 350 of file hllcode.h. References pBody. |
|
Definition at line 349 of file hllcode.h. References cond. |
|
Definition at line 328 of file hllcode.h. Referenced by clone(), printAST(), setCond(), and ~PretestedLoopSyntaxNode(). |
|
Definition at line 327 of file hllcode.h. Referenced by addSuccessors(), clone(), evaluate(), findNodeFor(), getEnclosingLoop(), printAST(), replace(), setBody(), and ~PretestedLoopSyntaxNode(). |