| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | CommandLine.cpp | 165 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 D | xray-registry.cpp | 21 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 D | xray-registry.h | 31 CommandRegistration(cl::SubCommand *SC, std::function<Error()> Command); 35 std::function<Error()> dispatch(cl::SubCommand *SC);
|
| H A D | llvm-xray.cpp | 34 if (SC == &cl::SubCommand::getTopLevel()) { in main()
|
| H A D | xray-fdr-dump.cpp | 28 static cl::SubCommand Dump("fdr-dump", "FDR Trace Dump");
|
| H A D | xray-extract.cpp | 32 static cl::SubCommand Extract("extract", "Extract instrumentation maps");
|
| H A D | xray-converter.cpp | 32 static cl::SubCommand Convert("convert", "Trace Format Conversion");
|
| H A D | xray-graph-diff.cpp | 31 static cl::SubCommand GraphDiff("graph-diff",
|
| H A D | xray-account.cpp | 31 static cl::SubCommand Account("account", "Function call accounting");
|
| H A D | xray-stacks.cpp | 36 static cl::SubCommand Stack("stack", "Call stack accounting");
|
| H A D | xray-graph.cpp | 26 static cl::SubCommand GraphC("graph", "Generate function-call graph");
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ |
| H A D | CommonOptionsParser.cpp | 89 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 D | ClangRefactor.cpp | 43 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 D | CommandLine.h | 203 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 D | RemarkUtil.cpp | 32 static cl::SubCommand 35 static cl::SubCommand 38 static cl::SubCommand InstructionCount(
|
| /openbsd-src/gnu/llvm/lldb/tools/lldb-test/ |
| H A D | lldb-test.cpp | 57 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 D | llvm-pdbutil.cpp | 103 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",
|