Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Analysis/
DInlineCost.h61 const int Threshold; variable
64 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
67 static InlineCost get(int Cost, int Threshold) { in get() argument
70 return InlineCost(Cost, Threshold); in get()
81 return Cost < Threshold;
98 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
126 InlineCost getInlineCost(CallSite CS, int Threshold);
135 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp113 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) { in INITIALIZE_AG_DEPENDENCY()
114 return new LoopUnroll(Threshold, Count, AllowPartial); in INITIALIZE_AG_DEPENDENCY()
152 unsigned Threshold = CurrentThreshold; in runOnLoop() local
157 Threshold = OptSizeUnrollThreshold; in runOnLoop()
188 if (Threshold != NoThreshold) { in runOnLoop()
204 if (TripCount != 1 && Size > Threshold) { in runOnLoop()
206 << " because size: " << Size << ">" << Threshold << "\n"); in runOnLoop()
214 Count = Threshold / LoopSize; in runOnLoop()
220 while (Count != 0 && Size > Threshold) { in runOnLoop()
DScalar.cpp147 int Threshold) { in LLVMAddScalarReplAggregatesPassWithThreshold() argument
148 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold)); in LLVMAddScalarReplAggregatesPassWithThreshold()
DReassociate.cpp322 APInt Threshold = CM + Bitwidth; in IncorporateWeight() local
323 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!"); in IncorporateWeight()
326 while (LHS.uge(Threshold)) in IncorporateWeight()
332 unsigned Threshold = CM + Bitwidth; in IncorporateWeight() local
333 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold && in IncorporateWeight()
336 while (Total >= Threshold) in IncorporateWeight()
DJumpThreading.cpp45 Threshold("jump-threading-threshold", variable
221 unsigned Threshold) { in getJumpThreadDuplicationCost() argument
234 if (Size > Threshold) in getJumpThreadDuplicationCost()
1349 unsigned JumpThreadCost = getJumpThreadDuplicationCost(BB, Threshold); in ThreadEdge()
1350 if (JumpThreadCost > Threshold) { in ThreadEdge()
1493 unsigned DuplicationCost = getJumpThreadDuplicationCost(BB, Threshold); in DuplicateCondBranchOnPHIIntoPred()
1494 if (DuplicationCost > Threshold) { in DuplicateCondBranchOnPHIIntoPred()
DLoopUnswitch.cpp66 Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"), variable
100 MaxSize(Threshold) in LUAnalysisCache()
DScalarReplAggregates.cpp237 FunctionPass *llvm::createScalarReplAggregatesPass(int Threshold, in INITIALIZE_PASS_DEPENDENCY()
243 return new SROA_DT(Threshold, StructMemberThreshold, ArrayElementThreshold, in INITIALIZE_PASS_DEPENDENCY()
245 return new SROA_SSAUp(Threshold, StructMemberThreshold, in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/Transforms/IPO/
DInlineSimple.cpp44 SimpleInliner(int Threshold) in SimpleInliner() argument
45 : Inliner(ID, Threshold, /*InsertLifetime*/ true), ICA(0) { in SimpleInliner()
71 Pass *llvm::createFunctionInliningPass(int Threshold) { in createFunctionInliningPass() argument
72 return new SimpleInliner(Threshold); in createFunctionInliningPass()
DPassManagerBuilder.cpp371 unsigned Threshold) { in LLVMPassManagerBuilderUseInlinerWithThreshold() argument
373 Builder->Inliner = createFunctionInliningPass(Threshold); in LLVMPassManagerBuilderUseInlinerWithThreshold()
DInliner.cpp59 Inliner::Inliner(char &ID, int Threshold, bool InsertLifetime) in Inliner() argument
61 InlineLimit : Threshold), in Inliner()
/external/llvm/lib/Target/X86/
DX86PadShortFunction.cpp52 , Threshold(4), TM(0), TII(0) {} in PadShortFunc()
71 const unsigned int Threshold; member
121 if (Cycles < Threshold) { in runOnMachineFunction()
133 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
147 if (Cycles >= Threshold) in findReturns()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp54 int Threshold; member in __anon4296eb6c0111::CallAnalyzer
138 Function &Callee, int Threshold) in CallAnalyzer() argument
139 : TD(TD), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0), in CallAnalyzer()
151 int getThreshold() { return Threshold; } in getThreshold()
843 if (Cost > (Threshold + VectorBonus)) in analyzeBlock()
902 int SingleBBBonus = Threshold / 2; in analyzeCall()
903 Threshold += SingleBBBonus; in analyzeCall()
913 FiftyPercentVectorBonus = Threshold; in analyzeCall()
914 TenPercentVectorBonus = Threshold / 2; in analyzeCall()
958 Threshold = 1; in analyzeCall()
[all …]
/external/llvm/lib/Analysis/
DCaptureTracking.cpp80 static int const Threshold = 20; variable
84 SmallVector<Use*, Threshold> Worklist; in PointerMayBeCaptured()
85 SmallSet<Use*, Threshold> Visited; in PointerMayBeCaptured()
92 if (Count++ >= Threshold) in PointerMayBeCaptured()
/external/llvm/include/llvm/Transforms/
DScalar.h82 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
140 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1);
DIPO.h91 Pass *createFunctionInliningPass(int Threshold);
/external/clang/lib/CodeGen/
DBackendUtil.cpp276 unsigned Threshold = 225; in CreatePasses() local
278 Threshold = 75; in CreatePasses()
280 Threshold = 25; in CreatePasses()
282 Threshold = 275; in CreatePasses()
283 PMBuilder.Inliner = createFunctionInliningPass(Threshold); in CreatePasses()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h159 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() local
162 while (Val >= Threshold) { in EmitVBR()
175 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR64() local
178 while (Val >= Threshold) { in EmitVBR64()
/external/llvm/include/llvm/Transforms/IPO/
DInlinerPass.h34 explicit Inliner(char &ID, int Threshold, bool InsertLifetime);
/external/llvm/include/llvm-c/Transforms/
DPassManagerBuilder.h65 unsigned Threshold);
DScalar.h94 int Threshold);
/external/llvm/tools/opt/
Dopt.cpp434 unsigned Threshold = 225; in AddOptimizationPasses() local
436 Threshold = 75; in AddOptimizationPasses()
438 Threshold = 25; in AddOptimizationPasses()
440 Threshold = 275; in AddOptimizationPasses()
441 Builder.Inliner = createFunctionInliningPass(Threshold); in AddOptimizationPasses()
/external/chromium/base/
Dmime_util_xdg.cc97 Threshold enumerator
101 type(Threshold), in SubDirInfo()
304 current_info->type = SubDirInfo::Threshold; in LoadIndexTheme()
/external/ppp/pppd/plugins/radius/etc/
Ddictionary.microsoft25 ATTRIBUTE MS-Link-Utilization-Threshold 14 integer Microsoft
/external/chromium/chrome/browser/userfeedback/proto/
Dconfig.proto127 // Threshold for number of feedbacks in a cluster at which notification is sent.
/external/llvm/lib/Target/ARM/
DThumb1RegisterInfo.cpp225 unsigned Threshold = (DestReg == ARM::SP) ? 3 : 2; in emitThumbRegPlusImmediate() local
226 if (NumMIs > Threshold) { in emitThumbRegPlusImmediate()

12