/external/llvm/tools/llvm-cov/ |
CoverageFilters.h | 54 /// \brief Matches numbers that pass a certain threshold. 61 T Threshold; 63 StatisticThresholdFilter(Operation Op, T Threshold) 64 : Op(Op), Threshold(Threshold) {} 67 /// or greater than the certain threshold. 71 return Value < Threshold; 73 return Value > Threshold; 84 RegionCoverageFilter(Operation Op, double Threshold) 85 : StatisticThresholdFilter(Op, Threshold) {} [all...] |
/external/llvm/include/llvm/Analysis/ |
InlineCost.h | 48 /// Objects of this type also provide the adjusted threshold for inlining 51 /// threshold for this cost metric. 61 /// \brief The adjusted threshold against which this cost was computed. 62 const int Threshold; 65 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} 68 static InlineCost get(int Cost, int Threshold) { 71 return InlineCost(Cost, Threshold); 82 return Cost < Threshold; [all...] |
/external/llvm/lib/Transforms/IPO/ |
InlineSimple.cpp | 44 // * the --inline-threshold flag, or 54 explicit SimpleInliner(int Threshold) 55 : Inliner(ID), DefaultThreshold(Threshold) { 89 Pass *llvm::createFunctionInliningPass(int Threshold) { 90 return new SimpleInliner(Threshold);
|
FunctionImport.cpp | 49 "`import-instr-limit` threshold by this factor " 155 /// that fits the \p Threshold. 167 unsigned Threshold) { 188 if (Summary->instCount() > Threshold) 202 /// Return the summary for the function \p GUID that fits the \p Threshold, or 205 unsigned Threshold, 210 return selectCallee(Index, CalleeSummaryList->second, Threshold); 260 using EdgeInfo = std::pair<const FunctionSummary *, unsigned /* Threshold */>; 267 unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, 273 DEBUG(dbgs() << " edge -> " << GUID << " Threshold:" << Threshold << "\n") [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
LoopUnrollPass.cpp | 31 UnrollThreshold("unroll-threshold", cl::init(150), cl::Hidden, 41 "-unroll-threshold loop size is reached.")); 62 /// A magic value for use with the Threshold parameter to indicate 67 // Threshold to use when optsize is specified (and there is no 68 // explicit -unroll-threshold). 106 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) { 107 return new LoopUnroll(Threshold, Count, AllowPartial); 138 // Determine the current unrolling threshold. While this is normally set 140 // function is marked as optimize-for-size, and the unroll threshold was 142 unsigned Threshold = CurrentThreshold [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
CaptureTracking.cpp | 36 /// that path, and remove this threshold. 37 static int const Threshold = 20; 49 SmallVector<Use*, Threshold> Worklist; 50 SmallSet<Use*, Threshold> Visited; 57 if (Count++ >= Threshold)
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
InlineSimple.cpp | 40 SimpleInliner(int Threshold) : Inliner(ID, Threshold) { 72 Pass *llvm::createFunctionInliningPass(int Threshold) { 73 return new SimpleInliner(Threshold);
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
CompLim.h | 48 LVM_INT16 Threshold; /* Target threshold */
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/ |
Scalar.h | 76 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1, 131 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1);
|
IPO.h | 88 /// The -inline-threshold command line option takes precedence over the 89 /// threshold given here. 91 Pass *createFunctionInliningPass(int Threshold);
|
/external/llvm/lib/Target/X86/ |
X86PadShortFunction.cpp | 54 , Threshold(4), STI(nullptr), TII(nullptr) {} 78 const unsigned int Threshold; 130 if (Cycles < Threshold) { 142 addPadding(MBB, ReturnLoc, Threshold - Cycles); 156 if (Cycles >= Threshold)
|
/frameworks/base/services/core/java/com/android/server/ |
RescueParty.java | 65 /** Threshold for boot loops */ 66 private static final Threshold sBoot = new BootThreshold(); 67 /** Threshold for app crash loops */ 68 private static SparseArray<Threshold> sApps = new SparseArray<>(); 118 Threshold t = sApps.get(uid); 218 * Threshold that can be triggered if a number of events occur within a 221 private abstract static class Threshold { 231 public Threshold(int uid, int triggerCount, long triggerWindow) { 243 * @return if this threshold has been triggered 264 * Specialization of {@link Threshold} for monitoring boot events. It store [all...] |
/external/llvm/include/llvm/Transforms/ |
Scalar.h | 171 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, 236 // internal BB duplication default threshold. 238 FunctionPass *createJumpThreadingPass(int Threshold = -1); 246 int Threshold = -1, std::function<bool(const Function &)> Ftor = nullptr);
|
IPO.h | 98 /// The Threshold can be passed directly, or asked to be computed from the 101 /// The -inline-threshold command line option takes precedence over the 102 /// threshold given here. 104 Pass *createFunctionInliningPass(int Threshold);
|
/external/llvm/include/llvm-c/Transforms/ |
PassManagerBuilder.h | 64 unsigned Threshold);
|
Scalar.h | 115 int Threshold);
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/ |
InlinerPass.h | 34 explicit Inliner(char &ID, int Threshold); 49 /// This method returns the value specified by the -inline-threshold value, 54 /// Calculate the inline threshold for given Caller. This threshold is lower 55 /// if the caller is marked with OptimizeForSize and -inline-threshold is not 63 /// returned is greater than the current inline threshold, the call site is 69 // higher threshold to determine if the function call should be inlined.
|
/external/swiftshader/third_party/LLVM/include/llvm-c/Transforms/ |
PassManagerBuilder.h | 58 unsigned Threshold);
|
Scalar.h | 87 int Threshold);
|
/external/llvm/bindings/ocaml/transforms/passmgr_builder/ |
passmgr_builder_ocaml.c | 65 value Threshold, value PMB) { 66 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(Threshold));
|
/external/llvm/lib/CodeGen/ |
SpillPlacement.cpp | 89 /// SumLinkWeights - Cached sum of the weights of all links + ThresHold. 102 // true when the RHS saturates. Note that SumLinkWeights includes Threshold. 108 void clear(const BlockFrequency &Threshold) { 110 SumLinkWeights = Threshold; 148 bool update(const Node nodes[], const BlockFrequency &Threshold) { 168 if (SumN >= SumP + Threshold) 170 else if (SumP >= SumN + Threshold) 224 nodes[n].clear(Threshold); 241 /// \brief Set the threshold for a given entry frequency. 243 /// Set the threshold relative to \c Entry. Since the threshold is used as [all...] |
SpillPlacement.h | 66 /// Decision threshold. A node gets the output value 0 if the weighted sum of 67 /// its inputs falls in the open interval (-Threshold;Threshold). 68 BlockFrequency Threshold;
|
/external/llvm/lib/Transforms/Scalar/ |
LoopUnrollPass.cpp | 45 UnrollThreshold("unroll-threshold", cl::Hidden, 46 cl::desc("The baseline cost threshold for loop unrolling")); 49 "unroll-percent-dynamic-cost-saved-threshold", cl::init(50), cl::Hidden, 51 "unrolling to allow unrolling up to the max threshold.")); 57 "the '-unroll-perecent-dynamic-cost-saved-threshold' flag).")); 82 "-unroll-threshold loop size is reached.")); 94 "pragma-unroll-threshold", cl::init(16 * 1024), cl::Hidden, 98 /// A magic value for use with the Threshold parameter to indicate 116 UP.Threshold = 150; 120 UP.PartialThreshold = UP.Threshold; [all...] |
/external/llvm/lib/Analysis/ |
InlineCost.cpp | 43 // Threshold to use when optsize is specified (and there is no 44 // -inline-threshold). 47 // Threshold to use when -Oz is specified (and there is no -inline-threshold). 50 // Threshold to use when -O[34] is specified (and there is no 51 // -inline-threshold). 55 "inline-threshold", cl::Hidden, cl::init(225), cl::ZeroOrMore, 59 "inlinehint-threshold", cl::Hidden, cl::init(325), 60 cl::desc("Threshold for inlining functions with inline hint")); 62 // We introduce this threshold to help performance of instrumentation base [all...] |
CaptureTracking.cpp | 211 /// that path, and remove this threshold. 212 static int const Threshold = 20; 216 SmallVector<const Use *, Threshold> Worklist; 217 SmallSet<const Use *, Threshold> Visited; 223 if (Count++ >= Threshold) 320 if (Count++ >= Threshold)
|