LLVM 20.0.0git
EnumTables.h
Go to the documentation of this file.
1//===- EnumTables.h - Enum to string conversion tables ----------*- 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_ENUMTABLES_H
10#define LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H
11
12#include "llvm/ADT/ArrayRef.h"
15#include <cstdint>
16
17namespace llvm {
18template <typename T> struct EnumEntry;
19namespace codeview {
20
21ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames();
22ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames();
23ArrayRef<EnumEntry<uint16_t>> getRegisterNames(CPUType Cpu);
24ArrayRef<EnumEntry<uint32_t>> getPublicSymFlagNames();
25ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames();
26ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames();
27ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames();
28ArrayRef<EnumEntry<SourceLanguage>> getSourceLanguageNames();
29ArrayRef<EnumEntry<uint32_t>> getCompileSym2FlagNames();
30ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames();
31ArrayRef<EnumEntry<uint32_t>> getFileChecksumNames();
32ArrayRef<EnumEntry<unsigned>> getCPUTypeNames();
33ArrayRef<EnumEntry<uint32_t>> getFrameProcSymFlagNames();
34ArrayRef<EnumEntry<uint16_t>> getExportSymFlagNames();
35ArrayRef<EnumEntry<uint32_t>> getModuleSubstreamKindNames();
36ArrayRef<EnumEntry<uint8_t>> getThunkOrdinalNames();
37ArrayRef<EnumEntry<uint16_t>> getTrampolineNames();
38ArrayRef<EnumEntry<COFF::SectionCharacteristics>>
40ArrayRef<EnumEntry<uint16_t>> getClassOptionNames();
41ArrayRef<EnumEntry<uint8_t>> getMemberAccessNames();
42ArrayRef<EnumEntry<uint16_t>> getMethodOptionNames();
43ArrayRef<EnumEntry<uint16_t>> getMemberKindNames();
44ArrayRef<EnumEntry<uint8_t>> getPtrKindNames();
45ArrayRef<EnumEntry<uint8_t>> getPtrModeNames();
46ArrayRef<EnumEntry<uint16_t>> getPtrMemberRepNames();
47ArrayRef<EnumEntry<uint16_t>> getTypeModifierNames();
48ArrayRef<EnumEntry<uint8_t>> getCallingConventions();
49ArrayRef<EnumEntry<uint8_t>> getFunctionOptionEnum();
50ArrayRef<EnumEntry<uint16_t>> getLabelTypeEnum();
51ArrayRef<EnumEntry<uint16_t>> getJumpTableEntrySizeNames();
52
53} // end namespace codeview
54} // end namespace llvm
55
56#endif // LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H
ArrayRef< EnumEntry< uint16_t > > getMethodOptionNames()
Definition: EnumTables.cpp:544
ArrayRef< EnumEntry< uint8_t > > getCallingConventions()
Definition: EnumTables.cpp:568
ArrayRef< EnumEntry< uint8_t > > getMemberAccessNames()
Definition: EnumTables.cpp:540
ArrayRef< EnumEntry< uint8_t > > getPtrKindNames()
Definition: EnumTables.cpp:552
ArrayRef< EnumEntry< uint16_t > > getPtrMemberRepNames()
Definition: EnumTables.cpp:560
CPUType
These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn....
Definition: CodeView.h:76
ArrayRef< EnumEntry< uint16_t > > getLabelTypeEnum()
Definition: EnumTables.cpp:576
ArrayRef< EnumEntry< uint32_t > > getCompileSym2FlagNames()
Definition: EnumTables.cpp:495
ArrayRef< EnumEntry< COFF::SectionCharacteristics > > getImageSectionCharacteristicNames()
Definition: EnumTables.cpp:532
ArrayRef< EnumEntry< uint32_t > > getFileChecksumNames()
Definition: EnumTables.cpp:503
ArrayRef< EnumEntry< TypeLeafKind > > getTypeLeafNames()
Definition: EnumTables.cpp:462
ArrayRef< EnumEntry< uint16_t > > getExportSymFlagNames()
Definition: EnumTables.cpp:515
ArrayRef< EnumEntry< uint16_t > > getJumpTableEntrySizeNames()
Definition: EnumTables.cpp:580
ArrayRef< EnumEntry< uint16_t > > getTypeModifierNames()
Definition: EnumTables.cpp:564
ArrayRef< EnumEntry< SymbolKind > > getSymbolTypeNames()
Definition: EnumTables.cpp:458
ArrayRef< EnumEntry< uint16_t > > getMemberKindNames()
Definition: EnumTables.cpp:548
ArrayRef< EnumEntry< uint32_t > > getModuleSubstreamKindNames()
Definition: EnumTables.cpp:519
ArrayRef< EnumEntry< uint16_t > > getLocalFlagNames()
Definition: EnumTables.cpp:483
ArrayRef< EnumEntry< uint16_t > > getRegisterNames(CPUType Cpu)
Definition: EnumTables.cpp:466
ArrayRef< EnumEntry< uint8_t > > getThunkOrdinalNames()
Definition: EnumTables.cpp:523
ArrayRef< EnumEntry< uint8_t > > getPtrModeNames()
Definition: EnumTables.cpp:556
ArrayRef< EnumEntry< uint8_t > > getProcSymFlagNames()
Definition: EnumTables.cpp:479
ArrayRef< EnumEntry< unsigned > > getCPUTypeNames()
Definition: EnumTables.cpp:507
ArrayRef< EnumEntry< uint8_t > > getFunctionOptionEnum()
Definition: EnumTables.cpp:572
ArrayRef< EnumEntry< uint16_t > > getClassOptionNames()
Definition: EnumTables.cpp:536
ArrayRef< EnumEntry< SourceLanguage > > getSourceLanguageNames()
Definition: EnumTables.cpp:491
ArrayRef< EnumEntry< uint32_t > > getFrameProcSymFlagNames()
Definition: EnumTables.cpp:511
ArrayRef< EnumEntry< uint16_t > > getTrampolineNames()
Definition: EnumTables.cpp:527
ArrayRef< EnumEntry< uint32_t > > getPublicSymFlagNames()
Definition: EnumTables.cpp:475
ArrayRef< EnumEntry< uint32_t > > getCompileSym3FlagNames()
Definition: EnumTables.cpp:499
ArrayRef< EnumEntry< uint8_t > > getFrameCookieKindNames()
Definition: EnumTables.cpp:487
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18