Lines Matching refs:getLastArg
88 if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC)) { in CheckPreprocessingOptions()
104 Args.getLastArg(options::OPT_dynamic, options::OPT_mdynamic_no_pic)) in CheckCodeGenerationOptions()
287 if ((A = Args.getLastArg(options::OPT_M, options::OPT_MM)) || in AddPreprocessingOptions()
288 (A = Args.getLastArg(options::OPT_MD)) || in AddPreprocessingOptions()
289 (A = Args.getLastArg(options::OPT_MMD))) { in AddPreprocessingOptions()
292 if (Arg *MF = Args.getLastArg(options::OPT_MF)) { in AddPreprocessingOptions()
313 Arg *OutputOpt = Args.getLastArg(options::OPT_o); in AddPreprocessingOptions()
442 if (Arg *A = Args.getLastArg(options::OPT_I_)) in AddPreprocessingOptions()
552 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in getARMArchCPUFromArgs()
554 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getARMArchCPUFromArgs()
647 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getARMFloatABI()
787 const Arg *ArchArg = Args.getLastArg(options::OPT_march_EQ); in getARMTargetFeatures()
803 const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ); in getARMTargetFeatures()
826 const Arg *FPUArg = Args.getLastArg(options::OPT_mfpu_EQ); in getARMTargetFeatures()
838 const Arg *HDivArg = Args.getLastArg(options::OPT_mhwdiv_EQ); in getARMTargetFeatures()
857 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getARMTargetFeatures()
871 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getARMTargetFeatures()
883 else if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access, in getARMTargetFeatures()
934 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in AddARMTargetArgs()
990 if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge, in AddARMTargetArgs()
1011 if ((A = Args.getLastArg(options::OPT_mtune_EQ))) { in getAArch64TargetCPU()
1013 } else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU()
1026 if (Args.getLastArg(options::OPT_arch)) in getAArch64TargetCPU()
1047 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) in AddAArch64TargetArgs()
1057 if (Arg *A = Args.getLastArg(options::OPT_mfix_cortex_a53_835769, in AddAArch64TargetArgs()
1071 if (Arg *A = Args.getLastArg(options::OPT_mglobal_merge, in AddAArch64TargetArgs()
1104 if (Arg *A = Args.getLastArg(options::OPT_march_EQ, options::OPT_mcpu_EQ)) in getMipsCPUAndABI()
1107 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getMipsCPUAndABI()
1176 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getMipsFloatABI()
1210 if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) { in AddTargetFeature()
1237 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) { in getMIPSTargetFeatures()
1273 if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx, in getMIPSTargetFeatures()
1315 if (Arg *A = Args.getLastArg(options::OPT_mxgot, options::OPT_mno_xgot)) { in AddMIPSTargetArgs()
1322 if (Arg *A = Args.getLastArg(options::OPT_mldc1_sdc1, in AddMIPSTargetArgs()
1330 if (Arg *A = Args.getLastArg(options::OPT_mcheck_zero_division, in AddMIPSTargetArgs()
1338 if (Arg *A = Args.getLastArg(options::OPT_G)) { in AddMIPSTargetArgs()
1348 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getPPCTargetCPU()
1446 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getPPCFloatABI()
1483 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in AddPPCTargetArgs()
1501 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) in AddPPCTargetArgs()
1530 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasPPCAbiArg()
1536 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getR600TargetGPU()
1558 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float)) { in AddSparcTargetArgs()
1575 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getSystemZTargetCPU()
1583 if (Arg *A = Args.getLastArg(options::OPT_mhtm, options::OPT_mno_htm)) { in getSystemZTargetFeatures()
1590 if (Arg *A = Args.getLastArg(options::OPT_mvx, options::OPT_mno_vx)) { in getSystemZTargetFeatures()
1600 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in getX86TargetCPU()
1618 if (const Arg *A = Args.getLastArg(options::OPT__SLASH_arch)) { in getX86TargetCPU()
1685 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getWebAssemblyTargetCPU()
1731 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getCPUName()
1756 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in getCPUName()
1799 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in AddGoldPlugin()
1855 Arg *A = Args.getLastArg(options::OPT_mrecip, options::OPT_mrecip_EQ); in ParseMRecip()
1951 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in getX86TargetFeatures()
1983 if (Arg *A = Args.getLastArg(options::OPT__SLASH_arch)) { in getX86TargetFeatures()
2035 if (Arg *A = Args.getLastArg( in AddX86TargetArgs()
2045 if (Arg *A = Args.getLastArg(options::OPT_masm_EQ)) { in AddX86TargetArgs()
2071 if (Args.getLastArg(options::OPT_mieee_rnd_near)) { in AddHexagonTargetArgs()
2202 if ((A = Args.getLastArg(options::OPT_march_EQ))) in getAArch64TargetFeatures()
2204 else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
2210 if (success && (A = Args.getLastArg(options::OPT_mtune_EQ))) in getAArch64TargetFeatures()
2213 else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
2223 if (Args.getLastArg(options::OPT_mgeneral_regs_only)) { in getAArch64TargetFeatures()
2230 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getAArch64TargetFeatures()
2237 if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access, in getAArch64TargetFeatures()
2416 Arg *ExceptionArg = Args.getLastArg( in addExceptionArgs()
2486 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) in UseRelaxAll()
2712 const Arg *A = Args.getLastArg(options::OPT_fopenmp_EQ); in getOpenMPRuntime()
2870 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) in areOptimizationsEnabled()
2925 if (Arg *A = Args.getLastArg(options::OPT_fno_omit_frame_pointer, in shouldUseFramePointer()
2936 if (Arg *A = Args.getLastArg(options::OPT_mno_omit_leaf_frame_pointer, in shouldUseLeafFramePointer()
2958 Arg *FinalOutput = Args.getLastArg(options::OPT_o); in SplitDebugName()
3001 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldEnableVectorizerAtOLevel()
3109 const Arg *MSCVersion = Args.getLastArg(options::OPT_fmsc_version); in getMSVCVersion()
3111 Args.getLastArg(options::OPT_fms_compatibility_version); in getMSVCVersion()
3151 auto *ProfileGenerateArg = Args.getLastArg( in addPGOAndCoverageFlags()
3161 auto *ProfileUseArg = Args.getLastArg( in addPGOAndCoverageFlags()
3227 if (Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o)) { in addPGOAndCoverageFlags()
3332 Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC, in ParsePICArgs()
3351 Arg *ModelArg = Args.getLastArg(options::OPT_mcmodel_EQ); in ParsePICArgs()
3375 if (Arg *A = Args.getLastArg(options::OPT_mdynamic_no_pic)) { in ParsePICArgs()
3567 if (const Arg *A = Args.getLastArg(options::OPT_fthinlto_index_EQ)) { in ConstructJob()
3637 if (Arg *A = Args.getLastArg(options::OPT__analyzer_output)) in ConstructJob()
3673 if (Arg *A = Args.getLastArg(options::OPT_meabi)) { in ConstructJob()
3679 if (Arg *A = Args.getLastArg(options::OPT_mthread_model)) in ConstructJob()
3702 if (Arg *A = Args.getLastArg(options::OPT_Wframe_larger_than_EQ)) { in ConstructJob()
3709 if (Arg *A = Args.getLastArg(options::OPT_mregparm_EQ)) { in ConstructJob()
3714 if (Arg *A = Args.getLastArg(options::OPT_fpcc_struct_return, in ConstructJob()
3775 if (Arg *A = Args.getLastArg( in ConstructJob()
3784 if (Arg *A = Args.getLastArg( in ConstructJob()
3797 Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption, in ConstructJob()
3818 if (Arg *A = Args.getLastArg( in ConstructJob()
3828 if (Arg *A = Args.getLastArg( in ConstructJob()
3838 if (Arg *A = Args.getLastArg( in ConstructJob()
3848 if (Arg *A = Args.getLastArg( in ConstructJob()
3868 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption, in ConstructJob()
3893 if (Arg *A = Args.getLastArg(options::OPT_ffast_math, FastMathAliasOption, in ConstructJob()
3897 if (Arg *A = Args.getLastArg(options::OPT_ffinite_math_only, in ConstructJob()
3954 if (Arg *A = Args.getLastArg(options::OPT_flimited_precision_EQ)) { in ConstructJob()
3962 if (Arg *A = Args.getLastArg(options::OPT_mcmodel_EQ)) { in ConstructJob()
3974 if (const Arg *A = Args.getLastArg(options::OPT_mfpmath_EQ)) { in ConstructJob()
4050 if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) { in ConstructJob()
4065 if ((Unsupported = Args.getLastArg(options::OPT_fapple_kext)) || in ConstructJob()
4066 (Unsupported = Args.getLastArg(options::OPT_mkernel))) in ConstructJob()
4089 Arg *SplitDwarfArg = Args.getLastArg(options::OPT_gsplit_dwarf); in ConstructJob()
4090 if (Arg *A = Args.getLastArg(options::OPT_g_Group)) { in ConstructJob()
4106 if (Arg *A = Args.getLastArg(options::OPT_gTune_Group, in ConstructJob()
4117 if (Arg *A = Args.getLastArg(options::OPT_gdwarf_2, options::OPT_gdwarf_3, in ConstructJob()
4232 if (const Arg *A = Args.getLastArg(options::OPT_ccc_arcmt_check, in ConstructJob()
4261 if (const Arg *A = Args.getLastArg(options::OPT_ccc_objcmt_migrate)) { in ConstructJob()
4315 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in ConstructJob()
4346 if (Arg *Std = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi)) { in ConstructJob()
4356 if (Arg *A = Args.getLastArg(options::OPT_std_EQ, options::OPT_ansi, in ConstructJob()
4391 Args.getLastArg(options::OPT_Wwrite_strings, in ConstructJob()
4408 if (Arg *Asm = Args.getLastArg(options::OPT_fasm, options::OPT_fno_asm)) { in ConstructJob()
4433 if (Arg *A = Args.getLastArg(options::OPT_ftemplate_depth_, in ConstructJob()
4439 if (Arg *A = Args.getLastArg(options::OPT_foperator_arrow_depth_EQ)) { in ConstructJob()
4444 if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_depth_EQ)) { in ConstructJob()
4449 if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_steps_EQ)) { in ConstructJob()
4454 if (Arg *A = Args.getLastArg(options::OPT_fbracket_depth_EQ)) { in ConstructJob()
4459 if (Arg *A = Args.getLastArg(options::OPT_Wlarge_by_value_copy_EQ, in ConstructJob()
4471 if (Arg *A = Args.getLastArg(options::OPT_fconstant_string_class_EQ)) { in ConstructJob()
4476 if (Arg *A = Args.getLastArg(options::OPT_ftabstop_EQ)) { in ConstructJob()
4482 if (Arg *A = Args.getLastArg(options::OPT_ferror_limit_EQ)) in ConstructJob()
4487 if (Arg *A = Args.getLastArg(options::OPT_fmacro_backtrace_limit_EQ)) { in ConstructJob()
4492 if (Arg *A = Args.getLastArg(options::OPT_ftemplate_backtrace_limit_EQ)) { in ConstructJob()
4497 if (Arg *A = Args.getLastArg(options::OPT_fconstexpr_backtrace_limit_EQ)) { in ConstructJob()
4502 if (Arg *A = Args.getLastArg(options::OPT_fspell_checking_limit_EQ)) { in ConstructJob()
4509 if (Arg *A = Args.getLastArg(options::OPT_fmessage_length_EQ)) { in ConstructJob()
4519 if (const Arg *A = Args.getLastArg(options::OPT_fvisibility_EQ, in ConstructJob()
4590 if (const Arg *A = Args.getLastArg(options::OPT_faltivec)) { in ConstructJob()
4599 if (Arg *A = Args.getLastArg(options::OPT_fzvector)) in ConstructJob()
4612 if (Args.getLastArg(options::OPT_fapple_kext) || in ConstructJob()
4622 if (Arg *A = Args.getLastArg(options::OPT_ftrapv_handler_EQ)) { in ConstructJob()
4631 if (Arg *A = Args.getLastArg(options::OPT_fwrapv, options::OPT_fno_wrapv)) { in ConstructJob()
4634 } else if (Arg *A = Args.getLastArg(options::OPT_fstrict_overflow, in ConstructJob()
4640 if (Arg *A = Args.getLastArg(options::OPT_freroll_loops, in ConstructJob()
4658 } else if (Arg *A = Args.getLastArg(options::OPT_fno_stack_protector, in ConstructJob()
4725 if (Arg *A = Args.getLastArg(options::OPT_mrestrict_it, in ConstructJob()
4744 if (Arg *A = Args.getLastArg(options::OPT_fprofile_sample_use_EQ)) { in ConstructJob()
4831 if (Arg *A = Args.getLastArg(options::OPT_fmodules_cache_path)) in ConstructJob()
4875 if (Arg *A = Args.getLastArg(options::OPT_fbuild_session_file)) { in ConstructJob()
4888 if (Args.getLastArg(options::OPT_fmodules_validate_once_per_build_session)) { in ConstructJob()
4889 if (!Args.getLastArg(options::OPT_fbuild_session_timestamp, in ConstructJob()
4922 if (Arg *A = Args.getLastArg( in ConstructJob()
5006 if (Arg *A = Args.getLastArg(options::OPT_fgnu_keywords, in ConstructJob()
5087 const Arg *GCArg = Args.getLastArg(options::OPT_fobjc_gc_only); in ConstructJob()
5089 GCArg = Args.getLastArg(options::OPT_fobjc_gc); in ConstructJob()
5103 auto WeakArg = Args.getLastArg(options::OPT_fobjc_weak, in ConstructJob()
5151 if (Arg *A = Args.getLastArg(options::OPT_fshort_wchar, in ConstructJob()
5162 if (Arg *A = Args.getLastArg(options::OPT_fpack_struct_EQ)) { in ConstructJob()
5173 if (Arg *A = Args.getLastArg(options::OPT_fmax_type_align_EQ)) { in ConstructJob()
5198 << Args.getLastArg(options::OPT_funsigned_bitfields)->getAsString(Args); in ConstructJob()
5203 << Args.getLastArg(options::OPT_fno_for_scope)->getAsString(Args); in ConstructJob()
5206 if (Arg *inputCharset = Args.getLastArg(options::OPT_finput_charset_EQ)) { in ConstructJob()
5214 if (Arg *execCharset = Args.getLastArg(options::OPT_fexec_charset_EQ)) { in ConstructJob()
5237 Args.getLastArg(options::OPT_fdiagnostics_show_category_EQ)) { in ConstructJob()
5242 if (const Arg *A = Args.getLastArg(options::OPT_fdiagnostics_format_EQ)) { in ConstructJob()
5247 if (Arg *A = Args.getLastArg( in ConstructJob()
5344 if (Arg *A = Args.getLastArg(options::OPT_fshow_overloads_EQ)) in ConstructJob()
5349 if (Arg *A = Args.getLastArg(options::OPT_fdollars_in_identifiers, in ConstructJob()
5359 if (Arg *A = Args.getLastArg(options::OPT_funit_at_a_time, in ConstructJob()
5400 if (Arg *A = Args.getLastArg(options::OPT_traditional, in ConstructJob()
5412 if (Arg *A = Args.getLastArg(options::OPT__serialize_diags)) { in ConstructJob()
5529 if (Arg *A = Args.getLastArg(options::OPT_pg)) in ConstructJob()
5558 args.getLastArg(options::OPT_fnext_runtime, options::OPT_fgnu_runtime, in AddObjCRuntimeArgs()
5583 if (Arg *abiArg = args.getLastArg(options::OPT_fobjc_abi_version_EQ)) { in AddObjCRuntimeArgs()
5610 args.getLastArg(options::OPT_fobjc_nonfragile_abi_version_EQ)) { in AddObjCRuntimeArgs()
5735 if (Arg *A = Args.getLastArg(options::OPT__SLASH_M_Group)) in AddClangCLArgs()
5782 if (Arg *A = Args.getLastArg(options::OPT_show_includes)) in AddClangCLArgs()
5821 if (Arg *A = Args.getLastArg(options::OPT__SLASH_volatile_Group)) in AddClangCLArgs()
5827 Arg *MostGeneralArg = Args.getLastArg(options::OPT__SLASH_vmg); in AddClangCLArgs()
5828 Arg *BestCaseArg = Args.getLastArg(options::OPT__SLASH_vmb); in AddClangCLArgs()
5834 Arg *SingleArg = Args.getLastArg(options::OPT__SLASH_vms); in AddClangCLArgs()
5835 Arg *MultipleArg = Args.getLastArg(options::OPT__SLASH_vmm); in AddClangCLArgs()
5836 Arg *VirtualArg = Args.getLastArg(options::OPT__SLASH_vmv); in AddClangCLArgs()
5853 if (Arg *A = Args.getLastArg(options::OPT_vtordisp_mode_EQ)) in AddClangCLArgs()
5951 if (Arg *A = Args.getLastArg(options::OPT_g_Group)) { in ConstructJob()
6641 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasMipsAbiArg()
6646 Arg *A = Args.getLastArg(options::OPT_m_libc_Group); in isUCLibc()
6651 if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ)) in isNaN2008()
6692 if (Arg *A = Args.getLastArg(options::OPT_msingle_float, in shouldUseFPXX()
6767 if (Arg *OutputOpt = Args.getLastArg(options::OPT_o)) { in getDependencyFileName()
6939 if (Arg *A = Args.getLastArg(options::OPT_mlinker_version_EQ)) { in AddLinkArgs()
7010 if ((A = Args.getLastArg(options::OPT_compatibility__version)) || in AddLinkArgs()
7011 (A = Args.getLastArg(options::OPT_current__version)) || in AddLinkArgs()
7012 (A = Args.getLastArg(options::OPT_install__name))) in AddLinkArgs()
7023 if ((A = Args.getLastArg(options::OPT_bundle)) || in AddLinkArgs()
7024 (A = Args.getLastArg(options::OPT_bundle__loader)) || in AddLinkArgs()
7025 (A = Args.getLastArg(options::OPT_client__name)) || in AddLinkArgs()
7026 (A = Args.getLastArg(options::OPT_force__flat__namespace)) || in AddLinkArgs()
7027 (A = Args.getLastArg(options::OPT_keep__private__externs)) || in AddLinkArgs()
7028 (A = Args.getLastArg(options::OPT_private__bundle))) in AddLinkArgs()
7069 Args.getLastArg(options::OPT_fpie, options::OPT_fPIE, in AddLinkArgs()
7101 } else if (const Arg *A = Args.getLastArg(options::OPT_isysroot)) { in AddLinkArgs()
7257 if (Arg *A = Args.getLastArg(options::OPT_fveclib)) { in ConstructJob()
8412 if ((A = Args.getLastArg(options::OPT_mcpu_EQ)) && in ConstructJob()
8450 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) { in ConstructJob()
8456 if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx, in ConstructJob()
8468 Args.getLastArg(options::OPT_mips16, options::OPT_mno_mips16)) { in ConstructJob()
8483 if (Arg *A = Args.getLastArg(options::OPT_mmsa, options::OPT_mno_msa)) { in ConstructJob()
9541 if (Arg *A = Args.getLastArg(options::OPT_fbuiltin, options::OPT_fno_builtin)) in GetCommand()
9544 if (Arg *A = Args.getLastArg(options::OPT_O, options::OPT_O0)) { in GetCommand()
9559 if (Arg *A = Args.getLastArg(options::OPT_fomit_frame_pointer, in GetCommand()
9573 if (Arg *A = Args.getLastArg(options::OPT_ffunction_sections, in GetCommand()
9578 if (Arg *A = Args.getLastArg(options::OPT_fdata_sections, in GetCommand()
9600 if (Arg *A = Args.getLastArg(options::OPT__SLASH_MD, options::OPT__SLASH_MDd, in GetCommand()
9867 if (Arg *A = Args.getLastArg(options::OPT_g_Group)) in ConstructJob()
10138 if (Args.getLastArg(options::OPT_MF) && !Args.getLastArg(options::OPT_MT) && in ConstructJob()
10141 Arg *A = Args.getLastArg(options::OPT_o); in ConstructJob()
10544 if (const Arg *A = Args.getLastArg(options::OPT_fuse_ld_EQ)) { in ConstructJob()