LLVM 19.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
17#include <optional>
18#include <string>
19
20namespace llvm {
21
22class MCTargetOptions;
23enum class EmitDwarfUnwindType;
24
25namespace mc {
26
28std::optional<bool> getExplicitRelaxAll();
29
31
32bool getFDPIC();
33
35
37
39
41
43
45
46bool getNoWarn();
47
49
51
53
55
56std::string getABIName();
57
58std::string getAsSecureLogFile();
59
60/// Create this object with static storage to register mc-related command
61/// line options.
64};
65
67
68} // namespace mc
69
70} // namespace llvm
71
72#endif
bool getNoWarn()
bool getIncrementalLinkerCompatible()
int getDwarfVersion()
std::string getAsSecureLogFile()
bool getShowMCInst()
MCTargetOptions InitMCTargetOptionsFromFlags()
bool getEmitCompactUnwindNonCanonical()
bool getFatalWarnings()
bool getNoDeprecatedWarn()
bool getNoTypeCheck()
bool getFDPIC()
bool getSaveTempLabels()
EmitDwarfUnwindType getEmitDwarfUnwind()
bool getX86RelaxRelocations()
bool getRelaxAll()
std::string getABIName()
bool getDwarf64()
std::optional< bool > getExplicitRelaxAll()
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
EmitDwarfUnwindType
Create this object with static storage to register mc-related command line options.