LLVM 22.0.0git
|
ECValue - The EquivalenceClasses data structure is just a set of these. More...
#include "llvm/ADT/EquivalenceClasses.h"
Public Member Functions | |
ECValue (const ECValue &RHS) | |
bool | isLeader () const |
const ElemTy & | getData () const |
const ECValue * | getNext () const |
Friends | |
class | EquivalenceClasses |
ECValue - The EquivalenceClasses data structure is just a set of these.
Each of these represents a relation for a value. First it stores the value itself. Next, it provides a "next pointer", which is used to enumerate all of the elements in the unioned set. Finally, it defines either a "end of list pointer" or "leader pointer" depending on whether the value itself is a leader. A "leader pointer" points to the node that is the leader for this element, if the node is not a leader. A "end of list pointer" points to the last node in the list of members of this list. Whether or not a node is a leader is determined by a bit stolen from one of the pointers.
Definition at line 74 of file EquivalenceClasses.h.
|
inline |
Definition at line 109 of file EquivalenceClasses.h.
|
inline |
Definition at line 118 of file EquivalenceClasses.h.
|
inline |
Definition at line 120 of file EquivalenceClasses.h.
Referenced by llvm::EquivalenceClasses< BasicBlock * >::unionSets().
|
inline |
Definition at line 117 of file EquivalenceClasses.h.
|
friend |
Definition at line 75 of file EquivalenceClasses.h.
References EquivalenceClasses.
Referenced by EquivalenceClasses.