LLVM  14.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"

Collaboration diagram for llvm::FoldingSetBase::FoldingSetInfo:
Collaboration graph
[legend]

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. More...
 
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. More...
 
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. More...
 

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 167 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 181 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 170 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 175 of file FoldingSet.h.


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