|
Jlm
|

Public Member Functions | |
| CongruenceSet (const rvsdg::Output &leader) | |
Public Attributes | |
| const rvsdg::Output * | leader |
| util::HashSet< const rvsdg::Output * > | followers |
Represents a set of outputs where all outputs in the set are considered identical. One output is the leader, and will eventually become the single source of truth.
When making congruence sets, the following invariants must be satisfied:
Maintaining these invariants ensures that any search for a suitable leader only needs to consider arguments / nodes that have already been visited in the current traversal.
Definition at line 93 of file CommonNodeElimination.cpp.
|
inlineexplicit |
Definition at line 95 of file CommonNodeElimination.cpp.
| util::HashSet<const rvsdg::Output *> jlm::llvm::CommonNodeElimination::Context::CongruenceSet::followers |
Definition at line 104 of file CommonNodeElimination.cpp.
| const rvsdg::Output* jlm::llvm::CommonNodeElimination::Context::CongruenceSet::leader |
Definition at line 101 of file CommonNodeElimination.cpp.