Lines Matching refs:getOption

81     if (A->getOption().matches(options::OPT_O0))  in getOptimizationLevel()
84 if (A->getOption().matches(options::OPT_Ofast)) in getOptimizationLevel()
87 assert (A->getOption().matches(options::OPT_O)); in getOptimizationLevel()
101 if (A->getOption().matches(options::OPT_O)) { in getOptimizationLevelSize()
119 if (A->getOption().getKind() == Option::FlagClass) { in addDiagnosticArgs()
122 Diagnostics.push_back(A->getOption().getName().drop_front(1)); in addDiagnosticArgs()
123 } else if (A->getOption().matches(GroupWithValue)) { in addDiagnosticArgs()
125 Diagnostics.push_back(A->getOption().getName().drop_front(1).rtrim("=-")); in addDiagnosticArgs()
247 bool enable = (A->getOption().getID() == OPT_analyzer_checker); in ParseAnalyzerArgs()
410 Opts.EmitLLVMUseLists = A->getOption().getID() == OPT_emit_llvm_uselists; in ParseCodeGenArgs()
598 if (A->getOption().matches(OPT_fpcc_struct_return)) { in ParseCodeGenArgs()
601 assert(A->getOption().matches(OPT_freg_struct_return)); in ParseCodeGenArgs()
694 if (A->getOption().matches(OPT_fdiagnostics_show_note_include_stack)) in ParseDiagnosticArgs()
789 switch (A->getOption().getID()) { in ParseFrontendArgs()
925 switch (A->getOption().getID()) { in ParseFrontendArgs()
1093 if ((*it)->getOption().matches(OPT_index_header_map)) { in ParseHeaderSearchArgs()
1103 /*IsFramework=*/ (*it)->getOption().matches(OPT_F), true); in ParseHeaderSearchArgs()
1113 if (A->getOption().matches(OPT_iprefix)) in ParseHeaderSearchArgs()
1115 else if (A->getOption().matches(OPT_iwithprefix)) in ParseHeaderSearchArgs()
1132 !(*it)->getOption().matches(OPT_iwithsysroot)); in ParseHeaderSearchArgs()
1157 if ((*I)->getOption().matches(OPT_internal_externc_isystem)) in ParseHeaderSearchArgs()
1168 (*I)->getValue(), (*I)->getOption().matches(OPT_system_header_prefix)); in ParseHeaderSearchArgs()
1716 if ((*it)->getOption().matches(OPT_D)) in ParsePreprocessorArgs()