Home
last modified time | relevance | path

Searched refs:hasArg (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DM68k.cpp77 if (Args.hasArg(options::OPT_ffixed_a0)) in getM68kTargetFeatures()
79 if (Args.hasArg(options::OPT_ffixed_a1)) in getM68kTargetFeatures()
81 if (Args.hasArg(options::OPT_ffixed_a2)) in getM68kTargetFeatures()
83 if (Args.hasArg(options::OPT_ffixed_a3)) in getM68kTargetFeatures()
85 if (Args.hasArg(options::OPT_ffixed_a4)) in getM68kTargetFeatures()
87 if (Args.hasArg(options::OPT_ffixed_a5)) in getM68kTargetFeatures()
89 if (Args.hasArg(options::OPT_ffixed_a6)) in getM68kTargetFeatures()
91 if (Args.hasArg(options::OPT_ffixed_d0)) in getM68kTargetFeatures()
93 if (Args.hasArg(options::OPT_ffixed_d1)) in getM68kTargetFeatures()
95 if (Args.hasArg(options::OPT_ffixed_d2)) in getM68kTargetFeatures()
[all …]
H A DAArch64.cpp425 if (Args.hasArg(options::OPT_ffixed_x1)) in getAArch64TargetFeatures()
428 if (Args.hasArg(options::OPT_ffixed_x2)) in getAArch64TargetFeatures()
431 if (Args.hasArg(options::OPT_ffixed_x3)) in getAArch64TargetFeatures()
434 if (Args.hasArg(options::OPT_ffixed_x4)) in getAArch64TargetFeatures()
437 if (Args.hasArg(options::OPT_ffixed_x5)) in getAArch64TargetFeatures()
440 if (Args.hasArg(options::OPT_ffixed_x6)) in getAArch64TargetFeatures()
443 if (Args.hasArg(options::OPT_ffixed_x7)) in getAArch64TargetFeatures()
446 if (Args.hasArg(options::OPT_ffixed_x9)) in getAArch64TargetFeatures()
449 if (Args.hasArg(options::OPT_ffixed_x10)) in getAArch64TargetFeatures()
452 if (Args.hasArg(options::OPT_ffixed_x11)) in getAArch64TargetFeatures()
[all …]
H A DRISCV.cpp496 if (Args.hasArg(options::OPT_ffixed_x1)) in getRISCVTargetFeatures()
498 if (Args.hasArg(options::OPT_ffixed_x2)) in getRISCVTargetFeatures()
500 if (Args.hasArg(options::OPT_ffixed_x3)) in getRISCVTargetFeatures()
502 if (Args.hasArg(options::OPT_ffixed_x4)) in getRISCVTargetFeatures()
504 if (Args.hasArg(options::OPT_ffixed_x5)) in getRISCVTargetFeatures()
506 if (Args.hasArg(options::OPT_ffixed_x6)) in getRISCVTargetFeatures()
508 if (Args.hasArg(options::OPT_ffixed_x7)) in getRISCVTargetFeatures()
510 if (Args.hasArg(options::OPT_ffixed_x8)) in getRISCVTargetFeatures()
512 if (Args.hasArg(options::OPT_ffixed_x9)) in getRISCVTargetFeatures()
514 if (Args.hasArg(options::OPT_ffixed_x10)) in getRISCVTargetFeatures()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp194 opts::Addrsig = Args.hasArg(OPT_addrsig); in parseOptions()
195 opts::All = Args.hasArg(OPT_all); in parseOptions()
205 opts::Headers = Args.hasArg(OPT_headers); in parseOptions()
213 if (Args.hasArg(OPT_section_mapping)) in parseOptions()
223 opts::Symbols = Args.hasArg(OPT_symbols); in parseOptions()
224 opts::UnwindInfo = Args.hasArg(OPT_unwind); in parseOptions()
243 opts::Notes = Args.hasArg(OPT_notes); in parseOptions()
245 opts::RawRelr = Args.hasArg(OPT_raw_relr); in parseOptions()
258 opts::CodeView = Args.hasArg(OPT_codeview); in parseOptions()
555 if (Args.hasArg(OPT_help)) { in main()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDragonFly.cpp65 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
68 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
70 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
95 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
96 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
100 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
109 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
125 if (!Args.hasArg(options::OPT_static)) { in ConstructJob()
136 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
143 if (Args.hasArg(options::OPT_static) || in ConstructJob()
[all …]
H A DOpenBSD.cpp119 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
122 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
125 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
133 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
135 if (Args.hasArg(options::OPT_nopie) || Args.hasArg(options::OPT_pg)) in ConstructJob()
148 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
149 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
185 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
203 if (!Args.hasArg(options::OPT_shared) && Args.hasArg(options::OPT_pg)) in ConstructJob()
210 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
[all …]
H A DPS4CPU.cpp45 Args.hasArg(options::OPT_coverage))) in addProfileRTArgs()
114 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
117 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
119 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
144 if (Args.hasArg(options::OPT_pthread)) { in ConstructJob()
196 if (!Args.hasArg(options::OPT_nostdinc) && in PS4CPU()
198 !Args.hasArg(options::OPT_isysroot) && in PS4CPU()
207 if (!Args.hasArg(options::OPT_nostdlib) && in PS4CPU()
209 !Args.hasArg(options::OPT__sysroot_EQ) && !Args.hasArg(options::OPT_E) && in PS4CPU()
210 !Args.hasArg(options::OPT_c) && !Args.hasArg(options::OPT_S) && in PS4CPU()
[all …]
H A DMinGW.cpp56 if (Args.hasArg(options::OPT_gsplit_dwarf)) in ConstructJob()
63 if (Args.hasArg(options::OPT_mthreads)) in AddLibGCC()
116 if (Args.hasArg(options::OPT_s)) in ConstructJob()
150 if (Args.hasArg(options::OPT_mdll)) in ConstructJob()
152 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
154 if (Args.hasArg(options::OPT_static)) in ConstructJob()
158 if (Args.hasArg(options::OPT_mdll) || Args.hasArg(options::OPT_shared)) { in ConstructJob()
188 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_mdll)) { in ConstructJob()
196 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
238 if (Args.hasArg(options::OPT_static)) in ConstructJob()
[all …]
H A DCrossWindows.cpp87 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
89 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
91 if (Args.hasArg(options::OPT_s)) in ConstructJob()
115 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
158 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_rdynamic)) { in ConstructJob()
180 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
181 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
190 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
245 if (DriverArgs.hasArg(options::OPT_nostdinc)) { in AddClangSystemIncludeArgs()
265 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangCXXStdlibIncludeArgs()
[all …]
H A DFuchsia.cpp69 if (!Args.hasArg(options::OPT_shared) && !Args.hasArg(options::OPT_r)) in ConstructJob()
72 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
75 if (Args.hasArg(options::OPT_s)) in ConstructJob()
78 if (Args.hasArg(options::OPT_r)) { in ConstructJob()
87 if (Args.hasArg(options::OPT_static)) in ConstructJob()
89 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
94 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
111 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
133 if (Args.hasArg(options::OPT_static)) in ConstructJob()
161 Args.hasArg(options::OPT_pthreads)) in ConstructJob()
[all …]
H A DNaCl.cpp60 !Args.hasArg(options::OPT_dynamic) && !Args.hasArg(options::OPT_shared); in ConstructJob()
75 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
78 if (Args.hasArg(options::OPT_s)) in ConstructJob()
103 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
109 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
116 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
147 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
148 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
154 if (Args.hasArg(options::OPT_pthread) || in ConstructJob()
183 if (!Args.hasArg(options::OPT_nostartfiles)) { in ConstructJob()
[all …]
H A DAnanas.cpp67 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
70 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
72 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
88 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
89 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
93 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) { in ConstructJob()
116 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) in ConstructJob()
119 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
120 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
H A DSolaris.cpp58 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_shared)) { in ConstructJob()
63 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
68 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
86 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
128 if (Args.hasArg(options::OPT_fstack_protector) || in ConstructJob()
129 Args.hasArg(options::OPT_fstack_protector_strong) || in ConstructJob()
130 Args.hasArg(options::OPT_fstack_protector_all)) { in ConstructJob()
137 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
230 if (!DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
233 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
[all …]
H A DFreeBSD.cpp147 !Args.hasArg(options::OPT_shared) && in ConstructJob()
166 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
169 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
171 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
252 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
253 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
266 if (Args.hasArg(options::OPT_static)) in ConstructJob()
322 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
332 if (Args.hasArg(options::OPT_pthread)) { in ConstructJob()
340 if (Args.hasArg(options::OPT_shared)) in ConstructJob()
[all …]
H A DAIX.cpp92 if (Args.hasArg(options::OPT_static)) in ConstructJob()
96 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
123 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
126 else if (Args.hasArg(options::OPT_p)) in ConstructJob()
132 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
158 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructJob()
162 if (Args.hasArg(options::OPT_pthreads, options::OPT_pthread)) in ConstructJob()
188 if (DriverArgs.hasArg(options::OPT_isysroot)) in GetHeaderSysroot()
198 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
205 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
[all …]
H A DVEToolchain.cpp66 if (DriverArgs.hasArg(clang::driver::options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
69 if (DriverArgs.hasArg(options::OPT_nobuiltininc) && in AddClangSystemIncludeArgs()
70 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
73 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
79 if (!DriverArgs.hasArg(options::OPT_nostdlibinc)) { in AddClangSystemIncludeArgs()
105 if (DriverArgs.hasArg(clang::driver::options::OPT_nostdinc) || in AddClangCXXStdlibIncludeArgs()
106 DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
107 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
H A DXCore.cpp38 if (Args.hasArg(options::OPT_v)) in ConstructJob()
73 if (Args.hasArg(options::OPT_v)) in ConstructJob()
115 if (DriverArgs.hasArg(clang::driver::options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
116 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
135 if (DriverArgs.hasArg(clang::driver::options::OPT_nostdinc) || in AddClangCXXStdlibIncludeArgs()
136 DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
137 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
H A DNetBSD.cpp125 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
127 if (Args.hasArg(options::OPT_pie)) { in ConstructJob()
132 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
134 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
234 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
240 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) { in ConstructJob()
296 !Args.hasArg(options::OPT_static); in ConstructJob()
308 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
313 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
330 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
[all …]
H A DHexagon.cpp213 bool IsStatic = Args.hasArg(options::OPT_static); in constructHexagonLinkArgs()
214 bool IsShared = Args.hasArg(options::OPT_shared); in constructHexagonLinkArgs()
215 bool IsPIE = Args.hasArg(options::OPT_pie); in constructHexagonLinkArgs()
216 bool IncStdLib = !Args.hasArg(options::OPT_nostdlib); in constructHexagonLinkArgs()
238 if (Args.hasArg(options::OPT_s)) in constructHexagonLinkArgs()
241 if (Args.hasArg(options::OPT_r)) in constructHexagonLinkArgs()
279 else if (Args.hasArg(options::OPT_shared) && in constructHexagonLinkArgs()
478 bool HasG0 = Args.hasArg(options::OPT_shared); in getHexagonLibraryPaths()
579 if (DriverArgs.hasArg(options::OPT_ffixed_r19)) { in addClangTargetOptions()
591 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
[all …]
H A DMSP430.cpp150 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
151 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
202 if (Args.hasArg(options::OPT_msim)) { in AddDefaultLibs()
243 if (Args.hasArg(options::OPT_T)) in AddImplicitLinkerScript()
246 if (Args.hasArg(options::OPT_msim)) { in AddImplicitLinkerScript()
274 bool UseStartAndEndFiles = !Args.hasArg(options::OPT_nostdlib, options::OPT_r, in ConstructJob()
277 if (Args.hasArg(options::OPT_mrelax)) in ConstructJob()
279 if (!Args.hasArg(options::OPT_r, options::OPT_g_Group)) in ConstructJob()
297 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_r, in ConstructJob()
301 if (!Args.hasArg(options::OPT_nolibc)) { in ConstructJob()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DConfigManager.cpp656 if (InputArgs.hasArg(OBJCOPY_help)) { in parseObjcopyOptions()
661 if (InputArgs.hasArg(OBJCOPY_version)) { in parseObjcopyOptions()
689 if (InputArgs.hasArg(OBJCOPY_target) && in parseObjcopyOptions()
690 (InputArgs.hasArg(OBJCOPY_input_target) || in parseObjcopyOptions()
691 InputArgs.hasArg(OBJCOPY_output_target))) in parseObjcopyOptions()
696 if (InputArgs.hasArg(OBJCOPY_regex) && InputArgs.hasArg(OBJCOPY_wildcard)) in parseObjcopyOptions()
709 if (InputArgs.hasArg(OBJCOPY_target)) { in parseObjcopyOptions()
1202 if (InputArgs.hasArg(BITCODE_STRIP_help)) { in parseBitcodeStripOptions()
1255 if (InputArgs.hasArg(STRIP_help)) { in parseStripOptions()
1260 if (InputArgs.hasArg(STRIP_version)) { in parseStripOptions()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/tools/driver/
H A DDriver.cpp197 if (args.hasArg(OPT_version)) { in ProcessArgs()
201 if (args.hasArg(OPT_python_path)) { in ProcessArgs()
205 if (args.hasArg(OPT_batch)) { in ProcessArgs()
221 if (args.hasArg(OPT_editor)) { in ProcessArgs()
225 if (args.hasArg(OPT_no_lldbinit)) { in ProcessArgs()
230 if (args.hasArg(OPT_local_lldbinit)) { in ProcessArgs()
235 if (args.hasArg(OPT_no_use_colors)) { in ProcessArgs()
271 if (args.hasArg(OPT_source_quietly)) { in ProcessArgs()
280 if (args.hasArg(OPT_wait_for)) { in ProcessArgs()
306 if (args.hasArg(OPT_repl)) { in ProcessArgs()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DDriver.cpp766 if (args.hasArg(OPT_driver)) in parseDebugTypes()
768 if (args.hasArg(OPT_profile)) in parseDebugTypes()
1310 if (args.hasArg(OPT_help)) { in linkerMain()
1393 if (args.hasArg(OPT_verbose)) in linkerMain()
1442 if (args.hasArg(OPT_natvis)) in linkerMain()
1463 if (args.hasArg(OPT_dll)) in linkerMain()
1470 if (args.hasArg(OPT_dll)) { in linkerMain()
1591 if (args.hasArg(OPT_profile)) in linkerMain()
1656 if (args.hasArg(OPT_kill_at)) in linkerMain()
1759 !args.hasArg(OPT_order) && !args.hasArg(OPT_profile)); in linkerMain()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DDriver.cpp484 if (args.hasArg(OPT_help)) { in linkerMain()
504 if (args.hasArg(OPT_v) || args.hasArg(OPT_version)) in linkerMain()
528 if (args.hasArg(OPT_v) && !args.hasArg(OPT_INPUT)) in linkerMain()
530 if (args.hasArg(OPT_version)) in linkerMain()
703 if (args.hasArg(OPT_relocatable)) in getStrip()
1057 args.hasArg(OPT_fix_cortex_a8) && !args.hasArg(OPT_relocatable); in readConfigs()
1300 if (args.hasArg(OPT_Ttext_segment)) in readConfigs()
1327 if (args.hasArg(OPT_print_map)) in readConfigs()
2169 if (!args.hasArg(OPT_hash_style)) { in link()
2291 if (args.hasArg(OPT_exclude_libs)) in link()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp221 Opts.NoInitialTextSection = Args.hasArg(OPT_n); in CreateFromArgs()
222 Opts.SaveTemporaryLabels = Args.hasArg(OPT_msave_temp_labels); in CreateFromArgs()
255 if (Args.hasArg(OPT_INPUT)) { in CreateFromArgs()
284 Opts.ShowHelp = Args.hasArg(OPT_help); in CreateFromArgs()
285 Opts.ShowVersion = Args.hasArg(OPT_version); in CreateFromArgs()
290 Opts.ShowEncoding = Args.hasArg(OPT_show_encoding); in CreateFromArgs()
291 Opts.ShowInst = Args.hasArg(OPT_show_inst); in CreateFromArgs()
294 Opts.RelaxAll = Args.hasArg(OPT_mrelax_all); in CreateFromArgs()
295 Opts.NoExecStack = Args.hasArg(OPT_mno_exec_stack); in CreateFromArgs()
297 Opts.NoWarn = Args.hasArg(OPT_massembler_no_warn); in CreateFromArgs()
[all …]

123