Lines Matching refs:cl
69 static cl::opt<std::string>
70 InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-"));
72 static cl::opt<std::string>
73 InputLanguage("x", cl::desc("Input language ('ir' or 'mir')"));
75 static cl::opt<std::string>
76 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"));
78 static cl::opt<std::string>
80 cl::desc(".dwo output filename"),
81 cl::value_desc("filename"));
83 static cl::opt<unsigned>
84 TimeCompilations("time-compilations", cl::Hidden, cl::init(1u),
85 cl::value_desc("N"),
86 cl::desc("Repeat compilation N times for timing"));
88 static cl::opt<bool> TimeTrace("time-trace", cl::desc("Record time trace"));
90 static cl::opt<unsigned> TimeTraceGranularity(
92 cl::desc(
94 cl::init(500), cl::Hidden);
96 static cl::opt<std::string>
98 cl::desc("Specify time trace file destination"),
99 cl::value_desc("filename"));
101 static cl::opt<std::string>
102 BinutilsVersion("binutils-version", cl::Hidden,
103 cl::desc("Produced object files can use all ELF features "
110 static cl::opt<bool>
111 PreserveComments("preserve-as-comments", cl::Hidden,
112 cl::desc("Preserve Comments in outputted assembly"),
113 cl::init(true));
116 static cl::opt<char>
118 cl::desc("Optimization level. [-O0, -O1, -O2, or -O3] "
120 cl::Prefix, cl::init('2'));
122 static cl::opt<std::string>
123 TargetTriple("mtriple", cl::desc("Override target triple for module"));
125 static cl::opt<std::string> SplitDwarfFile(
127 cl::desc(
130 static cl::opt<bool> NoVerify("disable-verify", cl::Hidden,
131 cl::desc("Do not verify input module"));
133 static cl::opt<bool> DisableSimplifyLibCalls("disable-simplify-libcalls",
134 cl::desc("Disable simplify-libcalls"));
136 static cl::opt<bool> ShowMCEncoding("show-mc-encoding", cl::Hidden,
137 cl::desc("Show encoding in .s output"));
139 static cl::opt<bool>
140 DwarfDirectory("dwarf-directory", cl::Hidden,
141 cl::desc("Use .file directives with an explicit directory"),
142 cl::init(true));
144 static cl::opt<bool> AsmVerbose("asm-verbose",
145 cl::desc("Add comments to directives."),
146 cl::init(true));
148 static cl::opt<bool>
149 CompileTwice("compile-twice", cl::Hidden,
150 cl::desc("Run everything twice, re-using the same pass "
152 cl::init(false));
154 static cl::opt<bool> DiscardValueNames(
156 cl::desc("Discard names from Value (other than GlobalValue)."),
157 cl::init(false), cl::Hidden);
159 static cl::list<std::string> IncludeDirs("I", cl::desc("include search path"));
161 static cl::opt<bool> RemarksWithHotness(
163 cl::desc("With PGO, include profile count in optimization remarks"),
164 cl::Hidden);
166 static cl::opt<std::optional<uint64_t>, false, remarks::HotnessThresholdParser>
169 cl::desc("Minimum profile count required for "
172 cl::value_desc("N or 'auto'"), cl::init(0), cl::Hidden);
174 static cl::opt<std::string>
176 cl::desc("Output filename for pass remarks"),
177 cl::value_desc("filename"));
179 static cl::opt<std::string>
181 cl::desc("Only record optimization remarks from passes whose "
183 cl::value_desc("regex"));
185 static cl::opt<std::string> RemarksFormat(
187 cl::desc("The format used for serializing remarks (default: YAML)"),
188 cl::value_desc("format"), cl::init("yaml"));
190 static cl::opt<bool> EnableNewPassManager(
191 "enable-new-pm", cl::desc("Enable the new pass manager"), cl::init(false));
197 static cl::opt<std::string> PassPipeline(
199 cl::desc(
202 static cl::alias PassPipeline2("p", cl::aliasopt(PassPipeline),
203 cl::desc("Alias for -passes"));
205 static cl::opt<bool> TryUseNewDbgInfoFormat(
207 cl::desc("Enable debuginfo iterator positions, if they're built in"),
208 cl::init(false), cl::Hidden);
210 extern cl::opt<bool> UseNewDbgInfoFormat;
233 static cl::opt<RunPassOption, true, cl::parser<std::string>> RunPass(
235 cl::desc("Run compiler only for specified passes (comma separated list)"),
236 cl::value_desc("pass-name"), cl::location(RunPassOpt));
354 cl::AddExtraVersionPrinter(sys::printDefaultTargetAndDetectedCPU); in main()
356 cl::AddExtraVersionPrinter(TargetRegistry::printRegisteredTargetsForVersion); in main()
358 cl::ParseCommandLineOptions(argc, argv, "llvm system compiler\n"); in main()
729 cl::PrintOptionValues(); in compileModule()