/external/clang/unittests/StaticAnalyzer/ |
AnalyzerOptionsTest.cpp | 18 AnalyzerOptions Opts; 19 Opts.Config["Outer.Inner.CheckerOne:Option"] = "true"; 20 Opts.Config["Outer.Inner:Option"] = "false"; 21 Opts.Config["Outer.Inner:Option2"] = "true"; 22 Opts.Config["Outer:Option2"] = "false"; 38 EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne)); 40 EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne, true)); 43 EXPECT_TRUE(Opts.getBooleanOption("Option2", false, &CheckerOne, true)); 46 EXPECT_FALSE(Opts.getBooleanOption("Option2", false, &CheckerOne)); 47 EXPECT_TRUE(Opts.getBooleanOption("Option2", true, &CheckerOne)) [all...] |
/external/clang/lib/Frontend/ |
CompilerInvocation.cpp | 155 static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, 171 Opts.AnalysisStoreOpt = Value; 187 Opts.AnalysisConstraintsOpt = Value; 203 Opts.AnalysisDiagOpt = Value; 219 Opts.AnalysisPurgeOpt = Value; 235 Opts.InliningMode = Value; 239 Opts.ShowCheckerHelp = Args.hasArg(OPT_analyzer_checker_help); 240 Opts.DisableAllChecks = Args.hasArg(OPT_analyzer_disable_all_checks); 242 Opts.visualizeExplodedGraphWithGraphViz = 244 Opts.visualizeExplodedGraphWithUbiGraph [all...] |
DependencyFile.cpp | 172 DFGImpl(const Preprocessor *_PP, const DependencyOutputOptions &Opts) 173 : PP(_PP), OutputFile(Opts.OutputFile), Targets(Opts.Targets), 174 IncludeSystemHeaders(Opts.IncludeSystemHeaders), 175 PhonyTarget(Opts.UsePhonyTargets), 176 AddMissingHeaderDeps(Opts.AddMissingHeaderDeps), 178 IncludeModuleFiles(Opts.IncludeModuleFiles), 179 OutputFormat(Opts.OutputFormat) { 180 for (const auto &ExtraDep : Opts.ExtraDeps) { 234 clang::Preprocessor &PP, const clang::DependencyOutputOptions &Opts) { [all...] |
/frameworks/compile/slang/ |
rs_cc_options.cpp | 87 RSCCOptions &Opts, clang::DiagnosticOptions &DiagOpts, 143 Opts.mIncludePaths = Args.getAllArgValues(OPT_I); 145 Opts.mBitcodeOutputDir = Args.getLastArgValue(OPT_o); 150 Opts.mEmitDependency = true; 151 Opts.mOutputType = Slang::OT_Dependency; 155 Opts.mEmitDependency = true; 156 Opts.mOutputType = Slang::OT_Bitcode; 160 Opts.mEmitDependency = true; 161 Opts.mOutputType = Slang::OT_Bitcode; 162 Opts.mEmitPhonyDependency = true [all...] |
llvm-rs-cc.cpp | 77 // Append '/' to Opts.mBitcodeOutputDir if not presents 136 * Opts - options controlling compilation. 148 const llvm::SmallVector<const char*, 16> &Inputs, slang::RSCCOptions &Opts, 153 if (Opts.mEmit3264) { 154 if (Opts.mBitWidth == 64) { 164 const char *BCOutputFile = DetermineOutputFile(Opts.mBitcodeOutputDir, 166 Opts.mOutputType, 170 if (Opts.mEmitDependency) { 175 DetermineOutputFile(Opts.mDependencyOutputDir, "", InputFile, 177 if (Opts.mOutputType == slang::Slang::OT_Dependency) [all...] |
slang.cpp | 231 Slang::createBackend(const RSCCOptions &Opts, const clang::CodeGenOptions &CodeGenOpts, 233 auto *B = new Backend(mRSContext, &getDiagnostics(), Opts, 407 int Slang::compile(const RSCCOptions &Opts) { 417 mBackend.reset(createBackend(Opts, CodeGenOpts, &mOS->os(), mOT)); 576 const RSCCOptions &Opts, 581 if (Opts.mEmitDependency && (DepFiles.size() != IOFiles32.size())) { 589 if (Opts.mEmit3264 && (IOFiles64.size() != IOFiles32.size())) { 599 setIncludePaths(Opts.mIncludePaths); 600 setOutputType(Opts.mOutputType); 601 if (Opts.mEmitDependency) [all...] |
/external/clang/tools/driver/ |
cc1as_main.cpp | 158 bool AssemblerInvocation::CreateFromArgs(AssemblerInvocation &Opts, 187 Opts.Triple = llvm::Triple::normalize(Args.getLastArgValue(OPT_triple)); 188 Opts.CPU = Args.getLastArgValue(OPT_target_cpu); 189 Opts.Features = Args.getAllArgValues(OPT_target_feature); 192 if (Opts.Triple.empty()) 193 Opts.Triple = llvm::sys::getDefaultTargetTriple(); 196 Opts.IncludePaths = Args.getAllArgValues(OPT_I); 197 Opts.NoInitialTextSection = Args.hasArg(OPT_n); 198 Opts.SaveTemporaryLabels = Args.hasArg(OPT_msave_temp_labels); 200 Opts.GenDwarfForAssembly = Args.hasArg(OPT_debug_info_kind_EQ) [all...] |
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers.cc | 25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { 33 if (Opts.FromUnrecoverableHandler) 35 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); 45 ReportOptions Opts) { 58 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) 63 FallbackLoc.reset(getCallerLocation(Opts.pc)); 67 ScopedReport R(Opts, Loc, ET); 96 handleTypeMismatchImpl(Data, Pointer, Opts); 101 handleTypeMismatchImpl(Data, Pointer, Opts); 109 ReportOptions Opts) { [all...] |
ubsan_handlers_cxx.cc | 36 ReportOptions Opts) { 48 if (ignoreReport(Loc, Opts, ET)) 51 ScopedReport R(Opts, Loc, ET); 87 HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts); 93 if (HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts)) 99 bool ValidVtable, ReportOptions Opts) { 103 if (ignoreReport(Loc, Opts, ET)) 106 ScopedReport R(Opts, Loc, ET);
|
/external/clang/include/clang/Index/ |
IndexingAction.h | 38 IndexingOptions Opts, 43 IndexingOptions Opts);
|
/external/clang/lib/Basic/ |
Warnings.cpp | 34 // opts 45 const DiagnosticOptions &Opts, 48 Diags.setIgnoreAllWarnings(Opts.IgnoreWarnings); 49 Diags.setShowOverloads(Opts.getShowOverloads()); 51 Diags.setElideType(Opts.ElideType); 52 Diags.setPrintTemplateTree(Opts.ShowTemplateTree); 53 Diags.setShowColors(Opts.ShowColors); 56 if (Opts.ErrorLimit) 57 Diags.setErrorLimit(Opts.ErrorLimit); 58 if (Opts.TemplateBacktraceLimit [all...] |
Targets.cpp | 46 const LangOptions &Opts) { 51 if (Opts.GNUMode) 70 const TargetOptions &Opts); 80 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, 83 OSTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts) 84 : TgtInfo(Triple, Opts) {} 85 void getTargetDefines(const LangOptions &Opts, 87 TgtInfo::getTargetDefines(Opts, Builder); 88 getOSDefines(Opts, TgtInfo::getTriple(), Builder); 97 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple [all...] |
/external/clang/lib/Index/ |
IndexingAction.cpp | 78 IndexingOptions Opts) 80 IndexCtx(Opts, *DataConsumer) {} 94 IndexingOptions Opts) 95 : IndexActionBase(std::move(DataConsumer), Opts) {} 115 IndexingOptions Opts) 117 IndexActionBase(std::move(DataConsumer), Opts) {} 150 IndexingOptions Opts, 155 Opts); 156 return llvm::make_unique<IndexAction>(std::move(DataConsumer), Opts); 171 IndexingOptions Opts) { [all...] |
/external/clang/include/clang/Rewrite/Frontend/ |
Rewriters.h | 31 const PreprocessorOutputOptions &Opts);
|
/external/llvm/include/llvm/DebugInfo/Symbolize/ |
Symbolize.h | 47 LLVMSymbolizer(const Options &Opts = Options()) : Opts(Opts) {} 105 Options Opts;
|
/external/llvm/include/llvm/CodeGen/ |
RegAllocPBQP.h | 85 AllowedRegVector() : NumOpts(0), Opts(nullptr) {} 88 : NumOpts(OptVec.size()), Opts(new unsigned[NumOpts]) { 89 std::copy(OptVec.begin(), OptVec.end(), Opts.get()); 93 : NumOpts(Other.NumOpts), Opts(new unsigned[NumOpts]) { 94 std::copy(Other.Opts.get(), Other.Opts.get() + NumOpts, Opts.get()); 98 : NumOpts(std::move(Other.NumOpts)), Opts(std::move(Other.Opts)) {} 102 Opts.reset(new unsigned[NumOpts]) [all...] |
/external/llvm/utils/TableGen/ |
OptParserEmitter.cpp | 112 std::vector<Record*> Opts = Records.getAllDerivedDefinitions("Option"); 116 array_pod_sort(Opts.begin(), Opts.end(), CompareOptionRecords); 123 for (unsigned i = 0, e = Opts.size(); i != e; ++i) { 124 const Record &R = *Opts[i]; 203 for (unsigned i = 0, e = Opts.size(); i != e; ++i) { 204 const Record &R = *Opts[i];
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 161 AnalyzerOptionsRef Opts; 189 AnalyzerOptionsRef opts, ArrayRef<std::string> plugins, 192 OutDir(outdir), Opts(std::move(opts)), Plugins(plugins), 195 if (Opts->PrintStats) { 202 if (Opts->PrintStats) 207 if (Opts->AnalysisDiagOpt != PD_NONE) { 213 if (Opts->AnalysisDiagOpt == PD_TEXT) { 217 switch (Opts->AnalysisDiagOpt) { 221 CREATEFN(*Opts.get(), PathConsumers, OutDir, PP); [all...] |
/external/llvm/tools/llvm-cov/ |
SourceCoverageViewHTML.h | 31 CoveragePrinterHTML(const CoverageViewOptions &Opts) 32 : CoveragePrinter(Opts) {}
|
SourceCoverageViewText.h | 31 CoveragePrinterText(const CoverageViewOptions &Opts) 32 : CoveragePrinter(Opts) {}
|
SourceCoverageView.cpp | 38 FullPath.append(Opts.ShowOutputDirectory); 56 if (!Opts.hasOutputDirectory()) 74 CoveragePrinter::create(const CoverageViewOptions &Opts) { 75 switch (Opts.Format) { 77 return llvm::make_unique<CoveragePrinterText>(Opts); 79 return llvm::make_unique<CoveragePrinterHTML>(Opts);
|
SourceCoverageView.h | 102 const CoverageViewOptions &Opts; 112 CoveragePrinter(const CoverageViewOptions &Opts) : Opts(Opts) {} 130 create(const CoverageViewOptions &Opts);
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCallAndReturn.cpp | 580 AnalyzerOptions &Opts) { 589 if (!Opts.mayInlineCXXMemberFunction(CIMK_MemberFunctions)) 593 if (!Opts.mayInlineCXXMemberFunction(CIMK_Constructors)) 625 if (!Opts.mayInlineCXXMemberFunction(CIMK_Destructors)) 637 if (!Opts.mayInlineCXXMemberFunction(CIMK_Destructors)) 655 if (Opts.mayInlineCXXAllocator()) 661 if (!Opts.mayInlineObjCMethod()) 663 if (!(Opts.getIPAMode() == IPAK_DynamicDispatch || 664 Opts.getIPAMode() == IPAK_DynamicDispatchBifurcate)) 734 AnalyzerOptions &Opts) { [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
CommandLine.cpp | 539 StringMap<Option*> Opts; 540 GetOptionInfo(PositionalOpts, SinkOpts, Opts); 542 assert((!Opts.empty() || !PositionalOpts.empty()) && 632 Opts.clear(); 633 GetOptionInfo(PositionalOpts, SinkOpts, Opts); 678 Handler = LookupOption(ArgName, Value, Opts); 690 Handler = LookupOption(ArgName, Value, Opts); 695 ErrorParsing, Opts); 700 NearestHandler = LookupNearestOption(ArgName, Opts, 814 for (StringMap<Option*>::iterator I = Opts.begin() [all...] |
/external/clang/lib/Driver/ |
MSVCToolChain.cpp | 700 const char *ExpandChar, const OptTable &Opts) { 715 DAL.AddFlagArg(A, Opts.getOption(options::OPT_O0)); 718 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "s"); 720 DAL.AddFlagArg(A, Opts.getOption(options::OPT_fbuiltin)); 721 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "2"); 726 Opts.getOption(options::OPT_fomit_frame_pointer)); 729 Opts.getOption(options::OPT_ffunction_sections)); 737 DAL.AddFlagArg(A, Opts.getOption(options::OPT_fno_inline)); 740 DAL.AddFlagArg(A, Opts.getOption(options::OPT_finline_hint_functions)); 743 DAL.AddFlagArg(A, Opts.getOption(options::OPT_finline_functions)) [all...] |