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

/freebsd-10.0-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.cpp123 getOption(i).dump();
124 getOption(i + 1).dump();
155 const Option OptTable::getOption(OptSpecifier Opt) const { function in class:OptTable
194 return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
229 return new Arg(getOption(TheUnknownOptionID), Str, Index++, Str);
269 const Option O = Opts.getOption(Id);
H A DArg.cpp81 if (!getOption().hasNoOptAsInput()) {
91 switch (getOption().getRenderStyle()) {
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Driver/
H A DArgList.cpp28 const Option &O = (*Current)->getOption();
50 if ((*it)->getOption().matches(Id)) {
62 if ((*it)->getOption().matches(Id))
70 if ((*it)->getOption().matches(Id)) {
82 if ((*it)->getOption().matches(Id0) ||
83 (*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 DSanitizerArgs.h122 << A->getOption().getName() << A->getValue(I);
135 if (A->getOption().matches(options::OPT_faddress_sanitizer)) {
138 } else if (A->getOption().matches(options::OPT_fno_address_sanitizer)) {
141 } else if (A->getOption().matches(options::OPT_fthread_sanitizer)) {
144 } else if (A->getOption().matches(options::OPT_fno_thread_sanitizer)) {
147 } else if (A->getOption().matches(options::OPT_fcatch_undefined_behavior)) {
151 } else if (A->getOption().matches(options::OPT_fbounds_checking) ||
152 A->getOption().matches(options::OPT_fbounds_checking_EQ)) {
155 } else if (A->getOption().matches(options::OPT_fsanitize_EQ)) {
157 } else if (A->getOption()
[all...]
H A DOptTable.cpp127 getOption(i).dump();
128 getOption(i + 1).dump();
158 const Option OptTable::getOption(OptSpecifier Opt) const { function in class:OptTable
193 return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
228 return new Arg(getOption(TheUnknownOptionID), Str, Index++, Str);
268 const Option O = Opts.getOption(Id);
H A DToolChains.cpp389 0, Opts.getOption(options::OPT_isysroot), env));
465 const Option O = Opts.getOption(options::OPT_mmacosx_version_min_EQ);
469 const Option O = Opts.getOption(options::OPT_miphoneos_version_min_EQ);
473 const Option O = Opts.getOption(
479 const Option O = Opts.getOption(options::OPT_mmacosx_version_min_EQ);
616 if (A->getOption().matches(options::OPT_Xarch__)) {
643 } else if (XarchArg->getOption().hasFlag(options::DriverOption)) {
657 if (A->getOption().hasFlag(options::LinkerInput)) {
661 Opts.getOption(options::OPT_Zlinker_input),
672 switch ((options::ID) A->getOption()
[all...]
H A DTools.cpp179 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) {
181 } else if (A.getOption().matches(options::OPT_Z_reserved_lib_cckext)) {
256 } else if (A->getOption().matches(options::OPT_M) ||
257 A->getOption().matches(options::OPT_MM)) {
290 if (A->getOption().matches(options::OPT_M) ||
291 A->getOption().matches(options::OPT_MD))
296 if (!A || A->getOption().matches(options::OPT_MD) ||
297 A->getOption().matches(options::OPT_MMD))
311 if (A->getOption().matches(options::OPT_MQ)) {
333 if (A->getOption()
[all...]
H A DArg.cpp82 if (!getOption().hasNoOptAsInput()) {
92 switch (getOption().getRenderStyle()) {
H A DDriver.cpp97 if (A->getOption().hasFlag(options::Unsupported)) {
103 if (A->getOption().matches(options::OPT_mcpu_EQ) &&
167 if ((A->getOption().matches(options::OPT_Wl_COMMA) ||
168 A->getOption().matches(options::OPT_Xlinker)) &&
171 DAL->AddFlagArg(A, Opts->getOption(options::OPT_Z_Xlinker__no_demangle));
176 DAL->AddSeparateArg(A, Opts->getOption(options::OPT_Xlinker),
185 if (A->getOption().matches(options::OPT_Wp_COMMA) &&
190 DAL->AddFlagArg(A, Opts->getOption(options::OPT_MD));
192 DAL->AddFlagArg(A, Opts->getOption(options::OPT_MMD));
194 DAL->AddSeparateArg(A, Opts->getOption(option
[all...]
H A DToolChain.cpp397 if (!A || A->getOption().getID() == options::OPT_fno_fast_math ||
398 A->getOption().getID() == options::OPT_fno_unsafe_math_optimizations)
/freebsd-10.0-release/contrib/llvm/include/llvm/Option/
H A DOption.h97 return Owner->getOption(Info->GroupID);
103 return Owner->getOption(Info->AliasID);
H A DArg.h73 const Option getOption() const { return Opt; } function in class:llvm::opt::Arg
H A DOptTable.h85 const Option getOption(OptSpecifier Opt) const;
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Driver/
H A DOption.h108 return Owner->getOption(Info->GroupID);
114 return Owner->getOption(Info->AliasID);
H A DArg.h74 Option getOption() const { return Opt; } function in class:clang::driver::Arg
H A DOptTable.h85 const Option getOption(OptSpecifier Opt) const;
/freebsd-10.0-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.0-release/contrib/llvm/lib/Support/
H A DCommandLine.cpp1062 if (strcmp(getOption(i), Name) == 0)
1074 Size = std::max(Size, std::strlen(getOption(i))+8);
1079 BaseSize = std::max(BaseSize, std::strlen(getOption(i))+8);
1095 size_t NumSpaces = GlobalWidth-strlen(getOption(i))-8;
1096 outs() << " =" << getOption(i);
1103 size_t L = std::strlen(getOption(i));
1104 outs() << " -" << getOption(i);
1127 outs() << "= " << getOption(i);
1128 size_t L = std::strlen(getOption(i));
1134 outs() << getOption(
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInvocation.cpp69 if (A->getOption().matches(options::OPT_O0))
72 if (A->getOption().matches(options::OPT_Ofast))
75 assert (A->getOption().matches(options::OPT_O));
89 if (A->getOption().matches(options::OPT_O)) {
109 if (A->getOption().getKind() == Option::FlagClass) {
110 Warnings.push_back(A->getOption().getName().substr(1));
236 bool enable = (A->getOption().getID() == OPT_analyzer_checker);
516 if (A->getOption().matches(OPT_fdiagnostics_show_note_include_stack))
606 switch (A->getOption().getID()) {
737 switch (A->getOption()
[all...]
/freebsd-10.0-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.0-release/contrib/llvm/include/llvm/Support/
H A DCommandLine.h547 // getOption - Return option name N.
548 virtual const char *getOption(unsigned N) const = 0;
591 OptionNames.push_back(getOption(i));
643 const char *getOption(unsigned N) const { return Values[N].Name; } function in class:llvm::cl::parser

Completed in 167 milliseconds