PandA-2024.02
Public Member Functions | Data Fields
ValueDFS_Compare Struct Reference
Collaboration diagram for ValueDFS_Compare:
Collaboration graph
[legend]

Public Member Functions

 ValueDFS_Compare (OrderedInstructions &_OI)
 
const std::pair< unsigned int, unsigned int > getBlockEdge_local (const ValueDFS &VD) const
 
bool comparePHIRelated (const ValueDFS &A, const ValueDFS &B) const
 
tree_nodeRef getMiddleDef (const ValueDFS &VD) const
 
tree_nodeRef getDefOrUser (const tree_nodeRef Def, const OperandRef U) const
 
bool localComesBefore (const ValueDFS &A, const ValueDFS &B) const
 
bool operator() (const ValueDFS &A, const ValueDFS &B) const
 

Data Fields

OrderedInstructionsOI
 

Detailed Description

Definition at line 550 of file eSSA.cpp.

Constructor & Destructor Documentation

◆ ValueDFS_Compare()

ValueDFS_Compare::ValueDFS_Compare ( OrderedInstructions _OI)
inlineexplicit

Definition at line 553 of file eSSA.cpp.

Member Function Documentation

◆ comparePHIRelated()

bool ValueDFS_Compare::comparePHIRelated ( const ValueDFS A,
const ValueDFS B 
) const
inline

Definition at line 575 of file eSSA.cpp.

References ValueDFS::Def, and ValueDFS::U.

◆ getBlockEdge_local()

const std::pair<unsigned int, unsigned int> ValueDFS_Compare::getBlockEdge_local ( const ValueDFS VD) const
inline

Definition at line 558 of file eSSA.cpp.

References ValueDFS::Def, GET_CONST_NODE, GET_INDEX_CONST_NODE, getBlockEdge(), ValueDFS::PInfo, THROW_ASSERT, and ValueDFS::U.

Here is the call graph for this function:

◆ getDefOrUser()

tree_nodeRef ValueDFS_Compare::getDefOrUser ( const tree_nodeRef  Def,
const OperandRef  U 
) const
inline

Definition at line 595 of file eSSA.cpp.

◆ getMiddleDef()

tree_nodeRef ValueDFS_Compare::getMiddleDef ( const ValueDFS VD) const
inline

Definition at line 584 of file eSSA.cpp.

References ValueDFS::Def.

◆ localComesBefore()

bool ValueDFS_Compare::localComesBefore ( const ValueDFS A,
const ValueDFS B 
) const
inline

Definition at line 606 of file eSSA.cpp.

References ValueDFS::U, and valueComesBefore().

Here is the call graph for this function:

◆ operator()()

bool ValueDFS_Compare::operator() ( const ValueDFS A,
const ValueDFS B 
) const
inline

Field Documentation

◆ OI

OrderedInstructions& ValueDFS_Compare::OI

Definition at line 552 of file eSSA.cpp.


The documentation for this struct was generated from the following file:

Generated on Mon Feb 12 2024 13:04:09 for PandA-2024.02 by doxygen 1.8.13