Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimplifyCFGPass.cpp320 if (UserBonusInstThreshold.getNumOccurrences()) in applyCommandLineOverridesToOptions()
322 if (UserForwardSwitchCond.getNumOccurrences()) in applyCommandLineOverridesToOptions()
324 if (UserSwitchRangeToICmp.getNumOccurrences()) in applyCommandLineOverridesToOptions()
326 if (UserSwitchToLookup.getNumOccurrences()) in applyCommandLineOverridesToOptions()
328 if (UserKeepLoops.getNumOccurrences()) in applyCommandLineOverridesToOptions()
330 if (UserHoistCommonInsts.getNumOccurrences()) in applyCommandLineOverridesToOptions()
332 if (UserHoistLoadsStoresWithCondFaulting.getNumOccurrences()) in applyCommandLineOverridesToOptions()
335 if (UserSinkCommonInsts.getNumOccurrences()) in applyCommandLineOverridesToOptions()
337 if (UserSpeculateUnpredictables.getNumOccurrences()) in applyCommandLineOverridesToOptions()
H A DLoopUnrollPass.cpp240 if (UnrollThreshold.getNumOccurrences() > 0) in gatherUnrollingPreferences()
242 if (UnrollPartialThreshold.getNumOccurrences() > 0) in gatherUnrollingPreferences()
244 if (UnrollMaxPercentThresholdBoost.getNumOccurrences() > 0) in gatherUnrollingPreferences()
246 if (UnrollMaxCount.getNumOccurrences() > 0) in gatherUnrollingPreferences()
248 if (UnrollMaxUpperBound.getNumOccurrences() > 0) in gatherUnrollingPreferences()
250 if (UnrollFullMaxCount.getNumOccurrences() > 0) in gatherUnrollingPreferences()
252 if (UnrollAllowPartial.getNumOccurrences() > 0) in gatherUnrollingPreferences()
254 if (UnrollAllowRemainder.getNumOccurrences() > 0) in gatherUnrollingPreferences()
256 if (UnrollRuntime.getNumOccurrences() > 0) in gatherUnrollingPreferences()
260 if (UnrollUnrollRemainder.getNumOccurrences() > 0) in gatherUnrollingPreferences()
[all …]
H A DLoopDataPrefetch.cpp81 if (MinPrefetchStride.getNumOccurrences() > 0) in getMinPrefetchStride()
88 if (PrefetchDistance.getNumOccurrences() > 0) in getPrefetchDistance()
94 if (MaxPrefetchIterationsAhead.getNumOccurrences() > 0) in getMaxPrefetchIterationsAhead()
100 if (PrefetchWrites.getNumOccurrences() > 0) in doPrefetchWrites()
H A DLoopUnrollAndJamPass.cpp181 bool UserUnrollCount = UnrollAndJamCount.getNumOccurrences() > 0; in computeUnrollAndJamCount()
294 if (AllowUnrollAndJam.getNumOccurrences() > 0) in tryToUnrollAndJamLoop()
296 if (UnrollAndJamThreshold.getNumOccurrences() > 0) in tryToUnrollAndJamLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DLowerAllowCheckPass.cpp88 if (HotPercentileCutoff.getNumOccurrences()) in removeUbsanTraps()
108 return RandomRate.getNumOccurrences() && in removeUbsanTraps()
170 return RandomRate.getNumOccurrences() || in IsRequested()
171 HotPercentileCutoff.getNumOccurrences(); in IsRequested()
H A DHWAddressSanitizer.cpp269 return Opt.getNumOccurrences() ? Opt : Other; in optOr()
307 this->Rng = ClRandomKeepRate.getNumOccurrences() ? M.createRNG(DEBUG_TYPE) in HWAddressSanitizer()
668 if (ClMatchAllTag.getNumOccurrences()) { in initializeModule()
1551 if (!ClHotPercentileCutoff.getNumOccurrences()) in selectiveInstrumentationShouldSkip()
1565 if (!ClRandomKeepRate.getNumOccurrences()) in selectiveInstrumentationShouldSkip()
1899 if (ClMappingOffset.getNumOccurrences() > 0 && in init()
1900 !(ClMappingOffsetDynamic.getNumOccurrences() > 0 && in init()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp179 if (ProfileSummaryHotCount.getNumOccurrences() > 0) in getHotCountThreshold()
189 if (ProfileSummaryColdCount.getNumOccurrences() > 0) in getColdCountThreshold()
215 !UseContextLessSummary.getNumOccurrences())) { in computeSummaryForProfiles()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp250 if (ForceHardwareLoops.getNumOccurrences()) in runOnFunction()
252 if (ForceHardwareLoopPHI.getNumOccurrences()) in runOnFunction()
254 if (ForceNestedLoop.getNumOccurrences()) in runOnFunction()
256 if (ForceGuardLoopEntry.getNumOccurrences()) in runOnFunction()
258 if (LoopDecrement.getNumOccurrences()) in runOnFunction()
260 if (CounterBitWidth.getNumOccurrences()) in runOnFunction()
H A DCommandFlags.cpp50 if (NAME##View->getNumOccurrences()) { \
666 if (CL->getNumOccurrences() > 0 && !F.hasFnAttribute(AttrName)) \
693 if (FramePointerUsageView->getNumOccurrences() > 0 && in setFunctionAttributes()
704 if (DisableTailCallsView->getNumOccurrences() > 0) in setFunctionAttributes()
716 if (DenormalFPMathView->getNumOccurrences() > 0 && in setFunctionAttributes()
725 if (DenormalFP32MathView->getNumOccurrences() > 0 && in setFunctionAttributes()
735 if (TrapFuncNameView->getNumOccurrences() > 0) in setFunctionAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Subtarget.cpp106 if (OverrideVectorInsertExtractBaseCost.getNumOccurrences() > 0) in getVectorInsertExtractBaseCost()
365 if (AArch64MinimumJumpTableEntries.getNumOccurrences() > 0 || !HasMinSize) in initializeProperties()
383 AArch64StreamingHazardSize.getNumOccurrences() > 0 in AArch64Subtarget()
624 if (UseScalarIncVL.getNumOccurrences()) in useScalarIncVL()
649 if (AuthenticatedLRCheckMethod.getNumOccurrences()) in getAuthenticatedLRCheckMethod()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUResourceUsageAnalysis.cpp89 if (!clAssumedStackSizeForDynamicSizeObjects.getNumOccurrences()) in runOnMachineFunction()
91 if (!clAssumedStackSizeForExternalCall.getNumOccurrences()) in runOnMachineFunction()
116 if (!clAssumedStackSizeForDynamicSizeObjects.getNumOccurrences()) in run()
118 if (!clAssumedStackSizeForExternalCall.getNumOccurrences()) in run()
H A DAMDGPUWaitSGPRHazards.cpp451 if (!GlobalEnableSGPRHazardWaits.getNumOccurrences()) in run()
454 if (!GlobalCullSGPRHazardsOnFunctionBoundary.getNumOccurrences()) in run()
457 if (!GlobalCullSGPRHazardsAtMemWait.getNumOccurrences()) in run()
460 if (!GlobalCullSGPRHazardsMemWaitThreshold.getNumOccurrences()) in run()
H A DR600TargetMachine.cpp64 EnableAMDGPUFunctionCallsOpt.getNumOccurrences() == 0) in R600TargetMachine()
H A DAMDGPUTargetMachine.h153 if (Opt.getNumOccurrences())
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1875 !UseProfiledCallGraph.getNumOccurrences())) { in buildFunctionOrder()
1978 if (DisableSampleLoaderInlining.getNumOccurrences()) in doInitialization()
2016 if (!UseIterativeBFIInference.getNumOccurrences()) in doInitialization()
2018 if (!SampleProfileUseProfi.getNumOccurrences()) in doInitialization()
2020 if (!EnableExtTspBlockPlacement.getNumOccurrences()) in doInitialization()
2023 if (!ProfileSizeInline.getNumOccurrences()) in doInitialization()
2025 if (!CallsitePrioritizedInline.getNumOccurrences()) in doInitialization()
2028 if (!AllowRecursiveInline.getNumOccurrences()) in doInitialization()
2032 if (!UsePreInlinerDecision.getNumOccurrences()) in doInitialization()
2042 if (!SalvageStaleProfile.getNumOccurrences()) in doInitialization()
[all …]
H A DElimAvailExtern.cpp123 if (ConvertGlobalVariableInAddrSpace.getNumOccurrences() && in eliminateAvailableExternally()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp912 if (RegionCoverageLtFilter.getNumOccurrences() || in run()
913 RegionCoverageGtFilter.getNumOccurrences() || in run()
914 LineCoverageLtFilter.getNumOccurrences() || in run()
915 LineCoverageGtFilter.getNumOccurrences()) { in run()
917 if (RegionCoverageLtFilter.getNumOccurrences()) in run()
920 if (RegionCoverageGtFilter.getNumOccurrences()) in run()
923 if (LineCoverageLtFilter.getNumOccurrences()) in run()
926 if (LineCoverageGtFilter.getNumOccurrences()) in run()
1112 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVLandingPadSetup.cpp55 if (PreferredLandingPadLabel.getNumOccurrences() > 0) { in runOnMachineFunction()
H A DRISCVIndirectBranchTracking.cpp71 if (PreferredLandingPadLabel.getNumOccurrences() > 0) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp168 DataMask(DataBankMask.getNumOccurrences() ? int64_t(DataBankMask) in ARMBankConflictHazardRecognizer()
170 AssumeITCMBankConflict(AssumeITCMConflict.getNumOccurrences() in ARMBankConflictHazardRecognizer()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp329 if (!O.getNumOccurrences() || O.getPosition() < Default.getPosition()) in processOptionImpl()
334 if (!EnableAllViews.getNumOccurrences() && in processViewOptions()
335 !EnableAllStats.getNumOccurrences()) in processViewOptions()
338 if (EnableAllViews.getNumOccurrences()) { in processViewOptions()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp355 if (WholeProgramVisibilityEnabledInLTO.getNumOccurrences() > 0) in run()
357 if (ValidateAllVtablesHaveTypeInfos.getNumOccurrences() > 0) in run()
359 if (AllVtablesHaveTypeInfos.getNumOccurrences() > 0) in run()
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp383 if (Cursor.getNumOccurrences() != 0) { in outputXML()
476 if (SortIncludes.getNumOccurrences() != 0) { in format()
532 if (Cursor.getNumOccurrences() != 0) { in format()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp1476 if (CacheEntries.getNumOccurrences() > 0) in computeCacheDirectedLayout()
1478 if (CacheSize.getNumOccurrences() > 0) in computeCacheDirectedLayout()
1480 if (CDMaxChainSize.getNumOccurrences() > 0) in computeCacheDirectedLayout()
1482 if (DistancePower.getNumOccurrences() > 0) in computeCacheDirectedLayout()
1484 if (FrequencyScale.getNumOccurrences() > 0) in computeCacheDirectedLayout()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCTargetOptionsCommandFlags.cpp30 if (NAME##View->getNumOccurrences()) { \

12345