GPUOcelot
|
If-Then node. More...
#include <ControlTree.h>
Public Member Functions | |
IfThenNode (const std::string &label, Node *cond, Node *ifTrue, Node *ifFalse=NULL) | |
Constructor. | |
const Node * | cond () const |
Get condition node. | |
const Node * | ifTrue () const |
Get if-true node. | |
const Node * | ifFalse () const |
Get if-false node. |
If-Then node.
analysis::ControlTree::IfThenNode::IfThenNode | ( | const std::string & | label, |
Node * | cond, | ||
Node * | ifTrue, | ||
Node * | ifFalse = NULL |
||
) |
Constructor.
const ControlTree::Node * analysis::ControlTree::IfThenNode::cond | ( | ) | const |
Get condition node.
const ControlTree::Node * analysis::ControlTree::IfThenNode::ifFalse | ( | ) | const |
Get if-false node.
const ControlTree::Node * analysis::ControlTree::IfThenNode::ifTrue | ( | ) | const |
Get if-true node.