HomeSort by: relevance | last modified time | path
    Searched refs:Threshold (Results 1 - 25 of 52) sorted by relevancy

1 2 3

  /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/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...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
LoopRotationUtils.h 29 /// is false. The flag Threshold represents the size threshold of the loop
30 /// header. If the loop header's size exceeds the threshold, the loop rotation
36 bool RotationOnly, unsigned Threshold, bool IsUtilMode,
LoopPeel.h 36 unsigned Threshold = UINT_MAX);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
SpillPlacement.cpp 93 /// SumLinkWeights - Cached sum of the weights of all links + ThresHold.
106 // true when the RHS saturates. Note that SumLinkWeights includes Threshold.
112 void clear(const BlockFrequency &Threshold) {
114 SumLinkWeights = Threshold;
152 bool update(const Node nodes[], const BlockFrequency &Threshold) {
172 if (SumN >= SumP + Threshold)
174 else if (SumP >= SumN + Threshold)
228 nodes[n].clear(Threshold);
245 /// Set the threshold for a given entry frequency.
247 /// Set the threshold relative to \c Entry. Since the threshold is used as
    [all...]
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/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/include/llvm-c/Transforms/
PassManagerBuilder.h 63 unsigned Threshold);
Scalar.h 123 int 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,
LoopUnrollPass.cpp 83 UnrollThreshold("unroll-threshold", cl::Hidden,
84 cl::desc("The cost threshold for loop unrolling"));
88 "unroll-optsize-threshold", cl::init(0), cl::Hidden,
89 cl::desc("The cost threshold for loop unrolling when optimizing for "
93 "unroll-partial-threshold", cl::Hidden,
94 cl::desc("The cost threshold for partial loop unrolling"));
97 "unroll-max-percent-threshold-boost", cl::init(400), cl::Hidden,
99 "to the threshold when aggressively unrolling a loop due to the "
102 "threshold to DefaultThreshold*std::min(MaxPercentThresholdBoost, "
128 "-unroll-threshold loop size is reached."))
    [all...]
LoopUnrollAndJamPass.cpp 86 "unroll-and-jam-threshold", cl::init(60), cl::Hidden,
87 cl::desc("Threshold to use for inner loop when doing unroll and jam."));
90 "pragma-unroll-and-jam-threshold", cl::init(1024), cl::Hidden,
167 // unrolling we leave to the unroller. This uses UP.Threshold /
191 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold &&
204 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold &&
243 if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) {
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/transforms/passmgr_builder/
passmgr_builder_ocaml.c 60 value llvm_pmbuilder_use_inliner_with_threshold(value Threshold, value PMB) {
61 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(Threshold));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
InlineSimple.cpp 99 Pass *llvm::createFunctionInliningPass(int Threshold) {
100 return new SimpleInliner(llvm::getInlineParams(Threshold));
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/include/llvm/Transforms/
Scalar.h 189 bool ForgetAllSCEV = false, int Threshold = -1,
251 // override the internal BB duplication default threshold.
254 int Threshold = -1);
IPO.h 108 /// The Threshold can be passed directly, or asked to be computed from the
111 /// The -inline-threshold command line option takes precedence over the
112 /// threshold given here.
114 Pass *createFunctionInliningPass(int 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/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/Utils/
LoopPeel.cpp 296 unsigned Threshold) {
338 if (2 * LoopSize <= Threshold && UnrollPeelMaxCount > 0) {
358 MaxPeelCount = std::min(MaxPeelCount, Threshold / LoopSize - 1);
401 (LoopSize * (*PeelCount + 1) <= Threshold)) {
412 LLVM_DEBUG(dbgs() << "Max peel cost: " << Threshold << "\n");
  /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/include/llvm/IR/
LLVMContext.h 209 /// 0 - threshold is disabled. Everything will be printed out.
210 /// positive int - threshold is set.
211 /// UINT64_MAX - threshold is not yet set, and needs to be synced from
213 /// summary, threshold will be kept at "MAX", effectively
219 void setDiagnosticsHotnessThreshold(Optional<uint64_t> Threshold);
221 /// Return if hotness threshold is requested from PSI.
  /src/external/apache2/llvm/dist/llvm/lib/IR/
LLVMContext.cpp 135 void LLVMContext::setDiagnosticsHotnessThreshold(Optional<uint64_t> Threshold) {
136 pImpl->DiagnosticsHotnessThreshold = Threshold;
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
SampleProf.h 741 /// corresponding function is no less than \p Threshold, add its corresponding
746 uint64_t Threshold) const {
747 if (TotalSamples <= Threshold)
760 if (TS.getValue() > Threshold) {
767 NameFS.second.findInlinedFunctions(S, SymbolMap, Threshold);

Completed in 46 milliseconds

1 2 3