Home
last modified time | relevance | path

Searched refs:Option (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DOptions.td4 def tm_sort : Option<"sort", "s">, Group<1>,
7 def tm_smn : Option<"show-mangled-names", "m">, Group<1>,
12 def help_hide_aliases : Option<"hide-aliases", "a">,
14 def help_hide_user : Option<"hide-user-commands", "u">,
16 def help_show_hidden : Option<"show-hidden-commands", "h">,
21 def setset_global : Option<"global", "g">,
23 def setset_force : Option<"force", "f">,
25 def setset_exists : Option<"exists", "e">,
31 def setwrite_file : Option<"file", "f">, Required, Arg<"Filename">,
34 def setwrite_append : Option<"append", "a">,
[all …]
H A DOptionsBase.td6 // 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 …]
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DClangOptionDocEmitter.cpp27 Record *Option; member
154 unsigned getNumArgsForKind(Record *OptionKind, const Record *Option) { in getNumArgsForKind() argument
160 .Case("KIND_MULTIARG", Option->getValueAsInt("NumArgs")) in getNumArgsForKind()
183 if (isIncluded(O.Option, DocInfo)) in isGroupIncluded()
219 bool canSphinxCopeWithOption(const Record *Option) { in canSphinxCopeWithOption() argument
222 for (char C : Option->getValueAsString("Name")) in canSphinxCopeWithOption()
250 void emitOptionWithArgs(StringRef Prefix, const Record *Option, in emitOptionWithArgs() argument
252 OS << Prefix << escapeRST(Option->getValueAsString("Name")); in emitOptionWithArgs()
255 getSeparatorsForKind(Option->getValueAsDef("Kind")); in emitOptionWithArgs()
266 void emitOptionName(StringRef Prefix, const Record *Option, raw_ostream &OS) { in emitOptionName() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Option/
H A DOptTable.cpp72 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) && in operator <()
74 return B.Kind == Option::JoinedClass; in operator <()
86 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier()
96 if (Kind == Option::InputClass) { in OptTable()
99 } else if (Kind == Option::UnknownClass) { in OptTable()
102 } else if (Kind != Option::GroupClass) { in OptTable()
113 Option::OptionClass Kind = (Option::OptionClass) getInfo(i + 1).Kind; in OptTable()
114 assert((Kind != Option::InputClass && Kind != Option::UnknownClass && in OptTable()
115 Kind != Option::GroupClass) && in OptTable()
143 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption()
[all …]
H A DOption.cpp26 Option::Option(const OptTable::Info *info, const OptTable *owner) in Option() function in Option
41 void Option::print(raw_ostream &O) const { in print()
70 const Option Group = getGroup(); in print()
76 const Option Alias = getAlias(); in print()
89 LLVM_DUMP_METHOD void Option::dump() const { print(dbgs()); } in dump()
92 bool Option::matches(OptSpecifier Opt) const { in matches()
94 const Option Alias = getAlias(); in matches()
102 const Option Group = getGroup(); in matches()
108 std::unique_ptr<Arg> Option::acceptInternal(const ArgList &Args, in acceptInternal()
235 std::unique_ptr<Arg> Option::accept(const ArgList &Args, StringRef CurArg, in accept()
[all …]
H A DArg.cpp21 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()
98 case Option::RenderValuesStyle: in render()
102 case Option::RenderCommaJoinedStyle: { in render()
114 case Option::RenderJoinedStyle: in render()
120 case Option::RenderSeparateStyle: in render()
/openbsd-src/gnu/llvm/lldb/utils/TableGen/
H A DLLDBOptionDefEmitter.cpp38 CommandOption(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->getValue("ArgType")) in CommandOption()
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCheckerRegistryData.cpp54 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 …]
/openbsd-src/usr.bin/libtool/LT/
H A DGetopt.pm20 package Option; package
24 return Option::Short->new($1);
26 return Option::ShortArg->new($1);
28 return Option::LongArg0->new($1);
30 return Option::Long->new($1);
32 return Option::LongArg->new($1);
34 return Option::LongArg0->new($1);
36 return Option::Long->new($1);
51 package Option::Short;
68 package Option::ShortArg;
[all …]
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dmpw-config.in23 Else If "{target_canonical}" =~ /i386-\Option-x-go32/
29 Else If "{target_canonical}" =~ /mips-\Option-x-\Option-x/
35 Else If "{target_canonical}" =~ /sh-\Option-x-hms/
62 sed -e 's/@WORDSIZE@/32/' \Option-d
63 -e 's/@wordsize@/32/' \Option-d
64 -e "s/@VERSION@/`Catenate {srcdir}VERSION`/" \Option-d
65 -e 's/@BFD_HOST_64_BIT_DEFINED@/0/' \Option-d
66 -e 's/@BFD_HOST_64_BIT@//' \Option-d
67 -e 's/@BFD_HOST_U_64_BIT@//' \Option-d
68 -e 's/@BFD_HOST_64BIT_LONG@/0/' \Option-d
[all …]
H A Dmpw-make.sed19 /^all \\Option-f _oldest/,/^$/d
49 /^ofiles \\Option-f/,/^$/d
62 /^{OFILES} \\Option-f stamp-picdir/,/^$/d
65 /^\.c\.o \\Option-f /,/End If/c\
66 .c.o \\Option-f .c
69 /"{o}"targets.c.o \\Option-f "{s}"targets.c Makefile/,/^$/c\
70 "{o}"targets.c.o \\Option-f "{s}"targets.c Makefile\
73 /"{o}"archures.c.o \\Option-f "{s}"archures.c Makefile/,/^$/c\
74 "{o}"archures.c.o \\Option-f "{s}"archures.c Makefile\
79 /^"{srcdir}"bfd-in2.h \\Option-f /,/^$/d
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCommandLine.h98 class Option; variable
107 void AddLiteralOption(Option &O, StringRef Name);
233 SmallVector<Option *, 4> PositionalOpts;
234 SmallVector<Option *, 4> SinkOpts;
235 StringMap<Option *> OptionsMap;
237 Option *ConsumeAfterOpt = nullptr; // The ConsumeAfter option if it exists.
248 class Option {
337 explicit Option(enum NumOccurrencesFlag OccurrencesFlag, in Option() function
348 virtual ~Option() = default;
416 void apply(Option &O) const { O.setDescription(Desc); } in apply()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DCommandLine.cpp82 void Option::anchor() {} in anchor()
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;
178 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption()
198 void addLiteralOption(Option &Opt, StringRef Name) { in addLiteralOption()
207 void addOption(Option *O, SubCommand *SC) { in addOption()
254 void addOption(Option *O, bool ProcessDefaultOption = false) { in addOption()
268 void removeOption(Option *O, SubCommand *SC) { in removeOption()
301 void removeOption(Option *O) { in removeOption()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmtAttr.cpp94 LoopHintAttr::OptionType Option; in handleLoopHintAttr() local
97 auto SetHints = [&Option, &State](LoopHintAttr::OptionType O, in handleLoopHintAttr()
99 Option = O; in handleLoopHintAttr()
123 Option = llvm::StringSwitch<LoopHintAttr::OptionType>( in handleLoopHintAttr()
137 if (Option == LoopHintAttr::VectorizeWidth) { in handleLoopHintAttr()
146 } else if (Option == LoopHintAttr::InterleaveCount || in handleLoopHintAttr()
147 Option == LoopHintAttr::UnrollCount || in handleLoopHintAttr()
148 Option == LoopHintAttr::PipelineInitiationInterval) { in handleLoopHintAttr()
153 } else if (Option == LoopHintAttr::Vectorize || in handleLoopHintAttr()
154 Option == LoopHintAttr::Interleave || in handleLoopHintAttr()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-lipo/
H A DLipoOpts.td1 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>,
/openbsd-src/gnu/usr.bin/binutils/gas/
H A Dmpw-make.sed60 /{OBJS}/s/{OBJS} \\Option-f "{o}"config.h/{OBJS} \\Option-f/
82 stamps \\Option-f config-stamp\
84 /^install \\Option-f/,/^$/c\
85 install \\Option-f all install-only\
87 install-only \\Option-f\
93 /^Makefile \\Option-f/,/^$/d
94 /^config.status \\Option-f/,/^$/d
96 /^"{o}"config.h \\Option-f/s/^/#/
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D980825-1.c10 extern optionValues Option;
25 case 'c': Option.include.classNames = mode; break;
26 case 'd': Option.include.defines = mode; break;
27 case 'e': Option.include.enumerators = mode; break;
/openbsd-src/gnu/usr.bin/binutils/ld/
H A Dmpw-make.sed24 /^"{o}"ldmain.c.o \\Option-f .* config.status$/,/^$/c\
25 "{o}"ldmain.c.o \\Option-f "{s}"ldmain.c\
79 /^install \\Option-f /,/^$/c\
80 install \\Option-f all install-only\
82 install-only \\Option-f\
91 /^lintlog \\Option-f/,/^$/d
93 /^Makefile \\Option-f/,/^$/d
94 /^"{o}"config.h \\Option-f/,/^$/d
95 /^config.status \\Option-f/,/^$/d
/openbsd-src/gnu/llvm/llvm/include/llvm/Option/
H A DOption.h51 class Option {
81 Option(const OptTable::Info *Info, const OptTable *Owner);
103 const Option getGroup() const { in getGroup()
109 const Option getAlias() const { in getAlias()
189 const Option getUnaliasedOption() const { in getUnaliasedOption()
190 const Option Alias = getAlias(); in getUnaliasedOption()
H A DArg.h37 const Option Opt;
67 Arg(const Option Opt, StringRef Spelling, unsigned Index,
69 Arg(const Option Opt, StringRef Spelling, unsigned Index,
71 Arg(const Option Opt, StringRef Spelling, unsigned Index,
77 const Option &getOption() const { return Opt; } in getOption()
H A DOptTable.h31 class Option; variable
110 const Option getOption(OptSpecifier Opt) const;
152 std::vector<std::string> suggestValueCompletions(StringRef Option,
182 unsigned findNearest(StringRef Option, std::string &NearestString,
187 bool findExact(StringRef Option, std::string &ExactString,
190 return findNearest(Option, ExactString, FlagsToInclude, FlagsToExclude, 4,
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/analysis/
H A Danalysis_ocaml.c28 CAMLlocal2(String, Option); in llvm_verify_module()
34 Option = Val_none; in llvm_verify_module()
37 Option = caml_alloc_some(String); in llvm_verify_module()
42 CAMLreturn(Option); in llvm_verify_module()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objcopy/
H A DInstallNameToolOpts.td13 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>,
/openbsd-src/gnu/llvm/clang/lib/Format/
H A DIntegerLiteralSeparatorFixer.cpp61 const auto &Option = Style.IntegerLiteralSeparator; in process() local
62 const auto Binary = Option.Binary; in process()
63 const auto Decimal = Option.Decimal; in process()
64 const auto Hex = Option.Hex; in process()
73 std::max((int)Option.BinaryMinDigits, Binary + 1); in process()
75 std::max((int)Option.DecimalMinDigits, Decimal + 1); in process()
76 const auto HexMinDigits = std::max((int)Option.HexMinDigits, Hex + 1); in process()
/openbsd-src/usr.sbin/cron/
H A Dcrontab.c54 static enum opt_t Option; variable
102 switch (Option) { in main()
136 Option = opt_unknown; in parse_args()
149 if (Option != opt_unknown) in parse_args()
151 Option = opt_list; in parse_args()
154 if (Option != opt_unknown) in parse_args()
156 Option = opt_delete; in parse_args()
159 if (Option != opt_unknown) in parse_args()
161 Option = opt_edit; in parse_args()
170 if (Option != opt_unknown) { in parse_args()
[all …]

12345678910>>...17