reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/BasicTTIImpl.h
  466     if (PartialUnrollingThreshold.getNumOccurrences() > 0)
include/llvm/CodeGen/CommandFlags.inc
   60   if (RelocModel.getNumOccurrences()) {
   83   if (CMModel.getNumOccurrences()) {
  304   Options.ExplicitEmulatedTLS = EmulatedTLS.getNumOccurrences() > 0;
  382     if (FramePointerUsage.getNumOccurrences() > 0) {
  390     if (DisableTailCalls.getNumOccurrences() > 0)
  396     if (TrapFuncName.getNumOccurrences() > 0)
lib/Analysis/InlineCost.cpp
 2155   if (InlineThreshold.getNumOccurrences() > 0)
 2173   if (LocallyHotCallSiteThreshold.getNumOccurrences() > 0)
 2187   if (InlineThreshold.getNumOccurrences() == 0) {
 2191   } else if (ColdThreshold.getNumOccurrences() > 0) {
lib/Analysis/LoopAccessAnalysis.cpp
  134   return ::VectorizationInterleave.getNumOccurrences() > 0;
lib/Analysis/ProfileSummaryInfo.cpp
  246   if (ProfileSummaryHotCount.getNumOccurrences() > 0)
  251   if (ProfileSummaryColdCount.getNumOccurrences() > 0)
lib/CodeGen/CodeGenPrepare.cpp
 4777   } else if (AddrSinkUsingGEPs || (!AddrSinkUsingGEPs.getNumOccurrences() &&
lib/CodeGen/ExpandMemCmp.cpp
  748   if (MemCmpEqZeroNumLoadsPerBlock.getNumOccurrences())
  752       MaxLoadsPerMemcmpOptSize.getNumOccurrences())
  755   if (!CI->getFunction()->hasOptSize() && MaxLoadsPerMemcmp.getNumOccurrences())
lib/CodeGen/GlobalISel/IRTranslator.cpp
 2223   bool EnableCSE = EnableCSEInIRTranslator.getNumOccurrences()
lib/CodeGen/GlobalISel/Legalizer.cpp
  182   bool EnableCSE = EnableCSEInLegalizer.getNumOccurrences()
lib/CodeGen/GlobalISel/RegBankSelect.cpp
   74   if (RegBankSelectMode.getNumOccurrences() != 0) {
lib/CodeGen/HardwareLoops.cpp
  216     if (CounterBitWidth.getNumOccurrences())
  220     if (LoopDecrement.getNumOccurrences())
lib/CodeGen/MachineBlockPlacement.cpp
 3003   if (TailDupPlacementAggressiveThreshold.getNumOccurrences() != 0 &&
 3004       TailDupPlacementThreshold.getNumOccurrences() == 0)
 3014     if (TailDupPlacementThreshold.getNumOccurrences() == 0 ||
 3015         TailDupPlacementAggressiveThreshold.getNumOccurrences() != 0)
lib/CodeGen/MachineScheduler.cpp
  364   if (EnableMachineSched.getNumOccurrences()) {
  402   if (EnablePostRAMachineSched.getNumOccurrences()) {
  521     if (SchedOnlyFunc.getNumOccurrences() && SchedOnlyFunc != MF->getName())
  523     if (SchedOnlyBlock.getNumOccurrences()
 2781   if (ForceBottomUp.getNumOccurrences() > 0) {
 2786   if (ForceTopDown.getNumOccurrences() > 0) {
lib/CodeGen/PrologEpilogInserter.cpp
  275   if (WarnStackSize.getNumOccurrences() > 0 && WarnStackSize < StackSize) {
lib/CodeGen/ScheduleDAGInstrs.cpp
   93   if (ReductionSize.getNumOccurrences() == 0)
  727   bool UseAA = EnableAASchedMI.getNumOccurrences() > 0 ? EnableAASchedMI
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
20575   bool UseAA = CombinerGlobalAA.getNumOccurrences() > 0
20579   if (CombinerAAOnlyFunc.getNumOccurrences() &&
lib/CodeGen/TailDuplicator.cpp
  559       TailDuplicateSize.getNumOccurrences() == 0 &&
lib/CodeGen/TargetLoweringBase.cpp
  821   if (!JumpIsExpensiveOverride.getNumOccurrences())
lib/CodeGen/TargetPassConfig.cpp
  410   if (EnableIPRA.getNumOccurrences())
  420   if (EnableGlobalISelAbort.getNumOccurrences())
 1124   return RegAlloc.getNumOccurrences() == 0;
lib/Support/CommandLine.cpp
 1564       if (Opt.second->getNumOccurrences() == 0) {
lib/Target/AArch64/AArch64StackTagging.cpp
  284         MergeInit(ClMergeInit.getNumOccurrences() > 0 ? ClMergeInit
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  507               (UseNative.getNumOccurrences() && UseNative.size() == 1 &&
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  469       EnableAMDGPUFunctionCallsOpt.getNumOccurrences() == 0)
lib/Target/Hexagon/HexagonBitSimplify.cpp
 2175   if (MaxBitSplit.getNumOccurrences()) {
 2261     if (MaxBitSplit.getNumOccurrences())
 2388   if (MaxExtract.getNumOccurrences()) {
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1826   if (ReplaceLimit.getNumOccurrences()) {
lib/Target/Hexagon/HexagonSubtarget.cpp
  392   if (DisableHexagonMISched.getNumOccurrences())
lib/Target/Hexagon/RDFCopy.cpp
  118   bool HasLimit = CpLimit.getNumOccurrences() > 0;
lib/Target/NVPTX/NVPTXISelLowering.cpp
   96   if (UsePrecDivF32.getNumOccurrences() > 0) {
  109   if (UsePrecSqrtF32.getNumOccurrences() > 0) {
  120   if (FtzEnabled.getNumOccurrences() > 0) {
 4307   if (FMAContractLevelOpt.getNumOccurrences() > 0)
lib/Target/PowerPC/PPCTargetMachine.cpp
  408   if (EnablePrefetch.getNumOccurrences() > 0)
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  649   if (CacheLineSize.getNumOccurrences() > 0)
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  449   if (ClMappingScale.getNumOccurrences() > 0) {
  515   if (ClMappingOffset.getNumOccurrences() > 0) {
  587     this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover;
  589         ClEnableKasan.getNumOccurrences() > 0 ? ClEnableKasan : CompileKernel;
  753     this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover;
  755         ClEnableKasan.getNumOccurrences() > 0 ? ClEnableKasan : CompileKernel;
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  191     this->Recover = ClRecover.getNumOccurrences() > 0 ? ClRecover : Recover;
  192     this->CompileKernel = ClEnableKhwasan.getNumOccurrences() > 0 ?
  387       ClUseShortGranules.getNumOccurrences() ? ClUseShortGranules : NewRuntime;
  390   InstrumentLandingPads = ClInstrumentLandingPads.getNumOccurrences()
  409         ClGlobals.getNumOccurrences() ? ClGlobals : NewRuntime;
  414         ClInstrumentPersonalityFunctions.getNumOccurrences()
  636   int matchAllTag = ClMatchAllTag.getNumOccurrences() > 0 ?
 1500   if (ClMappingOffset.getNumOccurrences() > 0) {
lib/Transforms/Instrumentation/InstrProfiling.cpp
  434   if (DoCounterPromotion.getNumOccurrences() > 0)
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  636   return (Opt.getNumOccurrences() > 0) ? Opt : Default;
  876   bool ShadowPassed = ClShadowBase.getNumOccurrences() > 0;
  877   bool OriginPassed = ClOriginBase.getNumOccurrences() > 0;
lib/Transforms/Scalar/LoopDataPrefetch.cpp
   78     if (MinPrefetchStride.getNumOccurrences() > 0)
   84     if (PrefetchDistance.getNumOccurrences() > 0)
   90     if (MaxPrefetchIterationsAhead.getNumOccurrences() > 0)
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 1437   if (InsnsCost.getNumOccurrences() > 0 && InsnsCost &&
lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  180   bool UserUnrollCount = UnrollAndJamCount.getNumOccurrences() > 0;
  299   if (AllowUnrollAndJam.getNumOccurrences() > 0)
  301   if (UnrollAndJamThreshold.getNumOccurrences() > 0)
lib/Transforms/Scalar/LoopUnrollPass.cpp
  223   if (UnrollThreshold.getNumOccurrences() > 0)
  225   if (UnrollPartialThreshold.getNumOccurrences() > 0)
  227   if (UnrollMaxPercentThresholdBoost.getNumOccurrences() > 0)
  229   if (UnrollMaxCount.getNumOccurrences() > 0)
  231   if (UnrollFullMaxCount.getNumOccurrences() > 0)
  233   if (UnrollPeelCount.getNumOccurrences() > 0)
  235   if (UnrollAllowPartial.getNumOccurrences() > 0)
  237   if (UnrollAllowRemainder.getNumOccurrences() > 0)
  239   if (UnrollRuntime.getNumOccurrences() > 0)
  243   if (UnrollAllowPeeling.getNumOccurrences() > 0)
  245   if (UnrollUnrollRemainder.getNumOccurrences() > 0)
  745   bool UserUnrollCount = UnrollCount.getNumOccurrences() > 0;
lib/Transforms/Scalar/SimplifyCFGPass.cpp
  200   Options.BonusInstThreshold = UserBonusInstThreshold.getNumOccurrences()
  203   Options.ForwardSwitchCondToPhi = UserForwardSwitchCond.getNumOccurrences()
  206   Options.ConvertSwitchToLookupTable = UserSwitchToLookup.getNumOccurrences()
  209   Options.NeedCanonicalLoop = UserKeepLoops.getNumOccurrences()
  212   Options.SinkCommonInsts = UserSinkCommonInsts.getNumOccurrences()
  243     Options.BonusInstThreshold = UserBonusInstThreshold.getNumOccurrences()
  247     Options.ForwardSwitchCondToPhi = UserForwardSwitchCond.getNumOccurrences()
  251     Options.ConvertSwitchToLookupTable = UserSwitchToLookup.getNumOccurrences()
  256         UserKeepLoops.getNumOccurrences() ? UserKeepLoops : KeepLoops;
  258     Options.SinkCommonInsts = UserSinkCommonInsts.getNumOccurrences()
lib/Transforms/Scalar/StructurizeCFG.cpp
  264     if (ForceSkipUniformRegions.getNumOccurrences())
lib/Transforms/Utils/LoopUnroll.cpp
  431       UnrollRuntimeEpilog.getNumOccurrences() ? UnrollRuntimeEpilog
lib/Transforms/Utils/LoopUnrollPeel.cpp
  275   bool UserPeelCount = UnrollForcePeelCount.getNumOccurrences() > 0;
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  472   if (UnrollRuntimeMultiExit.getNumOccurrences())
lib/Transforms/Utils/SimplifyLibCalls.cpp
 3006   if (EnableUnsafeFPShrink.getNumOccurrences() > 0)
lib/Transforms/Vectorize/LoopVectorize.cpp
 2124   if (EnableMaskedInterleavedMemAccesses.getNumOccurrences() > 0)
 5179       if (ForceTargetNumScalarRegs.getNumOccurrences() > 0)
 5182       if (ForceTargetNumVectorRegs.getNumOccurrences() > 0)
 5206     if (ForceTargetMaxScalarInterleaveFactor.getNumOccurrences() > 0)
 5209     if (ForceTargetMaxVectorInterleaveFactor.getNumOccurrences() > 0)
 5667       if (ForceTargetInstructionCost.getNumOccurrences() > 0)
 7620   if (EnableInterleavedMemAccesses.getNumOccurrences() > 0)
lib/Transforms/Vectorize/SLPVectorizer.cpp
  515     if (MaxVectorRegSizeOption.getNumOccurrences())
  520     if (MinVectorRegSizeOption.getNumOccurrences())
tools/clang/tools/clang-format/ClangFormat.cpp
  361   if (Cursor.getNumOccurrences() != 0)
  413   if (SortIncludes.getNumOccurrences() != 0)
  451       if (Cursor.getNumOccurrences() != 0) {
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  279   if (Checks.getNumOccurrences() > 0)
  281   if (WarningsAsErrors.getNumOccurrences() > 0)
  283   if (HeaderFilter.getNumOccurrences() > 0)
  285   if (SystemHeaders.getNumOccurrences() > 0)
  287   if (FormatStyle.getNumOccurrences() > 0)
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
   94     if (Help.getNumOccurrences() > 0) {
  140     if (Scopes.getNumOccurrences() > 0) {
  170     if (ID.getNumOccurrences() == 0 && Name.getNumOccurrences() == 0) {
  170     if (ID.getNumOccurrences() == 0 && Name.getNumOccurrences() == 0) {
  176     if (ID.getNumOccurrences()) {
  217     if (ID.getNumOccurrences() == 0 && Name.getNumOccurrences() == 0) {
  217     if (ID.getNumOccurrences() == 0 && Name.getNumOccurrences() == 0) {
  223     if (ID.getNumOccurrences()) {
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  460     if (!EnableBackgroundIndex.getNumOccurrences())
  478     if (WorkerThreadsCount.getNumOccurrences())
  482   if (FallbackStyle.getNumOccurrences())
  602   if (CompletionStyle.getNumOccurrences())
  662     if (TweakList.getNumOccurrences())
tools/gold/gold-plugin.cpp
  852   if (FunctionSections.getNumOccurrences() == 0)
  854   if (DataSections.getNumOccurrences() == 0)
tools/llc/llc.cpp
  521   if (RelaxAll.getNumOccurrences() > 0 &&
tools/lli/lli.cpp
  411   if (RelocModel.getNumOccurrences())
  413   if (CMModel.getNumOccurrences())
  766       .setRelocationModel(RelocModel.getNumOccurrences()
  769       .setCodeModel(CMModel.getNumOccurrences()
tools/llvm-cov/CodeCoverage.cpp
  727     if (RegionCoverageLtFilter.getNumOccurrences() ||
  728         RegionCoverageGtFilter.getNumOccurrences() ||
  729         LineCoverageLtFilter.getNumOccurrences() ||
  730         LineCoverageGtFilter.getNumOccurrences()) {
  732       if (RegionCoverageLtFilter.getNumOccurrences())
  735       if (RegionCoverageGtFilter.getNumOccurrences())
  738       if (LineCoverageLtFilter.getNumOccurrences())
  741       if (LineCoverageGtFilter.getNumOccurrences())
  849   ViewOpts.ShowLineStats = ShowLineExecutionCounts.getNumOccurrences() != 0 ||
tools/llvm-elfabi/llvm-elfabi.cpp
   86   if (InputFileFormat.getNumOccurrences() == 0 ||
   97   if (InputFileFormat.getNumOccurrences() == 0 ||
  131   if (EmitTBE.getNumOccurrences() == 1) {
  133     if (SOName.getNumOccurrences() == 1) {
tools/llvm-lto/llvm-lto.cpp
  503   if (ThinLTOModuleId.getNumOccurrences()) {
  908   if (ThinLTOMode.getNumOccurrences()) {
  909     if (ThinLTOMode.getNumOccurrences() > 1)
  997   if (FileType.getNumOccurrences())
tools/llvm-lto2/llvm-lto2.cpp
  267   if (FileType.getNumOccurrences())
tools/llvm-mca/llvm-mca.cpp
  249   if (!O.getNumOccurrences() || O.getPosition() < Default.getPosition())
  254   if (!EnableAllViews.getNumOccurrences() &&
  255       !EnableAllStats.getNumOccurrences())
  258   if (EnableAllViews.getNumOccurrences()) {
tools/llvm-objdump/llvm-objdump.cpp
 2113   if (StartAddress.getNumOccurrences() == 0)
 2117   else if (StopAddress.getNumOccurrences() == 0)
 2140   if (StartAddress.getNumOccurrences() || StopAddress.getNumOccurrences())
 2140   if (StartAddress.getNumOccurrences() || StopAddress.getNumOccurrences())
tools/llvm-pdbutil/BytesOutputStyle.cpp
  368   if (opts::bytes::ModuleIndex.getNumOccurrences() > 0) {
tools/llvm-pdbutil/DumpOutputStyle.cpp
  369   if (opts::dump::DumpModi.getNumOccurrences() == 0)
  457   if (opts::dump::DumpModi.getNumOccurrences() > 0) {
  458     assert(opts::dump::DumpModi.getNumOccurrences() == 1);
tools/llvm-rtdyld/llvm-rtdyld.cpp
  679   if (TargetAddrEnd.getNumOccurrences() == 0) {
tools/llvm-size/llvm-size.cpp
  869   if (OutputFormatShort.getNumOccurrences())
  871   if (RadixShort.getNumOccurrences())
tools/lto/lto.cpp
  479   if (OptLevel.getNumOccurrences()) {
tools/opt/opt.cpp
  383   Builder.DisableUnrollLoops = (DisableLoopUnrolling.getNumOccurrences() > 0) ?
  451   if (CodeGenOptLevel.getNumOccurrences())
  664   if (PassPipeline.getNumOccurrences() > 0) {
unittests/Support/CommandLineTest.cpp
  357     EXPECT_EQ(0, Input.getNumOccurrences());
  369   EXPECT_EQ(1, Option.getNumOccurrences());
 1444   EXPECT_EQ(1, OptO.getNumOccurrences());
 1445   EXPECT_EQ(1, OptB.getNumOccurrences());
utils/yaml-bench/YAMLBench.cpp
  201   if (Input.getNumOccurrences()) {