LLVM 22.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. | |
Definition at line 29 of file MCTargetOptions.h.
Enumerator | |
---|---|
AsmInstrumentationNone | |
AsmInstrumentationAddress |
Definition at line 31 of file MCTargetOptions.h.
Enumerator | |
---|---|
DisableDwarfDirectory | |
EnableDwarfDirectory | |
DefaultDwarfDirectory |
Definition at line 71 of file MCTargetOptions.h.
MCTargetOptions::MCTargetOptions | ( | ) |
Definition at line 14 of file MCTargetOptions.cpp.
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 25 of file MCTargetOptions.cpp.
References ABIName.
Referenced by computeDataLayout(), llvm::LoongArchTargetMachine::getSubtargetImpl(), and llvm::RISCVTargetMachine::getSubtargetImpl().
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 29 of file MCTargetOptions.cpp.
References AssemblyLanguage.
std::string llvm::MCTargetOptions::ABIName |
Definition at line 85 of file MCTargetOptions.h.
Referenced by createTargetMachine(), getABIName(), and LLVMCreateTargetMachineWithOptions().
std::string llvm::MCTargetOptions::Argv0 |
Definition at line 91 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::AsmVerbose |
Definition at line 47 of file MCTargetOptions.h.
Referenced by llvm::dwarf_linker::classic::DwarfStreamer::init(), and llvm::dwarf_linker::parallel::DwarfEmitterImpl::init().
std::string llvm::MCTargetOptions::AsSecureLogFile |
Definition at line 88 of file MCTargetOptions.h.
std::string llvm::MCTargetOptions::AssemblyLanguage |
Definition at line 86 of file MCTargetOptions.h.
Referenced by getAssemblyLanguage().
std::string llvm::MCTargetOptions::CommandlineArgs |
Definition at line 92 of file MCTargetOptions.h.
DebugCompressionType llvm::MCTargetOptions::CompressDebugSections = DebugCompressionType::None |
Definition at line 83 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::Crel = false |
Definition at line 55 of file MCTargetOptions.h.
Referenced by llvm::ELFObjectWriter::usesRela().
bool llvm::MCTargetOptions::Dwarf64 |
Definition at line 52 of file MCTargetOptions.h.
Referenced by llvm::DwarfDebug::DwarfDebug().
int llvm::MCTargetOptions::DwarfVersion = 0 |
Definition at line 69 of file MCTargetOptions.h.
Referenced by llvm::DwarfDebug::DwarfDebug().
bool llvm::MCTargetOptions::EmitCompactUnwindNonCanonical |
Definition at line 103 of file MCTargetOptions.h.
EmitDwarfUnwindType llvm::MCTargetOptions::EmitDwarfUnwind |
Definition at line 67 of file MCTargetOptions.h.
Referenced by llvm::CodeGenTargetMachineImpl::addPassesToEmitMC().
bool llvm::MCTargetOptions::EmitSFrameUnwind |
Definition at line 106 of file MCTargetOptions.h.
Referenced by llvm::DwarfCFIException::beginBasicBlockSection().
bool llvm::MCTargetOptions::FDPIC |
Definition at line 44 of file MCTargetOptions.h.
std::vector<std::string> llvm::MCTargetOptions::IASSearchPaths |
Additional paths to search for .include
directives when using the integrated assembler.
Definition at line 96 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::ImplicitMapSyms = false |
Definition at line 57 of file MCTargetOptions.h.
std::vector<std::string> llvm::MCTargetOptions::InstPrinterOptions |
Definition at line 99 of file MCTargetOptions.h.
Referenced by llvm::CodeGenTargetMachineImpl::createMCStreamer().
bool llvm::MCTargetOptions::MCFatalWarnings |
Definition at line 38 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::MCIncrementalLinkerCompatible |
Definition at line 43 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::MCNoDeprecatedWarn |
Definition at line 40 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::MCNoExecStack |
Definition at line 37 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::MCNoTypeCheck |
Definition at line 41 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::MCNoWarn |
Definition at line 39 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::MCRelaxAll |
Definition at line 36 of file MCTargetOptions.h.
bool llvm::MCTargetOptions::MCSaveTempLabels |
Definition at line 42 of file MCTargetOptions.h.
DwarfDirectory llvm::MCTargetOptions::MCUseDwarfDirectory |
Definition at line 80 of file MCTargetOptions.h.
Referenced by llvm::dwarf_linker::classic::DwarfStreamer::init(), and llvm::dwarf_linker::parallel::DwarfEmitterImpl::init().
std::optional<unsigned> llvm::MCTargetOptions::OutputAsmVariant |
Definition at line 65 of file MCTargetOptions.h.
Referenced by llvm::CodeGenTargetMachineImpl::createMCStreamer().
bool llvm::MCTargetOptions::PPCUseFullRegisterNames |
Definition at line 109 of file MCTargetOptions.h.
Referenced by llvm::CodeGenTargetMachineImpl::initAsmInfo().
bool llvm::MCTargetOptions::PreserveAsmComments |
Preserve Comments in Assembly.
Definition at line 50 of file MCTargetOptions.h.
Referenced by llvm::CodeGenTargetMachineImpl::initAsmInfo().
bool llvm::MCTargetOptions::ShowMCEncoding |
Definition at line 45 of file MCTargetOptions.h.
Referenced by llvm::CodeGenTargetMachineImpl::createMCStreamer(), and llvm::X86AsmPrinter::emitInstruction().
bool llvm::MCTargetOptions::ShowMCInst |
Definition at line 46 of file MCTargetOptions.h.
std::string llvm::MCTargetOptions::SplitDwarfFile |
Definition at line 87 of file MCTargetOptions.h.
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType(), and llvm::DwarfDebug::DwarfDebug().
bool llvm::MCTargetOptions::X86RelaxRelocations = true |
Definition at line 61 of file MCTargetOptions.h.
Referenced by llvm::computeLTOCacheKey().
bool llvm::MCTargetOptions::X86Sse2Avx = false |
Definition at line 63 of file MCTargetOptions.h.