LLVM
15.0.0git
lib
MC
MCTargetOptions.cpp
Go to the documentation of this file.
1
//===- lib/MC/MCTargetOptions.cpp - MC Target Options ---------------------===//
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
#include "
llvm/MC/MCTargetOptions.h
"
10
#include "
llvm/ADT/StringRef.h
"
11
12
using namespace
llvm
;
13
14
MCTargetOptions::MCTargetOptions
()
15
: MCRelaxAll(
false
), MCNoExecStack(
false
), MCFatalWarnings(
false
),
16
MCNoWarn(
false
), MCNoDeprecatedWarn(
false
), MCNoTypeCheck(
false
),
17
MCSaveTempLabels(
false
), MCIncrementalLinkerCompatible(
false
),
18
ShowMCEncoding(
false
), ShowMCInst(
false
), AsmVerbose(
false
),
19
PreserveAsmComments(
true
), Dwarf64(
false
),
20
EmitDwarfUnwind(
EmitDwarfUnwindType
::Default),
21
MCUseDwarfDirectory(DefaultDwarfDirectory) {}
22
23
StringRef
MCTargetOptions::getABIName
()
const
{
24
return
ABIName
;
25
}
26
27
StringRef
MCTargetOptions::getAssemblyLanguage
()
const
{
28
return
AssemblyLanguage
;
29
}
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
MCTargetOptions.h
StringRef.h
llvm::MCTargetOptions::MCTargetOptions
MCTargetOptions()
Definition:
MCTargetOptions.cpp:14
llvm::MCTargetOptions::getABIName
StringRef getABIName() const
getABIName - If this returns a non-empty string this represents the textual name of the ABI that we w...
Definition:
MCTargetOptions.cpp:23
true
basic Basic Alias true
Definition:
BasicAliasAnalysis.cpp:1886
llvm::MCTargetOptions::ABIName
std::string ABIName
Definition:
MCTargetOptions.h:81
llvm::EmitDwarfUnwindType
EmitDwarfUnwindType
Definition:
MCTargetOptions.h:34
llvm::MCTargetOptions::getAssemblyLanguage
StringRef getAssemblyLanguage() const
getAssemblyLanguage - If this returns a non-empty string this represents the textual name of the asse...
Definition:
MCTargetOptions.cpp:27
false
Definition:
StackSlotColoring.cpp:141
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition:
StringRef.h:58
llvm::MCTargetOptions::AssemblyLanguage
std::string AssemblyLanguage
Definition:
MCTargetOptions.h:82
Generated on Sat Jul 2 2022 14:11:37 for LLVM by
1.8.17