Lines Matching refs:cl
23 static cl::OptionCategory ProfGenCategory("ProfGen Options");
25 static cl::opt<std::string> PerfScriptFilename(
26 "perfscript", cl::value_desc("perfscript"),
27 llvm::cl::MiscFlags::CommaSeparated,
28 cl::desc("Path of perf-script trace created by Linux perf tool with "
30 cl::cat(ProfGenCategory));
31 static cl::alias PSA("ps", cl::desc("Alias for --perfscript"),
32 cl::aliasopt(PerfScriptFilename));
34 static cl::opt<std::string> PerfDataFilename(
35 "perfdata", cl::value_desc("perfdata"), llvm::cl::MiscFlags::CommaSeparated,
36 cl::desc("Path of raw perf data created by Linux perf tool (it should be "
38 cl::cat(ProfGenCategory));
39 static cl::alias PDA("pd", cl::desc("Alias for --perfdata"),
40 cl::aliasopt(PerfDataFilename));
42 static cl::opt<std::string> UnsymbolizedProfFilename(
43 "unsymbolized-profile", cl::value_desc("unsymbolized profile"),
44 llvm::cl::MiscFlags::CommaSeparated,
45 cl::desc("Path of the unsymbolized profile created by "
47 cl::cat(ProfGenCategory));
48 static cl::alias UPA("up", cl::desc("Alias for --unsymbolized-profile"),
49 cl::aliasopt(UnsymbolizedProfFilename));
51 static cl::opt<std::string> SampleProfFilename(
52 "llvm-sample-profile", cl::value_desc("llvm sample profile"),
53 cl::desc("Path of the LLVM sample profile"), cl::cat(ProfGenCategory));
55 static cl::opt<std::string>
56 BinaryPath("binary", cl::value_desc("binary"), cl::Required,
57 cl::desc("Path of profiled executable binary."),
58 cl::cat(ProfGenCategory));
60 static cl::opt<uint32_t>
61 ProcessId("pid", cl::value_desc("process Id"), cl::init(0),
62 cl::desc("Process Id for the profiled executable binary."),
63 cl::cat(ProfGenCategory));
65 static cl::opt<std::string> DebugBinPath(
66 "debug-binary", cl::value_desc("debug-binary"),
67 cl::desc("Path of debug info binary, llvm-profgen will load the DWARF info "
69 cl::cat(ProfGenCategory));
71 extern cl::opt<bool> ShowDisassemblyOnly;
72 extern cl::opt<bool> ShowSourceLocations;
73 extern cl::opt<bool> SkipSymbolization;
150 cl::HideUnrelatedOptions({&ProfGenCategory, &getColorCategory()}); in main()
151 cl::ParseCommandLineOptions(argc, argv, "llvm SPGO profile generator\n"); in main()