Searched refs:getOption (Results 1 - 17 of 17) sorted by relevance

/freebsd-10.1-release/contrib/llvm/lib/Option/
H A DArgList.cpp27 const Option &O = (*Current)->getOption();
49 if ((*it)->getOption().matches(Id)) {
61 if ((*it)->getOption().matches(Id))
69 if ((*it)->getOption().matches(Id)) {
81 if ((*it)->getOption().matches(Id0) ||
82 (*it)->getOption().matches(Id1)) {
96 if ((*it)->getOption().matches(Id0) ||
97 (*it)->getOption().matches(Id1) ||
98 (*it)->getOption().matches(Id2)) {
111 if ((*it)->getOption()
[all...]
H A DOptTable.cpp128 getOption(i).dump();
129 getOption(i + 1).dump();
160 const Option OptTable::getOption(OptSpecifier Opt) const { function in class:OptTable
204 return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
249 return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
251 return new Arg(getOption(TheUnknownOptionID), Str, Index++, Str);
294 const Option O = Opts.getOption(Id);
H A DArg.cpp81 if (!getOption().hasNoOptAsInput()) {
91 switch (getOption().getRenderStyle()) {
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Driver/
H A DSanitizerArgs.cpp142 if (BLArg->getOption().matches(options::OPT_fsanitize_blacklist)) {
289 << A->getOption().getName() << A->getValue(I);
300 if (A->getOption().matches(options::OPT_faddress_sanitizer)) {
303 } else if (A->getOption().matches(options::OPT_fno_address_sanitizer)) {
306 } else if (A->getOption().matches(options::OPT_fthread_sanitizer)) {
309 } else if (A->getOption().matches(options::OPT_fno_thread_sanitizer)) {
312 } else if (A->getOption().matches(options::OPT_fcatch_undefined_behavior)) {
316 } else if (A->getOption().matches(options::OPT_fbounds_checking) ||
317 A->getOption().matches(options::OPT_fbounds_checking_EQ)) {
320 } else if (A->getOption()
[all...]
H A DToolChains.cpp403 0, Opts.getOption(options::OPT_isysroot), env));
479 const Option O = Opts.getOption(options::OPT_mmacosx_version_min_EQ);
483 const Option O = Opts.getOption(options::OPT_miphoneos_version_min_EQ);
487 const Option O = Opts.getOption(
493 const Option O = Opts.getOption(options::OPT_mmacosx_version_min_EQ);
625 if (A->getOption().matches(options::OPT_Xarch__)) {
652 } else if (XarchArg->getOption().hasFlag(options::DriverOption)) {
666 if (A->getOption().hasFlag(options::LinkerInput)) {
670 Opts.getOption(options::OPT_Zlinker_input),
681 switch ((options::ID) A->getOption()
[all...]
H A DDriver.cpp88 getOpts().getOption(options::OPT_driver_mode).getPrefixedName();
133 if (A->getOption().hasFlag(options::Unsupported)) {
139 if (A->getOption().matches(options::OPT_mcpu_EQ) &&
196 Arg *A = new Arg(Opts->getOption(options::OPT_INPUT), Value,
216 if ((A->getOption().matches(options::OPT_Wl_COMMA) ||
217 A->getOption().matches(options::OPT_Xlinker)) &&
220 DAL->AddFlagArg(A, Opts->getOption(options::OPT_Z_Xlinker__no_demangle));
225 DAL->AddSeparateArg(A, Opts->getOption(options::OPT_Xlinker),
234 if (A->getOption().matches(options::OPT_Wp_COMMA) &&
239 DAL->AddFlagArg(A, Opts->getOption(option
[all...]
H A DTools.cpp184 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) {
186 } else if (A.getOption().matches(options::OPT_Z_reserved_lib_cckext)) {
263 } else if (A->getOption().matches(options::OPT_M) ||
264 A->getOption().matches(options::OPT_MM)) {
297 if (A->getOption().matches(options::OPT_M) ||
298 A->getOption().matches(options::OPT_MD))
303 if (!A || A->getOption().matches(options::OPT_MD) ||
304 A->getOption().matches(options::OPT_MMD))
318 if (A->getOption().matches(options::OPT_MQ)) {
340 if (A->getOption()
[all...]
H A DToolChain.cpp443 if (!A || A->getOption().getID() == options::OPT_fno_fast_math ||
444 A->getOption().getID() == options::OPT_fno_unsafe_math_optimizations)
/freebsd-10.1-release/contrib/llvm/include/llvm/Option/
H A DOption.h98 return Owner->getOption(Info->GroupID);
104 return Owner->getOption(Info->AliasID);
H A DArg.h73 const Option getOption() const { return Opt; } function in class:llvm::opt::Arg
H A DOptTable.h88 const Option getOption(OptSpecifier Opt) const;
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestStateMachine.java93 // getOption, setOption, unsetOption
95 consumer.getOption(Option.bufsize);
96 exit(1, "getOption before open");
101 exit(1, "getOption before open");
355 // getOption, setOption, unsetOption
357 consumer.getOption(Option.quiet);
399 // getOption, setOption, unsetOption
401 consumer.getOption(Option.quiet);
449 // getOption, setOption, unsetOption
451 consumer.getOption(Optio
[all...]
H A DTestBean.java268 getOption() method in class:TestBean
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInvocation.cpp75 if (A->getOption().matches(options::OPT_O0))
78 if (A->getOption().matches(options::OPT_Ofast))
81 assert (A->getOption().matches(options::OPT_O));
95 if (A->getOption().matches(options::OPT_O)) {
115 if (A->getOption().getKind() == Option::FlagClass) {
116 Warnings.push_back(A->getOption().getName().substr(1));
243 bool enable = (A->getOption().getID() == OPT_analyzer_checker);
511 if (A->getOption().matches(OPT_fpcc_struct_return)) {
514 assert(A->getOption().matches(OPT_freg_struct_return));
565 if (A->getOption()
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Support/
H A DCommandLine.cpp1239 if (strcmp(getOption(i), Name) == 0)
1251 Size = std::max(Size, std::strlen(getOption(i))+8);
1256 BaseSize = std::max(BaseSize, std::strlen(getOption(i))+8);
1271 size_t NumSpaces = GlobalWidth-strlen(getOption(i))-8;
1272 outs() << " =" << getOption(i);
1279 const char *Option = getOption(i);
1303 outs() << "= " << getOption(i);
1304 size_t L = std::strlen(getOption(i));
1310 outs() << getOption(j);
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java884 quiet = (dtrace.getOption(Option.quiet) != Option.UNSET);
885 flow = (dtrace.getOption(Option.flowindent) != Option.UNSET);
886 optval = dtrace.getOption("stackindent");
/freebsd-10.1-release/contrib/llvm/include/llvm/Support/
H A DCommandLine.h548 // getOption - Return option name N.
549 virtual const char *getOption(unsigned N) const = 0;
592 OptionNames.push_back(getOption(i));
644 const char *getOption(unsigned N) const { return Values[N].Name; } function in class:llvm::cl::parser

Completed in 191 milliseconds