retdec
|
A representation of a control-flow graph edge. More...
Public Member Functions | |
CFGEdge (ShPtr< CFGNode > target) | |
Constructs a new control-flow graph edge. More... | |
ShPtr< CFGNode > | getTarget () const |
Returns the target of this edge. More... | |
bool | isBackEdge () const |
Returns true if this edge is a back-edge. More... | |
void | setBackEdge (bool isBackEdge=true) |
Sets flag whether this node is a back-edge to value isBackEdge. More... | |
Private Attributes | |
ShPtr< CFGNode > | target |
A target of this edge. More... | |
bool | backEdge |
Is this edge a back-edge? More... | |
Additional Inherited Members | |
![]() | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable ()=default | |
~NonCopyable ()=default | |
A representation of a control-flow graph edge.
Constructs a new control-flow graph edge.
[in] | target | A target of the currently created edge. |
Returns the target of this edge.
bool retdec::llvmir2hll::CFGNode::CFGEdge::isBackEdge | ( | ) | const |
Returns true
if this edge is a back-edge.
void retdec::llvmir2hll::CFGNode::CFGEdge::setBackEdge | ( | bool | isBackEdge = true | ) |
Sets flag whether this node is a back-edge to value isBackEdge.
|
private |
Is this edge a back-edge?