|
MLIR 24.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) |
| void | beginTransientScope () |
| void | endTransientScope () |
| bool | isInTransientScope () const |
An allocator for distinct attribute storage instances.
Uses a synchronized BumpPtrAllocator to ensure thread-safety. The allocated storage is deleted when the DistinctAttributeAllocator is destroyed.
Definition at line 316 of file AttributeDetail.h.
|
default |
Referenced by DistinctAttributeAllocator(), DistinctAttributeAllocator(), and operator=().
|
delete |
References DistinctAttributeAllocator().
|
delete |
References DistinctAttributeAllocator().
|
inline |
Definition at line 324 of file AttributeDetail.h.
|
inline |
Definition at line 332 of file AttributeDetail.h.
Referenced by mlir::MLIRContext::beginTransientScope().
|
inline |
Definition at line 338 of file AttributeDetail.h.
Referenced by mlir::MLIRContext::endTransientScope().
|
inline |
Definition at line 340 of file AttributeDetail.h.
|
delete |
References DistinctAttributeAllocator().