Home
last modified time | relevance | path

Searched refs:getLastArg (Results 1 – 25 of 70) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.cpp370 Arg *ExceptionArg = Args.getLastArg( in addExceptionArgs()
595 auto *ProfileGenerateArg = Args.getLastArg( in addPGOAndCoverageFlags()
1007 ArgM = Args.getLastArg(options::OPT_M); in AddPreprocessingOptions()
1601 if (Args.getLastArg(options::OPT_mcmse)) in AddARMTargetArgs()
2216 if (Arg *A = Args.getLastArg( in AddX86TargetArgs()
3919 if (Args.getLastArg( in RenderModulesOptions()
4053 auto *Arg = Args.getLastArg( in RenderObjCOptions()
4150 if (const Arg *A = Args.getLastArg( in RenderDiagnosticsOptions()
5907 if (Args.getLastArg(options::OPT_H)) { in ConstructJob()
6741 auto *PGOArg = Args.getLastArg( in ConstructJob()
[all …]
H A DFlang.cpp86 const Arg *LoopVersioningArg = Args.getLastArg( in shouldLoopVersion()
127 Arg *gNArg = Args.getLastArg(options::OPT_gN_Group); in addOtherOptions()
140 Args.getLastArg(options::OPT_Ofast, options::OPT_fstack_arrays, in addCodegenOptions()
180 if (Arg *A = Args.getLastArg(options::OPT_msve_vector_bits_EQ)) { in AddAArch64TargetArgs()
213 if (Arg *A = Args.getLastArg(options::OPT_mrvv_vector_bits_EQ)) { in AddRISCVTargetArgs()
380 if (Arg *A = Args.getLastArg(options::OPT_fveclib)) { in addTargetOptions()
495 if (const Arg *A = Args.getLastArg(options::OPT_ffp_contract)) { in addFloatingPointOptions()
629 if (Arg *FinalOutput = Args.getLastArg(options::OPT_o)) in renderRemarksOptions()
713 Args.getLastArg(options::OPT_fcolor_diagnostics, in ConstructJob()
796 if (const Arg *A = Args.getLastArg(options::OPT_O_Group)) { in ConstructJob()
[all …]
H A DCommonArgs.cpp467 if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) { in AddTargetFeature()
478 Arg *MArch = Args.getLastArg(options::OPT_march_EQ); in getAMDGPUTargetGPU()
479 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getAMDGPUTargetGPU()
497 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getLanaiTargetCPU()
506 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getWebAssemblyTargetCPU()
844 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in addLTOOptions()
923 Arg *A = Args.getLastArg(options::OPT_g_Group); in addLTOOptions()
1632 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) in areOptimizationsEnabled()
1721 auto *ProfileUseArg = Args.getLastArg( in getLastProfileUseArg()
1734 auto *ProfileSampleUseArg = Args.getLastArg( in getLastProfileSampleUseArg()
[all …]
H A DHexagon.cpp39 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXWarnings()
87 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx, in handleHVXTargetFeatures()
96 } else if (Arg *A = Args.getLastArg(options::OPT_mno_hexagon_hvx)) { in handleHVXTargetFeatures()
131 Arg *A = Args.getLastArg(FlagOn, FlagOff); in handleHVXTargetFeatures()
170 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getHexagonTargetFeatures()
229 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_ieee_fp, in ConstructJob()
533 if (Arg *A = Args.getLastArg(options::OPT_G)) { in getSmallDataThreshold()
650 Arg *A = DriverArgs.getLastArg(options::OPT_O_Group); in getOptimizationLevel()
764 Arg *A = Args.getLastArg(options::OPT_stdlib_EQ); in GetCXXStdlibType()
784 if (Arg *A = Args.getLastArg(options::OPT_fvectorize, in isAutoHVXEnabled()
[all …]
H A DMSP430.cpp46 HWMult = getSupportedHWMult(Args.getLastArg(options::OPT_mmcu_EQ)); in getHWMultLib()
58 const Arg *MCU = Args.getLastArg(options::OPT_mmcu_EQ); in getMSP430TargetFeatures()
64 const Arg *HWMultArg = Args.getLastArg(options::OPT_mhwmult_EQ); in getMSP430TargetFeatures()
164 const auto *MCUArg = DriverArgs.getLastArg(options::OPT_mmcu_EQ); in addClangTargetOptions()
229 Arg *SspFlag = Args.getLastArg( in AddSspArgs()
251 const Arg *MCUArg = Args.getLastArg(options::OPT_mmcu_EQ); in AddImplicitLinkerScript()
H A DDarwin.cpp204 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldLinkerNotDedup()
311 (A = Args.getLastArg(options::OPT_install__name))) in AddLinkArgs()
322 if ((A = Args.getLastArg(options::OPT_bundle)) || in AddLinkArgs()
324 (A = Args.getLastArg(options::OPT_client__name)) || in AddLinkArgs()
396 if (Arg *A = Args.getLastArg(options::OPT_fglobal_isel, in AddLinkArgs()
758 if (Arg *A = Args.getLastArg(options::OPT_fveclib)) { in ConstructJob()
1453 if (Arg* A = Args.getLastArg(options::OPT_rtlib_EQ)) { in GetRuntimeLibType()
1850 Args.getLastArg(options::OPT_mtvos_version_min_EQ, in getDeploymentTargetFromOSVersionArg()
1963 const Arg *A = Args.getLastArg(options::OPT_isysroot); in inferDeploymentTargetFromSDK()
2133 auto *A = Args.getLastArg(options::OPT_mtargetos_EQ); in getDeploymentTargetFromMTargetOSArg()
[all …]
H A DOHOS.cpp67 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in findOHOSMultilibs()
72 if (const Arg *A = Args.getLastArg(options::OPT_mfpu_EQ)) in findOHOSMultilibs()
176 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_rtlib_EQ)) { in GetRuntimeLibType()
188 if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) { in GetCXXStdlibType()
416 if (Args.getLastArg(options::OPT_unwindlib_EQ)) in GetUnwindLibType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DLoongArch.cpp31 const Arg *MABIArg = Args.getLastArg(options::OPT_mabi_EQ); in getLoongArchABI()
38 const Arg *MFPUArg = Args.getLastArg(options::OPT_mfpu_EQ); in getLoongArchABI()
53 if (const Arg *A = Args.getLastArg(options::OPT_mdouble_float, in getLoongArchABI()
131 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getLoongArchTargetFeatures()
139 if (const Arg *A = Args.getLastArg(options::OPT_mdouble_float, in getLoongArchTargetFeatures()
152 } else if (const Arg *A = Args.getLastArg(options::OPT_mfpu_EQ)) { in getLoongArchTargetFeatures()
180 if (const Arg *A = Args.getLastArg(options::OPT_mlsx, options::OPT_mno_lsx)) { in getLoongArchTargetFeatures()
195 Args.getLastArg(options::OPT_mlasx, options::OPT_mno_lasx)) { in getLoongArchTargetFeatures()
229 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getLoongArchTargetCPU()
H A DMips.cpp53 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ, in getMipsCPUAndABI()
57 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getMipsCPUAndABI()
261 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getMIPSTargetFeatures()
286 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) { in getMIPSTargetFeatures()
308 if (Arg *A = Args.getLastArg(options::OPT_mabs_EQ)) { in getMIPSTargetFeatures()
348 if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx, in getMIPSTargetFeatures()
377 if (Arg *A = Args.getLastArg(options::OPT_mindirect_jump_EQ)) { in getMIPSTargetFeatures()
433 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasMipsAbiArg()
438 Arg *A = Args.getLastArg(options::OPT_m_libc_Group); in isUCLibc()
444 if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ)) in isNaN2008()
[all …]
H A DSystemZ.cpp27 << Args.getLastArg(options::OPT_mfloat_abi_EQ)->getAsString(Args); in getSystemZFloatABI()
29 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_msoft_float, in getSystemZFloatABI()
38 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getSystemZTargetCPU()
57 if (Arg *A = Args.getLastArg(options::OPT_mhtm, options::OPT_mno_htm)) { in getSystemZTargetFeatures()
64 if (Arg *A = Args.getLastArg(options::OPT_mvx, options::OPT_mno_vx)) { in getSystemZTargetFeatures()
H A DAArch64.cpp36 if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU()
210 else if ((A = Args.getLastArg(options::OPT_march_EQ))) in getAArch64TargetFeatures()
213 else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
226 else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
244 if (Args.getLastArg(options::OPT_mgeneral_regs_only)) { in getAArch64TargetFeatures()
249 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getAArch64TargetFeatures()
260 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getAArch64TargetFeatures()
275 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getAArch64TargetFeatures()
321 if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access, in getAArch64TargetFeatures()
433 if (Arg *A = Args.getLastArg(options::OPT_mfix_cortex_a53_835769, in getAArch64TargetFeatures()
[all …]
H A DARM.cpp40 if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian, in isARMBigEndian()
60 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getARMArchCPUFromArgs()
198 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getReadTPMode()
228 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in setArchNameInTriple()
230 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in setArchNameInTriple()
242 if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian, in setArchNameInTriple()
559 const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ); in getARMTargetFeatures()
613 (void)Args.getLastArg(options::OPT_mtune_EQ); in getARMTargetFeatures()
807 if (Args.getLastArg(options::OPT_mcmse)) in getARMTargetFeatures()
812 if (!Args.getLastArg(options::OPT_mcmse)) in getARMTargetFeatures()
[all …]
H A DSparc.cpp81 if (Arg *A = Args.getLastArg(options::OPT_msoft_float, options::OPT_mno_fpu, in getSparcFloatABI()
117 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getSparcTargetCPU()
139 if (Arg *A = Args.getLastArg(options::OPT_mfsmuld, options::OPT_mno_fsmuld)) { in getSparcTargetFeatures()
146 if (Arg *A = Args.getLastArg(options::OPT_mpopc, options::OPT_mno_popc)) { in getSparcTargetFeatures()
153 if (Arg *A = Args.getLastArg(options::OPT_mvis, options::OPT_mno_vis)) { in getSparcTargetFeatures()
160 if (Arg *A = Args.getLastArg(options::OPT_mvis2, options::OPT_mno_vis2)) { in getSparcTargetFeatures()
167 if (Arg *A = Args.getLastArg(options::OPT_mvis3, options::OPT_mno_vis3)) { in getSparcTargetFeatures()
174 if (Arg *A = Args.getLastArg(options::OPT_mhard_quad_float, in getSparcTargetFeatures()
H A DPPC.cpp82 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mtune_EQ)) in getPPCTuneCPU()
90 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) in getPPCTargetCPU()
129 if (Args.getLastArg(options::OPT_msecure_plt)) in getPPCReadGOTPtrMode()
140 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getPPCFloatABI()
167 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasPPCAbiArg()
H A DCSKY.cpp30 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in getCSKYArchName()
40 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getCSKYArchName()
55 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getCSKYFloatABI()
124 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in getCSKYTargetFeatures()
133 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getCSKYTargetFeatures()
167 if (const Arg *FPUArg = Args.getLastArg(options::OPT_mfpu_EQ)) in getCSKYTargetFeatures()
H A DRISCV.cpp85 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getRISCVTargetFeatures()
205 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) in getRISCVABI()
273 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getRISCVArch()
277 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getRISCVArch()
293 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getRISCVArch()
334 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in getRISCVTargetCPU()
H A DX86.cpp26 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getX86TargetCPU()
38 if (const Arg *A = Args.getLastArg(options::OPT__SLASH_arch)) { in getX86TargetCPU()
124 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mabi_EQ)) { in getX86TargetFeatures()
132 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getX86TargetFeatures()
292 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getX86TargetFeatures()
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DDriver.cpp83 auto *arg = args.getLastArg(id); in getOldNewOptions()
585 if (auto *A = Args.getLastArg(OPT_vctoolsdir)) in detectWinSysRoot()
589 if (auto *A = Args.getLastArg(OPT_winsysroot)) in detectWinSysRoot()
897 auto *arg = args.getLastArg(os, osFile); in getMapFile()
1588 if (auto *arg = args.getLastArg(OPT_out)) in linkerMain()
1684 if (auto *arg = args.getLastArg(OPT_pdb)) in linkerMain()
1772 if (auto *arg = args.getLastArg(OPT_base)) in linkerMain()
1783 if (auto *arg = args.getLastArg(OPT_stack)) in linkerMain()
1787 if (auto *arg = args.getLastArg(OPT_guard)) in linkerMain()
1791 if (auto *arg = args.getLastArg(OPT_heap)) in linkerMain()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp395 auto *Arg = Args.getLastArg(Opt); in normalizeSimpleEnum()
436 auto *Arg = Args.getLastArg(Opt); in normalizeString()
446 auto *Arg = Args.getLastArg(Opt); in normalizeStringIntegral()
499 auto *Arg = Args.getLastArg(Opt); in normalizeTriple()
642 if (Args.getLastArg(OPT_cl_strict_aliasing) && in FixupInvocation()
1854 if (Arg *A = Args.getLastArg(OPT_flto_EQ)) { in ParseCodeGenArgs()
1871 if (Arg *A = Args.getLastArg(OPT_save_temps_EQ)) in ParseCodeGenArgs()
2894 if (const Arg *A = Args.getLastArg(OPT_x)) { in ParseFrontendArgs()
3900 if (Arg *A = Args.getLastArg(OPT_mrtd)) { in ParseLangArgs()
4058 if (Arg *InlineArg = Args.getLastArg( in ParseLangArgs()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DXRayArgs.cpp33 XRayInstrument = Args.getLastArg(options::OPT_fxray_instrument); in XRayArgs()
68 if (Arg *A = Args.getLastArg(options::OPT_fpatchable_function_entry_EQ)) in XRayArgs()
181 Args.getLastArg(options::OPT_fxray_instruction_threshold_EQ)) { in addArgs()
192 if (const Arg *A = Args.getLastArg(options::OPT_fxray_function_groups)) { in addArgs()
200 Args.getLastArg(options::OPT_fxray_selected_function_group)) { in addArgs()
H A DDriver.cpp535 if (Arg *A = Args.getLastArg(options::OPT_arch)) { in computeTargetTriple()
647 if ((A = Args.getLastArg(options::OPT_mabi_EQ))) { in computeTargetTriple()
697 const Arg *A = Args.getLastArg(OptEq); in parseLTOMode()
1400 if (Arg *A = Args.getLastArg(options::OPT_MJ)) in BuildCompilation()
1407 const Arg *Std = Args.getLastArg(options::OPT_std_EQ); in BuildCompilation()
2471 Arg *A = Args.getLastArg(options::OPT_g_Group); in BuildUniversalActions()
2636 if (auto *A = Args.getLastArg(options::OPT_x)) in BuildInputs()
3137 EmitAsm = Args.getLastArg(options::OPT_S); in initialize()
4029 Args.getLastArg(options::OPT_E) || in handleArguments()
4329 if (Arg *A = Args.getLastArg(Opt)) { in BuildActions()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/tools/driver/
H A DDriver.cpp209 if (auto *arg = args.getLastArg(OPT_core)) { in ProcessArgs()
235 if (auto *arg = args.getLastArg(OPT_file)) { in ProcessArgs()
252 if (auto *arg = args.getLastArg(OPT_arch)) { in ProcessArgs()
261 if (auto *arg = args.getLastArg(OPT_script_language)) { in ProcessArgs()
270 if (auto *arg = args.getLastArg(OPT_attach_name)) { in ProcessArgs()
279 if (auto *arg = args.getLastArg(OPT_attach_pid)) { in ProcessArgs()
290 if (auto *arg = args.getLastArg(OPT_repl_language)) { in ProcessArgs()
306 if (auto *arg = args.getLastArg(OPT_repl_)) { in ProcessArgs()
/freebsd-14.2/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp235 if (Arg *A = Args.getLastArg(options::OPT_darwin_target_variant_triple)) in CreateFromArgs()
237 if (Arg *A = Args.getLastArg(OPT_darwin_target_variant_sdk_version_EQ)) { in CreateFromArgs()
260 if (const Arg *A = Args.getLastArg(OPT_compress_debug_sections_EQ)) { in CreateFromArgs()
270 if (auto *DwarfFormatArg = Args.getLastArg(OPT_gdwarf64, OPT_gdwarf32)) in CreateFromArgs()
277 if (const Arg *A = Args.getLastArg(options::OPT_ffile_compilation_dir_EQ, in CreateFromArgs()
304 if (Arg *A = Args.getLastArg(OPT_filetype)) { in CreateFromArgs()
341 if (auto *A = Args.getLastArg(OPT_fembed_bitcode_EQ)) { in CreateFromArgs()
349 if (auto *A = Args.getLastArg(OPT_femit_dwarf_unwind_EQ)) { in CreateFromArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp145 openFile(Args.getLastArg(OPT_d)->getValue()); in dlltoolDriverMain()
160 if (auto *Arg = Args.getLastArg(OPT_m)) in dlltoolDriverMain()
179 if (auto *Arg = Args.getLastArg(OPT_D)) in dlltoolDriverMain()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp403 if (const opt::Arg *A = Args.getLastArg(ID)) { in parseIntArg()
419 if (const opt::Arg *A = Args.getLastArg(OPT_functions_EQ)) in decideHowToPrintFunctions()
430 if (const opt::Arg *A = Args.getLastArg(OPT_color_EQ)) in parseColorArg()
439 const opt::Arg *A = Args.getLastArg(ID); in parseBuildIDArg()
477 if (const opt::Arg *A = Args.getLastArg(OPT_basenames, OPT_relativenames)) { in llvm_symbolizer_main()
533 if (const opt::Arg *A = Args.getLastArg(OPT_output_style_EQ)) { in llvm_symbolizer_main()
559 if (auto *Arg = Args.getLastArg(OPT_obj_EQ); Arg) { in llvm_symbolizer_main()

123