Home
last modified time | relevance | path

Searched refs:SubCommand (Results 1 – 17 of 17) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DCommandLine.cpp165 SmallPtrSet<SubCommand *, 4> RegisteredSubCommands;
168 registerSubCommand(&SubCommand::getTopLevel()); in CommandLineParser()
169 registerSubCommand(&SubCommand::getAll()); in CommandLineParser()
178 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption()
189 if (SC == &SubCommand::getAll()) { in addLiteralOption()
200 addLiteralOption(Opt, &SubCommand::getTopLevel(), Name); in addLiteralOption()
207 void addOption(Option *O, SubCommand *SC) { in addOption()
245 if (SC == &SubCommand::getAll()) { in addOption()
261 addOption(O, &SubCommand::getTopLevel()); in addOption()
268 void removeOption(Option *O, SubCommand *SC) { in removeOption()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-xray/
H A Dxray-registry.cpp21 static std::unordered_map<cl::SubCommand *, HandlerType> &getCommands() { in getCommands()
22 static std::unordered_map<cl::SubCommand *, HandlerType> Commands; in getCommands()
26 CommandRegistration::CommandRegistration(cl::SubCommand *SC, in CommandRegistration()
34 HandlerType dispatch(cl::SubCommand *SC) { in dispatch()
H A Dxray-registry.h31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command);
35 std::function<Error()> dispatch(cl::SubCommand *SC);
H A Dllvm-xray.cpp34 if (SC == &cl::SubCommand::getTopLevel()) { in main()
H A Dxray-fdr-dump.cpp28 static cl::SubCommand Dump("fdr-dump", "FDR Trace Dump");
H A Dxray-extract.cpp32 static cl::SubCommand Extract("extract", "Extract instrumentation maps");
H A Dxray-converter.cpp32 static cl::SubCommand Convert("convert", "Trace Format Conversion");
H A Dxray-graph-diff.cpp31 static cl::SubCommand GraphDiff("graph-diff",
H A Dxray-account.cpp31 static cl::SubCommand Account("account", "Function call accounting");
H A Dxray-stacks.cpp36 static cl::SubCommand Stack("stack", "Call stack accounting");
H A Dxray-graph.cpp26 static cl::SubCommand GraphC("graph", "Generate function-call graph");
/openbsd-src/gnu/llvm/clang/lib/Tooling/
H A DCommonOptionsParser.cpp89 cl::sub(cl::SubCommand::getAll())); in init()
93 cl::cat(Category), cl::sub(cl::SubCommand::getAll())); in init()
98 cl::cat(Category), cl::sub(cl::SubCommand::getAll())); in init()
103 cl::cat(Category), cl::sub(cl::SubCommand::getAll())); in init()
/openbsd-src/gnu/llvm/clang/tools/clang-refactor/
H A DClangRefactor.cpp43 cl::sub(cl::SubCommand::getAll()));
47 cl::sub(cl::SubCommand::getAll()));
224 cl::OptionCategory &Category, cl::SubCommand &Subcommand, in CommandLineRefactoringOptionCreator()
250 cl::SubCommand &Subcommand;
255 class RefactoringActionSubcommand : public cl::SubCommand {
260 : SubCommand(Action->getCommand(), Action->getDescription()), in RefactoringActionSubcommand()
584 [](const std::unique_ptr<RefactoringActionSubcommand> &SubCommand) { in getSelectedSubcommand() argument
585 return !!(*SubCommand); in getSelectedSubcommand()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCommandLine.h203 class SubCommand {
213 SubCommand(StringRef Name, StringRef Description = "")
217 SubCommand() = default;
220 static SubCommand &getTopLevel();
224 static SubCommand &getAll();
241 extern ManagedStatic<SubCommand> TopLevelSubCommand;
244 extern ManagedStatic<SubCommand> AllSubCommands;
285 SmallPtrSet<SubCommand *, 1> Subs; // The subcommands this option belongs to.
318 return llvm::is_contained(Subs, &SubCommand::getAll()); in isInAllSubCommands()
334 void addSubCommand(SubCommand &S) { Subs.insert(&S); } in addSubCommand()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp32 static cl::SubCommand
35 static cl::SubCommand
38 static cl::SubCommand InstructionCount(
/openbsd-src/gnu/llvm/lldb/tools/lldb-test/
H A Dlldb-test.cpp57 static cl::SubCommand BreakpointSubcommand("breakpoints",
59 cl::SubCommand ObjectFileSubcommand("object-file",
61 cl::SubCommand SymbolsSubcommand("symbols", "Dump symbols for an object file");
62 cl::SubCommand SymTabSubcommand("symtab",
64 cl::SubCommand IRMemoryMapSubcommand("ir-memory-map", "Test IRMemoryMap");
65 cl::SubCommand AssertSubcommand("assert", "Test assert handling");
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp103 cl::SubCommand DumpSubcommand("dump", "Dump MSF and CodeView debug info");
104 cl::SubCommand BytesSubcommand("bytes", "Dump raw bytes from the PDB file");
106 cl::SubCommand DiaDumpSubcommand("diadump",
109 cl::SubCommand
113 cl::SubCommand
116 cl::SubCommand
120 cl::SubCommand MergeSubcommand("merge",
123 cl::SubCommand ExplainSubcommand("explain",
126 cl::SubCommand ExportSubcommand("export",