Home
last modified time | relevance | path

Searched refs:Threshold (Results 1 – 25 of 74) 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.h97 int Threshold = 0; variable
109 InlineCost(int Cost, int Threshold, int StaticBonusApplied,
112 : Cost(Cost), Threshold(Threshold), in Cost()
120 static InlineCost get(int Cost, int Threshold, int StaticBonus = 0) {
123 return InlineCost(Cost, Threshold, StaticBonus);
137 explicit operator bool() const { return Cost < Threshold; }
153 return Threshold; in getThreshold()
175 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
251 InlineParams getInlineParams(int Threshold);
/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()
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.h64 /// its inputs falls in the open interval (-Threshold;Threshold).
65 BlockFrequency Threshold;
67 BlockFrequency Threshold; global() variable
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp564 int Threshold = 0; member in __anon463f3bdb0111::InlineCostCallAnalyzer
648 Threshold += *AttrCallThresholdBonus; in onCallBaseVisitStart()
772 Threshold -= SingleBBBonus; in onBlockAnalyzed()
783 InstructionCostDetailMap[I].ThresholdBefore = Threshold; in onInstructionAnalysisStart()
792 InstructionCostDetailMap[I].ThresholdAfter = Threshold; in onInstructionAnalysisFinish()
873 if (Threshold == 0) in costBenefitAnalysis()
964 APInt Threshold(128, PSI->getOrCompHotCountThreshold()); in costBenefitAnalysis() local
965 Threshold *= Size; in costBenefitAnalysis()
969 if (UpperBoundCycleSavings.uge(Threshold)) in costBenefitAnalysis()
975 if (LowerBoundCycleSavings.ult(Threshold)) in costBenefitAnalysis()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp107 UP.Threshold = in getUnrollingPreferences()
137 UP.Threshold = MetaThresholdValue->getSExtValue(); in getUnrollingPreferences()
138 UP.PartialThreshold = UP.Threshold; in getUnrollingPreferences()
139 ThresholdPrivate = std::min(ThresholdPrivate, UP.Threshold); in getUnrollingPreferences()
140 ThresholdLocal = std::min(ThresholdLocal, UP.Threshold); in getUnrollingPreferences()
161 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences()
168 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences()
169 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold in getUnrollingPreferences()
172 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
184 unsigned Threshold = 0; in getUnrollingPreferences() local
[all …]
H A DSIPreEmitPeephole.cpp99 unsigned Threshold = 5; in optimizeVccBranch() local
101 if (!--Threshold) in optimizeVccBranch()
393 const unsigned Threshold = 20; in runOnMachineFunction() local
401 if (Count == Threshold) in runOnMachineFunction()
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp200 UP.Threshold = in gatherUnrollingPreferences()
233 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
240 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
266 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
806 UCE.getUnrolledLoopSize(UP, (unsigned)UnrollCount) < UP.Threshold) in shouldPragmaUnroll()
848 if (UCE.getUnrolledLoopSize(UP) < UP.Threshold) in shouldFullUnroll()
856 UP.Threshold * UP.MaxPercentThresholdBoost / 100, in shouldFullUnroll()
860 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) in shouldFullUnroll()
972 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount()
1015 computePeelCount(L, LoopSize, PP, TripCount, DT, SE, AC, UP.Threshold); in computeUnrollCount()
[all …]
H A DLoopRotation.cpp67 int Threshold = in run() local
79 MSSAU ? &*MSSAU : nullptr, SQ, false, Threshold, in run()
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/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h190 // Trim edges with weight up to `Threshold`. Do not trim anything if
191 // `Threshold` is zero.
192 void trimColdEges(uint64_t Threshold = 0) {
193 if (!Threshold)
200 if (I->Weight <= Threshold)
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp291 compareValueToThreshold(ProgramStateRef State, NonLoc Value, NonLoc Threshold, in compareValueToThreshold() argument
293 if (auto ConcreteThreshold = Threshold.getAs<nonloc::ConcreteInt>()) { in compareValueToThreshold()
294 std::tie(Value, Threshold) = getSimplifiedOffsets(Value, *ConcreteThreshold, SVB); in compareValueToThreshold()
304 if (isNegative(SVB, State, Value) && isUnsigned(SVB, Threshold)) { in compareValueToThreshold()
312 if (isUnsigned(SVB, Value) && isNegative(SVB, State, Threshold)) { in compareValueToThreshold()
330 SVB.evalBinOpNN(State, OpKind, Value, Threshold, SVB.getConditionType()) in compareValueToThreshold()
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilderBindings.cpp144 LLVMPassBuilderOptionsRef Options, int Threshold) { in LLVMPassBuilderOptionsSetInlinerThreshold() argument
145 unwrap(Options)->PTO.InlinerThreshold = Threshold; in LLVMPassBuilderOptionsSetInlinerThreshold()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp276 unsigned Threshold, StringRef CallerModulePath, in selectCallee() argument
293 if ((Summary->instCount() > Threshold) && !Summary->fflags().AlwaysInline && in selectCallee()
720 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument
731 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold in computeImportForFunction()
759 Threshold * GetBonusMultiplier(Edge.second.getHotness()); in computeImportForFunction()
895 auto GetAdjustedThreshold = [](unsigned Threshold, bool IsHotCallsite) { in computeImportForFunction() argument
900 return Threshold * ImportHotInstrFactor; in computeImportForFunction()
901 return Threshold * ImportInstrFactor; in computeImportForFunction()
904 const auto AdjThreshold = GetAdjustedThreshold(Threshold, IsHotCallsite); in computeImportForFunction()
950 auto Threshold = std::get<1>(GVInfo); in computeImportForModule() local
[all …]
/freebsd/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/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.h103 LLVMPassBuilderOptionsRef Options, int Threshold);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DScalar.h59 bool ForgetAllSCEV = false, int Threshold = -1,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp542 unsigned Threshold) { in computePeelCount() argument
572 if (2 * LoopSize > Threshold) in computePeelCount()
584 MaxPeelCount = std::min(MaxPeelCount, Threshold / LoopSize - 1); in computePeelCount()
655 LLVM_DEBUG(dbgs() << "Max peel cost: " << Threshold << "\n"); in computePeelCount()
657 << (Threshold / LoopSize - 1) << "\n"); in computePeelCount()

123