LLVM 20.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
54bool getCrel();
55
57
59
60std::string getABIName();
61
62std::string getAsSecureLogFile();
63
64/// Create this object with static storage to register mc-related command
65/// line options.
68};
69
71
72} // namespace mc
73
74} // namespace llvm
75
76#endif
bool getNoWarn()
bool getIncrementalLinkerCompatible()
int getDwarfVersion()
bool getX86Sse2Avx()
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()
bool getCrel()
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.