2013-01-26 00:37:25 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
2016-03-28 19:58:38 +02:00
|
|
|
Visual Studio Native Debugging Visualizers for LLVM
|
2013-01-26 00:37:25 +01:00
|
|
|
|
2016-03-28 19:58:38 +02:00
|
|
|
For Visual Studio 2013 only, put this file into
|
|
|
|
"%USERPROFILE%\Documents\Visual Studio 2013\Visualizers" or create a symbolic link so it updates automatically.
|
|
|
|
|
|
|
|
For later versions of Visual Studio, no setup is required.
|
2013-01-26 00:37:25 +01:00
|
|
|
-->
|
|
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
2016-06-13 03:43:14 +02:00
|
|
|
<Type Name="llvm::SmallVectorImpl<*>">
|
2018-07-21 17:38:47 +02:00
|
|
|
<DisplayString IncludeView ="elt0" Condition="Size == 0"></DisplayString>
|
2016-06-13 03:43:14 +02:00
|
|
|
<DisplayString IncludeView ="elt0">{(($T1*)BeginX)[0]}{*this,view(elt1)}</DisplayString>
|
2018-07-21 17:38:47 +02:00
|
|
|
<DisplayString IncludeView ="elt1" Condition="Size == 1"></DisplayString>
|
2016-06-13 03:43:14 +02:00
|
|
|
<DisplayString IncludeView ="elt1">, {(($T1*)BeginX)[1]}{*this,view(elt2)}</DisplayString>
|
2018-07-21 17:38:47 +02:00
|
|
|
<DisplayString IncludeView ="elt2" Condition="Size == 2"></DisplayString>
|
2016-06-13 03:43:14 +02:00
|
|
|
<DisplayString IncludeView ="elt2">, {(($T1*)BeginX)[2]}{*this,view(elt3)}</DisplayString>
|
2018-07-21 17:38:47 +02:00
|
|
|
<DisplayString IncludeView ="elt3" Condition="Size == 3"></DisplayString>
|
2018-08-06 18:47:24 +02:00
|
|
|
<DisplayString IncludeView ="elt3">, {(($T1*)BeginX)[3]}{*this,view(elt4)}</DisplayString>
|
2018-07-21 17:38:47 +02:00
|
|
|
<DisplayString IncludeView ="elt4" Condition="Size == 4"></DisplayString>
|
|
|
|
<DisplayString IncludeView ="elt4">, /* {Size - 4} more*/ </DisplayString>
|
|
|
|
<DisplayString Condition="Size == 0">empty</DisplayString>
|
|
|
|
<DisplayString Condition="Size != 0">{{{*this,view(elt0)}}}</DisplayString>
|
2019-01-02 20:26:50 +01:00
|
|
|
<DisplayString>Uninitialized</DisplayString>
|
2016-06-13 03:43:14 +02:00
|
|
|
<Expand>
|
2018-07-21 17:38:47 +02:00
|
|
|
<Item Name="[size]">Size</Item>
|
|
|
|
<Item Name="[capacity]">Capacity</Item>
|
2016-06-13 03:43:14 +02:00
|
|
|
<ArrayItems>
|
2018-07-21 17:38:47 +02:00
|
|
|
<Size>Size</Size>
|
2016-06-13 03:43:14 +02:00
|
|
|
<ValuePointer>($T1*)BeginX</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
2019-06-08 02:23:08 +02:00
|
|
|
<Type Name="llvm::APInt">
|
|
|
|
<!-- For now, only handle up to 64-bit unsigned ints -->
|
|
|
|
<DisplayString Condition="BitWidth <= 64">{U.VAL}</DisplayString>
|
|
|
|
<DisplayString>Cannot visualize APInts longer than 64 bits</DisplayString>
|
|
|
|
</Type>
|
2016-06-05 20:34:02 +02:00
|
|
|
<Type Name="llvm::ArrayRef<*>">
|
|
|
|
<DisplayString Condition="Length == 0">empty</DisplayString>
|
|
|
|
<DisplayString Condition="Length != 0">{{ size={Length} }}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[size]">Length</Item>
|
|
|
|
<ArrayItems>
|
|
|
|
<Size>Length</Size>
|
|
|
|
<ValuePointer>Data</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Type Name="llvm::SmallString<*>">
|
2018-07-21 17:38:47 +02:00
|
|
|
<DisplayString>{(const char*)BeginX,[Size] na}</DisplayString>
|
|
|
|
<StringView>(const char*)BeginX,[Size]</StringView>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2018-07-21 17:38:47 +02:00
|
|
|
<Item Name="[size]">Size</Item>
|
|
|
|
<Item Name="[capacity]">Capacity</Item>
|
2013-01-26 00:37:25 +01:00
|
|
|
<ArrayItems>
|
2018-07-21 17:38:47 +02:00
|
|
|
<Size>Size</Size>
|
2013-01-26 00:37:25 +01:00
|
|
|
<ValuePointer>(char*)BeginX</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2018-07-28 19:25:42 +02:00
|
|
|
<Type Name="StringView">
|
|
|
|
<DisplayString>{First,[Last - First]s}</DisplayString>
|
|
|
|
</Type>
|
|
|
|
|
2013-01-26 00:37:25 +01:00
|
|
|
<Type Name="llvm::StringRef">
|
2014-02-07 23:57:20 +01:00
|
|
|
<DisplayString>{Data,[Length]s}</DisplayString>
|
|
|
|
<StringView>Data,[Length]s</StringView>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2014-02-07 23:57:20 +01:00
|
|
|
<Item Name="[size]">Length</Item>
|
2013-01-26 00:37:25 +01:00
|
|
|
<ArrayItems>
|
|
|
|
<Size>Length</Size>
|
|
|
|
<ValuePointer>Data</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
2019-06-30 23:54:34 +02:00
|
|
|
<!-- PointerIntPair. In addition to the regular view, it is possible to view just the pointer or just the int
|
|
|
|
The same code is duplicated from the regular viewer to improve the performance of the common case -->
|
2019-06-03 01:33:32 +02:00
|
|
|
<Type Name="llvm::PointerIntPair<*>">
|
2019-06-30 23:54:34 +02:00
|
|
|
<DisplayString IncludeView="ptr">{($T1)(Value & $T5::PointerBitMask)}</DisplayString>
|
|
|
|
<DisplayString IncludeView="int">{($T3)((Value >> $T5::IntShift) & $T5::IntMask)}</DisplayString>
|
2018-12-14 19:20:21 +01:00
|
|
|
<DisplayString>{$T5::IntMask}: {($T1)(Value & $T5::PointerBitMask)} [{($T3)((Value >> $T5::IntShift) & $T5::IntMask)}]</DisplayString>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2018-12-14 19:20:21 +01:00
|
|
|
<Item Name="[ptr]">($T1)(Value & $T5::PointerBitMask)</Item>
|
|
|
|
<Item Name="[int]">($T3)((Value >> $T5::IntShift) & $T5::IntMask)</Item>
|
2013-01-26 00:37:25 +01:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
2019-06-30 23:54:34 +02:00
|
|
|
<!-- PointerUnion types -->
|
2019-06-03 01:33:32 +02:00
|
|
|
<Type Name="llvm::pointer_union_detail::PointerUnionMembers<*>">
|
|
|
|
<DisplayString Optional="true" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 0">
|
|
|
|
{($T4)(Val.Value & $T2::InfoTy::PointerBitMask)}
|
2019-01-05 17:59:27 +01:00
|
|
|
</DisplayString>
|
2019-06-03 01:33:32 +02:00
|
|
|
<DisplayString Optional="true" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 1">
|
|
|
|
{($T5)(Val.Value & $T2::InfoTy::PointerBitMask)}
|
2019-01-05 17:59:27 +01:00
|
|
|
</DisplayString>
|
2019-06-03 01:33:32 +02:00
|
|
|
<DisplayString Optional="true" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 2">
|
|
|
|
{($T6)(Val.Value & $T2::InfoTy::PointerBitMask)}
|
2019-01-03 01:52:54 +01:00
|
|
|
</DisplayString>
|
2019-06-03 01:33:32 +02:00
|
|
|
<DisplayString Optional="true" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 3">
|
|
|
|
{($T7)(Val.Value & $T2::InfoTy::PointerBitMask)}
|
2019-01-03 01:52:54 +01:00
|
|
|
</DisplayString>
|
2019-06-03 01:33:32 +02:00
|
|
|
<DisplayString>Unexpected index in PointerUnion: {(Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask}</DisplayString>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2019-06-03 01:33:32 +02:00
|
|
|
<Item Name="[Holds]" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 0">"$T4",s8b</Item>
|
|
|
|
<Item Name="[Ptr]" Optional="true" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 0">
|
|
|
|
($T4)(Val.Value & $T2::InfoTy::PointerBitMask)
|
2019-01-03 01:52:54 +01:00
|
|
|
</Item>
|
2019-06-03 01:33:32 +02:00
|
|
|
<Item Name="[Holds]" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 1">"$T5",s8b</Item>
|
|
|
|
<Item Name="[Ptr]" Optional="true" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 1">
|
|
|
|
($T5)(Val.Value & $T2::InfoTy::PointerBitMask)
|
2019-01-03 01:52:54 +01:00
|
|
|
</Item>
|
2019-06-03 01:33:32 +02:00
|
|
|
<Item Name="[Holds]" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 2">"$T6",s8b</Item>
|
|
|
|
<Item Name="[Ptr]" Optional="true" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 2">
|
|
|
|
($T6)(Val.Value & $T2::InfoTy::PointerBitMask)
|
2019-01-03 01:52:54 +01:00
|
|
|
</Item>
|
2019-06-03 01:33:32 +02:00
|
|
|
<Item Name="[Holds]" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 3">"$T6",s8b</Item>
|
|
|
|
<Item Name="[Ptr]" Optional="true" Condition="((Val.Value>>$T2::InfoTy::IntShift) & $T2::InfoTy::IntMask) == 3">
|
|
|
|
($T7)(Val.Value & $T2::InfoTy::PointerBitMask)
|
2019-01-03 01:52:54 +01:00
|
|
|
</Item>
|
2013-01-26 00:37:25 +01:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
2019-06-03 01:33:32 +02:00
|
|
|
|
2013-01-26 00:37:25 +01:00
|
|
|
<Type Name="llvm::iplist<*,*>">
|
|
|
|
<DisplayString Condition="Head == 0">{{ empty }}</DisplayString>
|
|
|
|
<DisplayString Condition="Head != 0">{{ head={Head} }}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<LinkedListItems>
|
|
|
|
<HeadPointer>Head</HeadPointer>
|
|
|
|
<NextPointer>Next</NextPointer>
|
|
|
|
<ValueNode>this</ValueNode>
|
|
|
|
</LinkedListItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="llvm::IntrusiveRefCntPtr<*>">
|
|
|
|
<DisplayString Condition="Obj == 0">empty</DisplayString>
|
2019-01-09 19:59:56 +01:00
|
|
|
<DisplayString Condition="(Obj != 0) && (Obj->RefCount == 1)">RefPtr [1 ref] {*Obj}</DisplayString>
|
|
|
|
<DisplayString Condition="(Obj != 0) && (Obj->RefCount != 1)">RefPtr [{Obj->RefCount} refs] {*Obj}</DisplayString>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2019-01-09 19:59:56 +01:00
|
|
|
<Item Condition="Obj != 0" Name="[refs]">Obj->RefCount</Item>
|
2014-02-07 23:57:20 +01:00
|
|
|
<ExpandedItem Condition="Obj != 0">Obj</ExpandedItem>
|
2013-01-26 00:37:25 +01:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="llvm::SmallPtrSet<*,*>">
|
2019-06-03 01:33:32 +02:00
|
|
|
<DisplayString Condition="CurArray == SmallArray">{{ [Small Mode] size={NumNonEmpty}, capacity={CurArraySize} }}</DisplayString>
|
|
|
|
<DisplayString Condition="CurArray != SmallArray">{{ [Big Mode] size={NumNonEmpty}, capacity={CurArraySize} }}</DisplayString>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2019-06-03 01:33:32 +02:00
|
|
|
<Item Name="[size]">NumNonEmpty</Item>
|
2014-02-07 23:57:20 +01:00
|
|
|
<Item Name="[capacity]">CurArraySize</Item>
|
|
|
|
<ArrayItems>
|
2019-06-03 01:33:32 +02:00
|
|
|
<Size>NumNonEmpty</Size>
|
2014-02-07 23:57:20 +01:00
|
|
|
<ValuePointer>($T1*)CurArray</ValuePointer>
|
|
|
|
</ArrayItems>
|
2013-01-26 00:37:25 +01:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="llvm::DenseMap<*,*,*>">
|
|
|
|
<DisplayString Condition="NumEntries == 0">empty</DisplayString>
|
2014-02-07 23:57:20 +01:00
|
|
|
<DisplayString Condition="NumEntries != 0">{{ size={NumEntries}, buckets={NumBuckets} }}</DisplayString>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2014-02-07 23:57:20 +01:00
|
|
|
<Item Name="[size]">NumEntries</Item>
|
|
|
|
<Item Name="[buckets]">NumBuckets</Item>
|
2013-01-26 00:37:25 +01:00
|
|
|
<ArrayItems>
|
|
|
|
<Size>NumBuckets</Size>
|
|
|
|
<ValuePointer>Buckets</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="llvm::StringMap<*,*>">
|
2014-07-09 07:34:24 +02:00
|
|
|
<DisplayString>{{ size={NumItems}, buckets={NumBuckets} }}</DisplayString>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2014-07-09 07:34:24 +02:00
|
|
|
<Item Name="[size]">NumItems</Item>
|
2014-02-07 23:57:20 +01:00
|
|
|
<Item Name="[buckets]">NumBuckets</Item>
|
|
|
|
<ArrayItems>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Size>NumBuckets</Size>
|
2014-02-07 23:57:20 +01:00
|
|
|
<ValuePointer>(MapEntryTy**)TheTable</ValuePointer>
|
|
|
|
</ArrayItems>
|
2013-01-26 00:37:25 +01:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="llvm::StringMapEntry<*>">
|
|
|
|
<DisplayString Condition="StrLen == 0">empty</DisplayString>
|
2014-02-07 23:57:20 +01:00
|
|
|
<DisplayString Condition="StrLen != 0">({this+1,s}, {second})</DisplayString>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Expand>
|
2014-02-07 23:57:20 +01:00
|
|
|
<Item Name="[key]">this+1,s</Item>
|
2013-01-26 00:37:25 +01:00
|
|
|
<Item Name="[value]" Condition="StrLen != 0">second</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="llvm::Triple">
|
|
|
|
<DisplayString>{Data}</DisplayString>
|
|
|
|
</Type>
|
2014-03-03 22:15:07 +01:00
|
|
|
|
|
|
|
<Type Name="llvm::Optional<*>">
|
2018-06-28 19:55:54 +02:00
|
|
|
<DisplayString Condition="!Storage.hasVal">None</DisplayString>
|
|
|
|
<DisplayString Condition="Storage.hasVal">{*(($T1 *)(unsigned char *)Storage.storage.buffer)}</DisplayString>
|
2014-03-03 22:15:07 +01:00
|
|
|
<Expand>
|
2018-06-28 19:55:54 +02:00
|
|
|
<Item Name="[underlying]" Condition="Storage.hasVal">*(($T1 *)(unsigned char *)Storage.storage.buffer)</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<Type Name="llvm::Expected<*>">
|
|
|
|
<DisplayString Condition="HasError">Error</DisplayString>
|
|
|
|
<DisplayString Condition="!HasError">{*((storage_type *)TStorage.buffer)}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[value]" Condition="!HasError">*((storage_type *)TStorage.buffer)</Item>
|
|
|
|
<Item Name="[error]" Condition="HasError">*((error_type *)ErrorStorage.buffer)</Item>
|
2014-03-03 22:15:07 +01:00
|
|
|
</Expand>
|
|
|
|
</Type>
|
2016-04-21 22:58:41 +02:00
|
|
|
|
2016-06-05 20:34:02 +02:00
|
|
|
|
2016-04-21 22:58:41 +02:00
|
|
|
<!-- Since we're in MSVC, we can assume that the system is little endian. Therefore
|
|
|
|
the little and native cases just require a cast. Handle this easy case first. Use
|
|
|
|
a wildcard for the second template argument (the endianness), but we will use a
|
|
|
|
specific value of 0 later on for the big endian to give it priority for being a
|
|
|
|
better match. -->
|
|
|
|
<Type Name="llvm::support::detail::packed_endian_specific_integral<*,*,1>">
|
|
|
|
<DisplayString>{{little endian value = {*(($T1*)(unsigned char *)Value.buffer)} }}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[Raw Bytes]" Condition="sizeof($T1)==1">(unsigned char *)Value.buffer,1</Item>
|
|
|
|
<Item Name="[Raw Bytes]" Condition="sizeof($T1)==2">(unsigned char *)Value.buffer,2</Item>
|
|
|
|
<Item Name="[Raw Bytes]" Condition="sizeof($T1)==4">(unsigned char *)Value.buffer,4</Item>
|
|
|
|
<Item Name="[Raw Bytes]" Condition="sizeof($T1)==8">(unsigned char *)Value.buffer,8</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
|
|
|
|
|
|
|
<!-- Now handle the hard case of big endian. We need to do the swizzling here, but
|
|
|
|
we need to specialize it based on the size of the value type. -->
|
|
|
|
<Type Name="llvm::support::detail::packed_endian_specific_integral<*,0,1>">
|
|
|
|
<DisplayString Condition="sizeof($T1)==1">{{ big endian value = {*(unsigned char *)Value.buffer} }}</DisplayString>
|
|
|
|
<DisplayString Condition="sizeof($T1)==2">{{ big endian value = {(($T1)(*(unsigned char *)Value.buffer) << 8)
|
|
|
|
| ($T1)(*((unsigned char *)Value.buffer+1))} }}</DisplayString>
|
|
|
|
<DisplayString Condition="sizeof($T1)==4">{{ big endian value = {(($T1)(*(unsigned char *)Value.buffer) << 24)
|
|
|
|
| (($T1)(*((unsigned char *)Value.buffer+1)) << 16)
|
|
|
|
| (($T1)(*((unsigned char *)Value.buffer+2)) << 8)
|
|
|
|
| ($T1)(*((unsigned char *)Value.buffer+3))} }}</DisplayString>
|
|
|
|
<DisplayString Condition="sizeof($T1)==8">{{ big endian value = {(($T1)(*(unsigned char *)Value.buffer) << 56)
|
|
|
|
| (($T1)(*((unsigned char *)Value.buffer+1)) << 48)
|
|
|
|
| (($T1)(*((unsigned char *)Value.buffer+2)) << 40)
|
|
|
|
| (($T1)(*((unsigned char *)Value.buffer+3)) << 32)
|
|
|
|
| (($T1)(*((unsigned char *)Value.buffer+4)) << 24)
|
|
|
|
| (($T1)(*((unsigned char *)Value.buffer+5)) << 16)
|
|
|
|
| (($T1)(*((unsigned char *)Value.buffer+6)) << 8)
|
|
|
|
| ($T1)(*((unsigned char *)Value.buffer+7))} }}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="[Raw Bytes]" Condition="sizeof($T1)==1">(unsigned char *)Value.buffer,1</Item>
|
|
|
|
<Item Name="[Raw Bytes]" Condition="sizeof($T1)==2">(unsigned char *)Value.buffer,2</Item>
|
|
|
|
<Item Name="[Raw Bytes]" Condition="sizeof($T1)==4">(unsigned char *)Value.buffer,4</Item>
|
|
|
|
<Item Name="[Raw Bytes]" Condition="sizeof($T1)==8">(unsigned char *)Value.buffer,8</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
2020-05-15 15:38:37 +02:00
|
|
|
<!-- llvm::Type has two fields, SubclassData and ContainedTys, the meaning of which change depending on the TypeID.
|
|
|
|
This visualiser decodes those fields based on the value of ID.
|
|
|
|
-->
|
|
|
|
<Type Name="llvm::Type">
|
|
|
|
<DisplayString>{ID}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<Item Name="ID">ID</Item>
|
|
|
|
|
|
|
|
<Item Name="NumBits" Condition="ID == llvm::Type::TypeID::IntegerTyID">SubclassData</Item>
|
|
|
|
|
|
|
|
<Item Name="ReturnType" Condition="ID == llvm::Type::TypeID::FunctionTyID">*ContainedTys</Item>
|
|
|
|
<Synthetic Name="Arguments" Condition="ID == llvm::Type::TypeID::FunctionTyID">
|
|
|
|
<DisplayString>{NumContainedTys - 1}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<ArrayItems>
|
|
|
|
<Size>NumContainedTys - 1</Size>
|
|
|
|
<ValuePointer>ContainedTys + 1</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Synthetic>
|
|
|
|
<Item Name="IsVarArg" Condition="ID == llvm::Type::TypeID::FunctionTyID">SubclassData == 1</Item>
|
|
|
|
|
|
|
|
<Item Name="HasBody" Condition="ID == llvm::Type::TypeID::StructTyID">(SubclassData & llvm::StructType::SCDB_HasBody) != 0</Item>
|
|
|
|
<Item Name="Packed" Condition="ID == llvm::Type::TypeID::StructTyID">(SubclassData & llvm::StructType::SCDB_Packed) != 0</Item>
|
|
|
|
<Item Name="IsLiteral" Condition="ID == llvm::Type::TypeID::StructTyID">(SubclassData & llvm::StructType::SCDB_IsLiteral) != 0</Item>
|
|
|
|
<Item Name="IsSized" Condition="ID == llvm::Type::TypeID::StructTyID">(SubclassData & llvm::StructType::SCDB_IsSized) != 0</Item>
|
|
|
|
<Synthetic Name="Members" Condition="ID == llvm::Type::TypeID::StructTyID">
|
|
|
|
<DisplayString>{NumContainedTys}</DisplayString>
|
|
|
|
<Expand>
|
|
|
|
<ArrayItems>
|
|
|
|
<Size>NumContainedTys</Size>
|
|
|
|
<ValuePointer>ContainedTys</ValuePointer>
|
|
|
|
</ArrayItems>
|
|
|
|
</Expand>
|
|
|
|
</Synthetic>
|
|
|
|
|
2021-02-15 14:20:11 +01:00
|
|
|
<Item Name="ElementType" Condition="ID == llvm::Type::TypeID::ArrayTyID">*ContainedTys</Item>
|
2020-05-15 15:38:37 +02:00
|
|
|
<Item Name="NumElements" Condition="ID == llvm::Type::TypeID::ArrayTyID">((llvm::ArrayType*)this)->NumElements</Item>
|
|
|
|
|
2021-02-15 14:20:11 +01:00
|
|
|
<Item Name="ElementType" Condition="ID == llvm::Type::TypeID::FixedVectorTyID">*ContainedTys</Item>
|
|
|
|
<Item Name="NumElements" Condition="ID == llvm::Type::TypeID::FixedVectorTyID">((llvm::VectorType*)this)->ElementQuantity</Item>
|
|
|
|
|
|
|
|
<Item Name="ElementType" Condition="ID == llvm::Type::TypeID::ScalableVectorTyID">*ContainedTys</Item>
|
|
|
|
<Item Name="MinNumElements" Condition="ID == llvm::Type::TypeID::ScalableVectorTyID">((llvm::VectorType*)this)->ElementQuantity</Item>
|
|
|
|
|
2020-05-15 15:38:37 +02:00
|
|
|
<Item Name="AddressSpace" Condition="ID == llvm::Type::TypeID::PointerTyID">SubclassData</Item>
|
|
|
|
<Item Name="PointeeType" Condition="ID == llvm::Type::TypeID::PointerTyID">*ContainedTys</Item>
|
|
|
|
|
|
|
|
<Item Name="Context">Context</Item>
|
|
|
|
</Expand>
|
|
|
|
</Type>
|
2013-01-26 00:37:25 +01:00
|
|
|
</AutoVisualizer>
|