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

12

/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(); }
124 InlineCost getInlineCost(CallSite CS, int Threshold);
133 InlineCost getInlineCost(CallSite CS, Function *Callee, int Threshold);
[all...]
H A DTargetTransformInfo.h197 unsigned Threshold; member in struct:llvm::TargetTransformInfo::UnrollingPreferences
201 /// The cost threshold for the unrolled loop, like Threshold, but used
/external/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp45 SimpleInliner(int Threshold) argument
46 : Inliner(ID, Threshold, /*InsertLifetime*/ true), ICA(nullptr) {
83 Pass *llvm::createFunctionInliningPass(int Threshold) { argument
84 return new SimpleInliner(Threshold);
H A DPassManagerBuilder.cpp433 unsigned Threshold) {
435 Builder->Inliner = createFunctionInliningPass(Threshold);
432 LLVMPassManagerBuilderUseInlinerWithThreshold(LLVMPassManagerBuilderRef PMB, unsigned Threshold) argument
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp77 /// A magic value for use with the Threshold parameter to indicate
82 // Threshold to use when optsize is specified (and there is no
125 UP.Threshold = CurrentThreshold;
148 // total unrolled size. Parameters Threshold and PartialThreshold
153 unsigned &Threshold, unsigned &PartialThreshold) {
159 Threshold = UserThreshold ? CurrentThreshold : UP.Threshold;
165 Threshold = UP.OptSizeThreshold;
173 if (Threshold != NoThreshold)
174 Threshold
151 selectThresholds(const Loop *L, bool HasPragma, const TargetTransformInfo::UnrollingPreferences &UP, unsigned &Threshold, unsigned &PartialThreshold) argument
192 createLoopUnrollPass(int Threshold, int Count, int AllowPartial, int Runtime) argument
375 unsigned Threshold, PartialThreshold; local
385 << " because size: " << UnrolledSize << ">" << Threshold local
[all...]
H A DScalar.cpp164 int Threshold) {
165 unwrap(PM)->add(createScalarReplAggregatesPass(Threshold));
163 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.cpp47 Threshold("jump-threading-threshold",
237 unsigned Threshold) {
250 if (Size > Threshold)
1374 unsigned JumpThreadCost = getJumpThreadDuplicationCost(BB, Threshold);
1375 if (JumpThreadCost > Threshold) {
1517 unsigned DuplicationCost = getJumpThreadDuplicationCost(BB, Threshold);
1518 if (DuplicationCost > Threshold) {
236 getJumpThreadDuplicationCost(const BasicBlock *BB, unsigned Threshold) argument
/external/llvm/lib/Analysis/
H A DCaptureTracking.cpp80 static int const Threshold = 20; variable
84 SmallVector<const Use *, Threshold> Worklist;
85 SmallSet<const Use *, Threshold> Visited;
91 if (Count++ >= Threshold)
152 if (Count++ >= Threshold)
/external/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp54 , Threshold(4), TM(nullptr), TII(nullptr) {}
73 const unsigned int Threshold; member in struct:__anon26201::PadShortFunc
126 if (Cycles < Threshold) {
138 addPadding(MBB, ReturnLoc, Threshold - Cycles);
152 if (Cycles >= Threshold)
/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.h64 unsigned Threshold);
H A DScalar.h103 int Threshold);
/external/llvm/bindings/ocaml/transforms/passmgr_builder/
H A Dpassmgr_builder_ocaml.c67 value Threshold, value PMB) {
68 LLVMPassManagerBuilderSetOptLevel(PMBuilder_val(PMB), Int_val(Threshold));
66 llvm_pmbuilder_use_inliner_with_threshold( value Threshold, value PMB) argument
/external/llvm/include/llvm/Transforms/
H A DScalar.h86 FunctionPass *createScalarReplAggregatesPass(signed Threshold = -1,
144 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1,
H A DIPO.h85 /// The Threshold can be passed directly, or asked to be computed from the
91 Pass *createFunctionInliningPass(int Threshold);
/external/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp55 int Threshold; member in class:__anon25683::CallAnalyzer
144 Function &Callee, int Threshold)
145 : DL(DL), TTI(TTI), F(Callee), Threshold(Threshold), Cost(0),
158 int getThreshold() { return Threshold; }
931 if (Cost > (Threshold + VectorBonus))
990 int SingleBBBonus = Threshold / 2;
991 Threshold += SingleBBBonus;
1001 FiftyPercentVectorBonus = Threshold;
1002 TenPercentVectorBonus = Threshold /
143 CallAnalyzer(const DataLayout *DL, const TargetTransformInfo &TTI, Function &Callee, int Threshold) argument
1240 getInlineCost(CallSite CS, int Threshold) argument
1260 getInlineCost(CallSite CS, Function *Callee, int Threshold) argument
[all...]
/external/chromium_org/remoting/host/
H A Daudio_silence_detector_unittest.cc58 TEST(AudioSilenceDetectorTest, Threshold) {
/external/llvm/lib/Target/R600/
H A DAMDGPUTargetTransformInfo.cpp119 UP.Threshold = 500;
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dpoints.c164 if (ctx->Point.Threshold == params[0])
167 ctx->Point.Threshold = params[0];
250 ctx->Point.Threshold = 1.0;
/external/mesa3d/src/mesa/main/
H A Dpoints.c164 if (ctx->Point.Threshold == params[0])
167 ctx->Point.Threshold = params[0];
250 ctx->Point.Threshold = 1.0;
/external/llvm/lib/CodeGen/
H A DSpillPlacement.cpp64 static BlockFrequency Threshold; member in namespace:__anon25822
68 /// its inputs falls in the open interval (-Threshold;Threshold).
69 static BlockFrequency getThreshold() { return Threshold; }
74 /// bound on the open interval (-Threshold;Threshold), 1 is the minimum
81 Threshold = std::max(UINT64_C(1), Scaled);
123 // true when the RHS saturates. Note that SumLinkWeights includes 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/ppp/pppd/plugins/radius/etc/
H A Ddictionary.microsoft25 ATTRIBUTE MS-Link-Utilization-Threshold 14 integer Microsoft
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_points.c262 if (vert->pointSize >= ctx->Point.Threshold) {
266 GLfloat dsize = vert->pointSize / ctx->Point.Threshold;

Completed in 3870 milliseconds

12