Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
H A Dxray-registry.cpp22 ManagedStatic<std::unordered_map<cl::SubCommand *, HandlerType>> Commands;
24 CommandRegistration::CommandRegistration(cl::SubCommand *SC, in CommandRegistration()
32 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 Dxray-extract.cpp32 static cl::SubCommand Extract("extract", "Extract instrumentation maps");
H A Dxray-fdr-dump.cpp28 static cl::SubCommand Dump("fdr-dump", "FDR Trace Dump");
H A Dxray-converter.cpp32 static cl::SubCommand Convert("convert", "Trace Format Conversion");
H A Dxray-account.cpp29 static cl::SubCommand Account("account", "Function call accounting");
H A Dxray-graph-diff.cpp30 static cl::SubCommand GraphDiff("graph-diff",
H A Dxray-stacks.cpp36 static cl::SubCommand Stack("stack", "Call stack accounting");
H A Dxray-graph.cpp24 static cl::SubCommand GraphC("graph", "Generate function-call graph");
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DCommandLine.cpp165 SmallPtrSet<SubCommand *, 4> RegisteredSubCommands;
178 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption()
207 void addOption(Option *O, SubCommand *SC) { in addOption()
268 void removeOption(Option *O, SubCommand *SC) { in removeOption()
274 SubCommand &Sub = *SC; in removeOption()
315 bool hasOptions(const SubCommand &Sub) const { in hasOptions()
328 SubCommand *getActiveSubCommand() { return ActiveSubCommand; } in getActiveSubCommand()
330 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr()
331 SubCommand &Sub = *SC; in updateArgStr()
366 void registerSubCommand(SubCommand *sub) { in registerSubCommand()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-refactor/
H A DClangRefactor.cpp223 cl::OptionCategory &Category, cl::SubCommand &Subcommand, in CommandLineRefactoringOptionCreator()
248 cl::SubCommand &Subcommand;
253 class RefactoringActionSubcommand : public cl::SubCommand {
258 : SubCommand(Action->getCommand(), Action->getDescription()), in RefactoringActionSubcommand()
582 [](const std::unique_ptr<RefactoringActionSubcommand> &SubCommand) { in getSelectedSubcommand() argument
583 return !!(*SubCommand); in getSelectedSubcommand()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DCommandLine.h210 class SubCommand {
220 SubCommand(StringRef Name, StringRef Description = "")
224 SubCommand() = default;
241 extern ManagedStatic<SubCommand> TopLevelSubCommand;
244 extern ManagedStatic<SubCommand> AllSubCommands;
286 SmallPtrSet<SubCommand *, 1> Subs; // The subcommands this option belongs to.
319 return any_of(Subs, [](const SubCommand *SC) { in isInAllSubCommands()
337 void addSubCommand(SubCommand &S) { Subs.insert(&S); } in addSubCommand()
475 SubCommand &Sub;
477 sub(SubCommand &S) : Sub(S) {} in sub()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp101 cl::SubCommand DumpSubcommand("dump", "Dump MSF and CodeView debug info");
102 cl::SubCommand BytesSubcommand("bytes", "Dump raw bytes from the PDB file");
104 cl::SubCommand DiaDumpSubcommand("diadump",
107 cl::SubCommand
111 cl::SubCommand
114 cl::SubCommand
118 cl::SubCommand MergeSubcommand("merge",
121 cl::SubCommand ExplainSubcommand("explain",
124 cl::SubCommand ExportSubcommand("export",