|
LLVM 24.0.0git
|
#include "llvm/MC/MCTargetOptions.h"
Public Types | |
| enum | AsmInstrumentation { AsmInstrumentationNone , AsmInstrumentationAddress } |
| enum | DwarfDirectory { DisableDwarfDirectory , EnableDwarfDirectory , DefaultDwarfDirectory } |
Public Member Functions | |
| LLVM_ABI | MCTargetOptions () |
| LLVM_ABI StringRef | getABIName () const |
| getABIName - If this returns a non-empty string this represents the textual name of the ABI that we want the backend to use, e.g. | |
| LLVM_ABI StringRef | getAssemblyLanguage () const |
| getAssemblyLanguage - If this returns a non-empty string this represents the textual name of the assembly language that we will use for this target, e.g. | |
Static Public Member Functions | |
| static LLVM_ABI std::pair< int, int > | parseBinutilsVersion (StringRef Version) |
| Parse a binutils version string ("major[.minor]" or "none") into a (major, minor) pair. | |
Definition at line 39 of file MCTargetOptions.h.
| Enumerator | |
|---|---|
| AsmInstrumentationNone | |
| AsmInstrumentationAddress | |
Definition at line 41 of file MCTargetOptions.h.
| Enumerator | |
|---|---|
| DisableDwarfDirectory | |
| EnableDwarfDirectory | |
| DefaultDwarfDirectory | |
Definition at line 90 of file MCTargetOptions.h.
| MCTargetOptions::MCTargetOptions | ( | ) |
Definition at line 15 of file MCTargetOptions.cpp.
References AsmVerbose, llvm::Default, DefaultDwarfDirectory, Dwarf64, EmitCompactUnwindNonCanonical, EmitDwarfUnwind, EmitSFrameUnwind, FDPIC, LargeEHEncoding, MCFatalWarnings, MCIncrementalLinkerCompatible, MCNoDeprecatedWarn, MCNoExecStack, MCNoTypeCheck, MCNoWarn, MCRelaxAll, MCSaveTempLabels, MCUseDwarfDirectory, PPCUseFullRegisterNames, PreserveAsmComments, ShowMCEncoding, and ShowMCInst.
| StringRef MCTargetOptions::getABIName | ( | ) | const |
getABIName - If this returns a non-empty string this represents the textual name of the ABI that we want the backend to use, e.g.
o32, or aapcs-linux.
Definition at line 35 of file MCTargetOptions.cpp.
References ABIName.
| StringRef MCTargetOptions::getAssemblyLanguage | ( | ) | const |
getAssemblyLanguage - If this returns a non-empty string this represents the textual name of the assembly language that we will use for this target, e.g.
masm.
Definition at line 39 of file MCTargetOptions.cpp.
References AssemblyLanguage.
|
static |
Parse a binutils version string ("major[.minor]" or "none") into a (major, minor) pair.
"none" maps to {INT_MAX, INT_MAX}.
Definition at line 26 of file MCTargetOptions.cpp.
References llvm::Version.
| std::string llvm::MCTargetOptions::ABIName |
Definition at line 104 of file MCTargetOptions.h.
Referenced by codegen(), createTargetMachine(), getABIName(), and LLVMCreateTargetMachineWithOptions().
| std::string llvm::MCTargetOptions::Argv0 |
Definition at line 110 of file MCTargetOptions.h.
| bool llvm::MCTargetOptions::AsmVerbose |
Definition at line 57 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| std::string llvm::MCTargetOptions::AsSecureLogFile |
Definition at line 107 of file MCTargetOptions.h.
Referenced by llvm::MCContext::MCContext().
| std::string llvm::MCTargetOptions::AssemblyLanguage |
Definition at line 105 of file MCTargetOptions.h.
Referenced by getAssemblyLanguage().
| std::pair<int, int> llvm::MCTargetOptions::BinutilsVersion = {0, 0} |
If greater than 0, overrides the default MCAsmInfo binutils version.
Definition at line 88 of file MCTargetOptions.h.
| std::string llvm::MCTargetOptions::CommandlineArgs |
Definition at line 111 of file MCTargetOptions.h.
| DebugCompressionType llvm::MCTargetOptions::CompressDebugSections = DebugCompressionType::None |
Definition at line 102 of file MCTargetOptions.h.
| bool llvm::MCTargetOptions::Crel = false |
Definition at line 65 of file MCTargetOptions.h.
Referenced by llvm::ELFObjectWriter::usesRela().
| bool llvm::MCTargetOptions::DisableIntegratedAS = false |
Definition at line 76 of file MCTargetOptions.h.
| bool llvm::MCTargetOptions::Dwarf64 |
Definition at line 62 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| int llvm::MCTargetOptions::DwarfVersion = 0 |
Definition at line 85 of file MCTargetOptions.h.
| bool llvm::MCTargetOptions::EmitCompactUnwindNonCanonical |
Definition at line 122 of file MCTargetOptions.h.
Referenced by llvm::MCContext::emitCompactUnwindNonCanonical(), and MCTargetOptions().
| EmitDwarfUnwindType llvm::MCTargetOptions::EmitDwarfUnwind |
Definition at line 83 of file MCTargetOptions.h.
Referenced by llvm::MCContext::emitDwarfUnwindInfo(), and MCTargetOptions().
| bool llvm::MCTargetOptions::EmitSFrameUnwind |
Definition at line 125 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::FDPIC |
Definition at line 54 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| std::vector<std::string> llvm::MCTargetOptions::IASSearchPaths |
Additional paths to search for .include directives when using the integrated assembler.
Definition at line 115 of file MCTargetOptions.h.
| bool llvm::MCTargetOptions::ImplicitMapSyms = false |
Definition at line 67 of file MCTargetOptions.h.
| std::vector<std::string> llvm::MCTargetOptions::InstPrinterOptions |
Definition at line 118 of file MCTargetOptions.h.
| bool llvm::MCTargetOptions::LargeEHEncoding = false |
Definition at line 134 of file MCTargetOptions.h.
Referenced by llvm::TargetLoweringObjectFileELF::Initialize(), and MCTargetOptions().
| bool llvm::MCTargetOptions::MCFatalWarnings |
Definition at line 48 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::MCIncrementalLinkerCompatible |
Definition at line 53 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::MCNoDeprecatedWarn |
Definition at line 50 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::MCNoExecStack |
Definition at line 47 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::MCNoTypeCheck |
Definition at line 51 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::MCNoWarn |
Definition at line 49 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::MCRelaxAll |
Definition at line 46 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::MCSaveTempLabels |
Definition at line 52 of file MCTargetOptions.h.
Referenced by llvm::MCContext::MCContext(), and MCTargetOptions().
| DwarfDirectory llvm::MCTargetOptions::MCUseDwarfDirectory |
Definition at line 99 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| std::optional<unsigned> llvm::MCTargetOptions::OutputAsmVariant |
Definition at line 81 of file MCTargetOptions.h.
| bool llvm::MCTargetOptions::PPCUseFullRegisterNames |
Definition at line 128 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::PreserveAsmComments |
Preserve Comments in Assembly.
Definition at line 60 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| RelocSectionSymType llvm::MCTargetOptions::RelocSectionSym = RelocSectionSymType::All |
Definition at line 79 of file MCTargetOptions.h.
Referenced by llvm::ELFObjectWriter::recordRelocation().
| bool llvm::MCTargetOptions::ShowMCEncoding |
Definition at line 55 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| bool llvm::MCTargetOptions::ShowMCInst |
Definition at line 56 of file MCTargetOptions.h.
Referenced by MCTargetOptions().
| std::string llvm::MCTargetOptions::SplitDwarfFile |
Definition at line 106 of file MCTargetOptions.h.
Referenced by codegen().
| bool llvm::MCTargetOptions::X86RelaxRelocations = true |
Definition at line 71 of file MCTargetOptions.h.
Referenced by llvm::computeLTOCacheKey().
| bool llvm::MCTargetOptions::X86Sse2Avx = false |
Definition at line 73 of file MCTargetOptions.h.