LLVM 24.0.0git
PerThreadBumpPtrAllocator.h File Reference
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>
#include <mutex>
#include <vector>

Go to the source code of this file.

Classes

class  llvm::parallel::PerThreadAllocator< AllocatorTy >
 PerThreadAllocator wraps a thread-unsafe allocator (e.g. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::parallel
namespace  llvm::parallel::detail

Typedefs

using llvm::parallel::PerThreadBumpPtrAllocator = PerThreadAllocator<BumpPtrAllocator>

Functions

LLVM_ABI unsigned llvm::parallel::detail::claimPerThreadAllocatorId ()
 Return a new process-unique PerThreadAllocator instance id.