Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A Dllvm-profgen.cpp81 bool HasPerfData = PerfDataFilename.getNumOccurrences() > 0; in validateCommandLine()
82 bool HasPerfScript = PerfScriptFilename.getNumOccurrences() > 0; in validateCommandLine()
84 UnsymbolizedProfFilename.getNumOccurrences() > 0; in validateCommandLine()
85 bool HasSampleProfile = SampleProfFilename.getNumOccurrences() > 0; in validateCommandLine()
127 if (PerfDataFilename.getNumOccurrences()) { in getPerfInputFile()
130 } else if (PerfScriptFilename.getNumOccurrences()) { in getPerfInputFile()
133 } else if (UnsymbolizedProfFilename.getNumOccurrences()) { in getPerfInputFile()
158 if (SampleProfFilename.getNumOccurrences()) { in main()
171 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()
/openbsd-src/gnu/llvm/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 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 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 DLoopUnrollAndJamPass.cpp184 bool UserUnrollCount = UnrollAndJamCount.getNumOccurrences() > 0; in computeUnrollAndJamCount()
297 if (AllowUnrollAndJam.getNumOccurrences() > 0) in tryToUnrollAndJamLoop()
299 if (UnrollAndJamThreshold.getNumOccurrences() > 0) in tryToUnrollAndJamLoop()
/openbsd-src/gnu/llvm/clang/tools/clang-offload-bundler/
H A DClangOffloadBundler.cpp211 if (InputFileNames.getNumOccurrences() != 0 && in main()
212 InputFileNamesDeprecatedOpt.getNumOccurrences() != 0) { in main()
227 if (OutputFileNames.getNumOccurrences() != 0 && in main()
228 OutputFileNamesDeprecatedOpt.getNumOccurrences() != 0) { in main()
273 if (TargetNames.getNumOccurrences() == 0) { in main()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCommandFlags.cpp48 if (NAME##View->getNumOccurrences()) { \
553 Options.ExplicitEmulatedTLS = EmulatedTLSView->getNumOccurrences() > 0; in InitTargetOptionsFromCodeGenFlags()
631 if (CL->getNumOccurrences() > 0 && !F.hasFnAttribute(AttrName)) \
658 if (FramePointerUsageView->getNumOccurrences() > 0 && in setFunctionAttributes()
667 if (DisableTailCallsView->getNumOccurrences() > 0) in setFunctionAttributes()
679 if (DenormalFPMathView->getNumOccurrences() > 0 && in setFunctionAttributes()
688 if (DenormalFP32MathView->getNumOccurrences() > 0 && in setFunctionAttributes()
698 if (TrapFuncNameView->getNumOccurrences() > 0) in setFunctionAttributes()
H A DTargetPassConfig.cpp465 if (Option.getNumOccurrences()) \ in getCGPassBuilderOption()
614 if (EnableIPRA.getNumOccurrences()) in TargetPassConfig()
624 if (EnableGlobalISelAbort.getNumOccurrences()) in TargetPassConfig()
1423 return RegAlloc.getNumOccurrences() == 0; in usingDefaultRegAlloc()
H A DHardwareLoops.cpp269 if (CounterBitWidth.getNumOccurrences()) in TryConvertLoop()
273 if (LoopDecrement.getNumOccurrences()) in TryConvertLoop()
H A DExpandMemCmp.cpp772 if (MemCmpEqZeroNumLoadsPerBlock.getNumOccurrences()) in expandMemCmp()
776 MaxLoadsPerMemcmpOptSize.getNumOccurrences()) in expandMemCmp()
779 if (!OptForSize && MaxLoadsPerMemcmp.getNumOccurrences()) in expandMemCmp()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp170 if (ProfileSummaryHotCount.getNumOccurrences() > 0) in getHotCountThreshold()
180 if (ProfileSummaryColdCount.getNumOccurrences() > 0) in getColdCountThreshold()
206 !UseContextLessSummary.getNumOccurrences())) { in computeSummaryForProfiles()
/openbsd-src/gnu/llvm/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp857 if (RegionCoverageLtFilter.getNumOccurrences() || in run()
858 RegionCoverageGtFilter.getNumOccurrences() || in run()
859 LineCoverageLtFilter.getNumOccurrences() || in run()
860 LineCoverageGtFilter.getNumOccurrences()) { in run()
862 if (RegionCoverageLtFilter.getNumOccurrences()) in run()
865 if (RegionCoverageGtFilter.getNumOccurrences()) in run()
868 if (LineCoverageLtFilter.getNumOccurrences()) in run()
871 if (LineCoverageGtFilter.getNumOccurrences()) in run()
1037 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp170 DataMask(DataBankMask.getNumOccurrences() ? int64_t(DataBankMask) in ARMBankConflictHazardRecognizer()
172 AssumeITCMBankConflict(AssumeITCMConflict.getNumOccurrences() in ARMBankConflictHazardRecognizer()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp254 return ClUseStackSafety.getNumOccurrences() ? ClUseStackSafety in mightUseStackSafetyAnalysis()
275 this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover; in HWAddressSanitizer()
276 this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0 in HWAddressSanitizer()
584 ClUseShortGranules.getNumOccurrences() ? ClUseShortGranules : NewRuntime; in initializeModule()
588 (ClInlineAllChecks.getNumOccurrences() ? !ClInlineAllChecks : !Recover); in initializeModule()
590 if (ClMatchAllTag.getNumOccurrences()) { in initializeModule()
599 InstrumentLandingPads = ClInstrumentLandingPads.getNumOccurrences() in initializeModule()
606 ClGlobals.getNumOccurrences() ? ClGlobals : NewRuntime; in initializeModule()
612 ClInstrumentPersonalityFunctions.getNumOccurrences() in initializeModule()
1690 } else if (ClMappingOffset.getNumOccurrences() > 0) { in init()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1864 !UseProfiledCallGraph.getNumOccurrences())) { in buildFunctionOrder()
1999 if (!UseIterativeBFIInference.getNumOccurrences()) in doInitialization()
2001 if (!SampleProfileUseProfi.getNumOccurrences()) in doInitialization()
2003 if (!EnableExtTspBlockPlacement.getNumOccurrences()) in doInitialization()
2006 if (!ProfileSizeInline.getNumOccurrences()) in doInitialization()
2008 if (!CallsitePrioritizedInline.getNumOccurrences()) in doInitialization()
2011 if (!AllowRecursiveInline.getNumOccurrences()) in doInitialization()
2015 if (!UsePreInlinerDecision.getNumOccurrences()) in doInitialization()
2024 if (!ProfileInlineLimitMin.getNumOccurrences()) in doInitialization()
2026 if (!ProfileInlineLimitMax.getNumOccurrences()) in doInitialization()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp276 if (!O.getNumOccurrences() || O.getPosition() < Default.getPosition()) in processOptionImpl()
281 if (!EnableAllViews.getNumOccurrences() && in processViewOptions()
282 !EnableAllStats.getNumOccurrences()) in processViewOptions()
285 if (EnableAllViews.getNumOccurrences()) { in processViewOptions()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp134 if (!RVVVectorBitsMinOpt.getNumOccurrences()) in getSubtargetImpl()
137 if (VScaleMax.has_value() && !RVVVectorBitsMaxOpt.getNumOccurrences()) in getSubtargetImpl()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp492 bool UserPeelCount = UnrollForcePeelCount.getNumOccurrences() > 0; in computePeelCount()
829 if (UnrollPeelCount.getNumOccurrences() > 0) in gatherPeelingPreferences()
831 if (UnrollAllowPeeling.getNumOccurrences() > 0) in gatherPeelingPreferences()
833 if (UnrollAllowLoopNestsPeeling.getNumOccurrences() > 0) in gatherPeelingPreferences()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600TargetMachine.cpp62 EnableAMDGPUFunctionCallsOpt.getNumOccurrences() == 0) in R600TargetMachine()
H A DAMDGPUTargetMachine.h139 if (Opt.getNumOccurrences())
/openbsd-src/gnu/llvm/clang/tools/clang-format/
H A DClangFormat.cpp379 if (Cursor.getNumOccurrences() != 0) { in outputXML()
470 if (SortIncludes.getNumOccurrences() != 0) { in format()
524 if (Cursor.getNumOccurrences() != 0) { in format()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCTargetOptionsCommandFlags.cpp30 if (NAME##View->getNumOccurrences()) { \
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
H A DLLJITWithRemoteDebugging.cpp148 if (OOPExecutorConnectTCP.getNumOccurrences() > 0) { in main()
/openbsd-src/gnu/llvm/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp896 if (OutOfProcessExecutor.getNumOccurrences()) { in Create()
902 } else if (OutOfProcessExecutorConnect.getNumOccurrences()) { in Create()
1258 if (DebuggerSupport.getNumOccurrences() == 0 && NoExec) in sanitizeArguments()
1266 if (OutOfProcessExecutor.getNumOccurrences() || in sanitizeArguments()
1267 OutOfProcessExecutorConnect.getNumOccurrences()) in sanitizeArguments()
1312 if (!!OutOfProcessExecutor.getNumOccurrences() && in sanitizeArguments()
1313 !!OutOfProcessExecutorConnect.getNumOccurrences()) in sanitizeArguments()
1321 if (!!OutOfProcessExecutor.getNumOccurrences() && in sanitizeArguments()

1234