LLVM  6.0.0svn
Classes | Namespaces | Functions
RecyclingAllocator.h File Reference
#include "llvm/Support/Recycler.h"
Include dependency graph for RecyclingAllocator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::RecyclingAllocator< AllocatorType, T, Size, Align >
 RecyclingAllocator - This class wraps an Allocator, adding the functionality of recycling deleted objects. More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

template<class AllocatorType , class T , size_t Size, size_t Align>
void * operator new (size_t size, llvm::RecyclingAllocator< AllocatorType, T, Size, Align > &Allocator)
 
template<class AllocatorType , class T , size_t Size, size_t Align>
void operator delete (void *E, llvm::RecyclingAllocator< AllocatorType, T, Size, Align > &A)
 

Function Documentation

◆ operator delete()

template<class AllocatorType , class T , size_t Size, size_t Align>
void operator delete ( void *  E,
llvm::RecyclingAllocator< AllocatorType, T, Size, Align > &  A 
)
inline

Definition at line 71 of file RecyclingAllocator.h.

◆ operator new()

template<class AllocatorType , class T , size_t Size, size_t Align>
void* operator new ( size_t  size,
llvm::RecyclingAllocator< AllocatorType, T, Size, Align > &  Allocator 
)
inline

Definition at line 63 of file RecyclingAllocator.h.

References assert().