Home
last modified time | relevance | path

Searched refs:smax (Results 1 – 25 of 118) sorted by relevance

12345

/external/webrtc/webrtc/common_audio/signal_processing/
Dget_scaling_square.c26 int16_t smax = -1; in WebRtcSpl_GetScalingSquare() local
35 smax = (sabs > smax ? sabs : smax); in WebRtcSpl_GetScalingSquare()
37 t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_GetScalingSquare()
39 if (smax == 0) in WebRtcSpl_GetScalingSquare()
Dauto_correlation.c22 int16_t smax = 0; in WebRtcSpl_AutoCorrelation() local
28 smax = WebRtcSpl_MaxAbsValueW16(in_vector, in_vector_length); in WebRtcSpl_AutoCorrelation()
32 if (smax == 0) { in WebRtcSpl_AutoCorrelation()
38 int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_AutoCorrelation()
/external/llvm/test/CodeGen/AMDGPU/
Dsmed3.ll126 define internal i32 @smax(i32 %x, i32 %y) #2 {
178 %tmp1 = call i32 @smax(i32 %x, i32 %y)
180 %tmp3 = call i32 @smax(i32 %tmp0, i32 %tmp2)
190 %tmp1 = call i32 @smax(i32 %y, i32 %x)
192 %tmp3 = call i32 @smax(i32 %tmp0, i32 %tmp2)
202 %tmp1 = call i32 @smax(i32 %x, i32 %y)
204 %tmp3 = call i32 @smax(i32 %tmp0, i32 %tmp2)
214 %tmp1 = call i32 @smax(i32 %y, i32 %x)
216 %tmp3 = call i32 @smax(i32 %tmp0, i32 %tmp2)
226 %tmp1 = call i32 @smax(i32 %x, i32 %y)
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
D2007-12-18-AddSelCmpSub.ll7 %smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1]
8 %tmp12 = add i32 %smax, %a ; <i32> [#uses=1]
17 %smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1]
18 %tmp12 = add i32 %smax, %a ; <i32> [#uses=1]
26 %smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1]
27 %tmp12 = add i32 %smax, %a ; <i32> [#uses=1]
/external/llvm/test/Transforms/InstCombine/
D2007-12-18-AddSelCmpSub.ll7 %smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1]
8 %tmp12 = add i32 %smax, %a ; <i32> [#uses=1]
17 %smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1]
18 %tmp12 = add i32 %smax, %a ; <i32> [#uses=1]
26 %smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1]
27 %tmp12 = add i32 %smax, %a ; <i32> [#uses=1]
/external/llvm/test/Analysis/ScalarEvolution/
Dsmax.ll4 ; CHECK: --> (%a smax %b)
5 ; CHECK: --> (%a smax %b smax %c)
6 ; CHECK-NOT: smax
Dtrip-count9.ll44 ; CHECK: Loop %loop: backedge-taken count is (-2 + (2 smax %n))
76 ; CHECK: Loop %loop: backedge-taken count is (-1 + (-1 * %x) + ((1 + %x) smax %n))
150 ; CHECK: Loop %loop: backedge-taken count is (-2 + (2 smax %n))
166 ; CHECK: Loop %loop: backedge-taken count is ((-2 + (3 smax %n)) /u 2)
182 ; CHECK: Loop %loop: backedge-taken count is (-1 + (-1 * %x) + ((1 + %x) smax %n))
198 ; CHECK: Loop %loop: backedge-taken count is ((-1 + (-1 * %x) + ((2 + %x) smax %n)) /u 2)
248 ; CHECK: Loop %loop: backedge-taken count is (-2 + (2 smax (2 * %n)))
265 ; CHECK: Loop %loop: backedge-taken count is ((-2 + (3 smax (2 * %n))) /u 2)
282 ; CHECK: Loop %loop: backedge-taken count is (-1 + (-1 * %x) + ((1 + %x) smax (2 * %n)))
299 ; CHECK: Loop %loop: backedge-taken count is ((-1 + (-1 * %x) + ((2 + %x) smax (2 * %n))) /u 2)
[all …]
Dpredicated-trip-count.ll9 ; (1 + (-1 smax %M)) <= MAX_INT16
25 ; CHECK-NEXT: Loop %bb3: Predicated backedge-taken count is (1 + (-1 smax %M))
53 ; smax (-1 + (-1 * %M)))
83 … is (2 + (sext i16 %Start to i32) + ((-2 + (-1 * (sext i16 %Start to i32))) smax (-1 + (-1 * %M))))
Dsmax-br-phi-idioms.ll16 ; CHECK-NEXT: --> ((0 smax %y) + %x) U: full-set S: full-set
33 ; CHECK-NEXT: --> ((0 smax %y) + %x) U: full-set S: full-set
72 ; CHECK-NEXT: --> ((0 smax {%init,+,1}<%loop>) + %x) U: full-set S: full-set
/external/llvm/test/MC/AArch64/
Dneon-max-min.s8 smax v0.8b, v1.8b, v2.8b
9 smax v0.16b, v1.16b, v2.16b
10 smax v0.4h, v1.4h, v2.4h
11 smax v0.8h, v1.8h, v2.8h
12 smax v0.2s, v1.2s, v2.2s
13 smax v0.4s, v1.4s, v2.4s
/external/libgsm/src/
Dlpc.c36 word temp, smax, scalauto; variable
47 smax = 0;
50 if (temp > smax) smax = temp;
55 if (smax == 0) scalauto = 0;
57 assert(smax > 0);
58 scalauto = 4 - gsm_norm( (longword)smax << 16 );/* sub(4,..) */
/external/swiftshader/third_party/LLVM/test/Analysis/ScalarEvolution/
Dsmax.ll1 ; RUN: opt < %s -analyze -scalar-evolution | grep smax | count 2
3 ; RUN: {%. smax %. smax %.}
Dtrip-count9.ll44 ; CHECK: Loop %loop: backedge-taken count is (-2 + (2 smax %n))
76 ; CHECK: Loop %loop: backedge-taken count is (-1 + (-1 * %x) + ((1 + %x) smax %n))
143 ; CHECK: Loop %loop: backedge-taken count is (-2 + (2 smax %n))
175 ; CHECK: Loop %loop: backedge-taken count is (-1 + (-1 * %x) + ((1 + %x) smax %n))
241 ; CHECK: Loop %loop: backedge-taken count is (-2 + (2 smax (2 * %n)))
275 ; CHECK: Loop %loop: backedge-taken count is (-1 + (-1 * %x) + ((1 + %x) smax (2 * %n)))
343 ; CHECK: Loop %loop: backedge-taken count is (-2 + (2 smax (2 * %n)))
360 ; CHECK: Loop %loop: backedge-taken count is ((-2 + (3 smax (2 * %n))) /u 2)
377 ; CHECK: Loop %loop: backedge-taken count is (-1 + (-1 * %x) + ((1 + %x) smax (2 * %n)))
394 ; CHECK: Loop %loop: backedge-taken count is ((-1 + (-1 * %x) + ((2 + %x) smax (2 * %n))) /u 2)
/external/llvm/test/Transforms/IndVarSimplify/
Dbackedge-on-min-max.ll121 %smax.cmp = icmp sgt i32 %a_len, %n
122 %smax = select i1 %smax.cmp, i32 %a_len, i32 %n
123 %entry.cond = icmp sgt i32 0, %smax
139 %be.cond = icmp sgt i32 %idx.inc, %smax
149 %smax.cmp = icmp sgt i32 %a_len, %n
150 %smax = select i1 %smax.cmp, i32 %a_len, i32 %n
151 %entry.cond = icmp sgt i32 0, %smax
167 %be.cond = icmp sgt i32 %idx.inc, %smax
177 %smax.cmp = icmp sgt i32 42, %n
178 %smax = select i1 %smax.cmp, i32 42, i32 %n
[all …]
D2009-05-24-useafterfree.ll10 %smax = select i1 false, i32 -1, i32 0 ; <i32> [#uses=1]
11 %tmp12 = sub i32 0, %smax ; <i32> [#uses=1]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DDFA.java502 int smax = Label.MIN_ATOM_VALUE - 1;
511 if ( label.getAtom()>smax ) {
512 smax = label.getAtom();
523 if ( labels.getMaxElement()>smax ) {
524 smax = labels.getMaxElement();
529 if ( smax<0 ) {
532 smax = Label.MIN_CHAR_VALUE;
536 max.set(s.stateNumber, Utils.integer((char)smax));
538 if ( smax<0 || smin>Label.MAX_CHAR_VALUE || smin<0 ) {
548 int smax = ((Integer)max.get(s.stateNumber)).intValue();
[all …]
/external/llvm/test/CodeGen/X86/
Doptimize-max-1.ll3 ; LSR should be able to eliminate both smax and umax expressions
11 %smax = select i1 %tmp, i64 1, i64 %n ; <i64> [#uses=1]
19 %exitcond = icmp eq i64 %0, %smax ; <i1> [#uses=1]
29 %smax = select i1 %tmp, i64 %n, i64 1 ; <i64> [#uses=1]
37 %exitcond = icmp eq i64 %0, %smax ; <i1> [#uses=1]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Doptimize-max-1.ll3 ; LSR should be able to eliminate both smax and umax expressions
11 %smax = select i1 %tmp, i64 1, i64 %n ; <i64> [#uses=1]
19 %exitcond = icmp eq i64 %0, %smax ; <i1> [#uses=1]
29 %smax = select i1 %tmp, i64 %n, i64 1 ; <i64> [#uses=1]
37 %exitcond = icmp eq i64 %0, %smax ; <i1> [#uses=1]
/external/swiftshader/third_party/LLVM/unittests/Support/
DConstantRangeTest.cpp355 EXPECT_EQ(Full.smax(Full), Full); in TEST_F()
356 EXPECT_EQ(Full.smax(Empty), Empty); in TEST_F()
357 EXPECT_EQ(Full.smax(Some), ConstantRange(APInt(16, 0xa), in TEST_F()
359 EXPECT_EQ(Full.smax(Wrap), Full); in TEST_F()
360 EXPECT_EQ(Full.smax(One), ConstantRange(APInt(16, 0xa), in TEST_F()
362 EXPECT_EQ(Empty.smax(Empty), Empty); in TEST_F()
363 EXPECT_EQ(Empty.smax(Some), Empty); in TEST_F()
364 EXPECT_EQ(Empty.smax(Wrap), Empty); in TEST_F()
365 EXPECT_EQ(Empty.smax(One), Empty); in TEST_F()
366 EXPECT_EQ(Some.smax(Some), Some); in TEST_F()
[all …]
/external/llvm/test/CodeGen/AArch64/
Daarch64-smax-constantfold.ll4 declare <4 x i16> @llvm.aarch64.neon.smax.v4i16(<4 x i16>, <4 x i16>)
10 …%0 = tail call <4 x i16> @llvm.aarch64.neon.smax.v4i16(<4 x i16> <i16 -1, i16 -1, i16 -1, i16 -1>,…
Dminmax.ll4 ; CHECK: smax
44 ; CHECK: smax
69 ; CHECK: smax
79 ; CHECK: smax
80 ; CHECK: smax
Darm64-vmax.ll5 ;CHECK: smax.8b
8 %tmp3 = call <8 x i8> @llvm.aarch64.neon.smax.v8i8(<8 x i8> %tmp1, <8 x i8> %tmp2)
14 ;CHECK: smax.16b
17 %tmp3 = call <16 x i8> @llvm.aarch64.neon.smax.v16i8(<16 x i8> %tmp1, <16 x i8> %tmp2)
23 ;CHECK: smax.4h
26 %tmp3 = call <4 x i16> @llvm.aarch64.neon.smax.v4i16(<4 x i16> %tmp1, <4 x i16> %tmp2)
32 ;CHECK: smax.8h
35 %tmp3 = call <8 x i16> @llvm.aarch64.neon.smax.v8i16(<8 x i16> %tmp1, <8 x i16> %tmp2)
41 ;CHECK: smax.2s
44 %tmp3 = call <2 x i32> @llvm.aarch64.neon.smax.v2i32(<2 x i32> %tmp1, <2 x i32> %tmp2)
[all …]
/external/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c195 long smin = 0, smax = 0, cmin = 0, cmax = 0, delta = 0; in main_thread() local
233 smax = stats_max(&sdat); in main_thread()
236 printf("Max: %ld us\n", smax); in main_thread()
300 printf("Max: %.4f\n", (float)smax / cmax); in main_thread()
/external/llvm/unittests/IR/
DConstantRangeTest.cpp433 EXPECT_EQ(Full.smax(Full), Full); in TEST_F()
434 EXPECT_EQ(Full.smax(Empty), Empty); in TEST_F()
435 EXPECT_EQ(Full.smax(Some), ConstantRange(APInt(16, 0xa), in TEST_F()
437 EXPECT_EQ(Full.smax(Wrap), Full); in TEST_F()
438 EXPECT_EQ(Full.smax(One), ConstantRange(APInt(16, 0xa), in TEST_F()
440 EXPECT_EQ(Empty.smax(Empty), Empty); in TEST_F()
441 EXPECT_EQ(Empty.smax(Some), Empty); in TEST_F()
442 EXPECT_EQ(Empty.smax(Wrap), Empty); in TEST_F()
443 EXPECT_EQ(Empty.smax(One), Empty); in TEST_F()
444 EXPECT_EQ(Some.smax(Some), Some); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/IndVarSimplify/
D2009-05-24-useafterfree.ll10 %smax = select i1 false, i32 -1, i32 0 ; <i32> [#uses=1]
11 %tmp12 = sub i32 0, %smax ; <i32> [#uses=1]

12345