From f98bb414f58ee447481e4de19625baff22718343 Mon Sep 17 00:00:00 2001 From: Kirsten Lee Date: Fri, 23 Oct 2020 14:14:53 -0700 Subject: [PATCH] Add a mlir natvis file for debugging with Visual Studio Differential Revision: https://reviews.llvm.org/D89601 --- mlir/utils/MLIRVisualizers/mlir.natvis | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 mlir/utils/MLIRVisualizers/mlir.natvis diff --git a/mlir/utils/MLIRVisualizers/mlir.natvis b/mlir/utils/MLIRVisualizers/mlir.natvis new file mode 100644 index 0000000..49332f3 --- /dev/null +++ b/mlir/utils/MLIRVisualizers/mlir.natvis @@ -0,0 +1,36 @@ + + + + + {"$T3"} + + ($T3*)impl + + + + + {ownerAndKind} + + + (Operation*)(ImplType::InfoTy::PointerBitMask & ownerAndKind.Value) + + + (detail::TrailingOpResult*)(ImplType::InfoTy::PointerBitMask & ownerAndKind.Value) + + + (detail::BlockArgumentImpl*)(ImplType::InfoTy::PointerBitMask & ownerAndKind.Value) + + ownerAndKind + + + + + + (LocationAttr)impl + + + + -- 2.7.4