class FoldingSetNodeID
Declaration
class FoldingSetNodeID { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ADT/FoldingSet.h:305
Method Overview
- public template <typename T>inline void Add(const T & x)
- public void AddBoolean(bool B)
- public void AddInteger(int I)
- public void AddInteger(unsigned int I)
- public void AddInteger(long I)
- public void AddInteger(unsigned long I)
- public void AddInteger(long long I)
- public void AddInteger(unsigned long long I)
- public void AddNodeID(const llvm::FoldingSetNodeID & ID)
- public void AddPointer(const void * Ptr)
- public void AddString(llvm::StringRef String)
- public unsigned int ComputeHash() const
- public FoldingSetNodeID()
- public FoldingSetNodeID(llvm::FoldingSetNodeIDRef Ref)
- public llvm::FoldingSetNodeIDRef Intern(llvm::BumpPtrAllocator & Allocator) const
- public inline void clear()
Methods
¶template <typename T>
inline void Add(const T& x)
template <typename T>
inline void Add(const T& x)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:329
Templates
- T
Parameters
- const T& x
¶void AddBoolean(bool B)
void AddBoolean(bool B)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:324
Parameters
- bool B
¶void AddInteger(int I)
void AddInteger(int I)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:318
Parameters
- int I
¶void AddInteger(unsigned int I)
void AddInteger(unsigned int I)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:319
Parameters
- unsigned int I
¶void AddInteger(long I)
void AddInteger(long I)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:320
Parameters
- long I
¶void AddInteger(unsigned long I)
void AddInteger(unsigned long I)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:321
Parameters
- unsigned long I
¶void AddInteger(long long I)
void AddInteger(long long I)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:322
Parameters
- long long I
¶void AddInteger(unsigned long long I)
void AddInteger(unsigned long long I)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:323
Parameters
- unsigned long long I
¶void AddNodeID(const llvm::FoldingSetNodeID& ID)
void AddNodeID(const llvm::FoldingSetNodeID& ID)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:326
Parameters
- const llvm::FoldingSetNodeID& ID
¶void AddPointer(const void* Ptr)
void AddPointer(const void* Ptr)
Description
Add* - Add various data types to Bit data.
Declared at: llvm/include/llvm/ADT/FoldingSet.h:317
Parameters
- const void* Ptr
¶void AddString(llvm::StringRef String)
void AddString(llvm::StringRef String)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:325
Parameters
- llvm::StringRef String
¶unsigned int ComputeHash() const
unsigned int ComputeHash() const
Description
ComputeHash - Compute a strong hash value for this FoldingSetNodeID, used to lookup the node in the FoldingSetBase.
Declared at: llvm/include/llvm/ADT/FoldingSet.h:337
¶FoldingSetNodeID()
FoldingSetNodeID()
Declared at: llvm/include/llvm/ADT/FoldingSet.h:311
¶FoldingSetNodeID(llvm::FoldingSetNodeIDRef Ref)
FoldingSetNodeID(llvm::FoldingSetNodeIDRef Ref)
Declared at: llvm/include/llvm/ADT/FoldingSet.h:313
Parameters
¶llvm::FoldingSetNodeIDRef Intern(
llvm::BumpPtrAllocator& Allocator) const
llvm::FoldingSetNodeIDRef Intern(
llvm::BumpPtrAllocator& Allocator) const
Description
Intern - Copy this node's data to a memory region allocated from the given allocator and return a FoldingSetNodeIDRef describing the interned data.
Declared at: llvm/include/llvm/ADT/FoldingSet.h:354
Parameters
- llvm::BumpPtrAllocator& Allocator
¶inline void clear()
inline void clear()
Description
clear - Clear the accumulated profile, allowing this FoldingSetNodeID object to be used to compute a new profile.
Declared at: llvm/include/llvm/ADT/FoldingSet.h:333