LLVM  14.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 "llvm/ADT/Optional.h"
18 #include <string>
19 
20 namespace llvm {
21 
22 class MCTargetOptions;
23 
24 namespace mc {
25 
26 bool getRelaxAll();
28 
30 
31 int getDwarfVersion();
32 
33 bool getDwarf64();
34 
35 bool getShowMCInst();
36 
37 bool getFatalWarnings();
38 
39 bool getNoWarn();
40 
41 bool getNoDeprecatedWarn();
42 
43 bool getNoTypeCheck();
44 
45 std::string getABIName();
46 
47 /// Create this object with static storage to register mc-related command
48 /// line options.
51 };
52 
54 
55 } // namespace mc
56 
57 } // namespace llvm
58 
59 #endif
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
Optional.h
llvm::mc::RegisterMCTargetOptionsFlags::RegisterMCTargetOptionsFlags
RegisterMCTargetOptionsFlags()
Definition: MCTargetOptionsCommandFlags.cpp:49
llvm::mc::InitMCTargetOptionsFromFlags
MCTargetOptions InitMCTargetOptionsFromFlags()
Definition: MCTargetOptionsCommandFlags.cpp:107
llvm::Optional< bool >
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:36
llvm::mc::RegisterMCTargetOptionsFlags
Create this object with static storage to register mc-related command line options.
Definition: MCTargetOptionsCommandFlags.h:49
llvm::mc::getNoDeprecatedWarn
bool getNoDeprecatedWarn()
llvm::mc::getShowMCInst
bool getShowMCInst()
llvm::mc::getFatalWarnings
bool getFatalWarnings()
llvm::mc::getRelaxAll
bool getRelaxAll()
llvm::mc::getExplicitRelaxAll
Optional< bool > getExplicitRelaxAll()
llvm::mc::getNoWarn
bool getNoWarn()