class TypeIndex
Declaration
class TypeIndex { /* full declaration omitted */ };
Description
A 32-bit type reference. Types are indexed by their order of appearance in .debug$T plus 0x1000. Type indices less than 0x1000 are "simple" types, composed of a SimpleTypeMode byte followed by a SimpleTypeKind byte.
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:96
Member Variables
- private support::ulittle32_t Index
- public static const uint32_t FirstNonSimpleIndex = 4096
- public static const uint32_t SimpleKindMask = 255
- public static const uint32_t SimpleModeMask = 1792
- public static const uint32_t DecoratedItemIdMask = 2147483648U
Method Overview
- public static llvm::codeview::TypeIndex Float32()
- public static llvm::codeview::TypeIndex Float64()
- public static llvm::codeview::TypeIndex Int16Short()
- public static llvm::codeview::TypeIndex Int32()
- public static llvm::codeview::TypeIndex Int32Long()
- public static llvm::codeview::TypeIndex Int64()
- public static llvm::codeview::TypeIndex Int64Quad()
- public static llvm::codeview::TypeIndex NarrowCharacter()
- public static llvm::codeview::TypeIndex None()
- public static llvm::codeview::TypeIndex NullptrT()
- public static llvm::codeview::TypeIndex SignedCharacter()
- public TypeIndex(uint32_t Index)
- public TypeIndex()
- public TypeIndex(llvm::codeview::SimpleTypeKind Kind, llvm::codeview::SimpleTypeMode Mode)
- public TypeIndex(llvm::codeview::SimpleTypeKind Kind)
- public static llvm::codeview::TypeIndex UInt16Short()
- public static llvm::codeview::TypeIndex UInt32()
- public static llvm::codeview::TypeIndex UInt32Long()
- public static llvm::codeview::TypeIndex UInt64()
- public static llvm::codeview::TypeIndex UInt64Quad()
- public static llvm::codeview::TypeIndex UnsignedCharacter()
- public static llvm::codeview::TypeIndex Void()
- public static llvm::codeview::TypeIndex VoidPointer32()
- public static llvm::codeview::TypeIndex VoidPointer64()
- public static llvm::codeview::TypeIndex WideCharacter()
- public static llvm::codeview::TypeIndex fromArrayIndex(uint32_t Index)
- public static llvm::codeview::TypeIndex fromDecoratedArrayIndex(bool IsItem, uint32_t Index)
- public uint32_t getIndex() const
- public llvm::codeview::SimpleTypeKind getSimpleKind() const
- public llvm::codeview::SimpleTypeMode getSimpleMode() const
- public bool isDecoratedItemId() const
- public bool isNoneType() const
- public bool isSimple() const
- public llvm::codeview::TypeIndex makeDirect() const
- public llvm::codeview::TypeIndex removeDecoration()
- public void setIndex(uint32_t I)
- public static llvm::StringRef simpleTypeName(llvm::codeview::TypeIndex TI)
- public uint32_t toArrayIndex() const
Methods
¶static llvm::codeview::TypeIndex Float32()
static llvm::codeview::TypeIndex Float32()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:195
¶static llvm::codeview::TypeIndex Float64()
static llvm::codeview::TypeIndex Float64()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:196
¶static llvm::codeview::TypeIndex Int16Short()
static llvm::codeview::TypeIndex Int16Short()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:176
¶static llvm::codeview::TypeIndex Int32()
static llvm::codeview::TypeIndex Int32()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:182
¶static llvm::codeview::TypeIndex Int32Long()
static llvm::codeview::TypeIndex Int32Long()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:184
¶static llvm::codeview::TypeIndex Int64()
static llvm::codeview::TypeIndex Int64()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:188
¶static llvm::codeview::TypeIndex Int64Quad()
static llvm::codeview::TypeIndex Int64Quad()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:190
¶static llvm::codeview::TypeIndex NarrowCharacter()
static llvm::codeview::TypeIndex NarrowCharacter()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:170
¶static llvm::codeview::TypeIndex None()
static llvm::codeview::TypeIndex None()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:148
¶static llvm::codeview::TypeIndex NullptrT()
static llvm::codeview::TypeIndex NullptrT()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:157
¶static llvm::codeview::TypeIndex SignedCharacter()
static llvm::codeview::TypeIndex SignedCharacter()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:164
¶TypeIndex(uint32_t Index)
TypeIndex(uint32_t Index)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:105
Parameters
- uint32_t Index
¶TypeIndex()
TypeIndex()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:104
¶TypeIndex(llvm::codeview::SimpleTypeKind Kind,
llvm::codeview::SimpleTypeMode Mode)
TypeIndex(llvm::codeview::SimpleTypeKind Kind,
llvm::codeview::SimpleTypeMode Mode)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:108
Parameters
- llvm::codeview::SimpleTypeKind Kind
- llvm::codeview::SimpleTypeMode Mode
¶TypeIndex(llvm::codeview::SimpleTypeKind Kind)
TypeIndex(llvm::codeview::SimpleTypeKind Kind)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:106
Parameters
- llvm::codeview::SimpleTypeKind Kind
¶static llvm::codeview::TypeIndex UInt16Short()
static llvm::codeview::TypeIndex UInt16Short()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:179
¶static llvm::codeview::TypeIndex UInt32()
static llvm::codeview::TypeIndex UInt32()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:183
¶static llvm::codeview::TypeIndex UInt32Long()
static llvm::codeview::TypeIndex UInt32Long()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:185
¶static llvm::codeview::TypeIndex UInt64()
static llvm::codeview::TypeIndex UInt64()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:189
¶static llvm::codeview::TypeIndex UInt64Quad()
static llvm::codeview::TypeIndex UInt64Quad()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:191
¶static llvm::codeview::TypeIndex
UnsignedCharacter()
static llvm::codeview::TypeIndex
UnsignedCharacter()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:167
¶static llvm::codeview::TypeIndex Void()
static llvm::codeview::TypeIndex Void()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:149
¶static llvm::codeview::TypeIndex VoidPointer32()
static llvm::codeview::TypeIndex VoidPointer32()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:150
¶static llvm::codeview::TypeIndex VoidPointer64()
static llvm::codeview::TypeIndex VoidPointer64()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:153
¶static llvm::codeview::TypeIndex WideCharacter()
static llvm::codeview::TypeIndex WideCharacter()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:173
¶static llvm::codeview::TypeIndex fromArrayIndex(
uint32_t Index)
static llvm::codeview::TypeIndex fromArrayIndex(
uint32_t Index)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:123
Parameters
- uint32_t Index
¶static llvm::codeview::TypeIndex
fromDecoratedArrayIndex(bool IsItem,
uint32_t Index)
static llvm::codeview::TypeIndex
fromDecoratedArrayIndex(bool IsItem,
uint32_t Index)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:127
Parameters
- bool IsItem
- uint32_t Index
¶uint32_t getIndex() const
uint32_t getIndex() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:111
¶llvm::codeview::SimpleTypeKind getSimpleKind()
const
llvm::codeview::SimpleTypeKind getSimpleKind()
const
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:136
¶llvm::codeview::SimpleTypeMode getSimpleMode()
const
llvm::codeview::SimpleTypeMode getSimpleMode()
const
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:141
¶bool isDecoratedItemId() const
bool isDecoratedItemId() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:114
¶bool isNoneType() const
bool isNoneType() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:116
¶bool isSimple() const
bool isSimple() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:113
¶llvm::codeview::TypeIndex makeDirect() const
llvm::codeview::TypeIndex makeDirect() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:146
¶llvm::codeview::TypeIndex removeDecoration()
llvm::codeview::TypeIndex removeDecoration()
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:132
¶void setIndex(uint32_t I)
void setIndex(uint32_t I)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:112
Parameters
- uint32_t I
¶static llvm::StringRef simpleTypeName(
llvm::codeview::TypeIndex TI)
static llvm::StringRef simpleTypeName(
llvm::codeview::TypeIndex TI)
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:273
Parameters
¶uint32_t toArrayIndex() const
uint32_t toArrayIndex() const
Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:118