14 #ifndef LLVM_TARGET_TARGETOPTIONS_H 15 #define LLVM_TARGET_TARGETOPTIONS_H 20 class MachineFunction;
31 namespace FPOpFusion {
50 namespace ThreadModel {
57 namespace FPDenormal {
110 NoNaNsFPMath(
false), NoTrappingFPMath(
true),
111 NoSignedZerosFPMath(
false),
112 HonorSignDependentRoundingFPMathOption(
false), NoZerosInBSS(
false),
113 GuaranteedTailCallOpt(
false), StackSymbolOrdering(
true),
115 DisableIntegratedAS(
false), RelaxELFRelocations(
false),
117 UniqueSectionNames(
true), TrapUnreachable(
false),
118 NoTrapAfterNoreturn(
false), TLSSize(0), EmulatedTLS(
false),
121 SupportsDefaultOutlining(
false), EmitAddrsig(
false),
122 EnableDebugEntryValues(
false), ForceDwarfFrameSection(
false) {}
171 bool HonorSignDependentRoundingFPMath()
const;
187 unsigned StackAlignmentOverride = 0;
unsigned StackSymbolOrdering
StackSymbolOrdering - When true, this will allow CodeGen to order the local stack symbols (for code s...
unsigned NoTrappingFPMath
NoTrappingFPMath - This flag is enabled when the -enable-no-trapping-fp-math is specified on the comm...
unsigned PrintMachineCode
PrintMachineCode - This flag is enabled when the -print-machineinstrs option is specified on the comm...
MCTargetOptions MCOptions
Machine level options.
This class represents lattice values for constants.
unsigned EnableDebugEntryValues
Emit debug info about parameter's entry values.
unsigned EnableFastISel
EnableFastISel - This flag enables fast-path instruction selection which trades away generated code q...
unsigned DataSections
Emit data into separate sections.
unsigned EnableMachineOutliner
Enables the MachineOutliner pass.
block Block Frequency true
unsigned NoTrapAfterNoreturn
Do not emit a trap instruction for 'unreachable' IR instructions behind noreturn calls, even if TrapUnreachable is true.
DebuggerKind
Identify a debugger for "tuning" the debug info.
static cl::opt< bool > EnableIPRA("enable-ipra", cl::init(false), cl::Hidden, cl::desc("Enable interprocedural register allocation " "to reduce load/store at procedure calls."))
unsigned DisableIntegratedAS
Disable the integrated assembler.
unsigned EnableIPRA
This flag enables InterProcedural Register Allocation (IPRA).
unsigned NoNaNsFPMath
NoNaNsFPMath - This flag is enabled when the -enable-no-nans-fp-math flag is specified on the command...
static cl::opt< RunOutliner > EnableMachineOutliner("enable-machine-outliner", cl::desc("Enable the machine outliner"), cl::Hidden, cl::ValueOptional, cl::init(TargetDefault), cl::values(clEnumValN(AlwaysOutline, "always", "Run on all functions guaranteed to be beneficial"), clEnumValN(NeverOutline, "never", "Disable all outlining"), clEnumValN(AlwaysOutline, "", "")))
unsigned FunctionSections
Emit functions into separate sections.
unsigned UniqueSectionNames
unsigned SupportsDefaultOutlining
Set if the target supports default outlining behaviour.
unsigned EnableGlobalISel
EnableGlobalISel - This flag enables global instruction selection.
unsigned UnsafeFPMath
UnsafeFPMath - This flag is enabled when the -enable-unsafe-fp-math flag is specified on the command ...
unsigned ExplicitEmulatedTLS
Whether -emulated-tls or -no-emulated-tls is set.
unsigned TLSSize
Bit size of immediate TLS offsets (0 == use the default).
unsigned EmitStackSizeSection
Emit section containing metadata on function stack sizes.
unsigned GuaranteedTailCallOpt
GuaranteedTailCallOpt - This flag is enabled when -tailcallopt is specified on the commandline...
unsigned NoInfsFPMath
NoInfsFPMath - This flag is enabled when the -enable-no-infs-fp-math flag is specified on the command...
unsigned NoZerosInBSS
NoZerosInBSS - By default some codegens place zero-initialized data to .bss section.
unsigned ForceDwarfFrameSection
Emit DWARF debug frame section.
unsigned UseInitArray
UseInitArray - Use .init_array instead of .ctors for static constructors.
zlib-gnu style compression
unsigned EmitAddrsig
Emit address-significance table.
unsigned EmulatedTLS
EmulatedTLS - This flag enables emulated TLS model, using emutls function in the runtime library...
unsigned RelaxELFRelocations
GlobalISelAbortMode
Enable abort calls when global instruction selection fails to lower/select an instruction.
unsigned HonorSignDependentRoundingFPMathOption
HonorSignDependentRoundingFPMath - This returns true when the -enable-sign-dependent-rounding-fp-math...
unsigned NoSignedZerosFPMath
NoSignedZerosFPMath - This flag is enabled when the -enable-no-signed-zeros-fp-math is specified on t...
unsigned TrapUnreachable
Emit target-specific trap instruction for 'unreachable' IR instructions.