HomeSort by: relevance | last modified time | path
    Searched defs:Threshold (Results 1 - 24 of 24) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
InlineCost.h 63 /// Objects of this type also provide the adjusted threshold for inlining
66 /// threshold for this cost metric.
73 /// The adjusted threshold against which this cost was computed.
74 int Threshold = 0;
80 InlineCost(int Cost, int Threshold, const char *Reason = nullptr)
81 : Cost(Cost), Threshold(Threshold), Reason(Reason) {
87 static InlineCost get(int Cost, int Threshold) {
90 return InlineCost(Cost, Threshold);
100 explicit operator bool() const { return Cost < Threshold; }
    [all...]
TargetTransformInfo.h 272 /// \returns A value by which our inlining threshold should be multiplied.
273 /// This is primarily used to bump up the inlining threshold wholesale on
280 /// \returns A value to be added to the inlining threshold.
424 /// The cost threshold for the unrolled loop. Should be relative to the
428 /// loops may be unrolled even with a cost above this threshold if deemed
431 unsigned Threshold;
433 /// the Threshold by a certain percent to allow more aggressive complete
435 /// can apply to Threshold (The value should be no less than 100).
436 /// BoostedThreshold = Threshold * min(RolledCost / UnrolledCost,
439 /// then we boost the threshold by the factor of 2x. If unrolling is no
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86PadShortFunction.cpp 54 , Threshold(4) {}
85 const unsigned int Threshold;
142 if (Cycles < Threshold) {
154 addPadding(MBB, ReturnLoc, Threshold - Cycles);
168 if (Cycles >= Threshold)
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopRotation.cpp 50 // Vectorization requires loop-rotation. Use default threshold for loops the
53 int Threshold = EnableHeaderDuplication ||
66 Threshold, false, PrepareForLTO || PrepareForLTOOption);
131 // Vectorization requires loop-rotation. Use default threshold for loops the
134 int Threshold = hasVectorizeTransformation(L) == TM_ForcedByUser
140 false, Threshold, false,
Reassociate.cpp 357 // Any weight W >= Threshold can be replaced with W - CM.
358 APInt Threshold = CM + Bitwidth;
359 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!");
362 while (LHS.uge(Threshold))
368 unsigned Threshold = CM + Bitwidth;
369 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold &&
372 while (Total >= Threshold)
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageFilters.h 82 /// Matches numbers that pass a certain threshold.
89 T Threshold;
91 StatisticThresholdFilter(Operation Op, T Threshold)
92 : Op(Op), Threshold(Threshold) {}
95 /// or greater than the certain threshold.
99 return Value < Threshold;
101 return Value > Threshold;
112 RegionCoverageFilter(Operation Op, double Threshold)
113 : StatisticThresholdFilter(Op, Threshold) {}
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
SpillPlacement.h 65 /// Decision threshold. A node gets the output value 0 if the weighted sum of
66 /// its inputs falls in the open interval (-Threshold;Threshold).
67 BlockFrequency Threshold;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/
BitstreamWriter.h 37 /// FlushThreshold - If FS is valid, this is the threshold (unit B) to flush
99 /// the buffer if its size is above a threshold.
115 /// \p FlushThreshold is the threshold (unit M) to flush \p O if \p FS is
231 uint32_t Threshold = 1U << (NumBits-1);
234 while (Val >= Threshold) {
247 uint32_t Threshold = 1U << (NumBits-1);
250 while (Val >= Threshold) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUTargetTransformInfo.cpp 30 "amdgpu-unroll-threshold-private",
31 cl::desc("Unroll threshold for AMDGPU if private memory used in a loop"),
35 "amdgpu-unroll-threshold-local",
36 cl::desc("Unroll threshold for AMDGPU if local memory used in a loop"),
40 "amdgpu-unroll-threshold-if",
41 cl::desc("Unroll threshold increment for AMDGPU for each if statement inside loop"),
56 cl::desc("Inner loop block size threshold to analyze in unroll for AMDGPU"),
105 UP.Threshold = AMDGPU::getIntegerAttribute(F, "amdgpu-unroll-threshold", 300);
120 // If this loop has the amdgpu.loop.unroll.threshold metadata we will use th
    [all...]
SIPreEmitPeephole.cpp 26 "amdgpu-skip-threshold", cl::Hidden,
90 unsigned Threshold = 5;
92 if (!--Threshold)
371 const unsigned Threshold = 20;
380 if (Count == Threshold)
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
FunctionImport.cpp 95 "`import-instr-limit` threshold by this factor "
102 "`import-instr-limit` threshold by this factor "
107 cl::desc("Multiply the `import-instr-limit` threshold for hot callsites"));
113 "Multiply the `import-instr-limit` threshold for critical callsites"));
118 cl::desc("Multiply the `import-instr-limit` threshold for cold callsites"));
165 /// that fits the \p Threshold.
177 unsigned Threshold, StringRef CallerModulePath,
233 if ((Summary->instCount() > Threshold) &&
263 std::tuple<const GlobalValueSummary *, unsigned /* Threshold */>;
384 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCISelDAGToDAG.cpp 594 // returned function, e.g. stdlib exit(). So we set Threshold to filter
605 const uint32_t Threshold = 10000;
607 if (std::max(TProb, FProb) / Threshold < std::min(TProb, FProb))
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonLoopIdiomRecognition.cpp 88 static cl::opt<unsigned> RuntimeMemSizeThreshold("runtime-mem-idiom-threshold",
89 cl::Hidden, cl::init(0), cl::desc("Threshold (in bytes) for the runtime "
93 "compile-time-mem-idiom-threshold", cl::Hidden, cl::init(64),
94 cl::desc("Threshold (in bytes) to perform the transformation, if the "
2180 unsigned Threshold = RuntimeMemSizeThreshold;
2183 if (Threshold != 0 && C < Threshold)
2232 if (Threshold != 0) {
2234 Value *Thr = ConstantInt::get(Ty, Threshold);
HexagonFrameLowering.cpp 159 static cl::opt<int> SpillFuncThreshold("spill-func-threshold",
160 cl::Hidden, cl::desc("Specify O2(not Os) spill func threshold"),
163 static cl::opt<int> SpillFuncThresholdOs("spill-func-threshold-Os",
164 cl::Hidden, cl::desc("Specify Os spill func threshold"),
2666 unsigned Threshold = isOptSize(MF) ? SpillFuncThresholdOs
2668 return Threshold < NumCSI;
2687 unsigned Threshold = isOptSize(MF) ? SpillFuncThresholdOs-1
2689 return Threshold < NumCSI;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
ControlHeightReduction.cpp 53 "chr-bias-threshold", cl::init(0.99), cl::Hidden,
57 "chr-merge-threshold", cl::init(2), cl::Hidden,
644 BranchProbability Threshold = getCHRBiasThreshold();
645 if (TrueProb >= Threshold) {
649 } else if (FalseProb >= Threshold) {
  /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/inc/
smu71.h 493 uint8_t Threshold;
smu72.h 568 uint8_t Threshold;
smu73.h 560 uint8_t Threshold;
smu74.h 623 uint8_t Threshold;
smu75.h 516 uint8_t Threshold;
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
InlineCost.cpp 53 DefaultThreshold("inlinedefault-threshold", cl::Hidden, cl::init(225),
62 "inline-threshold", cl::Hidden, cl::init(225), cl::ZeroOrMore,
66 "inlinehint-threshold", cl::Hidden, cl::init(325), cl::ZeroOrMore,
67 cl::desc("Threshold for inlining functions with inline hint"));
70 ColdCallSiteThreshold("inline-cold-callsite-threshold", cl::Hidden,
72 cl::desc("Threshold for inlining cold callsites"));
88 // We introduce this threshold to help performance of instrumentation based
92 "inlinecold-threshold", cl::Hidden, cl::init(45), cl::ZeroOrMore,
93 cl::desc("Threshold for inlining functions with cold attribute"));
96 HotCallSiteThreshold("hot-callsite-threshold", cl::Hidden, cl::init(3000)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 892 APInt Threshold = APInt(C->getType()->getScalarSizeInBits(), DestWidth);
893 if (match(C, m_SpecificInt_ICMP(ICmpInst::ICMP_ULT, Threshold))) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMBaseInstrInfo.cpp 4444 int Threshold = 1 + Adj;
4445 return Latency <= Threshold ? 1 : Latency - Adj;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
LegalizerHelper.cpp 5750 MachineInstrBuilder Threshold = MIRBuilder.buildFConstant(SrcTy, TwoPExpFP);
5751 // For fp Value greater or equal to Threshold(2^Exp), we use FPTOSI on
5753 MachineInstrBuilder FSub = MIRBuilder.buildFSub(SrcTy, Src, Threshold);
5761 MIRBuilder.buildFCmp(CmpInst::FCMP_ULT, S1, Src, Threshold);

Completed in 62 milliseconds