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

/external/llvm/include/llvm/Analysis/
H A DInlineCost.h61 const int Threshold; member in class:llvm::InlineCost
64 InlineCost(int Cost, int Threshold) argument
65 : Cost(Cost), Threshold(Threshold) {}
68 static InlineCost get(int Cost, int Threshold) { argument
71 return InlineCost(Cost, Threshold);
82 return Cost < Threshold;
99 int getCostDelta() const { return Threshold - getCost(); }
119 InlineCost getInlineCost(CallSite CS, int Threshold);
128 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
[all...]
/external/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp37 SimpleInliner(int Threshold) : Inliner(ID, Threshold, argument
58 Pass *llvm::createFunctionInliningPass(int Threshold) { argument
59 return new SimpleInliner(Threshold);
H A DPassManagerBuilder.cpp339 unsigned Threshold) {
341 Builder->Inliner = createFunctionInliningPass(Threshold);
338 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.cpp61 /// A magic value for use with the Threshold parameter to indicate
66 // Threshold to use when optsize is specified (and there is no
110 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) { argument
111 return new LoopUnroll(Threshold, Count, AllowPartial);
146 unsigned Threshold = CurrentThreshold; local
149 Threshold = OptSizeUnrollThreshold;
180 if (Threshold != NoThreshold) {
190 if (TripCount != 1 && Size > Threshold) {
192 << " because size: " << Size << ">" << Threshold << "\n"); local
200 Count = Threshold / LoopSiz
[all...]
H A DScalar.cpp151 int Threshold) {
152 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold));
150 LLVMAddScalarReplAggregatesPassWithThreshold(LLVMPassManagerRef PM, int Threshold) argument
H A DReassociate.cpp321 // Any weight W >= Threshold can be replaced with W - CM.
322 APInt Threshold = CM + Bitwidth; local
323 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!");
326 while (LHS.uge(Threshold))
332 unsigned Threshold = CM + Bitwidth; local
333 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold &&
336 while (Total >= Threshold)
H A DJumpThreading.cpp45 Threshold("jump-threading-threshold",
1341 if (JumpThreadCost > Threshold) {
1485 if (DuplicationCost > Threshold) {
H A DLoopUnswitch.cpp65 Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"),
99 MaxSize(Threshold)
H A DScalarReplAggregates.cpp237 FunctionPass *llvm::createScalarReplAggregatesPass(int Threshold, argument
243 return new SROA_DT(Threshold, StructMemberThreshold, ArrayElementThreshold,
245 return new SROA_SSAUp(Threshold, StructMemberThreshold,
/external/llvm/lib/Analysis/
H A DCaptureTracking.cpp75 static int const Threshold = 20; variable
79 SmallVector<Use*, Threshold> Worklist;
80 SmallSet<Use*, Threshold> Visited;
87 if (Count++ >= Threshold)
H A DInlineCost.cpp50 int Threshold; member in class:__anon8599::CallAnalyzer
126 CallAnalyzer(const TargetData *TD, Function &Callee, int Threshold) argument
127 : TD(TD), F(Callee), Threshold(Threshold), Cost(0),
139 int getThreshold() { return Threshold; }
727 if (!AlwaysInline && Cost > (Threshold + VectorBonus))
786 int SingleBBBonus = Threshold / 2;
787 Threshold += SingleBBBonus;
797 FiftyPercentVectorBonus = Threshold;
798 TenPercentVectorBonus = Threshold /
993 getInlineCost(CallSite CS, int Threshold) argument
997 getInlineCost(CallSite CS, Function *Callee, int Threshold) argument
[all...]
/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.h76 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
136 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1);
H A DIPO.h91 Pass *createFunctionInliningPass(int Threshold);
/external/clang/lib/CodeGen/
H A DBackendUtil.cpp201 unsigned Threshold = 225; local
203 Threshold = 75;
205 Threshold = 25;
207 Threshold = 275;
208 PMBuilder.Inliner = createFunctionInliningPass(Threshold);
/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/llvm/tools/opt/
H A Dopt.cpp430 unsigned Threshold = 225; local
432 Threshold = 75;
434 Threshold = 25;
436 Threshold = 275;
437 Builder.Inliner = createFunctionInliningPass(Threshold);
/external/ppp/pppd/plugins/radius/etc/
H A Ddictionary.microsoft25 ATTRIBUTE MS-Link-Utilization-Threshold 14 integer Microsoft
/external/chromium/base/
H A Dmime_util_xdg.cc97 Threshold enumerator in enum:__anon1571::IconTheme::SubDirInfo::Type
101 type(Threshold),
303 else if (value == "Threshold")
304 current_info->type = SubDirInfo::Threshold;
309 } else if (key == "Threshold") {
/external/llvm/lib/Target/ARM/
H A DThumb1RegisterInfo.cpp225 unsigned Threshold = (DestReg == ARM::SP) ? 3 : 2;
226 if (NumMIs > Threshold) {
/external/mesa3d/src/mesa/main/
H A Dmtypes.h1030 GLfloat Threshold; /**< GL_EXT_point_parameters */ member in struct:gl_point_attrib

Completed in 343 milliseconds