Allow SymbolUserOpInterface operators to be used in RemoveDeadValues Pass (#117405)
[llvm-project.git] / mlir / utils / MLIRVisualizers / mlir.natvis
blob49332f34aa5f9a7674c86a2773b4ffcc3ae9c0a1
1 <?xml version="1.0" encoding="utf-8"?>
2 <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
3 <Type Name="mlir::detail::StorageUserBase&lt;*&gt;">
4 <!--handles mlir::Type-->
5 <DisplayString>{"$T3"}</DisplayString>
6 <Expand>
7 <ExpandedItem>($T3*)impl</ExpandedItem>
8 </Expand>
9 </Type>
11 <Type Name="mlir::Value">
12 <DisplayString>{ownerAndKind}</DisplayString>
13 <Expand>
14 <Item Name="OpResult" Condition=
15 "((ownerAndKind.Value &gt;&gt; ImplType::InfoTy::IntShift) &amp; ImplType::InfoTy::IntMask) &lt; mlir::Value::Kind::TrailingOpResult">
16 (Operation*)(ImplType::InfoTy::PointerBitMask &amp; ownerAndKind.Value)
17 </Item>
18 <Item Name="TrailingOpResult" Condition=
19 "((ownerAndKind.Value &gt;&gt; ImplType::InfoTy::IntShift) &amp; ImplType::InfoTy::IntMask) == mlir::Value::Kind::TrailingOpResult">
20 (detail::TrailingOpResult*)(ImplType::InfoTy::PointerBitMask &amp; ownerAndKind.Value)
21 </Item>
22 <Item Name="BlockArgument" Condition=
23 "((ownerAndKind.Value &gt;&gt; ImplType::InfoTy::IntShift) &amp; ImplType::InfoTy::IntMask) == mlir::Value::Kind::BlockArgument">
24 (detail::BlockArgumentImpl*)(ImplType::InfoTy::PointerBitMask &amp; ownerAndKind.Value)
25 </Item>
26 <Item Name="ownerAndKind">ownerAndKind</Item>
27 </Expand>
28 </Type>
30 <Type Name="mlir::Location">
31 <Expand>
32 <ExpandedItem >(LocationAttr)impl</ExpandedItem>
33 </Expand>
34 </Type>
35 </AutoVisualizer>