Lines Matching refs:hasArg
41 Args.hasArg(options::OPT_fcreate_profile) || in addProfileRTArgs()
42 Args.hasArg(options::OPT_coverage))) in addProfileRTArgs()
109 if (Args.hasArg(options::OPT_pie)) in ConstructPS4LinkJob()
112 if (Args.hasArg(options::OPT_rdynamic)) in ConstructPS4LinkJob()
114 if (Args.hasArg(options::OPT_shared)) in ConstructPS4LinkJob()
124 if(!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) in ConstructPS4LinkJob()
134 if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) in ConstructPS4LinkJob()
139 if (Args.hasArg(options::OPT_pthread)) { in ConstructPS4LinkJob()
169 if (Args.hasArg(options::OPT_pie)) in ConstructGoldLinkJob()
172 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
175 if (Args.hasArg(options::OPT_rdynamic)) in ConstructGoldLinkJob()
178 if (Args.hasArg(options::OPT_shared)) { in ConstructGoldLinkJob()
194 if(!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) in ConstructGoldLinkJob()
197 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructGoldLinkJob()
199 if (!Args.hasArg(options::OPT_shared)) { in ConstructGoldLinkJob()
200 if (Args.hasArg(options::OPT_pg)) in ConstructGoldLinkJob()
202 else if (Args.hasArg(options::OPT_pie)) in ConstructGoldLinkJob()
213 if (Args.hasArg(options::OPT_static)) in ConstructGoldLinkJob()
215 else if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructGoldLinkJob()
231 if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) in ConstructGoldLinkJob()
236 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) { in ConstructGoldLinkJob()
243 if (Args.hasArg(options::OPT_pg)) in ConstructGoldLinkJob()
250 if (Args.hasArg(options::OPT_pg)) in ConstructGoldLinkJob()
254 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
256 } else if (Args.hasArg(options::OPT_pg)) { in ConstructGoldLinkJob()
264 if (Args.hasArg(options::OPT_pthread)) { in ConstructGoldLinkJob()
265 if (Args.hasArg(options::OPT_pg)) in ConstructGoldLinkJob()
271 if (Args.hasArg(options::OPT_pg)) { in ConstructGoldLinkJob()
272 if (Args.hasArg(options::OPT_shared)) in ConstructGoldLinkJob()
275 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
286 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
297 if (Args.hasArg(options::OPT_static)) { in ConstructGoldLinkJob()
299 } else if (Args.hasArg(options::OPT_pg)) { in ConstructGoldLinkJob()
308 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructGoldLinkJob()
309 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructGoldLinkJob()
347 PS4Linker = !Args.hasArg(options::OPT_shared); in ConstructJob()
358 if (Args.hasArg(clang::driver::options::OPT_static)) in PS4CPU()
390 if (!Args.hasArg(options::OPT_nostdinc) && in PS4CPU()
391 !Args.hasArg(options::OPT_nostdlibinc) && in PS4CPU()
392 !Args.hasArg(options::OPT_isysroot) && in PS4CPU()
393 !Args.hasArg(options::OPT__sysroot_EQ) && in PS4CPU()
401 if (!Args.hasArg(options::OPT_nostdlib) && in PS4CPU()
402 !Args.hasArg(options::OPT_nodefaultlibs) && in PS4CPU()
403 !Args.hasArg(options::OPT__sysroot_EQ) && !Args.hasArg(options::OPT_E) && in PS4CPU()
404 !Args.hasArg(options::OPT_c) && !Args.hasArg(options::OPT_S) && in PS4CPU()
405 !Args.hasArg(options::OPT_emit_ast) && in PS4CPU()