LLVM 24.0.0git
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)
 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, FoldingSetNodeID &TempID)
 Instantiations of the FoldingSet template implement this function to compare the given node with the given ID.

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 368 of file FoldingSet.h.

Member Data Documentation

◆ GetNodeProfile

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

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

Definition at line 371 of file FoldingSet.h.

◆ NodeEquals

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

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

Definition at line 376 of file FoldingSet.h.


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