LLVM: llvm::HashNode Struct Reference (original) (raw)

A HashNode is an entry in an OutlinedHashTree, holding a hash value and a collection of Successors (other HashNodes). More...

#include "[llvm/CGData/OutlinedHashTree.h](OutlinedHashTree%5F8h%5Fsource.html)"

Public Attributes
stable_hash Hash = 0
The hash value of the node.
std::optional< unsigned > Terminals
The number of terminals in the sequence ending at this node.
std::unordered_map< stable_hash, std::unique_ptr< HashNode > > Successors
The successors of this node.

A HashNode is an entry in an OutlinedHashTree, holding a hash value and a collection of Successors (other HashNodes).

If a HashNode has a positive terminal value (Terminals > 0), it signifies the end of a hash sequence with that occurrence count.

Definition at line 32 of file OutlinedHashTree.h.

Hash

Successors

Terminals

std::optional<unsigned> llvm::HashNode::Terminals


The documentation for this struct was generated from the following file: