Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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 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-account.cpp29 static cl::SubCommand Account("account", "Function call accounting");
H A Dxray-graph-diff.cpp31 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");
/llvm-project-15.0.7/llvm/lib/Support/
H A DCommandLine.cpp209 void addOption(Option *O, SubCommand *SC) { in addOption()
276 SubCommand &Sub = *SC; in removeOption()
333 SubCommand &Sub = *SC; in updateArgStr()
368 void registerSubCommand(SubCommand *sub) { in registerSubCommand()
391 void unregisterSubCommand(SubCommand *sub) { in unregisterSubCommand()
421 SubCommand *ActiveSubCommand = nullptr;
431 SubCommand *LookupSubCommand(StringRef Name);
494 void SubCommand::registerSubCommand() { in registerSubCommand()
498 void SubCommand::unregisterSubCommand() { in unregisterSubCommand()
502 void SubCommand::reset() { in reset()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCommandLine.h204 class SubCommand {
214 SubCommand(StringRef Name, StringRef Description = "")
218 SubCommand() = default;
235 extern ManagedStatic<SubCommand> TopLevelSubCommand;
238 extern ManagedStatic<SubCommand> AllSubCommands;
328 void addSubCommand(SubCommand &S) { Subs.insert(&S); } in addSubCommand()
462 SubCommand &Sub;
464 sub(SubCommand &S) : Sub(S) {} in sub()
1976 iterator_range<typename SmallPtrSet<SubCommand *, 4>::iterator>
2126 SubCommand &Sub = *TopLevelSubCommand);
[all …]
/llvm-project-15.0.7/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",
/llvm-project-15.0.7/lldb/tools/lldb-test/
H A Dlldb-test.cpp55 static cl::SubCommand BreakpointSubcommand("breakpoints",
57 cl::SubCommand ObjectFileSubcommand("object-file",
59 cl::SubCommand SymbolsSubcommand("symbols", "Dump symbols for an object file");
60 cl::SubCommand IRMemoryMapSubcommand("ir-memory-map", "Test IRMemoryMap");
61 cl::SubCommand AssertSubcommand("assert", "Test assert handling");
/llvm-project-15.0.7/mlir/include/mlir/Pass/
H A DPassOptions.h79 class PassOptions : protected llvm::cl::SubCommand {
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCommandLineTest.cpp81 class StackSubCommand : public cl::SubCommand {
85 : SubCommand(Name, Description) {} in StackSubCommand()
87 StackSubCommand() : SubCommand() {} in StackSubCommand()