LLVM 17.0.0git
Public Attributes | List of all members
llvm::FoldingSetBase::FoldingSetInfo Struct Reference

Functions provided by the derived class to compute folding properties. More...

#include "llvm/ADT/FoldingSet.h"

Public Attributes

void(* GetNodeProfile )(const FoldingSetBase *Self, Node *N, FoldingSetNodeID &ID)
 GetNodeProfile - Instantiations of the FoldingSet template implement this function to gather data bits for the given node.
 
bool(* NodeEquals )(const FoldingSetBase *Self, Node *N, const FoldingSetNodeID &ID, unsigned IDHash, FoldingSetNodeID &TempID)
 NodeEquals - Instantiations of the FoldingSet template implement this function to compare the given node with the given ID.
 
unsigned(* ComputeNodeHash )(const FoldingSetBase *Self, Node *N, FoldingSetNodeID &TempID)
 ComputeNodeHash - Instantiations of the FoldingSet template implement this function to compute a hash value for the given node.
 

Detailed Description

Functions provided by the derived class to compute folding properties.

This is effectively a vtable for FoldingSetBase, except that we don't actually store a pointer to it in the object.

Definition at line 170 of file FoldingSet.h.

Member Data Documentation

◆ ComputeNodeHash

unsigned(* llvm::FoldingSetBase::FoldingSetInfo::ComputeNodeHash) (const FoldingSetBase *Self, Node *N, FoldingSetNodeID &TempID)

ComputeNodeHash - Instantiations of the FoldingSet template implement this function to compute a hash value for the given node.

Definition at line 184 of file FoldingSet.h.

◆ GetNodeProfile

void(* llvm::FoldingSetBase::FoldingSetInfo::GetNodeProfile) (const FoldingSetBase *Self, Node *N, FoldingSetNodeID &ID)

GetNodeProfile - Instantiations of the FoldingSet template implement this function to gather data bits for the given node.

Definition at line 173 of file FoldingSet.h.

◆ NodeEquals

bool(* llvm::FoldingSetBase::FoldingSetInfo::NodeEquals) (const FoldingSetBase *Self, Node *N, const FoldingSetNodeID &ID, unsigned IDHash, FoldingSetNodeID &TempID)

NodeEquals - Instantiations of the FoldingSet template implement this function to compare the given node with the given ID.

Definition at line 178 of file FoldingSet.h.


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