LLVM  14.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"
13 #include "llvm/BinaryFormat/COFF.h"
16 #include <cstdint>
17 
18 namespace llvm {
19 namespace codeview {
20 
21 ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames();
22 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames();
23 ArrayRef<EnumEntry<uint16_t>> getRegisterNames(CPUType Cpu);
24 ArrayRef<EnumEntry<uint32_t>> getPublicSymFlagNames();
25 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames();
26 ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames();
27 ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames();
28 ArrayRef<EnumEntry<SourceLanguage>> getSourceLanguageNames();
29 ArrayRef<EnumEntry<uint32_t>> getCompileSym2FlagNames();
30 ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames();
31 ArrayRef<EnumEntry<uint32_t>> getFileChecksumNames();
32 ArrayRef<EnumEntry<unsigned>> getCPUTypeNames();
33 ArrayRef<EnumEntry<uint32_t>> getFrameProcSymFlagNames();
34 ArrayRef<EnumEntry<uint16_t>> getExportSymFlagNames();
35 ArrayRef<EnumEntry<uint32_t>> getModuleSubstreamKindNames();
36 ArrayRef<EnumEntry<uint8_t>> getThunkOrdinalNames();
37 ArrayRef<EnumEntry<uint16_t>> getTrampolineNames();
38 ArrayRef<EnumEntry<COFF::SectionCharacteristics>>
40 ArrayRef<EnumEntry<uint16_t>> getClassOptionNames();
41 ArrayRef<EnumEntry<uint8_t>> getMemberAccessNames();
42 ArrayRef<EnumEntry<uint16_t>> getMethodOptionNames();
43 ArrayRef<EnumEntry<uint16_t>> getMemberKindNames();
44 ArrayRef<EnumEntry<uint8_t>> getPtrKindNames();
45 ArrayRef<EnumEntry<uint8_t>> getPtrModeNames();
46 ArrayRef<EnumEntry<uint16_t>> getPtrMemberRepNames();
47 ArrayRef<EnumEntry<uint16_t>> getTypeModifierNames();
48 ArrayRef<EnumEntry<uint8_t>> getCallingConventions();
49 ArrayRef<EnumEntry<uint8_t>> getFunctionOptionEnum();
50 ArrayRef<EnumEntry<uint16_t>> getLabelTypeEnum();
51 
52 } // end namespace codeview
53 } // end namespace llvm
54 
55 #endif // LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H
llvm::codeview::getTypeLeafNames
ArrayRef< EnumEntry< TypeLeafKind > > getTypeLeafNames()
Definition: EnumTables.cpp:443
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AllocatorList.h:23
llvm::codeview::getMemberKindNames
ArrayRef< EnumEntry< uint16_t > > getMemberKindNames()
Definition: EnumTables.cpp:529
llvm::codeview::getCompileSym3FlagNames
ArrayRef< EnumEntry< uint32_t > > getCompileSym3FlagNames()
Definition: EnumTables.cpp:480
COFF.h
llvm::codeview::getLocalFlagNames
ArrayRef< EnumEntry< uint16_t > > getLocalFlagNames()
Definition: EnumTables.cpp:464
llvm::codeview::getTypeModifierNames
ArrayRef< EnumEntry< uint16_t > > getTypeModifierNames()
Definition: EnumTables.cpp:545
llvm::codeview::getImageSectionCharacteristicNames
ArrayRef< EnumEntry< COFF::SectionCharacteristics > > getImageSectionCharacteristicNames()
Definition: EnumTables.cpp:513
llvm::codeview::getMethodOptionNames
ArrayRef< EnumEntry< uint16_t > > getMethodOptionNames()
Definition: EnumTables.cpp:525
llvm::codeview::getThunkOrdinalNames
ArrayRef< EnumEntry< uint8_t > > getThunkOrdinalNames()
Definition: EnumTables.cpp:504
llvm::codeview::getPublicSymFlagNames
ArrayRef< EnumEntry< uint32_t > > getPublicSymFlagNames()
Definition: EnumTables.cpp:456
llvm::codeview::getFunctionOptionEnum
ArrayRef< EnumEntry< uint8_t > > getFunctionOptionEnum()
Definition: EnumTables.cpp:553
llvm::codeview::getProcSymFlagNames
ArrayRef< EnumEntry< uint8_t > > getProcSymFlagNames()
Definition: EnumTables.cpp:460
llvm::codeview::getFileChecksumNames
ArrayRef< EnumEntry< uint32_t > > getFileChecksumNames()
Definition: EnumTables.cpp:484
CodeView.h
llvm::codeview::getPtrKindNames
ArrayRef< EnumEntry< uint8_t > > getPtrKindNames()
Definition: EnumTables.cpp:533
llvm::codeview::getLabelTypeEnum
ArrayRef< EnumEntry< uint16_t > > getLabelTypeEnum()
Definition: EnumTables.cpp:557
llvm::codeview::getCPUTypeNames
ArrayRef< EnumEntry< unsigned > > getCPUTypeNames()
Definition: EnumTables.cpp:488
llvm::codeview::getPtrModeNames
ArrayRef< EnumEntry< uint8_t > > getPtrModeNames()
Definition: EnumTables.cpp:537
ArrayRef.h
llvm::codeview::getFrameCookieKindNames
ArrayRef< EnumEntry< uint8_t > > getFrameCookieKindNames()
Definition: EnumTables.cpp:468
llvm::codeview::getPtrMemberRepNames
ArrayRef< EnumEntry< uint16_t > > getPtrMemberRepNames()
Definition: EnumTables.cpp:541
llvm::codeview::getMemberAccessNames
ArrayRef< EnumEntry< uint8_t > > getMemberAccessNames()
Definition: EnumTables.cpp:521
llvm::codeview::getSymbolTypeNames
ArrayRef< EnumEntry< SymbolKind > > getSymbolTypeNames()
Definition: EnumTables.cpp:439
llvm::codeview::getSourceLanguageNames
ArrayRef< EnumEntry< SourceLanguage > > getSourceLanguageNames()
Definition: EnumTables.cpp:472
llvm::codeview::getTrampolineNames
ArrayRef< EnumEntry< uint16_t > > getTrampolineNames()
Definition: EnumTables.cpp:508
llvm::codeview::getModuleSubstreamKindNames
ArrayRef< EnumEntry< uint32_t > > getModuleSubstreamKindNames()
Definition: EnumTables.cpp:500
llvm::codeview::CPUType
CPUType
These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn....
Definition: CodeView.h:78
llvm::codeview::getFrameProcSymFlagNames
ArrayRef< EnumEntry< uint32_t > > getFrameProcSymFlagNames()
Definition: EnumTables.cpp:492
llvm::codeview::getCompileSym2FlagNames
ArrayRef< EnumEntry< uint32_t > > getCompileSym2FlagNames()
Definition: EnumTables.cpp:476
llvm::codeview::getCallingConventions
ArrayRef< EnumEntry< uint8_t > > getCallingConventions()
Definition: EnumTables.cpp:549
llvm::codeview::getExportSymFlagNames
ArrayRef< EnumEntry< uint16_t > > getExportSymFlagNames()
Definition: EnumTables.cpp:496
llvm::codeview::getClassOptionNames
ArrayRef< EnumEntry< uint16_t > > getClassOptionNames()
Definition: EnumTables.cpp:517
llvm::codeview::getRegisterNames
ArrayRef< EnumEntry< uint16_t > > getRegisterNames(CPUType Cpu)
Definition: EnumTables.cpp:447
ScopedPrinter.h