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

Declarations

include/llvm/Option/OptTable.h
   26 class Arg;
include/llvm/Option/Option.h
   26 class Arg;
tools/clang/include/clang/Driver/Action.h
   25 class Arg;
tools/clang/include/clang/Driver/ToolChain.h
   35 class Arg;
tools/lld/include/lld/Common/Reproduce.h
   17 namespace opt { class Arg; }

References

include/llvm/Option/Arg.h
   41   const Arg *BaseArg;
   64   std::unique_ptr<Arg> Alias;
   68       const Arg *BaseArg = nullptr);
   70       const char *Value0, const Arg *BaseArg = nullptr);
   72       const char *Value0, const char *Value1, const Arg *BaseArg = nullptr);
   73   Arg(const Arg &) = delete;
   74   Arg &operator=(const Arg &) = delete;
   74   Arg &operator=(const Arg &) = delete;
   93   const Arg &getBaseArg() const {
   96   void setBaseArg(const Arg *BaseArg) { this->BaseArg = BaseArg; }
  100   const Arg* getAlias() const { return Alias.get(); }
  101   void setAlias(std::unique_ptr<Arg> Alias) { this->Alias = std::move(Alias); }
include/llvm/Option/ArgList.h
  118   using arglist_type = SmallVector<Arg *, 16>;
  181   void append(Arg *A);
  250   Arg *getLastArg(OptSpecifiers ...Ids) const {
  251     Arg *Res = nullptr;
  252     for (Arg *A : filtered(Ids...)) {
  262   Arg *getLastArgNoClaim(OptSpecifiers ...Ids) const {
  263     for (Arg *A : filtered_reverse(Ids...))
  307     if (Arg *A = getLastArg(Ids...)) // Calls claim() on all Ids's Args.
  439   mutable SmallVector<std::unique_ptr<Arg>, 16> SynthesizedArgs;
  462   void AddSynthesizedArg(Arg *A);
  469   void AddFlagArg(const Arg *BaseArg, const Option Opt) {
  476   void AddPositionalArg(const Arg *BaseArg, const Option Opt,
  484   void AddSeparateArg(const Arg *BaseArg, const Option Opt,
  491   void AddJoinedArg(const Arg *BaseArg, const Option Opt,
  497   Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const;
  497   Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const;
  501   Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt,
  501   Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt,
  506   Arg *MakeSeparateArg(const Arg *BaseArg, const Option Opt,
  506   Arg *MakeSeparateArg(const Arg *BaseArg, const Option Opt,
  511   Arg *MakeJoinedArg(const Arg *BaseArg, const Option Opt,
  511   Arg *MakeJoinedArg(const Arg *BaseArg, const Option Opt,
include/llvm/Option/OptTable.h
  190   Arg *ParseOneArg(const ArgList &Args, unsigned &Index,
include/llvm/Option/Option.h
  207   Arg *accept(const ArgList &Args, unsigned &Index, unsigned ArgSize) const;
  210   Arg *acceptInternal(const ArgList &Args, unsigned &Index,
lib/Option/Arg.cpp
   21 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg)
   26          const Arg *BaseArg)
   33          const char *Value1, const Arg *BaseArg)
lib/Option/ArgList.cpp
   33 void ArgList::append(Arg *A) {
   49   for (Arg *const &A : filtered(Id)) {
   51     Arg **ArgsBegin = Args.data();
   74   if (Arg *A = getLastArg(Pos, Neg))
   81   if (Arg *A = getLastArg(Pos, PosAlias, Neg))
   87   if (Arg *A = getLastArg(Id))
  101   for (const Arg *Arg : *this) {
  164   for (auto *Arg : filtered(Id0))
  169   for (auto *Arg : *this)
  186   for (Arg *A : *this) {
  198   for (Arg *A : *this)
  238 void DerivedArgList::AddSynthesizedArg(Arg *A) {
  242 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const {
  242 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const {
  244       std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()),
  249 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt,
  249 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt,
  253       std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()),
  258 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt,
  258 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt,
  262       std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()),
  267 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt,
  267 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt,
  270   SynthesizedArgs.push_back(std::make_unique<Arg>(
lib/Option/OptTable.cpp
  333 Arg *OptTable::ParseOneArg(const ArgList &Args, unsigned &Index,
  342     return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
  376     if (Arg *A = Opt.accept(Args, Index, ArgSize))
  387     return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
  389   return new Arg(getOption(TheUnknownOptionID), Str, Index++, Str);
  417     Arg *A = ParseOneArg(Args, Index, FlagsToInclude, FlagsToExclude);
lib/Option/Option.cpp
  109 Arg *Option::acceptInternal(const ArgList &Args, unsigned &Index,
  116     return new Arg(*this, Spelling, Index++);
  120     return new Arg(*this, Spelling, Index++, Value);
  125     Arg *A = new Arg(*this, Spelling, Index++);
  125     Arg *A = new Arg(*this, Spelling, Index++);
  161     return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1));
  172     Arg *A = new Arg(*this, Spelling, Index - 1 - getNumArgs(),
  172     Arg *A = new Arg(*this, Spelling, Index - 1 - getNumArgs(),
  183       return new Arg(*this, Spelling, Index++, Value);
  192     return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1));
  201     return new Arg(*this, Spelling, Index - 2,
  209     Arg *A = new Arg(*this, Spelling, Index++);
  209     Arg *A = new Arg(*this, Spelling, Index++);
  216     Arg *A = new Arg(*this, Spelling, Index);
  216     Arg *A = new Arg(*this, Spelling, Index);
  233 Arg *Option::accept(const ArgList &Args,
  236   std::unique_ptr<Arg> A(acceptInternal(Args, Index, ArgSize));
  261   Arg *UnaliasedA = new Arg(UnaliasedOption, UnaliasedSpelling, A->getIndex());
  261   Arg *UnaliasedA = new Arg(UnaliasedOption, UnaliasedSpelling, A->getIndex());
  262   Arg *RawA = A.get();
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
  103   for (auto *Arg : Args.filtered(OPT_UNKNOWN))
  123   if (auto *Arg = Args.getLastArg(OPT_m))
  141   if (auto *Arg = Args.getLastArg(OPT_D))
lib/ToolDrivers/llvm-lib/LibDriver.cpp
   64   if (auto *Arg = Args->getLastArg(OPT_out))
   78   for (auto *Arg : Args->filtered(OPT_libpath))
  116   for (auto *Arg : Args.filtered(OPT_INPUT)) {
  285   for (auto *Arg : Args.filtered(OPT_UNKNOWN))
  308   if (auto *Arg = Args.getLastArg(OPT_machine)) {
  323   for (auto *Arg : Args.filtered(OPT_INPUT)) {
tools/clang/include/clang/Driver/Action.h
  215   const llvm::opt::Arg &Input;
  220   InputAction(const llvm::opt::Arg &Input, types::ID Type);
  222   const llvm::opt::Arg &getInputArg() const { return Input; }
tools/clang/include/clang/Driver/Compilation.h
  196   template <typename T, typename... Args> T *MakeAction(Args &&... Arg) {
tools/clang/include/clang/Driver/Driver.h
  168   typedef SmallVector<std::pair<types::ID, const llvm::opt::Arg *>, 16>
  257                            llvm::opt::Arg **FinalPhaseArg = nullptr) const;
tools/clang/include/clang/Driver/ToolChain.h
  123   const llvm::opt::Arg *const CachedRTTIArg;
  250   const llvm::opt::Arg *getRTTIArg() const { return CachedRTTIArg; }
  292       SmallVectorImpl<llvm::opt::Arg *> &AllocatedArgs) const;
  465   virtual bool supportsDebugInfoOption(const llvm::opt::Arg *) const {
tools/clang/lib/Driver/Action.cpp
  166 InputAction::InputAction(const Arg &_Input, types::ID _Type)
tools/clang/lib/Driver/Compilation.cpp
   69     SmallVector<Arg *, 4> AllocatedArgs;
tools/clang/lib/Driver/Driver.cpp
  213   for (const Arg *A : Args) {
  241   for (const Arg *A : Args.filtered(options::OPT_UNKNOWN)) {
  267                                  Arg **FinalPhaseArg) const {
  268   Arg *PhaseArg = nullptr;
  316 static Arg *MakeInputArg(DerivedArgList &Args, const OptTable &Opts,
  318   Arg *A = new Arg(Opts.getOption(options::OPT_INPUT), Value,
  318   Arg *A = new Arg(Opts.getOption(options::OPT_INPUT), Value,
  333   for (Arg *A : Args) {
  426   if (const Arg *A = Args.getLastArg(options::OPT_target))
  447     if (Arg *A = Args.getLastArg(options::OPT_arch)) {
  455   if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian,
  474   Arg *A = Args.getLastArg(options::OPT_m64, options::OPT_mx32,
  556   const Arg *A = Args.getLastArg(options::OPT_flto_EQ);
  576   const Arg *A = Args.getLastArg(options::OPT_fopenmp_EQ);
  658   if (Arg *OpenMPTargets =
  781   for (Arg *A : *CfgOptions)
  977       Arg *Copy = new llvm::opt::Arg(Opt->getOption(), Opt->getSpelling(),
  977       Arg *Copy = new llvm::opt::Arg(Opt->getOption(), Opt->getSpelling(),
  986     for (auto *Opt : *CLOptions) {
  989       const Arg *BaseArg = &Opt->getBaseArg();
  998     for (const auto *A : Args.filtered(options::OPT__SLASH_clang)) {
 1010         for (auto *Opt : *CLModePassThroughOptions) {
 1017   if (Arg *WD = Args.getLastArg(options::OPT_working_directory))
 1041   if (const Arg *A = Args.getLastArg(options::OPT_ccc_gcc_name))
 1057   if (const Arg *A = Args.getLastArg(options::OPT_target))
 1059   if (const Arg *A = Args.getLastArg(options::OPT_ccc_install_dir))
 1061   for (const Arg *A : Args.filtered(options::OPT_B)) {
 1065   if (const Arg *A = Args.getLastArg(options::OPT__sysroot_EQ))
 1067   if (const Arg *A = Args.getLastArg(options::OPT__dyld_prefix_EQ))
 1070   if (const Arg *A = Args.getLastArg(options::OPT_resource_dir))
 1073   if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ)) {
 1083   if (Arg *A = Args.getLastArg(options::OPT_fembed_bitcode_EQ)) {
 1141   for (const auto *A : Args)
 1312   for (const Arg *A : C.getArgs()) {
 1543   if (Arg *A = C.getArgs().getLastArg(options::OPT_mthread_model)) {
 1737   if (Arg *A = C.getArgs().getLastArg(options::OPT_print_file_name_EQ)) {
 1742   if (Arg *A = C.getArgs().getLastArg(options::OPT_print_prog_name_EQ)) {
 1753   if (Arg *A = C.getArgs().getLastArg(options::OPT_autocomplete)) {
 1934   for (Arg *A : Args) {
 1984     Arg *A = Args.getLastArg(options::OPT_g_Group);
 2068   Arg *InputTypeArg = nullptr;
 2071   if (Arg *TCTP = Args.getLastArgNoClaim(options::OPT__SLASH_TC,
 2078     Arg *Previous = nullptr;
 2080     for (Arg *A :
 2096   for (Arg *A : Args) {
 2187         Arg *InputArg = MakeInputArg(Args, Opts, A->getValue());
 2195         Arg *InputArg = MakeInputArg(Args, Opts, A->getValue());
 2229     Arg *A = MakeInputArg(Args, Opts, "-");
 2245   std::map<const Arg *, unsigned> InputArgToOffloadKindMap;
 2500       Arg *PartialCompilationArg = Args.getLastArg(
 2515       for (Arg *A : Args) {
 3010   addDeviceDependencesToHostAction(Action *HostAction, const Arg *InputArg,
 3069                                         const Arg *InputArg) {
 3221   Arg *YcArg = Args.getLastArg(options::OPT__SLASH_Yc);
 3222   Arg *YuArg = Args.getLastArg(options::OPT__SLASH_Yu);
 3235   Arg *FinalPhaseArg;
 3259     const Arg *InputArg = I.second;
 3344   if (Arg *A = Args.getLastArg(options::OPT_Z_Joined))
 3348   if (Arg *A = Args.getLastArg(options::OPT__SLASH_Fo)) {
 3360   if (Arg *A = Args.getLastArg(options::OPT__SLASH_Fa)) {
 3372   if (Arg *A = Args.getLastArg(options::OPT__SLASH_o)) {
 3392     const Arg *InputArg = I.second;
 3495   if (Arg *A = Args.getLastArg(options::OPT_print_supported_cpus)) {
 3560       if (Arg *A = Args.getLastArg(options::OPT_fmodule_name_EQ))
 3621   Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o);
 3640     for (const Arg *A : C.getArgs())
 3682   for (Arg *A : C.getArgs()) {
 3696         for (const Arg *AA : C.getArgs().filtered(&Opt)) {
 4119     const Arg &Input = IA->getInputArg();
 4277       if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o))
 4368     if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o))
 4377     if (Arg *A = C.getArgs().getLastArg(options::OPT__SLASH_Fi))
 4408     Arg *A = C.getArgs().getLastArg(options::OPT_fcrash_diagnostics_dir);
 4512     Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o);
 4677   if (Arg *FpArg = C.getArgs().getLastArg(options::OPT__SLASH_Fp)) {
 4688     if (Arg *YcArg = C.getArgs().getLastArg(options::OPT__SLASH_Yc))
tools/clang/lib/Driver/InputInfo.h
   38     const llvm::opt::Arg *InputArg;
   63   InputInfo(types::ID _Type, const llvm::opt::Arg *_InputArg,
   68   InputInfo(const Action *A, const llvm::opt::Arg *_InputArg,
   87   const llvm::opt::Arg &getInputArg() const {
tools/clang/lib/Driver/SanitizerArgs.cpp
   95 static SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A,
  100 static int parseCoverageFeatures(const Driver &D, const llvm::opt::Arg *A);
  114 static std::string describeSanitizeArg(const llvm::opt::Arg *A,
  174     const auto *Arg = *I;
  270   Arg *OptLevel = Args.getLastArg(options::OPT_O_Group);
  276     const auto *Arg = *I;
  348         if (const llvm::opt::Arg *NoRTTIArg = TC.getRTTIArg()) {
  506   for (const auto *Arg : Args) {
  562   for (const auto *Arg : Args) {
  589     if (Arg *A =
  665   for (const auto *Arg : Args) {
  746     if (Arg *A =
  756     if (Arg *WindowsDebugRTArg =
  816     if (Arg *HwasanAbiArg =
 1063 SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A,
 1092 int parseCoverageFeatures(const Driver &D, const llvm::opt::Arg *A) {
 1128     const auto *Arg = *I;
 1143 std::string describeSanitizeArg(const llvm::opt::Arg *A, SanitizerMask Mask) {
tools/clang/lib/Driver/ToolChain.cpp
   53 static llvm::opt::Arg *GetRTTIArgument(const ArgList &Args) {
   60                                              const Arg *CachedRTTIArg) {
  512   const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ);
  603     if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
  634     if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian,
  643     if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
  645     if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
  689       for (const auto *A :
  738   const Arg* A = Args.getLastArg(options::OPT_rtlib_EQ);
  757   const Arg *A = Args.getLastArg(options::OPT_unwindlib_EQ);
  783   const Arg *A = Args.getLastArg(options::OPT_stdlib_EQ);
  905     Arg *A =
  973   const Arg *MSCVersion = Args.getLastArg(options::OPT_fmsc_version);
  974   const Arg *MSCompatibilityVersion =
 1013     SmallVectorImpl<llvm::opt::Arg *> &AllocatedArgs) const {
 1019   for (auto *A : Args) {
 1053     std::unique_ptr<Arg> XOpenMPTargetArg(Opts.ParseOneArg(Args, Index));
tools/clang/lib/Driver/ToolChains/AMDGPU.cpp
   41   if (const Arg *dAbi = Args.getLastArg(options::OPT_mamdgpu_debugger_abi))
   83   for (auto *A : Args)
tools/clang/lib/Driver/ToolChains/Arch/AArch64.cpp
   32                                          const llvm::Triple &Triple, Arg *&A) {
  166   Arg *A;
  198   if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) {
  211   if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) {
  324   if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access,
tools/clang/lib/Driver/ToolChains/Arch/AArch64.h
   28                                 const llvm::Triple &Triple, llvm::opt::Arg *&A);
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
   38   if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ))
   40   if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
   45   for (const Arg *A :
   57 static void getARMHWDivFeatures(const Driver &D, const Arg *A,
   66 static void getARMFPUFeatures(const Driver &D, const Arg *A,
  101 static void checkARMArchName(const Driver &D, const Arg *A, const ArgList &Args,
  116 static void checkARMCPUName(const Driver &D, const Arg *A, const ArgList &Args,
  140   if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) {
  165   if (Arg *A =
  290   const Arg *WaCPU = nullptr, *WaFPU = nullptr;
  291   const Arg *WaHDiv = nullptr, *WaArch = nullptr;
  323     for (const Arg *A :
  341   const Arg *ArchArg = Args.getLastArg(options::OPT_march_EQ);
  342   const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ);
  391   const Arg *FPUArg = Args.getLastArg(options::OPT_mfpu_EQ);
  414   const Arg *HDivArg = Args.getLastArg(options::OPT_mhwdiv_EQ);
  475   if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) {
  521   if (Arg *A = Args.getLastArg(options::OPT_mlong_calls,
  535     if (Arg *A = Args.getLastArg(options::OPT_mexecute_only, options::OPT_mno_execute_only)) {
  540         else if (Arg *B = Args.getLastArg(options::OPT_mno_movt))
  545         else if (Arg *B = Args.getLastArg(options::OPT_mlong_calls, options::OPT_mno_long_calls)) {
  557   else if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access,
tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp
   59   if (Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ,
   63   if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
  155   if (Arg *A =
  231   Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC,
  247   Arg *ABICallsArg =
  266   if (Arg *A = Args.getLastArg(options::OPT_mlong_calls,
  276   if (Arg *A = Args.getLastArg(options::OPT_mxgot, options::OPT_mno_xgot)) {
  291   if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) {
  312   if (Arg *A = Args.getLastArg(options::OPT_mabs_EQ)) {
  350   if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx,
  379   if (Arg *A = Args.getLastArg(options::OPT_mindirect_jump_EQ)) {
  382       Arg *B =
  384       Arg *C = Args.getLastArg(options::OPT_mips16, options::OPT_mno_mips16);
  435   Arg *A = Args.getLastArg(options::OPT_mabi_EQ);
  440   Arg *A = Args.getLastArg(options::OPT_m_libc_Group);
  445   if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ))
  497   if (Arg *A = Args.getLastArg(options::OPT_msingle_float,
tools/clang/lib/Driver/ToolChains/Arch/PPC.cpp
   25   if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) {
  128   if (Arg *A =
  156   Arg *A = Args.getLastArg(options::OPT_mabi_EQ);
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  361   if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
  458   if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ))
tools/clang/lib/Driver/ToolChains/Arch/Sparc.cpp
   77   if (Arg *A = Args.getLastArg(clang::driver::options::OPT_msoft_float,
tools/clang/lib/Driver/ToolChains/Arch/SystemZ.cpp
   19   if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ))
   27   if (Arg *A = Args.getLastArg(options::OPT_mhtm, options::OPT_mno_htm)) {
   34   if (Arg *A = Args.getLastArg(options::OPT_mvx, options::OPT_mno_vx)) {
tools/clang/lib/Driver/ToolChains/Arch/X86.cpp
   25   if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) {
   39   if (const Arg *A = Args.getLastArgNoClaim(options::OPT__SLASH_arch)) {
  113   if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) {
tools/clang/lib/Driver/ToolChains/Clang.cpp
   55   if (Arg *A =
   69     if (const Arg *A =
  158                               const Arg &A, size_t &Position) {
  192   Arg *A = Args.getLastArg(options::OPT_mrecip, options::OPT_mrecip_EQ);
  288   Arg *A = Args.getLastArg(options::OPT_mprefer_vector_width_EQ);
  362     Arg *ExceptionArg = Args.getLastArg(
  402 static codegenoptions::DebugInfoKind DebugLevelToInfoKind(const Arg &A) {
  504   Arg *A = Args.getLastArg(options::OPT_fomit_frame_pointer,
  524   if (Arg *A = Args.getLastArg(options::OPT_fdebug_compilation_dir)) {
  536   for (const Arg *A : Args.filtered(options::OPT_fdebug_prefix_map_EQ)) {
  550   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  647   auto *PGOGenerateArg = Args.getLastArg(options::OPT_fprofile_generate,
  654   auto *CSPGOGenerateArg = Args.getLastArg(options::OPT_fcs_profile_generate,
  661   auto *ProfileGenerateArg = Args.getLastArg(
  674   auto *ProfileUseArg = getLastProfileUseArg(Args);
  702   Arg *PGOGenArg = nullptr;
  766     auto *Arg = Args.getLastArg(options::OPT_fprofile_exclude_files_EQ);
  778     auto *Arg = Args.getLastArg(options::OPT_fprofile_filter_files_EQ);
  792   Arg *FProfileDir = nullptr;
  805     if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o))
  846   if (Arg *A = Args.getLastArg(options::OPT_O_Group))
  913 static bool checkDebugInfoOption(const Arg *A, const ArgList &Args,
  927   const Arg *A = Args.getLastArg(options::OPT_gz, options::OPT_gz_EQ);
  987   Arg *ArgM = Args.getLastArg(options::OPT_MM);
  990   Arg *ArgMD = Args.getLastArg(options::OPT_MMD);
 1003     if (Arg *MF = Args.getLastArg(options::OPT_MF)) {
 1018     for (const Arg *A : Args.filtered(options::OPT_MT, options::OPT_MQ)) {
 1037       Arg *OutputOpt = Args.getLastArg(options::OPT_o);
 1106     const Arg *YcArg = Args.getLastArg(options::OPT__SLASH_Yc);
 1107     const Arg *YuArg = Args.getLastArg(options::OPT__SLASH_Yu);
 1133   for (const Arg *A : Args.filtered(options::OPT_clang_i_Group)) {
 1198   if (Arg *A = Args.getLastArg(options::OPT_I_))
 1306   if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
 1342   if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge,
 1441                              const Arg *A) {
 1489   if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ))
 1516   if (Arg *A = Args.getLastArg(options::OPT_mfix_cortex_a53_835769,
 1530   if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge,
 1540   if (Arg *A = Args.getLastArg(options::OPT_msign_return_address_EQ,
 1593   if (Arg *A = Args.getLastArg(options::OPT_mldc1_sdc1,
 1601   if (Arg *A = Args.getLastArg(options::OPT_mcheck_zero_division,
 1609   if (Arg *A = Args.getLastArg(options::OPT_G)) {
 1616   Arg *GPOpt = Args.getLastArg(options::OPT_mgpopt, options::OPT_mno_gpopt);
 1617   Arg *ABICalls =
 1648     Arg *LocalSData = Args.getLastArg(options::OPT_mlocal_sdata,
 1650     Arg *ExternSData = Args.getLastArg(options::OPT_mextern_sdata,
 1652     Arg *EmbeddedData = Args.getLastArg(options::OPT_membedded_data,
 1690   if (Arg *A = Args.getLastArg(options::OPT_mcompact_branches_EQ)) {
 1703   if (Arg *A = Args.getLastArg(options::OPT_mrelax_pic_calls,
 1723       if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
 1742   for (const Arg *A : Args.filtered(options::OPT_mabi_EQ)) {
 1826   if (Arg *A = Args.getLastArg(
 1836   if (Arg *A = Args.getLastArg(options::OPT_masm_EQ)) {
 1881   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
 1887   if (Arg *A = Args.getLastArg(options::OPT_mregparm_EQ)) {
 2030     if (Arg *A = Args.getLastArg(options::OPT_mimplicit_it_EQ)) {
 2059   for (const Arg *A :
 2236   if (const Arg *A = Args.getLastArg(options::OPT_flimited_precision_EQ)) {
 2241   for (const Arg *A : Args) {
 2383   if (const Arg *A = Args.getLastArg(options::OPT_mfpmath_EQ)) {
 2450   if (Arg *A = Args.getLastArg(options::OPT__analyzer_output))
 2478   if (Arg *A = Args.getLastArg(options::OPT_fno_stack_protector,
 2499   for (const Arg *A : Args.filtered(options::OPT__param)) {
 2519   for (const Arg *A : Args) {
 2572   if (Arg *A = Args.getLastArg(options::OPT_cl_std_EQ)) {
 2578     if (const auto *A = Args.getLastArg(Arg))
 2586     if (const Arg *A = Args.getLastArg(options::OPT_ccc_arcmt_check,
 2614   if (const Arg *A = Args.getLastArg(options::OPT_ccc_objcmt_migrate)) {
 2749     if (Arg *A = Args.getLastArg(options::OPT_fmodules_cache_path))
 2770     for (const Arg *A : Args.filtered(options::OPT_fprebuilt_module_path)) {
 2832   if (Arg *A = Args.getLastArg(options::OPT_fbuild_session_file)) {
 2867   if (const Arg *A = Args.getLastArg(options::OPT_fsigned_char,
 2882   if (const Arg *A = Args.getLastArg(options::OPT_fshort_wchar,
 2960     auto *Arg = Args.getLastArg(
 2994   if (const Arg *A = Args.getLastArg(options::OPT__SLASH_diagnostics_classic,
 3028   if (const Arg *A =
 3038   if (const Arg *A =
 3045   if (const Arg *A = Args.getLastArg(options::OPT_fdiagnostics_format_EQ)) {
 3050   if (const Arg *A = Args.getLastArg(
 3064   for (const Arg *A : Args) {
 3107                                             const ArgList &Args, Arg *&Arg) {
 3157   Arg* SplitDWARFArg;
 3166   if (const Arg *A =
 3188   if (const Arg *A =
 3201   if (const Arg *A =
 3207   if (const Arg *A = Args.getLastArg(options::OPT_gcodeview)) {
 3239   if (const Arg *A = Args.getLastArg(options::OPT_gcolumn_info))
 3248   if (const Arg *A = Args.getLastArg(options::OPT_gmodules))
 3270   if (const Arg *A = Args.getLastArg(options::OPT_fstandalone_debug))
 3281     const Arg *A = Args.getLastArg(options::OPT_gembed_source);
 3313   const auto *PubnamesArg =
 3335   if (const Arg *A = Args.getLastArg(options::OPT_gdwarf_aranges))
 3398     auto *ModuleNameArg = Args.getLastArg(options::OPT_fmodule_name_EQ);
 3453   if (const Arg *MJ = Args.getLastArg(options::OPT_MJ)) {
 3456   } else if (const Arg *GenCDBFragment =
 3638   if (const Arg *A = Args.getLastArg(options::OPT_fthinlto_index_EQ)) {
 3730     if (const Arg *A = Args.getLastArg(options::OPT_O_Group)) {
 3864   if (Arg *A = Args.getLastArg(options::OPT_meabi)) {
 3870   if (Arg *A = Args.getLastArg(options::OPT_mthread_model)) {
 3893     for (const Arg *A : Args.filtered(options::OPT_frewrite_map_file,
 3906   if (Arg *A = Args.getLastArg(options::OPT_Wframe_larger_than_EQ)) {
 3925   if (Arg *A = Args.getLastArg(options::OPT_mregparm_EQ)) {
 3930   if (Arg *A = Args.getLastArg(options::OPT_fpcc_struct_return,
 4014   if (Arg *A = Args.getLastArg(options::OPT_LongDouble_Group)) {
 4098   if (Arg *A = Args.getLastArg(options::OPT_mcmodel_EQ)) {
 4142   if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) {
 4150     Arg *Unsupported;
 4252   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
 4262   for (const Arg *A :
 4268   for (const Arg *A :
 4295   const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi);
 4306     if (Arg *A = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi,
 4340     Arg *WriteStrings =
 4358   if (Arg *Asm = Args.getLastArg(options::OPT_fasm, options::OPT_fno_asm)) {
 4376   if (Arg *A = Args.getLastArg(options::OPT_ftemplate_depth_,
 4382   if (Arg *A = Args.getLastArg(options::OPT_foperator_arrow_depth_EQ)) {
 4387   if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_depth_EQ)) {
 4392   if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_steps_EQ)) {
 4403   if (Arg *A = Args.getLastArg(options::OPT_fbracket_depth_EQ)) {
 4408   if (Arg *A = Args.getLastArg(options::OPT_Wlarge_by_value_copy_EQ,
 4420   if (const Arg *A = Args.getLastArg(options::OPT_fcf_runtime_abi_EQ)) {
 4431   if (Arg *A = Args.getLastArg(options::OPT_fconstant_string_class_EQ)) {
 4436   if (Arg *A = Args.getLastArg(options::OPT_ftabstop_EQ)) {
 4446   if (Arg *A = Args.getLastArg(options::OPT_ferror_limit_EQ))
 4451   if (Arg *A = Args.getLastArg(options::OPT_fmacro_backtrace_limit_EQ)) {
 4456   if (Arg *A = Args.getLastArg(options::OPT_ftemplate_backtrace_limit_EQ)) {
 4461   if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_backtrace_limit_EQ)) {
 4466   if (Arg *A = Args.getLastArg(options::OPT_fspell_checking_limit_EQ)) {
 4473   if (Arg *A = Args.getLastArg(options::OPT_fmessage_length_EQ)) {
 4483   if (const Arg *A = Args.getLastArg(options::OPT_fvisibility_EQ,
 4602   if (Arg *A = Args.getLastArg(options::OPT_ftrapv_handler_EQ)) {
 4611   if (Arg *A = Args.getLastArg(options::OPT_fwrapv, options::OPT_fno_wrapv)) {
 4614   } else if (Arg *A = Args.getLastArg(options::OPT_fstrict_overflow,
 4620   if (Arg *A = Args.getLastArg(options::OPT_freroll_loops,
 4661   if (Arg *A = Args.getLastArg(options::OPT_mrestrict_it,
 4685   if (Arg *A = Args.getLastArg(options::OPT_fcf_protection_EQ)) {
 4692   if (Arg *A = getLastProfileSampleUseArg(Args)) {
 4693     auto *PGOArg = Args.getLastArg(
 4798   if (Arg *A = Args.getLastArg(options::OPT_fgnuc_version_EQ)) {
 4827     if (const Arg *StdArg = Args.getLastArg(options::OPT__SLASH_std)) {
 4918   Arg *A = Args.getLastArg(
 4967   if (Arg *A = Args.getLastArg(options::OPT_faligned_allocation,
 4978   if (Arg *A = Args.getLastArg(options::OPT_fnew_alignment_EQ,
 4998   if (Arg *A = Args.getLastArg(options::OPT_fpack_struct_EQ)) {
 5009   if (Arg *A = Args.getLastArg(options::OPT_fmax_type_align_EQ)) {
 5044   if (Arg *inputCharset = Args.getLastArg(options::OPT_finput_charset_EQ)) {
 5052   if (Arg *execCharset = Args.getLastArg(options::OPT_fexec_charset_EQ)) {
 5097   if (Arg *A = Args.getLastArg(options::OPT_fdollars_in_identifiers,
 5107   if (Arg *A = Args.getLastArg(options::OPT_funit_at_a_time,
 5127     const Arg *A = Args.getLastArg(options::OPT_foptimization_record_file_EQ);
 5134         if (Arg *FinalOutput = Args.getLastArg(options::OPT_o))
 5156       if (const Arg *A =
 5166     if (const Arg *A =
 5172     if (const Arg *A =
 5194   if (Arg *A = Args.getLastArg(options::OPT_traditional,
 5206   if (Arg *A = Args.getLastArg(options::OPT__serialize_diags)) {
 5220   for (const Arg *A : Args.filtered(options::OPT_fplugin_EQ)) {
 5227   for (const Arg *A : Args.filtered(options::OPT_fpass_plugin_EQ)) {
 5253   for (const Arg *A : Args.filtered(options::OPT_mllvm)) {
 5358     Arg *Tgts = Args.getLastArg(options::OPT_fopenmp_targets_EQ);
 5416   if (Arg *A = Args.getLastArg(options::OPT_fexperimental_isel,
 5428       Arg *A = Args.getLastArg(options::OPT_O_Group);
 5458   if (Arg *A = Args.getLastArg(options::OPT_fforce_enable_int128,
 5472   if (Arg *A = Args.getLastArg(options::OPT_moutline,
 5501   if (Arg *A = Args.getLastArg(options::OPT_fsymbol_partition_EQ)) {
 5560   if (Arg *A = Args.getLastArg(options::OPT_pg))
 5595   Arg *runtimeArg =
 5629   if (Arg *abiArg = args.getLastArg(options::OPT_fobjc_abi_version_EQ)) {
 5655       if (Arg *abiArg =
 5792   if (Arg *A = Args.getLastArg(options::OPT__SLASH_M_Group))
 5854   if (Arg *DebugInfoArg =
 5889   if (Arg *A = Args.getLastArg(options::OPT__SLASH_volatile_Group))
 5905   Arg *MostGeneralArg = Args.getLastArg(options::OPT__SLASH_vmg);
 5906   Arg *BestCaseArg = Args.getLastArg(options::OPT__SLASH_vmb);
 5912     Arg *SingleArg = Args.getLastArg(options::OPT__SLASH_vms);
 5913     Arg *MultipleArg = Args.getLastArg(options::OPT__SLASH_vmm);
 5914     Arg *VirtualArg = Args.getLastArg(options::OPT__SLASH_vmv);
 5916     Arg *FirstConflict = SingleArg ? SingleArg : MultipleArg;
 5917     Arg *SecondConflict = VirtualArg ? VirtualArg : MultipleArg;
 5932   if (Arg *CCArg =
 5977   if (Arg *A = Args.getLastArg(options::OPT__SLASH_guard)) {
 6020   if (Arg *OutputOpt = Args.getLastArg(options::OPT_o)) {
 6044   if (Arg *A = Args.getLastArg(options::OPT_masm_EQ)) {
 6132   if (Arg *A = Args.getLastArg(options::OPT_g_Group)) {
 6258   Arg *A;
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
   74   for (const Arg *A : Args.filtered(Group)) {
  179     const Arg &A = II.getInputArg();
  200   if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) {
  210   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
  226   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
  235   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
  253   Arg *A;
  273     if (const Arg *A = Args.getLastArg(options::OPT_mmcu_EQ))
  289     if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
  316     if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
  346   Arg *LtoJobsArg = Args.getLastArg(options::OPT_flto_jobs_EQ);
  390   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  417   if (Arg *A = Args.getLastArg(options::OPT_gTune_Group,
  440   if (Arg *A = getLastProfileSampleUseArg(Args)) {
  449   auto *CSPGOGenerateArg = Args.getLastArg(options::OPT_fcs_profile_generate,
  456   auto *ProfileUseArg = getLastProfileUseArg(Args);
  801   if (Arg *A = Args.getLastArg(options::OPT_O_Group))
  809   if (Arg *A = Args.getLastArg(options::OPT_gsplit_dwarf_EQ))
  813   Arg *FinalOutput = Args.getLastArg(options::OPT_o);
  865 Arg *tools::getLastProfileUseArg(const ArgList &Args) {
  866   auto *ProfileUseArg = Args.getLastArg(
  878 Arg *tools::getLastProfileSampleUseArg(const ArgList &Args) {
  879   auto *ProfileSampleUseArg = Args.getLastArg(
  971   Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC,
 1001           Arg *ModelArg = Args.getLastArg(options::OPT_mcmodel_EQ);
 1026   if (Arg *A = Args.getLastArg(options::OPT_mdynamic_no_pic)) {
 1057   Arg* LastROPIArg = Args.getLastArg(options::OPT_fropi, options::OPT_fno_ropi);
 1064   Arg *LastRWPIArg = Args.getLastArg(options::OPT_frwpi, options::OPT_fno_rwpi);
 1125   const Arg *A = Args.getLastArg(options::OPT_falign_functions,
 1371   const Arg *A = Args.getLastArg(options::OPT_save_stats_EQ);
tools/clang/lib/Driver/ToolChains/CommonArgs.h
   83 llvm::opt::Arg *getLastProfileUseArg(const llvm::opt::ArgList &Args);
   84 llvm::opt::Arg *getLastProfileSampleUseArg(const llvm::opt::ArgList &Args);
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  304   const Arg *A = Args.getLastArg(options::OPT_O_Group);
  309   if (const Arg *A = Args.getLastArg(options::OPT_g_Group)) {
  360   } else if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  421   if (Arg *A = Args.getLastArg(options::OPT_ptxas_path_EQ))
  430   for (Arg *A : Args) {
  530   if (const Arg *A = Args.getLastArg(options::OPT_libomptarget_nvptx_path_EQ))
  681     if (const Arg *A = DriverArgs.getLastArg(options::OPT_libomptarget_nvptx_path_EQ))
  720 bool CudaToolChain::supportsDebugInfoOption(const llvm::opt::Arg *A) const {
  774     for (Arg *A : Args) {
  776       for (Arg *DALArg : *DAL) {
  794   for (Arg *A : Args) {
  802       std::unique_ptr<Arg> XarchArg(Opts.ParseOneArg(Args, Index));
tools/clang/lib/Driver/ToolChains/Cuda.h
  160   bool supportsDebugInfoOption(const llvm::opt::Arg *A) const override;
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  186   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  208   if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) {
  286     Arg *A;
  299     Arg *A;
  345   if (const Arg *A =
  391   } else if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
  474     if (const Arg *A =
  486       if (const Arg *A =
  495     if (const Arg *A =
  503     if (const Arg *A =
  513   if (Arg *A =
  642   for (const Arg *A : Args.filtered(options::OPT_iframework))
  646     if (Arg *A = Args.getLastArg(options::OPT_fveclib)) {
  839     if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ))
  843     if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
  956     if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
 1094   for (Arg *A : Args) {
 1146   if (Arg* A = Args.getLastArg(options::OPT_rtlib_EQ)) {
 1175   if (const Arg *A = Args.getLastArg(options::OPT_static_libgcc)) {
 1336                                          StringRef OSVersion, Arg *A) {
 1353                                            Arg *A) {
 1390   DarwinPlatform(SourceKind Kind, DarwinPlatformKind Platform, Arg *Argument)
 1393                  Arg *Argument = nullptr)
 1417   Arg *Argument;
 1426   Arg *OSXVersion = Args.getLastArg(options::OPT_mmacosx_version_min_EQ);
 1427   Arg *iOSVersion = Args.getLastArg(options::OPT_miphoneos_version_min_EQ,
 1429   Arg *TvOSVersion =
 1432   Arg *WatchOSVersion =
 1523   const Arg *A = Args.getLastArg(options::OPT_isysroot);
 1638   const Arg *A = Args.getLastArg(options::OPT_isysroot);
 1659   if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
 1806   if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
 2014     if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
 2082   for (Arg *A : Args) {
 2094       Arg *OriginalArg = A;
 2097       std::unique_ptr<Arg> XarchArg(Opts.ParseOneArg(Args, Index));
 2362       Arg *A = *it;
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp
   64     if (Arg *A = Args.getLastArg(options::OPT_G)) {
  212   if (Arg *A = Args.getLastArg(options::OPT_G)) {
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
  236   if (Arg *A = Args.getLastArg(clang::driver::options::OPT_rtlib_EQ)) {
  248   if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) {
tools/clang/lib/Driver/ToolChains/Gnu.cpp
   53   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
  169       const Arg &A = II.getInputArg();
  247     if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian,
  317   Arg *A = Args.getLastArg(options::OPT_pie, options::OPT_no_pie,
  652   if (const Arg *A = Args.getLastArg(options::OPT_gz, options::OPT_gz_EQ)) {
  712     if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
  811     if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) {
  817     if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx,
  829     if (Arg *A =
  845     if (Arg *A = Args.getLastArg(options::OPT_mmsa, options::OPT_mno_msa)) {
  910   Arg *A = Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float,
  929   Arg *A = Args.getLastArg(options::OPT_mips16, options::OPT_mno_mips16);
  934   Arg *A = Args.getLastArg(options::OPT_mmicromips, options::OPT_mno_micromips);
 1737   const Arg *A = Args.getLastArg(clang::driver::options::OPT_gcc_toolchain);
 2686     for (auto *A : Args) {
tools/clang/lib/Driver/ToolChains/HIP.cpp
   96   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  118   for (const Arg *A : Args.filtered(options::OPT_mllvm)) {
  159   for (const Arg *A : Args.filtered(options::OPT_mllvm)) {
  368   for (Arg *A : Args) {
  376       std::unique_ptr<Arg> XarchArg(Opts.ParseOneArg(Args, Index));
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
   40   if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) {
   60   if (Arg *A = Args.getLastArg(options::OPT_mno_hexagon_hvx,
   77   if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) {
  102   if (Arg *A = Args.getLastArg(options::OPT_mlong_calls,
  268   for (const Arg *A : Args.filtered(options::OPT_moslib_EQ)) {
  399   if (Arg *A = Args.getLastArg(options::OPT_G)) {
  420   for (Arg *A : Args.filtered(options::OPT_L))
  490   Arg *A = DriverArgs.getLastArg(options::OPT_O_Group);
  549   Arg *A = Args.getLastArg(options::OPT_stdlib_EQ);
  561   if (Arg *A = Args.getLastArg(options::OPT_fvectorize,
  576   Arg *CpuArg = nullptr;
  577   if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ, options::OPT_march_EQ))
tools/clang/lib/Driver/ToolChains/MSP430.cpp
   33 static StringRef getSupportedHWMult(const Arg *MCU) {
   58   const Arg *MCU = Args.getLastArg(options::OPT_mmcu_EQ);
   64   const Arg *HWMultArg = Args.getLastArg(options::OPT_mhwmult_EQ);
  165   const auto *MCUArg = DriverArgs.getLastArg(options::OPT_mmcu_EQ);
  200     if (const Arg *MCUArg = Args.getLastArg(options::OPT_mmcu_EQ))
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  426   if (Arg *A = Args.getLastArg(options::OPT__SLASH_guard)) {
  470     const Arg &A = Input.getInputArg();
  615   if (Arg *A = Args.getLastArg(options::OPT_fbuiltin, options::OPT_fno_builtin))
  618   if (Arg *A = Args.getLastArg(options::OPT_O, options::OPT_O0)) {
  633   if (Arg *A = Args.getLastArg(options::OPT_fomit_frame_pointer,
  652   if (Arg *A = Args.getLastArg(options::OPT_ffunction_sections,
  657   if (Arg *A = Args.getLastArg(options::OPT_fdata_sections,
  681   if (Arg *A = Args.getLastArg(options::OPT__SLASH_MD, options::OPT__SLASH_MDd,
  686   if (Arg *A = Args.getLastArg(options::OPT_fthreadsafe_statics,
  694   if (Arg *A = Args.getLastArg(options::OPT__SLASH_guard)) {
 1371 static void TranslateOptArg(Arg *A, llvm::opt::DerivedArgList &DAL,
 1467 static void TranslateDArg(Arg *A, llvm::opt::DerivedArgList &DAL,
 1502   for (Arg *A : Args.filtered(options::OPT__SLASH_O)) {
 1516   for (Arg *A : Args) {
tools/clang/lib/Driver/ToolChains/MinGW.cpp
  433   Arg *ExceptionArg = Args.getLastArg(options::OPT_fsjlj_exceptions,
tools/clang/lib/Driver/ToolChains/MipsLinux.cpp
   84   Arg *A = Args.getLastArg(options::OPT_stdlib_EQ);
tools/clang/lib/Driver/ToolChains/Myriad.cpp
   67     Arg *A = Args.getLastArg(options::OPT_o);
   97   const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ);
  104   for (const Arg *A : Args.filtered(options::OPT_I, options::OPT_isystem)) {
tools/clang/lib/Driver/ToolChains/NaCl.cpp
  341   if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) {
tools/clang/lib/Driver/ToolChains/PS4CPU.cpp
  335   if (const Arg *A = Args.getLastArg(options::OPT_fuse_ld_EQ)) {
  380   if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
tools/clang/lib/Driver/ToolChains/Solaris.cpp
   91     const Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi);
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp
   37   if (const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ)) {
  186     for (const Arg *A : DriverArgs.filtered(options::OPT_mllvm)) {
  204   if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) {
tools/clang/lib/Driver/ToolChains/XCore.cpp
   41   if (Arg *A = Args.getLastArg(options::OPT_g_Group))
tools/clang/lib/Driver/XRayArgs.cpp
   74     if (const Arg *A =
tools/clang/lib/Frontend/CompilerInvocation.cpp
  128   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  151   if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
  169   for (auto *A : Args.filtered(Group)) {
  207   if (Arg *A = Args.getLastArg(OPT_analyzer_store)) {
  223   if (Arg *A = Args.getLastArg(OPT_analyzer_constraints)) {
  239   if (Arg *A = Args.getLastArg(OPT_analyzer_output)) {
  255   if (Arg *A = Args.getLastArg(OPT_analyzer_purge)) {
  271   if (Arg *A = Args.getLastArg(OPT_analyzer_inlining_mode)) {
  328   for (const Arg *A :
  342   for (const auto *A : Args.filtered(OPT_analyzer_config)) {
  525   if (Arg *A = Args.getLastArg(OPT_mcode_model)) {
  537   if (Arg *A = Args.getLastArg(OPT_mrelocation_model)) {
  558                                 Arg *RpassArg) {
  627   Arg *A = Args.getLastArg(OPT_fprofile_instrument_EQ);
  693   if (Arg *InlineArg = Args.getLastArg(
  715   if (Arg *A = Args.getLastArg(OPT_fveclib)) {
  729   if (Arg *A = Args.getLastArg(OPT_debug_info_kind_EQ)) {
  743   if (Arg *A = Args.getLastArg(OPT_debugger_tuning_EQ)) {
  775   if (const Arg *A =
  863   if (Arg *A = Args.getLastArg(OPT_mframe_pointer_EQ)) {
  973   if (Arg *A = Args.getLastArg(OPT_flto_EQ)) {
  982   if (Arg *A = Args.getLastArg(OPT_fthinlto_index_EQ)) {
  988   if (Arg *A = Args.getLastArg(OPT_save_temps_EQ))
 1036   if (Arg *A = Args.getLastArg(OPT_fembed_bitcode_EQ)) {
 1104   if (const Arg *A = Args.getLastArg(OPT_fcf_protection_EQ)) {
 1119   if (const Arg *A = Args.getLastArg(OPT_compress_debug_sections,
 1136   for (auto *A :
 1181   if (Arg *A = Args.getLastArg(
 1188   if (Arg *A = Args.getLastArg(OPT_fsanitize_address_use_after_scope,
 1195   if (Arg *A = Args.getLastArg(OPT_fsanitize_address_use_odr_indicator,
 1203   if (Arg *A = Args.getLastArg(OPT_mstack_alignment)) {
 1210   if (Arg *A = Args.getLastArg(OPT_mstack_probe_size)) {
 1219   if (Arg *A = Args.getLastArg(OPT_fobjc_dispatch_method_EQ)) {
 1246   if (Arg *A = Args.getLastArg(OPT_ftlsmodel_EQ)) {
 1262   if (Arg *A = Args.getLastArg(OPT_fdenormal_fp_math_EQ)) {
 1274   if (Arg *A = Args.getLastArg(OPT_fpcc_struct_return, OPT_freg_struct_return)) {
 1291   if (Arg *A = Args.getLastArg(OPT_opt_record_passes)) {
 1296   if (Arg *A = Args.getLastArg(OPT_opt_record_format)) {
 1301   if (Arg *A = Args.getLastArg(OPT_Rpass_EQ)) {
 1307   if (Arg *A = Args.getLastArg(OPT_Rpass_missed_EQ)) {
 1313   if (Arg *A = Args.getLastArg(OPT_Rpass_analysis_EQ)) {
 1371   if (Arg *A = Args.getLastArg(OPT_msign_return_address_EQ)) {
 1385     if (Arg *A = Args.getLastArg(OPT_msign_return_address_key_EQ)) {
 1447   for (const auto *A : Args.filtered(OPT_fmodule_file)) {
 1464   for (auto *A : Args) {
 1513   if (Arg *A =
 1536   if (Arg *A = Args.getLastArg(OPT_fdiagnostics_show_note_include_stack,
 1677   if (const Arg *A = Args.getLastArg(OPT_Action_Group)) {
 1799   if (const Arg* A = Args.getLastArg(OPT_plugin)) {
 1805   for (const auto *AA : Args.filtered(OPT_plugin_arg))
 1828   if (const Arg *A = Args.getLastArg(OPT_code_completion_at)) {
 1862   for (const auto *A : Args.filtered(OPT_fmodule_file)) {
 1889   if (const Arg *A = Args.getLastArg(OPT_arcmt_check,
 1952   if (const Arg *A = Args.getLastArg(OPT_x)) {
 2045   if (const Arg *A = Args.getLastArg(OPT_stdlib_EQ))
 2062   for (const auto *A : Args.filtered(OPT_fmodule_file)) {
 2067   for (const auto *A : Args.filtered(OPT_fprebuilt_module_path))
 2088   if (const Arg *A = Args.getLastArg(OPT_fmodule_format_EQ))
 2091   for (const auto *A : Args.filtered(OPT_fmodules_ignore_macro)) {
 2101   for (const auto *A : Args.filtered(OPT_I, OPT_F, OPT_index_header_map)) {
 2128   for (const auto *A :
 2138   for (const auto *A : Args.filtered(OPT_idirafter))
 2140   for (const auto *A : Args.filtered(OPT_iquote))
 2142   for (const auto *A : Args.filtered(OPT_isystem, OPT_iwithsysroot))
 2145   for (const auto *A : Args.filtered(OPT_iframework))
 2147   for (const auto *A : Args.filtered(OPT_iframeworkwithsysroot))
 2152   for (const auto *A : Args.filtered(OPT_c_isystem))
 2154   for (const auto *A : Args.filtered(OPT_cxx_isystem))
 2156   for (const auto *A : Args.filtered(OPT_objc_isystem))
 2158   for (const auto *A : Args.filtered(OPT_objcxx_isystem))
 2162   for (const auto *A :
 2171   for (const auto *A :
 2176   for (const auto *A : Args.filtered(OPT_ivfsoverlay))
 2330 static Visibility parseVisibility(Arg *arg, ArgList &args,
 2422   if (const Arg *A = Args.getLastArg(OPT_std_EQ)) {
 2464   if (const Arg *A = Args.getLastArg(OPT_fcf_protection_EQ)) {
 2472   if (const Arg *A = Args.getLastArg(OPT_cl_std_EQ)) {
 2542     if (Arg *arg = Args.getLastArg(OPT_fobjc_runtime_EQ)) {
 2591   if (Arg *A = Args.getLastArg(options::OPT_fgnuc_version_EQ)) {
 2626   if (const auto *A = Args.getLastArg(OPT_fcf_runtime_abi_EQ))
 2644   if (Arg *visOpt = Args.getLastArg(OPT_fvisibility)) {
 2651   if (Arg *typeVisOpt = Args.getLastArg(OPT_ftype_visibility)) {
 2679   if (const Arg *A = Args.getLastArg(OPT_fms_compatibility_version)) {
 2705   if (Arg *A = Args.getLastArg(OPT_flax_vector_conversions_EQ)) {
 2734   Arg *A = Args.getLastArg(
 2787   if (const Arg *A = Args.getLastArg(OPT_fwchar_type_EQ)) {
 2814     Arg *A = Args.getLastArg(OPT_fnew_alignment_EQ);
 2901   if (Arg *A = Args.getLastArg(OPT_faddress_space_map_mangling_EQ)) {
 2923   if (Arg *A = Args.getLastArg(OPT_fms_memptr_rep_EQ)) {
 2942   if (Arg *A = Args.getLastArg(OPT_fdefault_calling_conv_EQ)) {
 2971   if (Arg *A = Args.getLastArg(OPT_mrtd)) {
 3046   if (Arg *A = Args.getLastArg(options::OPT_fopenmp_targets_EQ)) {
 3067   if (Arg *A = Args.getLastArg(options::OPT_fopenmp_host_ir_file_path)) {
 3100   if (Arg *InlineArg = Args.getLastArg(
 3115   if (Arg *A = Args.getLastArg(OPT_ffp_contract)) {
 3142   if (Arg *A = Args.getLastArg(OPT_ftrivial_auto_var_init)) {
 3192   if (Arg *A = Args.getLastArg(OPT_fclang_abi_compat_EQ)) {
 3287   for (const auto *A : Args.filtered(OPT_error_on_deserialized_pch_decl))
 3290   if (const Arg *A = Args.getLastArg(OPT_preamble_bytes_EQ)) {
 3307   if (const Arg *A = Args.getLastArg(OPT_fcf_protection_EQ)) {
 3318   for (const auto *A : Args.filtered(OPT_D, OPT_U)) {
 3328   for (const auto *A : Args.filtered(OPT_include))
 3331   for (const auto *A : Args.filtered(OPT_chain_include))
 3334   for (const auto *A : Args.filtered(OPT_remap_file)) {
 3345   if (Arg *A = Args.getLastArg(OPT_fobjc_arc_cxxlib_EQ)) {
 3389   if (Arg *A = Args.getLastArg(OPT_meabi)) {
 3416   if (Arg *A = Args.getLastArg(options::OPT_target_sdk_version_EQ)) {
 3447   for (const auto *A : Args.filtered(OPT_UNKNOWN)) {
 3661   if (Arg *A = Args.getLastArg(Id)) {
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  159       std::unique_ptr<llvm::opt::Arg> Arg(OptTable.ParseOneArg(
  282   Optional<types::ID> tryParseTypeArg(const llvm::opt::Arg &Arg) {
  298   Optional<LangStandard::Kind> tryParseStdArg(const llvm::opt::Arg &Arg) {
tools/clang/tools/driver/cc1as_main.cpp
  194   for (const Arg *A : Args.filtered(OPT_UNKNOWN)) {
  223   if (const Arg *A = Args.getLastArg(OPT_compress_debug_sections,
  251     for (const Arg *A : Args.filtered(OPT_INPUT)) {
  264   if (Arg *A = Args.getLastArg(OPT_filetype)) {
  299   if (auto *A = Args.getLastArg(OPT_fembed_bitcode_EQ)) {
tools/dsymutil/dsymutil.cpp
  108   for (auto *File : Args.filtered(OPT_INPUT))
  189   if (opt::Arg *Accelerator = Args.getLastArg(OPT_accelerator)) {
  230   if (opt::Arg *SymbolMap = Args.getLastArg(OPT_symbolmap))
  243   for (auto *Arch : Args.filtered(OPT_arch))
  246   if (opt::Arg *OsoPrependPath = Args.getLastArg(OPT_oso_prepend_path))
  249   if (opt::Arg *OutputFile = Args.getLastArg(OPT_output))
  252   if (opt::Arg *Toolchain = Args.getLastArg(OPT_toolchain))
  258   if (opt::Arg *NumThreads = Args.getLastArg(OPT_threads))
  448   for (auto *Arg : Args.filtered(OPT_UNKNOWN)) {
tools/lld/COFF/Driver.cpp
   94   auto *arg = args.getLastArg(id);
  358   for (auto *arg : args) {
  600   for (auto *arg : args) {
  638   auto *a = args.getLastArg(OPT_debug, OPT_debug_opt);
  668   if (auto *a = args.getLastArg(OPT_debugtype)) {
  699   auto *arg = args.getLastArg(OPT_lldmap, OPT_lldmap_file);
 1052   for (auto *arg : args.filtered(OPT_wholearchive_file))
 1079   if (auto *arg = args.getLastArg(OPT_reproduce))
 1082   if (auto *arg = args.getLastArg(OPT_linkrepro)) {
 1114   for (auto *arg : args.filtered(OPT_mllvm))
 1119   if (auto *arg = args.getLastArg(OPT_errorlimit)) {
 1175   for (auto *arg : args.filtered(OPT_libpath))
 1181   for (auto *arg : args.filtered(OPT_ignore)) {
 1196   if (auto *arg = args.getLastArg(OPT_out))
 1234     if (auto *arg = args.getLastArg(OPT_pdb))
 1236     if (auto *arg = args.getLastArg(OPT_pdbaltpath))
 1241     if (auto *arg = args.getLastArg(OPT_pdb_source_path))
 1262   auto *dynamicBaseArg = args.getLastArg(OPT_dynamicbase, OPT_dynamicbase_no);
 1286   if (auto *arg = args.getLastArg(OPT_machine)) {
 1293   for (auto *arg : args.filtered(OPT_nodefaultlib))
 1301   if (auto *arg = args.getLastArg(OPT_base))
 1305   if (auto *arg = args.getLastArg(OPT_filealign)) {
 1312   if (auto *arg = args.getLastArg(OPT_stack))
 1316   if (auto *arg = args.getLastArg(OPT_guard))
 1320   if (auto *arg = args.getLastArg(OPT_heap))
 1324   if (auto *arg = args.getLastArg(OPT_version))
 1329   if (auto *arg = args.getLastArg(OPT_subsystem))
 1334   if (llvm::opt::Arg *arg = args.getLastArg(OPT_timestamp, OPT_repro)) {
 1351   for (auto *arg : args.filtered(OPT_alternatename))
 1355   for (auto *arg : args.filtered(OPT_incl))
 1359   if (auto *arg = args.getLastArg(OPT_implib))
 1367   for (auto *arg : args.filtered(OPT_opt)) {
 1423   if (auto *arg = args.getLastArg(OPT_lldltocache))
 1427   if (auto *arg = args.getLastArg(OPT_lldltocachepolicy))
 1433   for (auto *arg : args.filtered(OPT_failifmismatch))
 1437   for (auto *arg : args.filtered(OPT_merge))
 1455   for (auto *arg : args.filtered(OPT_section))
 1459   if (auto *arg = args.getLastArg(OPT_align)) {
 1466   for (auto *arg : args.filtered(OPT_aligncomm))
 1471   if (auto *arg = args.getLastArg(OPT_manifestdependency)) {
 1477   if (auto *arg = args.getLastArg(OPT_manifest, OPT_manifest_colon)) {
 1485   if (auto *arg = args.getLastArg(OPT_manifestuac))
 1489   if (auto *arg = args.getLastArg(OPT_manifestfile))
 1493   for (auto *arg : args.filtered(OPT_manifestinput))
 1522   for (auto *arg : args.filtered(OPT_swaprun))
 1558   for (auto *arg : args.filtered(OPT_wholearchive_file))
 1579   for (auto *arg : args) {
 1607   for (auto *arg : args.filtered(OPT_defaultlib))
 1635   for (auto *arg : args.filtered(OPT_functionpadmin, OPT_functionpadmin_opt))
 1658   for (auto *arg : args.filtered(OPT_export)) {
 1670   if (auto *arg = args.getLastArg(OPT_deffile)) {
 1692   if (auto *arg = args.getLastArg(OPT_entry)) {
 1711   for (auto *arg : args.filtered(OPT_delayload)) {
 1829     for (auto *arg : args.filtered(OPT_include_optional))
 1916   if (auto *arg = args.getLastArg(OPT_output_def))
 1947   if (auto *arg = args.getLastArg(OPT_order))
tools/lld/COFF/Driver.h
  165 void parseFunctionPadMin(llvm::opt::Arg *a, llvm::COFF::MachineTypes machine);
tools/lld/COFF/DriverUtils.cpp
  227 void parseFunctionPadMin(llvm::opt::Arg *a, llvm::COFF::MachineTypes machine) {
  771   auto *arg = args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq,
  791   if (auto *arg = args.getLastArg(OPT_rsp_quoting)) {
  846   for (auto *arg : args.filtered(OPT_UNKNOWN)) {
  883   for (auto *arg : args.filtered(OPT_UNKNOWN))
tools/lld/Common/Args.cpp
   31   auto *a = args.getLastArg(key);
   46   for (auto *arg : args.filtered(id))
   53   for (auto *arg : args.filtered_reverse(id)) {
tools/lld/Common/Reproduce.cpp
   53 std::string lld::toString(const opt::Arg &arg) {
tools/lld/ELF/Driver.cpp
  361   if (auto *arg = args.getLastArg(OPT_reproduce))
  367   for (auto *arg : args.filtered(OPT_z))
  375   for (auto *arg : args.filtered_reverse(OPT_z)) {
  385   for (auto *arg : args.filtered_reverse(OPT_z)) {
  415   for (auto *arg : args.filtered(OPT_z))
  523   for (auto *arg : llvm::reverse(args)) {
  577   auto *arg =
  589   auto *arg = args.getLastArg(OPT_dynamic_linker, OPT_no_dynamic_linker);
  596   auto *arg = args.getLastArg(OPT_icf_none, OPT_icf_safe, OPT_icf_all);
  608   auto *arg = args.getLastArg(OPT_strip_all, OPT_strip_debug);
  617                                     const opt::Arg &arg) {
  628   for (auto *arg : args.filtered(OPT_section_start)) {
  635   if (auto *arg = args.getLastArg(OPT_Ttext))
  637   if (auto *arg = args.getLastArg(OPT_Tdata))
  639   if (auto *arg = args.getLastArg(OPT_Tbss))
  671   auto *arg = args.getLastArg(OPT_build_id, OPT_build_id_eq);
  775 static StringRef getAliasSpelling(opt::Arg *arg) {
  776   if (const opt::Arg *alias = arg->getAlias())
  783   auto *arg = args.getLastArg(id);
  974   if (auto *arg = args.getLastArg(OPT_plugin_opt_mcpu_eq))
  978   for (auto *arg : args.filtered(OPT_plugin_opt))
  982   for (auto *arg : args.filtered(OPT_mllvm))
  996   if (auto *arg = args.getLastArg(OPT_m)) {
 1006   if (auto *arg = args.getLastArg(OPT_hash_style)) {
 1032   if (auto *arg = args.getLastArg(OPT_symbol_ordering_file)){
 1051   if (auto *arg = args.getLastArg(OPT_retain_symbols_file)) {
 1064     for (auto *arg : args.filtered(OPT_dynamic_list))
 1068     for (auto *arg : args.filtered(OPT_export_dynamic_symbol))
 1077   for (auto *arg : args.filtered(OPT_export_dynamic_symbol))
 1080   for (auto *arg : args.filtered(OPT_version_script))
 1152   for (auto *arg : args) {
 1305   auto *arg = args.getLastArg(OPT_image_base);
 1324   for (auto *arg : args.filtered(OPT_exclude_libs)) {
 1462   for (auto *arg : args.filtered(OPT_keep_unique)) {
 1610   for (auto *arg : args.filtered(OPT_wrap)) {
 1731   for (auto *arg : args.filtered(OPT_trace_symbol))
 1966     if (auto *arg = args.getLastArg(OPT_call_graph_ordering_file))
tools/lld/ELF/DriverUtils.cpp
   57   auto *arg = args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq,
   77   if (auto *arg = args.getLastArg(OPT_rsp_quoting)) {
  135   for (auto *arg : args.filtered(OPT_UNKNOWN)) {
  174   for (auto *arg : args) {
tools/lld/MinGW/Driver.cpp
  107   for (auto *arg : args.filtered(OPT_UNKNOWN))
  202   if (auto *a = args.getLastArg(OPT_entry)) {
  212     auto *majOSVer = args.getLastArg(OPT_major_os_version);
  213     auto *minOSVer = args.getLastArg(OPT_minor_os_version);
  214     auto *majSubSysVer = args.getLastArg(OPT_major_subsystem_version);
  215     auto *minSubSysVer = args.getLastArg(OPT_minor_subsystem_version);
  231   } else if (auto *a = args.getLastArg(OPT_subs)) {
  235   if (auto *a = args.getLastArg(OPT_out_implib))
  237   if (auto *a = args.getLastArg(OPT_stack))
  239   if (auto *a = args.getLastArg(OPT_output_def))
  241   if (auto *a = args.getLastArg(OPT_image_base))
  243   if (auto *a = args.getLastArg(OPT_map))
  245   if (auto *a = args.getLastArg(OPT_reproduce))
  248   if (auto *a = args.getLastArg(OPT_o))
  255   if (auto *a = args.getLastArg(OPT_pdb)) {
  293   if (auto *a = args.getLastArg(OPT_icf)) {
  305   if (auto *a = args.getLastArg(OPT_m)) {
  319   for (auto *a : args.filtered(OPT_mllvm))
  322   for (auto *a : args.filtered(OPT_Xlink))
  330   for (auto *a : args.filtered(OPT_require_defined))
  332   for (auto *a : args.filtered(OPT_undefined))
  334   for (auto *a : args.filtered(OPT_delayload))
  338   for (auto *a : args.filtered(OPT_L)) {
  345   for (auto *a : args) {
tools/lld/include/lld/Common/Reproduce.h
   31 std::string toString(const llvm::opt::Arg &arg);
tools/lld/lib/Driver/DarwinLdDriver.cpp
  342   if (llvm::opt::Arg *kind = parsedArgs.getLastArg(
  366   if (llvm::opt::Arg *archStr = parsedArgs.getLastArg(OPT_arch)) {
  398   if (llvm::opt::Arg *minOS =
  443   if (llvm::opt::Arg *entry = parsedArgs.getLastArg(OPT_entry))
  447   if (llvm::opt::Arg *outpath = parsedArgs.getLastArg(OPT_output))
  453   if (llvm::opt::Arg *imageBase = parsedArgs.getLastArg(OPT_image_base)) {
  480   if (llvm::opt::Arg *installName = parsedArgs.getLastArg(OPT_install_name))
  490   if (llvm::opt::Arg *vers = parsedArgs.getLastArg(OPT_compatibility_version)) {
  503   if (llvm::opt::Arg *vers = parsedArgs.getLastArg(OPT_current_version)) {
  517   if (llvm::opt::Arg *loader = parsedArgs.getLastArg(OPT_bundle_loader))
  571   if (llvm::opt::Arg *depInfo = parsedArgs.getLastArg(OPT_dependency_info))
  704   if (llvm::opt::Arg *mod =
  730   if (llvm::opt::Arg *pie = parsedArgs.getLastArg(OPT_pie, OPT_no_pie)) {
  777     if (auto *arg = parsedArgs.getLastArg(OPT_version_load_command,
  825     if (auto *arg = parsedArgs.getLastArg(OPT_function_starts,
  873     if (auto *arg = parsedArgs.getLastArg(OPT_data_in_code_info,
  919   if (llvm::opt::Arg *arg = parsedArgs.getLastArg(OPT_sdk_version)) {
  938   if (llvm::opt::Arg *arg = parsedArgs.getLastArg(OPT_source_version)) {
  949   if (llvm::opt::Arg *stackSize = parsedArgs.getLastArg(OPT_stack_size)) {
  978   if (llvm::opt::Arg *ns =
  985   if (llvm::opt::Arg *undef = parsedArgs.getLastArg(OPT_undefined)) {
tools/lld/wasm/Driver.cpp
  130   auto *arg = args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq,
  170   for (auto *arg : args.filtered(OPT_UNKNOWN))
  271   for (auto *arg : args) {
  290   auto *arg = args.getLastArg(OPT_entry, OPT_no_entry);
  360   if (auto *arg = args.getLastArg(OPT_features)) {
  545   for (auto *arg : args) {
  594   for (auto *arg : args.filtered(OPT_wrap)) {
  664   if (auto *arg = args.getLastArg(OPT_reproduce)) {
  680   for (auto *arg : args.filtered(OPT_mllvm))
  690   if (auto *arg = args.getLastArg(OPT_allow_undefined_file))
  699   for (auto *arg : args.filtered(OPT_trace_symbol))
  702   for (auto *arg : args.filtered(OPT_export))
  719   for (auto *arg : args.filtered(OPT_undefined))
  724   for (auto *arg : args.filtered(OPT_export))
  761   for (auto *arg : args.filtered(OPT_export)) {
tools/lldb/tools/driver/Driver.cpp
  205   if (auto *arg = args.getLastArg(OPT_core)) {
  236   if (auto *arg = args.getLastArg(OPT_file)) {
  253   if (auto *arg = args.getLastArg(OPT_arch)) {
  262   if (auto *arg = args.getLastArg(OPT_script_language)) {
  271   if (auto *arg = args.getLastArg(OPT_attach_name)) {
  280   if (auto *arg = args.getLastArg(OPT_attach_pid)) {
  291   if (auto *arg = args.getLastArg(OPT_repl_language)) {
  306   if (auto *arg = args.getLastArg(OPT_repl_)) {
  314   for (auto *arg : args.filtered(OPT_source_on_crash, OPT_one_line_on_crash,
  367       if (auto *arg = args.getLastArgNoClaim(OPT_INPUT)) {
  373     if (auto *arg = args.getLastArgNoClaim(OPT_REM)) {
  779   if (auto *replay_path = input_args.getLastArg(OPT_replay)) {
  788   auto *capture_path = input_args.getLastArg(OPT_capture_path);
  831   for (auto *arg : input_args.filtered(OPT_UNKNOWN)) {
tools/llvm-cvtres/llvm-cvtres.cpp
  122   if (opt::Arg *Arg = InputArgs.getLastArg(OPT_MACHINE)) {
  142   if (opt::Arg *Arg = InputArgs.getLastArg(OPT_OUT)) {
  150   if (llvm::opt::Arg *Arg = InputArgs.getLastArg(OPT_TIMESTAMP)) {
tools/llvm-lipo/llvm-lipo.cpp
  350   SmallVector<opt::Arg *, 1> ActionArgs(InputArgs.filtered(LIPO_action_group));
tools/llvm-mt/llvm-mt.cpp
   96   for (auto *Arg : InputArgs.filtered(OPT_INPUT)) {
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>