Searched defs:Threshold (Results 1 - 20 of 20) sorted by relevance

/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 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),
H A DPassManagerBuilder.cpp434 unsigned Threshold) {
436 Builder->Inliner = createFunctionInliningPass(Threshold);
433 LLVMPassManagerBuilderUseInlinerWithThreshold(LLVMPassManagerBuilderRef PMB, unsigned Threshold) argument
/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/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:__anon21566::PadShortFunc
121 if (Cycles < Threshold) {
133 addPadding(MBB, ReturnLoc, Threshold - Cycles);
147 if (Cycles >= 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 DJumpThreading.cpp46 Threshold("jump-threading-threshold",
223 unsigned Threshold) {
236 if (Size > Threshold)
1355 unsigned JumpThreadCost = getJumpThreadDuplicationCost(BB, Threshold);
1356 if (JumpThreadCost > Threshold) {
1499 unsigned DuplicationCost = getJumpThreadDuplicationCost(BB, Threshold);
1500 if (DuplicationCost > Threshold) {
222 getJumpThreadDuplicationCost(const BasicBlock *BB, unsigned 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)
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/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/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/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.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:__anon1735::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.cc98 Threshold enumerator in enum:base::nix::__anon3836::IconTheme::SubDirInfo::Type
102 type(Threshold),
301 else if (value == "Threshold")
302 current_info->type = SubDirInfo::Threshold;
307 } else if (key == "Threshold") {
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp54 int Threshold; member in class:__anon21084::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/third_party/mesa/src/src/mesa/main/
H A Dmtypes.h1070 GLfloat Threshold; /**< GL_EXT_point_parameters */ member in struct:gl_point_attrib
/external/mesa3d/src/mesa/main/
H A Dmtypes.h1070 GLfloat Threshold; /**< GL_EXT_point_parameters */ member in struct:gl_point_attrib

Completed in 258 milliseconds