Lines Matching refs:cl

56 static cl::opt<bool>
57 EnableIPRA("enable-ipra", cl::init(false), cl::Hidden,
58 cl::desc("Enable interprocedural register allocation "
60 static cl::opt<bool> DisablePostRASched("disable-post-ra", cl::Hidden,
61 cl::desc("Disable Post Regalloc Scheduler"));
62 static cl::opt<bool> DisableBranchFold("disable-branch-fold", cl::Hidden,
63 cl::desc("Disable branch folding"));
64 static cl::opt<bool> DisableTailDuplicate("disable-tail-duplicate", cl::Hidden,
65 cl::desc("Disable tail duplication"));
66 static cl::opt<bool> DisableEarlyTailDup("disable-early-taildup", cl::Hidden,
67 cl::desc("Disable pre-register allocation tail duplication"));
68 static cl::opt<bool> DisableBlockPlacement("disable-block-placement",
69 cl::Hidden, cl::desc("Disable probability-driven block placement"));
70 static cl::opt<bool> EnableBlockPlacementStats("enable-block-placement-stats",
71 cl::Hidden, cl::desc("Collect probability-driven block placement stats"));
72 static cl::opt<bool> DisableSSC("disable-ssc", cl::Hidden,
73 cl::desc("Disable Stack Slot Coloring"));
74 static cl::opt<bool> DisableMachineDCE("disable-machine-dce", cl::Hidden,
75 cl::desc("Disable Machine Dead Code Elimination"));
76 static cl::opt<bool> DisableEarlyIfConversion("disable-early-ifcvt", cl::Hidden,
77 cl::desc("Disable Early If-conversion"));
78 static cl::opt<bool> DisableMachineLICM("disable-machine-licm", cl::Hidden,
79 cl::desc("Disable Machine LICM"));
80 static cl::opt<bool> DisableMachineCSE("disable-machine-cse", cl::Hidden,
81 cl::desc("Disable Machine Common Subexpression Elimination"));
82 static cl::opt<cl::boolOrDefault> OptimizeRegAlloc(
83 "optimize-regalloc", cl::Hidden,
84 cl::desc("Enable optimized register allocation compilation path."));
85 static cl::opt<bool> DisablePostRAMachineLICM("disable-postra-machine-licm",
86 cl::Hidden,
87 cl::desc("Disable Machine LICM"));
88 static cl::opt<bool> DisableMachineSink("disable-machine-sink", cl::Hidden,
89 cl::desc("Disable Machine Sinking"));
90 static cl::opt<bool> DisablePostRAMachineSink("disable-postra-machine-sink",
91 cl::Hidden,
92 cl::desc("Disable PostRA Machine Sinking"));
93 static cl::opt<bool> DisableLSR("disable-lsr", cl::Hidden,
94 cl::desc("Disable Loop Strength Reduction Pass"));
95 static cl::opt<bool> DisableConstantHoisting("disable-constant-hoisting",
96 cl::Hidden, cl::desc("Disable ConstantHoisting"));
97 static cl::opt<bool> DisableCGP("disable-cgp", cl::Hidden,
98 cl::desc("Disable Codegen Prepare"));
99 static cl::opt<bool> DisableCopyProp("disable-copyprop", cl::Hidden,
100 cl::desc("Disable Copy Propagation pass"));
101 static cl::opt<bool> DisablePartialLibcallInlining("disable-partial-libcall-inlining",
102 cl::Hidden, cl::desc("Disable Partial Libcall Inlining"));
103 static cl::opt<bool> EnableImplicitNullChecks(
105 cl::desc("Fold null checks into faulting memory operations"),
106 cl::init(false), cl::Hidden);
107 static cl::opt<bool> DisableMergeICmps("disable-mergeicmps",
108 cl::desc("Disable MergeICmps Pass"),
109 cl::init(false), cl::Hidden);
110 static cl::opt<bool> PrintLSR("print-lsr-output", cl::Hidden,
111 cl::desc("Print LLVM IR produced by the loop-reduce pass"));
112 static cl::opt<bool> PrintISelInput("print-isel-input", cl::Hidden,
113 cl::desc("Print LLVM IR input to isel pass"));
114 static cl::opt<bool> PrintGCInfo("print-gc", cl::Hidden,
115 cl::desc("Dump garbage collector data"));
116 static cl::opt<cl::boolOrDefault>
117 VerifyMachineCode("verify-machineinstrs", cl::Hidden,
118 cl::desc("Verify generated machine code"),
119 cl::ZeroOrMore);
120 static cl::opt<cl::boolOrDefault> DebugifyAndStripAll(
121 "debugify-and-strip-all-safe", cl::Hidden,
122 cl::desc(
125 cl::ZeroOrMore);
126 static cl::opt<cl::boolOrDefault> DebugifyCheckAndStripAll(
127 "debugify-check-and-strip-all-safe", cl::Hidden,
128 cl::desc(
131 cl::ZeroOrMore);
133 static cl::opt<RunOutliner> EnableMachineOutliner(
134 "enable-machine-outliner", cl::desc("Enable the machine outliner"),
135 cl::Hidden, cl::ValueOptional, cl::init(RunOutliner::TargetDefault),
136 cl::values(clEnumValN(RunOutliner::AlwaysOutline, "always",
145 static cl::opt<cl::boolOrDefault>
146 EnableFastISelOption("fast-isel", cl::Hidden,
147 cl::desc("Enable the \"fast\" instruction selector"));
149 static cl::opt<cl::boolOrDefault> EnableGlobalISelOption(
150 "global-isel", cl::Hidden,
151 cl::desc("Enable the \"global\" instruction selector"));
155 static cl::opt<bool>
156 PrintAfterISel("print-after-isel", cl::init(false), cl::Hidden,
157 cl::desc("Print machine instrs after ISel"));
159 static cl::opt<GlobalISelAbortMode> EnableGlobalISelAbort(
160 "global-isel-abort", cl::Hidden,
161 cl::desc("Enable abort calls when \"global\" instruction selection "
163 cl::values(
171 static cl::opt<bool>
172 FSNoFinalDiscrim("fs-no-final-discrim", cl::init(false), cl::Hidden,
173 cl::desc("Do not insert FS-AFDO discriminators before "
181 static cl::opt<bool> MISchedPostRA(
182 "misched-postra", cl::Hidden,
183 cl::desc(
187 static cl::opt<bool> EarlyLiveIntervals("early-live-intervals", cl::Hidden,
188 cl::desc("Run live interval analysis earlier in the pipeline"));
191 static cl::opt<CFLAAType> UseCFLAA(
192 "use-cfl-aa-in-codegen", cl::init(CFLAAType::None), cl::Hidden,
193 cl::desc("Enable the new, experimental CFL alias analysis in CodeGen"),
194 cl::values(clEnumValN(CFLAAType::None, "none", "Disable CFL-AA"),
210 static cl::opt<std::string>
212 cl::desc("Resume compilation after a specific pass"),
213 cl::value_desc("pass-name"), cl::init(""), cl::Hidden);
215 static cl::opt<std::string>
217 cl::desc("Resume compilation before a specific pass"),
218 cl::value_desc("pass-name"), cl::init(""), cl::Hidden);
220 static cl::opt<std::string>
222 cl::desc("Stop compilation after a specific pass"),
223 cl::value_desc("pass-name"), cl::init(""), cl::Hidden);
225 static cl::opt<std::string>
227 cl::desc("Stop compilation before a specific pass"),
228 cl::value_desc("pass-name"), cl::init(""), cl::Hidden);
231 static cl::opt<bool> EnableMachineFunctionSplitter(
232 "enable-split-machine-functions", cl::Hidden,
233 cl::desc("Split out cold blocks from machine functions based on profile "
237 static cl::opt<bool> DisableExpandReductions(
238 "disable-expand-reductions", cl::init(false), cl::Hidden,
239 cl::desc("Disable the expand reduction intrinsics pass from running"));
345 extern cl::opt<bool> EnableFSDiscriminator;
643 static cl::opt<std::string> *PassNames[] = {&StartAfterOpt, &StartBeforeOpt, in getLimitedCodeGenPipelineReason()
767 bool Verify = VerifyMachineCode == cl::BOU_TRUE; in addVerifyPass()
769 if (VerifyMachineCode == cl::BOU_UNSET) in addVerifyPass()
790 (DebugifyAndStripAll == cl::BOU_TRUE || in addMachinePrePasses()
791 DebugifyCheckAndStripAll == cl::BOU_TRUE)) in addMachinePrePasses()
798 if (DebugifyCheckAndStripAll == cl::BOU_TRUE) { in addMachinePostPasses()
801 } else if (DebugifyAndStripAll == cl::BOU_TRUE) in addMachinePostPasses()
970 TM->setO0WantsFastISel(EnableFastISelOption != cl::BOU_FALSE); in addCoreISelPasses()
976 if (EnableFastISelOption == cl::BOU_TRUE) in addCoreISelPasses()
978 else if (EnableGlobalISelOption == cl::BOU_TRUE || in addCoreISelPasses()
980 EnableGlobalISelOption != cl::BOU_FALSE)) in addCoreISelPasses()
1070 static cl::opt<RegisterRegAlloc::FunctionPassCtor, false,
1072 RegAlloc("regalloc", cl::Hidden, cl::init(&useDefaultRegisterAllocator),
1073 cl::desc("Register allocator to use"));
1279 case cl::BOU_UNSET: return getOptLevel() != CodeGenOpt::None; in getOptimizeRegAlloc()
1280 case cl::BOU_TRUE: return true; in getOptimizeRegAlloc()
1281 case cl::BOU_FALSE: return false; in getOptimizeRegAlloc()