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
33
35
37
39
41
43
44bool getNoWarn();
45
47
49
50std::string getABIName();
51
52std::string getAsSecureLogFile();
53
54/// Create this object with static storage to register mc-related command
55/// line options.
58};
59
61
62} // namespace mc
63
64} // namespace llvm
65
66#endif
bool getNoWarn()
bool getIncrementalLinkerCompatible()
int getDwarfVersion()
std::string getAsSecureLogFile()
bool getShowMCInst()
MCTargetOptions InitMCTargetOptionsFromFlags()
bool getEmitCompactUnwindNonCanonical()
bool getFatalWarnings()
bool getNoDeprecatedWarn()
bool getNoTypeCheck()
EmitDwarfUnwindType getEmitDwarfUnwind()
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.