[all-commits] [llvm/llvm-project] cf4f97: [mlir] Add classes to define new TypeIDs at runtime
Fehr Mathieu via All-commits
all-commits at lists.llvm.org
Wed Feb 9 14:25:03 PST 2022
Author: Mathieu Fehr <mathieu.fehr at gmail.com>
Date: 2022-02-09 (Wed, 09 Feb 2022)
[mlir] Add classes to define new TypeIDs at runtime
TypeIDAllocator enables the allocation of new TypeIDs at runtime,
that are unique during the lifetime of the allocator.
NonMovableTypeIDOwner is a class used to define a new TypeID for each instance
of a class, using the instance address. This class cannot be copied or moved.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D104534
More information about the All-commits