class FoldingSetNodeID

Declaration

class FoldingSetNodeID { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ADT/FoldingSet.h:305

Method Overview

Methods

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)

Declared at: llvm/include/llvm/ADT/FoldingSet.h:324

Parameters

bool B

void AddInteger(int I)

Declared at: llvm/include/llvm/ADT/FoldingSet.h:318

Parameters

int I

void AddInteger(unsigned int I)

Declared at: llvm/include/llvm/ADT/FoldingSet.h:319

Parameters

unsigned int I

void AddInteger(long I)

Declared at: llvm/include/llvm/ADT/FoldingSet.h:320

Parameters

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)

Declared at: llvm/include/llvm/ADT/FoldingSet.h:322

Parameters

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)

Declared at: llvm/include/llvm/ADT/FoldingSet.h:326

Parameters

const llvm::FoldingSetNodeID& ID

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)

Declared at: llvm/include/llvm/ADT/FoldingSet.h:325

Parameters

llvm::StringRef String

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()

Declared at: llvm/include/llvm/ADT/FoldingSet.h:311

FoldingSetNodeID(llvm::FoldingSetNodeIDRef Ref)

Declared at: llvm/include/llvm/ADT/FoldingSet.h:313

Parameters

llvm::FoldingSetNodeIDRef Ref

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()

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