Home
last modified time | relevance | path

Searched refs:Threshold (Results 1 – 25 of 75) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageFilters.h89 T Threshold; variable
91 StatisticThresholdFilter(Operation Op, T Threshold) in StatisticThresholdFilter() argument
92 : Op(Op), Threshold(Threshold) {} in StatisticThresholdFilter()
99 return Value < Threshold; in PassesThreshold()
101 return Value > Threshold; in PassesThreshold()
112 RegionCoverageFilter(Operation Op, double Threshold) in RegionCoverageFilter() argument
113 : StatisticThresholdFilter(Op, Threshold) {} in RegionCoverageFilter()
124 LineCoverageFilter(Operation Op, double Threshold) in LineCoverageFilter() argument
125 : StatisticThresholdFilter(Op, Threshold) {} in LineCoverageFilter()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h96 int Threshold = 0; variable
108 InlineCost(int Cost, int Threshold, int StaticBonusApplied,
111 : Cost(Cost), Threshold(Threshold), in Cost()
119 static InlineCost get(int Cost, int Threshold, int StaticBonus = 0) {
122 return InlineCost(Cost, Threshold, StaticBonus);
136 explicit operator bool() const { return Cost < Threshold; }
152 return Threshold; in getThreshold()
174 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
250 InlineParams getInlineParams(int Threshold);
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSpillPlacement.cpp109 void clear(BlockFrequency Threshold) { in clear()
113 SumLinkWeights = Threshold; in clear()
151 bool update(const Node nodes[], BlockFrequency Threshold) { in update()
171 if (SumN >= SumP + Threshold) in update()
173 else if (SumP >= SumN + Threshold) in update()
226 nodes[n].clear(Threshold); in activate()
255 Threshold = BlockFrequency(std::max(UINT64_C(1), Scaled)); in setThreshold()
326 if (!nodes[n].update(nodes, Threshold)) in update()
H A DPreISelIntrinsicLowering.cpp189 uint64_t Threshold = MemIntrinsicExpandSizeThresholdOpt.getNumOccurrences() in shouldExpandMemIntrinsicWithSize() local
196 return SizeVal > Threshold || Threshold == 0; in shouldExpandMemIntrinsicWithSize()
H A DSpillPlacement.h65 BlockFrequency Threshold; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp564 int Threshold = 0; member in __anoncf8652d10111::InlineCostCallAnalyzer
867 if (Threshold == 0) in costBenefitAnalysis()
959 Threshold *= Size; in costBenefitAnalysis()
1163 int Threshold = 5; member in __anoncf8652d10111::InlineCostFeaturesAnalyzer
1904 Threshold = 0; in updateThreshold()
1946 Threshold = MinIfValid(Threshold, Params.OptMinSizeThreshold); in updateThreshold()
1954 Threshold = MinIfValid(Threshold, Params.OptSizeThreshold); in updateThreshold()
1960 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
1985 Threshold = MinIfValid(Threshold, Params.ColdCallSiteThreshold); in updateThreshold()
1994 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp107 UP.Threshold = in getUnrollingPreferences()
172 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
184 unsigned Threshold = 0; in getUnrollingPreferences() local
186 Threshold = ThresholdPrivate; in getUnrollingPreferences()
188 Threshold = ThresholdLocal; in getUnrollingPreferences()
192 if (UP.Threshold >= Threshold) in getUnrollingPreferences()
250 UP.Threshold = Threshold; in getUnrollingPreferences()
254 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
1272 Threshold += ArgAllocaCost; in adjustInliningThreshold()
1273 return Threshold; in adjustInliningThreshold()
[all …]
H A DSIPreEmitPeephole.cpp99 unsigned Threshold = 5; in optimizeVccBranch() local
101 if (!--Threshold) in optimizeVccBranch()
393 const unsigned Threshold = 20; in runOnMachineFunction() local
402 if (Count == Threshold) in runOnMachineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp67 int Threshold = EnableHeaderDuplication || in run() local
78 MSSAU ? &*MSSAU : nullptr, SQ, false, Threshold, in run()
144 int Threshold = hasVectorizeTransformation(L) == TM_ForcedByUser in runOnLoop() local
149 false, Threshold, false, in runOnLoop()
H A DLoopUnrollPass.cpp194 UP.Threshold = in gatherUnrollingPreferences()
227 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
234 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
260 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
802 if (UCE.getUnrolledLoopSize(UP) < UP.Threshold) in shouldFullUnroll()
810 UP.Threshold * UP.MaxPercentThresholdBoost / 100, in shouldFullUnroll()
814 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) in shouldFullUnroll()
926 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount()
1196 UP.Threshold = std::max(UP.Threshold, LoopSize + 1); in tryToUnrollLoop()
1369 std::optional<unsigned> Threshold = std::nullopt, in LoopUnroll() argument
[all …]
H A DLoopUnrollAndJamPass.cpp187 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount()
200 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount()
239 if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) { in computeUnrollAndJamCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp84 const unsigned int Threshold = 4; member
140 if (Cycles < Threshold) { in runOnMachineFunction()
152 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
166 if (Cycles >= Threshold) in findReturns()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h192 void trimColdEges(uint64_t Threshold = 0) {
193 if (!Threshold)
200 if (I->Weight <= Threshold)
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp182 compareValueToThreshold(ProgramStateRef State, NonLoc Value, NonLoc Threshold, in compareValueToThreshold() argument
184 if (auto ConcreteThreshold = Threshold.getAs<nonloc::ConcreteInt>()) { in compareValueToThreshold()
185 std::tie(Value, Threshold) = getSimplifiedOffsets(Value, *ConcreteThreshold, SVB); in compareValueToThreshold()
187 if (auto ConcreteThreshold = Threshold.getAs<nonloc::ConcreteInt>()) { in compareValueToThreshold()
201 SVB.evalBinOpNN(State, OpKind, Value, Threshold, SVB.getConditionType()) in compareValueToThreshold()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilderBindings.cpp143 LLVMPassBuilderOptionsRef Options, int Threshold) { in LLVMPassBuilderOptionsSetInlinerThreshold() argument
144 unwrap(Options)->PTO.InlinerThreshold = Threshold; in LLVMPassBuilderOptionsSetInlinerThreshold()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopRotationUtils.h36 bool RotationOnly, unsigned Threshold, bool IsUtilMode,
H A DLoopPeel.h41 unsigned Threshold = UINT_MAX);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp256 unsigned Threshold, StringRef CallerModulePath, in selectCallee() argument
267 if ((Summary->instCount() > Threshold) && !Summary->fflags().AlwaysInline && in selectCallee()
682 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument
693 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold in computeImportForFunction()
721 Threshold * GetBonusMultiplier(Edge.second.getHotness()); in computeImportForFunction()
833 auto GetAdjustedThreshold = [](unsigned Threshold, bool IsHotCallsite) { in computeImportForFunction() argument
838 return Threshold * ImportHotInstrFactor; in computeImportForFunction()
839 return Threshold * ImportInstrFactor; in computeImportForFunction()
842 const auto AdjThreshold = GetAdjustedThreshold(Threshold, IsHotCallsite); in computeImportForFunction()
888 auto Threshold = std::get<1>(GVInfo); in computeImportForModule() local
[all …]
/freebsd-14.2/tools/tools/ath/athprom/
H A Deeprom-317 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
83 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
131 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
H A Deeprom-420 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
93 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
158 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
H A Deeprom-521 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
107 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
185 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h238 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local
241 while (Val >= Threshold) { in EmitVBR()
255 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local
258 while (Val >= Threshold) { in EmitVBR64()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/Transforms/
H A DPassBuilder.h103 LLVMPassBuilderOptionsRef Options, int Threshold);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DScalar.h59 bool ForgetAllSCEV = false, int Threshold = -1,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp502 unsigned Threshold) { in computePeelCount() argument
532 if (2 * LoopSize > Threshold) in computePeelCount()
544 MaxPeelCount = std::min(MaxPeelCount, Threshold / LoopSize - 1); in computePeelCount()
615 LLVM_DEBUG(dbgs() << "Max peel cost: " << Threshold << "\n"); in computePeelCount()
617 << (Threshold / LoopSize - 1) << "\n"); in computePeelCount()

123