Lines Matching refs:getOption
211 return A->getOption().matches(Opt) ? Value : OtherValue; in makeBooleanOptionNormalizer()
546 if (A->getOption().matches(options::OPT_O0)) in getOptimizationLevel()
549 if (A->getOption().matches(options::OPT_Ofast)) in getOptimizationLevel()
552 assert(A->getOption().matches(options::OPT_O)); in getOptimizationLevel()
569 if (A->getOption().matches(options::OPT_O)) { in getOptimizationLevelSize()
586 Option Opt = getDriverOptTable().getOption(OptSpecifier); in GenerateArg()
595 Option Opt = getDriverOptTable().getOption(OptSpecifier); in GenerateArg()
746 if (A->getOption().getKind() == Option::FlagClass) { in addDiagnosticArgs()
750 std::string(A->getOption().getName().drop_front(1))); in addDiagnosticArgs()
751 } else if (A->getOption().matches(GroupWithValue)) { in addDiagnosticArgs()
755 std::string(A->getOption().getName().drop_front(1).rtrim("=-"))); in addDiagnosticArgs()
971 bool IsEnabled = A->getOption().getID() == OPT_analyzer_checker; in ParseAnalyzerArgs()
1190 if (A->getOption().matches(OPT_R_Joined)) { in ParseOptimizationRemark()
1201 } else if (A->getOption().matches(OptEQ)) { in ParseOptimizationRemark()
1592 const Option &InlineOpt = InlineArg->getOption(); in ParseCodeGenArgs()
1630 if (A->getOption().matches(OPT_fuse_ctor_homing) && in ParseCodeGenArgs()
1633 if (A->getOption().matches(OPT_fno_use_ctor_homing) && in ParseCodeGenArgs()
1691 if (A->getOption().getID() == OPT_ftime_report_EQ) { in ParseCodeGenArgs()
1757 if (A->getOption().getID() == options::OPT_o || in ParseCodeGenArgs()
1758 A->getOption().getID() == options::OPT_INPUT || in ParseCodeGenArgs()
1759 A->getOption().getID() == options::OPT_x || in ParseCodeGenArgs()
1760 A->getOption().getID() == options::OPT_fembed_bitcode || in ParseCodeGenArgs()
1761 A->getOption().matches(options::OPT_W_Group)) in ParseCodeGenArgs()
1799 if (A->getOption().matches(OPT_mlink_builtin_bitcode)) { in ParseCodeGenArgs()
1847 const Option &O = A->getOption(); in ParseCodeGenArgs()
1864 const Option &O = A->getOption(); in ParseCodeGenArgs()
2079 const Option &O = A->getOption(); in parseShowColorsArgs()
2492 Option Opt = getDriverOptTable().getOption(OPT_plugin_arg); in GenerateFrontendArgs()
2597 OptSpecifier Opt = OptSpecifier(A->getOption().getID()); in ParseFrontendArgs()
2987 if (A->getOption().matches(OPT_index_header_map)) { in ParseHeaderSearchArgs()
2996 bool IsFramework = A->getOption().matches(OPT_F); in ParseHeaderSearchArgs()
3015 if (A->getOption().matches(OPT_iprefix)) in ParseHeaderSearchArgs()
3017 else if (A->getOption().matches(OPT_iwithprefix)) in ParseHeaderSearchArgs()
3029 !A->getOption().matches(OPT_iwithsysroot)); in ParseHeaderSearchArgs()
3050 if (A->getOption().matches(OPT_internal_externc_isystem)) in ParseHeaderSearchArgs()
3059 A->getValue(), A->getOption().matches(OPT_system_header_prefix)); in ParseHeaderSearchArgs()
3692 if (!weakArg->getOption().matches(OPT_fobjc_weak)) { in ParseLangArgs()
3928 if (InlineArg->getOption().matches(options::OPT_fno_inline)) in ParseLangArgs()
4218 if (A->getOption().matches(OPT_D)) in ParsePreprocessorArgs()