Lines Matching refs:hasArg
64 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable))
207 Opts.ShowCheckerHelp = Args.hasArg(OPT_analyzer_checker_help);
209 Args.hasArg(OPT_analyzer_viz_egraph_graphviz);
211 Args.hasArg(OPT_analyzer_viz_egraph_ubigraph);
212 Opts.NoRetryExhausted = Args.hasArg(OPT_analyzer_disable_retry_exhausted);
213 Opts.AnalyzeAll = Args.hasArg(OPT_analyzer_opt_analyze_headers);
214 Opts.AnalyzerDisplayProgress = Args.hasArg(OPT_analyzer_display_progress);
216 Args.hasArg(OPT_analyzer_opt_analyze_nested_blocks);
217 Opts.eagerlyAssumeBinOpBifurcation = Args.hasArg(OPT_analyzer_eagerly_assume);
219 Opts.UnoptimizedCFG = Args.hasArg(OPT_analysis_UnoptimizedCFG);
220 Opts.TrimGraph = Args.hasArg(OPT_trim_egraph);
222 Opts.PrintStats = Args.hasArg(OPT_analyzer_stats);
277 Opts.NoNSAllocReallocError = Args.hasArg(OPT_migrator_no_nsalloc_error);
278 Opts.NoFinalizeRemoval = Args.hasArg(OPT_migrator_no_finalize_removal);
305 Opts.NoInline = Args.hasArg(OPT_fno_inline);
306 Opts.setInlining(Args.hasArg(OPT_fno_inline_functions) ?
309 if (Args.hasArg(OPT_gline_tables_only)) {
311 } else if (Args.hasArg(OPT_g_Flag)) {
317 Opts.DebugColumnInfo = Args.hasArg(OPT_dwarf_column_info);
320 Opts.ModulesAutolink = Args.hasArg(OPT_fmodules_autolink);
321 Opts.DisableLLVMOpts = Args.hasArg(OPT_disable_llvm_optzns);
322 Opts.DisableRedZone = Args.hasArg(OPT_disable_red_zone);
323 Opts.ForbidGuardVariables = Args.hasArg(OPT_fforbid_guard_variables);
324 Opts.UseRegisterSizedBitfieldAccess = Args.hasArg(
326 Opts.RelaxedAliasing = Args.hasArg(OPT_relaxed_aliasing);
328 Opts.MergeAllConstants = !Args.hasArg(OPT_fno_merge_all_constants);
329 Opts.NoCommon = Args.hasArg(OPT_fno_common);
330 Opts.NoImplicitFloat = Args.hasArg(OPT_no_implicit_float);
332 Opts.SimplifyLibCalls = !(Args.hasArg(OPT_fno_builtin) ||
333 Args.hasArg(OPT_ffreestanding));
334 Opts.UnrollLoops = Args.hasArg(OPT_funroll_loops) ||
337 Opts.AsmVerbose = Args.hasArg(OPT_masm_verbose);
338 Opts.ObjCAutoRefCountExceptions = Args.hasArg(OPT_fobjc_arc_exceptions);
339 Opts.CUDAIsDevice = Args.hasArg(OPT_fcuda_is_device);
340 Opts.CXAAtExit = !Args.hasArg(OPT_fno_use_cxa_atexit);
341 Opts.CXXCtorDtorAliases = Args.hasArg(OPT_mconstructor_aliases);
344 Opts.DisableFPElim = Args.hasArg(OPT_mdisable_fp_elim);
345 Opts.DisableTailCalls = Args.hasArg(OPT_mdisable_tail_calls);
347 Opts.HiddenWeakVTables = Args.hasArg(OPT_fhidden_weak_vtables);
348 Opts.LessPreciseFPMAD = Args.hasArg(OPT_cl_mad_enable);
350 Opts.NoInfsFPMath = (Args.hasArg(OPT_menable_no_infinities) ||
351 Args.hasArg(OPT_cl_finite_math_only)||
352 Args.hasArg(OPT_cl_fast_relaxed_math));
353 Opts.NoNaNsFPMath = (Args.hasArg(OPT_menable_no_nans) ||
354 Args.hasArg(OPT_cl_finite_math_only)||
355 Args.hasArg(OPT_cl_fast_relaxed_math));
356 Opts.NoZeroInitializedInBSS = Args.hasArg(OPT_mno_zero_initialized_in_bss);
359 Opts.NoGlobalMerge = Args.hasArg(OPT_mno_global_merge);
360 Opts.NoExecStack = Args.hasArg(OPT_mno_exec_stack);
361 Opts.RelaxAll = Args.hasArg(OPT_mrelax_all);
362 Opts.OmitLeafFramePointer = Args.hasArg(OPT_momit_leaf_frame_pointer);
363 Opts.SaveTempLabels = Args.hasArg(OPT_msave_temp_labels);
364 Opts.NoDwarf2CFIAsm = Args.hasArg(OPT_fno_dwarf2_cfi_asm);
365 Opts.NoDwarfDirectoryAsm = Args.hasArg(OPT_fno_dwarf_directory_asm);
366 Opts.SoftFloat = Args.hasArg(OPT_msoft_float);
367 Opts.StrictEnums = Args.hasArg(OPT_fstrict_enums);
368 Opts.UnsafeFPMath = Args.hasArg(OPT_menable_unsafe_fp_math) ||
369 Args.hasArg(OPT_cl_unsafe_math_optimizations) ||
370 Args.hasArg(OPT_cl_fast_relaxed_math);
371 Opts.UnwindTables = Args.hasArg(OPT_munwind_tables);
374 Opts.UseInitArray = Args.hasArg(OPT_fuse_init_array);
376 Opts.FunctionSections = Args.hasArg(OPT_ffunction_sections);
377 Opts.DataSections = Args.hasArg(OPT_fdata_sections);
380 Opts.VerifyModule = !Args.hasArg(OPT_disable_llvm_verifier);
381 Opts.SanitizeRecover = !Args.hasArg(OPT_fno_sanitize_recover);
383 Opts.EmitGcovArcs = Args.hasArg(OPT_femit_coverage_data);
384 Opts.EmitGcovNotes = Args.hasArg(OPT_femit_coverage_notes);
387 Opts.CoverageExtraChecksum = Args.hasArg(OPT_coverage_cfg_checksum);
389 Args.hasArg(OPT_coverage_function_names_in_data);
390 if (Args.hasArg(OPT_coverage_version_EQ)) {
402 Opts.InstrumentFunctions = Args.hasArg
403 Opts.InstrumentForProfiling = Args.hasArg(OPT_pg);
404 Opts.EmitOpenCLArgMetadata = Args.hasArg(OPT_cl_kernel_arg_info);
409 Args.hasArg(OPT_fsanitize_memory_track_origins);
411 Args.hasArg(OPT_fsanitize_address_zero_base_shadow);
413 Args.hasArg(OPT_fsanitize_undefined_trap_on_error);
416 Opts.StackRealignment = Args.hasArg(OPT_mstackrealign);
476 Opts.IncludeSystemHeaders = Args.hasArg(OPT_sys_header_deps);
477 Opts.UsePhonyTargets = Args.hasArg(OPT_MP);
478 Opts.ShowHeaderIncludes = Args.hasArg(OPT_H);
480 Opts.AddMissingHeaderDeps = Args.hasArg(OPT_MG);
492 Opts.IgnoreWarnings = Args.hasArg(OPT_w);
493 Opts.NoRewriteMacros = Args.hasArg(OPT_Wno_rewrite_macros);
494 Opts.Pedantic = Args.hasArg(OPT_pedantic);
495 Opts.PedanticErrors = Args.hasArg(OPT_pedantic_errors);
496 Opts.ShowCarets = !Args.hasArg(OPT_fno_caret_diagnostics);
497 Opts.ShowColors = Args.hasArg(OPT_fcolor_diagnostics);
501 Opts.ShowFixits = !Args.hasArg(OPT_fno_diagnostics_fixit_info);
502 Opts.ShowLocation = !Args.hasArg(OPT_fno_show_source_location);
503 Opts.ShowOptionNames = Args.hasArg(OPT_fdiagnostics_show_option);
558 Opts.ShowSourceRanges = Args.hasArg(OPT_fdiagnostics_print_source_range_info);
559 Opts.ShowParseableFixits = Args.hasArg(OPT_fdiagnostics_parseable_fixits);
560 Opts.ShowPresumedLoc = !Args.hasArg(OPT_fno_diagnostics_use_presumed_location);
561 Opts.VerifyDiagnostics = Args.hasArg(OPT_verify);
562 Opts.ElideType = !Args.hasArg(OPT_fno_elide_type);
563 Opts.ShowTemplateTree = Args.hasArg(OPT_fdiagnostics_show_template_tree);
564 Opts.WarnOnSpellCheck = Args.hasArg(OPT_fwarn_on_spellcheck);
696 Opts.DisableFree = Args.hasArg(OPT_disable_free);
700 Opts.RelocatablePCH = Args.hasArg(OPT_relocatable_pch);
701 Opts.ShowHelp = Args.hasArg(OPT_help);
702 Opts.ShowStats = Args.hasArg(OPT_print_stats);
703 Opts.ShowTimers = Args.hasArg(OPT_ftime_report);
704 Opts.ShowVersion = Args.hasArg(OPT_version);
707 Opts.FixWhatYouCan = Args.hasArg(OPT_fix_what_you_can);
708 Opts.FixOnlyWarnings = Args.hasArg(OPT_fix_only_warnings);
709 Opts.FixAndRecompile = Args.hasArg(OPT_fixit_recompile);
710 Opts.FixToTemporaries = Args.hasArg(OPT_fixit_to_temp);
712 Opts.UseGlobalModuleIndex = !Args.hasArg(OPT_fno_modules_global_index);
716 = Args.hasArg(OPT_code_completion_macros);
718 = Args.hasArg(OPT_code_completion_patterns);
720 = !Args.hasArg(OPT_no_code_completion_globals);
722 = Args.hasArg(OPT_code_completion_brief_comments);
747 = Args.hasArg(OPT_arcmt_migrate_emit_arc_errors);
749 if (Args.hasArg(OPT_objcmt_migrate_literals))
751 if (Args.hasArg(OPT_objcmt_migrate_subscripting))
829 Opts.Verbose = Args.hasArg(OPT_v);
830 Opts.UseBuiltinIncludes = !Args.hasArg(OPT_nobuiltininc);
831 Opts.UseStandardSystemIncludes = !Args.hasArg(OPT_nostdsysteminc);
832 Opts.UseStandardCXXIncludes = !Args.hasArg(OPT_nostdincxx);
837 Opts.DisableModuleHash = Args.hasArg(OPT_fdisable_module_hash);
1121 if (Args.hasArg(OPT_fno_operator_names))
1131 if (Args.hasArg(OPT_fobjc_gc_only))
1133 else if (Args.hasArg(OPT_fobjc_gc))
1135 else if (Args.hasArg(OPT_fobjc_arc)) {
1141 if (Args.hasArg(OPT_fobjc_runtime_has_weak))
1147 if (Args.hasArg(OPT_fno_objc_infer_related_result_type))
1151 if (Args.hasArg(OPT_fgnu89_inline))
1154 if (Args.hasArg(OPT_fapple_kext)) {
1161 if (Args.hasArg(OPT_print_ivar_layout))
1163 if (Args.hasArg(OPT_fno_constant_cfstrings))
1166 if (Args.hasArg(OPT_faltivec))
1169 if (Args.hasArg(OPT_pthread))
1172 if (Args.hasArg(OPT_fdelayed_template_parsing))
1189 if (Args.hasArg(OPT_fvisibility_inlines_hidden))
1192 if (Args.hasArg(OPT_ftrapv)) {
1198 else if (Args.hasArg(OPT_fwrapv))
1201 if (Args.hasArg(OPT_trigraphs))
1207 Opts.PascalStrings = Args.hasArg(OPT_fpascal_strings);
1209 = Args.hasArg(OPT_fms_extensions) || Args.hasArg(OPT_fms_compatibility);
1210 Opts.MicrosoftMode = Args.hasArg(OPT_fms_compatibility);
1211 Opts.AsmBlocks = Args.hasArg(OPT_fasm_blocks) || Opts.MicrosoftExt;
1213 Opts.Borland = Args.hasArg(OPT_fborland_extensions);
1214 Opts.WritableStrings = Args.hasArg(OPT_fwritable_strings);
1217 if (Args.hasArg(OPT_fno_lax_vector_conversions))
1219 if (Args.hasArg(OPT_fno_threadsafe_statics))
1221 Opts.Exceptions = Args.hasArg(OPT_fexceptions);
1222 Opts.ObjCExceptions = Args.hasArg(OPT_fobjc_exceptions);
1223 Opts.CXXExceptions = Args.hasArg(OPT_fcxx_exceptions);
1224 Opts.SjLjExceptions = Args.hasArg(OPT_fsjlj_exceptions);
1225 Opts.TraditionalCPP = Args.hasArg(OPT_traditional_cpp);
1227 Opts.RTTI = !Args.hasArg(OPT_fno_rtti);
1228 Opts.Blocks = Args.hasArg(OPT_fblocks);
1229 Opts.BlocksRuntimeOptional = Args.hasArg(OPT_fblocks_runtime_optional);
1230 Opts.Modules = Args.hasArg(OPT_fmodules);
1231 Opts.CharIsSigned = !Args.hasArg(OPT_fno_signed_char);
1232 Opts.WChar = Opts.CPlusPlus && !Args.hasArg(OPT_fno_wchar);
1233 Opts.ShortWChar = Args.hasArg(OPT_fshort_wchar);
1234 Opts.ShortEnums = Args.hasArg(OPT_fshort_enums);
1235 Opts.Freestanding = Args.hasArg(OPT_ffreestanding);
1236 Opts.NoBuiltin = Args.hasArg(OPT_fno_builtin) || Opts.Freestanding;
1237 Opts.AssumeSaneOperatorNew = !Args.hasArg(OPT_fno_assume_sane_operator_new);
1238 Opts.HeinousExtensions = Args.hasArg(OPT_fheinous_gnu_extensions);
1239 Opts.AccessControl = !Args.hasArg(OPT_fno_access_control);
1240 Opts.ElideConstructors = !Args.hasArg(OPT_fno_elide_constructors);
1241 Opts.MathErrno = Args.hasArg(OPT_fmath_errno);
1247 Opts.DelayedTemplateParsing = Args.hasArg(OPT_fdelayed_template_parsing);
1250 Opts.MSBitfields = Args.hasArg(OPT_mms_bitfields);
1254 Args.hasArg(OPT_fobjc_default_synthesize_properties);
1256 Args.hasArg(OPT_fencode_extended_block_signature);
1257 Opts.EmitAllDecls = Args.hasArg(OPT_femit_all_decls);
1261 Opts.Static = Args.hasArg(OPT_static_define);
1262 Opts.DumpRecordLayoutsSimple = Args.hasArg(OPT_fdump_record_layouts_simple);
1264 || Args.hasArg(OPT_fdump_record_layouts);
1265 Opts.DumpVTableLayouts = Args.hasArg(OPT_fdump_vtable_layouts);
1266 Opts.SpellChecking = !Args.hasArg(OPT_fno_spell_checking);
1267 Opts.NoBitFieldTypeAlign = Args.hasArg(OPT_fno_bitfield_type_align);
1268 Opts.SinglePrecisionConstants = Args.hasArg(OPT_cl_single_precision_constant);
1269 Opts.FastRelaxedMath = Args.hasArg(OPT_cl_fast_relaxed_math);
1270 Opts.MRTD = Args.hasArg(OPT_mrtd);
1271 Opts.HexagonQdsp6Compat = Args.hasArg(OPT_mqdsp6_compat);
1272 Opts.FakeAddressSpaceMap = Args.hasArg(OPT_ffake_address_space_map);
1273 Opts.ParseUnknownAnytype = Args.hasArg(OPT_funknown_anytype);
1274 Opts.DebuggerSupport = Args.hasArg(OPT_fdebugger_support);
1275 Opts.DebuggerCastResultToId = Args.hasArg(OPT_fdebugger_cast_result_to_id);
1276 Opts.DebuggerObjCLiteral = Args.hasArg(OPT_fdebugger_objc_literal);
1277 Opts.ApplePragmaPack = Args.hasArg(OPT_fapple_pragma_pack);
1281 Opts.OpenMP = Args.hasArg(OPT_fopenmp);
1297 Opts.NoInlineDefine = !Opt || Args.hasArg(OPT_fno_inline);
1299 Opts.FastMath = Args.hasArg(OPT_ffast_math);
1300 Opts.FiniteMathOnly = Args.hasArg(OPT_ffinite_math_only);
1303 Args.hasArg(OPT_fretain_comments_from_system_headers);
1358 Opts.UsePredefines = !Args.hasArg(OPT_undef);
1359 Opts.DetailedRecord = Args.hasArg(OPT_detailed_preprocessing_record);
1360 Opts.DisablePCHValidation = Args.hasArg(OPT_fno_validate_pch);
1362 Opts.DumpDeserializedPCHDecls = Args.hasArg(OPT_dump_deserialized_pch_decls);
1410 if (Args.hasArg(OPT_faltivec))
1480 Opts.ShowCPP = !Args.hasArg(OPT_dM);
1484 Opts.ShowComments = Args.hasArg(OPT_C);
1485 Opts.ShowLineMarkers = !Args.hasArg(OPT_P);
1486 Opts.ShowMacroComments = Args.hasArg(OPT_CC);
1487 Opts.ShowMacros = Args.hasArg(OPT_dM) || Args.hasArg(OPT_dD);
1488 Opts.RewriteIncludes = Args.hasArg(OPT_frewrite_includes);