35
35
<Type Name =" Slang::NameLoc" >
36
36
<DisplayString >{{name={(char*)((*name).text.buffer.pointer+1), s} loc={loc.raw}}}</DisplayString >
37
37
</Type >
38
-
39
- <Type Name =" Slang::IRInst" >
38
+ <Type Name =" Slang::IRValue" >
39
+ <DisplayString >{{{op}}}</DisplayString >
40
+ <Expand >
41
+ <Item Name =" [OpCode]" >op</Item >
42
+ <Item Name =" [Type]" >type</Item >
43
+ <Item Name =" [IRInst]" >(Slang::IRInst*)this</Item >
44
+ <ExpandedItem Condition =" op==kIROp_decl_ref" >(Slang::IRDeclRef*)this</ExpandedItem >
45
+ <ExpandedItem Condition =" op==kIROp_Func" >(Slang::IRFunc*)this</ExpandedItem >
46
+ <ExpandedItem Condition =" op==kIROp_Block" >(Slang::IRBlock*)this</ExpandedItem >
47
+ <Item Name =" ====Uses====" >"-------"</Item >
48
+ <LinkedListItems >
49
+ <HeadPointer >firstUse</HeadPointer >
50
+ <NextPointer >nextUse</NextPointer >
51
+ <ValueNode >usedValue</ValueNode >
52
+ </LinkedListItems >
53
+
54
+ </Expand >
55
+ </Type >
56
+ <Type Name =" Slang::IRUser" >
40
57
<DisplayString >{{{op}}}</DisplayString >
41
58
<Expand >
42
59
<Item Name =" [OpCode]" >op</Item >
65
82
<Item Name =" [FirstBlock]" >firstBlock</Item >
66
83
</Expand >
67
84
</Type >
85
+
86
+ <Type Name =" Slang::IRDeclRef" >
87
+ <DisplayString >{{IRDeclRef {declRef}}}</DisplayString >
88
+ <Expand >
89
+ <Item Name =" [OpCode]" >op</Item >
90
+ <ExpandedItem >declRef</ExpandedItem >
91
+ </Expand >
92
+ </Type >
93
+ <Type Name =" Slang::IRUse" >
94
+ <DisplayString >{{IRUse {usedValue}}}</DisplayString >
95
+ <Expand >
96
+ <Item Name =" [NextUse]" >nextUse</Item >
97
+ <ExpandedItem >usedValue</ExpandedItem >
98
+ </Expand >
99
+ </Type >
68
100
</AutoVisualizer >
0 commit comments