Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSimplifyCFGPass.cpp317 if (UserBonusInstThreshold.getNumOccurrences()) in applyCommandLineOverridesToOptions()
319 if (UserForwardSwitchCond.getNumOccurrences()) in applyCommandLineOverridesToOptions()
321 if (UserSwitchRangeToICmp.getNumOccurrences()) in applyCommandLineOverridesToOptions()
323 if (UserSwitchToLookup.getNumOccurrences()) in applyCommandLineOverridesToOptions()
325 if (UserKeepLoops.getNumOccurrences()) in applyCommandLineOverridesToOptions()
327 if (UserHoistCommonInsts.getNumOccurrences()) in applyCommandLineOverridesToOptions()
329 if (UserSinkCommonInsts.getNumOccurrences()) in applyCommandLineOverridesToOptions()
331 if (UserSpeculateUnpredictables.getNumOccurrences()) in applyCommandLineOverridesToOptions()
H A DLoopUnrollPass.cpp239 if (UnrollThreshold.getNumOccurrences() > 0) in gatherUnrollingPreferences()
241 if (UnrollPartialThreshold.getNumOccurrences() > 0) in gatherUnrollingPreferences()
243 if (UnrollMaxPercentThresholdBoost.getNumOccurrences() > 0) in gatherUnrollingPreferences()
245 if (UnrollMaxCount.getNumOccurrences() > 0) in gatherUnrollingPreferences()
247 if (UnrollMaxUpperBound.getNumOccurrences() > 0) in gatherUnrollingPreferences()
249 if (UnrollFullMaxCount.getNumOccurrences() > 0) in gatherUnrollingPreferences()
251 if (UnrollAllowPartial.getNumOccurrences() > 0) in gatherUnrollingPreferences()
253 if (UnrollAllowRemainder.getNumOccurrences() > 0) in gatherUnrollingPreferences()
255 if (UnrollRuntime.getNumOccurrences() > 0) in gatherUnrollingPreferences()
259 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/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DLowerAllowCheckPass.cpp80 if (!RandomRate.getNumOccurrences()) in removeUbsanTraps()
145 return RandomRate.getNumOccurrences() || in IsRequested()
146 HotPercentileCutoff.getNumOccurrences(); in IsRequested()
H A DAddressSanitizer.cpp508 if (ClMappingScale.getNumOccurrences() > 0) { in getShadowMapping()
585 if (ClMappingOffset.getNumOccurrences() > 0) { in getShadowMapping()
722 : CompileKernel(ClEnableKasan.getNumOccurrences() > 0 ? ClEnableKasan in AddressSanitizer()
724 Recover(ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover), in AddressSanitizer()
726 UseAfterReturn(ClUseAfterReturn.getNumOccurrences() ? ClUseAfterReturn in AddressSanitizer()
730 ClInstrumentationWithCallsThreshold.getNumOccurrences() > 0 in AddressSanitizer()
733 MaxInlinePoisoningSize(ClMaxInlinePoisoningSize.getNumOccurrences() > 0 in AddressSanitizer()
871 : CompileKernel(ClEnableKasan.getNumOccurrences() > 0 ? ClEnableKasan in ModuleAddressSanitizer()
873 InsertVersionCheck(ClInsertVersionCheck.getNumOccurrences() > 0 in ModuleAddressSanitizer()
876 Recover(ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover), in ModuleAddressSanitizer()
[all …]
H A DHWAddressSanitizer.cpp259 return Opt.getNumOccurrences() ? Opt : Other; in optOr()
297 this->Rng = ClRandomSkipRate.getNumOccurrences() ? M.createRNG(DEBUG_TYPE) in HWAddressSanitizer()
630 if (ClMatchAllTag.getNumOccurrences()) { in initializeModule()
1532 if (ClRandomSkipRate.getNumOccurrences()) { in selectiveInstrumentationShouldSkip()
1536 if (!ClHotPercentileCutoff.getNumOccurrences()) in selectiveInstrumentationShouldSkip()
1860 } else if (ClMappingOffset.getNumOccurrences() > 0) { in init()
/freebsd/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/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()) { \
660 if (CL->getNumOccurrences() > 0 && !F.hasFnAttribute(AttrName)) \
687 if (FramePointerUsageView->getNumOccurrences() > 0 && in setFunctionAttributes()
698 if (DisableTailCallsView->getNumOccurrences() > 0) in setFunctionAttributes()
710 if (DenormalFPMathView->getNumOccurrences() > 0 && in setFunctionAttributes()
719 if (DenormalFP32MathView->getNumOccurrences() > 0 && in setFunctionAttributes()
729 if (TrapFuncNameView->getNumOccurrences() > 0) in setFunctionAttributes()
H A DTargetPassConfig.cpp472 if (Option.getNumOccurrences()) \ in getCGPassBuilderOption()
587 if (EnableIPRA.getNumOccurrences()) in TargetPassConfig()
597 if (EnableGlobalISelAbort.getNumOccurrences()) in TargetPassConfig()
1419 return RegAlloc.getNumOccurrences() == 0; in usingDefaultRegAlloc()
H A DMachineBlockPlacement.cpp3010 if (MaxBytesForAlignmentOverride.getNumOccurrences() > 0) in alignBlocks()
3450 if (TailDupPlacementAggressiveThreshold.getNumOccurrences() != 0 && in runOnMachineFunction()
3451 TailDupPlacementThreshold.getNumOccurrences() == 0) in runOnMachineFunction()
3461 if (TailDupPlacementThreshold.getNumOccurrences() == 0 || in runOnMachineFunction()
3462 TailDupPlacementAggressiveThreshold.getNumOccurrences() != 0) in runOnMachineFunction()
3468 if (TailDupPlacementThreshold.getNumOccurrences() == 0 && in runOnMachineFunction()
3470 TailDupPlacementAggressiveThreshold.getNumOccurrences() == 0)) in runOnMachineFunction()
3530 MaxBytesForAlignmentOverride.getNumOccurrences() > 0; in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp897 if (RegionCoverageLtFilter.getNumOccurrences() || in run()
898 RegionCoverageGtFilter.getNumOccurrences() || in run()
899 LineCoverageLtFilter.getNumOccurrences() || in run()
900 LineCoverageGtFilter.getNumOccurrences()) { in run()
902 if (RegionCoverageLtFilter.getNumOccurrences()) in run()
905 if (RegionCoverageGtFilter.getNumOccurrences()) in run()
908 if (LineCoverageLtFilter.getNumOccurrences()) in run()
911 if (LineCoverageGtFilter.getNumOccurrences()) in run()
1087 ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 || in doShow()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1875 !UseProfiledCallGraph.getNumOccurrences())) { in buildFunctionOrder()
2009 if (!UseIterativeBFIInference.getNumOccurrences()) in doInitialization()
2011 if (!SampleProfileUseProfi.getNumOccurrences()) in doInitialization()
2013 if (!EnableExtTspBlockPlacement.getNumOccurrences()) in doInitialization()
2016 if (!ProfileSizeInline.getNumOccurrences()) in doInitialization()
2018 if (!CallsitePrioritizedInline.getNumOccurrences()) in doInitialization()
2021 if (!AllowRecursiveInline.getNumOccurrences()) in doInitialization()
2025 if (!UsePreInlinerDecision.getNumOccurrences()) in doInitialization()
2035 !SalvageStaleProfile.getNumOccurrences()) { in doInitialization()
2044 if (!ProfileInlineLimitMin.getNumOccurrences()) in doInitialization()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Subtarget.cpp80 if (OverrideVectorInsertExtractBaseCost.getNumOccurrences() > 0) in getVectorInsertExtractBaseCost()
316 if (AArch64MinimumJumpTableEntries.getNumOccurrences() > 0 || !HasMinSize) in initializeProperties()
575 if (AuthenticatedLRCheckMethod.getNumOccurrences()) in getAuthenticatedLRCheckMethod()
/freebsd/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/contrib/llvm-project/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp310 if (!O.getNumOccurrences() || O.getPosition() < Default.getPosition()) in processOptionImpl()
315 if (!EnableAllViews.getNumOccurrences() && in processViewOptions()
316 !EnableAllStats.getNumOccurrences()) in processViewOptions()
319 if (EnableAllViews.getNumOccurrences()) { in processViewOptions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp558 bool UserPeelCount = UnrollForcePeelCount.getNumOccurrences() > 0; in computePeelCount()
890 if (UnrollPeelCount.getNumOccurrences() > 0) in gatherPeelingPreferences()
892 if (UnrollAllowPeeling.getNumOccurrences() > 0) in gatherPeelingPreferences()
894 if (UnrollAllowLoopNestsPeeling.getNumOccurrences() > 0) in gatherPeelingPreferences()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600TargetMachine.cpp63 EnableAMDGPUFunctionCallsOpt.getNumOccurrences() == 0) in R600TargetMachine()
H A DAMDGPUTargetMachine.h152 if (Opt.getNumOccurrences())
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp390 if (Cursor.getNumOccurrences() != 0) { in outputXML()
483 if (SortIncludes.getNumOccurrences() != 0) { in format()
536 if (Cursor.getNumOccurrences() != 0) { in format()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp197 return RISCVMinimumJumpTableEntries.getNumOccurrences() > 0 in getMinimumJumpTableEntries()
H A DRISCVTargetMachine.cpp193 if (!RVVVectorBitsMinOpt.getNumOccurrences()) in getSubtargetImpl()
196 if (VScaleMax.has_value() && !RVVVectorBitsMaxOpt.getNumOccurrences()) in getSubtargetImpl()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCTargetOptionsCommandFlags.cpp30 if (NAME##View->getNumOccurrences()) { \
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp802 if (InlineEnableCostBenefitAnalysis.getNumOccurrences()) { in isCostBenefitAnalysisEnabled()
838 if (InlineSavingsMultiplier.getNumOccurrences()) in getInliningCostBenefitAnalysisSavingsMultiplier()
845 if (InlineSavingsProfitableMultiplier.getNumOccurrences()) in getInliningCostBenefitAnalysisProfitableMultiplier()
2844 if (!StackSizeThreshold.getNumOccurrences()) in analyze()
3168 if (InlineThreshold.getNumOccurrences() > 0) in getInlineParams()
3186 if (LocallyHotCallSiteThreshold.getNumOccurrences() > 0) in getInlineParams()
3201 if (InlineThreshold.getNumOccurrences() == 0) { in getInlineParams()
3205 } else if (ColdThreshold.getNumOccurrences() > 0) { in getInlineParams()

1234