LLVM: llvm::EquivalenceClasses< ElemTy >::ECValue Class Reference (original) (raw)

template
class llvm::EquivalenceClasses< ElemTy >::ECValue

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.