/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 138 static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, in ParseAnalyzerArgs() argument 154 Opts.AnalysisStoreOpt = Value; in ParseAnalyzerArgs() 170 Opts.AnalysisConstraintsOpt = Value; in ParseAnalyzerArgs() 186 Opts.AnalysisDiagOpt = Value; in ParseAnalyzerArgs() 202 Opts.AnalysisPurgeOpt = Value; in ParseAnalyzerArgs() 218 Opts.InliningMode = Value; in ParseAnalyzerArgs() 222 Opts.ShowCheckerHelp = Args.hasArg(OPT_analyzer_checker_help); in ParseAnalyzerArgs() 223 Opts.DisableAllChecks = Args.hasArg(OPT_analyzer_disable_all_checks); in ParseAnalyzerArgs() 225 Opts.visualizeExplodedGraphWithGraphViz = in ParseAnalyzerArgs() 227 Opts.visualizeExplodedGraphWithUbiGraph = in ParseAnalyzerArgs() [all …]
|
D | DependencyFile.cpp | 172 DFGImpl(const Preprocessor *_PP, const DependencyOutputOptions &Opts) in DFGImpl() argument 173 : PP(_PP), OutputFile(Opts.OutputFile), Targets(Opts.Targets), in DFGImpl() 174 IncludeSystemHeaders(Opts.IncludeSystemHeaders), in DFGImpl() 175 PhonyTarget(Opts.UsePhonyTargets), in DFGImpl() 176 AddMissingHeaderDeps(Opts.AddMissingHeaderDeps), in DFGImpl() 178 IncludeModuleFiles(Opts.IncludeModuleFiles), in DFGImpl() 179 OutputFormat(Opts.OutputFormat) { in DFGImpl() 180 for (auto ExtraDep : Opts.ExtraDeps) { in DFGImpl() 234 clang::Preprocessor &PP, const clang::DependencyOutputOptions &Opts) { in CreateAndAttachToPreprocessor() argument 236 if (Opts.Targets.empty()) { in CreateAndAttachToPreprocessor() [all …]
|
D | PrintPreprocessedOutput.cpp | 720 const PreprocessorOutputOptions &Opts) { in DoPrintPreprocessedInput() argument 722 if (!Opts.ShowCPP) { in DoPrintPreprocessedInput() 723 assert(Opts.ShowMacros && "Not yet implemented!"); in DoPrintPreprocessedInput() 730 PP.SetCommentRetentionState(Opts.ShowComments, Opts.ShowMacroComments); in DoPrintPreprocessedInput() 733 PP, *OS, !Opts.ShowLineMarkers, Opts.ShowMacros, Opts.UseLineDirectives); in DoPrintPreprocessedInput()
|
/external/clang/tools/driver/ |
D | cc1as_main.cpp | 159 bool AssemblerInvocation::CreateFromArgs(AssemblerInvocation &Opts, in CreateFromArgs() argument 188 Opts.Triple = llvm::Triple::normalize(Args.getLastArgValue(OPT_triple)); in CreateFromArgs() 189 Opts.CPU = Args.getLastArgValue(OPT_target_cpu); in CreateFromArgs() 190 Opts.Features = Args.getAllArgValues(OPT_target_feature); in CreateFromArgs() 193 if (Opts.Triple.empty()) in CreateFromArgs() 194 Opts.Triple = llvm::sys::getDefaultTargetTriple(); in CreateFromArgs() 197 Opts.IncludePaths = Args.getAllArgValues(OPT_I); in CreateFromArgs() 198 Opts.NoInitialTextSection = Args.hasArg(OPT_n); in CreateFromArgs() 199 Opts.SaveTemporaryLabels = Args.hasArg(OPT_msave_temp_labels); in CreateFromArgs() 201 Opts.GenDwarfForAssembly = Args.hasArg(OPT_debug_info_kind_EQ); in CreateFromArgs() [all …]
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport() argument 33 if (Opts.FromUnrecoverableHandler) in ignoreReport() 35 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); in ignoreReport() 45 ReportOptions Opts) { in handleTypeMismatchImpl() argument 58 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleTypeMismatchImpl() 63 FallbackLoc.reset(getCallerLocation(Opts.pc)); in handleTypeMismatchImpl() 67 ScopedReport R(Opts, Loc, ET); in handleTypeMismatchImpl() 96 handleTypeMismatchImpl(Data, Pointer, Opts); in __ubsan_handle_type_mismatch() 101 handleTypeMismatchImpl(Data, Pointer, Opts); in __ubsan_handle_type_mismatch_abort() 109 ReportOptions Opts) { in handleIntegerOverflowImpl() argument [all …]
|
D | ubsan_handlers_cxx.cc | 35 ReportOptions Opts) { in HandleDynamicTypeCacheMiss() argument 47 if (ignoreReport(Loc, Opts, ET)) in HandleDynamicTypeCacheMiss() 50 ScopedReport R(Opts, Loc, ET); in HandleDynamicTypeCacheMiss() 80 HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts); in __ubsan_handle_dynamic_type_cache_miss() 86 if (HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts)) in __ubsan_handle_dynamic_type_cache_miss_abort() 91 ReportOptions Opts) { in HandleCFIBadType() argument 95 if (ignoreReport(Loc, Opts, ET)) in HandleCFIBadType() 98 ScopedReport R(Opts, Loc, ET); in HandleCFIBadType() 123 HandleCFIBadType(Data, Vtable, Opts); in __ubsan_handle_cfi_bad_type() 129 HandleCFIBadType(Data, Vtable, Opts); in __ubsan_handle_cfi_bad_type_abort()
|
D | ubsan_diag.h | 228 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET); 232 ReportOptions Opts = {unrecoverable_handler, pc, bp} 238 ReportOptions Opts; variable 243 ScopedReport(ReportOptions Opts, Location SummaryLoc, ErrorType Type);
|
/external/clang/unittests/StaticAnalyzer/ |
D | AnalyzerOptionsTest.cpp | 18 AnalyzerOptions Opts; in TEST() local 19 Opts.Config["Outer.Inner.CheckerOne:Option"] = "true"; in TEST() 20 Opts.Config["Outer.Inner:Option"] = "false"; in TEST() 21 Opts.Config["Outer.Inner:Option2"] = "true"; in TEST() 22 Opts.Config["Outer:Option2"] = "false"; in TEST() 38 EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne)); in TEST() 40 EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne, true)); in TEST() 43 EXPECT_TRUE(Opts.getBooleanOption("Option2", false, &CheckerOne, true)); in TEST() 46 EXPECT_FALSE(Opts.getBooleanOption("Option2", false, &CheckerOne)); in TEST() 47 EXPECT_TRUE(Opts.getBooleanOption("Option2", true, &CheckerOne)); in TEST() [all …]
|
/external/clang/lib/Basic/ |
D | Warnings.cpp | 45 const DiagnosticOptions &Opts, in ProcessWarningOptions() argument 48 Diags.setIgnoreAllWarnings(Opts.IgnoreWarnings); in ProcessWarningOptions() 49 Diags.setShowOverloads(Opts.getShowOverloads()); in ProcessWarningOptions() 51 Diags.setElideType(Opts.ElideType); in ProcessWarningOptions() 52 Diags.setPrintTemplateTree(Opts.ShowTemplateTree); in ProcessWarningOptions() 53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions() 56 if (Opts.ErrorLimit) in ProcessWarningOptions() 57 Diags.setErrorLimit(Opts.ErrorLimit); in ProcessWarningOptions() 58 if (Opts.TemplateBacktraceLimit) in ProcessWarningOptions() 59 Diags.setTemplateBacktraceLimit(Opts.TemplateBacktraceLimit); in ProcessWarningOptions() [all …]
|
D | Targets.cpp | 45 const LangOptions &Opts) { in DefineStd() argument 50 if (Opts.GNUMode) in DefineStd() 76 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, 80 void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument 82 TgtInfo::getTargetDefines(Opts, Builder); in getTargetDefines() 83 getOSDefines(Opts, TgtInfo::getTriple(), Builder); in getTargetDefines() 92 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument 110 static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, in getDarwinDefines() argument 119 if (Opts.Sanitize.has(SanitizerKind::Address)) in getDarwinDefines() 123 if (!Opts.ObjC1) { in getDarwinDefines() [all …]
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
D | cmdline.py | 19 class Opts(object): class 210 Opts.help, 211 Opts.version, 253 Opts.debug, 254 Opts.help, 255 Opts.rcfile, 262 Opts.directory, 263 Opts.ignore_errors, 264 Opts.include, 265 Opts.omit, [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | RegAllocPBQP.h | 84 AllowedRegVector() : NumOpts(0), Opts(nullptr) {} in AllowedRegVector() 87 : NumOpts(OptVec.size()), Opts(new unsigned[NumOpts]) { in AllowedRegVector() 88 std::copy(OptVec.begin(), OptVec.end(), Opts.get()); in AllowedRegVector() 92 : NumOpts(Other.NumOpts), Opts(new unsigned[NumOpts]) { in AllowedRegVector() 93 std::copy(Other.Opts.get(), Other.Opts.get() + NumOpts, Opts.get()); in AllowedRegVector() 97 : NumOpts(std::move(Other.NumOpts)), Opts(std::move(Other.Opts)) {} in AllowedRegVector() 101 Opts.reset(new unsigned[NumOpts]); 102 std::copy(Other.Opts.get(), Other.Opts.get() + NumOpts, Opts.get()); 108 Opts = std::move(Other.Opts); 113 unsigned operator[](size_t I) const { return Opts[I]; } [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCallAndReturn.cpp | 593 AnalyzerOptions &Opts) { in mayInlineCallKind() argument 602 if (!Opts.mayInlineCXXMemberFunction(CIMK_MemberFunctions)) in mayInlineCallKind() 606 if (!Opts.mayInlineCXXMemberFunction(CIMK_Constructors)) in mayInlineCallKind() 638 if (!Opts.mayInlineCXXMemberFunction(CIMK_Destructors)) in mayInlineCallKind() 650 if (!Opts.mayInlineCXXMemberFunction(CIMK_Destructors)) in mayInlineCallKind() 668 if (Opts.mayInlineCXXAllocator()) in mayInlineCallKind() 674 if (!Opts.mayInlineObjCMethod()) in mayInlineCallKind() 676 if (!(Opts.getIPAMode() == IPAK_DynamicDispatch || in mayInlineCallKind() 677 Opts.getIPAMode() == IPAK_DynamicDispatchBifurcate)) in mayInlineCallKind() 747 AnalyzerOptions &Opts) { in mayInlineDecl() argument [all …]
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 161 AnalyzerOptionsRef Opts; member in __anone448c6790211::AnalysisConsumer 194 OutDir(outdir), Opts(opts), Plugins(plugins), Injector(injector) { in AnalysisConsumer() 196 if (Opts->PrintStats) { in AnalysisConsumer() 203 if (Opts->PrintStats) in ~AnalysisConsumer() 208 if (Opts->AnalysisDiagOpt != PD_NONE) { in DigestAnalyzerOptions() 214 if (Opts->AnalysisDiagOpt == PD_TEXT) { in DigestAnalyzerOptions() 218 switch (Opts->AnalysisDiagOpt) { in DigestAnalyzerOptions() 222 CREATEFN(*Opts.get(), PathConsumers, OutDir, PP); \ in DigestAnalyzerOptions() 230 switch (Opts->AnalysisStoreOpt) { in DigestAnalyzerOptions() 238 switch (Opts->AnalysisConstraintsOpt) { in DigestAnalyzerOptions() [all …]
|
/external/llvm/unittests/Option/ |
D | Makefile | 14 BUILT_SOURCES = Opts.inc 21 $(ObjDir)/Opts.inc.tmp : Opts.td $(LLVM_TBLGEN) $(ObjDir)/.dir
|
D | CMakeLists.txt | 6 set(LLVM_TARGET_DEFINITIONS Opts.td) 8 tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
/external/llvm/lib/DebugInfo/Symbolize/ |
D | Symbolize.cpp | 59 if (Opts.RelativeAddresses) in symbolizeCode() 62 DILineInfo LineInfo = Info->symbolizeCode(ModuleOffset, Opts.PrintFunctions, in symbolizeCode() 63 Opts.UseSymbolTable); in symbolizeCode() 64 if (Opts.Demangle) in symbolizeCode() 79 if (Opts.RelativeAddresses) in symbolizeInlinedCode() 83 ModuleOffset, Opts.PrintFunctions, Opts.UseSymbolTable); in symbolizeInlinedCode() 84 if (Opts.Demangle) { in symbolizeInlinedCode() 103 if (Opts.RelativeAddresses) in symbolizeData() 107 if (Opts.Demangle) in symbolizeData() 225 for (const auto &Path : Opts.DsymHints) { in lookUpDsymFile() [all …]
|
/external/llvm/utils/TableGen/ |
D | OptParserEmitter.cpp | 112 std::vector<Record*> Opts = Records.getAllDerivedDefinitions("Option"); in EmitOptParser() local 116 array_pod_sort(Opts.begin(), Opts.end(), CompareOptionRecords); in EmitOptParser() 123 for (unsigned i = 0, e = Opts.size(); i != e; ++i) { in EmitOptParser() 124 const Record &R = *Opts[i]; in EmitOptParser() 203 for (unsigned i = 0, e = Opts.size(); i != e; ++i) { in EmitOptParser() 204 const Record &R = *Opts[i]; in EmitOptParser()
|
/external/llvm/include/llvm/DebugInfo/Symbolize/ |
D | Symbolize.h | 46 LLVMSymbolizer(const Options &Opts = Options()) : Opts(Opts) {} in Opts() function 99 Options Opts; variable
|
/external/clang/lib/Driver/ |
D | MSVCToolChain.cpp | 641 const OptTable &Opts = getDriver().getOpts(); in TranslateArgs() local 687 DAL->AddFlagArg(A, Opts.getOption(options::OPT_O0)); in TranslateArgs() 690 DAL->AddJoinedArg(A, Opts.getOption(options::OPT_O), "s"); in TranslateArgs() 692 DAL->AddFlagArg(A, Opts.getOption(options::OPT_fbuiltin)); in TranslateArgs() 693 DAL->AddJoinedArg(A, Opts.getOption(options::OPT_O), "2"); in TranslateArgs() 697 Opts.getOption(options::OPT_fomit_frame_pointer)); in TranslateArgs() 700 Opts.getOption(options::OPT_ffunction_sections)); in TranslateArgs() 713 DAL->AddFlagArg(A, Opts.getOption(options::OPT_fno_builtin)); in TranslateArgs() 715 DAL->AddFlagArg(A, Opts.getOption(options::OPT_fbuiltin)); in TranslateArgs() 719 DAL->AddJoinedArg(A, Opts.getOption(options::OPT_O), "s"); in TranslateArgs() [all …]
|
/external/llvm/lib/Option/ |
D | OptTable.cpp | 291 static std::string getOptionHelpName(const OptTable &Opts, OptSpecifier Id) { in getOptionHelpName() argument 292 const Option O = Opts.getOption(Id); in getOptionHelpName() 301 if (const char *MetaVarName = Opts.getOptionMetaVar(Id)) { in getOptionHelpName() 323 if (const char *MetaVarName = Opts.getOptionMetaVar(Id)) in getOptionHelpName() 366 static const char *getOptionHelpGroup(const OptTable &Opts, OptSpecifier Id) { in getOptionHelpGroup() argument 367 unsigned GroupID = Opts.getOptionGroupID(Id); in getOptionHelpGroup() 377 if (const char *GroupHelp = Opts.getOptionHelpText(GroupID)) in getOptionHelpGroup() 381 return getOptionHelpGroup(Opts, GroupID); in getOptionHelpGroup()
|
/external/lldb/source/Symbol/ |
D | ClangASTContext.cpp | 100 LangOptions &Opts, in ParseLangArgs() argument 110 Opts.AsmPreprocessor = 1; in ParseLangArgs() 115 Opts.ObjC1 = Opts.ObjC2 = 1; in ParseLangArgs() 150 Opts.LineComment = Std.hasLineComments(); in ParseLangArgs() 151 Opts.C99 = Std.isC99(); in ParseLangArgs() 152 Opts.CPlusPlus = Std.isCPlusPlus(); in ParseLangArgs() 153 Opts.CPlusPlus11 = Std.isCPlusPlus11(); in ParseLangArgs() 154 Opts.Digraphs = Std.hasDigraphs(); in ParseLangArgs() 155 Opts.GNUMode = Std.isGNUMode(); in ParseLangArgs() 156 Opts.GNUInline = !Std.isC99(); in ParseLangArgs() [all …]
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 1453 SmallVectorImpl<std::pair<const char *, Option *>> &Opts, in sortOpts() argument 1471 Opts.push_back( in sortOpts() 1476 array_pod_sort(Opts.begin(), Opts.end(), OptNameCompare); in sortOpts() 1487 virtual void printOptions(StrOptionPairVector &Opts, size_t MaxArgLen) { in printOptions() argument 1488 for (size_t i = 0, e = Opts.size(); i != e; ++i) in printOptions() 1489 Opts[i].second->printOptionInfo(MaxArgLen); in printOptions() 1501 StrOptionPairVector Opts; in operator =() local 1502 sortOpts(GlobalParser->OptionsMap, Opts, ShowHidden); in operator =() 1523 for (size_t i = 0, e = Opts.size(); i != e; ++i) in operator =() 1524 MaxArgLen = std::max(MaxArgLen, Opts[i].second->getOptionWidth()); in operator =() [all …]
|
/external/llvm/tools/llvm-symbolizer/ |
D | llvm-symbolizer.cpp | 148 LLVMSymbolizer::Options Opts(ClPrintFunctions, ClUseSymbolTable, ClDemangle, in main() local 153 Opts.DsymHints.push_back(hint); in main() 159 LLVMSymbolizer Symbolizer(Opts); in main()
|
/external/clang/lib/CodeGen/ |
D | BackendUtil.cpp | 186 SanitizerCoverageOptions Opts; in addSanitizerCoveragePass() local 187 Opts.CoverageType = in addSanitizerCoveragePass() 189 Opts.IndirectCalls = CGOpts.SanitizeCoverageIndirectCalls; in addSanitizerCoveragePass() 190 Opts.TraceBB = CGOpts.SanitizeCoverageTraceBB; in addSanitizerCoveragePass() 191 Opts.TraceCmp = CGOpts.SanitizeCoverageTraceCmp; in addSanitizerCoveragePass() 192 Opts.Use8bitCounters = CGOpts.SanitizeCoverage8bitCounters; in addSanitizerCoveragePass() 193 PM.add(createSanitizerCoverageModulePass(Opts)); in addSanitizerCoveragePass() 263 static void addSymbolRewriterPass(const CodeGenOptions &Opts, in addSymbolRewriterPass() argument 268 for (const auto &MapFile : Opts.RewriteMapFiles) in addSymbolRewriterPass()
|