Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DTypes.cpp331 if (Driver.CCCIsCPP() || DAL.getLastArg(options::OPT_E) || in getCompilationPhases()
332 DAL.getLastArg(options::OPT__SLASH_EP) || in getCompilationPhases()
333 DAL.getLastArg(options::OPT_M, options::OPT_MM) || 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()
344 DAL.getLastArg(options::OPT_print_supported_cpus) || in getCompilationPhases()
345 DAL.getLastArg(options::OPT_module_file_info) || in getCompilationPhases()
346 DAL.getLastArg(options::OPT_verify_pch) || in getCompilationPhases()
347 DAL.getLastArg(options::OPT_rewrite_objc) || in getCompilationPhases()
[all …]
H A DDriver.cpp295 if (CCCIsCPP() || (PhaseArg = DAL.getLastArg(options::OPT_E)) || in getFinalPhase()
296 (PhaseArg = DAL.getLastArg(options::OPT__SLASH_EP)) || in getFinalPhase()
297 (PhaseArg = DAL.getLastArg(options::OPT_M, options::OPT_MM)) || in getFinalPhase()
298 (PhaseArg = DAL.getLastArg(options::OPT__SLASH_P))) { in getFinalPhase()
302 } else if ((PhaseArg = DAL.getLastArg(options::OPT__precompile))) { in getFinalPhase()
306 } else if ((PhaseArg = DAL.getLastArg(options::OPT_fsyntax_only)) || in getFinalPhase()
307 (PhaseArg = DAL.getLastArg(options::OPT_print_supported_cpus)) || in getFinalPhase()
308 (PhaseArg = DAL.getLastArg(options::OPT_module_file_info)) || in getFinalPhase()
309 (PhaseArg = DAL.getLastArg(options::OPT_verify_pch)) || in getFinalPhase()
310 (PhaseArg = DAL.getLastArg(options::OPT_rewrite_objc)) || in getFinalPhase()
[all …]
H A DXRayArgs.cpp75 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 DToolChain.cpp55 return Args.getLastArg(options::OPT_mkernel, options::OPT_fapple_kext, in GetRTTIArgument()
552 const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ); in GetLinkerPath()
558 if (const Arg *A = Args.getLastArg(options::OPT_ld_path_EQ)) { in GetLinkerPath()
687 if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) { in ComputeLLVMTriple()
757 const Arg* A = Args.getLastArg(options::OPT_rtlib_EQ); in GetRuntimeLibType()
783 const Arg *A = Args.getLastArg(options::OPT_unwindlib_EQ); in GetUnwindLibType()
818 const Arg *A = Args.getLastArg(options::OPT_stdlib_EQ); in GetCXXStdlibType()
969 Args.getLastArg(options::OPT_ffast_math, options::OPT_fno_fast_math, in isFastMathRuntimeAvailable()
1048 const Arg *MSCVersion = Args.getLastArg(options::OPT_fmsc_version); in computeMSVCVersion()
1050 Args.getLastArg(options::OPT_fms_compatibility_version); in computeMSVCVersion()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DClang.cpp56 Args.getLastArg(clang::driver::options::OPT_C, options::OPT_CC)) { in CheckPreprocessingOptions()
70 Args.getLastArg(options::OPT_dynamic, options::OPT_mdynamic_no_pic)) in CheckCodeGenerationOptions()
192 Arg *A = Args.getLastArg(options::OPT_mrecip, options::OPT_mrecip_EQ); in ParseMRecip()
288 Arg *A = Args.getLastArg(options::OPT_mprefer_vector_width_EQ); in ParseMPreferVectorWidth()
452 Arg *ExceptionArg = Args.getLastArg( in addExceptionArgs()
615 Arg *A = Args.getLastArg(options::OPT_fomit_frame_pointer, in getFramePointerKind()
635 if (Arg *A = Args.getLastArg(options::OPT_ffile_compilation_dir_EQ, in addDebugCompDirArg()
696 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldEnableVectorizerAtOLevel()
761 auto *PGOGenerateArg = Args.getLastArg(options::OPT_fprofile_generate, in addPGOAndCoverageFlags()
768 auto *CSPGOGenerateArg = Args.getLastArg(options::OPT_fcs_profile_generate, in addPGOAndCoverageFlags()
[all …]
H A DCommonArgs.cpp66 if (const Arg *A = Args.getLastArg(options::OPT_Rpass_EQ)) in renderRpassOptions()
70 if (const Arg *A = Args.getLastArg(options::OPT_Rpass_missed_EQ)) in renderRpassOptions()
74 if (const Arg *A = Args.getLastArg(options::OPT_Rpass_analysis_EQ)) in renderRpassOptions()
84 if (const Arg *A = Args.getLastArg(options::OPT_fsave_optimization_record_EQ)) in renderRemarksOptions()
88 const Arg *A = Args.getLastArg(options::OPT_foptimization_record_file_EQ); in renderRemarksOptions()
101 Args.getLastArg(options::OPT_foptimization_record_passes_EQ)) in renderRemarksOptions()
116 Args.getLastArg(options::OPT_fdiagnostics_hotness_threshold_EQ)) in renderRemarksHotnessOptions()
283 if (const Arg *A = Args.getLastArg(options::OPT_gz_EQ)) { in addLinkerCompressDebugSectionsOption()
297 if (Arg *A = Args.getLastArg(OnOpt, OffOpt)) { in AddTargetFeature()
308 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getAMDGPUTargetGPU()
[all …]
H A DDarwin.cpp190 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { in shouldLinkerNotDedup()
292 if ((A = Args.getLastArg(options::OPT_compatibility__version)) || in AddLinkArgs()
293 (A = Args.getLastArg(options::OPT_current__version)) || in AddLinkArgs()
294 (A = Args.getLastArg(options::OPT_install__name))) in AddLinkArgs()
305 if ((A = Args.getLastArg(options::OPT_bundle)) || in AddLinkArgs()
306 (A = Args.getLastArg(options::OPT_bundle__loader)) || in AddLinkArgs()
307 (A = Args.getLastArg(options::OPT_client__name)) || in AddLinkArgs()
308 (A = Args.getLastArg(options::OPT_force__flat__namespace)) || in AddLinkArgs()
309 (A = Args.getLastArg(options::OPT_keep__private__externs)) || in AddLinkArgs()
310 (A = Args.getLastArg(options::OPT_private__bundle))) in AddLinkArgs()
[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 DHexagon.cpp39 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()
638 Arg *A = Args.getLastArg(options::OPT_stdlib_EQ); in GetCXXStdlibType()
658 if (Arg *A = Args.getLastArg(options::OPT_fvectorize, in isAutoHVXEnabled()
674 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in GetTargetCPUVersion()
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()
H A DWebAssembly.cpp38 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()
/netbsd-src/external/apache2/llvm/dist/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()
156 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getMipsFloatABI()
231 Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC, in getMIPSTargetFeatures()
248 Args.getLastArg(options::OPT_mabicalls, options::OPT_mno_abicalls); in getMIPSTargetFeatures()
266 if (Arg *A = Args.getLastArg(options::OPT_mlong_calls, in getMIPSTargetFeatures()
276 if (Arg *A = Args.getLastArg(options::OPT_mxgot, options::OPT_mno_xgot)) { 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()
[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.cpp35 if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) { in getAArch64TargetCPU()
59 if (Args.getLastArg(options::OPT_arch) || Triple.isOSDarwin()) in getAArch64TargetCPU()
193 if ((A = Args.getLastArg(options::OPT_march_EQ))) in getAArch64TargetFeatures()
195 else if ((A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
201 if (success && (A = Args.getLastArg(clang::driver::options::OPT_mtune_EQ))) in getAArch64TargetFeatures()
204 else if (success && (A = Args.getLastArg(options::OPT_mcpu_EQ))) in getAArch64TargetFeatures()
215 if (Args.getLastArg(options::OPT_mgeneral_regs_only)) { in getAArch64TargetFeatures()
221 if (Arg *A = Args.getLastArg(options::OPT_mtp_mode_EQ)) { in getAArch64TargetFeatures()
234 if (Arg *A = Args.getLastArg(options::OPT_mharden_sls_EQ)) { in getAArch64TargetFeatures()
281 if (Arg *A = Args.getLastArg(options::OPT_mcrc, options::OPT_mnocrc)) { in getAArch64TargetFeatures()
[all …]
H A DARM.cpp44 if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_mcpu_EQ)) in getARMArchCPUFromArgs()
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()
284 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in setFloatABIInTriple()
368 Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, in getARMFloatABI()
476 const Arg *ArchArg = Args.getLastArg(options::OPT_march_EQ); in getARMTargetFeatures()
477 const Arg *CPUArg = Args.getLastArg(options::OPT_mcpu_EQ); in getARMTargetFeatures()
[all …]
H A DPPC.cpp25 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 DRISCV.cpp490 if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) in getRISCVTargetFeatures()
601 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) in getRISCVABI()
680 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) in getRISCVArch()
684 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) { in getRISCVArch()
696 if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) { in getRISCVArch()
H A DM68k.cpp28 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp113 openFile(Args.getLastArg(OPT_d)->getValue()); in dlltoolDriverMain()
123 if (auto *Arg = Args.getLastArg(OPT_m)) in dlltoolDriverMain()
141 if (auto *Arg = Args.getLastArg(OPT_D)) in dlltoolDriverMain()
163 if (Machine == IMAGE_FILE_MACHINE_I386 && Args.getLastArg(OPT_k)) { in dlltoolDriverMain()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A Ddsymutil.cpp198 if (opt::Arg *Accelerator = Args.getLastArg(OPT_accelerator)) { in getAccelTableKind()
237 if (opt::Arg *ReproducerPath = Args.getLastArg(OPT_use_reproducer)) { in getOptions()
251 if (opt::Arg *SymbolMap = Args.getLastArg(OPT_symbolmap)) in getOptions()
267 if (opt::Arg *OsoPrependPath = Args.getLastArg(OPT_oso_prepend_path)) in getOptions()
276 if (opt::Arg *OutputFile = Args.getLastArg(OPT_output)) in getOptions()
279 if (opt::Arg *Toolchain = Args.getLastArg(OPT_toolchain)) in getOptions()
285 if (opt::Arg *NumThreads = Args.getLastArg(OPT_threads)) in getOptions()
296 if (opt::Arg *RemarksPrependPath = Args.getLastArg(OPT_remarks_prepend_path)) in getOptions()
300 Args.getLastArg(OPT_remarks_output_format)) { in getOptions()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DCompilerInvocation.cpp210 if (const Arg *A = Args.getLastArg(Opt, OtherOpt)) { in makeBooleanOptionNormalizer()
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()
480 Arg *A = Args.getLastArg(OPT_fnew_alignment_EQ); in FixupInvocation()
497 << Args.getLastArg(OPT_fgpu_allow_device_init)->getAsString(Args); in FixupInvocation()
501 << Args.getLastArg(OPT_gpu_max_threads_per_block_EQ)->getAsString(Args); in FixupInvocation()
506 if (Args.getLastArg(OPT_cl_strict_aliasing) && LangOpts.OpenCLVersion > 100) in FixupInvocation()
509 << Args.getLastArg(OPT_cl_strict_aliasing)->getAsString(Args); in FixupInvocation()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cvtres/
H A Dllvm-cvtres.cpp134 if (opt::Arg *Arg = InputArgs.getLastArg(OPT_MACHINE)) { in main()
154 if (opt::Arg *Arg = InputArgs.getLastArg(OPT_OUT)) { in main()
162 if (llvm::opt::Arg *Arg = InputArgs.getLastArg(OPT_TIMESTAMP)) { in main()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp237 if (const opt::Arg *A = Args.getLastArg(ID)) { in parseIntArg()
253 if (const opt::Arg *A = Args.getLastArg(OPT_functions_EQ)) in decideHowToPrintFunctions()
275 if (const opt::Arg *A = Args.getLastArg(OPT_basenames, OPT_relativenames)) { in main()
319 if (const opt::Arg *A = Args.getLastArg(OPT_output_style_EQ)) { in main()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/driver/
H A Dcc1as_main.cpp226 if (const Arg *A = Args.getLastArg(OPT_compress_debug_sections_EQ)) { in CreateFromArgs()
236 if (auto *DwarfFormatArg = Args.getLastArg(OPT_gdwarf64, OPT_gdwarf32)) in CreateFromArgs()
243 if (const Arg *A = Args.getLastArg(options::OPT_ffile_compilation_dir_EQ, in CreateFromArgs()
271 if (Arg *A = Args.getLastArg(OPT_filetype)) { in CreateFromArgs()
307 if (auto *A = Args.getLastArg(OPT_fembed_bitcode_EQ)) { in CreateFromArgs()

12