/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
H A D | ClangTidyOptionsTest.cpp | 30 ClangTidyGlobalOptions Options; in TEST() local 31 EXPECT_FALSE(parseLineFilter("", Options)); in TEST() 32 EXPECT_TRUE(Options.LineFilter.empty()); in TEST() 33 EXPECT_FALSE(parseLineFilter("[]", Options)); in TEST() 34 EXPECT_TRUE(Options.LineFilter.empty()); in TEST() 38 ClangTidyGlobalOptions Options; in TEST() local 39 EXPECT_TRUE(!!parseLineFilter("asdf", Options)); in TEST() 40 EXPECT_TRUE(Options.LineFilter.empty()); in TEST() 42 EXPECT_TRUE(!!parseLineFilter("[{}]", Options)); in TEST() 43 EXPECT_TRUE(!!parseLineFilter("[{\"name\":\"\"}]", Options)); in TEST() 53 ClangTidyGlobalOptions Options; TEST() local 78 llvm::ErrorOr<ClangTidyOptions> Options = TEST() local 104 auto Options = parseConfiguration(MemoryBuffer); TEST() local 139 ClangTidyOptions Options = Options1->merge(*Options2, 0); TEST() local 233 llvm::Annotations Options(R"( TEST() local 316 ClangTidyOptions Options; TEST() local 331 ClangTidyOptions Options; TEST() local 397 ClangTidyOptions Options; TEST() local [all...] |
/llvm-project/llvm/tools/dsymutil/ |
H A D | dsymutil.cpp | 63 #include "Options.inc" 68 #include "Options.inc" 72 #include "Options.inc" 78 #include "Options.inc" 174 static Error verifyOptions(const DsymutilOptions &Options) { in verifyOptions() 175 if (Options.LinkOpts.Verbose && Options.LinkOpts.Quiet) { in verifyOptions() 181 if (Options.InputFiles.empty()) { in verifyOptions() 186 if (!Options.Flat && Options in verifyOptions() 171 verifyOptions(const DsymutilOptions & Options) verifyOptions() argument 300 DsymutilOptions Options; getOptions() local 490 verifyOutput(StringRef OutputFile,StringRef Arch,DsymutilOptions Options,std::mutex & Mutex) verifyOutput() argument 564 getOutputFileName(StringRef InputFile,const DsymutilOptions & Options) getOutputFileName() argument 653 auto &Options = *OptionsOrErr; dsymutil_main() local [all...] |
/llvm-project/llvm/include/llvm/ADT/ |
H A D | ilist_node_options.h | 81 template <class... Options> struct extract_sentinel_tracking; 82 template <bool EnableSentinelTracking, class... Options> 84 ilist_sentinel_tracking<EnableSentinelTracking>, Options...> 86 template <class Option1, class... Options> 87 struct extract_sentinel_tracking<Option1, Options...> 88 : extract_sentinel_tracking<Options...> {}; 103 template <class... Options> struct extract_tag; 104 template <class Tag, class... Options> 105 struct extract_tag<ilist_tag<Tag>, Options...> { 108 template <class Option1, class... Options> [all …]
|
/llvm-project/clang/tools/scan-build/bin/ |
H A D | scan-build | 46 my %Options = ( 67 ConfigOptions => [], # Options to pass through to the analyzer's -analyzer-config flag. 77 lock_keys(%Options); 262 if ($Options{Verbose}) { 391 if (grep { $p =~ m/$_/ } @{$Options{Excludes}}) { 392 if ($Options{Verbose}) { 437 if ($Options{ShowDescription}) { 597 <title>${Options{HtmlTitle}}</title> 652 <h1>${Options{HtmlTitle}}</h1> 746 if ($Options{ShowDescriptio [all...] |
/llvm-project/llvm/lib/Passes/ |
H A D | PassBuilderBindings.cpp | 103 LLVMPassBuilderOptionsRef Options) { in LLVMPassBuilderOptionsSetLoopVectorization() argument 105 LLVMPassBuilderOptions *PassOpts = unwrap(Options); in LLVMPassBuilderOptionsSetLoopVectorization() 112 LLVMPassBuilderOptionsRef Options) { in LLVMPassBuilderOptionsSetLoopUnrolling() argument 114 LLVMPassBuilderOptions *PassOpts = unwrap(Options); in LLVMPassBuilderOptionsSetLoopUnrolling() 123 void LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options, in LLVMPassBuilderOptionsSetLicmMssaOptCap() 125 unwrap(Options)->VerifyEach = VerifyEach; in LLVMPassBuilderOptionsSetLicmMssaOptCap() 128 void LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options, in LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap() argument 130 unwrap(Options)->DebugLogging = DebugLogging; in LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap() 133 void LLVMPassBuilderOptionsSetAAPipeline(LLVMPassBuilderOptionsRef Options, in LLVMPassBuilderOptionsSetCallGraphProfile() 135 unwrap(Options) in LLVMPassBuilderOptionsSetCallGraphProfile() 87 LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options,LLVMBool VerifyEach) LLVMPassBuilderOptionsSetVerifyEach() argument 92 LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options,LLVMBool DebugLogging) LLVMPassBuilderOptionsSetDebugLogging() argument 98 LLVMPassBuilderOptionsSetLoopInterleaving(LLVMPassBuilderOptionsRef Options,LLVMBool LoopInterleaving) LLVMPassBuilderOptionsSetLoopInterleaving() argument 108 LLVMPassBuilderOptionsSetSLPVectorization(LLVMPassBuilderOptionsRef Options,LLVMBool SLPVectorization) LLVMPassBuilderOptionsSetSLPVectorization() argument 118 LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll(LLVMPassBuilderOptionsRef Options,LLVMBool ForgetAllSCEVInLoopUnroll) LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll() argument 122 LLVMPassBuilderOptionsSetLicmMssaOptCap(LLVMPassBuilderOptionsRef Options,unsigned LicmMssaOptCap) LLVMPassBuilderOptionsSetLicmMssaOptCap() argument 134 LLVMPassBuilderOptionsSetCallGraphProfile(LLVMPassBuilderOptionsRef Options,LLVMBool CallGraphProfile) LLVMPassBuilderOptionsSetCallGraphProfile() argument 138 LLVMPassBuilderOptionsSetMergeFunctions(LLVMPassBuilderOptionsRef Options,LLVMBool MergeFunctions) LLVMPassBuilderOptionsSetMergeFunctions() argument 144 LLVMPassBuilderOptionsSetInlinerThreshold(LLVMPassBuilderOptionsRef Options,int Threshold) LLVMPassBuilderOptionsSetInlinerThreshold() argument 148 LLVMDisposePassBuilderOptions(LLVMPassBuilderOptionsRef Options) LLVMDisposePassBuilderOptions() argument [all...] |
/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerLoop.cpp | 126 if (!Options.MallocLimitMb || (Size >> 20) < (size_t)Options.MallocLimitMb) in HandleMalloc() 135 _Exit(Options.OOMExitCode); // Stop right now. in HandleMalloc() 139 const FuzzingOptions &Options) in Fuzzer() argument 140 : CB(CB), Corpus(Corpus), MD(MD), Options(Options) { in Fuzzer() 147 if (Options.DetectLeaks && EF->__sanitizer_install_malloc_and_free_hooks) in Fuzzer() 149 TPC.SetUseCounters(Options.UseCounters); in Fuzzer() 150 TPC.SetUseValueProfileMask(Options.UseValueProfile); in Fuzzer() 152 if (Options in Fuzzer() [all...] |
H A D | FuzzerDriver.cpp | 357 const FuzzingOptions &Options) { in CleanseCrashInput() argument 412 const FuzzingOptions &Options) { in MinimizeCrashInput() argument 458 : Options.ArtifactPrefix + "minimized-from-" + Hash(U); in MinimizeCrashInput() 510 void Merge(Fuzzer *F, FuzzingOptions &Options, in Merge() argument 531 F->WriteToOutputCorpus(FileToVector(Path, Options.MaxLen)); in Merge() 681 FuzzingOptions Options; in FuzzerDriver() local 682 Options.Verbosity = Flags.verbosity; in FuzzerDriver() 683 Options.MaxLen = Flags.max_len; in FuzzerDriver() 684 Options.LenControl = Flags.len_control; in FuzzerDriver() 685 Options.KeepSeed = Flags.keep_seed; in FuzzerDriver() [all …]
|
H A D | FuzzerUtilPosix.cpp | 117 void SetSignalHandler(const FuzzingOptions& Options) { in SetSignalHandler() argument 119 if (Options.HandleAlrm && Options.UnitTimeoutSec > 0 && !LIBFUZZER_EMSCRIPTEN) in SetSignalHandler() 120 SetTimer(Options.UnitTimeoutSec / 2 + 1); in SetSignalHandler() 121 if (Options.HandleInt) in SetSignalHandler() 123 if (Options.HandleTerm) in SetSignalHandler() 125 if (Options.HandleSegv) in SetSignalHandler() 127 if (Options.HandleBus) in SetSignalHandler() 129 if (Options.HandleAbrt) in SetSignalHandler() 131 if (Options.HandleIll) in SetSignalHandler() 133 if (Options.HandleFpe) in SetSignalHandler() [all …]
|
/llvm-project/llvm/unittests/DebugInfo/LogicalView/ |
H A D | CommandLineOptionsTest.cpp | 20 auto CheckStandardAttributes = [&](LVOptions &Options, bool Value) { in TEST() argument 21 EXPECT_EQ(Options.getAttributeBase(), 1); in TEST() 22 EXPECT_EQ(Options.getAttributeCoverage(), Value); in TEST() 23 EXPECT_EQ(Options.getAttributeDirectories(), 1); in TEST() 24 EXPECT_EQ(Options.getAttributeDiscriminator(), 1); in TEST() 25 EXPECT_EQ(Options.getAttributeFilename(), 0); in TEST() 26 EXPECT_EQ(Options.getAttributeFiles(), 1); in TEST() 27 EXPECT_EQ(Options.getAttributeFormat(), 1); in TEST() 28 EXPECT_EQ(Options.getAttributeLevel(), 1); in TEST() 29 EXPECT_EQ(Options.getAttributeProducer(), 1); in TEST() [all …]
|
/llvm-project/llvm/include/llvm-c/Transforms/ |
H A D | PassBuilder.h | 51 LLVMPassBuilderOptionsRef Options); 61 LLVMPassBuilderOptionsRef Options); 76 void LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options, 82 void LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options, 90 void LLVMPassBuilderOptionsSetAAPipeline(LLVMPassBuilderOptionsRef Options, 94 LLVMPassBuilderOptionsRef Options, LLVMBool LoopInterleaving); 97 LLVMPassBuilderOptionsRef Options, LLVMBool LoopVectorization); 100 LLVMPassBuilderOptionsRef Options, LLVMBool SLPVectorization); 102 void LLVMPassBuilderOptionsSetLoopUnrolling(LLVMPassBuilderOptionsRef Options, 106 LLVMPassBuilderOptionsRef Options, LLVMBoo [all...] |
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SimplifyCFGPass.cpp | 233 const SimplifyCFGOptions &Options) { in iterativelySimplifyCFG() 264 if (simplifyCFG(&BB, TTI, DTU, Options, LoopHeaders)) { in iterativelySimplifyCFG() 276 const SimplifyCFGOptions &Options) { in simplifyFunctionCFGImpl() 282 EverChanged |= iterativelySimplifyCFG(F, TTI, DT ? &DTU : nullptr, Options); in simplifyFunctionCFGImpl() 296 EverChanged = iterativelySimplifyCFG(F, TTI, DT ? &DTU : nullptr, Options); in simplifyFunctionCFG() 305 const SimplifyCFGOptions &Options) { in simplifyFunctionCFG() 310 bool Changed = simplifyFunctionCFGImpl(F, TTI, DT, Options); in simplifyFunctionCFG() 320 static void applyCommandLineOverridesToOptions(SimplifyCFGOptions &Options) { in applyCommandLineOverridesToOptions() 322 Options.BonusInstThreshold = UserBonusInstThreshold; in applyCommandLineOverridesToOptions() 324 Options in applyCommandLineOverridesToOptions() 226 iterativelySimplifyCFG(Function & F,const TargetTransformInfo & TTI,DomTreeUpdater * DTU,const SimplifyCFGOptions & Options) iterativelySimplifyCFG() argument 269 simplifyFunctionCFGImpl(Function & F,const TargetTransformInfo & TTI,DominatorTree * DT,const SimplifyCFGOptions & Options) simplifyFunctionCFGImpl() argument 298 simplifyFunctionCFG(Function & F,const TargetTransformInfo & TTI,DominatorTree * DT,const SimplifyCFGOptions & Options) simplifyFunctionCFG() argument 313 applyCommandLineOverridesToOptions(SimplifyCFGOptions & Options) applyCommandLineOverridesToOptions() argument 376 SimplifyCFGOptions Options; global() member [all...] |
/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | AnalysisManager.cpp | 21 AnalyzerOptions &Options, in AnalysisManager() argument 24 ASTCtx, Options.UnoptimizedCFG, in AnalysisManager() 25 Options.ShouldIncludeImplicitDtorsInCFG, in AnalysisManager() 27 Options.ShouldIncludeTemporaryDtorsInCFG, in AnalysisManager() 28 Options.ShouldIncludeLifetimeInCFG, in AnalysisManager() 31 Options.ShouldIncludeLoopExitInCFG || in AnalysisManager() 32 Options.ShouldUnrollLoops, in AnalysisManager() 33 Options.ShouldIncludeScopesInCFG, in AnalysisManager() 34 Options.ShouldSynthesizeBodies, in AnalysisManager() 35 Options.ShouldConditionalizeStaticInitializers, in AnalysisManager() [all …]
|
/llvm-project/clang/lib/CodeGen/ |
H A D | BackendUtil.cpp | 356 llvm::TargetOptions &Options) { in initTargetOptions() 363 Options.ThreadModel = llvm::ThreadModel::POSIX; in initTargetOptions() 366 Options.ThreadModel = llvm::ThreadModel::Single; in initTargetOptions() 374 Options.FloatABIType = in initTargetOptions() 386 Options.AllowFPOpFusion = llvm::FPOpFusion::Standard; in initTargetOptions() 390 Options.AllowFPOpFusion = llvm::FPOpFusion::Standard; in initTargetOptions() 393 Options.AllowFPOpFusion = llvm::FPOpFusion::Fast; in initTargetOptions() 397 Options.BinutilsVersion = in initTargetOptions() 399 Options.UseInitArray = CodeGenOpts.UseInitArray; in initTargetOptions() 400 Options in initTargetOptions() 325 initTargetOptions(DiagnosticsEngine & Diags,llvm::TargetOptions & Options,const CodeGenOptions & CodeGenOpts,const clang::TargetOptions & TargetOpts,const LangOptions & LangOpts,const HeaderSearchOptions & HSOpts) initTargetOptions() argument 502 GCOVOptions Options; getGCOVOptions() local 518 InstrProfOptions Options; getInstrProfOptions() local 569 llvm::TargetOptions Options; CreateTargetMachine() local 1005 if (std::optional<GCOVOptions> Options = RunOptimizationPipeline() local 1011 if (std::optional<InstrProfOptions> Options = RunOptimizationPipeline() local [all...] |
/llvm-project/llvm/lib/MC/ |
H A D | MCTargetOptionsCommandFlags.cpp | 172 MCTargetOptions Options; in InitMCTargetOptionsFromFlags() 173 Options.MCRelaxAll = getRelaxAll(); in InitMCTargetOptionsFromFlags() 174 Options.MCIncrementalLinkerCompatible = getIncrementalLinkerCompatible(); in InitMCTargetOptionsFromFlags() 175 Options.FDPIC = getFDPIC(); in InitMCTargetOptionsFromFlags() 176 Options.Dwarf64 = getDwarf64(); in InitMCTargetOptionsFromFlags() 177 Options.DwarfVersion = getDwarfVersion(); in InitMCTargetOptionsFromFlags() 178 Options.ShowMCInst = getShowMCInst(); 179 Options.ABIName = getABIName(); 180 Options.MCFatalWarnings = getFatalWarnings(); 181 Options 157 MCTargetOptions Options; InitMCTargetOptionsFromFlags() local [all...] |
/llvm-project/libc/test/utils/UnitTest/ |
H A D | testfilter_test.cpp | 22 TestOptions Options; in TEST() local 23 Options.TestFilter = "LlvmLibcTestFilterTest.NoFilter"; in TEST() 24 ASSERT_EQ(LIBC_NAMESPACE::testing::Test::runTests(Options), 0); in TEST() 26 Options.TestFilter = "LlvmLibcTestFilterTest.IncorrFilter"; in TEST() 27 ASSERT_EQ(LIBC_NAMESPACE::testing::Test::runTests(Options), 1); in TEST() 29 Options.TestFilter = "LlvmLibcTestFilterTest.CorrectFilter"; in TEST() 30 ASSERT_EQ(LIBC_NAMESPACE::testing::Test::runTests(Options), 0); in TEST() 32 Options.TestFilter = "LlvmLibcTestFilterTest.CorrectFilter2"; in TEST() 33 ASSERT_EQ(LIBC_NAMESPACE::testing::Test::runTests(Options), 0); in TEST() 37 TestOptions Options{"LlvmLibcTestFilterTest.NoFilter", /*PrintColor=*/true}; in main() local [all …]
|
/llvm-project/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyOptions.cpp | 73 Options.reserve(OptionMap.size()); in NOptionMap() 75 Options.emplace_back(std::string(KeyValue.getKey()), KeyValue.getValue().Value); in NOptionMap() 79 for (const auto &KeyValue : Options) in denormalize() 83 std::vector<ClangTidyOptions::StringPair> Options; 116 yamlize(IO, NOpts->Options, true, Ctx); in yamlize() 167 static void mapping(IO &IO, ClangTidyOptions &Options) { in mapping() 168 mapChecks(IO, Options.Checks); in mapping() 169 IO.mapOptional("WarningsAsErrors", Options.WarningsAsErrors); in mapping() 170 IO.mapOptional("HeaderFileExtensions", Options.HeaderFileExtensions); in mapping() 172 Options in mapping() 82 std::vector<ClangTidyOptions::StringPair> Options; global() member 191 ClangTidyOptions Options; getDefaults() local 465 parseLineFilter(StringRef LineFilter,clang::tidy::ClangTidyGlobalOptions & Options) parseLineFilter() argument 474 ClangTidyOptions Options; parseConfiguration() local 490 ClangTidyOptions Options; parseConfigurationWithDiags() local 497 configurationAsText(const ClangTidyOptions & Options) configurationAsText() argument [all...] |
/llvm-project/llvm/unittests/Target/ |
H A D | TargetMachineOptionsTest.cpp | 24 auto *Options = LLVMCreateTargetMachineOptions(); in TEST() local 26 LLVMTargetMachineOptionsSetCPU(Options, "cortex-a53"); in TEST() 27 LLVMTargetMachineOptionsSetFeatures(Options, "+neon"); in TEST() 28 LLVMTargetMachineOptionsSetABI(Options, "aapcs"); in TEST() 29 LLVMTargetMachineOptionsSetCodeGenOptLevel(Options, LLVMCodeGenLevelNone); in TEST() 30 LLVMTargetMachineOptionsSetRelocMode(Options, LLVMRelocStatic); in TEST() 31 LLVMTargetMachineOptionsSetCodeModel(Options, LLVMCodeModelKernel); in TEST() 33 LLVMDisposeTargetMachineOptions(Options); in TEST() 64 auto *Options = LLVMCreateTargetMachineOptions(); in TEST() local 65 auto *TM = LLVMCreateTargetMachineWithOptions(Target, Triple, Options); in TEST() [all …]
|
/llvm-project/clang-tools-extra/clang-tidy/readability/ |
H A D | IdentifierLengthCheck.cpp | 35 MinimumVariableNameLength(Options.get("MinimumVariableNameLength", in IdentifierLengthCheck() 37 MinimumLoopCounterNameLength(Options.get( in IdentifierLengthCheck() 39 MinimumExceptionNameLength(Options.get( in IdentifierLengthCheck() 41 MinimumParameterNameLength(Options.get( in IdentifierLengthCheck() 44 Options.get("IgnoredVariableNames", DefaultIgnoredVariableNames)), in IdentifierLengthCheck() 46 IgnoredLoopCounterNamesInput(Options.get("IgnoredLoopCounterNames", in IdentifierLengthCheck() 50 Options.get("IgnoredExceptionVariableNames", in IdentifierLengthCheck() 54 Options.get("IgnoredParameterNames", DefaultIgnoredParameterNames)), in IdentifierLengthCheck() 58 Options.store(Opts, "MinimumVariableNameLength", MinimumVariableNameLength); in storeOptions() 59 Options.store(Opts, "MinimumLoopCounterNameLength", in storeOptions() [all …]
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | LLVMTargetMachine.cpp |
|
H A D | CommandFlags.cpp | 532 codegen::getBBSectionsMode(llvm::TargetOptions &Options) { in getBBSectionsMode() 544 Options.BBSectionsFuncListBuf = std::move(*MBOrErr); 554 TargetOptions Options; in InitTargetOptionsFromCodeGenFlags() 555 Options.AllowFPOpFusion = getFuseFPOps(); in InitTargetOptionsFromCodeGenFlags() 556 Options.UnsafeFPMath = getEnableUnsafeFPMath(); in InitTargetOptionsFromCodeGenFlags() 557 Options.NoInfsFPMath = getEnableNoInfsFPMath(); in InitTargetOptionsFromCodeGenFlags() 558 Options.NoNaNsFPMath = getEnableNoNaNsFPMath(); in InitTargetOptionsFromCodeGenFlags() 559 Options.NoSignedZerosFPMath = getEnableNoSignedZerosFPMath(); in InitTargetOptionsFromCodeGenFlags() 560 Options.ApproxFuncFPMath = getEnableApproxFuncFPMath(); in InitTargetOptionsFromCodeGenFlags() 561 Options in InitTargetOptionsFromCodeGenFlags() 525 getBBSectionsMode(llvm::TargetOptions & Options) getBBSectionsMode() argument 549 TargetOptions Options; InitTargetOptionsFromCodeGenFlags() local [all...] |
/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
H A D | options_parser.cpp | 53 } Options[MaxOptions]; member in __anonbe4d66020111::OptionParser 69 InvokeIfNonNull(Printf, "\t%s\n\t\t- %s\n", Options[I].Name, in printOptionDescriptions() 70 Options[I].Desc); in printOptionDescriptions() 154 const uintptr_t Len = strlen(Options[I].Name); in setOptionToValue() 155 if (strncmp(Name, Options[I].Name, Len) != 0 || Name[Len] != '=') in setOptionToValue() 158 switch (Options[I].Type) { in setOptionToValue() 160 Ok = parseBool(Value, reinterpret_cast<bool *>(Options[I].Var)); in setOptionToValue() 164 Value, Options[I].Name); in setOptionToValue() 168 *reinterpret_cast<int *>(Options[I].Var) = in setOptionToValue() 175 Value, Options[I].Name); in setOptionToValue() [all …]
|
/llvm-project/llvm/tools/llvm-cov/ |
H A D | CoverageReport.cpp | 105 void renderDivider(raw_ostream &OS, const CoverageViewOptions &Options, bool isFileReport) { in renderDivider() argument 109 if (!Options.ShowRegionSummary) in renderDivider() 111 if (!Options.ShowInstantiationSummary) in renderDivider() 113 if (!Options.ShowBranchSummary) in renderDivider() 115 if (!Options.ShowMCDCSummary) in renderDivider() 119 if (!Options.ShowBranchSummary) in renderDivider() 121 if (!Options.ShowMCDCSummary) in renderDivider() 238 if (Options.ShowRegionSummary) { in render() 241 Options.colored_ostream(OS, FileCoverageColor) in render() 246 Options.colored_ostream(OS, FileCoverageColor) in render() [all …]
|
/llvm-project/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 34 /// Options for LLVMCreateTargetMachine(). 122 void LLVMDisposeTargetMachineOptions(LLVMTargetMachineOptionsRef Options) { in LLVMDisposeTargetMachineOptions() argument 123 delete unwrap(Options); in LLVMDisposeTargetMachineOptions() 126 void LLVMTargetMachineOptionsSetCPU(LLVMTargetMachineOptionsRef Options, in LLVMTargetMachineOptionsSetCPU() argument 128 unwrap(Options)->CPU = CPU; in LLVMTargetMachineOptionsSetCPU() 131 void LLVMTargetMachineOptionsSetFeatures(LLVMTargetMachineOptionsRef Options, in LLVMTargetMachineOptionsSetFeatures() argument 133 unwrap(Options)->Features = Features; in LLVMTargetMachineOptionsSetFeatures() 136 void LLVMTargetMachineOptionsSetABI(LLVMTargetMachineOptionsRef Options, in LLVMTargetMachineOptionsSetABI() argument 138 unwrap(Options)->ABI = ABI; in LLVMTargetMachineOptionsSetABI() 142 LLVMTargetMachineOptionsRef Options, LLVMCodeGenOptLeve in LLVMTargetMachineOptionsSetCodeGenOptLevel() argument 163 LLVMTargetMachineOptionsSetRelocMode(LLVMTargetMachineOptionsRef Options,LLVMRelocMode Reloc) LLVMTargetMachineOptionsSetRelocMode() argument 193 LLVMTargetMachineOptionsSetCodeModel(LLVMTargetMachineOptionsRef Options,LLVMCodeModel CodeModel) LLVMTargetMachineOptionsSetCodeModel() argument 201 LLVMCreateTargetMachineWithOptions(LLVMTargetRef T,const char * Triple,LLVMTargetMachineOptionsRef Options) LLVMCreateTargetMachineWithOptions() argument 214 auto *Options = LLVMCreateTargetMachineOptions(); LLVMCreateTargetMachine() local [all...] |
/llvm-project/llvm/unittests/Passes/PassBuilderBindings/ |
H A D | PassBuilderBindingsTest.cpp | 63 LLVMPassBuilderOptionsRef Options = LLVMCreatePassBuilderOptions(); in TEST_F() 64 LLVMPassBuilderOptionsSetLoopUnrolling(Options, 1); in TEST_F() 65 LLVMPassBuilderOptionsSetVerifyEach(Options, 1); in TEST_F() 66 LLVMPassBuilderOptionsSetDebugLogging(Options, 0); in TEST_F() 67 LLVMPassBuilderOptionsSetAAPipeline(Options, "basic-aa"); in TEST_F() 68 if (LLVMErrorRef E = LLVMRunPasses(Module, "default<O2>", TM, Options)) { in TEST_F() 70 LLVMDisposePassBuilderOptions(Options); in TEST_F() 73 LLVMDisposePassBuilderOptions(Options); in TEST_F() local 77 LLVMPassBuilderOptionsRef Options = LLVMCreatePassBuilderOptions(); in TEST_F() 78 LLVMErrorRef E1 = LLVMRunPasses(Module, "", TM, Options); in TEST_F() 59 LLVMPassBuilderOptionsRef Options = LLVMCreatePassBuilderOptions(); TEST_F() local [all...] |
/llvm-project/llvm/tools/llvm-dwarfutil/ |
H A D | llvm-dwarfutil.cpp | 11 #include "Options.h" 37 #include "Options.inc" 42 #include "Options.inc" 46 #include "Options.inc" 52 #include "Options.inc" 70 static Error validateAndSetOptions(opt::InputArgList &Args, Options &Options) { in validateAndSetOptions() 88 Options.InputFileName = InputFiles[0]; in validateAndSetOptions() 89 Options.OutputFileName = InputFiles[1]; in validateAndSetOptions() 91 Options in validateAndSetOptions() 68 validateAndSetOptions(opt::InputArgList & Args,Options & Options) validateAndSetOptions() argument [all...] |