MLIR  20.0.0git
Public Member Functions | List of all members
mlir::TypeIDAllocator Class Reference

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...
 

Detailed Description

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.

Definition at line 292 of file TypeID.h.

Member Function Documentation

◆ allocate()

TypeID mlir::TypeIDAllocator::allocate ( )
inline

Allocate a new TypeID, that is ensured to be unique for the lifetime of the TypeIDAllocator.

Definition at line 296 of file TypeID.h.


The documentation for this class was generated from the following file: