LLVM 24.0.0git
MCTargetOptionsCommandFlags.h
Go to the documentation of this file.
1//===-- MCTargetOptionsCommandFlags.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// This file contains machine code-specific flags that are shared between
10// different command line tools.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H
15#define LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H
16
18
19namespace llvm {
20
21class MCTargetOptions;
22class StringRef;
23
24namespace cl {
26}
27
28namespace mc {
29
30LLVM_ABI StringRef getABIName(const cl::LibraryOptionsContext &C);
31
32/// Create this object with static storage to register mc-related command
33/// line options.
37
39
40} // namespace mc
41
42} // namespace llvm
43
44#endif
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
#define LLVM_ABI
Definition Compiler.h:211
Represent a constant reference to a string, i.e.
Definition StringRef.h:56
This namespace contains all of the command line option processing machinery.
LLVM_ABI MCTargetOptions getMCTargetOptions(const cl::LibraryOptionsContext &C)
LLVM_ABI StringRef getABIName(const cl::LibraryOptionsContext &C)
This is an optimization pass for GlobalISel generic memory operations.