| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/ |
| H A D | CoverageFilters.h | 89 T Threshold; variable 91 StatisticThresholdFilter(Operation Op, T Threshold) in StatisticThresholdFilter() argument 92 : Op(Op), Threshold(Threshold) {} in StatisticThresholdFilter() 99 return Value < Threshold; in PassesThreshold() 101 return Value > Threshold; in PassesThreshold() 112 RegionCoverageFilter(Operation Op, double Threshold) in RegionCoverageFilter() argument 113 : StatisticThresholdFilter(Op, Threshold) {} in RegionCoverageFilter() 124 LineCoverageFilter(Operation Op, double Threshold) in LineCoverageFilter() argument 125 : StatisticThresholdFilter(Op, Threshold) {} in LineCoverageFilter()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | InlineCost.h | 74 int Threshold = 0; variable 80 InlineCost(int Cost, int Threshold, const char *Reason = nullptr) 81 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost() 87 static InlineCost get(int Cost, int Threshold) { in get() argument 90 return InlineCost(Cost, Threshold); in get() 100 explicit operator bool() const { return Cost < Threshold; } 116 return Threshold; in getThreshold() 129 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta() 200 InlineParams getInlineParams(int Threshold);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | SpillPlacement.cpp | 112 void clear(const BlockFrequency &Threshold) { in clear() 114 SumLinkWeights = Threshold; in clear() 152 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update() 172 if (SumN >= SumP + Threshold) in update() 174 else if (SumP >= SumN + Threshold) in update() 228 nodes[n].clear(Threshold); in activate() 255 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold() 326 if (!nodes[n].update(nodes, Threshold)) in update()
|
| H A D | SpillPlacement.h | 67 BlockFrequency Threshold; variable
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86PadShortFunction.cpp | 54 , Threshold(4) {} in PadShortFunc() 85 const unsigned int Threshold; member 142 if (Cycles < Threshold) { in runOnMachineFunction() 154 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction() 168 if (Cycles >= Threshold) in findReturns()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 465 int Threshold = 0; member in __anon797094460111::InlineCostCallAnalyzer 653 Threshold -= SingleBBBonus; in onBlockAnalyzed() 664 InstructionCostDetailMap[I].ThresholdBefore = Threshold; in onInstructionAnalysisStart() 673 InstructionCostDetailMap[I].ThresholdAfter = Threshold; in onInstructionAnalysisFinish() 728 if (Threshold == 0) in costBenefitAnalysis() 831 Threshold -= VectorBonus; in finalizeAnalysis() 833 Threshold -= VectorBonus / 2; in finalizeAnalysis() 843 if (IgnoreThreshold || Cost < std::max(1, Threshold)) in finalizeAnalysis() 850 return !IgnoreThreshold && Cost >= Threshold && !ComputeFullInlineCost; in shouldStop() 877 assert(Threshold >= 0); in onAnalysisStart() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 194 UP.Threshold = in gatherUnrollingPreferences() 226 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences() 233 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences() 257 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences() 779 if (UP.AllowRemainder && UCE.getUnrolledLoopSize(UP) < UP.Threshold) in computeUnrollCount() 809 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount() 846 if (UCE.getUnrolledLoopSize(UP) < UP.Threshold) { in computeUnrollCount() 857 UP.Threshold * UP.MaxPercentThresholdBoost / 100, in computeUnrollCount() 861 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) { in computeUnrollCount() 872 computePeelCount(L, LoopSize, PP, TripCount, SE, UP.Threshold); in computeUnrollCount() [all …]
|
| H A D | LoopRotation.cpp | 53 int Threshold = EnableHeaderDuplication || in run() local 66 Threshold, false, PrepareForLTO || PrepareForLTOOption); in run() 134 int Threshold = hasVectorizeTransformation(L) == TM_ForcedByUser in runOnLoop() local 140 false, Threshold, false, in runOnLoop()
|
| H A D | LoopUnrollAndJamPass.cpp | 191 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount() 204 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount() 243 if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) { in computeUnrollAndJamCount()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 105 UP.Threshold = AMDGPU::getIntegerAttribute(F, "amdgpu-unroll-threshold", 300); in getUnrollingPreferences() 131 UP.Threshold = MetaThresholdValue->getSExtValue(); in getUnrollingPreferences() 132 UP.PartialThreshold = UP.Threshold; in getUnrollingPreferences() 133 ThresholdPrivate = std::min(ThresholdPrivate, UP.Threshold); in getUnrollingPreferences() 134 ThresholdLocal = std::min(ThresholdLocal, UP.Threshold); in getUnrollingPreferences() 155 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences() 162 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences() 163 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold in getUnrollingPreferences() 166 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences() 178 unsigned Threshold = 0; in getUnrollingPreferences() local [all …]
|
| H A D | SIPreEmitPeephole.cpp | 90 unsigned Threshold = 5; in optimizeVccBranch() local 92 if (!--Threshold) in optimizeVccBranch() 371 const unsigned Threshold = 20; in runOnMachineFunction() local 380 if (Count == Threshold) in runOnMachineFunction()
|
| /netbsd-src/external/lgpl3/mpfr/dist/src/ |
| H A D | mparam_h.in | 26 /* Threshold when testing coverage */ 68 #elif defined (__PPC64__) /* Threshold for 64-bit PowerPC */ 72 #elif defined (__sparc_v9__) /* Threshold for 64-bit Sparc */ 89 * Default values of Threshold. *
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 177 unsigned Threshold, StringRef CallerModulePath, in selectCallee() argument 233 if ((Summary->instCount() > Threshold) && in selectCallee() 384 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument 394 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold in computeImportForFunction() 426 Threshold * GetBonusMultiplier(Edge.second.getHotness()); in computeImportForFunction() 538 auto GetAdjustedThreshold = [](unsigned Threshold, bool IsHotCallsite) { in computeImportForFunction() argument 543 return Threshold * ImportHotInstrFactor; in computeImportForFunction() 544 return Threshold * ImportInstrFactor; in computeImportForFunction() 547 const auto AdjThreshold = GetAdjustedThreshold(Threshold, IsHotCallsite); in computeImportForFunction() 595 auto Threshold = std::get<1>(GVInfo); in ComputeImportForModule() local [all …]
|
| H A D | InlineSimple.cpp | 99 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument 100 return new SimpleInliner(llvm::getInlineParams(Threshold)); in createFunctionInliningPass()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/transforms/passmgr_builder/ |
| H A D | passmgr_builder_ocaml.c | 60 value llvm_pmbuilder_use_inliner_with_threshold(value Threshold, value PMB) { in llvm_pmbuilder_use_inliner_with_threshold() argument 61 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(Threshold)); in llvm_pmbuilder_use_inliner_with_threshold()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/ |
| H A D | Scalar.h | 189 bool ForgetAllSCEV = false, int Threshold = -1, 254 int Threshold = -1);
|
| H A D | IPO.h | 114 Pass *createFunctionInliningPass(int Threshold);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | LoopPeel.cpp | 296 unsigned Threshold) { in computePeelCount() argument 338 if (2 * LoopSize <= Threshold && UnrollPeelMaxCount > 0) { in computePeelCount() 358 MaxPeelCount = std::min(MaxPeelCount, Threshold / LoopSize - 1); in computePeelCount() 401 (LoopSize * (*PeelCount + 1) <= Threshold)) { in computePeelCount() 412 LLVM_DEBUG(dbgs() << "Max peel cost: " << Threshold << "\n"); in computePeelCount()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamWriter.h | 231 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local 234 while (Val >= Threshold) { in EmitVBR() 247 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local 250 while (Val >= Threshold) { in EmitVBR64()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| H A D | LoopRotationUtils.h | 36 bool RotationOnly, unsigned Threshold, bool IsUtilMode,
|
| H A D | LoopPeel.h | 36 unsigned Threshold = UINT_MAX);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/Transforms/ |
| H A D | PassManagerBuilder.h | 63 unsigned Threshold);
|
| H A D | Scalar.h | 123 int Threshold);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 135 void LLVMContext::setDiagnosticsHotnessThreshold(Optional<uint64_t> Threshold) { in setDiagnosticsHotnessThreshold() argument 136 pImpl->DiagnosticsHotnessThreshold = Threshold; in setDiagnosticsHotnessThreshold()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 746 uint64_t Threshold) const { 747 if (TotalSamples <= Threshold) 760 if (TS.getValue() > Threshold) { 767 NameFS.second.findInlinedFunctions(S, SymbolMap, Threshold);
|