/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 73 int Threshold; variable 79 InlineCost(int Cost, int Threshold, const char *Reason = nullptr) 80 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost() 86 static InlineCost get(int Cost, int Threshold) { in get() argument 89 return InlineCost(Cost, Threshold); in get() 100 return Cost < Threshold; 117 return Threshold; in getThreshold() 130 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta() 190 InlineParams getInlineParams(int Threshold);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SpillPlacement.cpp | 116 void clear(const BlockFrequency &Threshold) { in clear() 118 SumLinkWeights = Threshold; in clear() 156 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update() 176 if (SumN >= SumP + Threshold) in update() 178 else if (SumP >= SumN + Threshold) in update() 232 nodes[n].clear(Threshold); in activate() 259 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold() 334 if (!nodes[n].update(nodes, Threshold)) in update()
|
D | SpillPlacement.h | 67 BlockFrequency Threshold; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InlineCost.cpp | 380 int Threshold = 0; member in __anon20a3d8120111::InlineCostCallAnalyzer 537 Threshold -= SingleBBBonus; in onBlockAnalyzed() 565 Threshold -= VectorBonus; in finalizeAnalysis() 567 Threshold -= VectorBonus / 2; in finalizeAnalysis() 569 return Cost < std::max(1, Threshold); in finalizeAnalysis() 574 return Cost >= Threshold && !ComputeFullInlineCost; in shouldStop() 601 assert(Threshold >= 0); in onAnalysisStart() 608 Threshold += (SingleBBBonus + VectorBonus); in onAnalysisStart() 620 if (Cost >= Threshold && !ComputeFullInlineCost) in onAnalysisStart() 636 Params(Params), Threshold(Params.DefaultThreshold), in InlineCostCallAnalyzer() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 54 , Threshold(4) {} in PadShortFunc() 84 const unsigned int Threshold; member 141 if (Cycles < Threshold) { in runOnMachineFunction() 153 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction() 167 if (Cycles >= Threshold) in findReturns()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 188 UP.Threshold = OptLevel > 2 ? 300 : 150; in gatherUnrollingPreferences() 219 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences() 226 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences() 252 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences() 752 if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) in computeUnrollCount() 782 UP.Threshold = std::max<unsigned>(UP.Threshold, PragmaUnrollThreshold); in computeUnrollCount() 819 if (getUnrolledLoopSize(LoopSize, UP) < UP.Threshold) { in computeUnrollCount() 830 UP.Threshold * UP.MaxPercentThresholdBoost / 100)) { in computeUnrollCount() 833 if (Cost->UnrolledCost < UP.Threshold * Boost / 100) { in computeUnrollCount() 1053 if (UP.Threshold == 0 && (!UP.Partial || UP.PartialThreshold == 0) && in tryToUnrollLoop() [all …]
|
D | SimplifyCFGPass.cpp | 235 CFGSimplifyPass(unsigned Threshold = 1, bool ForwardSwitchCond = false, in CFGSimplifyPass() 246 : Threshold; in CFGSimplifyPass() 290 llvm::createCFGSimplificationPass(unsigned Threshold, bool ForwardSwitchCond, in INITIALIZE_PASS_DEPENDENCY() 294 return new CFGSimplifyPass(Threshold, ForwardSwitchCond, ConvertSwitch, in INITIALIZE_PASS_DEPENDENCY()
|
D | LoopRotation.cpp | 42 int Threshold = EnableHeaderDuplication ? DefaultRotationThreshold : 0; in run() local 51 SQ, false, Threshold, false); in run()
|
D | LoopUnrollAndJamPass.cpp | 186 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount() 199 getUnrollAndJammedLoopSize(OuterLoopSize, UP) < UP.Threshold && in computeUnrollAndJamCount() 238 if (InnerTripCount && InnerLoopSize * InnerTripCount < UP.Threshold) { in computeUnrollAndJamCount()
|
D | Reassociate.cpp | 357 APInt Threshold = CM + Bitwidth; in IncorporateWeight() local 358 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!"); in IncorporateWeight() 361 while (LHS.uge(Threshold)) in IncorporateWeight() 367 unsigned Threshold = CM + Bitwidth; in IncorporateWeight() local 368 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold && in IncorporateWeight() 371 while (Total >= Threshold) in IncorporateWeight()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 94 UP.Threshold = AMDGPU::getIntegerAttribute(F, "amdgpu-unroll-threshold", 300); in getUnrollingPreferences() 120 if (UP.Threshold < MaxBoost && Br->isConditional()) { in getUnrollingPreferences() 127 UP.Threshold += UnrollThresholdIf; in getUnrollingPreferences() 128 LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold in getUnrollingPreferences() 131 if (UP.Threshold >= MaxBoost) in getUnrollingPreferences() 143 unsigned Threshold = 0; in getUnrollingPreferences() local 145 Threshold = ThresholdPrivate; in getUnrollingPreferences() 147 Threshold = ThresholdLocal; in getUnrollingPreferences() 151 if (UP.Threshold >= Threshold) in getUnrollingPreferences() 206 UP.Threshold = Threshold; in getUnrollingPreferences() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/ |
D | Scalar.h | 193 bool ForgetAllSCEV = false, int Threshold = -1, 255 FunctionPass *createJumpThreadingPass(int Threshold = -1); 263 unsigned Threshold = 1, bool ForwardSwitchCond = false,
|
D | IPO.h | 106 Pass *createFunctionInliningPass(int Threshold);
|
/third_party/mesa3d/src/mesa/main/ |
D | points.c | 162 if (ctx->Point.Threshold == params[0]) in _mesa_PointParameterfv() 165 ctx->Point.Threshold = params[0]; in _mesa_PointParameterfv() 219 ctx->Point.Threshold = 1.0; in _mesa_init_point()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 179 unsigned Threshold, StringRef CallerModulePath, in selectCallee() argument 235 if ((Summary->instCount() > Threshold) && in selectCallee() 364 const unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument 374 LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold in computeImportForFunction() 403 Threshold * GetBonusMultiplier(Edge.second.getHotness()); in computeImportForFunction() 517 auto GetAdjustedThreshold = [](unsigned Threshold, bool IsHotCallsite) { in computeImportForFunction() argument 522 return Threshold * ImportHotInstrFactor; in computeImportForFunction() 523 return Threshold * ImportInstrFactor; in computeImportForFunction() 526 const auto AdjThreshold = GetAdjustedThreshold(Threshold, IsHotCallsite); in computeImportForFunction() 574 auto Threshold = std::get<1>(FuncInfo); in ComputeImportForModule() local [all …]
|
D | InlineSimple.cpp | 100 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument 101 return new SimpleInliner(llvm::getInlineParams(Threshold)); in createFunctionInliningPass()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/ |
D | BitstreamWriter.h | 148 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local 151 while (Val >= Threshold) { in EmitVBR() 164 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local 167 while (Val >= Threshold) { in EmitVBR64()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 470 uint64_t Threshold) const { 471 if (TotalSamples <= Threshold) 478 if (TS.getValue() > Threshold) { 486 NameFS.second.findInlinedFunctions(S, M, Threshold);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 323 if (2 * LoopSize <= UP.Threshold && UnrollPeelMaxCount > 0) { in computePeelCount() 343 MaxPeelCount = std::min(MaxPeelCount, UP.Threshold / LoopSize - 1); in computePeelCount() 386 (LoopSize * (*PeelCount + 1) <= UP.Threshold)) { in computePeelCount() 397 LLVM_DEBUG(dbgs() << "Max peel cost: " << UP.Threshold << "\n"); in computePeelCount()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | LoopRotationUtils.h | 36 bool RotationOnly, unsigned Threshold, bool IsUtilMode);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/Transforms/ |
D | PassManagerBuilder.h | 63 unsigned Threshold);
|
D | Scalar.h | 120 int Threshold);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | LLVMContext.cpp | 138 void LLVMContext::setDiagnosticsHotnessThreshold(uint64_t Threshold) { in setDiagnosticsHotnessThreshold() argument 139 pImpl->DiagnosticsHotnessThreshold = Threshold; in setDiagnosticsHotnessThreshold()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.cpp | 153 UP.PartialThreshold = UP.Threshold / 4; in getUnrollingPreferences()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | LLVMContext.h | 219 void setDiagnosticsHotnessThreshold(uint64_t Threshold);
|