HomeSort by relevance Sort by last modified time
    Searched refs:Threshold (Results 1 - 25 of 25) sorted by null

  /external/llvm/include/llvm/Analysis/
InlineCost.h 47 /// Objects of this type also provide the adjusted threshold for inlining
50 /// threshold for this cost metric.
60 /// \brief The adjusted threshold against which this cost was computed.
61 const int Threshold;
64 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {}
67 static InlineCost get(int Cost, int Threshold) {
70 return InlineCost(Cost, Threshold);
81 return Cost < Threshold;
    [all...]
  /external/llvm/lib/Transforms/IPO/
InlineSimple.cpp 44 SimpleInliner(int Threshold)
45 : Inliner(ID, Threshold, /*InsertLifetime*/ true), ICA(0) {
71 Pass *llvm::createFunctionInliningPass(int Threshold) {
72 return new SimpleInliner(Threshold);
PassManagerBuilder.cpp 371 unsigned Threshold) {
373 Builder->Inliner = createFunctionInliningPass(Threshold);
Inliner.cpp 46 InlineLimit("inline-threshold", cl::Hidden, cl::init(225), cl::ZeroOrMore,
50 HintThreshold("inlinehint-threshold", cl::Hidden, cl::init(325),
51 cl::desc("Threshold for inlining functions with inline hint"));
53 // Threshold to use when optsize is specified (and there is no -inline-limit).
59 Inliner::Inliner(char &ID, int Threshold, bool InsertLifetime)
61 InlineLimit : Threshold),
233 int thres = InlineThreshold; // -inline-threshold or else selected by
236 // If -inline-threshold is not given, listen to the optsize attribute when it
237 // would decrease the threshold.
246 // Listen to the inlinehint attribute when it would increase the threshold
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopUnrollPass.cpp 32 UnrollThreshold("unroll-threshold", cl::init(150), cl::Hidden,
42 "-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).
113 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) {
114 return new LoopUnroll(Threshold, Count, AllowPartial);
148 // Determine the current unrolling threshold. While this is normally set
150 // function is marked as optimize-for-size, and the unroll threshold was
152 unsigned Threshold = CurrentThreshold
    [all...]
Scalar.cpp 147 int Threshold) {
148 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold));
Reassociate.cpp 321 // Any weight W >= Threshold can be replaced with W - CM.
322 APInt Threshold = CM + Bitwidth;
323 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!");
326 while (LHS.uge(Threshold))
332 unsigned Threshold = CM + Bitwidth;
333 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold &&
336 while (Total >= Threshold)
    [all...]
JumpThreading.cpp 45 Threshold("jump-threading-threshold",
219 /// thread across it. Stop scanning the block when passing the threshold.
221 unsigned Threshold) {
233 // Stop scanning the block if we've reached the threshold.
234 if (Size > Threshold)
    [all...]
LoopUnswitch.cpp 22 // smaller than a threshold.
66 Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"),
100 MaxSize(Threshold)
    [all...]
ScalarReplAggregates.cpp 77 // Do not limit the scalar integer load size if no threshold is given.
237 FunctionPass *llvm::createScalarReplAggregatesPass(int Threshold,
243 return new SROA_DT(Threshold, StructMemberThreshold, ArrayElementThreshold,
245 return new SROA_SSAUp(Threshold, StructMemberThreshold,
362 // scalar load threshold.
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/Common/lib/
CompLim.h 48 LVM_INT16 Threshold; /* Target threshold */
  /external/llvm/include/llvm/Transforms/IPO/
InlinerPass.h 34 explicit Inliner(char &ID, int Threshold, bool InsertLifetime);
50 /// This method returns the value specified by the -inline-threshold value,
55 /// Calculate the inline threshold for given Caller. This threshold is lower
56 /// if the caller is marked with OptimizeForSize and -inline-threshold is not
64 /// returned is greater than the current inline threshold, the call site is
  /external/llvm/lib/Analysis/
CaptureTracking.cpp 79 /// that path, and remove this threshold.
80 static int const Threshold = 20;
84 SmallVector<Use*, Threshold> Worklist;
85 SmallSet<Use*, Threshold> Visited;
92 if (Count++ >= Threshold)
  /external/llvm/include/llvm/Transforms/
Scalar.h 82 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
140 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 52 , Threshold(4), TM(0), TII(0) {}
71 const unsigned int Threshold;
121 if (Cycles < Threshold) {
133 addPadding(MBB, ReturnLoc, Threshold - Cycles);
147 if (Cycles >= Threshold)
  /external/llvm/include/llvm-c/Transforms/
PassManagerBuilder.h 65 unsigned Threshold);
Scalar.h 94 int Threshold);
  /external/llvm/lib/Analysis/IPA/
InlineCost.cpp 54 int Threshold;
138 Function &Callee, int Threshold)
139 : TD(TD), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0),
151 int getThreshold() { return Threshold; }
773 // out. Pretend to inline the function, with a custom threshold.
803 /// aborts early if the threshold has been exceeded or an impossible to inline
841 // Check if we've past the threshold so we don't spin in huge basic
843 if (Cost > (Threshold + VectorBonus))
891 /// viable. It computes the cost and adjusts the threshold based on numerou
    [all...]
  /external/llvm/include/llvm/Bitcode/
BitstreamWriter.h 159 uint32_t Threshold = 1U << (NumBits-1);
162 while (Val >= Threshold) {
175 uint32_t Threshold = 1U << (NumBits-1);
178 while (Val >= Threshold) {
  /external/clang/lib/CodeGen/
BackendUtil.cpp 276 unsigned Threshold = 225;
278 Threshold = 75;
280 Threshold = 25;
282 Threshold = 275;
283 PMBuilder.Inliner = createFunctionInliningPass(Threshold);
  /external/ppp/pppd/plugins/radius/etc/
dictionary.microsoft 25 ATTRIBUTE MS-Link-Utilization-Threshold 14 integer Microsoft
  /external/llvm/tools/opt/
opt.cpp 434 unsigned Threshold = 225;
436 Threshold = 75;
438 Threshold = 25;
440 Threshold = 275;
441 Builder.Inliner = createFunctionInliningPass(Threshold);
  /external/chromium/base/
mime_util_xdg.cc 97 Threshold
101 type(Threshold),
104 threshold(2) {
110 size_t threshold; // Maximum difference from desired size. 2 by default. member in class:__anon3676::IconTheme::SubDirInfo
303 else if (value == "Threshold")
304 current_info->type = SubDirInfo::Threshold;
309 } else if (key == "Threshold") {
310 current_info->threshold = atoi(value.c_str());
337 if (size >= info->size - info->threshold &&
338 size <= info->size + info->threshold) {
    [all...]
  /external/llvm/lib/Target/ARM/
Thumb1RegisterInfo.cpp 225 unsigned Threshold = (DestReg == ARM::SP) ? 3 : 2;
226 if (NumMIs > Threshold) {

Completed in 1557 milliseconds