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

12

/freebsd-10.3-release/contrib/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...]
H A DTargetTransformInfo.h202 unsigned Threshold; member in struct:llvm::TargetTransformInfo::UnrollingPreferences
/freebsd-10.3-release/contrib/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.cpp412 unsigned Threshold) {
414 Builder->Inliner = createFunctionInliningPass(Threshold);
411 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),
/freebsd-10.3-release/contrib/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)
154 if (Count++ >= Threshold)
/freebsd-10.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp67 /// A magic value for use with the Threshold parameter to indicate
72 // Threshold to use when optsize is specified (and there is no
122 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial, argument
124 return new LoopUnroll(Threshold, Count, AllowPartial, Runtime);
159 UP.Threshold = CurrentThreshold;
170 unsigned Threshold = UserThreshold ? CurrentThreshold : UP.Threshold; local
175 Threshold = UP.OptSizeThreshold;
209 if (Threshold != NoThreshold) {
225 if (TripCount != 1 && Size > Threshold) {
227 << " because size: " << Size << ">" << Threshold << "\\n"); local
[all...]
H A DScalar.cpp157 int Threshold) {
158 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold));
156 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)
H A DJumpThreading.cpp46 Threshold("jump-threading-threshold",
223 unsigned Threshold) {
236 if (Size > Threshold)
1360 unsigned JumpThreadCost = getJumpThreadDuplicationCost(BB, Threshold);
1361 if (JumpThreadCost > Threshold) {
1504 unsigned DuplicationCost = getJumpThreadDuplicationCost(BB, Threshold);
1505 if (DuplicationCost > Threshold) {
222 getJumpThreadDuplicationCost(const BasicBlock *BB, unsigned Threshold) argument
H A DLoopUnswitch.cpp66 Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"),
100 MaxSize(Threshold)
/freebsd-10.3-release/contrib/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp52 , Threshold(4), TM(0), TII(0) {}
71 const unsigned int Threshold; member in struct:__anon2688::PadShortFunc
121 if (Cycles < Threshold) {
133 addPadding(MBB, ReturnLoc, Threshold - Cycles);
147 if (Cycles >= Threshold)
/freebsd-10.3-release/contrib/llvm/include/llvm/Transforms/IPO/
H A DInlinerPass.h34 explicit Inliner(char &ID, int Threshold, bool InsertLifetime);
/freebsd-10.3-release/contrib/llvm/include/llvm-c/Transforms/
H A DPassManagerBuilder.h65 unsigned Threshold);
H A DScalar.h100 int Threshold);
/freebsd-10.3-release/contrib/llvm/include/llvm/Transforms/
H A DScalar.h85 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
143 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1,
H A DIPO.h91 Pass *createFunctionInliningPass(int Threshold);
/freebsd-10.3-release/contrib/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp54 int Threshold; member in class:__anon2200::CallAnalyzer
146 Function &Callee, int Threshold)
147 : TD(TD), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0),
160 int getThreshold() { return Threshold; }
910 if (Cost > (Threshold + VectorBonus))
969 int SingleBBBonus = Threshold / 2;
970 Threshold += SingleBBBonus;
980 FiftyPercentVectorBonus = Threshold;
981 TenPercentVectorBonus = Threshold /
145 CallAnalyzer(const DataLayout *TD, const TargetTransformInfo &TTI, Function &Callee, int Threshold) argument
1209 getInlineCost(CallSite CS, int Threshold) argument
1229 getInlineCost(CallSite CS, Function *Callee, int Threshold) argument
[all...]
/freebsd-10.3-release/contrib/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)
/freebsd-10.3-release/contrib/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) {
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DBackendUtil.cpp306 unsigned Threshold = 225; local
308 Threshold = 75;
310 Threshold = 25;
312 Threshold = 275;
313 PMBuilder.Inliner = createFunctionInliningPass(Threshold);
/freebsd-10.3-release/contrib/llvm/tools/opt/
H A Dopt.cpp459 unsigned Threshold = 225; local
461 Threshold = 75;
463 Threshold = 25;
465 Threshold = 275;
466 Builder.Inliner = createFunctionInliningPass(Threshold);
/freebsd-10.3-release/contrib/llvm/lib/Target/ARM/
H A DThumb1RegisterInfo.cpp225 unsigned Threshold = (DestReg == ARM::SP) ? 3 : 2;
226 if (NumMIs > Threshold) {
/freebsd-10.3-release/sys/dev/mwl/
H A Dmwlreg.h845 uint16_t Threshold; member in struct:__anon9816
1372 uint32_t Threshold; /* Range 0-200, default 8 */ member in struct:__anon9873
/freebsd-10.3-release/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsampidefs.h627 bit32 Threshold; /* 4 */ member in struct:agsaSASDiagExecuteCmd_s
644 bit32 Threshold; /* 4 */ member in struct:agsa_SPC_SASDiagExecuteCmd_s

Completed in 165 milliseconds

12