Home
last modified time | relevance | path

Searched refs:Threshold (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/include/llvm/Analysis/
DInlineCost.h61 const int Threshold; variable
64 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
67 static InlineCost get(int Cost, int Threshold) { in get() argument
70 return InlineCost(Cost, Threshold); in get()
81 return Cost < Threshold;
98 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
126 InlineCost getInlineCost(CallSite CS, int Threshold);
135 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
/external/llvm/tools/llvm-cov/
DCoverageFilters.h61 T Threshold; variable
63 StatisticThresholdFilter(Operation Op, T Threshold) in StatisticThresholdFilter() argument
64 : Op(Op), Threshold(Threshold) {} in StatisticThresholdFilter()
71 return Value < Threshold; in PassesThreshold()
73 return Value > Threshold; in PassesThreshold()
84 RegionCoverageFilter(Operation Op, double Threshold) in RegionCoverageFilter() argument
85 : StatisticThresholdFilter(Op, Threshold) {} in RegionCoverageFilter()
95 LineCoverageFilter(Operation Op, double Threshold) in LineCoverageFilter() argument
96 : StatisticThresholdFilter(Op, Threshold) {} in LineCoverageFilter()
/external/llvm/lib/CodeGen/
DSpillPlacement.cpp109 void clear(const BlockFrequency &Threshold) { in clear()
111 SumLinkWeights = Threshold; in clear()
149 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update()
169 if (SumN >= SumP + Threshold) in update()
171 else if (SumP >= SumN + Threshold) in update()
210 nodes[n].clear(Threshold); in activate()
237 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold()
305 nodes[n].update(nodes, Threshold); in scanActiveBundles()
325 nodes[RecentPositive.pop_back_val()].update(nodes, Threshold); in iterate()
344 if (nodes[n].update(nodes, Threshold)) { in iterate()
[all …]
DSpillPlacement.h67 BlockFrequency Threshold; variable
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp158 UP.Threshold = CurrentThreshold; in getUnrollingPreferences()
188 unsigned &Threshold, unsigned &PartialThreshold, in selectThresholds() argument
195 Threshold = UserThreshold ? CurrentThreshold : UP.Threshold; in selectThresholds()
209 Threshold = std::max<unsigned>(Threshold, in selectThresholds()
213 Threshold = std::min<unsigned>(Threshold, AbsoluteThreshold); in selectThresholds()
219 Threshold = UP.OptSizeThreshold; in selectThresholds()
227 if (Threshold != NoThreshold) in selectThresholds()
228 Threshold = std::max<unsigned>(Threshold, PragmaUnrollThreshold); in selectThresholds()
247 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial, in INITIALIZE_PASS_DEPENDENCY()
249 return new LoopUnroll(Threshold, Count, AllowPartial, Runtime); in INITIALIZE_PASS_DEPENDENCY()
[all …]
DSimplifyCFGPass.cpp227 FunctionPass *llvm::createCFGSimplificationPass(int Threshold) { in INITIALIZE_PASS_DEPENDENCY()
228 return new CFGSimplifyPass(Threshold); in INITIALIZE_PASS_DEPENDENCY()
DScalar.cpp193 int Threshold) { in LLVMAddScalarReplAggregatesPassWithThreshold() argument
194 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold)); in LLVMAddScalarReplAggregatesPassWithThreshold()
DReassociate.cpp471 APInt Threshold = CM + Bitwidth; in IncorporateWeight() local
472 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!"); in IncorporateWeight()
475 while (LHS.uge(Threshold)) in IncorporateWeight()
481 unsigned Threshold = CM + Bitwidth; in IncorporateWeight() local
482 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold && in IncorporateWeight()
485 while (Total >= Threshold) in IncorporateWeight()
/external/llvm/lib/Transforms/IPO/
DInlineSimple.cpp47 SimpleInliner(int Threshold) in SimpleInliner() argument
48 : Inliner(ID, Threshold, /*InsertLifetime*/ true), ICA(nullptr) { in SimpleInliner()
87 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
88 return new SimpleInliner(Threshold); in createFunctionInliningPass()
DInliner.cpp70 Inliner::Inliner(char &ID, int Threshold, bool InsertLifetime) in Inliner() argument
72 InlineLimit : Threshold), in Inliner()
DPassManagerBuilder.cpp593 unsigned Threshold) { in LLVMPassManagerBuilderUseInlinerWithThreshold() argument
595 Builder->Inliner = createFunctionInliningPass(Threshold); in LLVMPassManagerBuilderUseInlinerWithThreshold()
/external/llvm/lib/Target/X86/
DX86PadShortFunction.cpp54 , Threshold(4), STI(nullptr), TII(nullptr) {} in PadShortFunc()
73 const unsigned int Threshold; member
123 if (Cycles < Threshold) { in runOnMachineFunction()
135 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
149 if (Cycles >= Threshold) in findReturns()
/external/llvm/include/llvm/Transforms/
DScalar.h101 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
173 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1,
234 FunctionPass *createJumpThreadingPass(int Threshold = -1);
241 FunctionPass *createCFGSimplificationPass(int Threshold = -1);
DIPO.h91 Pass *createFunctionInliningPass(int Threshold);
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp57 int Threshold; member in __anonc2d10f660111::CallAnalyzer
147 Function &Callee, int Threshold) in CallAnalyzer() argument
148 : TTI(TTI), ACT(ACT), F(Callee), Threshold(Threshold), Cost(0), in CallAnalyzer()
161 int getThreshold() { return Threshold; } in getThreshold()
967 if (Cost > (Threshold + VectorBonus)) in analyzeBlock()
1027 int SingleBBBonus = Threshold / 2; in analyzeCall()
1028 Threshold += SingleBBBonus; in analyzeCall()
1038 FiftyPercentVectorBonus = Threshold; in analyzeCall()
1039 TenPercentVectorBonus = Threshold / 2; in analyzeCall()
1084 Threshold = 1; in analyzeCall()
[all …]
/external/llvm/lib/Analysis/
DCaptureTracking.cpp167 static int const Threshold = 20; variable
171 SmallVector<const Use *, Threshold> Worklist; in PointerMayBeCaptured()
172 SmallSet<const Use *, Threshold> Visited; in PointerMayBeCaptured()
178 if (Count++ >= Threshold) in PointerMayBeCaptured()
239 if (Count++ >= Threshold) in PointerMayBeCaptured()
/external/llvm/lib/Target/R600/
DAMDGPUTargetTransformInfo.cpp33 UP.Threshold = 300; // Twice the default. in getUnrollingPreferences()
60 UP.Threshold = 800; in getUnrollingPreferences()
/external/llvm/test/tools/llvm-objdump/
Dcoff-private-headers.test56 LOADCFG-NEXT: Decommit Free Block Threshold: 0
57 LOADCFG-NEXT: Decommit Total Free Threshold: 0
60 LOADCFG-NEXT: Virtual Memory Threshold: 0
/external/mesa3d/src/mesa/main/
Dpoints.c164 if (ctx->Point.Threshold == params[0]) in _mesa_PointParameterfv()
167 ctx->Point.Threshold = params[0]; in _mesa_PointParameterfv()
250 ctx->Point.Threshold = 1.0; in _mesa_init_point()
/external/llvm/bindings/ocaml/transforms/passmgr_builder/
Dpassmgr_builder_ocaml.c65 value Threshold, value PMB) { in llvm_pmbuilder_use_inliner_with_threshold() argument
66 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(Threshold)); in llvm_pmbuilder_use_inliner_with_threshold()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h149 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local
152 while (Val >= Threshold) { in EmitVBR()
165 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local
168 while (Val >= Threshold) { in EmitVBR64()
/external/llvm/include/llvm-c/Transforms/
DPassManagerBuilder.h64 unsigned Threshold);
DScalar.h115 int Threshold);
/external/llvm/include/llvm/Transforms/IPO/
DInlinerPass.h34 explicit Inliner(char &ID, int Threshold, bool InsertLifetime);
/external/ppp/pppd/plugins/radius/etc/
Ddictionary.microsoft25 ATTRIBUTE MS-Link-Utilization-Threshold 14 integer Microsoft

12