llvm::CGPassBuilderOption

Options that configure the code-generation pass pipeline.

Synopsis

Declared in <llvm/Target/CGPassBuilderOption.h>

struct CGPassBuilderOption;

Description

Not one-on-one but mostly corresponding to commandline options in TargetPassConfig.cpp.

Data Members

NameDescription
DebugPM Print pass-manager debugging information.
DebugifyAndStripAll Debugify MIR before each safe pass and strip debug info after.
DebugifyCheckAndStripAll Debugify MIR before each safe pass, then check and strip debug info.
DisableAtExitBasedGlobalDtorLowering Disable atexit-based global destructor lowering on MachO.
DisableCFIFixup Disable the CFI fixup pass.
DisableCGP Disable the CodeGenPrepare pass.
DisableConstantHoisting Disable the ConstantHoisting pass.
DisableExpandReductions Disable expansion of reduction intrinsics.
DisableLSR Disable the loop strength reduction pass.
DisablePartialLibcallInlining Disable partial inlining of library calls.
DisableRAFSProfileLoader Disable loading flow-sensitive profiles before register allocation.
DisableSelectOptimize Disable the select-optimization pass.
DisableVerify Skip verifying IR and machine code in the codegen pipeline.
EarlyLiveIntervals Run live-interval analysis earlier in the pipeline.
EnableBlockPlacementStats Collect probability-driven block placement statistics.
EnableFastISelOption Enable the fast instruction selector when set.
EnableGCEmptyBlocks Garbage-collect empty basic blocks.
EnableGlobalISelAbort Override the GlobalISel abort mode when set.
EnableGlobalISelOption Enable the global instruction selector when set.
EnableGlobalMergeFunc Enable hash-based global function merging.
EnableIPRA Enable interprocedural register allocation when set.
EnableImplicitNullChecks Fold null checks into faulting memory operations.
EnableLoopTermFold Enable LoopTermFold immediately after LSR.
EnableMachineFunctionSplitter Split cold blocks out of machine functions using profile data.
EnableMachineOutliner Policy controlling when the machine outliner runs.
EnableSinkAndFold Sink and fold computations into addressing modes or copies.
EnableTailMerge Merge identical tails of successor blocks.
FSProfileFile Path to a flow-sensitive profile file.
FSRemappingFile Path to a remapping file for the flow-sensitive profile.
MISchedPostRA Run MachineScheduler after register allocation.
OptimizeRegAlloc Whether to use the optimized register-allocation pipeline.
PrintAfterISel Print machine instructions after instruction selection.
PrintISelInput Print the LLVM IR input to instruction selection.
PrintRegUsage Print register-usage details collected for IPRA.
RegAlloc Register allocator used by the new pass manager pipeline.
RequiresCodeGenSCCOrder Require that callees are generated before callers.
VerifyMachineCode Verify generated machine instructions when set.

Non-Member Functions

NameDescription
getCGPassBuilderOptionReturn codegen pass-builder options populated from command-line flags.