Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/ToolChains/
H A DClang.cpp451 Arg *ExceptionArg = Args.getLastArg( in addExceptionArgs()
733 auto *ProfileGenerateArg = Args.getLastArg( in addPGOAndCoverageFlags()
1037 (A = Args.getLastArg(options::OPT_MD)) || in AddPreprocessingOptions()
1038 (A = Args.getLastArg(options::OPT_MMD))) { in AddPreprocessingOptions()
1221 if (Arg *A = Args.getLastArg(options::OPT_I_)) in AddPreprocessingOptions()
1850 if (Arg *A = Args.getLastArg( in AddX86TargetArgs()
2556 if (const auto *A = Args.getLastArg(Arg)) in RenderOpenCLOptions()
2936 auto *Arg = Args.getLastArg( in RenderObjCOptions()
3026 if (const Arg *A = Args.getLastArg( in RenderDiagnosticsOptions()
4117 if (auto *A = Args.getLastArg( in ConstructJob()
[all …]
H A DCommonArgs.cpp198 if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) { in AddTargetFeature()
208 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getR600TargetGPU()
224 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getLanaiTargetCPU()
233 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getWebAssemblyTargetCPU()
271 if (const Arg *A = Args.getLastArg(options::OPT_mmcu_EQ)) in getCPUName()
314 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in getCPUName()
388 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in AddGoldPlugin()
415 if (Arg *A = Args.getLastArg(options::OPT_gTune_Group, in AddGoldPlugin()
786 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) in areOptimizationsEnabled()
843 auto *ProfileUseArg = Args.getLastArg( in getLastProfileUseArg()
[all …]
H A DHexagon.cpp41 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXWarnings()
61 if (Arg *A = Args.getLastArg(options::OPT_mno_hexagon_hvx, in handleHVXTargetFeatures()
78 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXTargetFeatures()
103 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getHexagonTargetFeatures()
400 if (Arg *A = Args.getLastArg(options::OPT_G)) { in getSmallDataThreshold()
402 } else if (Args.getLastArg(options::OPT_shared, options::OPT_fpic, in getSmallDataThreshold()
491 Arg *A = DriverArgs.getLastArg(options::OPT_O_Group); in getOptimizationLevel()
550 Arg *A = Args.getLastArg(options::OPT_stdlib_EQ); in GetCXXStdlibType()
562 if (Arg *A = Args.getLastArg(options::OPT_fvectorize, in isAutoHVXEnabled()
578 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ, options::OPT_march_EQ)) in GetTargetCPUVersion()
H A DMSP430.cpp47 HWMult = getSupportedHWMult(Args.getLastArg(options::OPT_mmcu_EQ)); in getHWMultLib()
59 const Arg *MCU = Args.getLastArg(options::OPT_mmcu_EQ); in getMSP430TargetFeatures()
65 const Arg *HWMultArg = Args.getLastArg(options::OPT_mhwmult_EQ); in getMSP430TargetFeatures()
166 const auto *MCUArg = DriverArgs.getLastArg(options::OPT_mmcu_EQ); in addClangTargetOptions()
201 if (const Arg *MCUArg = Args.getLastArg(options::OPT_mmcu_EQ)) in ConstructJob()
H A DDarwin.cpp186 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldLinkerNotDedup()
289 (A = Args.getLastArg(options::OPT_install__name))) in AddLinkArgs()
300 if ((A = Args.getLastArg(options::OPT_bundle)) || in AddLinkArgs()
302 (A = Args.getLastArg(options::OPT_client__name)) || in AddLinkArgs()
305 (A = Args.getLastArg(options::OPT_private__bundle))) in AddLinkArgs()
595 if (Arg *A = Args.getLastArg(options::OPT_fveclib)) { in ConstructJob()
1068 if (Arg* A = Args.getLastArg(options::OPT_rtlib_EQ)) { in GetRuntimeLibType()
1350 Args.getLastArg(options::OPT_mtvos_version_min_EQ, in getDeploymentTargetFromOSVersionArg()
1447 const Arg *A = Args.getLastArg(options::OPT_isysroot); in inferDeploymentTargetFromSDK()
1562 const Arg *A = Args.getLastArg(options::OPT_isysroot); in parseSDKSettings()
[all …]
H A DMyriad.cpp65 if (Args.getLastArg(options::OPT_MF) && !Args.getLastArg(options::OPT_MT) && in ConstructJob()
68 Arg *A = Args.getLastArg(options::OPT_o); in ConstructJob()
98 const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ); in ConstructJob()
134 Args.getLastArg(options::OPT_stdlib_EQ); in ConstructJob()
H A DCuda.cpp303 const Arg *A = Args.getLastArg(options::OPT_O_Group); in mustEmitDebugInfo()
308 if (const Arg *A = Args.getLastArg(options::OPT_g_Group)) { in mustEmitDebugInfo()
359 } else if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in ConstructJob()
420 if (Arg *A = Args.getLastArg(options::OPT_ptxas_path_EQ)) in ConstructJob()
528 if (const Arg *A = Args.getLastArg(options::OPT_libomptarget_nvptx_path_EQ)) in ConstructJob()
668 if (const Arg *A = DriverArgs.getLastArg(options::OPT_libomptarget_nvptx_path_EQ)) in addClangTargetOptions()
H A DMSVC.cpp590 if (Arg *A = Args.getLastArg(options::OPT_fbuiltin, options::OPT_fno_builtin)) in GetCommand()
593 if (Arg *A = Args.getLastArg(options::OPT_O, options::OPT_O0)) { in GetCommand()
608 if (Arg *A = Args.getLastArg(options::OPT_fomit_frame_pointer, in GetCommand()
627 if (Arg *A = Args.getLastArg(options::OPT_ffunction_sections, in GetCommand()
632 if (Arg *A = Args.getLastArg(options::OPT_fdata_sections, in GetCommand()
656 if (Arg *A = Args.getLastArg(options::OPT__SLASH_MD, options::OPT__SLASH_MDd, in GetCommand()
661 if (Arg *A = Args.getLastArg(options::OPT_fthreadsafe_statics, in GetCommand()
/freebsd-12.1/contrib/llvm/tools/lld/lib/Driver/
H A DDarwinLdDriver.cpp343 if (llvm::opt::Arg *kind = parsedArgs.getLastArg( in parse()
383 !parsedArgs.getLastArg(OPT_test_file_usage)) { in parse()
472 if (parsedArgs.getLastArg(OPT_dead_strip)) in parse()
477 if (parsedArgs.getLastArg(OPT_all_load)) in parse()
553 if (parsedArgs.getLastArg(OPT_print_atoms)) in parse()
557 if (parsedArgs.getLastArg(OPT_t)) in parse()
561 if (parsedArgs.getLastArg(OPT_demangle)) in parse()
581 if (parsedArgs.getLastArg(OPT_test_file_usage)) { in parse()
715 if (parsedArgs.getLastArg(OPT_objc_gc_compaction)) { in parse()
720 if (parsedArgs.getLastArg(OPT_objc_gc)) { in parse()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch/
H A DMips.cpp60 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ, in getMipsCPUAndABI()
64 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getMipsCPUAndABI()
262 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getMIPSTargetFeatures()
280 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) { in getMIPSTargetFeatures()
301 if (Arg *A = Args.getLastArg(options::OPT_mabs_EQ)) { in getMIPSTargetFeatures()
339 if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx, in getMIPSTargetFeatures()
368 if (Arg *A = Args.getLastArg(options::OPT_mindirect_jump_EQ)) { in getMIPSTargetFeatures()
424 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasMipsAbiArg()
429 Arg *A = Args.getLastArg(options::OPT_m_libc_Group); in isUCLibc()
434 if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ)) in isNaN2008()
[all …]
H A DSystemZ.cpp20 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) in getSystemZTargetCPU()
28 if (Arg *A = Args.getLastArg(options::OPT_mhtm, options::OPT_mno_htm)) { in getSystemZTargetFeatures()
35 if (Arg *A = Args.getLastArg(options::OPT_mvx, options::OPT_mno_vx)) { in getSystemZTargetFeatures()
H A DAArch64.cpp35 if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU()
48 if (Args.getLastArg(options::OPT_arch) || Triple.isOSDarwin()) in getAArch64TargetCPU()
170 if ((A = Args.getLastArg(options::OPT_march_EQ))) in getAArch64TargetFeatures()
172 else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
178 if (success && (A = Args.getLastArg(clang::driver::options::OPT_mtune_EQ))) in getAArch64TargetFeatures()
181 else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
192 if (Args.getLastArg(options::OPT_mgeneral_regs_only)) { in getAArch64TargetFeatures()
199 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getAArch64TargetFeatures()
313 if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access, in getAArch64TargetFeatures()
H A DARM.cpp38 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) in getARMArchCPUFromArgs()
40 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getARMArchCPUFromArgs()
136 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getReadTPMode()
331 const Arg *ArchArg = Args.getLastArg(options::OPT_march_EQ); in getARMTargetFeatures()
347 const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ); in getARMTargetFeatures()
372 const Arg *FPUArg = Args.getLastArg(options::OPT_mfpu_EQ); in getARMTargetFeatures()
391 const Arg *HDivArg = Args.getLastArg(options::OPT_mhwdiv_EQ); in getARMTargetFeatures()
447 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getARMTargetFeatures()
477 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getARMTargetFeatures()
496 else if (Arg *B = Args.getLastArg(options::OPT_mno_movt)) in getARMTargetFeatures()
[all …]
H A DPPC.cpp25 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getPPCTargetCPU()
117 if (Args.getLastArg(options::OPT_msecure_plt)) in getPPCReadGOTPtrMode()
129 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getPPCFloatABI()
156 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasPPCAbiArg()
H A DX86.cpp25 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getX86TargetCPU()
113 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getX86TargetFeatures()
H A DRISCV.cpp205 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in getRISCVTargetFeatures()
374 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) in getRISCVABI()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInvocation.cpp645 if (Arg *InlineArg = Args.getLastArg( in ParseCodeGenArgs()
667 if (Arg *A = Args.getLastArg(OPT_fveclib)) { in ParseCodeGenArgs()
902 if (Arg *A = Args.getLastArg(OPT_flto_EQ)) { in ParseCodeGenArgs()
1107 if (Arg *A = Args.getLastArg( in ParseCodeGenArgs()
1165 if (Args.getLastArg(OPT_femulated_tls) || in ParseCodeGenArgs()
1166 Args.getLastArg(OPT_fno_emulated_tls)) { in ParseCodeGenArgs()
2364 if (Args.getLastArg(OPT_cl_strict_aliasing) in ParseLangArgs()
2783 if (Arg *A = Args.getLastArg(OPT_mrtd)) { in ParseLangArgs()
2908 if (Arg *InlineArg = Args.getLastArg( in ParseLangArgs()
3191 if (Arg *A = Args.getLastArg(OPT_meabi)) { in ParseTargetArgs()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DDriver.cpp1003 if (auto *Arg = Args.getLastArg(OPT_out)) in link()
1034 if (auto *Arg = Args.getLastArg(OPT_pdb)) in link()
1086 if (auto *Arg = Args.getLastArg(OPT_machine)) in link()
1098 if (auto *Arg = Args.getLastArg(OPT_base)) in link()
1102 if (auto *Arg = Args.getLastArg(OPT_stack)) in link()
1106 if (auto *Arg = Args.getLastArg(OPT_guard)) in link()
1110 if (auto *Arg = Args.getLastArg(OPT_heap)) in link()
1114 if (auto *Arg = Args.getLastArg(OPT_version)) in link()
1149 if (auto *Arg = Args.getLastArg(OPT_implib)) in link()
1438 if (auto *Arg = Args.getLastArg(OPT_entry)) { in link()
[all …]
/freebsd-12.1/contrib/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp120 openFile(Args.getLastArg(OPT_d)->getValue()); in dlltoolDriverMain()
130 if (auto *Arg = Args.getLastArg(OPT_m)) in dlltoolDriverMain()
148 if (auto *Arg = Args.getLastArg(OPT_D)) in dlltoolDriverMain()
160 if (Machine == IMAGE_FILE_MACHINE_I386 && Args.getLastArg(OPT_k)) { in dlltoolDriverMain()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/
H A DDriver.cpp256 (PhaseArg = DAL.getLastArg(options::OPT__SLASH_P))) { in getFinalPhase()
276 } else if ((PhaseArg = DAL.getLastArg(options::OPT_S))) { in getFinalPhase()
403 if (const Arg *A = Args.getLastArg(options::OPT_target)) in computeTargetTriple()
424 if (Arg *A = Args.getLastArg(options::OPT_arch)) { in computeTargetTriple()
499 A = Args.getLastArg(options::OPT_mabi_EQ); in computeTargetTriple()
533 const Arg *A = Args.getLastArg(options::OPT_flto_EQ); in setLTOMode()
1935 Arg *A = Args.getLastArg(options::OPT_g_Group); in BuildUniversalActions()
2414 Arg *PartialCompilationArg = Args.getLastArg( in initialize()
3127 if (Arg *A = Args.getLastArg(options::OPT_Z_Joined)) in BuildActions()
3164 Arg *YcArg = Args.getLastArg(options::OPT__SLASH_Yc); in BuildActions()
[all …]
H A DToolChain.cpp54 return Args.getLastArg(options::OPT_mkernel, options::OPT_fapple_kext, in GetRTTIArgument()
440 const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ); in GetLinkerPath()
531 if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in ComputeLLVMTriple()
562 if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian, in ComputeLLVMTriple()
571 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in ComputeLLVMTriple()
573 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in ComputeLLVMTriple()
666 const Arg* A = Args.getLastArg(options::OPT_rtlib_EQ); in GetRuntimeLibType()
684 const Arg *A = Args.getLastArg(options::OPT_stdlib_EQ); in GetCXXStdlibType()
801 Args.getLastArg(options::OPT_ffast_math, options::OPT_fno_fast_math, in AddFastMathRuntimeIfAvailable()
862 const Arg *MSCVersion = Args.getLastArg(options::OPT_fmsc_version); in computeMSVCVersion()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/tools/driver/
H A DDriver.cpp270 if (auto *arg = args.getLastArg(OPT_core)) { in ProcessArgs()
295 if (auto *arg = args.getLastArg(OPT_file)) { in ProcessArgs()
312 if (auto *arg = args.getLastArg(OPT_arch)) { in ProcessArgs()
321 if (auto *arg = args.getLastArg(OPT_script_language)) { in ProcessArgs()
338 if (auto *arg = args.getLastArg(OPT_attach_name)) { in ProcessArgs()
347 if (auto *arg = args.getLastArg(OPT_attach_pid)) { in ProcessArgs()
358 if (auto *arg = args.getLastArg(OPT_repl_language)) { in ProcessArgs()
373 if (auto *arg = args.getLastArg(OPT_repl_)) { in ProcessArgs()
894 if (auto *arg = input_args.getLastArg(OPT_capture)) { in wmain()
900 if (auto *arg = input_args.getLastArg(OPT_replay)) { in wmain()
/freebsd-12.1/contrib/llvm/lib/Option/
H A DArgList.cpp75 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
82 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
88 if (Arg *A = getLastArg(Id)) in getLastArgValue()
100 if (Arg *A = getLastArg(Id)) { in AddLastArg()
108 if (Arg *A = getLastArg(Id0, Id1)) { in AddLastArg()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DDriver.cpp325 if (auto *Arg = Args.getLastArg(OPT_reproduce)) in getReproduceOption()
576 if (auto *Arg = Args.getLastArg(OPT_Ttext)) in getSectionStartMap()
578 if (auto *Arg = Args.getLastArg(OPT_Tdata)) in getSectionStartMap()
580 if (auto *Arg = Args.getLastArg(OPT_Tbss)) in getSectionStartMap()
612 auto *Arg = Args.getLastArg(OPT_build_id, OPT_build_id_eq); in getBuildId()
718 auto *Arg = Args.getLastArg(Id); in getOldNewOptions()
896 if (auto *Arg = Args.getLastArg(OPT_plugin_opt_mcpu_eq)) in readConfigs()
918 if (auto *Arg = Args.getLastArg(OPT_m)) { in readConfigs()
927 if (auto *Arg = Args.getLastArg(OPT_hash_style)) { in readConfigs()
954 if (auto *Arg = Args.getLastArg(OPT_symbol_ordering_file)) in readConfigs()
[all …]
H A DDriverUtils.cpp58 auto *Arg = Args.getLastArg(OPT_color_diagnostics, OPT_color_diagnostics_eq, in handleColorDiagnostics()
78 if (auto *Arg = Args.getLastArg(OPT_rsp_quoting)) { in getQuotingStyle()

12