/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | Mips.cpp | 53 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() 150 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getMipsFloatABI() 226 Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC, in getMIPSTargetFeatures() 243 Args.getLastArg(options::OPT_mabicalls, options::OPT_mno_abicalls); in getMIPSTargetFeatures() 261 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getMIPSTargetFeatures() 271 if (Arg *A = Args.getLastArg(options::OPT_mxgot, options::OPT_mno_xgot)) { 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() 344 if (Arg *A = Args.getLastArg( in getMIPSTargetFeatures() [all …]
|
H A D | LoongArch.cpp | 31 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() 136 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getLoongArchTargetFeatures() 144 if (const Arg *A = Args.getLastArg(options::OPT_mdouble_float, in getLoongArchTargetFeatures() 159 } else if (const Arg *A = Args.getLastArg(options::OPT_mfpu_EQ)) { in getLoongArchTargetFeatures() 191 if (const Arg *A = Args.getLastArg(options::OPT_msimd_EQ)) { in getLoongArchTargetFeatures() 209 if (!Args.getLastArg(options::OPT_mno_lasx)) { in getLoongArchTargetFeatures() 224 if (const Arg *A = Args.getLastArg(options::OPT_mlsx, options::OPT_mno_lsx)) { in getLoongArchTargetFeatures() 239 Args.getLastArg(options::OPT_mlasx, options::OPT_mno_lasx)) { in getLoongArchTargetFeatures() [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() 75 if (const Arg *A = Args.getLastArg(options::OPT_munaligned_symbols, in getSystemZTargetFeatures()
|
H A D | AArch64.cpp | 36 if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU() 209 else if ((A = Args.getLastArg(options::OPT_march_EQ))) in getAArch64TargetFeatures() 212 else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures() 222 if (success && (A = Args.getLastArg(clang::driver::options::OPT_mtune_EQ))) in getAArch64TargetFeatures() 225 else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures() 243 if (Args.getLastArg(options::OPT_mgeneral_regs_only)) { in getAArch64TargetFeatures() 248 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getAArch64TargetFeatures() 259 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getAArch64TargetFeatures() 274 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getAArch64TargetFeatures() 320 if (Arg *A = Args.getLastArg( in getAArch64TargetFeatures() [all …]
|
H A D | ARM.cpp | 40 if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian, in isARMBigEndian() 58 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) in getARMArchCPUFromArgs() 60 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getARMArchCPUFromArgs() 168 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in checkARMFloatABI() 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() 352 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in setFloatABIInTriple() 447 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getARMFloatABI() [all …]
|
H A D | RISCV.cpp | 85 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getRISCVTargetFeatures() 180 if (const Arg *A = Args.getLastArg( in getRISCVTargetFeatures() 197 if (const Arg *A = Args.getLastArg( in getRISCVTargetFeatures() 240 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) in getRISCVABI() 308 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getRISCVArch() 312 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getRISCVArch() 344 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getRISCVArch() 385 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in getRISCVTargetCPU()
|
H A D | CSKY.cpp | 30 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 D | PPC.cpp | 83 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mtune_EQ)) in getPPCTuneCPU() 91 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) in getPPCTargetCPU() 152 if (Args.getLastArg(options::OPT_msecure_plt)) in getPPCReadGOTPtrMode() 163 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getPPCFloatABI() 190 Arg *A = Args.getLastArg(options::OPT_mabi_EQ); in hasPPCAbiArg()
|
H A D | X86.cpp | 26 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() 291 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getX86TargetFeatures() 316 Args.getLastArg(options::OPT_m3dnowa, options::OPT_mno_3dnowa, in getX86TargetFeatures() 322 Args.getLastArg(options::OPT_m3dnow, options::OPT_mno_3dnow)) { in getX86TargetFeatures()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Clang.cpp | 73 if (Arg *A = Args.getLastArg(clang::driver::options::OPT_C, options::OPT_CC, in CheckPreprocessingOptions() 91 Args.getLastArg(options::OPT_dynamic, options::OPT_mdynamic_no_pic)) in CheckCodeGenerationOptions() 185 Arg *A = Args.getLastArg(options::OPT_mrecip, options::OPT_mrecip_EQ); in ParseMRecip() 289 Arg *A = Args.getLastArg(options::OPT_mprefer_vector_width_EQ); in ParseMPreferVectorWidth() 375 Arg *ExceptionArg = Args.getLastArg( in addExceptionArgs() 423 if (Arg *A = Args.getLastArg(options::OPT_ffile_compilation_dir_EQ, in addDebugCompDirArg() 526 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldEnableVectorizerAtOLevel() 591 auto *PGOGenerateArg = Args.getLastArg(options::OPT_fprofile_generate, in addPGOAndCoverageFlags() 600 auto *ProfileGenerateArg = Args.getLastArg( in addPGOAndCoverageFlags() 723 if (Arg *A = Args.getLastArg(options::OPT_ffile_compilation_dir_EQ, in addPGOAndCoverageFlags() [all …]
|
H A D | Flang.cpp | 86 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() 210 if (Arg *A = Args.getLastArg(options::OPT_mrvv_vector_bits_EQ)) { in AddRISCVTargetArgs() 253 if (Arg *A = Args.getLastArg(options::OPT_masm_EQ)) { in AddX86_64TargetArgs() 299 if (auto *rtl = Args.getLastArg(options::OPT_fms_runtime_lib_EQ)) { in processVSRuntimeLibrary() 341 if (Arg *A = Args.getLastArg(options::OPT_mcode_object_version_EQ)) { in AddAMDGPUTargetArgs() 385 if (Arg *A = Args.getLastArg(options::OPT_fveclib)) { in addTargetOptions() 423 if (const Arg *A = Args.getLastArg(options::OPT_mtune_EQ)) { in addTargetOptions() [all …]
|
H A D | CommonArgs.cpp | 184 if (Arg *A = Args.getLastArg(options::OPT_mframe_chain)) { in mustMaintainValidFrameChain() 201 if (Arg *A = Args.getLastArg(options::OPT_mframe_chain)) { in framePointerImpliesLeafFramePointer() 266 if (const Arg *A = Args.getLastArg(options::OPT_Rpass_EQ)) in renderRpassOptions() 270 if (const Arg *A = Args.getLastArg(options::OPT_Rpass_missed_EQ)) in renderRpassOptions() 274 if (const Arg *A = Args.getLastArg(options::OPT_Rpass_analysis_EQ)) in renderRpassOptions() 285 if (const Arg *A = Args.getLastArg(options::OPT_fsave_optimization_record_EQ)) in renderRemarksOptions() 289 const Arg *A = Args.getLastArg(options::OPT_foptimization_record_file_EQ); in renderRemarksOptions() 302 Args.getLastArg(options::OPT_foptimization_record_passes_EQ)) in renderRemarksOptions() 319 Args.getLastArg(options::OPT_fdiagnostics_hotness_threshold_EQ)) in renderRemarksHotnessOptions() 502 if (const Arg *A = Args.getLastArg(options::OPT_gz_EQ)) { in addLinkerCompressDebugSectionsOption() [all …]
|
H A D | Hexagon.cpp | 39 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXWarnings() 77 Args.getLastArg(options::OPT_mhexagon_hvx, options::OPT_mhexagon_hvx_EQ, in handleHVXTargetFeatures() 86 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx, in handleHVXTargetFeatures() 95 } else if (Arg *A = Args.getLastArg(options::OPT_mno_hexagon_hvx)) { in handleHVXTargetFeatures() 103 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_length_EQ)) { in handleHVXTargetFeatures() 130 Arg *A = Args.getLastArg(FlagOn, FlagOff); in handleHVXTargetFeatures() 169 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getHexagonTargetFeatures() 228 if (Arg *A = Args.getLastArg(options::OPT_mhexagon_hvx_ieee_fp, in ConstructJob() 535 if (Arg *A = Args.getLastArg(options::OPT_G)) { in getSmallDataThreshold() 537 } else if (Args.getLastArg(options::OPT_shared, options::OPT_fpic, in getSmallDataThreshold() [all …]
|
H A D | Darwin.cpp | 204 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldLinkerNotDedup() 309 if ((A = Args.getLastArg(options::OPT_compatibility__version)) || in AddLinkArgs() 310 (A = Args.getLastArg(options::OPT_current__version)) || in AddLinkArgs() 311 (A = Args.getLastArg(options::OPT_install__name))) in AddLinkArgs() 322 if ((A = Args.getLastArg(options::OPT_bundle)) || in AddLinkArgs() 323 (A = Args.getLastArg(options::OPT_bundle__loader)) || in AddLinkArgs() 324 (A = Args.getLastArg(options::OPT_client__name)) || in AddLinkArgs() 325 (A = Args.getLastArg(options::OPT_force__flat__namespace)) || in AddLinkArgs() 326 (A = Args.getLastArg(options::OPT_keep__private__externs)) || in AddLinkArgs() 327 (A = Args.getLastArg(options::OPT_private__bundle))) in AddLinkArgs() [all …]
|
H A D | OHOS.cpp | 67 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()
|
H A D | ZOS.cpp | 80 Arg *LEHLQArg = Args.getLastArg(options::OPT_mzos_hlq_le_EQ); in getLEHLQ() 90 Arg *ClangHLQArg = Args.getLastArg(options::OPT_mzos_hlq_clang_EQ); in getClangHLQ() 100 Arg *CsslibHLQArg = Args.getLastArg(options::OPT_mzos_hlq_csslib_EQ); in getCSSHLQ() 279 DriverArgs.getLastArg(options::OPT_mzos_sys_include_EQ)) { in AddClangSystemIncludeArgs()
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Driver.cpp | 83 auto *arg = args.getLastArg(id); in getOldNewOptions() 576 if (auto *A = Args.getLastArg(OPT_vctoolsdir)) in detectWinSysRoot() 578 if (auto *A = Args.getLastArg(OPT_vctoolsversion)) in detectWinSysRoot() 580 if (auto *A = Args.getLastArg(OPT_winsysroot)) in detectWinSysRoot() 595 if (const auto *A = Args.getLastArg(OPT_diasdkdir, OPT_winsysroot)) { in detectWinSysRoot() 602 Args.getLastArg(OPT_vctoolsdir, OPT_winsysroot); in detectWinSysRoot() 604 Args.getLastArg(OPT_winsdkdir, OPT_winsysroot)) { in detectWinSysRoot() 606 if (auto *A = Args.getLastArg(OPT_winsdkdir)) in detectWinSysRoot() 608 if (auto *A = Args.getLastArg(OPT_winsdkversion)) in detectWinSysRoot() 855 if (auto *a = args.getLastArg(OPT_debugtype)) { in parseDebugTypes() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 338 if (const Arg *A = Args.getLastArg(Opt, OtherOpt)) { in makeBooleanOptionNormalizer() 406 auto *Arg = Args.getLastArg(Opt); in normalizeSimpleEnum() 447 auto *Arg = Args.getLastArg(Opt); in normalizeString() 457 auto *Arg = Args.getLastArg(Opt); in normalizeStringIntegral() 510 auto *Arg = Args.getLastArg(Opt); in normalizeTriple() 607 Arg *A = Args.getLastArg(OPT_fnew_alignment_EQ); in FixupInvocation() 641 << Args.getLastArg(OPT_fgpu_allow_device_init)->getAsString(Args); in FixupInvocation() 645 << Args.getLastArg(OPT_gpu_max_threads_per_block_EQ)->getAsString(Args); in FixupInvocation() 666 if (Args.getLastArg(OPT_cl_strict_aliasing) && in FixupInvocation() 670 << Args.getLastArg(OPT_cl_strict_aliasing)->getAsString(Args); in FixupInvocation() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | XRayArgs.cpp | 33 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 D | Driver.cpp | 348 if (CCCIsCPP() || (PhaseArg = DAL.getLastArg(options::OPT_E)) || in getFinalPhase() 349 (PhaseArg = DAL.getLastArg(options::OPT__SLASH_EP)) || in getFinalPhase() 350 (PhaseArg = DAL.getLastArg(options::OPT_M, options::OPT_MM)) || in getFinalPhase() 351 (PhaseArg = DAL.getLastArg(options::OPT__SLASH_P)) || in getFinalPhase() 358 } else if ((PhaseArg = DAL.getLastArg(options::OPT__precompile)) || in getFinalPhase() 359 (PhaseArg = DAL.getLastArg(options::OPT_extract_api)) || in getFinalPhase() 360 (PhaseArg = DAL.getLastArg(options::OPT_fmodule_header, in getFinalPhase() 364 } else if ((PhaseArg = DAL.getLastArg(options::OPT_fsyntax_only)) || in getFinalPhase() 365 (PhaseArg = DAL.getLastArg(options::OPT_print_supported_cpus)) || in getFinalPhase() 366 (PhaseArg = DAL.getLastArg(options::OPT_print_enabled_extensions)) || in getFinalPhase() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/ |
H A D | DlltoolDriver.cpp | 192 if (auto *Arg = Args.getLastArg(OPT_m)) in dlltoolDriverMain() 203 if (auto *Arg = Args.getLastArg(OPT_D)) in dlltoolDriverMain() 213 if (!parseModuleDefinition(Args.getLastArg(OPT_N)->getValue(), in dlltoolDriverMain() 219 if (!parseModuleDefinition(Args.getLastArg(OPT_d)->getValue(), Machine, in dlltoolDriverMain()
|
/freebsd/contrib/llvm-project/lldb/tools/driver/ |
H A D | Driver.cpp | 209 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/contrib/llvm-project/clang/tools/driver/ |
H A D | cc1as_main.cpp | 259 if (Arg *A = Args.getLastArg(options::OPT_darwin_target_variant_triple)) in CreateFromArgs() 261 if (Arg *A = Args.getLastArg(OPT_darwin_target_variant_sdk_version_EQ)) { in CreateFromArgs() 284 if (const Arg *A = Args.getLastArg(OPT_compress_debug_sections_EQ)) { in CreateFromArgs() 295 if (auto *DwarfFormatArg = Args.getLastArg(OPT_gdwarf64, OPT_gdwarf32)) in CreateFromArgs() 302 if (const Arg *A = Args.getLastArg(options::OPT_ffile_compilation_dir_EQ, in CreateFromArgs() 329 if (Arg *A = Args.getLastArg(OPT_filetype)) { in CreateFromArgs() 366 if (auto *A = Args.getLastArg(OPT_fembed_bitcode_EQ)) { in CreateFromArgs() 374 if (auto *A = Args.getLastArg(OPT_femit_dwarf_unwind_EQ)) { in CreateFromArgs()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
H A D | llvm-symbolizer.cpp | 411 if (const opt::Arg *A = Args.getLastArg(ID)) { in parseIntArg() 427 if (const opt::Arg *A = Args.getLastArg(OPT_functions_EQ)) in decideHowToPrintFunctions() 438 if (const opt::Arg *A = Args.getLastArg(OPT_color_EQ)) in parseColorArg() 447 const opt::Arg *A = Args.getLastArg(ID); in parseBuildIDArg() 485 if (const opt::Arg *A = Args.getLastArg(OPT_basenames, OPT_relativenames)) { in llvm_symbolizer_main() 541 if (const opt::Arg *A = Args.getLastArg(OPT_output_style_EQ)) { in llvm_symbolizer_main() 567 if (auto *Arg = Args.getLastArg(OPT_obj_EQ); Arg) { in llvm_symbolizer_main()
|
/freebsd/contrib/llvm-project/llvm/lib/Option/ |
H A D | ArgList.cpp | 73 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag() 87 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag() 93 if (Arg *A = getLastArg(Id)) in getLastArgValue() 106 if (Arg *A = getLastArg(Pos, Neg)) in addOptInFlag()
|