Home
last modified time | relevance | path

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

123

/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/include/llvm/Analysis/
DInlineCost.h62 const int Threshold; variable
65 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
68 static InlineCost get(int Cost, int Threshold) { in get() argument
71 return InlineCost(Cost, Threshold); in get()
82 return Cost < Threshold;
99 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnrollPass.cpp106 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) { in INITIALIZE_PASS_DEPENDENCY()
107 return new LoopUnroll(Threshold, Count, AllowPartial); in INITIALIZE_PASS_DEPENDENCY()
142 unsigned Threshold = CurrentThreshold; in runOnLoop() local
145 Threshold = OptSizeUnrollThreshold; in runOnLoop()
178 if (Threshold != NoThreshold) { in runOnLoop()
188 if (TripCount != 1 && Size > Threshold) { in runOnLoop()
190 << " because size: " << Size << ">" << Threshold << "\n"); in runOnLoop()
197 Count = Threshold / LoopSize; in runOnLoop()
DScalar.cpp150 int Threshold) { in LLVMAddScalarReplAggregatesPassWithThreshold() argument
151 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold)); in LLVMAddScalarReplAggregatesPassWithThreshold()
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp116 UP.Threshold = 150; in gatherUnrollingPreferences()
120 UP.PartialThreshold = UP.Threshold; in gatherUnrollingPreferences()
136 UP.Threshold = UP.OptSizeThreshold; in gatherUnrollingPreferences()
142 UP.Threshold = UnrollThreshold; in gatherUnrollingPreferences()
163 UP.Threshold = *UserThreshold; in gatherUnrollingPreferences()
638 static bool canUnrollCompletely(Loop *L, unsigned Threshold, in canUnrollCompletely() argument
643 if (Threshold == NoThreshold) { in canUnrollCompletely()
648 if (UnrolledCost <= Threshold) { in canUnrollCompletely()
650 << UnrolledCost << "<" << Threshold << "\n"); in canUnrollCompletely()
667 (int64_t)Threshold) { in canUnrollCompletely()
[all …]
DSimplifyCFGPass.cpp242 llvm::createCFGSimplificationPass(int Threshold, in INITIALIZE_PASS_DEPENDENCY()
244 return new CFGSimplifyPass(Threshold, std::move(Ftor)); in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/Analysis/
DInlineCost.cpp92 int Threshold; member in __anonb653f77d0111::CallAnalyzer
207 ProfileSummaryInfo *PSI, Function &Callee, int Threshold, in CallAnalyzer() argument
210 Threshold(Threshold), Cost(0), IsCallerRecursive(false), in CallAnalyzer()
223 int getThreshold() { return Threshold; } in getThreshold()
618 Threshold = 0; in updateThreshold()
626 Threshold = DefaultInlineThreshold; in updateThreshold()
630 if (Caller->optForMinSize() && OptMinSizeThreshold < Threshold) in updateThreshold()
631 Threshold = OptMinSizeThreshold; in updateThreshold()
632 else if (Caller->optForSize() && OptSizeThreshold < Threshold) in updateThreshold()
633 Threshold = OptSizeThreshold; in updateThreshold()
[all …]
DCaptureTracking.cpp212 static int const Threshold = 20; variable
216 SmallVector<const Use *, Threshold> Worklist; in PointerMayBeCaptured()
217 SmallSet<const Use *, Threshold> Visited; in PointerMayBeCaptured()
223 if (Count++ >= Threshold) in PointerMayBeCaptured()
320 if (Count++ >= Threshold) in PointerMayBeCaptured()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp167 unsigned Threshold) { in selectCallee() argument
188 if (Summary->instCount() > Threshold) in selectCallee()
205 unsigned Threshold, in selectCallee() argument
210 return selectCallee(Index, CalleeSummaryList->second, Threshold); in selectCallee()
267 unsigned Threshold, const GVSummaryMapTy &DefinedGVSummaries, in computeImportForFunction() argument
273 DEBUG(dbgs() << " edge -> " << GUID << " Threshold:" << Threshold << "\n"); in computeImportForFunction()
280 auto *CalleeSummary = selectCallee(GUID, Threshold, Index); in computeImportForFunction()
296 assert(ResolvedCalleeSummary->instCount() <= Threshold && in computeImportForFunction()
304 if (ProcessedThreshold && ProcessedThreshold >= Threshold) { in computeImportForFunction()
310 ProcessedThreshold = Threshold; in computeImportForFunction()
[all …]
DInlineSimple.cpp54 explicit SimpleInliner(int Threshold) in SimpleInliner() argument
55 : Inliner(ID), DefaultThreshold(Threshold) { in SimpleInliner()
89 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
90 return new SimpleInliner(Threshold); in createFunctionInliningPass()
/external/llvm/lib/CodeGen/
DSpillPlacement.cpp108 void clear(const BlockFrequency &Threshold) { in clear()
110 SumLinkWeights = Threshold; in clear()
148 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update()
168 if (SumN >= SumP + Threshold) in update()
170 else if (SumP >= SumN + Threshold) in update()
224 nodes[n].clear(Threshold); in activate()
251 Threshold = std::max(UINT64_C(1), Scaled); in setThreshold()
326 if (!nodes[n].update(nodes, Threshold)) in update()
/external/llvm/lib/Target/X86/
DX86PadShortFunction.cpp54 , Threshold(4), STI(nullptr), TII(nullptr) {} in PadShortFunc()
78 const unsigned int Threshold; member
130 if (Cycles < Threshold) { in runOnMachineFunction()
142 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
156 if (Cycles >= Threshold) in findReturns()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DCaptureTracking.cpp37 static int const Threshold = 20; variable
49 SmallVector<Use*, Threshold> Worklist; in PointerMayBeCaptured()
50 SmallSet<Use*, Threshold> Visited; in PointerMayBeCaptured()
57 if (Count++ >= Threshold) in PointerMayBeCaptured()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInlineSimple.cpp40 SimpleInliner(int Threshold) : Inliner(ID, Threshold) { in SimpleInliner() argument
72 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
73 return new SimpleInliner(Threshold); in createFunctionInliningPass()
DPassManagerBuilder.cpp314 unsigned Threshold) { in LLVMPassManagerBuilderUseInlinerWithThreshold() argument
316 Builder->Inliner = createFunctionInliningPass(Threshold); in LLVMPassManagerBuilderUseInlinerWithThreshold()
/external/llvm/include/llvm/Transforms/
DScalar.h171 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1,
238 FunctionPass *createJumpThreadingPass(int Threshold = -1);
246 int Threshold = -1, std::function<bool(const Function &)> Ftor = nullptr);
/external/llvm/test/tools/llvm-objdump/
Dcoff-private-headers.test68 LOADCFG-NEXT: Decommit Free Block Threshold: 0
69 LOADCFG-NEXT: Decommit Total Free Threshold: 0
72 LOADCFG-NEXT: Virtual Memory Threshold: 0
/external/mesa3d/src/mesa/main/
Dpoints.c154 if (ctx->Point.Threshold == params[0]) in _mesa_PointParameterfv()
157 ctx->Point.Threshold = params[0]; in _mesa_PointParameterfv()
237 ctx->Point.Threshold = 1.0; in _mesa_init_point()
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/
DScalar.h76 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
131 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1);
/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.h153 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local
156 while (Val >= Threshold) { in EmitVBR()
169 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local
172 while (Val >= Threshold) { in EmitVBR64()
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamWriter.h135 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local
138 while (Val >= Threshold) { in EmitVBR()
150 uint64_t Threshold = 1U << (NumBits-1); in EmitVBR64() local
153 while (Val >= Threshold) { in EmitVBR64()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_threshold.cpp25 XFA_Element::Threshold, in CXFA_Threshold()
Dcxfa_log.cpp14 {XFA_Element::Threshold, 1, 0},
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp35 UP.Threshold = 300; // Twice the default. in getUnrollingPreferences()
62 UP.Threshold = 800; in getUnrollingPreferences()

123