[all-commits] [llvm/llvm-project] a51719: [mlir][NFC] Refactor ClassID into a TypeID class.
River Riddle via All-commits
all-commits at lists.llvm.org
Fri Apr 10 23:57:33 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a517191a474f7d6867621d0f8e8cc454c27334bf
https://github.com/llvm/llvm-project/commit/a517191a474f7d6867621d0f8e8cc454c27334bf
Author: River Riddle <riddleriver at gmail.com>
Date: 2020-04-10 (Fri, 10 Apr 2020)
Changed paths:
M mlir/docs/WritingAPass.md
M mlir/include/mlir/IR/AttributeSupport.h
M mlir/include/mlir/IR/Dialect.h
M mlir/include/mlir/IR/DialectHooks.h
M mlir/include/mlir/IR/DialectInterface.h
M mlir/include/mlir/IR/Location.h
M mlir/include/mlir/IR/OpDefinition.h
M mlir/include/mlir/IR/OperationSupport.h
M mlir/include/mlir/IR/StorageUniquerSupport.h
M mlir/include/mlir/IR/TypeSupport.h
M mlir/include/mlir/Interfaces/SideEffects.h
M mlir/include/mlir/Pass/AnalysisManager.h
M mlir/include/mlir/Pass/Pass.h
M mlir/include/mlir/Pass/PassInstrumentation.h
M mlir/include/mlir/Pass/PassRegistry.h
M mlir/include/mlir/Support/STLExtras.h
A mlir/include/mlir/Support/TypeID.h
M mlir/lib/IR/Dialect.cpp
M mlir/lib/IR/Location.cpp
M mlir/lib/IR/LocationDetail.h
M mlir/lib/IR/MLIRContext.cpp
M mlir/lib/Pass/Pass.cpp
M mlir/lib/Pass/PassRegistry.cpp
M mlir/lib/Pass/PassTiming.cpp
M mlir/tools/mlir-tblgen/PassGen.cpp
Log Message:
-----------
[mlir][NFC] Refactor ClassID into a TypeID class.
Summary: ClassID is a bit janky right now as it involves passing a magic pointer around. This revision hides the internal implementation mechanism within a new class TypeID. This class is a value-typed wrapper around the original ClassID implementation.
Differential Revision: https://reviews.llvm.org/D77768
More information about the All-commits
mailing list