/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopUnroll/ |
D | full-unroll-heuristics.ll | 3 ; 1) -unroll-threshold 4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and 8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll 10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll 20 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-… 21 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-… 22 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-… 24 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-… 25 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-… 26 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-… [all …]
|
D | partial-unroll-const-bounds.ll | 1 …artial-threshold=20 -unroll-threshold=20 -loop-unroll -unroll-allow-partial -unroll-runtime -unrol… 2 …nroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unroll-runtime -unroll-allo… 5 …nroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unroll-runtime -unroll-allo… 7 ; The Loop TripCount is 9. However unroll factors 3 or 9 exceed given threshold.
|
/external/skqp/src/gpu/gradients/ |
D | GrDualIntervalGradientColorizer.fp | 8 // Models two intervals (so 4 colors), that are connected at a specific threshold point. 10 // Bias and scale for 0 to threshold 14 // Bias and scale for threshold to 1 18 layout(tracked) in uniform half threshold; 24 if (t < threshold) { 40 float threshold); 45 …olor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) { 46 // Derive scale and biases from the 4 colors and threshold 49 auto scale01 = (vc1 - vc0) / threshold; 54 auto scale23 = (vc3 - vc2) / (1 - threshold); [all …]
|
D | GrDualIntervalGradientColorizer.cpp | 34 auto threshold = _outer.threshold(); in emitCode() local 35 (void)threshold; in emitCode() 83 float thresholdValue = _outer.threshold(); in onSetData() 132 float threshold) { in Make() argument 136 auto scale01 = (vc1 - vc0) / threshold; in Make() 141 auto scale23 = (vc3 - vc2) / (1 - threshold); in Make() 142 auto bias23 = vc2 - threshold * scale23; in Make() 147 {bias23[0], bias23[1], bias23[2], bias23[3]}, threshold)); in Make()
|
/external/skia/src/gpu/gradients/ |
D | GrDualIntervalGradientColorizer.fp | 8 // Models two intervals (so 4 colors), that are connected at a specific threshold point. 10 // Bias and scale for 0 to threshold 14 // Bias and scale for threshold to 1 18 layout(tracked) in uniform half threshold; 24 if (t < threshold) { 40 float threshold); 45 …olor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) { 46 // Derive scale and biases from the 4 colors and threshold 49 auto scale01 = (vc1 - vc0) / threshold; 54 auto scale23 = (vc3 - vc2) / (1 - threshold); [all …]
|
/external/deqp/framework/common/ |
D | tcuImageCompare.hpp | 47 …geSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode … 48 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode … 51 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … 52 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … 53 …ferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode … 54 …onst Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode … 55 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … 56 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… 57 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… 58 …ferAccess& reference, const ConstPixelBufferAccess& result, const float threshold, CompareLogMode … [all …]
|
D | tcuBilinearImageCompare.cpp | 114 …lBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, int x, int y) in comparePixelRGBA8() argument 127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) || in comparePixelRGBA8() 128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) || in comparePixelRGBA8() 129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) || in comparePixelRGBA8() 130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || in comparePixelRGBA8() 131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || in comparePixelRGBA8() 132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) || in comparePixelRGBA8() 133 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) || in comparePixelRGBA8() 134 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) || in comparePixelRGBA8() 135 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold)) in comparePixelRGBA8() [all …]
|
D | tcuImageCompare.cpp | 91 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in findNumPositionDeviationFailingPixels() argument 125 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() 144 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() 167 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() 217 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … in fuzzyCompare() argument 222 bool isOk = difference <= threshold; in fuzzyCompare() 236 … comparison failed: difference = " << difference << ", threshold = " << threshold << TestLog::EndM… in fuzzyCompare() 286 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode … in fuzzyCompare() argument 288 …re(log, imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), threshold, logMode); in fuzzyCompare() 488 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … in floatUlpThresholdCompare() argument [all …]
|
/external/ImageMagick/MagickCore/ |
D | threshold.c | 410 threshold; in KapurThreshold() local 475 threshold=0; in KapurThreshold() 480 threshold=(size_t) j; in KapurThreshold() 488 return(100.0*threshold/MaxIntensity); in KapurThreshold() 500 threshold; in OTSUThreshold() local 546 threshold=0; in OTSUThreshold() 557 threshold=(double) i; in OTSUThreshold() 567 return(100.0*threshold/MaxIntensity); in OTSUThreshold() 593 threshold; in TriangleThreshold() local 633 threshold=0; in TriangleThreshold() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/ruy/ |
D | tune_tool.cc | 35 static void Query(float* eval, float* threshold) { in Query() argument 38 *threshold = resolver.ThresholdRatio(); in Query() 48 float threshold; in main() local 49 ruy::TuneTool::Query(&eval, &threshold); in main() 51 eval, eval < threshold ? '<' : '>', threshold, in main() 52 eval < threshold ? "in-order" : "out-of-order"); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/ARM/ |
D | inline-fp.ll | 7 ; NOFP-DAG: single not inlined into test_single because too costly to inline (cost=125, threshold=7… 8 ; NOFP-DAG: single not inlined into test_single because too costly to inline (cost=125, threshold=7… 9 ; NOFP-DAG: single_cheap inlined into test_single_cheap with cost=-15 (threshold=75) 10 ; NOFP-DAG: single_cheap inlined into test_single_cheap with cost=-15015 (threshold=75) 11 ; NOFP-DAG: double not inlined into test_double because too costly to inline (cost=125, threshold=7… 12 ; NOFP-DAG: double not inlined into test_double because too costly to inline (cost=125, threshold=7… 13 …_soft not inlined into test_single_force_soft because too costly to inline (cost=125, threshold=75) 14 …_soft not inlined into test_single_force_soft because too costly to inline (cost=125, threshold=75) 16 ; FULLFP-DAG: single inlined into test_single with cost=0 (threshold=75) 17 ; FULLFP-DAG: single inlined into test_single with cost=-15000 (threshold=75) [all …]
|
/external/skia/src/gpu/gradients/generated/ |
D | GrDualIntervalGradientColorizer.cpp | 35 auto threshold = _outer.threshold; in emitCode() local 36 (void)threshold; in emitCode() 84 float thresholdValue = _outer.threshold; in onSetData() 114 if (threshold != that.threshold) return false; in onIsEqual() 124 , threshold(src.threshold) {} in GrDualIntervalGradientColorizer() 133 float threshold) { in Make() argument 137 auto scale01 = (vc1 - vc0) / threshold; in Make() 142 auto scale23 = (vc3 - vc2) / (1 - threshold); in Make() 143 auto bias23 = vc2 - threshold * scale23; in Make() 148 {bias23[0], bias23[1], bias23[2], bias23[3]}, threshold)); in Make()
|
D | GrDualIntervalGradientColorizer.h | 22 float threshold); 30 float threshold; variable 34 SkPMColor4f bias23, float threshold) in GrDualIntervalGradientColorizer() argument 40 , threshold(threshold) {} in GrDualIntervalGradientColorizer()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | roll_op.cc | 83 gtl::InlinedVector<int32, 4> threshold(num_dims); in Compute() local 95 threshold[i] = (ds - shift_mod_sum[i]) % ds; in Compute() 107 input_flat, output_flat, threshold, dim_range, in Compute() 123 const T* input, T* output, const gtl::ArraySlice<int32>& threshold, in DoRoll() argument 125 auto work = [input, output, num_dims, &dim_size, &threshold, &dim_range]( in DoRoll() 136 const int shift = dim_size[i] - threshold[i]; in DoRoll() 152 if (indx == threshold[j]) { // we've reached the threshold in DoRoll() 161 } else if (threshold[j] != 0) { // if threshold is 0 shift is 0 in DoRoll() 187 T* output, const gtl::ArraySlice<int32>& threshold, in DoRollWithMemcpy() argument 190 auto work = [input, output, num_dims, &dim_size, &threshold, &dim_range, isd]( in DoRollWithMemcpy() [all …]
|
D | compare_and_bitpack_op_gpu.cu.cc | 36 const T* __restrict__ threshold, in CompareAndBitpackKernel() argument 45 const T thresh = ldg(threshold); in CompareAndBitpackKernel() 60 const int size, const bool* __restrict__ threshold, in CompareAndBitpackKernel() argument 81 const int size, const float* __restrict__ threshold, in CompareAndBitpackKernel() argument 83 const float thresh = ldg(threshold); in CompareAndBitpackKernel() 97 const int size, const double* __restrict__ threshold, in CompareAndBitpackKernel() argument 99 const double thresh = ldg(threshold); in CompareAndBitpackKernel() 119 typename TTypes<T>::ConstScalar threshold, \ 127 0, d.stream(), total_count, threshold.data(), \
|
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/ |
D | gesture_predictor_test.cc | 25 int threshold = kConsecutiveInferenceThresholds[0]; in TF_LITE_MICRO_TEST() local 29 for (int i = 0; i <= threshold - 1; i++) { in TF_LITE_MICRO_TEST() 41 int threshold = kConsecutiveInferenceThresholds[0]; in TF_LITE_MICRO_TEST() local 45 for (int i = 0; i <= threshold - 1; i++) { in TF_LITE_MICRO_TEST() 58 int threshold = kConsecutiveInferenceThresholds[0]; in TF_LITE_MICRO_TEST() local 63 for (int i = 0; i <= threshold; i++) { in TF_LITE_MICRO_TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/ |
D | optimization-remarks-yaml.ll | 2 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \ 8 ; Verify that remarks that don't meet the hotness threshold are not output. 10 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \ 11 ; RUN: -pass-remarks-output=%t.threshold 2>&1 | \ 13 ; RUN: test ! -s %t.threshold 15 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \ 16 ; RUN: -pass-remarks-output=%t.threshold 18 ; RUN: test ! -s %t.threshold 22 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \ 28 ; Verify that remarks that don't meet the hotness threshold are not output. [all …]
|
D | inline-hot-callsite.ll | 1 ; This tests that a hot callsite gets the (higher) inlinehint-threshold even without 3 ; inlinehint-threshold. A cold callee with identical body does not get inlined because 4 ; cost exceeds the inline-threshold 6 ; RUN: opt < %s -inline -inline-threshold=0 -hot-callsite-threshold=100 -S | FileCheck %s 7 …s -passes='require<profile-summary>,cgscc(inline)' -inline-threshold=0 -hot-callsite-threshold=100… 11 ; RUN: opt < %s -passes='default<O2>' -inline-threshold=0 -hot-callsite-threshold=100 -S | FileChec…
|
D | inline-hot-callsite-2.ll | 1 …equire<profile-summary>,cgscc(inline)' -inline-threshold=0 -inlinehint-threshold=0 -hot-callsite-t… 4 ; entry count and the callsite block frequency gets the hot-callsite-threshold. 6 ; because cost exceeds the inline-threshold. inlinthint-threshold is set to 0 7 ; to ensure callee's hotness is not used to boost the threshold.
|
/external/llvm/test/Transforms/LoopUnroll/ |
D | full-unroll-heuristics.ll | 3 ; 1) -unroll-threshold 4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and 8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll 10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll 20 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th… 21 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th… 22 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th… 23 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=100 -unroll-percent-dynamic-cost-saved-th… 25 ; If the absolute threshold is too low, or if we can't optimize away requested 33 ; Also, we should unroll if the 'unroll-threshold' is big enough:
|
/external/guava/guava/src/com/google/common/collect/ |
D | TopKSelector.java | 113 private @Nullable T threshold; field in TopKSelector 121 this.threshold = null; in TopKSelector() 133 threshold = elem; in offer() 137 if (comparator.compare(elem, threshold) > 0) { in offer() 138 threshold = elem; in offer() 140 } else if (comparator.compare(elem, threshold) < 0) { in offer() 185 threshold = buffer[minThresholdPosition]; in trim() 187 if (comparator.compare(buffer[i], threshold) > 0) { in trim() 188 threshold = buffer[i]; in trim() 266 threshold = buffer[k - 1]; in topK()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | TopKSelector.java | 112 @NullableDecl private T threshold; field in TopKSelector 120 this.threshold = null; in TopKSelector() 132 threshold = elem; in offer() 136 if (comparator.compare(elem, threshold) > 0) { in offer() 137 threshold = elem; in offer() 139 } else if (comparator.compare(elem, threshold) < 0) { in offer() 184 threshold = buffer[minThresholdPosition]; in trim() 186 if (comparator.compare(buffer[i], threshold) > 0) { in trim() 187 threshold = buffer[i]; in trim() 258 threshold = buffer[k - 1]; in topK()
|
/external/libvpx/libvpx/test/ |
D | set_roi.cc | 32 unsigned int threshold[MAX_MB_SEGMENTS] = { 0, 100, 200, 300 }; in TEST() local 66 delta_q, delta_lf, threshold); in TEST() 101 if (threshold[i] != breakout) { in TEST() 102 EXPECT_EQ(threshold[i], breakout) << "breakout threshold error"; in TEST() 133 rand_deltas, delta_lf, threshold); in TEST() 142 delta_q, rand_deltas, threshold); in TEST() 152 cpi.common.mb_cols, delta_q, delta_lf, threshold); in TEST() 157 cpi.common.mb_cols - 1, delta_q, delta_lf, threshold); in TEST()
|
/external/u-boot/lib/zstd/ |
D | entropy_common.c | 36 int threshold; in FSE_readNCount() local 52 threshold = 1 << nbBits; in FSE_readNCount() 88 int const max = (2 * threshold - 1) - remaining; in FSE_readNCount() 91 if ((bitStream & (threshold - 1)) < (U32)max) { in FSE_readNCount() 92 count = bitStream & (threshold - 1); in FSE_readNCount() 95 count = bitStream & (2 * threshold - 1); in FSE_readNCount() 96 if (count >= threshold) in FSE_readNCount() 105 while (remaining < threshold) { in FSE_readNCount() 107 threshold >>= 1; in FSE_readNCount()
|
/external/libaom/libaom/aom_dsp/x86/ |
D | highbd_adaptive_quantize_avx2.c | 48 __m256i *threshold, in highbd_update_mask0_avx2() argument 53 cmp_mask0 = _mm256_cmpgt_epi32(coeff[0], threshold[0]); in highbd_update_mask0_avx2() 55 cmp_mask1 = _mm256_cmpgt_epi32(coeff[1], threshold[1]); in highbd_update_mask0_avx2() 130 __m256i threshold[2]; in aom_highbd_quantize_b_adaptive_avx2() local 131 threshold[0] = _mm256_set1_epi32(thresh[0]); in aom_highbd_quantize_b_adaptive_avx2() 132 threshold[1] = _mm256_set1_epi32(thresh[1]); in aom_highbd_quantize_b_adaptive_avx2() 133 threshold[0] = _mm256_blend_epi32(threshold[0], threshold[1], 0xfe); in aom_highbd_quantize_b_adaptive_avx2() 149 highbd_update_mask0_avx2(&qcoeff0, &qcoeff1, threshold, iscan, &is_found0, in aom_highbd_quantize_b_adaptive_avx2() 156 threshold[0] = threshold[1]; in aom_highbd_quantize_b_adaptive_avx2() 191 highbd_update_mask0_avx2(&qcoeff0, &qcoeff1, threshold, iscan + index, in aom_highbd_quantize_b_adaptive_avx2() [all …]
|