diff --git a/llvm/utils/LLVMVisualizers/llvm.natvis b/llvm/utils/LLVMVisualizers/llvm.natvis --- a/llvm/utils/LLVMVisualizers/llvm.natvis +++ b/llvm/utils/LLVMVisualizers/llvm.natvis @@ -9,18 +9,9 @@ --> - - {((value_type*)BeginX)[0]}{*this,view(elt1)} - - , {((value_type*)BeginX)[1]}{*this,view(elt2)} - - , {((value_type*)BeginX)[2]}{*this,view(elt3)} - - , {((value_type*)BeginX)[3]}{*this,view(elt4)} - - , /* {Size - 4} more*/ empty - {{{*this,view(elt0)}}} + {(value_type*)BeginX,[Size]} + {Size} elements Uninitialized Size @@ -37,8 +28,8 @@ Cannot visualize APInts longer than 64 bits - empty - {{ size={Length} }} + {Data,[Length]} + {Length} elements Length @@ -48,7 +39,7 @@ - {(const char*)BeginX,[Size] na} + {(const char*)BeginX,[Size]s8} (const char*)BeginX,[Size] Size @@ -61,12 +52,12 @@ - {First,[Last - First]s} + {First,[Last - First]s8} - {Data,[Length]s} - Data,[Length]s + {Data,[Length]s8} + Data,[Length]s8 Length @@ -184,7 +175,7 @@ empty - ({this+1,s}, {second}) + ({this+1,s8}, {second}) this+1,s second @@ -304,4 +295,107 @@ Context + + + $(Type) {*Value} + + + + $(Type) {getOperationName(nullptr)} + + + NumOperands + OperandList + + + + + + i{Val.BitWidth} {Val.VAL} + + + + {IDAndSubclassData >> 8}bit integer type + + + + $(Type) {*VTy} {this->getName()} {SubclassData} + $(Type) {*VTy} anon {SubclassData} + + (Instruction*)this + (User*)this + + UseList + Next + Prev.Value & 3 == 3 ? (User*)(this + 1) : (User*)(this + 2) + + + + + + + Val + + + + + + + $(Type) {*VTy} {this->getName()} {SubclassData} + $(Type) {*VTy} anon {SubclassData} + + (Value*)this,nd + *VTy + + NumUserOperands + (llvm::Use*)this - NumUserOperands + + + NumUserOperands + *((llvm::Use**)this - 1) + + + + + + {getOpcodeName(SubclassID - InstructionVal)} + + (User*)this,nd + + + + + {this->getName()} {(LinkageTypes)Linkage} {(VisibilityTypes)Visibility} {(DLLStorageClassTypes)DllStorageClass} {(llvm::GlobalValue::ThreadLocalMode) ThreadLocal} + + + + + + + this + Next + this + + + + + + + pImpl + + + + + {ModuleID,s8} {TargetTriple} + + + + $(Type) {PassID} {Kind} +