Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/llvm-cov/
H A DCoverageFilters.h86 T Threshold; variable
88 StatisticThresholdFilter(Operation Op, T Threshold) in StatisticThresholdFilter() argument
89 : Op(Op), Threshold(Threshold) {} in StatisticThresholdFilter()
96 return Value < Threshold; in PassesThreshold()
98 return Value > Threshold; in PassesThreshold()
109 RegionCoverageFilter(Operation Op, double Threshold) in RegionCoverageFilter() argument
110 : StatisticThresholdFilter(Op, Threshold) {} in RegionCoverageFilter()
121 LineCoverageFilter(Operation Op, double Threshold) in LineCoverageFilter() argument
122 : StatisticThresholdFilter(Op, Threshold) {} in LineCoverageFilter()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DInlineCost.h74 const int Threshold; variable
80 InlineCost(int Cost, int Threshold, const char *Reason = nullptr)
81 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost()
87 static InlineCost get(int Cost, int Threshold) { in get() argument
90 return InlineCost(Cost, Threshold); in get()
101 return Cost < Threshold;
118 return Threshold; in getThreshold()
131 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
191 InlineParams getInlineParams(int Threshold);
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp94 UP.Threshold = 300; // Twice the default. in getUnrollingPreferences()
120 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences()
125 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences()
129 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
141 unsigned Threshold = 0; in getUnrollingPreferences() local
143 Threshold = ThresholdPrivate; in getUnrollingPreferences()
145 Threshold = ThresholdLocal; in getUnrollingPreferences()
149 if (UP.Threshold >= Threshold) in getUnrollingPreferences()
203 UP.Threshold = Threshold; in getUnrollingPreferences()
204 LLVM_DEBUG(dbgs() << "Set unroll threshold " << Threshold in getUnrollingPreferences()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DSpillPlacement.cpp116 void clear(const BlockFrequency &Threshold) { in clear()
118 SumLinkWeights = Threshold; in clear()
156 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update()
176 if (SumN >= SumP + Threshold) in update()
178 else if (SumP >= SumN + Threshold) in update()
232 nodes[n].clear(Threshold); in activate()
259 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold()
334 if (!nodes[n].update(nodes, Threshold)) in update()
H A DSpillPlacement.h68 BlockFrequency Threshold; variable
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInlineCost.cpp130 int Threshold; member in __anon45440fe00111::CallAnalyzer
851 Threshold = 0; in updateThreshold()
902 Threshold = MinIfValid(Threshold, Params.OptMinSizeThreshold); in updateThreshold()
910 Threshold = MinIfValid(Threshold, Params.OptSizeThreshold); in updateThreshold()
916 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
941 Threshold = MinIfValid(Threshold, Params.ColdCallSiteThreshold); in updateThreshold()
950 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
958 Threshold = MinIfValid(Threshold, Params.ColdThreshold); in updateThreshold()
1737 assert(Threshold >= 0); in analyzeCall()
1919 Threshold -= VectorBonus; in analyzeCall()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp52 , Threshold(4) {} in PadShortFunc()
76 const unsigned int Threshold; member
125 if (Cycles < Threshold) { in runOnMachineFunction()
137 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
151 if (Cycles >= Threshold) in findReturns()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp176 UP.Threshold = OptLevel > 2 ? 300 : 150; in gatherUnrollingPreferences()
203 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
209 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
235 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
761 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount()
782 if (getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) { in computeUnrollCount()
793 UP.Threshold * UP.MaxPercentThresholdBoost / 100)) { in computeUnrollCount()
796 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) { in computeUnrollCount()
997 if (UP.Threshold == 0 && (!UP.Partial || UP.PartialThreshold == 0)) in tryToUnrollLoop()
1143 Optional<unsigned> Threshold = None, in LoopUnroll() argument
[all …]
H A DSimplifyCFGPass.cpp235 CFGSimplifyPass(unsigned Threshold = 1, bool ForwardSwitchCond = false, in CFGSimplifyPass()
246 : Threshold; in CFGSimplifyPass()
290 llvm::createCFGSimplificationPass(unsigned Threshold, bool ForwardSwitchCond, in INITIALIZE_PASS_DEPENDENCY()
294 return new CFGSimplifyPass(Threshold, ForwardSwitchCond, ConvertSwitch, in INITIALIZE_PASS_DEPENDENCY()
H A DLoopRotation.cpp41 int Threshold = EnableHeaderDuplication ? DefaultRotationThreshold : 0; in run() local
50 SQ, false, Threshold, false); 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-12.1/contrib/llvm/include/llvm/Transforms/
H A DScalar.h187 int Threshold = -1, int Count = -1,
247 FunctionPass *createJumpThreadingPass(int Threshold = -1);
255 unsigned Threshold = 1, bool ForwardSwitchCond = false,
H A DIPO.h107 Pass *createFunctionInliningPass(int Threshold);
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp179 unsigned Threshold, StringRef CallerModulePath, in selectCallee() argument
235 if (Summary->instCount() > Threshold) { in selectCallee()
350 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument
360 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold in computeImportForFunction()
389 Threshold * GetBonusMultiplier(Edge.second.getHotness()); in computeImportForFunction()
505 auto GetAdjustedThreshold = [](unsigned Threshold, bool IsHotCallsite) { in computeImportForFunction() argument
510 return Threshold * ImportHotInstrFactor; in computeImportForFunction()
511 return Threshold * ImportInstrFactor; in computeImportForFunction()
514 const auto AdjThreshold = GetAdjustedThreshold(Threshold, IsHotCallsite); in computeImportForFunction()
562 auto Threshold = std::get<1>(FuncInfo); in ComputeImportForModule() local
[all …]
H A DInlineSimple.cpp100 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
101 return new SimpleInliner(llvm::getInlineParams(Threshold)); in createFunctionInliningPass()
/freebsd-12.1/contrib/llvm/include/llvm/Bitcode/
H A DBitstreamWriter.h149 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local
152 while (Val >= Threshold) { in EmitVBR()
165 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local
168 while (Val >= Threshold) { in EmitVBR64()
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DSampleProf.h384 uint64_t Threshold) const {
385 if (TotalSamples <= Threshold)
392 if (TS.getValue() > Threshold) {
400 NameFS.second.findInlinedFunctions(S, M, Threshold);
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollPeel.cpp272 if (2 * LoopSize <= UP.Threshold && UnrollPeelMaxCount > 0) { in computePeelCount()
292 MaxPeelCount = std::min(MaxPeelCount, UP.Threshold / LoopSize - 1); in computePeelCount()
329 (LoopSize * (*PeelCount + 1) <= UP.Threshold)) { in computePeelCount()
339 LLVM_DEBUG(dbgs() << "Max peel cost: " << UP.Threshold << "\n"); in computePeelCount()
/freebsd-12.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-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DLoopRotationUtils.h37 bool RotationOnly, unsigned Threshold, bool IsUtilMode);
/freebsd-12.1/contrib/llvm/include/llvm-c/Transforms/
H A DPassManagerBuilder.h64 unsigned Threshold);
H A DScalar.h118 int Threshold);
/freebsd-12.1/contrib/llvm/lib/IR/
H A DLLVMContext.cpp156 void LLVMContext::setDiagnosticsHotnessThreshold(uint64_t Threshold) { in setDiagnosticsHotnessThreshold() argument
157 pImpl->DiagnosticsHotnessThreshold = Threshold; in setDiagnosticsHotnessThreshold()

123