Home
last modified time | relevance | path

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

123

/freebsd/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/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h98 int Threshold = 0; variable
110 InlineCost(int Cost, int Threshold, int StaticBonusApplied,
113 : Cost(Cost), Threshold(Threshold), in Cost()
121 static InlineCost get(int Cost, int Threshold, int StaticBonus = 0) {
124 return InlineCost(Cost, Threshold, StaticBonus);
138 explicit operator bool() const { return Cost < Threshold; }
154 return Threshold; in getThreshold()
176 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
253 LLVM_ABI InlineParams getInlineParams(int Threshold);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp619 int Threshold = 0; member in __anon463f3bdb0111::InlineCostCallAnalyzer
703 Threshold += *AttrCallThresholdBonus; in onCallBaseVisitStart()
870 Threshold -= SingleBBBonus; in onBlockAnalyzed()
882 CostDetail.ThresholdBefore = Threshold; in onInstructionAnalysisStart()
892 CostDetail.ThresholdAfter = Threshold; in onInstructionAnalysisFinish()
973 if (Threshold == 0) in costBenefitAnalysis()
1063 APInt Threshold(128, PSI->getOrCompHotCountThreshold()); in costBenefitAnalysis() local
1064 Threshold *= Size; in costBenefitAnalysis()
1068 if (UpperBoundCycleSavings.uge(Threshold)) in costBenefitAnalysis()
1074 if (LowerBoundCycleSavings.ult(Threshold)) in costBenefitAnalysis()
[all …]
/freebsd/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()
258 nodes[n].clear(Threshold); in activate()
287 Threshold = BlockFrequency(std::max(UINT64_C(1), Scaled)); in setThreshold()
358 if (!nodes[n].update(nodes.get(), Threshold)) in update()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp114 UP.Threshold = in getUnrollingPreferences()
144 UP.Threshold = MetaThresholdValue->getSExtValue(); in getUnrollingPreferences()
145 UP.PartialThreshold = UP.Threshold; in getUnrollingPreferences()
146 ThresholdPrivate = std::min(ThresholdPrivate, UP.Threshold); in getUnrollingPreferences()
147 ThresholdLocal = std::min(ThresholdLocal, UP.Threshold); in getUnrollingPreferences()
168 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences()
175 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences()
176 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold in getUnrollingPreferences()
179 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
191 unsigned Threshold = 0; in getUnrollingPreferences() local
[all …]
H A DSIPreEmitPeephole.cpp101 unsigned Threshold = 5; in optimizeVccBranch() local
103 if (!--Threshold) in optimizeVccBranch()
457 const unsigned Threshold = 20; in run() local
465 if (Count == Threshold) in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp81 const unsigned int Threshold = 4; member
136 if (Cycles < Threshold) { in runOnMachineFunction()
148 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
162 if (Cycles >= Threshold) in findReturns()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp199 UP.Threshold = in gatherUnrollingPreferences()
234 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
241 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
267 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
807 UCE.getUnrolledLoopSize(UP, (unsigned)UnrollCount) < UP.Threshold) in shouldPragmaUnroll()
849 if (UCE.getUnrolledLoopSize(UP) < UP.Threshold) in shouldFullUnroll()
857 UP.Threshold * UP.MaxPercentThresholdBoost / 100, in shouldFullUnroll()
861 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) in shouldFullUnroll()
973 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount()
1016 computePeelCount(L, LoopSize, PP, TripCount, DT, SE, TTI, AC, UP.Threshold); in computeUnrollCount()
[all …]
H A DLoopRotation.cpp66 int Threshold = in run() local
78 MSSAU ? &*MSSAU : nullptr, SQ, false, Threshold, in run()
H A DLoopUnrollAndJamPass.cpp186 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount()
199 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount()
238 if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) { in computeUnrollAndJamCount()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h191 void trimColdEges(uint64_t Threshold = 0) {
192 if (!Threshold)
199 if (I->Weight <= Threshold)
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundChecker.cpp306 compareValueToThreshold(ProgramStateRef State, NonLoc Value, NonLoc Threshold, in compareValueToThreshold() argument
308 if (auto ConcreteThreshold = Threshold.getAs<nonloc::ConcreteInt>()) { in compareValueToThreshold()
309 std::tie(Value, Threshold) = in compareValueToThreshold()
320 if (isNegative(SVB, State, Value) && isUnsigned(SVB, Threshold)) { in compareValueToThreshold()
328 if (isUnsigned(SVB, Value) && isNegative(SVB, State, Threshold)) { in compareValueToThreshold()
346 SVB.evalBinOpNN(State, OpKind, Value, Threshold, SVB.getConditionType()) in compareValueToThreshold()
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilderBindings.cpp185 LLVMPassBuilderOptionsRef Options, int Threshold) { in LLVMPassBuilderOptionsSetInlinerThreshold() argument
186 unwrap(Options)->PTO.InlinerThreshold = Threshold; in LLVMPassBuilderOptionsSetInlinerThreshold()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopRotationUtils.h39 bool RotationOnly, unsigned Threshold,
H A DLoopPeel.h49 unsigned Threshold = UINT_MAX);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp303 unsigned Threshold, StringRef CallerModulePath, in selectCallee() argument
320 if ((Summary->instCount() > Threshold) && !Summary->fflags().AlwaysInline && in selectCallee()
503 const FunctionSummary &Summary, unsigned Threshold,
872 const FunctionSummary &Summary, const unsigned Threshold, in computeImportForFunction() argument
881 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold in computeImportForFunction()
918 Threshold * GetBonusMultiplier(Edge.second.getHotness()); in computeImportForFunction()
1043 auto GetAdjustedThreshold = [](unsigned Threshold, bool IsHotCallsite) { in computeImportForFunction() argument
1048 return Threshold * ImportHotInstrFactor; in computeImportForFunction()
1049 return Threshold * ImportInstrFactor; in computeImportForFunction()
1052 const auto AdjThreshold = GetAdjustedThreshold(Threshold, IsHotCallsite); in computeImportForFunction()
[all …]
/freebsd/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/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h311 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local
314 while (Val >= Threshold) { in EmitVBR()
328 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local
331 while (Val >= Threshold) { in EmitVBR64()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/Transforms/
H A DPassBuilder.h133 int Threshold);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DScalar.h70 int Threshold = -1, int Count = -1,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSpillPlacement.h73 BlockFrequency Threshold; variable
/freebsd/contrib/llvm-project/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp335 ReportKind Threshold = in main() local
337 if (Threshold <= ReportLevel) { in main()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp140 void LLVMContext::setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold) { in setDiagnosticsHotnessThreshold() argument
141 pImpl->DiagnosticsHotnessThreshold = Threshold; in setDiagnosticsHotnessThreshold()

123