Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/llvm-project/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.cpp233 if (UnrollThreshold.getNumOccurrences() > 0) in gatherUnrollingPreferences()
235 if (UnrollPartialThreshold.getNumOccurrences() > 0) in gatherUnrollingPreferences()
237 if (UnrollMaxPercentThresholdBoost.getNumOccurrences() > 0) in gatherUnrollingPreferences()
239 if (UnrollMaxCount.getNumOccurrences() > 0) in gatherUnrollingPreferences()
241 if (UnrollMaxUpperBound.getNumOccurrences() > 0) in gatherUnrollingPreferences()
243 if (UnrollFullMaxCount.getNumOccurrences() > 0) in gatherUnrollingPreferences()
245 if (UnrollAllowPartial.getNumOccurrences() > 0) in gatherUnrollingPreferences()
247 if (UnrollAllowRemainder.getNumOccurrences() > 0) in gatherUnrollingPreferences()
249 if (UnrollRuntime.getNumOccurrences() > 0) in gatherUnrollingPreferences()
253 if (UnrollUnrollRemainder.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.cpp182 bool UserUnrollCount = UnrollAndJamCount.getNumOccurrences() > 0; in computeUnrollAndJamCount()
295 if (AllowUnrollAndJam.getNumOccurrences() > 0) in tryToUnrollAndJamLoop()
297 if (UnrollAndJamThreshold.getNumOccurrences() > 0) in tryToUnrollAndJamLoop()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp251 if (ForceHardwareLoops.getNumOccurrences()) in runOnFunction()
253 if (ForceHardwareLoopPHI.getNumOccurrences()) in runOnFunction()
255 if (ForceNestedLoop.getNumOccurrences()) in runOnFunction()
257 if (ForceGuardLoopEntry.getNumOccurrences()) in runOnFunction()
259 if (LoopDecrement.getNumOccurrences()) in runOnFunction()
261 if (CounterBitWidth.getNumOccurrences()) in runOnFunction()
H A DCommandFlags.cpp50 if (NAME##View->getNumOccurrences()) { \
657 if (CL->getNumOccurrences() > 0 && !F.hasFnAttribute(AttrName)) \
684 if (FramePointerUsageView->getNumOccurrences() > 0 && in setFunctionAttributes()
693 if (DisableTailCallsView->getNumOccurrences() > 0) in setFunctionAttributes()
705 if (DenormalFPMathView->getNumOccurrences() > 0 && in setFunctionAttributes()
714 if (DenormalFP32MathView->getNumOccurrences() > 0 && in setFunctionAttributes()
724 if (TrapFuncNameView->getNumOccurrences() > 0) in setFunctionAttributes()
H A DTargetPassConfig.cpp468 if (Option.getNumOccurrences()) \ in getCGPassBuilderOption()
583 if (EnableIPRA.getNumOccurrences()) in TargetPassConfig()
593 if (EnableGlobalISelAbort.getNumOccurrences()) in TargetPassConfig()
1408 return RegAlloc.getNumOccurrences() == 0; in usingDefaultRegAlloc()
H A DMachineBlockPlacement.cpp2974 if (MaxBytesForAlignmentOverride.getNumOccurrences() > 0) in alignBlocks()
3396 if (TailDupPlacementAggressiveThreshold.getNumOccurrences() != 0 && in runOnMachineFunction()
3397 TailDupPlacementThreshold.getNumOccurrences() == 0) in runOnMachineFunction()
3407 if (TailDupPlacementThreshold.getNumOccurrences() == 0 || in runOnMachineFunction()
3408 TailDupPlacementAggressiveThreshold.getNumOccurrences() != 0) in runOnMachineFunction()
3414 if (TailDupPlacementThreshold.getNumOccurrences() == 0 && in runOnMachineFunction()
3416 TailDupPlacementAggressiveThreshold.getNumOccurrences() == 0)) in runOnMachineFunction()
3476 MaxBytesForAlignmentOverride.getNumOccurrences() > 0; in runOnMachineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Subtarget.cpp85 if (OverrideVectorInsertExtractBaseCost.getNumOccurrences() > 0) in getVectorInsertExtractBaseCost()
307 if (AArch64MinimumJumpTableEntries.getNumOccurrences() > 0 || !HasMinSize) in initializeProperties()
537 if (AuthenticatedLRCheckMethod.getNumOccurrences()) in getAuthenticatedLRCheckMethod()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp925 if (RegionCoverageLtFilter.getNumOccurrences() || in run()
926 RegionCoverageGtFilter.getNumOccurrences() || in run()
927 LineCoverageLtFilter.getNumOccurrences() || in run()
928 LineCoverageGtFilter.getNumOccurrences()) { in run()
930 if (RegionCoverageLtFilter.getNumOccurrences()) in run()
933 if (RegionCoverageGtFilter.getNumOccurrences()) in run()
936 if (LineCoverageLtFilter.getNumOccurrences()) in run()
939 if (LineCoverageGtFilter.getNumOccurrences()) in run()
1115 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp248 return ClInstrumentWithCalls.getNumOccurrences() in shouldInstrumentWithCalls()
254 return ClUseStackSafety.getNumOccurrences() ? ClUseStackSafety in mightUseStackSafetyAnalysis()
275 this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover; in HWAddressSanitizer()
276 this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0 in HWAddressSanitizer()
607 (ClInlineAllChecks.getNumOccurrences() ? !ClInlineAllChecks : !Recover); in initializeModule()
610 (ClInlineFastPathChecks.getNumOccurrences() in initializeModule()
616 if (ClMatchAllTag.getNumOccurrences()) { in initializeModule()
626 InstrumentLandingPads = ClInstrumentLandingPads.getNumOccurrences() in initializeModule()
633 ClGlobals.getNumOccurrences() ? ClGlobals : NewRuntime; in initializeModule()
639 ClInstrumentPersonalityFunctions.getNumOccurrences() in initializeModule()
[all …]
H A DAddressSanitizer.cpp507 if (ClMappingScale.getNumOccurrences() > 0) { in getShadowMapping()
584 if (ClMappingOffset.getNumOccurrences() > 0) { in getShadowMapping()
654 : CompileKernel(ClEnableKasan.getNumOccurrences() > 0 ? ClEnableKasan in AddressSanitizer()
656 Recover(ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover), in AddressSanitizer()
662 ClInstrumentationWithCallsThreshold.getNumOccurrences() > 0 in AddressSanitizer()
799 : CompileKernel(ClEnableKasan.getNumOccurrences() > 0 ? ClEnableKasan in ModuleAddressSanitizer()
801 InsertVersionCheck(ClInsertVersionCheck.getNumOccurrences() > 0 in ModuleAddressSanitizer()
804 Recover(ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover), in ModuleAddressSanitizer()
807 UsePrivateAlias(ClUsePrivateAlias.getNumOccurrences() > 0 in ModuleAddressSanitizer()
810 UseOdrIndicator(ClUseOdrIndicator.getNumOccurrences() > 0 in ModuleAddressSanitizer()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMHazardRecognizer.cpp170 DataMask(DataBankMask.getNumOccurrences() ? int64_t(DataBankMask) in ARMBankConflictHazardRecognizer()
172 AssumeITCMBankConflict(AssumeITCMConflict.getNumOccurrences() in ARMBankConflictHazardRecognizer()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1912 !UseProfiledCallGraph.getNumOccurrences())) { in buildFunctionOrder()
2057 if (!UseIterativeBFIInference.getNumOccurrences()) in doInitialization()
2059 if (!SampleProfileUseProfi.getNumOccurrences()) in doInitialization()
2061 if (!EnableExtTspBlockPlacement.getNumOccurrences()) in doInitialization()
2064 if (!ProfileSizeInline.getNumOccurrences()) in doInitialization()
2066 if (!CallsitePrioritizedInline.getNumOccurrences()) in doInitialization()
2069 if (!AllowRecursiveInline.getNumOccurrences()) in doInitialization()
2073 if (!UsePreInlinerDecision.getNumOccurrences()) in doInitialization()
2083 !SalvageStaleProfile.getNumOccurrences()) { in doInitialization()
2092 if (!ProfileInlineLimitMin.getNumOccurrences()) in doInitialization()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp518 bool UserPeelCount = UnrollForcePeelCount.getNumOccurrences() > 0; in computePeelCount()
850 if (UnrollPeelCount.getNumOccurrences() > 0) in gatherPeelingPreferences()
852 if (UnrollAllowPeeling.getNumOccurrences() > 0) in gatherPeelingPreferences()
854 if (UnrollAllowLoopNestsPeeling.getNumOccurrences() > 0) in gatherPeelingPreferences()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600TargetMachine.cpp62 EnableAMDGPUFunctionCallsOpt.getNumOccurrences() == 0) in R600TargetMachine()
H A DAMDGPUTargetMachine.h142 if (Opt.getNumOccurrences())
/freebsd-14.2/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp380 if (Cursor.getNumOccurrences() != 0) { in outputXML()
472 if (SortIncludes.getNumOccurrences() != 0) { in format()
526 if (Cursor.getNumOccurrences() != 0) { in format()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp202 return RISCVMinimumJumpTableEntries.getNumOccurrences() > 0 in getMinimumJumpTableEntries()
H A DRISCVTargetMachine.cpp192 if (!RVVVectorBitsMinOpt.getNumOccurrences()) in getSubtargetImpl()
195 if (VScaleMax.has_value() && !RVVVectorBitsMaxOpt.getNumOccurrences()) in getSubtargetImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCTargetOptionsCommandFlags.cpp30 if (NAME##View->getNumOccurrences()) { \
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp796 if (InlineEnableCostBenefitAnalysis.getNumOccurrences()) { in isCostBenefitAnalysisEnabled()
832 if (InlineSavingsMultiplier.getNumOccurrences()) in getInliningCostBenefitAnalysisSavingsMultiplier()
839 if (InlineSavingsProfitableMultiplier.getNumOccurrences()) in getInliningCostBenefitAnalysisProfitableMultiplier()
2839 if (!StackSizeThreshold.getNumOccurrences()) in analyze()
3163 if (InlineThreshold.getNumOccurrences() > 0) in getInlineParams()
3181 if (LocallyHotCallSiteThreshold.getNumOccurrences() > 0) in getInlineParams()
3196 if (InlineThreshold.getNumOccurrences() == 0) { in getInlineParams()
3200 } else if (ColdThreshold.getNumOccurrences() > 0) { in getInlineParams()
H A DCFGPrinter.cpp185 if (HideColdPaths.getNumOccurrences() > 0) in isNodeHidden()

1234