Searched refs:Threshold (Results 1 - 25 of 41) sorted by relevance

12

/external/llvm/include/llvm/Analysis/
H A DInlineCost.h60 const int Threshold; member in class:llvm::InlineCost
63 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} argument
66 static InlineCost get(int Cost, int Threshold) { argument
69 return InlineCost(Cost, Threshold);
80 return Cost < Threshold;
97 int getCostDelta() const { return Threshold - getCost(); }
125 InlineCost getInlineCost(CallSite CS, int Threshold);
134 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
[all...]
/external/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp44 SimpleInliner(int Threshold) argument
45 : Inliner(ID, Threshold, /*InsertLifetime*/ true), ICA(0) {
71 Pass *llvm::createFunctionInliningPass(int Threshold) { argument
72 return new SimpleInliner(Threshold);
H A DPassManagerBuilder.cpp434 unsigned Threshold) {
436 Builder->Inliner = createFunctionInliningPass(Threshold);
433 LLVMPassManagerBuilderUseInlinerWithThreshold(LLVMPassManagerBuilderRef PMB, unsigned Threshold) argument
H A DInliner.cpp51 cl::desc("Threshold for inlining functions with inline hint"));
53 // Threshold to use when optsize is specified (and there is no -inline-limit).
59 Inliner::Inliner(char &ID, int Threshold, bool InsertLifetime) argument
61 InlineLimit : Threshold),
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp62 /// A magic value for use with the Threshold parameter to indicate
67 // Threshold to use when optsize is specified (and there is no
113 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) { argument
114 return new LoopUnroll(Threshold, Count, AllowPartial);
152 unsigned Threshold = CurrentThreshold; local
157 Threshold = OptSizeUnrollThreshold;
188 if (Threshold != NoThreshold) {
204 if (TripCount != 1 && Size > Threshold) {
206 << " because size: " << Size << ">" << Threshold << "\n"); local
214 Count = Threshold / LoopSiz
[all...]
H A DScalar.cpp147 int Threshold) {
148 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold));
146 LLVMAddScalarReplAggregatesPassWithThreshold(LLVMPassManagerRef PM, int Threshold) argument
H A DReassociate.cpp400 // Any weight W >= Threshold can be replaced with W - CM.
401 APInt Threshold = CM + Bitwidth; local
402 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!");
405 while (LHS.uge(Threshold))
411 unsigned Threshold = CM + Bitwidth; local
412 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold &&
415 while (Total >= Threshold)
/external/llvm/lib/Analysis/
H A DCaptureTracking.cpp80 static int const Threshold = 20; variable
84 SmallVector<Use*, Threshold> Worklist;
85 SmallSet<Use*, Threshold> Visited;
92 if (Count++ >= Threshold)
/external/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp52 , Threshold(4), TM(0), TII(0) {}
71 const unsigned int Threshold; member in struct:__anon22493::PadShortFunc
121 if (Cycles < Threshold) {
133 addPadding(MBB, ReturnLoc, Threshold - Cycles);
147 if (Cycles >= Threshold)
/external/llvm/include/llvm/Transforms/IPO/
H A DInlinerPass.h34 explicit Inliner(char &ID, int Threshold, bool InsertLifetime);
/external/llvm/include/llvm-c/Transforms/
H A DPassManagerBuilder.h65 unsigned Threshold);
H A DScalar.h94 int Threshold);
/external/llvm/include/llvm/Transforms/
H A DScalar.h83 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
141 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1);
H A DIPO.h91 Pass *createFunctionInliningPass(int Threshold);
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp54 int Threshold; member in class:__anon22011::CallAnalyzer
138 Function &Callee, int Threshold)
139 : TD(TD), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0),
151 int getThreshold() { return Threshold; }
847 if (Cost > (Threshold + VectorBonus))
906 int SingleBBBonus = Threshold / 2;
907 Threshold += SingleBBBonus;
917 FiftyPercentVectorBonus = Threshold;
918 TenPercentVectorBonus = Threshold /
137 CallAnalyzer(const DataLayout *TD, const TargetTransformInfo &TTI, Function &Callee, int Threshold) argument
1170 getInlineCost(CallSite CS, int Threshold) argument
1174 getInlineCost(CallSite CS, Function *Callee, int Threshold) argument
[all...]
/external/chromium_org/remoting/host/
H A Daudio_silence_detector_unittest.cc58 TEST(AudioSilenceDetectorTest, Threshold) {
/external/llvm/lib/CodeGen/
H A DSpillPlacement.cpp63 /// its inputs falls in the open interval (-Threshold;Threshold).
64 static const BlockFrequency Threshold = 2; variable
105 // true when the RHS saturates. Note that SumLinkWeights includes Threshold.
113 SumLinkWeights = Threshold;
171 if (SumN >= SumP + Threshold)
173 else if (SumP >= SumN + Threshold)
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dpoints.c164 if (ctx->Point.Threshold == params[0])
167 ctx->Point.Threshold = params[0];
250 ctx->Point.Threshold = 1.0;
/external/mesa3d/src/mesa/main/
H A Dpoints.c164 if (ctx->Point.Threshold == params[0])
167 ctx->Point.Threshold = params[0];
250 ctx->Point.Threshold = 1.0;
/external/llvm/include/llvm/Bitcode/
H A DBitstreamWriter.h159 uint32_t Threshold = 1U << (NumBits-1); local
162 while (Val >= Threshold) {
175 uint32_t Threshold = 1U << (NumBits-1);
178 while (Val >= Threshold) {
/external/clang/lib/CodeGen/
H A DBackendUtil.cpp278 unsigned Threshold = 225; local
280 Threshold = 75;
282 Threshold = 25;
284 Threshold = 275;
285 PMBuilder.Inliner = createFunctionInliningPass(Threshold);
/external/ppp/pppd/plugins/radius/etc/
H A Ddictionary.microsoft25 ATTRIBUTE MS-Link-Utilization-Threshold 14 integer Microsoft
/external/llvm/tools/opt/
H A Dopt.cpp438 unsigned Threshold = 225; local
440 Threshold = 75;
442 Threshold = 25;
444 Threshold = 275;
445 Builder.Inliner = createFunctionInliningPass(Threshold);
/external/chromium/base/
H A Dmime_util_xdg.cc97 Threshold enumerator in enum:__anon1738::IconTheme::SubDirInfo::Type
101 type(Threshold),
303 else if (value == "Threshold")
304 current_info->type = SubDirInfo::Threshold;
309 } else if (key == "Threshold") {
/external/chromium_org/base/nix/
H A Dmime_util_xdg.cc97 Threshold enumerator in enum:base::nix::__anon3884::IconTheme::SubDirInfo::Type
101 type(Threshold),
300 else if (value == "Threshold")
301 current_info->type = SubDirInfo::Threshold;
306 } else if (key == "Threshold") {

Completed in 697 milliseconds

12