Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-cov/
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-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
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);
DInlineModelFeatureMaps.h46 M(Threshold, "threshold")
71 Feature != InlineCostFeatureIndex::Threshold; in isHeuristicInlineCostFeature()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
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()
DSpillPlacement.h67 BlockFrequency Threshold; variable
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DInlineCost.cpp487 int Threshold = 0; member in __anon1e9e54f30111::InlineCostCallAnalyzer
666 Threshold -= SingleBBBonus; in onBlockAnalyzed()
677 InstructionCostDetailMap[I].ThresholdBefore = Threshold; in onInstructionAnalysisStart()
686 InstructionCostDetailMap[I].ThresholdAfter = Threshold; in onInstructionAnalysisFinish()
741 if (Threshold == 0) in costBenefitAnalysis()
846 Threshold -= VectorBonus; in finalizeAnalysis()
848 Threshold -= VectorBonus / 2; in finalizeAnalysis()
858 if (IgnoreThreshold || Cost < std::max(1, Threshold)) in finalizeAnalysis()
865 return !IgnoreThreshold && Cost >= Threshold && !ComputeFullInlineCost; in shouldStop()
892 assert(Threshold >= 0); in onAnalysisStart()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
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()
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()
793 if (UP.AllowRemainder && UCE.getUnrolledLoopSize(UP) < UP.Threshold) in computeUnrollCount()
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()
[all …]
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-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp106 UP.Threshold = AMDGPU::getIntegerAttribute(F, "amdgpu-unroll-threshold", 300); in getUnrollingPreferences()
132 UP.Threshold = MetaThresholdValue->getSExtValue(); in getUnrollingPreferences()
133 UP.PartialThreshold = UP.Threshold; in getUnrollingPreferences()
134 ThresholdPrivate = std::min(ThresholdPrivate, UP.Threshold); in getUnrollingPreferences()
135 ThresholdLocal = std::min(ThresholdLocal, UP.Threshold); in getUnrollingPreferences()
156 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences()
163 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences()
164 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold in getUnrollingPreferences()
167 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
179 unsigned Threshold = 0; in getUnrollingPreferences() local
[all …]
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-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
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 …]
DInlineSimple.cpp99 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
100 return new SimpleInliner(llvm::getInlineParams(Threshold)); in createFunctionInliningPass()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/
DScalar.h189 bool ForgetAllSCEV = false, int Threshold = -1,
254 int Threshold = -1);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
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-12-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/
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-12-stable/tools/tools/ath/athprom/
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 |
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 |
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-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
DLoopRotationUtils.h36 bool RotationOnly, unsigned Threshold, bool IsUtilMode,
DLoopPeel.h36 unsigned Threshold = UINT_MAX);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm-c/Transforms/
DPassManagerBuilder.h63 unsigned Threshold);
DScalar.h123 int Threshold);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DLLVMContext.cpp135 void LLVMContext::setDiagnosticsHotnessThreshold(Optional<uint64_t> Threshold) { in setDiagnosticsHotnessThreshold() argument
136 pImpl->DiagnosticsHotnessThreshold = Threshold; in setDiagnosticsHotnessThreshold()

123