reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Option/OptTable.h
   95   const Option getOption(OptSpecifier Opt) const;

References

include/llvm/Option/Option.h
  106     return Owner->getOption(Info->GroupID);
  112     return Owner->getOption(Info->AliasID);
lib/Option/OptTable.cpp
  131       getOption(i).dump();
  132       getOption(i + 1).dump();
  342     return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
  387     return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
  389   return new Arg(getOption(TheUnknownOptionID), Str, Index++, Str);
  436   const Option O = Opts.getOption(Id);
  564       const Option Alias = getOption(Id).getAlias();
tools/clang/lib/Driver/Driver.cpp
  171       getOpts().getOption(options::OPT_driver_mode).getPrefixedName();
  318   Arg *A = new Arg(Opts.getOption(options::OPT_INPUT), Value,
  344       DAL->AddFlagArg(A, Opts.getOption(options::OPT_Z_Xlinker__no_demangle));
  349           DAL->AddSeparateArg(A, Opts.getOption(options::OPT_Xlinker), Val);
  362         DAL->AddFlagArg(A, Opts.getOption(options::OPT_MD));
  364         DAL->AddFlagArg(A, Opts.getOption(options::OPT_MMD));
  366         DAL->AddSeparateArg(A, Opts.getOption(options::OPT_MF), A->getValue(1));
  377         DAL->AddFlagArg(A, Opts.getOption(options::OPT_Z_reserved_lib_stdcxx));
  383         DAL->AddFlagArg(A, Opts.getOption(options::OPT_Z_reserved_lib_cckext));
  401     DAL->AddFlagArg(0, Opts.getOption(options::OPT_static));
tools/clang/lib/Driver/ToolChains/AMDGPU.cpp
   90     DAL->AddFlagArg(nullptr, Opts.getOption(getTriple().isArch64Bit()
   98       DAL->AddJoinedArg(nullptr, Opts.getOption(options::OPT_O),
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  788       DAL->AddJoinedArg(nullptr, Opts.getOption(options::OPT_march_EQ),
  830     DAL->AddJoinedArg(nullptr, Opts.getOption(options::OPT_march_EQ), BoundArch);
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 1315     Argument = Args.MakeJoinedArg(nullptr, Opts.getOption(Opt), OSVersion);
 1670             nullptr, Opts.getOption(options::OPT_isysroot), env));
 2129               OriginalArg, Opts.getOption(options::OPT_Zlinker_input), Value);
 2146       DAL->AddFlagArg(A, Opts.getOption(options::OPT_static));
 2150       DAL->AddSeparateArg(A, Opts.getOption(options::OPT_MF), A->getValue());
 2154       DAL->AddFlagArg(A, Opts.getOption(options::OPT_g_Flag));
 2156           A, Opts.getOption(options::OPT_fno_eliminate_unused_debug_symbols));
 2160       DAL->AddFlagArg(A, Opts.getOption(options::OPT_g_Flag));
 2162           A, Opts.getOption(options::OPT_feliminate_unused_debug_symbols));
 2166       DAL->AddFlagArg(A, Opts.getOption(options::OPT_dynamiclib));
 2170       DAL->AddFlagArg(A, Opts.getOption(options::OPT_mconstant_cfstrings));
 2174       DAL->AddFlagArg(A, Opts.getOption(options::OPT_mno_constant_cfstrings));
 2179                       Opts.getOption(options::OPT_mwarn_nonportable_cfstrings));
 2184           A, Opts.getOption(options::OPT_mno_warn_nonportable_cfstrings));
 2188       DAL->AddFlagArg(A, Opts.getOption(options::OPT_mpascal_strings));
 2192       DAL->AddFlagArg(A, Opts.getOption(options::OPT_mno_pascal_strings));
 2200       DAL->AddJoinedArg(nullptr, Opts.getOption(options::OPT_mtune_EQ),
 2207     const Option MCpu = Opts.getOption(options::OPT_mcpu_EQ);
 2208     const Option MArch = Opts.getOption(clang::driver::options::OPT_march_EQ);
 2232       DAL->AddFlagArg(nullptr, Opts.getOption(options::OPT_m64));
 2252       DAL->AddFlagArg(nullptr, Opts.getOption(options::OPT_m64));
 2378     DAL->AddJoinedArg(nullptr, Opts.getOption(options::OPT_stdlib_EQ),
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 2681     DAL->AddFlagArg(/*BaseArg=*/nullptr, Opts.getOption(options::OPT_shared));
 2682     DAL->AddFlagArg(/*BaseArg=*/nullptr, Opts.getOption(options::OPT_fPIC));
tools/clang/lib/Driver/ToolChains/HIP.cpp
  404     DAL->AddJoinedArg(nullptr, Opts.getOption(options::OPT_march_EQ), BoundArch);
tools/clang/lib/Driver/ToolChains/MSVC.cpp
 1393         DAL.AddFlagArg(A, Opts.getOption(options::OPT_O0));
 1396           DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "s");
 1398           DAL.AddFlagArg(A, Opts.getOption(options::OPT_fbuiltin));
 1399           DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "2");
 1403           DAL.AddFlagArg(A, Opts.getOption(options::OPT_fomit_frame_pointer));
 1405           DAL.AddFlagArg(A, Opts.getOption(options::OPT_ffunction_sections));
 1412           DAL.AddFlagArg(A, Opts.getOption(options::OPT_fno_inline));
 1415           DAL.AddFlagArg(A, Opts.getOption(options::OPT_finline_hint_functions));
 1418           DAL.AddFlagArg(A, Opts.getOption(options::OPT_finline_functions));
 1430         DAL.AddFlagArg(A, Opts.getOption(options::OPT_fno_builtin));
 1432         DAL.AddFlagArg(A, Opts.getOption(options::OPT_fbuiltin));
 1436       DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "s");
 1439       DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "2");
 1450                          Opts.getOption(options::OPT_fomit_frame_pointer));
 1453               A, Opts.getOption(options::OPT_fno_omit_frame_pointer));
 1480   DAL.AddJoinedArg(A, Opts.getOption(options::OPT_D), NewVal);