LLVM: lib/Support/FoldingSet.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static FoldingSetBase::Node * GetNextPtr (void *NextInBucketPtr)
Helper functions for FoldingSetBase.
static void ** GetBucketPtr (void *NextInBucketPtr)
testing.
static void ** GetBucketFor (unsigned Hash, void **Buckets, unsigned NumBuckets)
GetBucketFor - Hash the specified node ID and return the hash bucket for the specified ID.
static void ** AllocateBuckets (unsigned NumBuckets)
AllocateBuckets - Allocated initialized bucket memory.

AllocateBuckets()

static void ** AllocateBuckets ( unsigned NumBuckets) static

GetBucketFor()

static void ** GetBucketFor ( unsigned Hash, void ** Buckets, unsigned NumBuckets ) static

GetBucketPtr()

static void ** GetBucketPtr ( void * NextInBucketPtr) static

GetNextPtr()