15 #ifndef LLVM_TARGET_TARGETOPTIONS_H 16 #define LLVM_TARGET_TARGETOPTIONS_H 21 class MachineFunction;
32 namespace FPOpFusion {
51 namespace ThreadModel {
58 namespace FPDenormal {
112 NoSignedZerosFPMath(
false),
113 HonorSignDependentRoundingFPMathOption(
false), NoZerosInBSS(
false),
114 GuaranteedTailCallOpt(
false), StackSymbolOrdering(
true),
116 DisableIntegratedAS(
false), RelaxELFRelocations(
false),
118 UniqueSectionNames(
true), TrapUnreachable(
false),
119 NoTrapAfterNoreturn(
false), EmulatedTLS(
false),
122 SupportsDefaultOutlining(
false), EmitAddrsig(
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 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.
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 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 UseInitArray
UseInitArray - Use .init_array instead of .ctors for static constructors.
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.