Lines Matching refs:Arg
29 #include "llvm/Option/Arg.h"
48 Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC,
65 if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC)) {
80 if (const Arg *A = Args.getLastArg(options::OPT_dynamic,
197 const Arg &A = II.getInputArg();
244 Arg *A;
257 if (Arg *MF = Args.getLastArg(options::OPT_MF)) {
278 Arg *OutputOpt = Args.getLastArg(options::OPT_o);
317 const Arg *A = *it;
340 const Arg *A = it;
411 if (Arg *A = Args.getLastArg(options::OPT_I_))
490 static void getAArch64FPUFeatures(const Driver &D, const Arg *A,
510 static void getARMHWDivFeatures(const Driver &D, const Arg *A,
534 static void getARMFPUFeatures(const Driver &D, const Arg *A,
597 if (Arg *A = Args.getLastArg(options::OPT_msoft_float,
716 if (const Arg *A = Args.getLastArg(options::OPT_mfpu_EQ))
718 if (const Arg *A = Args.getLastArg(options::OPT_mhwdiv_EQ))
730 if (Arg *A = Args.getLastArg(options::OPT_mcrc,
752 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
824 if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge,
848 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
883 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ))
903 if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge,
927 if (Arg *A = Args.getLastArg(options::OPT_march_EQ,
931 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
987 if (Arg *A = Args.getLastArg(options::OPT_msoft_float,
1018 if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) {
1036 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) {
1091 if (Arg *A = Args.getLastArg(options::OPT_mxgot, options::OPT_mno_xgot)) {
1098 if (Arg *A = Args.getLastArg(options::OPT_mldc1_sdc1,
1106 if (Arg *A = Args.getLastArg(options::OPT_mcheck_zero_division,
1114 if (Arg *A = Args.getLastArg(options::OPT_G)) {
1124 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
1219 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
1237 if (Arg *A =
1252 if (Arg *A = Args.getLastArg(options::OPT_msoft_float,
1279 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ))
1286 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
1389 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
1482 if (Arg *A = Args.getLastArg(options::OPT_msoft_float,
1493 if (Arg *A = Args.getLastArg(options::OPT_masm_EQ)) {
1510 static Arg *GetLastSmallDataThresholdArg(const ArgList &Args) {
1520 else if (Arg *A = GetLastSmallDataThresholdArg(Args)) {
1553 if (const Arg *A = Args.getLastArg(options::OPT_mfpu_EQ))
1565 if (Arg *A = Args.getLastArg(options::OPT_mcrc,
1675 if (Arg *A = Args.getLastArg(options::OPT_fexceptions,
1733 if (Arg *A = Args.getLastArg(options::OPT_fcxx_exceptions,
1791 if (Arg *A = Args.getLastArg(options::OPT_O_Group))
1817 // '-Wa,-I -Wa,foo' we need to accept the -Wa,foo arg after seeing the
1818 // -Wa,-I arg and when parsing '-Wa,-I,foo' we need to accept the 'foo'
1819 // arg after parsing the '-I' arg.
1828 const Arg *A = *it;
1856 // We need to consume the next argument if the current arg is a plain
1857 // -I. The next arg will be the include directory.
2107 if (Arg *A = Args.getLastArg(options::OPT_O_Group))
2120 if (Arg *A = Args.getLastArg(options::OPT_fno_omit_frame_pointer,
2129 if (Arg *A = Args.getLastArg(options::OPT_mno_omit_leaf_frame_pointer,
2147 Arg *FinalOutput = Args.getLastArg(options::OPT_o);
2191 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
2401 if (Arg *A = Args.getLastArg(options::OPT__analyzer_output))
2477 Arg *LastPICArg =Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC,
2516 if (Arg *A = Args.getLastArg(options::OPT_mdynamic_no_pic)) {
2557 if (Arg *A = Args.getLastArg(options::OPT_Wframe_larger_than_EQ)) {
2564 if (Arg *A = Args.getLastArg(options::OPT_mregparm_EQ)) {
2569 if (Arg *A = Args.getLastArg(options::OPT_fpcc_struct_return,
2626 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2636 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2649 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2671 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2682 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2693 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2704 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2720 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2743 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption,
2747 if (Arg *A = Args.getLastArg(options::OPT_ffinite_math_only,
2803 if (Arg *A = Args.getLastArg(options::OPT_flimited_precision_EQ)) {
2811 if (Arg *A = Args.getLastArg(options::OPT_mcmodel_EQ)) {
2825 if (const Arg *A = Args.getLastArg(options::OPT_mfpmath_EQ)) {
2878 if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) {
2890 Arg *Unsupported;
2920 if (Arg *A = Args.getLastArg(options::OPT_g_Group)) {
3003 if (Arg *A = Args.getLastArg(options::OPT_fprofile_instr_use_EQ))
3050 if (const Arg *A = Args.getLastArg(options::OPT_ccc_arcmt_check,
3079 if (const Arg *A = Args.getLastArg(options::OPT_ccc_objcmt_migrate)) {
3131 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) {
3155 if (Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi)) {
3164 if (Arg *A = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi,
3196 Arg *WriteStrings =
3214 if (Arg *Asm = Args.getLastArg(options::OPT_fasm, options::OPT_fno_asm)) {
3230 if (Arg *A = Args.getLastArg(options::OPT_ftemplate_depth_,
3236 if (Arg *A = Args.getLastArg(options::OPT_foperator_arrow_depth_EQ)) {
3241 if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_depth_EQ)) {
3246 if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_steps_EQ)) {
3251 if (Arg *A = Args.getLastArg(options::OPT_fbracket_depth_EQ)) {
3256 if (Arg *A = Args.getLastArg(options::OPT_Wlarge_by_value_copy_EQ,
3269 if (Arg *A = Args.getLastArg(options::OPT_fconstant_string_class_EQ)) {
3274 if (Arg *A = Args.getLastArg(options::OPT_ftabstop_EQ)) {
3280 if (Arg *A = Args.getLastArg(options::OPT_ferror_limit_EQ))
3285 if (Arg *A = Args.getLastArg(options::OPT_fmacro_backtrace_limit_EQ)) {
3290 if (Arg *A = Args.getLastArg(options::OPT_ftemplate_backtrace_limit_EQ)) {
3295 if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_backtrace_limit_EQ)) {
3302 if (Arg *A = Args.getLastArg(options::OPT_fmessage_length_EQ)) {
3312 if (const Arg *A = Args.getLastArg(options::OPT_fvisibility_EQ,
3361 if (const Arg *A = Args.getLastArg(options::OPT_faltivec))
3385 if (Arg *A = Args.getLastArg(options::OPT_ftrapv_handler_EQ)) {
3394 if (Arg *A = Args.getLastArg(options::OPT_fwrapv,
3398 } else if (Arg *A = Args.getLastArg(options::OPT_fstrict_overflow,
3404 if (Arg *A = Args.getLastArg(options::OPT_freroll_loops,
3418 if (Arg *A = Args.getLastArg(options::OPT_fno_stack_protector,
3469 if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access,
3493 if (Arg *A = Args.getLastArg(options::OPT_mrestrict_it,
3511 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls,
3522 if (Arg *A = Args.getLastArg(options::OPT_fprofile_sample_use_EQ)) {
3530 if (Arg *A = Args.getLastArg(options::OPT_Rpass_EQ))
3533 if (Arg *A = Args.getLastArg(options::OPT_Rpass_missed_EQ))
3536 if (Arg *A = Args.getLastArg(options::OPT_Rpass_analysis_EQ))
3606 if (Arg *A = Args.getLastArg(options::OPT_fmodule_name))
3611 if (Arg *A = Args.getLastArg(options::OPT_fmodule_map_file))
3616 if (Arg *A = Args.getLastArg(options::OPT_fmodules_cache_path))
3632 const char Arg[] = "-fmodules-cache-path=";
3633 ModuleCachePath.insert(ModuleCachePath.begin(), Arg, Arg + strlen(Arg));
3647 if (Arg *A = Args.getLastArg(options::OPT_fmodules_user_build_path))
3759 if (Arg *A = Args.getLastArg(options::OPT_fgnu_keywords,
3840 const Arg *GCArg = Args.getLastArg(options::OPT_fobjc_gc_only);
3879 if (Arg *A = Args.getLastArg(options::OPT_fshort_wchar,
3891 if (Arg *A = Args.getLastArg(options::OPT_fpack_struct_EQ)) {
3924 if (Arg *inputCharset = Args.getLastArg(
3946 if (const Arg *A =
3952 if (const Arg *A =
3958 if (Arg *A = Args.getLastArg(
3973 for (const auto &Arg : Args) {
3974 const Option &O = Arg->getOption();
3982 Arg->claim();
3991 StringRef value(Arg->getValue());
4052 if (Arg *A = Args.getLastArg(options::OPT_fshow_overloads_EQ))
4057 if (Arg *A = Args.getLastArg(options::OPT_fdollars_in_identifiers,
4067 if (Arg *A = Args.getLastArg(options::OPT_funit_at_a_time,
4108 if (Arg *A = Args.getLastArg(options::OPT_traditional,
4120 if (Arg *A = Args.getLastArg(options::OPT__serialize_diags)) {
4174 for (const auto &Arg : Args)
4175 Arg->render(Args, OriginalArgs);
4217 if (Arg *A = Args.getLastArg(options::OPT_pg))
4245 Arg *runtimeArg = args.getLastArg(options::OPT_fnext_runtime,
4271 if (Arg *abiArg = args.getLastArg(options::OPT_fobjc_abi_version_EQ)) {
4298 if (Arg *abiArg = args.getLastArg(
4410 if (Arg *A = Args.getLastArg(options::OPT__SLASH_M_Group))
4447 if (Arg *A = Args.getLastArg(options::OPT_show_includes))
4469 Arg *MostGeneralArg = Args.getLastArg(options::OPT__SLASH_vmg);
4470 Arg *BestCaseArg = Args.getLastArg(options::OPT__SLASH_vmb);
4476 Arg *SingleArg = Args.getLastArg(options::OPT__SLASH_vms);
4477 Arg *MultipleArg = Args.getLastArg(options::OPT__SLASH_vmm);
4478 Arg *VirtualArg = Args.getLastArg(options::OPT__SLASH_vmv);
4480 Arg *FirstConflict = SingleArg ? SingleArg : MultipleArg;
4481 Arg *SecondConflict = VirtualArg ? VirtualArg : MultipleArg;
4495 if (Arg *A = Args.getLastArg(options::OPT_vtordisp_mode_EQ))
4576 if (Arg *A = Args.getLastArg(options::OPT_g_Group))
4600 for (const auto &Arg : Args)
4601 Arg->render(Args, OriginalArgs);
4748 const Arg &A = II.getInputArg();
5041 if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
5149 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
5193 Arg *A = Args.getLastArg(options::OPT_mabi_EQ);
5198 if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ))
5279 if (Arg *OutputOpt = Args.getLastArg(options::OPT_o)) {
5392 if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) {
5438 Arg *A;
5451 Arg *A;
5497 if (const Arg *A = Args.getLastArg(options::OPT_fpie, options::OPT_fPIE,
5530 } else if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) {
5579 for (const auto &Arg : Args)
5580 Arg->claim();
5618 } else if (const Arg *A = Args.getLastArg(options::OPT_fopenmp_EQ)) {
6894 Arg *A;
6921 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) {
6933 if (Arg *A = Args.getLastArg(options::OPT_mmsa, options::OPT_mno_msa)) {
7273 } else if (const Arg *A = Args.getLastArg(options::OPT_fopenmp_EQ)) {
7709 if (Arg *A = Args.getLastArg(options::OPT_O, options::OPT_O0)) {
7727 if (Arg *A = Args.getLastArg(options::OPT_ffunction_sections,
7732 if (Arg *A = Args.getLastArg(options::OPT_fdata_sections,
7751 if (Arg *A = Args.getLastArg(options::OPT__SLASH_MD, options::OPT__SLASH_MDd,
7796 if (Arg *A = Args.getLastArg(options::OPT_g_Group))