/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | InlineCost.h | 73 int Threshold; member in class:llvm::InlineCost 79 InlineCost(int Cost, int Threshold, const char *Reason = nullptr) argument 80 : Cost(Cost), Threshold(Threshold), Reason(Reason) { 86 static InlineCost get(int Cost, int Threshold) { argument 89 return InlineCost(Cost, Threshold); 100 return Cost < Threshold; 117 return Threshold; 130 int getCostDelta() const { return Threshold - getCost(); } 157 /// Threshold t [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | CoverageFilters.h | 85 T Threshold; member in class:llvm::StatisticThresholdFilter 87 StatisticThresholdFilter(Operation Op, T Threshold) argument 88 : Op(Op), Threshold(Threshold) {} 95 return Value < Threshold; 97 return Value > Threshold; 108 RegionCoverageFilter(Operation Op, double Threshold) argument 109 : StatisticThresholdFilter(Op, Threshold) {} 120 LineCoverageFilter(Operation Op, double Threshold) argument 121 : StatisticThresholdFilter(Op, Threshold) {} [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | LoopRotationUtils.h | 29 /// is false. The flag Threshold represents the size threshold of the loop 36 bool RotationOnly, unsigned Threshold, bool IsUtilMode);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SpillPlacement.cpp | 110 // true when the RHS saturates. Note that SumLinkWeights includes Threshold. 116 void clear(const BlockFrequency &Threshold) { argument 118 SumLinkWeights = Threshold; 156 bool update(const Node nodes[], const BlockFrequency &Threshold) { argument 176 if (SumN >= SumP + Threshold) 178 else if (SumP >= SumN + Threshold) 232 nodes[n].clear(Threshold); 252 /// bound on the open interval (-Threshold;Threshold), 1 is the minimum 259 Threshold [all...] |
H A D | SpillPlacement.h | 66 /// its inputs falls in the open interval (-Threshold;Threshold). 67 BlockFrequency Threshold; member in class:llvm::SpillPlacement
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PadShortFunction.cpp | 54 , Threshold(4) {} 84 const unsigned int Threshold; member in struct:__anon2516::PadShortFunc 141 if (Cycles < Threshold) { 153 addPadding(MBB, ReturnLoc, Threshold - Cycles); 167 if (Cycles >= Threshold)
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/ |
H A D | Scalar.h | 193 bool ForgetAllSCEV = false, int Threshold = -1, 255 FunctionPass *createJumpThreadingPass(int Threshold = -1); 263 unsigned Threshold = 1, bool ForwardSwitchCond = false,
|
H A D | IPO.h | 100 /// The Threshold can be passed directly, or asked to be computed from the 106 Pass *createFunctionInliningPass(int Threshold);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/Transforms/ |
H A D | PassManagerBuilder.h | 63 unsigned Threshold);
|
H A D | Scalar.h | 120 int Threshold);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | InlineSimple.cpp | 100 Pass *llvm::createFunctionInliningPass(int Threshold) { argument 101 return new SimpleInliner(llvm::getInlineParams(Threshold));
|
H A D | FunctionImport.cpp | 167 /// that fits the \p Threshold. 179 unsigned Threshold, StringRef CallerModulePath, 235 if ((Summary->instCount() > Threshold) && 264 using EdgeInfo = std::tuple<const FunctionSummary *, unsigned /* Threshold */, 364 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, 374 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold local 403 Threshold * GetBonusMultiplier(Edge.second.getHotness()); 426 dbgs() << "ignored! Target was already imported with Threshold " 438 dbgs() << "ignored! Target was already rejected with Threshold " 177 selectCallee(const ModuleSummaryIndex &Index, ArrayRef<std::unique_ptr<GlobalValueSummary>> CalleeSummaryList, unsigned Threshold, StringRef CallerModulePath, FunctionImporter::ImportFailureReason &Reason, GlobalValue::GUID GUID) argument 362 computeImportForFunction( const FunctionSummary &Summary, const ModuleSummaryIndex &Index, const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, SmallVectorImpl<EdgeInfo> &Worklist, FunctionImporter::ImportMapTy &ImportList, StringMap<FunctionImporter::ExportSetTy> *ExportLists, FunctionImporter::ImportThresholdsTy &ImportThresholds) argument 574 auto Threshold = std::get<1>(FuncInfo); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopRotation.cpp | 42 int Threshold = EnableHeaderDuplication ? DefaultRotationThreshold : 0; local 51 SQ, false, Threshold, false);
|
H A D | SimplifyCFGPass.cpp | 250 CFGSimplifyPass(unsigned Threshold = 1, bool ForwardSwitchCond = false, 261 : Threshold; 305 llvm::createCFGSimplificationPass(unsigned Threshold, bool ForwardSwitchCond, argument 309 return new CFGSimplifyPass(Threshold, ForwardSwitchCond, ConvertSwitch,
|
H A D | LoopUnrollPass.cpp | 170 /// A magic value for use with the Threshold parameter to indicate 188 UP.Threshold = OptLevel > 2 ? 300 : 150; 219 UP.Threshold = UP.OptSizeThreshold; 226 UP.Threshold = UnrollThreshold; 252 UP.Threshold = *UserThreshold; 752 if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) 782 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); 819 if (getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) { 830 UP.Threshold * U 1273 createLoopUnrollPass(int OptLevel, bool OnlyWhenForced, bool ForgetAllSCEV, int Threshold, int Count, int AllowPartial, int Runtime, int UpperBound, int AllowPeeling) argument [all...] |
H A D | LoopUnrollAndJamPass.cpp | 84 cl::desc("Threshold to use for inner loop when doing unroll and jam.")); 163 // unrolling we leave to the unroller. This uses UP.Threshold / 186 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && 199 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && 238 if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) {
|
H A D | Scalar.cpp | 238 int Threshold) { 237 LLVMAddScalarReplAggregatesPassWithThreshold(LLVMPassManagerRef PM, int Threshold) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 55 cl::desc("Threshold for inlining functions with inline hint")); 60 cl::desc("Threshold for inlining cold callsites")); 67 cl::desc("Threshold for inlining functions with cold attribute")); 72 cl::desc("Threshold for hot callsites ")); 76 cl::desc("Threshold for locally hot callsites ")); 380 int Threshold = 0; member in class:__anon1619::final 404 /// Update Threshold based on callsite properties such as callee 537 Threshold -= SingleBBBonus; 562 // subtract the excess bonus, if any, from the Threshold before 565 Threshold 2248 getInlineParams(int Threshold) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 94 UP.Threshold = AMDGPU::getIntegerAttribute(F, "amdgpu-unroll-threshold", 300); 120 if (UP.Threshold < MaxBoost && Br->isConditional()) { 127 UP.Threshold += UnrollThresholdIf; 128 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold 131 if (UP.Threshold >= MaxBoost) 143 unsigned Threshold = 0; local 145 Threshold = ThresholdPrivate; 147 Threshold = ThresholdLocal; 151 if (UP.Threshold >= Threshold) [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
H A D | BitstreamWriter.h | 148 uint32_t Threshold = 1U << (NumBits-1); local 151 while (Val >= Threshold) { 164 uint32_t Threshold = 1U << (NumBits-1); 167 while (Val >= Threshold) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | LLVMContext.h | 219 void setDiagnosticsHotnessThreshold(uint64_t Threshold);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.cpp | 153 UP.PartialThreshold = UP.Threshold / 4;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContext.cpp | 138 void LLVMContext::setDiagnosticsHotnessThreshold(uint64_t Threshold) { argument 139 pImpl->DiagnosticsHotnessThreshold = Threshold;
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SampleProf.h | 466 /// corresponding function is no less than \p Threshold, add its corresponding 470 uint64_t Threshold) const { 471 if (TotalSamples <= Threshold) 478 if (TS.getValue() > Threshold) { 486 NameFS.second.findInlinedFunctions(S, M, Threshold);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollPeel.cpp | 323 if (2 * LoopSize <= UP.Threshold && UnrollPeelMaxCount > 0) { 343 MaxPeelCount = std::min(MaxPeelCount, UP.Threshold / LoopSize - 1); 386 (LoopSize * (*PeelCount + 1) <= UP.Threshold)) { 397 LLVM_DEBUG(dbgs() << "Max peel cost: " << UP.Threshold << "\n");
|