LLVM
17.0.0git
include
llvm
MC
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
20
namespace
llvm
{
21
22
class
MCTargetOptions;
23
enum class
EmitDwarfUnwindType
;
24
25
namespace
mc {
26
27
bool
getRelaxAll
();
28
std::optional<bool>
getExplicitRelaxAll
();
29
30
bool
getIncrementalLinkerCompatible
();
31
32
int
getDwarfVersion
();
33
34
bool
getDwarf64
();
35
36
EmitDwarfUnwindType
getEmitDwarfUnwind
();
37
38
bool
getShowMCInst
();
39
40
bool
getFatalWarnings
();
41
42
bool
getNoWarn
();
43
44
bool
getNoDeprecatedWarn
();
45
46
bool
getNoTypeCheck
();
47
48
std::string
getABIName
();
49
50
std::string
getAsSecureLogFile
();
51
52
/// Create this object with static storage to register mc-related command
53
/// line options.
54
struct
RegisterMCTargetOptionsFlags
{
55
RegisterMCTargetOptionsFlags
();
56
};
57
58
MCTargetOptions
InitMCTargetOptionsFromFlags
();
59
60
}
// namespace mc
61
62
}
// namespace llvm
63
64
#endif
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::mc::RegisterMCTargetOptionsFlags::RegisterMCTargetOptionsFlags
RegisterMCTargetOptionsFlags()
Definition:
MCTargetOptionsCommandFlags.cpp:50
llvm::mc::InitMCTargetOptionsFromFlags
MCTargetOptions InitMCTargetOptionsFromFlags()
Definition:
MCTargetOptionsCommandFlags.cpp:125
llvm::EmitDwarfUnwindType
EmitDwarfUnwindType
Definition:
MCTargetOptions.h:29
llvm::mc::getIncrementalLinkerCompatible
bool getIncrementalLinkerCompatible()
llvm::mc::getNoTypeCheck
bool getNoTypeCheck()
llvm::mc::getDwarf64
bool getDwarf64()
llvm::mc::getDwarfVersion
int getDwarfVersion()
llvm::mc::getABIName
std::string getABIName()
llvm::MCTargetOptions
Definition:
MCTargetOptions.h:37
llvm::mc::getExplicitRelaxAll
std::optional< bool > getExplicitRelaxAll()
llvm::mc::RegisterMCTargetOptionsFlags
Create this object with static storage to register mc-related command line options.
Definition:
MCTargetOptionsCommandFlags.h:54
llvm::mc::getAsSecureLogFile
std::string getAsSecureLogFile()
llvm::mc::getNoDeprecatedWarn
bool getNoDeprecatedWarn()
llvm::mc::getShowMCInst
bool getShowMCInst()
llvm::mc::getEmitDwarfUnwind
EmitDwarfUnwindType getEmitDwarfUnwind()
llvm::mc::getFatalWarnings
bool getFatalWarnings()
llvm::mc::getRelaxAll
bool getRelaxAll()
llvm::mc::getNoWarn
bool getNoWarn()
Generated on Thu Jan 26 2023 07:01:03 for LLVM by
1.8.17