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 static cl::opt<cl::boolOrDefault>
120 DebugifyAndStripAll("debugify-and-strip-all-safe", cl::Hidden,
121 cl::desc("Debugify MIR before and Strip debug after "
124 static cl::opt<cl::boolOrDefault> DebugifyCheckAndStripAll(
125 "debugify-check-and-strip-all-safe", cl::Hidden,
126 cl::desc(
131 static cl::opt<RunOutliner> EnableMachineOutliner(
132 "enable-machine-outliner", cl::desc("Enable the machine outliner"),
133 cl::Hidden, cl::ValueOptional, cl::init(RunOutliner::TargetDefault),
134 cl::values(clEnumValN(RunOutliner::AlwaysOutline, "always",
143 static cl::opt<bool> DisableCFIFixup("disable-cfi-fixup", cl::Hidden,
144 cl::desc("Disable the CFI fixup pass"));
148 static cl::opt<cl::boolOrDefault>
149 EnableFastISelOption("fast-isel", cl::Hidden,
150 cl::desc("Enable the \"fast\" instruction selector"));
152 static cl::opt<cl::boolOrDefault> EnableGlobalISelOption(
153 "global-isel", cl::Hidden,
154 cl::desc("Enable the \"global\" instruction selector"));
158 static cl::opt<bool>
159 PrintAfterISel("print-after-isel", cl::init(false), cl::Hidden,
160 cl::desc("Print machine instrs after ISel"));
162 static cl::opt<GlobalISelAbortMode> EnableGlobalISelAbort(
163 "global-isel-abort", cl::Hidden,
164 cl::desc("Enable abort calls when \"global\" instruction selection "
166 cl::values(
174 static cl::opt<bool>
175 FSNoFinalDiscrim("fs-no-final-discrim", cl::init(false), cl::Hidden,
176 cl::desc("Do not insert FS-AFDO discriminators before "
180 static cl::opt<bool> DisableRAFSProfileLoader(
181 "disable-ra-fsprofile-loader", cl::init(false), cl::Hidden,
182 cl::desc("Disable MIRProfileLoader before RegAlloc"));
185 static cl::opt<bool> DisableLayoutFSProfileLoader(
186 "disable-layout-fsprofile-loader", cl::init(false), cl::Hidden,
187 cl::desc("Disable MIRProfileLoader before BlockPlacement"));
189 static cl::opt<std::string>
190 FSProfileFile("fs-profile-file", cl::init(""), cl::value_desc("filename"),
191 cl::desc("Flow Sensitive profile file name."), cl::Hidden);
193 static cl::opt<std::string> FSRemappingFile(
194 "fs-remapping-file", cl::init(""), cl::value_desc("filename"),
195 cl::desc("Flow Sensitive profile remapping file name."), cl::Hidden);
202 static cl::opt<bool> MISchedPostRA(
203 "misched-postra", cl::Hidden,
204 cl::desc(
208 static cl::opt<bool> EarlyLiveIntervals("early-live-intervals", cl::Hidden,
209 cl::desc("Run live interval analysis earlier in the pipeline"));
212 static cl::opt<CFLAAType> UseCFLAA(
213 "use-cfl-aa-in-codegen", cl::init(CFLAAType::None), cl::Hidden,
214 cl::desc("Enable the new, experimental CFL alias analysis in CodeGen"),
215 cl::values(clEnumValN(CFLAAType::None, "none", "Disable CFL-AA"),
231 static cl::opt<std::string>
233 cl::desc("Resume compilation after a specific pass"),
234 cl::value_desc("pass-name"), cl::init(""), cl::Hidden);
236 static cl::opt<std::string>
238 cl::desc("Resume compilation before a specific pass"),
239 cl::value_desc("pass-name"), cl::init(""), cl::Hidden);
241 static cl::opt<std::string>
243 cl::desc("Stop compilation after a specific pass"),
244 cl::value_desc("pass-name"), cl::init(""), cl::Hidden);
246 static cl::opt<std::string>
248 cl::desc("Stop compilation before a specific pass"),
249 cl::value_desc("pass-name"), cl::init(""), cl::Hidden);
252 static cl::opt<bool> EnableMachineFunctionSplitter(
253 "enable-split-machine-functions", cl::Hidden,
254 cl::desc("Split out cold blocks from machine functions based on profile "
258 static cl::opt<bool> DisableExpandReductions(
259 "disable-expand-reductions", cl::init(false), cl::Hidden,
260 cl::desc("Disable the expand reduction intrinsics pass from running"));
263 static cl::opt<bool> DisableSelectOptimize(
264 "disable-select-optimize", cl::init(true), cl::Hidden,
265 cl::desc("Disable the select-optimization pass from running"));
390 extern cl::opt<bool> EnableFSDiscriminator;
688 static cl::opt<std::string> *PassNames[] = {&StartAfterOpt, &StartBeforeOpt, in getLimitedCodeGenPipelineReason()
812 bool Verify = VerifyMachineCode == cl::BOU_TRUE; in addVerifyPass()
814 if (VerifyMachineCode == cl::BOU_UNSET) in addVerifyPass()
835 (DebugifyAndStripAll == cl::BOU_TRUE || in addMachinePrePasses()
836 DebugifyCheckAndStripAll == cl::BOU_TRUE)) in addMachinePrePasses()
842 if (DebugifyCheckAndStripAll == cl::BOU_TRUE) { in addMachinePostPasses()
845 } else if (DebugifyAndStripAll == cl::BOU_TRUE) in addMachinePostPasses()
1026 TM->setO0WantsFastISel(EnableFastISelOption != cl::BOU_FALSE); in addCoreISelPasses()
1032 if (EnableFastISelOption == cl::BOU_TRUE) in addCoreISelPasses()
1034 else if (EnableGlobalISelOption == cl::BOU_TRUE || in addCoreISelPasses()
1036 EnableGlobalISelOption != cl::BOU_FALSE)) in addCoreISelPasses()
1126 static cl::opt<RegisterRegAlloc::FunctionPassCtor, false,
1128 RegAlloc("regalloc", cl::Hidden, cl::init(&useDefaultRegisterAllocator),
1129 cl::desc("Register allocator to use"));
1350 case cl::BOU_UNSET: return getOptLevel() != CodeGenOpt::None; in getOptimizeRegAlloc()
1351 case cl::BOU_TRUE: return true; in getOptimizeRegAlloc()
1352 case cl::BOU_FALSE: return false; in getOptimizeRegAlloc()