LLVM 20.0.0git
TypeIndexDiscovery.h
Go to the documentation of this file.
1//===- TypeIndexDiscovery.h -------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_CODEVIEW_TYPEINDEXDISCOVERY_H
10#define LLVM_DEBUGINFO_CODEVIEW_TYPEINDEXDISCOVERY_H
11
12#include "llvm/ADT/ArrayRef.h"
14
15namespace llvm {
16template <typename T> class SmallVectorImpl;
17namespace codeview {
18class TypeIndex;
19enum class TiRefKind { TypeRef, IndexRef };
24};
25
34
35/// Discover type indices in symbol records. Returns false if this is an unknown
36/// record.
37bool discoverTypeIndicesInSymbol(const CVSymbol &Symbol,
43}
44}
45
46#endif
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: ArrayRef.h:41
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Definition: SmallVector.h:586
The instances of the Type class are immutable: once they are created, they are never changed.
Definition: Type.h:45
bool discoverTypeIndicesInSymbol(const CVSymbol &Symbol, SmallVectorImpl< TiReference > &Refs)
Discover type indices in symbol records.
void discoverTypeIndices(ArrayRef< uint8_t > RecordData, SmallVectorImpl< TiReference > &Refs)
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18