Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/
DInlineCost.h60 const int Threshold; variable
63 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
66 static InlineCost get(int Cost, int Threshold) { in get() argument
69 return InlineCost(Cost, Threshold); in get()
80 return Cost < Threshold;
97 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
125 InlineCost getInlineCost(CallSite CS, int Threshold);
134 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
DTargetTransformInfo.h202 unsigned Threshold; member
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp122 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial, in INITIALIZE_AG_DEPENDENCY()
124 return new LoopUnroll(Threshold, Count, AllowPartial, Runtime); in INITIALIZE_AG_DEPENDENCY()
159 UP.Threshold = CurrentThreshold; in runOnLoop()
170 unsigned Threshold = UserThreshold ? CurrentThreshold : UP.Threshold; in runOnLoop() local
175 Threshold = UP.OptSizeThreshold; in runOnLoop()
209 if (Threshold != NoThreshold) { in runOnLoop()
225 if (TripCount != 1 && Size > Threshold) { in runOnLoop()
227 << " because size: " << Size << ">" << Threshold << "\n"); in runOnLoop()
236 Count = Threshold / LoopSize; in runOnLoop()
242 while (Count != 0 && Size > Threshold) { in runOnLoop()
DScalar.cpp157 int Threshold) { in LLVMAddScalarReplAggregatesPassWithThreshold() argument
158 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold)); in LLVMAddScalarReplAggregatesPassWithThreshold()
DReassociate.cpp401 APInt Threshold = CM + Bitwidth; in IncorporateWeight() local
402 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!"); in IncorporateWeight()
405 while (LHS.uge(Threshold)) in IncorporateWeight()
411 unsigned Threshold = CM + Bitwidth; in IncorporateWeight() local
412 assert(LHS.getZExtValue() < Threshold && RHS.getZExtValue() < Threshold && in IncorporateWeight()
415 while (Total >= Threshold) in IncorporateWeight()
DJumpThreading.cpp46 Threshold("jump-threading-threshold", variable
223 unsigned Threshold) { in getJumpThreadDuplicationCost() argument
236 if (Size > Threshold) in getJumpThreadDuplicationCost()
1360 unsigned JumpThreadCost = getJumpThreadDuplicationCost(BB, Threshold); in ThreadEdge()
1361 if (JumpThreadCost > Threshold) { in ThreadEdge()
1504 unsigned DuplicationCost = getJumpThreadDuplicationCost(BB, Threshold); in DuplicateCondBranchOnPHIIntoPred()
1505 if (DuplicationCost > Threshold) { in DuplicateCondBranchOnPHIIntoPred()
/freebsd-10-stable/contrib/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.cpp412 unsigned Threshold) { in LLVMPassManagerBuilderUseInlinerWithThreshold() argument
414 Builder->Inliner = createFunctionInliningPass(Threshold); in LLVMPassManagerBuilderUseInlinerWithThreshold()
DInliner.cpp59 Inliner::Inliner(char &ID, int Threshold, bool InsertLifetime) in Inliner() argument
61 InlineLimit : Threshold), in Inliner()
/freebsd-10-stable/contrib/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()
154 if (Count++ >= Threshold) in PointerMayBeCaptured()
/freebsd-10-stable/contrib/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()
/freebsd-10-stable/contrib/llvm/lib/Analysis/IPA/
DInlineCost.cpp54 int Threshold; member in __anon2f37fbec0111::CallAnalyzer
146 Function &Callee, int Threshold) in CallAnalyzer() argument
147 : TD(TD), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0), in CallAnalyzer()
160 int getThreshold() { return Threshold; } in getThreshold()
910 if (Cost > (Threshold + VectorBonus)) in analyzeBlock()
969 int SingleBBBonus = Threshold / 2; in analyzeCall()
970 Threshold += SingleBBBonus; in analyzeCall()
980 FiftyPercentVectorBonus = Threshold; in analyzeCall()
981 TenPercentVectorBonus = Threshold / 2; in analyzeCall()
1025 Threshold = 1; in analyzeCall()
[all …]
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
DSpillPlacement.cpp64 static const BlockFrequency Threshold = 2; variable
113 SumLinkWeights = Threshold; in clear()
171 if (SumN >= SumP + Threshold) in update()
173 else if (SumP >= SumN + Threshold) in update()
/freebsd-10-stable/contrib/llvm/include/llvm/Transforms/
DScalar.h85 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
143 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1,
DIPO.h91 Pass *createFunctionInliningPass(int Threshold);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DBackendUtil.cpp306 unsigned Threshold = 225; in CreatePasses() local
308 Threshold = 75; in CreatePasses()
310 Threshold = 25; in CreatePasses()
312 Threshold = 275; in CreatePasses()
313 PMBuilder.Inliner = createFunctionInliningPass(Threshold); in CreatePasses()
/freebsd-10-stable/contrib/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()
/freebsd-10-stable/tools/tools/ath/athprom/
Deeprom-318 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
84 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
132 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
Deeprom-421 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
94 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
159 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
Deeprom-522 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
108 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
186 | PGA Desired size $pgaDesiredSize | Noise Threshold $noiseFloorThresh |
/freebsd-10-stable/contrib/llvm/tools/opt/
Dopt.cpp459 unsigned Threshold = 225; in AddOptimizationPasses() local
461 Threshold = 75; in AddOptimizationPasses()
463 Threshold = 25; in AddOptimizationPasses()
465 Threshold = 275; in AddOptimizationPasses()
466 Builder.Inliner = createFunctionInliningPass(Threshold); in AddOptimizationPasses()
/freebsd-10-stable/contrib/llvm/include/llvm-c/Transforms/
DPassManagerBuilder.h65 unsigned Threshold);
DScalar.h100 int Threshold);
/freebsd-10-stable/contrib/llvm/include/llvm/Transforms/IPO/
DInlinerPass.h34 explicit Inliner(char &ID, int Threshold, bool InsertLifetime);
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/
DThumb1RegisterInfo.cpp225 unsigned Threshold = (DestReg == ARM::SP) ? 3 : 2; in emitThumbRegPlusImmediate() local
226 if (NumMIs > Threshold) { in emitThumbRegPlusImmediate()

12