LLVM 20.0.0git
EnumTables.cpp
Go to the documentation of this file.
1//===- EnumTables.cpp - 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
12
13using namespace llvm;
14using namespace llvm::pdb;
15
16#define PDB_ENUM_CLASS_ENT(enum_class, enum) \
17 { #enum, std::underlying_type_t<enum_class>(enum_class::enum) }
18
19#define PDB_ENUM_ENT(ns, enum) \
20 { #enum, ns::enum }
21
30};
31
32namespace llvm {
33namespace pdb {
36}
37}
38}
static const EnumEntry< uint16_t > OMFSegMapDescFlagNames[]
Definition: EnumTables.cpp:22
#define PDB_ENUM_CLASS_ENT(enum_class, enum)
Definition: EnumTables.cpp:16
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: ArrayRef.h:41
ArrayRef< EnumEntry< uint16_t > > getOMFSegMapDescFlagNames()
Definition: EnumTables.cpp:34
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
@ Read
Definition: CodeGenData.h:102
@ Write
Definition: CodeGenData.h:103