| /llvm-project/lldb/source/Commands/ |
| H A D | Options.td | 4 def tm_sort : Option<"sort", "s">, Group<1>, 7 def tm_smn : Option<"show-mangled-names", "m">, Group<1>, 12 def tm_json : Option<"json", "j">, Group<1>, 14 def tm_errors_only : Option<"errors-only", "e">, Group<1>, 19 def help_hide_aliases : Option<"hide-aliases", "a">, 21 def help_hide_user : Option<"hide-user-commands", "u">, 23 def help_show_hidden : Option<"show-hidden-commands", "h">, 28 def setset_global : Option<"global", "g">, 30 def setset_force : Option<"force", "f">, 32 def setset_exists : Option<"exist [all...] |
| H A D | OptionsBase.td | 6 // Default value: LLDB_OPT_SET_ALL (Option allowed in all groups) 9 // Example: def foo : Option<"foo", "f">, Group<1>; 11 // Example: def foo : Option<"foo", "f">, Groups<[1,4,6]>; 13 // Example: def foo : Option<"foo", "f">, GroupRange<1, 4>; 20 // Example: def foo : Option<"foo", "f">, Required; 23 // Default value: not available (has to be defined in Option) 25 // - `Option` constructor: Already set by constructor. 26 // Example: def foo : Option<"long-option", "l"> 31 // Default value: not available (has to be defined in Option) 33 // - `Option` constructor: Already set by constructor. [all …]
|
| /llvm-project/clang/utils/TableGen/ |
| H A D | ClangOptionDocEmitter.cpp | 26 const Record *Option; 42 static bool hasFlag(const Record *Option, StringRef OptionFlag, 44 for (const Record *Flag : Option->getValueAsListOfDefs(FlagsField)) in hasFlag() 47 if (const DefInit *DI = dyn_cast<DefInit>(Option->getValueInit("Group"))) in hasFlag() 54 static bool isOptionVisible(const Record *Option, const Record *DocInfo) { 56 if (hasFlag(Option, IgnoredFlag, "Flags")) in isOptionVisible() 59 if (hasFlag(Option, Mask, "Visibility")) in isOptionVisible() 76 for (const Record *R : Records.getAllDerivedDefinitions("Option")) in extractDocumentation() 103 for (const Record *R : Records.getAllDerivedDefinitions("Option")) { in extractDocumentation() 183 unsigned getNumArgsForKind(const Record *OptionKind, const Record *Option) { 27 Record *Option; global() member 43 hasFlag(const Record * Option,StringRef OptionFlag,StringRef FlagsField) hasFlag() argument 55 isOptionVisible(const Record * Option,const Record * DocInfo) isOptionVisible() argument 184 getNumArgsForKind(Record * OptionKind,const Record * Option) getNumArgsForKind() argument 211 canSphinxCopeWithOption(const Record * Option) canSphinxCopeWithOption() argument 242 emitOptionWithArgs(StringRef Prefix,const Record * Option,ArrayRef<StringRef> Args,raw_ostream & OS) emitOptionWithArgs() argument 258 emitOptionName(StringRef Prefix,const Record * Option,raw_ostream & OS) emitOptionName() argument 298 emitOptionNames(const Record * Option,raw_ostream & OS,bool EmittedAny) emitOptionNames() argument 309 forEachOptionName(const DocumentedOption & Option,const Record * DocInfo,Fn F) forEachOptionName() argument 319 emitOption(const DocumentedOption & Option,const Record * DocInfo,raw_ostream & OS) emitOption() argument 331 __anon3ac3a4060802(const Record *Option) emitOption() argument 353 __anon3ac3a4060a02(const Record *Option) emitOption() argument [all...] |
| /llvm-project/mlir/include/mlir/Dialect/SparseTensor/Pipelines/ |
| H A D | Passes.h | 33 PassOptions::Option<mlir::SparseParallelizationStrategy> parallelization{ 54 PassOptions::Option<mlir::SparseEmitStrategy> emitStrategy{ 69 PassOptions::Option<bool> enableRuntimeLibrary{ 74 PassOptions::Option<bool> testBufferizationAnalysisOnly{ 78 PassOptions::Option<bool> enableBufferInitialization{ 84 PassOptions::Option<bool> createSparseDeallocs{ 92 PassOptions::Option<int32_t> vectorLength{ 98 PassOptions::Option<bool> reassociateFPReductions{ 102 PassOptions::Option<bool> force32BitVectorIndices{ 107 PassOptions::Option<boo [all...] |
| /llvm-project/llvm/lib/Option/ |
| H A D | OptTable.cpp | 1 //===- OptTable.cpp - Option Table Implementation -------------------------===// 9 #include "llvm/Option/OptTable.h" 12 #include "llvm/Option/Arg.h" 13 #include "llvm/Option/ArgList.h" 14 #include "llvm/Option/OptSpecifier.h" 15 #include "llvm/Option/Option.h" 63 ((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) && in operator <() 65 return B.Kind == Option in operator <() 176 optionMatches(const OptTable::Info & In,StringRef Option) optionMatches() argument 188 suggestValueCompletions(StringRef Option,StringRef Arg) const suggestValueCompletions() argument 231 findNearest(StringRef Option,std::string & NearestString,Visibility VisibilityMask,unsigned MinimumLength,unsigned MaximumDistance) const findNearest() argument 242 findNearest(StringRef Option,std::string & NearestString,unsigned FlagsToInclude,unsigned FlagsToExclude,unsigned MinimumLength,unsigned MaximumDistance) const findNearest() argument 258 internalFindNearest(StringRef Option,std::string & NearestString,unsigned MinimumLength,unsigned MaximumDistance,std::function<bool (const Info &)> ExcludeOption) const internalFindNearest() argument 666 const std::string &Option = Opt.Name; PrintHelpOptionList() local [all...] |
| H A D | Option.cpp | 1 //===- Option.cpp - Abstract Driver Options -------------------------------===// 9 #include "llvm/Option/Option.h" 13 #include "llvm/Option/Arg.h" 14 #include "llvm/Option/ArgList.h" 15 #include "llvm/Option/OptTable.h" 25 Option::Option(const OptTable::Info *info, const OptTable *owner) 40 void Option::print(raw_ostream &O, bool AddNewLine) const { 72 const Option Grou in print() 26 Option::Option(const OptTable::Info *info, const OptTable *owner) Option() function in Option [all...] |
| H A D | Arg.cpp | 21 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg) in Arg() 25 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() 32 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() 96 case Option::RenderValuesStyle: in render() 100 case Option::RenderCommaJoinedStyle: { in render() 112 case Option::RenderJoinedStyle: in render() 118 case Option::RenderSeparateStyle: in render()
|
| /llvm-project/clang-tools-extra/clang-tidy/utils/ |
| H A D | OptionsUtils.cpp | 16 std::vector<StringRef> parseStringList(StringRef Option) { in parseStringList() argument 17 Option = Option.trim().trim(StringsDelimiter); in parseStringList() 18 if (Option.empty()) in parseStringList() 21 Result.reserve(Option.count(StringsDelimiter) + 1); in parseStringList() 23 while (std::tie(Cur, Option) = Option.split(StringsDelimiter), in parseStringList() 24 !Option.empty()) { in parseStringList() 44 for (StringRef Option : {L, R}) { in parseListPair() 46 while (std::tie(Cur, Option) = Option.split(StringsDelimiter), in parseListPair() 47 !Option.empty()) { in parseListPair()
|
| /llvm-project/lldb/utils/TableGen/ |
| H A D | LLDBOptionDefEmitter.cpp | 38 CommandOption(const Record *Option) { in CommandOption() 39 if (Option->getValue("Groups")) { in CommandOption() 41 auto Groups = Option->getValueAsListOfInts("Groups"); in CommandOption() 44 } else if (Option->getValue("GroupStart")) { in CommandOption() 47 int GroupStart = Option->getValueAsInt("GroupStart"); in CommandOption() 48 int GroupEnd = Option->getValueAsInt("GroupEnd"); in CommandOption() 54 Required = Option->getValue("Required"); in CommandOption() 57 FullName = std::string(Option->getValueAsString("FullName")); in CommandOption() 58 ShortName = std::string(Option->getValueAsString("ShortName")); in CommandOption() 60 if (auto A = Option in CommandOption() [all...] |
| /llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerRegistryData.cpp | 54 for (const CmdLineOption &Option : CmdLineOptions) { in dumpToStream() local 56 Option.dumpToStream(Out); in dumpToStream() 74 for (const CmdLineOption &Option : CmdLineOptions) { in dumpToStream() local 76 Option.dumpToStream(Out); in dumpToStream() 191 for (const CmdLineOption &Option : Checker.CmdLineOptions) { in printCheckerOptionList() local 192 OptionMap.insert({Checker.FullName, Option}); in printCheckerOptionList() 197 for (const CmdLineOption &Option : Package.CmdLineOptions) { in printCheckerOptionList() local 198 OptionMap.insert({Package.FullName, Option}); in printCheckerOptionList() 212 const CmdLineOption &Option = Entry.second; in printCheckerOptionList() local 213 std::string FullOption = (Entry.first + ":" + Option.OptionName).str(); in printCheckerOptionList() [all …]
|
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | CommandLine.h | 97 class Option; variable 106 void AddLiteralOption(Option &O, StringRef Name); 232 SmallVector<Option *, 4> PositionalOpts; 233 SmallVector<Option *, 4> SinkOpts; 234 StringMap<Option *> OptionsMap; 236 Option *ConsumeAfterOpt = nullptr; // The ConsumeAfter option if it exists. 250 class Option { 335 explicit Option(enum NumOccurrencesFlag OccurrencesFlag, in Option() function 346 virtual ~Option() = default; 414 void apply(Option &O) const { O.setDescription(Desc); } in apply() [all …]
|
| /llvm-project/mlir/include/mlir/Dialect/GPU/Transforms/ |
| H A D | Passes.td | 91 Option<"toolkitPath", "toolkit", "std::string", [{""}], 95 Option<"cmdOptions", "opts", "std::string", [{""}], 97 Option<"compilationTarget", "format", "std::string", [{"fatbin"}], 99 Option<"elfSection", "section", "std::string", [{""}], 123 Option<"moduleMatcher", "module", "std::string", 126 Option<"triple", "triple", "std::string", 129 Option<"chip", "chip", "std::string", 132 Option<"features", "features", "std::string", 135 Option<"optLevel", "O", "unsigned", 138 Option<"fastFla [all...] |
| /llvm-project/mlir/include/mlir/Dialect/GPU/Pipelines/ |
| H A D | Passes.h | 20 PassOptions::Option<int64_t> indexBitWidth{ 25 PassOptions::Option<std::string> cubinTriple{ 29 PassOptions::Option<std::string> cubinChip{ 32 PassOptions::Option<std::string> cubinFeatures{ 36 PassOptions::Option<std::string> cubinFormat{ 40 PassOptions::Option<int> optLevel{ 44 PassOptions::Option<bool> kernelUseBarePtrCallConv{ 50 PassOptions::Option<bool> hostUseBarePtrCallConv{
|
| /llvm-project/mlir/test/lib/Dialect/Linalg/ |
| H A D | TestLinalgTransforms.cpp | 60 Option<bool> testPatterns{*this, "test-patterns", 63 Option<bool> testVectorTransferForwardingPatterns{ 68 Option<bool> testGenericToVectorPattern{ 73 Option<bool> testDecomposePadTensor{ 77 Option<bool> testDecomposeTensorPackOp{ 82 Option<bool> testDecomposeTensorUnPackOp{ 88 Option<bool> testSwapSubTensorPadTensor{ 99 Option<bool> skipPartial{ 103 Option<std::string> loopType{ 108 Option<boo [all...] |
| /llvm-project/flang/include/flang/Optimizer/CodeGen/ |
| H A D | CGPasses.td | 28 Option<"forcedTargetTriple", "target", "std::string", /*default=*/"", 30 Option<"forcedDataLayout", "datalayout", "std::string", /*default=*/"", 32 Option<"forcedTargetCPU", "target-cpu", "std::string", /*default=*/"", 34 Option<"forcedTuneCPU", "tune-cpu", "std::string", /*default=*/"", 36 Option<"forcedTargetFeatures", "target-features", "std::string", 38 Option<"applyTBAA", "apply-tbaa", "bool", /*default=*/"false", 40 Option<"typeDescriptorsRenamedForAssembly", 56 Option<"preserveDeclare", "preserve-declare", "bool", /*default=*/"false", 73 Option<"forcedTargetTriple", "target", "std::string", /*default=*/"", 75 Option<"forcedTargetCP [all...] |
| /llvm-project/llvm/lib/Support/ |
| H A D | CommandLine.cpp | 82 void Option::anchor() {} in anchor() 121 // Option predicates... 122 static inline bool isGrouping(const Option *O) { in isGrouping() 125 static inline bool isPrefixedOrGrouping(const Option *O) { in isPrefixedOrGrouping() 159 SmallVector<Option*, 4> DefaultOptions; 175 void forEachSubCommand(Option &Opt, function_ref<void(SubCommand &)> Action) { in forEachSubCommand() 193 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption() 197 errs() << ProgramName << ": CommandLine Error: Option '" << Name in addLiteralOption() 203 void addLiteralOption(Option &Opt, StringRef Name) { in addLiteralOption() 208 void addOption(Option * 703 getOptionPred(StringRef Name,size_t & Length,bool (* Pred)(const Option *),const StringMap<Option * > & OptionsMap) getOptionPred() argument 2163 StringRef Option = getOption(i); printOptionInfo() local [all...] |
| /llvm-project/mlir/include/mlir/Pass/ |
| H A D | PassOptions.h | 1 //===- PassOptions.h - Pass Option Utilities --------------------*- C++ -*-===// 33 parseCommaSeparatedList(llvm::cl::Option &opt, StringRef argName, 37 LogicalResult parseCommaSeparatedList(llvm::cl::Option &opt, StringRef argName, in parseCommaSeparatedList() 95 /// hooks into the options that are not available via llvm::cl::Option. 114 virtual const llvm::cl::Option *getOption() const = 0; 150 bool parse(llvm::cl::Option &, StringRef, StringRef arg, in printValue() 195 class Option 200 Option(PassOptions &parent, StringRef arg, Args &&...args) in print() 210 ~Option() override = default; 213 Option 176 Option(PassOptions &parent, StringRef arg, Args &&...args) Option() function [all...] |
| /llvm-project/llvm/tools/llvm-lipo/ |
| H A D | LipoOpts.td | 1 include "llvm/Option/OptParser.td" 22 : Option<["-", "--"], "verify_arch", KIND_REMAINING_ARGS>, 27 def archs : Option<["-", "--"], "archs", KIND_FLAG>, 31 def info : Option<["-", "--"], "info", KIND_FLAG>, 37 def thin : Option<["-", "--"], "thin", KIND_SEPARATE>, 42 def extract : Option<["-", "--"], "extract", KIND_SEPARATE>, 47 def create : Option<["-", "--"], "create", KIND_FLAG>, 58 def output : Option<["-", "--"], "output", KIND_SEPARATE>, 62 def fat64 : Option<["-", "--"], "fat64", KIND_FLAG>,
|
| /llvm-project/llvm/include/llvm/Option/ |
| H A D | OptTable.h | 1 //===- OptTable.h - Option Table --------------------------------*- C++ -*-===// 16 #include "llvm/Option/OptSpecifier.h" 32 class Option; 46 /// Provide access to the Option info table. 48 /// The OptTable class provides a layer of indirection which allows Option 52 /// parts of the driver still use Option instances where convenient. 158 assert(id > 0 && id - 1 < getNumOptions() && "Invalid Option ID."); in getOptionHelpText() 189 /// Get the given Opt's Option instance, lazily creating it in setDashDashParsing() 193 const Option getOption(OptSpecifier Opt) const; 265 /// \param [in] Option 31 class Option; global() variable [all...] |
| H A D | Option.h | 1 //===- Option.h - Abstract Driver Options -----------------------*- C++ -*-===// 14 #include "llvm/Option/OptSpecifier.h" 15 #include "llvm/Option/OptTable.h" 43 /// Option - Abstract representation for a single form of driver 46 /// An Option class represents a form of option that the driver 53 /// particular Option instance. 54 class Option { 84 Option(const OptTable::Info *Info, const OptTable *Owner); 107 const Option getGroup() const { in getGroup() 113 const Option getAlia in getAlias() [all...] |
| H A D | Arg.h | 37 const Option Opt; 73 Arg(const Option Opt, StringRef Spelling, unsigned Index, 75 Arg(const Option Opt, StringRef Spelling, unsigned Index, 77 Arg(const Option Opt, StringRef Spelling, unsigned Index, 83 const Option &getOption() const { return Opt; } in getOption()
|
| /llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAttr.cpp | 96 LoopHintAttr::OptionType Option; in handleLoopHintAttr() 99 auto SetHints = [&Option, &State](LoopHintAttr::OptionType O, in handleLoopHintAttr() local 101 Option = O; in handleLoopHintAttr() 132 Option = llvm::StringSwitch<LoopHintAttr::OptionType>( in handleLoopHintAttr() 146 if (Option == LoopHintAttr::VectorizeWidth) { in handleLoopHintAttr() 156 } else if (Option == LoopHintAttr::InterleaveCount || in handleLoopHintAttr() 157 Option == LoopHintAttr::UnrollCount || in handleLoopHintAttr() 158 Option == LoopHintAttr::PipelineInitiationInterval) { in handleLoopHintAttr() 164 } else if (Option == LoopHintAttr::Vectorize || in handleLoopHintAttr() 165 Option in handleLoopHintAttr() 484 LoopHintAttr::OptionType Option = LH->getOption(); CheckForIncompatibleAttributes() local [all...] |
| /llvm-project/mlir/include/mlir/Dialect/Affine/ |
| H A D | Passes.td | 23 Option<"fastMemoryCapacity", "fast-mem-capacity", "uint64_t", 26 Option<"fastMemorySpace", "fast-mem-space", "unsigned", 29 Option<"generateDma", "generate-dma", "bool", 31 Option<"minDmaTransferSize", "min-dma-transfer", "int", 34 Option<"slowMemorySpace", "slow-mem-space", "unsigned", 37 Option<"skipNonUnitStrideLoops", "skip-non-unit-stride-loops", "bool", 40 Option<"tagMemorySpace", "tag-mem-space", "unsigned", 157 Option<"computeToleranceThreshold", "fusion-compute-tolerance", "double", 160 Option<"fastMemorySpace", "fusion-fast-mem-space", "unsigned", 163 Option<"localBufSizeThreshol [all...] |
| /llvm-project/utils/bazel/llvm-project-overlay/lld/ |
| H A D | BUILD.bazel | 53 "//llvm:Option", 73 "//llvm:include/llvm/Option/OptParser.td", 107 "//llvm:Option", 130 "//llvm:include/llvm/Option/OptParser.td", 163 "//llvm:Option", 184 "//llvm:include/llvm/Option/OptParser.td", 197 "//llvm:Option", 214 "//llvm:include/llvm/Option/OptParser.td", 240 "//llvm:Option", 260 "//llvm:include/llvm/Option/OptParse [all...] |
| /llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | InstallNameToolOpts.td | 13 include "llvm/Option/OptParser.td" 18 def add_rpath : Option<["-", "--"], "add_rpath", KIND_SEPARATE>, 21 def prepend_rpath : Option<["-", "--"], "prepend_rpath", KIND_SEPARATE>, 24 def delete_rpath: Option<["-", "--"], "delete_rpath", KIND_SEPARATE>, 33 def id : Option<["-","--"], "id", KIND_SEPARATE>,
|