Home
last modified time | relevance | path

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

123456

/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DInlineCost.h75 const int Threshold; variable
78 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
81 static InlineCost get(int Cost, int Threshold) { in get() argument
84 return InlineCost(Cost, Threshold); in get()
95 return Cost < Threshold;
112 return Threshold; in getThreshold()
118 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
167 InlineParams getInlineParams(int Threshold);
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
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()
/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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnrollPass.cpp106 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) { in INITIALIZE_PASS_DEPENDENCY()
107 return new LoopUnroll(Threshold, Count, AllowPartial); in INITIALIZE_PASS_DEPENDENCY()
142 unsigned Threshold = CurrentThreshold; in runOnLoop() local
145 Threshold = OptSizeUnrollThreshold; in runOnLoop()
178 if (Threshold != NoThreshold) { in runOnLoop()
188 if (TripCount != 1 && Size > Threshold) { in runOnLoop()
190 << " because size: " << Size << ">" << Threshold << "\n"); in runOnLoop()
197 Count = Threshold / LoopSize; in runOnLoop()
/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/Analysis/
DInlineCost.cpp92 int Threshold; member in __anond8f3b4e60111::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-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp94 UP.Threshold = 300; // Twice the default. in getUnrollingPreferences()
121 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences()
126 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences()
127 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold in getUnrollingPreferences()
130 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences()
142 unsigned Threshold = 0; in getUnrollingPreferences() local
144 Threshold = ThresholdPrivate; in getUnrollingPreferences()
146 Threshold = ThresholdLocal; in getUnrollingPreferences()
150 if (UP.Threshold >= Threshold) in getUnrollingPreferences()
204 UP.Threshold = Threshold; in getUnrollingPreferences()
[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/swiftshader/third_party/llvm-7.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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp128 int Threshold; member in __anon5999813e0111::CallAnalyzer
279 CandidateCS(CSArg), Params(Params), Threshold(Params.DefaultThreshold), in CallAnalyzer()
295 int getThreshold() { return Threshold; } in getThreshold()
848 Threshold = 0; in updateThreshold()
899 Threshold = MinIfValid(Threshold, Params.OptMinSizeThreshold); in updateThreshold()
907 Threshold = MinIfValid(Threshold, Params.OptSizeThreshold); in updateThreshold()
913 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
930 Threshold = HotCallSiteThreshold.getValue(); in updateThreshold()
938 Threshold = MinIfValid(Threshold, Params.ColdCallSiteThreshold); in updateThreshold()
947 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
[all …]
DCaptureTracking.cpp213 static int const Threshold = 20; variable
217 SmallVector<const Use *, Threshold> Worklist; in PointerMayBeCaptured()
218 SmallSet<const Use *, Threshold> Visited; in PointerMayBeCaptured()
225 if (Count++ >= Threshold) in PointerMayBeCaptured()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
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()
/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/lib/Transforms/IPO/
DInlineSimple.cpp40 SimpleInliner(int Threshold) : Inliner(ID, Threshold) { in SimpleInliner() argument
72 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
73 return new SimpleInliner(Threshold); in createFunctionInliningPass()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DCaptureTracking.cpp37 static int const Threshold = 20; variable
49 SmallVector<Use*, Threshold> Worklist; in PointerMayBeCaptured()
50 SmallSet<Use*, Threshold> Visited; in PointerMayBeCaptured()
57 if (Count++ >= Threshold) in PointerMayBeCaptured()
/external/u-boot/doc/
DREADME.mpc83xx.ddrecc52 Single-Bit Error Threshold: 255
62 Counter did not reach Single-Bit Error Threshold.
119 Test Single-Bit Error Counter and Threshold
142 Single-Bit Error Threshold: 255
152 reached Single-Bit Error Threshold. Multiple Memory Errors bit is also 'on', that
153 is Counter reached Threshold more than one time (it wraps back after reaching
154 Threshold).
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
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()
729 if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) in computeUnrollCount()
759 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount()
780 if (getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) { in computeUnrollCount()
791 UP.Threshold * UP.MaxPercentThresholdBoost / 100)) { in computeUnrollCount()
794 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) { in computeUnrollCount()
988 if (UP.Threshold == 0 && (!UP.Partial || UP.PartialThreshold == 0)) in tryToUnrollLoop()
[all …]
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()
/external/llvm/include/llvm/Transforms/
DScalar.h171 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1,
238 FunctionPass *createJumpThreadingPass(int Threshold = -1);
246 int Threshold = -1, std::function<bool(const Function &)> Ftor = nullptr);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/
DScalar.h187 Pass *createLoopUnrollPass(int OptLevel = 2, int Threshold = -1, int Count = -1,
247 FunctionPass *createJumpThreadingPass(int Threshold = -1);
255 unsigned Threshold = 1, bool ForwardSwitchCond = false,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp166 unsigned Threshold, StringRef CallerModulePath) { in selectCallee() argument
210 if (Summary->instCount() > Threshold) in selectCallee()
277 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument
287 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold in computeImportForFunction()
316 Threshold * GetBonusMultiplier(Edge.second.getHotness()); in computeImportForFunction()
398 auto GetAdjustedThreshold = [](unsigned Threshold, bool IsHotCallsite) { in computeImportForFunction() argument
403 return Threshold * ImportHotInstrFactor; in computeImportForFunction()
404 return Threshold * ImportInstrFactor; in computeImportForFunction()
409 const auto AdjThreshold = GetAdjustedThreshold(Threshold, IsHotCallsite); in computeImportForFunction()
457 auto Threshold = std::get<1>(FuncInfo); in ComputeImportForModule() local
[all …]

123456