PandA-2024.02
Public Member Functions | Private Attributes
BBEdgeSorter Class Reference

#include <basic_block.hpp>

Inheritance diagram for BBEdgeSorter:
Inheritance graph
[legend]
Collaboration diagram for BBEdgeSorter:
Collaboration graph
[legend]

Public Member Functions

 BBEdgeSorter (const BBGraphConstRef bb_graph)
 Constructor. More...
 
bool operator() (const EdgeDescriptor x, const EdgeDescriptor y) const
 Compare position of two edges. More...
 

Private Attributes

BBGraphConstRef bb_graph
 The basic block graph to which edges belong Note: this should be const, but can not because of assignment operator. More...
 
BBVertexSorter bb_sorter
 The vertex sorter. More...
 

Detailed Description

Definition at line 450 of file basic_block.hpp.

Constructor & Destructor Documentation

◆ BBEdgeSorter()

BBEdgeSorter::BBEdgeSorter ( const BBGraphConstRef  bb_graph)
explicit

Constructor.

Parameters
bb_graphis the basic block graph to which edges belong

Definition at line 234 of file basic_block.cpp.

Member Function Documentation

◆ operator()()

bool BBEdgeSorter::operator() ( const EdgeDescriptor  x,
const EdgeDescriptor  y 
) const

Compare position of two edges.

Parameters
xis the first step
yis the second step
Returns
true if x is necessary and y is unnecessary

Definition at line 238 of file basic_block.cpp.

References bb_graph, bb_sorter, and lenet_tvm::target.

Field Documentation

◆ bb_graph

BBGraphConstRef BBEdgeSorter::bb_graph
private

The basic block graph to which edges belong Note: this should be const, but can not because of assignment operator.

Definition at line 455 of file basic_block.hpp.

Referenced by operator()().

◆ bb_sorter

BBVertexSorter BBEdgeSorter::bb_sorter
private

The vertex sorter.

Definition at line 458 of file basic_block.hpp.

Referenced by operator()().


The documentation for this class was generated from the following files:

Generated on Mon Feb 12 2024 13:03:44 for PandA-2024.02 by doxygen 1.8.13