Home
last modified time | relevance | path

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

123

/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h89 int Threshold = 0; variable
98 InlineCost(int Cost, int Threshold, const char *Reason = nullptr,
100 : Cost(Cost), Threshold(Threshold), Reason(Reason), in Cost()
107 static InlineCost get(int Cost, int Threshold) { in get() argument
110 return InlineCost(Cost, Threshold); in get()
122 explicit operator bool() const { return Cost < Threshold; }
138 return Threshold; in getThreshold()
154 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
225 InlineParams getInlineParams(int Threshold);
H A DInlineModelFeatureMaps.h46 M(Threshold, "threshold")
71 Feature != InlineCostFeatureIndex::Threshold; in isHeuristicInlineCostFeature()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSpillPlacement.cpp112 void clear(const BlockFrequency &Threshold) { in clear()
114 SumLinkWeights = Threshold; in clear()
152 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update()
172 if (SumN >= SumP + Threshold) in update()
174 else if (SumP >= SumN + Threshold) in update()
228 nodes[n].clear(Threshold); in activate()
255 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold()
326 if (!nodes[n].update(nodes, Threshold)) in update()
H A DSpillPlacement.h67 BlockFrequency Threshold; variable
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp487 int Threshold = 0; member in __anondb71d90f0111::InlineCostCallAnalyzer
741 if (Threshold == 0) in costBenefitAnalysis()
973 int Threshold = 5; member in __anondb71d90f0111::InlineCostFeaturesAnalyzer
1114 set(InlineCostFeatureIndex::Threshold, Threshold); in finalizeAnalysis()
1690 Threshold = 0; in updateThreshold()
1732 Threshold = MinIfValid(Threshold, Params.OptMinSizeThreshold); in updateThreshold()
1740 Threshold = MinIfValid(Threshold, Params.OptSizeThreshold); in updateThreshold()
1746 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
1771 Threshold = MinIfValid(Threshold, Params.ColdCallSiteThreshold); in updateThreshold()
1780 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp54 , Threshold(4) {} in PadShortFunc()
85 const unsigned int Threshold; member
142 if (Cycles < Threshold) { in runOnMachineFunction()
154 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
168 if (Cycles >= Threshold) in findReturns()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp53 int Threshold = EnableHeaderDuplication || in run() local
66 Threshold, false, PrepareForLTO || PrepareForLTOOption); in run()
134 int Threshold = hasVectorizeTransformation(L) == TM_ForcedByUser in runOnLoop() local
140 false, Threshold, false, in runOnLoop()
H A DLoopUnrollPass.cpp194 UP.Threshold = in gatherUnrollingPreferences()
226 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
233 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
257 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
823 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount()
858 if (UCE.getUnrolledLoopSize(UP) < UP.Threshold) { in computeUnrollCount()
867 UP.Threshold * UP.MaxPercentThresholdBoost / 100, in computeUnrollCount()
871 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) { in computeUnrollCount()
880 computePeelCount(L, LoopSize, PP, TripCount, SE, UP.Threshold); in computeUnrollCount()
1110 UP.Threshold = std::max(UP.Threshold, LoopSize + 1); in tryToUnrollLoop()
[all …]
H A DLoopUnrollAndJamPass.cpp192 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount()
205 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount()
244 if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) { in computeUnrollAndJamCount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp132 UP.Threshold = MetaThresholdValue->getSExtValue(); in getUnrollingPreferences()
133 UP.PartialThreshold = UP.Threshold; in getUnrollingPreferences()
156 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences()
163 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences()
167 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
179 unsigned Threshold = 0; in getUnrollingPreferences() local
181 Threshold = ThresholdPrivate; in getUnrollingPreferences()
183 Threshold = ThresholdLocal; in getUnrollingPreferences()
187 if (UP.Threshold >= Threshold) in getUnrollingPreferences()
245 UP.Threshold = Threshold; in getUnrollingPreferences()
[all …]
H A DSIPreEmitPeephole.cpp90 unsigned Threshold = 5; in optimizeVccBranch() local
92 if (!--Threshold) in optimizeVccBranch()
371 const unsigned Threshold = 20; in runOnMachineFunction() local
380 if (Count == Threshold) in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp99 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
100 return new SimpleInliner(llvm::getInlineParams(Threshold)); in createFunctionInliningPass()
H A DFunctionImport.cpp177 unsigned Threshold, StringRef CallerModulePath, in selectCallee() argument
233 if ((Summary->instCount() > Threshold) && in selectCallee()
384 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument
394 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold in computeImportForFunction()
426 Threshold * GetBonusMultiplier(Edge.second.getHotness()); in computeImportForFunction()
538 auto GetAdjustedThreshold = [](unsigned Threshold, bool IsHotCallsite) { in computeImportForFunction() argument
543 return Threshold * ImportHotInstrFactor; in computeImportForFunction()
544 return Threshold * ImportInstrFactor; in computeImportForFunction()
547 const auto AdjThreshold = GetAdjustedThreshold(Threshold, IsHotCallsite); in computeImportForFunction()
595 auto Threshold = std::get<1>(GVInfo); in ComputeImportForModule() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DScalar.h189 bool ForgetAllSCEV = false, int Threshold = -1,
254 int Threshold = -1);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLoopRotationUtils.h36 bool RotationOnly, unsigned Threshold, bool IsUtilMode,
H A DLoopPeel.h36 unsigned Threshold = UINT_MAX);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp296 unsigned Threshold) { in computePeelCount() argument
338 if (2 * LoopSize <= Threshold && UnrollPeelMaxCount > 0) { in computePeelCount()
358 MaxPeelCount = std::min(MaxPeelCount, Threshold / LoopSize - 1); in computePeelCount()
401 (LoopSize * (*PeelCount + 1) <= Threshold)) { in computePeelCount()
412 LLVM_DEBUG(dbgs() << "Max peel cost: " << Threshold << "\n"); in computePeelCount()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h232 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local
235 while (Val >= Threshold) { in EmitVBR()
248 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local
251 while (Val >= Threshold) { in EmitVBR64()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/Transforms/
H A DPassManagerBuilder.h63 unsigned Threshold);
H A DScalar.h123 int Threshold);
/freebsd-13.1/tools/tools/ath/athprom/
H A Deeprom-318 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
84 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
132 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
H A Deeprom-421 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
94 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
159 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
H A Deeprom-522 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
108 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
186 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp135 void LLVMContext::setDiagnosticsHotnessThreshold(Optional<uint64_t> Threshold) { in setDiagnosticsHotnessThreshold() argument
136 pImpl->DiagnosticsHotnessThreshold = Threshold; in setDiagnosticsHotnessThreshold()

123