| /freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Types.cpp | 332 DAL.getLastArg(options::OPT__SLASH_EP) || in getCompilationPhases() 334 DAL.getLastArg(options::OPT__SLASH_P)) in getCompilationPhases() 339 else if (DAL.getLastArg(options::OPT__precompile)) in getCompilationPhases() 343 else if (DAL.getLastArg(options::OPT_fsyntax_only) || in getCompilationPhases() 346 DAL.getLastArg(options::OPT_verify_pch) || in getCompilationPhases() 349 DAL.getLastArg(options::OPT__migrate) || in getCompilationPhases() 350 DAL.getLastArg(options::OPT__analyze) || in getCompilationPhases() 351 DAL.getLastArg(options::OPT_emit_ast)) in getCompilationPhases() 354 else if (DAL.getLastArg(options::OPT_S) || in getCompilationPhases() 355 DAL.getLastArg(options::OPT_emit_llvm)) in getCompilationPhases() [all …]
|
| H A D | Driver.cpp | 427 if (const Arg *A = Args.getLastArg(options::OPT_target)) in computeTargetTriple() 448 if (Arg *A = Args.getLastArg(options::OPT_arch)) { in computeTargetTriple() 550 A = Args.getLastArg(options::OPT_mabi_EQ); in computeTargetTriple() 573 A = Args.getLastArg(options::OPT_march_EQ); in computeTargetTriple() 603 const Arg *A = Args.getLastArg(OptEq); in parseLTOMode() 2110 Arg *A = Args.getLastArg(options::OPT_g_Group); in BuildUniversalActions() 2685 Arg *PartialCompilationArg = Args.getLastArg( in initialize() 2695 EmitAsm = Args.getLastArg(options::OPT_S); in initialize() 3549 Arg *YcArg = Args.getLastArg(options::OPT__SLASH_Yc); in handleArguments() 3617 Args.getLastArg(options::OPT_E) || in handleArguments() [all …]
|
| H A D | XRayArgs.cpp | 75 if (Arg *A = Args.getLastArg(options::OPT_fpatchable_function_entry_EQ)) in XRayArgs() 81 Args.getLastArg(options::OPT_fxray_instruction_threshold_, in XRayArgs() 189 if (const Arg *A = Args.getLastArg(options::OPT_fxray_function_groups)) { in XRayArgs() 196 Args.getLastArg(options::OPT_fxray_selected_function_group)) { in XRayArgs()
|
| H A D | ToolChain.cpp | 55 return Args.getLastArg(options::OPT_mkernel, options::OPT_fapple_kext, in GetRTTIArgument() 555 const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ); in GetLinkerPath() 561 if (const Arg *A = Args.getLastArg(options::OPT_ld_path_EQ)) { in GetLinkerPath() 690 if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in ComputeLLVMTriple() 760 const Arg* A = Args.getLastArg(options::OPT_rtlib_EQ); in GetRuntimeLibType() 786 const Arg *A = Args.getLastArg(options::OPT_unwindlib_EQ); in GetUnwindLibType() 821 const Arg *A = Args.getLastArg(options::OPT_stdlib_EQ); in GetCXXStdlibType() 972 Args.getLastArg(options::OPT_ffast_math, options::OPT_fno_fast_math, in isFastMathRuntimeAvailable() 1051 const Arg *MSCVersion = Args.getLastArg(options::OPT_fmsc_version); in computeMSVCVersion() 1053 Args.getLastArg(options::OPT_fms_compatibility_version); in computeMSVCVersion()
|
| /freebsd-13.1/contrib/llvm-project/lld/lib/Driver/ |
| H A D | DarwinLdDriver.cpp | 343 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-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Clang.cpp | 452 Arg *ExceptionArg = Args.getLastArg( in addExceptionArgs() 767 auto *ProfileGenerateArg = Args.getLastArg( in addPGOAndCoverageFlags() 1161 ArgM = Args.getLastArg(options::OPT_M); in AddPreprocessingOptions() 1164 ArgMD = Args.getLastArg(options::OPT_MD); in AddPreprocessingOptions() 1645 if (Args.getLastArg(options::OPT_mcmse)) in AddARMTargetArgs() 2161 if (Arg *A = Args.getLastArg( in AddX86TargetArgs() 3678 auto *Arg = Args.getLastArg( in RenderObjCOptions() 3771 if (const Arg *A = Args.getLastArg( in RenderDiagnosticsOptions() 5249 if (Args.getLastArg(options::OPT_H)) { in ConstructJob() 5971 auto *PGOArg = Args.getLastArg( in ConstructJob() [all …]
|
| H A D | CommonArgs.cpp | 66 if (const Arg *A = Args.getLastArg(options::OPT_Rpass_EQ)) in renderRpassOptions() 297 if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) { in AddTargetFeature() 308 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getAMDGPUTargetGPU() 324 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getLanaiTargetCPU() 333 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getWebAssemblyTargetCPU() 513 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in addLTOOptions() 1005 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) in areOptimizationsEnabled() 1023 Arg *FinalOutput = Args.getLastArg(options::OPT_o); in SplitDebugName() 1082 auto *ProfileUseArg = Args.getLastArg( in getLastProfileUseArg() 1095 auto *ProfileSampleUseArg = Args.getLastArg( in getLastProfileSampleUseArg() [all …]
|
| H A D | MSP430.cpp | 46 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 D | Darwin.cpp | 194 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldLinkerNotDedup() 298 (A = Args.getLastArg(options::OPT_install__name))) in AddLinkArgs() 309 if ((A = Args.getLastArg(options::OPT_bundle)) || in AddLinkArgs() 311 (A = Args.getLastArg(options::OPT_client__name)) || in AddLinkArgs() 381 if (Arg *A = Args.getLastArg(options::OPT_fglobal_isel, in AddLinkArgs() 709 if (Arg *A = Args.getLastArg(options::OPT_fveclib)) { in ConstructJob() 1274 if (Arg* A = Args.getLastArg(options::OPT_rtlib_EQ)) { in GetRuntimeLibType() 1586 Args.getLastArg(options::OPT_mtvos_version_min_EQ, in getDeploymentTargetFromOSVersionArg() 1688 const Arg *A = Args.getLastArg(options::OPT_isysroot); in inferDeploymentTargetFromSDK() 1819 const Arg *A = Args.getLastArg(options::OPT_isysroot); in parseSDKSettings() [all …]
|
| H A D | Hexagon.cpp | 39 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXWarnings() 58 if (Arg *A = Args.getLastArg(options::OPT_mno_hexagon_hvx, in handleHVXTargetFeatures() 75 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXTargetFeatures() 100 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getHexagonTargetFeatures() 439 if (Arg *A = Args.getLastArg(options::OPT_G)) { in getSmallDataThreshold() 441 } else if (Args.getLastArg(options::OPT_shared, options::OPT_fpic, in getSmallDataThreshold() 546 Arg *A = DriverArgs.getLastArg(options::OPT_O_Group); in getOptimizationLevel() 660 Arg *A = Args.getLastArg(options::OPT_stdlib_EQ); in GetCXXStdlibType() 680 if (Arg *A = Args.getLastArg(options::OPT_fvectorize, in isAutoHVXEnabled() 696 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in GetTargetCPUVersion()
|
| H A D | Myriad.cpp | 64 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()
|
| H A D | WebAssembly.cpp | 38 if (const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ)) { in getLinkerPath() 90 if (const Arg *A = Args.getLastArg(options::OPT_mexec_model_EQ)) { in ConstructJob() 132 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in ConstructJob() 278 if (DriverArgs.getLastArg(options::OPT_fwasm_exceptions)) { in addClangTargetOptions() 335 if (Arg *A = Args.getLastArg(options::OPT_stdlib_EQ)) { in GetCXXStdlibType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
| H A D | Mips.cpp | 59 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() 445 if (Arg *NaNArg = Args.getLastArg(options::OPT_mnan_EQ)) in isNaN2008() [all …]
|
| H A D | SystemZ.cpp | 27 << 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 D | ARM.cpp | 46 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getARMArchCPUFromArgs() 152 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getReadTPMode() 172 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in setArchNameInTriple() 174 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in setArchNameInTriple() 186 if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian, in setArchNameInTriple() 476 const Arg *ArchArg = Args.getLastArg(options::OPT_march_EQ); in getARMTargetFeatures() 477 const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ); in getARMTargetFeatures() 530 const Arg *FPUArg = Args.getLastArg(options::OPT_mfpu_EQ); in getARMTargetFeatures() 701 if (Args.getLastArg(options::OPT_mcmse)) in getARMTargetFeatures() 707 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getARMTargetFeatures() [all …]
|
| H A D | AArch64.cpp | 35 if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU() 59 if (Args.getLastArg(options::OPT_arch) || Triple.isOSDarwin()) in getAArch64TargetCPU() 206 else if ((A = Args.getLastArg(options::OPT_march_EQ))) in getAArch64TargetFeatures() 208 else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures() 214 if (success && (A = Args.getLastArg(clang::driver::options::OPT_mtune_EQ))) in getAArch64TargetFeatures() 217 else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures() 235 if (Args.getLastArg(options::OPT_mgeneral_regs_only)) { in getAArch64TargetFeatures() 241 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getAArch64TargetFeatures() 254 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getAArch64TargetFeatures() 301 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getAArch64TargetFeatures() [all …]
|
| H A D | PPC.cpp | 25 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getPPCTargetCPU() 126 if (Args.getLastArg(options::OPT_msecure_plt)) in getPPCReadGOTPtrMode() 138 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getPPCFloatABI() 165 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasPPCAbiArg()
|
| H A D | M68k.cpp | 28 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) { in getM68kTargetCPU() 112 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float)) { in getM68kFloatABI()
|
| /freebsd-13.1/contrib/llvm-project/lld/COFF/ |
| H A D | Driver.cpp | 109 auto *arg = args.getLastArg(id); in getOldNewOptions() 776 auto *arg = args.getLastArg(os, osFile); in getMapFile() 1389 if (auto *arg = args.getLastArg(OPT_out)) in linkerMain() 1438 if (auto *arg = args.getLastArg(OPT_pdb)) in linkerMain() 1517 if (auto *arg = args.getLastArg(OPT_base)) in linkerMain() 1528 if (auto *arg = args.getLastArg(OPT_stack)) in linkerMain() 1532 if (auto *arg = args.getLastArg(OPT_guard)) in linkerMain() 1536 if (auto *arg = args.getLastArg(OPT_heap)) in linkerMain() 1540 if (auto *arg = args.getLastArg(OPT_version)) in linkerMain() 1585 if (auto *arg = args.getLastArg(OPT_implib)) in linkerMain() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/driver/ |
| H A D | Driver.cpp | 209 if (auto *arg = args.getLastArg(OPT_core)) { in ProcessArgs() 240 if (auto *arg = args.getLastArg(OPT_file)) { in ProcessArgs() 257 if (auto *arg = args.getLastArg(OPT_arch)) { in ProcessArgs() 266 if (auto *arg = args.getLastArg(OPT_script_language)) { in ProcessArgs() 275 if (auto *arg = args.getLastArg(OPT_attach_name)) { in ProcessArgs() 284 if (auto *arg = args.getLastArg(OPT_attach_pid)) { in ProcessArgs() 295 if (auto *arg = args.getLastArg(OPT_repl_language)) { in ProcessArgs() 310 if (auto *arg = args.getLastArg(OPT_repl_)) { in ProcessArgs() 790 if (auto *finalize_path = input_args.getLastArg(OPT_reproducer_finalize)) { in InitializeReproducer() 815 if (auto *replay_path = input_args.getLastArg(OPT_replay)) { in InitializeReproducer() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/ |
| H A D | DlltoolDriver.cpp | 141 openFile(Args.getLastArg(OPT_d)->getValue()); in dlltoolDriverMain() 156 if (auto *Arg = Args.getLastArg(OPT_m)) in dlltoolDriverMain() 174 if (auto *Arg = Args.getLastArg(OPT_D)) in dlltoolDriverMain() 196 if (Machine == IMAGE_FILE_MACHINE_I386 && Args.getLastArg(OPT_k)) { in dlltoolDriverMain()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 281 auto *Arg = Args.getLastArg(Opt); in normalizeSimpleEnum() 323 auto *Arg = Args.getLastArg(Opt); in normalizeString() 333 auto *Arg = Args.getLastArg(Opt); in normalizeStringIntegral() 386 auto *Arg = Args.getLastArg(Opt); in normalizeTriple() 1588 if (Arg *InlineArg = Args.getLastArg( in ParseCodeGenArgs() 1709 if (Arg *A = Args.getLastArg(OPT_flto_EQ)) { in ParseCodeGenArgs() 1809 if (Args.getLastArg(OPT_femulated_tls) || in ParseCodeGenArgs() 1810 Args.getLastArg(OPT_fno_emulated_tls)) { in ParseCodeGenArgs() 2712 if (const Arg *A = Args.getLastArg(OPT_x)) { in ParseFrontendArgs() 3796 if (Arg *A = Args.getLastArg(OPT_mrtd)) { in ParseLangArgs() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | Driver.cpp | 380 if (auto *arg = args.getLastArg(OPT_reproduce)) in getReproduceOption() 733 if (auto *arg = args.getLastArg(OPT_Ttext)) in getSectionStartMap() 735 if (auto *arg = args.getLastArg(OPT_Tdata)) in getSectionStartMap() 737 if (auto *arg = args.getLastArg(OPT_Tbss)) in getSectionStartMap() 948 auto *arg = args.getLastArg(id); in getOldNewOptions() 1204 if (opt::Arg *arg = args.getLastArg(OPT_eb, OPT_el)) { in readConfigs() 1274 if (auto *arg = args.getLastArg(OPT_threads)) { in readConfigs() 1283 if (auto *arg = args.getLastArg(OPT_thinlto_jobs)) in readConfigs() 1305 if (auto *arg = args.getLastArg(OPT_m)) { in readConfigs() 1315 if (auto *arg = args.getLastArg(OPT_hash_style)) { in readConfigs() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | Driver.cpp | 67 Arg *outputArg = args.getLastArg(OPT_bundle, OPT_dylib, OPT_execute); in getOutputType() 656 const Arg *arg = args.getLastArg(OPT_platform_version); in parsePlatformVersion() 805 if (const Arg *arg = args.getLastArg(OPT_reproduce)) in getReproduceOption() 822 const Arg *arg = args.getLastArg(id); in parseDylibVersion() 1161 if (auto *arg = args.getLastArg(OPT_threads_eq)) { in link() 1170 if (auto *arg = args.getLastArg(OPT_thinlto_jobs_eq)) in link() 1197 if (const Arg *arg = args.getLastArg(OPT_bundle_loader)) { in link() 1203 if (const Arg *arg = args.getLastArg(OPT_umbrella)) { in link() 1251 if (const Arg *arg = args.getLastArg(OPT_install_name)) { in link() 1267 if (const Arg *arg = args.getLastArg(OPT_static, OPT_dynamic)) in link() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
| H A D | llvm-symbolizer.cpp | 238 if (const opt::Arg *A = Args.getLastArg(ID)) { in parseIntArg() 254 if (const opt::Arg *A = Args.getLastArg(OPT_functions_EQ)) in decideHowToPrintFunctions() 276 if (const opt::Arg *A = Args.getLastArg(OPT_basenames, OPT_relativenames)) { in main() 320 if (const opt::Arg *A = Args.getLastArg(OPT_output_style_EQ)) { in main()
|