class Graph::NodeSubset

Declaration

class Graph::NodeSubset { /* full declaration omitted */ };

Description

NodeSubset - A subset of the graph's nodes.

Declared at: llvm/unittests/ADT/TestGraph.h:37

Method Overview

  • public void AddNode(unsigned int Idx)
  • public llvm::Graph::NodeSubset Complement() const
  • public void DeleteNode(unsigned int Idx)
  • public llvm::Graph::NodeSubset Join(const llvm::Graph::NodeSubset & other) const
  • public llvm::Graph::NodeSubset Meet(const llvm::Graph::NodeSubset & other) const
  • public NodeSubset()
  • public bool count(unsigned int Idx)
  • public bool isEmpty() const
  • public bool isSubsetOf(const llvm::Graph::NodeSubset & other) const

Methods

void AddNode(unsigned int Idx)

Description

AddNode - Add the node with the given index to the subset.

Declared at: llvm/unittests/ADT/TestGraph.h:56

Parameters

unsigned int Idx

llvm::Graph::NodeSubset Complement() const

Description

Complement - Return the complement of this subset.

Declared at: llvm/unittests/ADT/TestGraph.h:84

void DeleteNode(unsigned int Idx)

Description

DeleteNode - Remove the node with the given index from the subset.

Declared at: llvm/unittests/ADT/TestGraph.h:62

Parameters

unsigned int Idx

llvm::Graph::NodeSubset Join(
    const llvm::Graph::NodeSubset& other) const

Description

Join - Return the union of this subset and the given one.

Declared at: llvm/unittests/ADT/TestGraph.h:89

Parameters

const llvm::Graph::NodeSubset& other

llvm::Graph::NodeSubset Meet(
    const llvm::Graph::NodeSubset& other) const

Description

Meet - Return the intersection of this subset and the given one.

Declared at: llvm/unittests/ADT/TestGraph.h:94

Parameters

const llvm::Graph::NodeSubset& other

NodeSubset()

Description

NodeSubset - Default constructor, creates an empty subset.

Declared at: llvm/unittests/ADT/TestGraph.h:43

bool count(unsigned int Idx)

Description

count - Return true if the node with the given index is in the subset.

Declared at: llvm/unittests/ADT/TestGraph.h:68

Parameters

unsigned int Idx

bool isEmpty() const

Description

isEmpty - Return true if this is the empty set.

Declared at: llvm/unittests/ADT/TestGraph.h:74

bool isSubsetOf(
    const llvm::Graph::NodeSubset& other) const

Description

isSubsetOf - Return true if this set is a subset of the given one.

Declared at: llvm/unittests/ADT/TestGraph.h:79

Parameters

const llvm::Graph::NodeSubset& other