Home
last modified time | relevance | path

Searched refs:getNumOccurrences (Results 1 – 25 of 96) sorted by relevance

1234

/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A Dllvm-profgen.cpp83 uint16_t HasPerfData = PerfDataFilename.getNumOccurrences(); in validateCommandLine()
84 uint16_t HasPerfScript = PerfScriptFilename.getNumOccurrences(); in validateCommandLine()
86 UnsymbolizedProfFilename.getNumOccurrences(); in validateCommandLine()
87 uint16_t HasSampleProfile = SampleProfFilename.getNumOccurrences(); in validateCommandLine()
129 if (PerfDataFilename.getNumOccurrences()) { in getPerfInputFile()
132 } else if (PerfScriptFilename.getNumOccurrences()) { in getPerfInputFile()
135 } else if (UnsymbolizedProfFilename.getNumOccurrences()) { in getPerfInputFile()
160 if (SampleProfFilename.getNumOccurrences()) { in main()
173 if (ProcessId.getNumOccurrences()) in main()
H A DCSPreInliner.cpp67 if (!SampleHotCallSiteThreshold.getNumOccurrences()) in CSPreInliner()
69 if (!SampleColdCallSiteThreshold.getNumOccurrences()) in CSPreInliner()
71 if (!ProfileInlineLimitMax.getNumOccurrences()) in CSPreInliner()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/dexp/
H A DDexp.cpp110 if (Help.getNumOccurrences() > 0) { in parseAndRun()
156 if (Scopes.getNumOccurrences() > 0) { in run()
186 if (ID.getNumOccurrences() == 0 && Name.getNumOccurrences() == 0) { in run()
192 if (ID.getNumOccurrences()) { in run()
233 if (ID.getNumOccurrences() == 0 && Name.getNumOccurrences() == 0) { in run()
239 if (ID.getNumOccurrences()) { in run()
287 if (ID.getNumOccurrences() == 0 || Relation.getNumOccurrences() == 0) { in run()
293 if (ID.getNumOccurrences()) { in run()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSimplifyCFGPass.cpp312 if (UserBonusInstThreshold.getNumOccurrences()) in applyCommandLineOverridesToOptions()
314 if (UserForwardSwitchCond.getNumOccurrences()) in applyCommandLineOverridesToOptions()
316 if (UserSwitchRangeToICmp.getNumOccurrences()) in applyCommandLineOverridesToOptions()
318 if (UserSwitchToLookup.getNumOccurrences()) in applyCommandLineOverridesToOptions()
320 if (UserKeepLoops.getNumOccurrences()) in applyCommandLineOverridesToOptions()
322 if (UserHoistCommonInsts.getNumOccurrences()) in applyCommandLineOverridesToOptions()
324 if (UserSinkCommonInsts.getNumOccurrences()) in applyCommandLineOverridesToOptions()
H A DLoopUnrollPass.cpp232 if (UnrollThreshold.getNumOccurrences() > 0) in gatherUnrollingPreferences()
234 if (UnrollPartialThreshold.getNumOccurrences() > 0) in gatherUnrollingPreferences()
236 if (UnrollMaxPercentThresholdBoost.getNumOccurrences() > 0) in gatherUnrollingPreferences()
238 if (UnrollMaxCount.getNumOccurrences() > 0) in gatherUnrollingPreferences()
240 if (UnrollFullMaxCount.getNumOccurrences() > 0) in gatherUnrollingPreferences()
242 if (UnrollAllowPartial.getNumOccurrences() > 0) in gatherUnrollingPreferences()
244 if (UnrollAllowRemainder.getNumOccurrences() > 0) in gatherUnrollingPreferences()
246 if (UnrollRuntime.getNumOccurrences() > 0) in gatherUnrollingPreferences()
250 if (UnrollUnrollRemainder.getNumOccurrences() > 0) in gatherUnrollingPreferences()
252 if (UnrollMaxIterationsCountToAnalyze.getNumOccurrences() > 0) in gatherUnrollingPreferences()
[all …]
H A DLoopDataPrefetch.cpp82 if (MinPrefetchStride.getNumOccurrences() > 0) in getMinPrefetchStride()
89 if (PrefetchDistance.getNumOccurrences() > 0) in getPrefetchDistance()
95 if (MaxPrefetchIterationsAhead.getNumOccurrences() > 0) in getMaxPrefetchIterationsAhead()
101 if (PrefetchWrites.getNumOccurrences() > 0) in doPrefetchWrites()
H A DLoopUnrollAndJamPass.cpp186 bool UserUnrollCount = UnrollAndJamCount.getNumOccurrences() > 0; in computeUnrollAndJamCount()
299 if (AllowUnrollAndJam.getNumOccurrences() > 0) in tryToUnrollAndJamLoop()
301 if (UnrollAndJamThreshold.getNumOccurrences() > 0) in tryToUnrollAndJamLoop()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/tool/
H A DClangTidyMain.cpp317 if (Checks.getNumOccurrences() > 0) in createOptionsProvider()
319 if (WarningsAsErrors.getNumOccurrences() > 0) in createOptionsProvider()
321 if (HeaderFilter.getNumOccurrences() > 0) in createOptionsProvider()
323 if (SystemHeaders.getNumOccurrences() > 0) in createOptionsProvider()
325 if (FormatStyle.getNumOccurrences() > 0) in createOptionsProvider()
327 if (UseColor.getNumOccurrences() > 0) in createOptionsProvider()
345 if (ConfigFile.getNumOccurrences() > 0) { in createOptionsProvider()
346 if (Config.getNumOccurrences() > 0) { in createOptionsProvider()
363 if (Config.getNumOccurrences() > 0) in createOptionsProvider()
/llvm-project-15.0.7/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp704 if (AllScopesCompletion.getNumOccurrences()) in FlagsConfigProvider()
753 if (!Sync.getNumOccurrences()) in main()
755 if (!CrashPragmas.getNumOccurrences()) in main()
761 if (!EnableConfig.getNumOccurrences()) in main()
764 if (!EnableBackgroundIndex.getNumOccurrences()) in main()
784 if (WorkerThreadsCount.getNumOccurrences()) in main()
788 if (FallbackStyle.getNumOccurrences()) in main()
837 !CheckFile.getNumOccurrences()) in main()
911 if (CompletionStyle.getNumOccurrences()) in main()
966 if (TweakList.getNumOccurrences()) in main()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCommandFlags.cpp46 if (NAME##View->getNumOccurrences()) { \
551 Options.ExplicitEmulatedTLS = EmulatedTLSView->getNumOccurrences() > 0; in InitTargetOptionsFromCodeGenFlags()
629 if (CL->getNumOccurrences() > 0 && !F.hasFnAttribute(AttrName)) \
656 if (FramePointerUsageView->getNumOccurrences() > 0 && in setFunctionAttributes()
665 if (DisableTailCallsView->getNumOccurrences() > 0) in setFunctionAttributes()
677 if (DenormalFPMathView->getNumOccurrences() > 0 && in setFunctionAttributes()
686 if (DenormalFP32MathView->getNumOccurrences() > 0 && in setFunctionAttributes()
696 if (TrapFuncNameView->getNumOccurrences() > 0) in setFunctionAttributes()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp164 if (ProfileSummaryHotCount.getNumOccurrences() > 0) in getHotCountThreshold()
174 if (ProfileSummaryColdCount.getNumOccurrences() > 0) in getColdCountThreshold()
200 !UseContextLessSummary.getNumOccurrences())) { in computeSummaryForProfiles()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DDialectGen.cpp66 if (dialects.size() == 1 && selectedDialect.getNumOccurrences() == 0) in findDialectToGenerate()
69 if (selectedDialect.getNumOccurrences() == 0) { in findDialectToGenerate()
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp851 if (RegionCoverageLtFilter.getNumOccurrences() || in run()
852 RegionCoverageGtFilter.getNumOccurrences() || in run()
853 LineCoverageLtFilter.getNumOccurrences() || in run()
854 LineCoverageGtFilter.getNumOccurrences()) { in run()
856 if (RegionCoverageLtFilter.getNumOccurrences()) in run()
859 if (RegionCoverageGtFilter.getNumOccurrences()) in run()
862 if (LineCoverageLtFilter.getNumOccurrences()) in run()
865 if (LineCoverageGtFilter.getNumOccurrences()) in run()
1033 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCommandLineTest.cpp387 EXPECT_EQ(0, Input.getNumOccurrences()); in TEST()
399 EXPECT_EQ(1, Option.getNumOccurrences()); in testAliasRequired()
1574 EXPECT_EQ(1, OptO.getNumOccurrences()); in TEST()
1575 EXPECT_EQ(1, OptB.getNumOccurrences()); in TEST()
2011 EXPECT_EQ(0, Input.getNumOccurrences()); in TEST()
2033 EXPECT_EQ(0, BoolOption.getNumOccurrences()); in TEST()
2037 EXPECT_EQ(0, StrOption.getNumOccurrences()); in TEST()
2045 EXPECT_EQ(0, StrInitOption.getNumOccurrences()); in TEST()
2056 EXPECT_EQ(1, BoolOption.getNumOccurrences()); in TEST()
2060 EXPECT_EQ(1, StrOption.getNumOccurrences()); in TEST()
[all …]
/llvm-project-15.0.7/llvm/tools/opt/
H A Dopt.cpp345 Builder.DisableUnrollLoops = (DisableLoopUnrolling.getNumOccurrences() > 0) ? in AddOptimizationPasses()
364 if (CodeGenOptLevel.getNumOccurrences()) in GetCodeGenOptLevel()
557 PassPipeline.getNumOccurrences() > 0; in main()
733 if (PassPipeline.getNumOccurrences() > 0 && PassList.size() > 0) { in main()
745 (PassPipeline.getNumOccurrences() > 0 || PassList.size() > 0)) { in main()
/llvm-project-15.0.7/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp270 if (!O.getNumOccurrences() || O.getPosition() < Default.getPosition()) in processOptionImpl()
275 if (!EnableAllViews.getNumOccurrences() && in processViewOptions()
276 !EnableAllStats.getNumOccurrences()) in processViewOptions()
279 if (EnableAllViews.getNumOccurrences()) { in processViewOptions()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp170 DataMask(DataBankMask.getNumOccurrences() ? int64_t(DataBankMask) in ARMBankConflictHazardRecognizer()
172 AssumeITCMBankConflict(AssumeITCMConflict.getNumOccurrences() in ARMBankConflictHazardRecognizer()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp251 return ClUseStackSafety.getNumOccurrences() ? ClUseStackSafety in mightUseStackSafetyAnalysis()
272 this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover; in HWAddressSanitizer()
273 this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0 in HWAddressSanitizer()
580 ClUseShortGranules.getNumOccurrences() ? ClUseShortGranules : NewRuntime; in initializeModule()
583 (ClInlineAllChecks.getNumOccurrences() ? !ClInlineAllChecks : !Recover); in initializeModule()
585 if (ClMatchAllTag.getNumOccurrences()) { in initializeModule()
596 InstrumentLandingPads = ClInstrumentLandingPads.getNumOccurrences() in initializeModule()
603 ClGlobals.getNumOccurrences() ? ClGlobals : NewRuntime; in initializeModule()
609 ClInstrumentPersonalityFunctions.getNumOccurrences() in initializeModule()
1697 } else if (ClMappingOffset.getNumOccurrences() > 0) { in init()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1831 !UseProfiledCallGraph.getNumOccurrences())) { in buildFunctionOrder()
1966 if (!UseIterativeBFIInference.getNumOccurrences()) in doInitialization()
1968 if (!SampleProfileUseProfi.getNumOccurrences()) in doInitialization()
1970 if (!EnableExtTspBlockPlacement.getNumOccurrences()) in doInitialization()
1973 if (!ProfileSizeInline.getNumOccurrences()) in doInitialization()
1975 if (!CallsitePrioritizedInline.getNumOccurrences()) in doInitialization()
1978 if (!AllowRecursiveInline.getNumOccurrences()) in doInitialization()
1982 if (!UsePreInlinerDecision.getNumOccurrences()) in doInitialization()
1991 if (!ProfileInlineLimitMin.getNumOccurrences()) in doInitialization()
1993 if (!ProfileInlineLimitMax.getNumOccurrences()) in doInitialization()
/llvm-project-15.0.7/clang-tools-extra/pseudo/tool/
H A DClangPseudo.cpp109 if (Source.getNumOccurrences()) { in main()
162 if (HTMLForest.getNumOccurrences()) { in main()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp376 bool UserPeelCount = UnrollForcePeelCount.getNumOccurrences() > 0; in computePeelCount()
713 if (UnrollPeelCount.getNumOccurrences() > 0) in gatherPeelingPreferences()
715 if (UnrollAllowPeeling.getNumOccurrences() > 0) in gatherPeelingPreferences()
717 if (UnrollAllowLoopNestsPeeling.getNumOccurrences() > 0) in gatherPeelingPreferences()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600TargetMachine.cpp61 EnableAMDGPUFunctionCallsOpt.getNumOccurrences() == 0) in R600TargetMachine()
H A DAMDGPUTargetMachine.h135 if (Opt.getNumOccurrences())
/llvm-project-15.0.7/clang/tools/clang-format/
H A DClangFormat.cpp378 if (Cursor.getNumOccurrences() != 0) { in outputXML()
469 if (SortIncludes.getNumOccurrences() != 0) { in format()
523 if (Cursor.getNumOccurrences() != 0) { in format()
/llvm-project-15.0.7/mlir/lib/Pass/
H A DPassManagerOptions.cpp138 if (options->reproducerFile.getNumOccurrences()) in applyPassManagerCLOptions()

1234