class EquivalenceClasses::ECValue

Declaration

class EquivalenceClasses::ECValue { /* full declaration omitted */ };

Description

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, which provides the ordering that the set queries. 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.

Declared at: llvm/include/llvm/ADT/EquivalenceClasses.h:69

Method Overview

  • public ECValue(const llvm::EquivalenceClasses::ECValue & RHS)
  • public const ElemTy & getData() const
  • public const llvm::EquivalenceClasses::ECValue * getNext() const
  • public bool isLeader() const

Methods

ECValue(
    const llvm::EquivalenceClasses::ECValue& RHS)

Declared at: llvm/include/llvm/ADT/EquivalenceClasses.h:98

Parameters

const llvm::EquivalenceClasses::ECValue& RHS

const ElemTy& getData() const

Declared at: llvm/include/llvm/ADT/EquivalenceClasses.h:107

const llvm::EquivalenceClasses::ECValue* getNext()
    const

Declared at: llvm/include/llvm/ADT/EquivalenceClasses.h:109

bool isLeader() const

Declared at: llvm/include/llvm/ADT/EquivalenceClasses.h:106