Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DClang.cpp448 Arg *ExceptionArg = Args.getLastArg( in addExceptionArgs()
798 auto *ProfileGenerateArg = Args.getLastArg( in addPGOAndCoverageFlags()
1210 ArgM = Args.getLastArg(options::OPT_M); in AddPreprocessingOptions()
1757 if (Args.getLastArg(options::OPT_mcmse)) in AddARMTargetArgs()
2274 if (Arg *A = Args.getLastArg( in AddX86TargetArgs()
3793 if (Args.getLastArg( in RenderModulesOptions()
3916 auto *Arg = Args.getLastArg( in RenderObjCOptions()
4006 if (const Arg *A = Args.getLastArg( in RenderDiagnosticsOptions()
5542 if (Args.getLastArg(options::OPT_H)) { in ConstructJob()
6365 auto *PGOArg = Args.getLastArg( in ConstructJob()
[all …]
H A DCommonArgs.cpp68 if (const Arg *A = Args.getLastArg(options::OPT_Rpass_EQ)) in renderRpassOptions()
300 if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) { in AddTargetFeature()
311 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getAMDGPUTargetGPU()
327 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getLanaiTargetCPU()
336 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getWebAssemblyTargetCPU()
518 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in addLTOOptions()
1096 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) in areOptimizationsEnabled()
1114 Arg *FinalOutput = Args.getLastArg(options::OPT_o); in SplitDebugName()
1173 auto *ProfileUseArg = Args.getLastArg( in getLastProfileUseArg()
1186 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()
130 Arg *A = Args.getLastArg(FlagOn, FlagOff); in handleHVXTargetFeatures()
167 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getHexagonTargetFeatures()
226 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_ieee_fp, in ConstructJob()
525 if (Arg *A = Args.getLastArg(options::OPT_G)) { in getSmallDataThreshold()
640 Arg *A = DriverArgs.getLastArg(options::OPT_O_Group); in getOptimizationLevel()
754 Arg *A = Args.getLastArg(options::OPT_stdlib_EQ); in GetCXXStdlibType()
774 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.cpp194 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldLinkerNotDedup()
300 (A = Args.getLastArg(options::OPT_install__name))) in AddLinkArgs()
311 if ((A = Args.getLastArg(options::OPT_bundle)) || in AddLinkArgs()
385 if (Arg *A = Args.getLastArg(options::OPT_fglobal_isel, in AddLinkArgs()
714 if (Arg *A = Args.getLastArg(options::OPT_fveclib)) { in ConstructJob()
1391 if (Arg* A = Args.getLastArg(options::OPT_rtlib_EQ)) { in GetRuntimeLibType()
1747 Args.getLastArg(options::OPT_mtvos_version_min_EQ, in getDeploymentTargetFromOSVersionArg()
1850 const Arg *A = Args.getLastArg(options::OPT_isysroot); in inferDeploymentTargetFromSDK()
2011 auto *A = Args.getLastArg(options::OPT_mtargetos_EQ); in getDeploymentTargetFromMTargetOSArg()
2040 const Arg *A = Args.getLastArg(options::OPT_isysroot); in parseSDKSettings()
[all …]
H A DMyriad.cpp64 if (Args.getLastArg(options::OPT_MF) && !Args.getLastArg(options::OPT_MT) && in ConstructJob()
67 Arg *A = Args.getLastArg(options::OPT_o); in ConstructJob()
98 const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ); in ConstructJob()
135 Args.getLastArg(options::OPT_stdlib_EQ); in ConstructJob()
/llvm-project-15.0.7/lld/MinGW/
H A DDriver.cpp200 if (auto *a = args.getLastArg(OPT_entry)) { in link()
249 if (auto *a = args.getLastArg(OPT_out_implib)) in link()
251 if (auto *a = args.getLastArg(OPT_stack)) in link()
253 if (auto *a = args.getLastArg(OPT_output_def)) in link()
257 if (auto *a = args.getLastArg(OPT_map)) in link()
259 if (auto *a = args.getLastArg(OPT_reproduce)) in link()
267 if (auto *a = args.getLastArg(OPT_heap)) in link()
270 if (auto *a = args.getLastArg(OPT_o)) in link()
277 if (auto *a = args.getLastArg(OPT_pdb)) { in link()
356 if (auto *a = args.getLastArg(OPT_icf)) { in link()
[all …]
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/Arch/
H A DMips.cpp59 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ, in getMipsCPUAndABI()
63 if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getMipsCPUAndABI()
266 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getMIPSTargetFeatures()
291 if (Arg *A = Args.getLastArg(options::OPT_mnan_EQ)) { in getMIPSTargetFeatures()
312 if (Arg *A = Args.getLastArg(options::OPT_mabs_EQ)) { in getMIPSTargetFeatures()
350 if (Arg *A = Args.getLastArg(options::OPT_mfp32, options::OPT_mfpxx, in getMIPSTargetFeatures()
379 if (Arg *A = Args.getLastArg(options::OPT_mindirect_jump_EQ)) { in getMIPSTargetFeatures()
435 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasMipsAbiArg()
440 Arg *A = Args.getLastArg(options::OPT_m_libc_Group); in isUCLibc()
446 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 DARM.cpp47 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getARMArchCPUFromArgs()
166 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getReadTPMode()
191 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in setArchNameInTriple()
193 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in setArchNameInTriple()
205 if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian, in setArchNameInTriple()
500 const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ); in getARMTargetFeatures()
554 (void)Args.getLastArg(options::OPT_mtune_EQ); in getARMTargetFeatures()
558 const Arg *FPUArg = Args.getLastArg(options::OPT_mfpu_EQ); in getARMTargetFeatures()
738 if (Args.getLastArg(options::OPT_mcmse)) in getARMTargetFeatures()
743 if (!Args.getLastArg(options::OPT_mcmse)) in getARMTargetFeatures()
[all …]
H A DAArch64.cpp36 if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU()
60 if (Args.getLastArg(options::OPT_arch) || Triple.isOSDarwin()) in getAArch64TargetCPU()
245 else if ((A = Args.getLastArg(options::OPT_march_EQ))) in getAArch64TargetFeatures()
247 else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
259 else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
277 if (Args.getLastArg(options::OPT_mgeneral_regs_only)) { in getAArch64TargetFeatures()
283 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getAArch64TargetFeatures()
296 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getAArch64TargetFeatures()
493 if (Arg *A = Args.getLastArg(options::OPT_mno_unaligned_access, in getAArch64TargetFeatures()
605 if (Arg *A = Args.getLastArg(options::OPT_mfix_cortex_a53_835769, in getAArch64TargetFeatures()
[all …]
H A DPPC.cpp25 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getPPCTargetCPU()
112 (void)Args.getLastArg(options::OPT_mtune_EQ); in getPPCTargetFeatures()
130 if (Args.getLastArg(options::OPT_msecure_plt)) in getPPCReadGOTPtrMode()
142 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getPPCFloatABI()
169 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasPPCAbiArg()
H A DCSKY.cpp31 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in getCSKYArchName()
41 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getCSKYArchName()
56 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getCSKYFloatABI()
125 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in getCSKYTargetFeatures()
134 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getCSKYTargetFeatures()
168 if (const Arg *FPUArg = Args.getLastArg(options::OPT_mfpu_EQ)) in getCSKYTargetFeatures()
H A DRISCV.cpp73 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in getRISCVTargetFeatures()
191 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) in getRISCVABI()
262 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getRISCVArch()
266 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getRISCVArch()
278 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getRISCVArch()
H A DSparc.cpp85 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_msoft_float, in getSparcFloatABI()
119 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getSparcTargetCPU()
125 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getSparcTargetCPU()
H A DX86.cpp27 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getX86TargetCPU()
42 if (const Arg *A = Args.getLastArg(options::OPT__SLASH_arch)) { in getX86TargetCPU()
127 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { in getX86TargetFeatures()
251 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getX86TargetFeatures()
/llvm-project-15.0.7/lld/COFF/
H A DDriver.cpp88 auto *arg = args.getLastArg(id); in getOldNewOptions()
550 if (auto *A = Args.getLastArg(OPT_vctoolsdir)) in detectWinSysRoot()
554 if (auto *A = Args.getLastArg(OPT_winsysroot)) in detectWinSysRoot()
878 auto *arg = args.getLastArg(os, osFile); in getMapFile()
1522 if (auto *arg = args.getLastArg(OPT_out)) in linkerMain()
1571 if (auto *arg = args.getLastArg(OPT_pdb)) in linkerMain()
1653 if (auto *arg = args.getLastArg(OPT_base)) in linkerMain()
1664 if (auto *arg = args.getLastArg(OPT_stack)) in linkerMain()
1668 if (auto *arg = args.getLastArg(OPT_guard)) in linkerMain()
1672 if (auto *arg = args.getLastArg(OPT_heap)) in linkerMain()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-ifs/
H A Dllvm-ifs.cpp307 if (const opt::Arg *A = Args.getLastArg(OPT_input_format_EQ)) { in parseArgs()
320 if (const opt::Arg *A = Args.getLastArg(OPT_output_format_EQ)) { in parseArgs()
329 if (const opt::Arg *A = Args.getLastArg(OPT_arch_EQ)) in parseArgs()
332 if (const opt::Arg *A = Args.getLastArg(OPT_bitwidth_EQ)) { in parseArgs()
341 if (const opt::Arg *A = Args.getLastArg(OPT_endianness_EQ)) { in parseArgs()
350 if (const opt::Arg *A = Args.getLastArg(OPT_target_EQ)) in parseArgs()
365 if (const opt::Arg *A = Args.getLastArg(OPT_soname_EQ)) in parseArgs()
367 if (const opt::Arg *A = Args.getLastArg(OPT_output_EQ)) in parseArgs()
369 if (const opt::Arg *A = Args.getLastArg(OPT_output_elf_EQ)) in parseArgs()
371 if (const opt::Arg *A = Args.getLastArg(OPT_output_ifs_EQ)) in parseArgs()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/
H A DCompilerInvocation.cpp297 auto *Arg = Args.getLastArg(Opt); in normalizeSimpleEnum()
339 auto *Arg = Args.getLastArg(Opt); in normalizeString()
349 auto *Arg = Args.getLastArg(Opt); in normalizeStringIntegral()
402 auto *Arg = Args.getLastArg(Opt); in normalizeTriple()
540 if (Args.getLastArg(OPT_cl_strict_aliasing) && in FixupInvocation()
1744 if (Arg *A = Args.getLastArg(OPT_flto_EQ)) { in ParseCodeGenArgs()
1869 if (Args.getLastArg(OPT_femulated_tls) || in ParseCodeGenArgs()
1870 Args.getLastArg(OPT_fno_emulated_tls)) { in ParseCodeGenArgs()
2826 if (const Arg *A = Args.getLastArg(OPT_x)) { in ParseFrontendArgs()
3811 if (Arg *A = Args.getLastArg(OPT_mrtd)) { in ParseLangArgs()
[all …]
/llvm-project-15.0.7/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp142 openFile(Args.getLastArg(OPT_d)->getValue()); in dlltoolDriverMain()
157 if (auto *Arg = Args.getLastArg(OPT_m)) in dlltoolDriverMain()
175 if (auto *Arg = Args.getLastArg(OPT_D)) in dlltoolDriverMain()
197 if (Machine == IMAGE_FILE_MACHINE_I386 && Args.getLastArg(OPT_k)) { in dlltoolDriverMain()
/llvm-project-15.0.7/clang/lib/Driver/
H A DDriver.cpp526 if (Arg *A = Args.getLastArg(options::OPT_arch)) { in computeTargetTriple()
631 A = Args.getLastArg(options::OPT_mabi_EQ); in computeTargetTriple()
654 A = Args.getLastArg(options::OPT_march_EQ); in computeTargetTriple()
674 const Arg *A = Args.getLastArg(OptEq); in parseLTOMode()
1318 if (Arg *A = Args.getLastArg(options::OPT_MJ)) in BuildCompilation()
1325 const Arg *Std = Args.getLastArg(options::OPT_std_EQ); in BuildCompilation()
2302 Arg *A = Args.getLastArg(options::OPT_g_Group); in BuildUniversalActions()
2955 EmitAsm = Args.getLastArg(options::OPT_S); in initialize()
3958 Args.getLastArg(options::OPT_E) || in handleArguments()
4011 if (Arg *A = Args.getLastArg(options::OPT_Z_Joined)) in BuildActions()
[all …]
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A Ddsymutil.cpp211 if (opt::Arg *Accelerator = Args.getLastArg(OPT_accelerator)) { in getAccelTableKind()
234 if (opt::Arg *Reproducer = Args.getLastArg(OPT_reproducer)) { in getReproducerMode()
256 if (opt::Arg *Verify = Args.getLastArg(OPT_verify_dwarf)) { in getVerifyKind()
302 if (opt::Arg *ReproducerPath = Args.getLastArg(OPT_use_reproducer)) { in getOptions()
319 if (opt::Arg *SymbolMap = Args.getLastArg(OPT_symbolmap)) in getOptions()
335 if (opt::Arg *OsoPrependPath = Args.getLastArg(OPT_oso_prepend_path)) in getOptions()
344 if (opt::Arg *OutputFile = Args.getLastArg(OPT_output)) in getOptions()
347 if (opt::Arg *Toolchain = Args.getLastArg(OPT_toolchain)) in getOptions()
353 if (opt::Arg *NumThreads = Args.getLastArg(OPT_threads)) in getOptions()
364 if (opt::Arg *RemarksPrependPath = Args.getLastArg(OPT_remarks_prepend_path)) in getOptions()
[all …]
/llvm-project-15.0.7/lldb/tools/driver/
H A DDriver.cpp212 if (auto *arg = args.getLastArg(OPT_core)) { in ProcessArgs()
238 if (auto *arg = args.getLastArg(OPT_file)) { in ProcessArgs()
255 if (auto *arg = args.getLastArg(OPT_arch)) { in ProcessArgs()
264 if (auto *arg = args.getLastArg(OPT_script_language)) { in ProcessArgs()
273 if (auto *arg = args.getLastArg(OPT_attach_name)) { in ProcessArgs()
282 if (auto *arg = args.getLastArg(OPT_attach_pid)) { in ProcessArgs()
293 if (auto *arg = args.getLastArg(OPT_repl_language)) { in ProcessArgs()
309 if (auto *arg = args.getLastArg(OPT_repl_)) { in ProcessArgs()
749 auto *capture_path = input_args.getLastArg(OPT_capture_path); in InitializeReproducer()
/llvm-project-15.0.7/flang/lib/Frontend/
H A DCompilerInvocation.cpp99 args.getLastArg(clang::driver::options::OPT_O_Group)) { in getOptimizationLevel()
136 args.getLastArg(clang::driver::options::OPT_triple)) in parseTargetArgs()
169 args.getLastArg(clang::driver::options::OPT_Action_Group)) { in parseFrontendArgs()
275 if (llvm::opt::Arg *a = args.getLastArg(clang::driver::options::OPT_load)) { in parseFrontendArgs()
281 args.getLastArg(clang::driver::options::OPT_plugin)) { in parseFrontendArgs()
293 args.getLastArg(clang::driver::options::OPT_x)) { in parseFrontendArgs()
338 if (const auto *arg = args.getLastArg(clang::driver::options::OPT_ffixed_form, in parseFrontendArgs()
348 args.getLastArg(clang::driver::options::OPT_ffixed_line_length_EQ)) { in parseFrontendArgs()
400 args.getLastArg(clang::driver::options::OPT_finput_charset_EQ)) { in parseFrontendArgs()
465 if (const auto *currentArg = args.getLastArg( in parsePreprocessorArgs()
[all …]
/llvm-project-15.0.7/llvm/lib/Option/
H A DArgList.cpp74 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
81 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
87 if (Arg *A = getLastArg(Id)) in getLastArgValue()
100 if (Arg *A = getLastArg(Pos, Neg)) in addOptInFlag()

123