MLIR
20.0.0git
|
This class provides a way to define new TypeIDs at runtime. More...
#include "mlir/Support/TypeID.h"
Public Member Functions | |
TypeID | allocate () |
Allocate a new TypeID, that is ensured to be unique for the lifetime of the TypeIDAllocator. More... | |
This class provides a way to define new TypeIDs at runtime.
When the allocator is destructed, all allocated TypeIDs become invalid and therefore should not be used.
|
inline |
Allocate a new TypeID, that is ensured to be unique for the lifetime of the TypeIDAllocator.