/external/llvm/tools/llvm-cov/ |
D | CoverageFilters.h | 61 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/ |
D | InlineCost.h | 62 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/ |
D | LoopUnrollPass.cpp | 106 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()
|
D | Scalar.cpp | 150 int Threshold) { in LLVMAddScalarReplAggregatesPassWithThreshold() argument 151 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold)); in LLVMAddScalarReplAggregatesPassWithThreshold()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 116 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 …]
|
D | SimplifyCFGPass.cpp | 242 llvm::createCFGSimplificationPass(int Threshold, in INITIALIZE_PASS_DEPENDENCY() 244 return new CFGSimplifyPass(Threshold, std::move(Ftor)); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Transforms/IPO/ |
D | InlineSimple.cpp | 54 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()
|
D | FunctionImport.cpp | 167 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 …]
|
/external/llvm/lib/Analysis/ |
D | InlineCost.cpp | 92 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 …]
|
D | CaptureTracking.cpp | 212 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/CodeGen/ |
D | SpillPlacement.cpp | 108 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/ |
D | X86PadShortFunction.cpp | 54 , 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/Transforms/IPO/ |
D | InlineSimple.cpp | 40 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()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | CaptureTracking.cpp | 37 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/llvm/include/llvm/Transforms/ |
D | Scalar.h | 171 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/ |
D | coff-private-headers.test | 68 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/ |
D | points.c | 164 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/swiftshader/third_party/LLVM/include/llvm/Transforms/ |
D | Scalar.h | 76 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1, 131 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1);
|
D | IPO.h | 91 Pass *createFunctionInliningPass(int Threshold);
|
/external/llvm/bindings/ocaml/transforms/passmgr_builder/ |
D | passmgr_builder_ocaml.c | 65 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/ |
D | BitstreamWriter.h | 153 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/ |
D | BitstreamWriter.h | 135 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/llvm/include/llvm-c/Transforms/ |
D | PassManagerBuilder.h | 64 unsigned Threshold);
|
/external/swiftshader/third_party/LLVM/include/llvm-c/Transforms/ |
D | PassManagerBuilder.h | 58 unsigned Threshold);
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/ |
D | InlinerPass.h | 34 explicit Inliner(char &ID, int Threshold);
|