Home
last modified time | relevance | path

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

12345678

/external/llvm/tools/llvm-cov/
DCoverageFilters.h61 T Threshold; variable
63 StatisticThresholdFilter(Operation Op, T Threshold) in StatisticThresholdFilter() argument
64 : Op(Op), Threshold(Threshold) {} in StatisticThresholdFilter()
71 return Value < Threshold; in PassesThreshold()
73 return Value > Threshold; in PassesThreshold()
84 RegionCoverageFilter(Operation Op, double Threshold) in RegionCoverageFilter() argument
85 : StatisticThresholdFilter(Op, Threshold) {} in RegionCoverageFilter()
95 LineCoverageFilter(Operation Op, double Threshold) in LineCoverageFilter() argument
96 : StatisticThresholdFilter(Op, Threshold) {} in LineCoverageFilter()
/external/llvm/include/llvm/Analysis/
DInlineCost.h62 const int Threshold; variable
65 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
68 static InlineCost get(int Cost, int Threshold) { in get() argument
71 return InlineCost(Cost, Threshold); in get()
82 return Cost < Threshold;
99 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
/external/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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInlineCost.h73 int Threshold; variable
79 InlineCost(int Cost, int Threshold, const char *Reason = nullptr)
80 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost()
86 static InlineCost get(int Cost, int Threshold) { in get() argument
89 return InlineCost(Cost, Threshold); in get()
100 return Cost < Threshold;
117 return Threshold; in getThreshold()
130 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
190 InlineParams getInlineParams(int Threshold);
/external/llvm-project/llvm/include/llvm/Analysis/
DInlineCost.h74 int Threshold = 0; 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()
100 explicit operator bool() const { return Cost < Threshold; }
116 return Threshold; in getThreshold()
129 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
200 InlineParams getInlineParams(int Threshold);
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp116 UP.Threshold = 150; in gatherUnrollingPreferences()
120 UP.PartialThreshold = UP.Threshold; in gatherUnrollingPreferences()
136 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
142 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
163 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
638 static bool canUnrollCompletely(Loop *L, unsigned Threshold, in canUnrollCompletely() argument
643 if (Threshold == NoThreshold) { in canUnrollCompletely()
648 if (UnrolledCost <= Threshold) { in canUnrollCompletely()
650 << UnrolledCost << "<" << Threshold << "\n"); in canUnrollCompletely()
667 (int64_t)Threshold) { in canUnrollCompletely()
[all …]
/external/llvm/lib/Transforms/IPO/
DInlineSimple.cpp54 explicit SimpleInliner(int Threshold) in SimpleInliner() argument
55 : Inliner(ID), DefaultThreshold(Threshold) { in SimpleInliner()
89 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
90 return new SimpleInliner(Threshold); in createFunctionInliningPass()
DFunctionImport.cpp167 unsigned Threshold) { in selectCallee() argument
188 if (Summary->instCount() > Threshold) in selectCallee()
205 unsigned Threshold, in selectCallee() argument
210 return selectCallee(Index, CalleeSummaryList->second, Threshold); in selectCallee()
267 unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument
273 DEBUG(dbgs() << " edge -> " << GUID << " Threshold:" << Threshold << "\n"); in computeImportForFunction()
280 auto *CalleeSummary = selectCallee(GUID, Threshold, Index); in computeImportForFunction()
296 assert(ResolvedCalleeSummary->instCount() <= Threshold && in computeImportForFunction()
304 if (ProcessedThreshold && ProcessedThreshold >= Threshold) { in computeImportForFunction()
310 ProcessedThreshold = Threshold; in computeImportForFunction()
[all …]
/external/llvm/lib/Analysis/
DInlineCost.cpp92 int Threshold; member in __anoned94fc440111::CallAnalyzer
207 ProfileSummaryInfo *PSI, Function &Callee, int Threshold, in CallAnalyzer() argument
210 Threshold(Threshold), Cost(0), IsCallerRecursive(false), in CallAnalyzer()
223 int getThreshold() { return Threshold; } in getThreshold()
618 Threshold = 0; in updateThreshold()
626 Threshold = DefaultInlineThreshold; in updateThreshold()
630 if (Caller->optForMinSize() && OptMinSizeThreshold < Threshold) in updateThreshold()
631 Threshold = OptMinSizeThreshold; in updateThreshold()
632 else if (Caller->optForSize() && OptSizeThreshold < Threshold) in updateThreshold()
633 Threshold = OptSizeThreshold; in updateThreshold()
[all …]
DCaptureTracking.cpp212 static int const Threshold = 20; variable
216 SmallVector<const Use *, Threshold> Worklist; in PointerMayBeCaptured()
217 SmallSet<const Use *, Threshold> Visited; in PointerMayBeCaptured()
223 if (Count++ >= Threshold) in PointerMayBeCaptured()
320 if (Count++ >= Threshold) in PointerMayBeCaptured()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
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()
/external/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()
330 if (!nodes[n].update(nodes, Threshold)) in update()
/external/llvm/lib/CodeGen/
DSpillPlacement.cpp108 void clear(const BlockFrequency &Threshold) { in clear()
110 SumLinkWeights = Threshold; in clear()
148 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update()
168 if (SumN >= SumP + Threshold) in update()
170 else if (SumP >= SumN + Threshold) in update()
224 nodes[n].clear(Threshold); in activate()
251 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold()
326 if (!nodes[n].update(nodes, Threshold)) in update()
/external/llvm/lib/Target/X86/
DX86PadShortFunction.cpp54 , Threshold(4), STI(nullptr), TII(nullptr) {} in PadShortFunc()
78 const unsigned int Threshold; member
130 if (Cycles < Threshold) { in runOnMachineFunction()
142 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
156 if (Cycles >= Threshold) in findReturns()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86PadShortFunction.cpp54 , Threshold(4) {} in PadShortFunc()
84 const unsigned int Threshold; member
141 if (Cycles < Threshold) { in runOnMachineFunction()
153 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
167 if (Cycles >= Threshold) in findReturns()
/external/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp380 int Threshold = 0; member in __anon18c107e60111::InlineCostCallAnalyzer
537 Threshold -= SingleBBBonus; in onBlockAnalyzed()
565 Threshold -= VectorBonus; in finalizeAnalysis()
567 Threshold -= VectorBonus / 2; in finalizeAnalysis()
569 return Cost < std::max(1, Threshold); in finalizeAnalysis()
574 return Cost >= Threshold && !ComputeFullInlineCost; in shouldStop()
601 assert(Threshold >= 0); in onAnalysisStart()
608 Threshold += (SingleBBBonus + VectorBonus); in onAnalysisStart()
620 if (Cost >= Threshold && !ComputeFullInlineCost) in onAnalysisStart()
636 Params(Params), Threshold(Params.DefaultThreshold), in InlineCostCallAnalyzer()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp46 int Threshold = EnableHeaderDuplication || in run() local
58 SQ, false, Threshold, false); in run()
118 int Threshold = hasVectorizeTransformation(L) == TM_ForcedByUser in runOnLoop() local
124 false, Threshold, false); in runOnLoop()
DLoopUnrollPass.cpp194 UP.Threshold = in gatherUnrollingPreferences()
224 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
231 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
255 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
759 if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) in computeUnrollCount()
789 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount()
826 if (getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) { in computeUnrollCount()
837 UP.Threshold * UP.MaxPercentThresholdBoost / 100, in computeUnrollCount()
841 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) { in computeUnrollCount()
852 computePeelCount(L, LoopSize, PP, TripCount, SE, UP.Threshold); in computeUnrollCount()
[all …]
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dconfig.proto10 message Threshold { message
11 // Threshold defines a curve in the bandwidth/packet-loss domain. The
36 optional Threshold fec_enabling_threshold = 1;
37 optional Threshold fec_disabling_threshold = 2;
45 message Threshold { message
46 // Threshold defines a curve in the bandwidth/recoverable-packet-loss
75 optional Threshold fec_enabling_threshold = 1;
76 optional Threshold fec_disabling_threshold = 2;
/external/llvm-project/llvm/lib/Analysis/
DInlineCost.cpp449 int Threshold = 0; member in __anonae1cb0f20111::InlineCostCallAnalyzer
608 Threshold -= SingleBBBonus; in onBlockAnalyzed()
619 InstructionCostDetailMap[I].ThresholdBefore = Threshold; in onInstructionAnalysisStart()
628 InstructionCostDetailMap[I].ThresholdAfter = Threshold; in onInstructionAnalysisFinish()
655 Threshold -= VectorBonus; in finalizeAnalysis()
657 Threshold -= VectorBonus / 2; in finalizeAnalysis()
659 if (IgnoreThreshold || Cost < std::max(1, Threshold)) in finalizeAnalysis()
666 return !IgnoreThreshold && Cost >= Threshold && !ComputeFullInlineCost; in shouldStop()
693 assert(Threshold >= 0); in onAnalysisStart()
700 Threshold += (SingleBBBonus + VectorBonus); in onAnalysisStart()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp110 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 …]
/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/coco_object_detection/
DREADME.md20 Average Precision [IOU Threshold=0.5]: 0.349581
21 Average Precision [IOU Threshold=0.55]: 0.330213
22 Average Precision [IOU Threshold=0.6]: 0.307694
23 Average Precision [IOU Threshold=0.65]: 0.281025
24 Average Precision [IOU Threshold=0.7]: 0.248507
25 Average Precision [IOU Threshold=0.75]: 0.210295
26 Average Precision [IOU Threshold=0.8]: 0.165011
27 Average Precision [IOU Threshold=0.85]: 0.116215
28 Average Precision [IOU Threshold=0.9]: 0.0507883
29 Average Precision [IOU Threshold=0.95]: 0.0064338
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp94 UP.Threshold = AMDGPU::getIntegerAttribute(F, "amdgpu-unroll-threshold", 300); in getUnrollingPreferences()
120 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences()
127 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences()
128 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold in getUnrollingPreferences()
131 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
143 unsigned Threshold = 0; in getUnrollingPreferences() local
145 Threshold = ThresholdPrivate; in getUnrollingPreferences()
147 Threshold = ThresholdLocal; in getUnrollingPreferences()
151 if (UP.Threshold >= Threshold) in getUnrollingPreferences()
206 UP.Threshold = Threshold; in getUnrollingPreferences()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp188 UP.Threshold = OptLevel > 2 ? 300 : 150; in gatherUnrollingPreferences()
219 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
226 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
252 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
752 if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) in computeUnrollCount()
782 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount()
819 if (getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) { in computeUnrollCount()
830 UP.Threshold * UP.MaxPercentThresholdBoost / 100)) { in computeUnrollCount()
833 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) { in computeUnrollCount()
1053 if (UP.Threshold == 0 && (!UP.Partial || UP.PartialThreshold == 0) && in tryToUnrollLoop()
[all …]

12345678