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:95

Member Variables

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

Methods

static llvm::codeview::TypeIndex Float32()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:185

static llvm::codeview::TypeIndex Float64()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:186

static llvm::codeview::TypeIndex Int16Short()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:166

static llvm::codeview::TypeIndex Int32()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:172

static llvm::codeview::TypeIndex Int32Long()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:174

static llvm::codeview::TypeIndex Int64()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:178

static llvm::codeview::TypeIndex Int64Quad()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:180

static llvm::codeview::TypeIndex NarrowCharacter()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:160

static llvm::codeview::TypeIndex None()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:138

static llvm::codeview::TypeIndex NullptrT()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:147

static llvm::codeview::TypeIndex SignedCharacter()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:154

TypeIndex(uint32_t Index)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:104

Parameters

uint32_t Index

TypeIndex(llvm::codeview::SimpleTypeKind Kind,
          llvm::codeview::SimpleTypeMode Mode)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:107

Parameters

llvm::codeview::SimpleTypeKind Kind
llvm::codeview::SimpleTypeMode Mode

TypeIndex()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:103

TypeIndex(llvm::codeview::SimpleTypeKind Kind)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:105

Parameters

llvm::codeview::SimpleTypeKind Kind

static llvm::codeview::TypeIndex UInt16Short()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:169

static llvm::codeview::TypeIndex UInt32()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:173

static llvm::codeview::TypeIndex UInt32Long()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:175

static llvm::codeview::TypeIndex UInt64()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:179

static llvm::codeview::TypeIndex UInt64Quad()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:181

static llvm::codeview::TypeIndex
UnsignedCharacter()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:157

static llvm::codeview::TypeIndex Void()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:139

static llvm::codeview::TypeIndex VoidPointer32()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:140

static llvm::codeview::TypeIndex VoidPointer64()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:143

static llvm::codeview::TypeIndex WideCharacter()

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:163

static llvm::codeview::TypeIndex fromArrayIndex(
    uint32_t Index)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:122

Parameters

uint32_t Index

uint32_t getIndex() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:110

llvm::codeview::SimpleTypeKind getSimpleKind()
    const

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:126

llvm::codeview::SimpleTypeMode getSimpleMode()
    const

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:131

bool isDecoratedItemId() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:113

bool isNoneType() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:115

bool isSimple() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:112

llvm::codeview::TypeIndex makeDirect() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:136

void setIndex(uint32_t I)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:111

Parameters

uint32_t I

static llvm::StringRef simpleTypeName(
    llvm::codeview::TypeIndex TI)

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:263

Parameters

llvm::codeview::TypeIndex TI

uint32_t toArrayIndex() const

Declared at: llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h:117