MLIR
20.0.0git
|
An allocator for distinct attribute storage instances. More...
#include "IR/AttributeDetail.h"
Public Member Functions | |
DistinctAttributeAllocator ()=default | |
DistinctAttributeAllocator (DistinctAttributeAllocator &&)=delete | |
DistinctAttributeAllocator (const DistinctAttributeAllocator &)=delete | |
DistinctAttributeAllocator & | operator= (const DistinctAttributeAllocator &)=delete |
DistinctAttrStorage * | allocate (Attribute referencedAttr) |
Allocates a distinct attribute storage using a thread local bump pointer allocator to enable synchronization free parallel allocations. More... | |
An allocator for distinct attribute storage instances.
It uses thread local bump pointer allocators stored in a thread local cache to ensure the storage is freed after the destruction of the distinct attribute allocator.
Definition at line 402 of file AttributeDetail.h.
|
default |
|
delete |
|
delete |
|
inline |
Allocates a distinct attribute storage using a thread local bump pointer allocator to enable synchronization free parallel allocations.
Definition at line 413 of file AttributeDetail.h.
References mlir::ThreadLocalCache< ValueT >::get().
|
delete |