Home
last modified time | relevance | path

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

12

/external/webrtc/src/common_audio/signal_processing/
Dget_scaling_square.c24 WebRtc_Word16 smax = -1; in WebRtcSpl_GetScalingSquare() local
33 smax = (sabs > smax ? sabs : smax); in WebRtcSpl_GetScalingSquare()
35 t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); in WebRtcSpl_GetScalingSquare()
37 if (smax == 0) in WebRtcSpl_GetScalingSquare()
Dauto_correlation.c28 WebRtc_Word16 smax; // Sample max in WebRtcSpl_AutoCorrelation() local
43 smax = WebRtcSpl_MaxAbsValueW16(in_vector, in_vector_length); in WebRtcSpl_AutoCorrelation()
48 if (smax == 0) in WebRtcSpl_AutoCorrelation()
54 int t = WebRtcSpl_NormW32(WEBRTC_SPL_MUL(smax, smax)); // # of bits to normalize smax in WebRtcSpl_AutoCorrelation()
/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]
Dstacksaverestore.ll27 %smax = select i1 %tmp125, i32 1, i32 %size ; <i32> [#uses=1]
48 %exitcond = icmp eq i32 %indvar.next, %smax ; <i1> [#uses=1]
/external/quake/quake/src/WinQuake/
Dr_surf.cpp70 int smax, tmax; in R_AddDynamicLights() local
74 smax = (surf->extents[0]>>4)+1; in R_AddDynamicLights()
109 for (s=0 ; s<smax ; s++) in R_AddDynamicLights()
123 i = t*smax + s; in R_AddDynamicLights()
135 blocklights[t*smax + s] += (rad - dist)*256; in R_AddDynamicLights()
151 int smax, tmax; in R_BuildLightMap() local
161 smax = (surf->extents[0]>>4)+1; in R_BuildLightMap()
163 size = smax*tmax; in R_BuildLightMap()
251 int smax, tmax, twidth; in R_DrawSurface() local
297 smax = mt->width >> r_drawsurf.surfmip; in R_DrawSurface()
[all …]
Dgl_rsurf.cpp76 int smax, tmax; in R_AddDynamicLights() local
79 smax = (surf->extents[0]>>4)+1; in R_AddDynamicLights()
114 for (s=0 ; s<smax ; s++) in R_AddDynamicLights()
124 blocklights[t*smax + s] += (int)((rad - dist)*256); in R_AddDynamicLights()
140 int smax, tmax; in R_BuildLightMap() local
151 smax = (surf->extents[0]>>4)+1; in R_BuildLightMap()
153 size = smax*tmax; in R_BuildLightMap()
189 stride -= (smax<<2); in R_BuildLightMap()
193 for (j=0 ; j<smax ; j++) in R_BuildLightMap()
210 for (j=0 ; j<smax ; j++) in R_BuildLightMap()
[all …]
/external/quake/quake/src/QW/client/
Dr_surf.c70 int smax, tmax; in R_AddDynamicLights() local
74 smax = (surf->extents[0]>>4)+1; in R_AddDynamicLights()
109 for (s=0 ; s<smax ; s++) in R_AddDynamicLights()
119 blocklights[t*smax + s] += (rad - dist)*256; in R_AddDynamicLights()
134 int smax, tmax; in R_BuildLightMap() local
144 smax = (surf->extents[0]>>4)+1; in R_BuildLightMap()
146 size = smax*tmax; in R_BuildLightMap()
234 int smax, tmax, twidth; in R_DrawSurface() local
280 smax = mt->width >> r_drawsurf.surfmip; in R_DrawSurface()
286 r_sourcemax = r_source + (tmax * smax); in R_DrawSurface()
[all …]
Dgl_rsurf.c76 int smax, tmax; in R_AddDynamicLights() local
79 smax = (surf->extents[0]>>4)+1; in R_AddDynamicLights()
114 for (s=0 ; s<smax ; s++) in R_AddDynamicLights()
124 blocklights[t*smax + s] += (rad - dist)*256; in R_AddDynamicLights()
140 int smax, tmax; in R_BuildLightMap() local
150 smax = (surf->extents[0]>>4)+1; in R_BuildLightMap()
152 size = smax*tmax; in R_BuildLightMap()
188 stride -= (smax<<2); in R_BuildLightMap()
192 for (j=0 ; j<smax ; j++) in R_BuildLightMap()
209 for (j=0 ; j<smax ; j++) in R_BuildLightMap()
[all …]
/external/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)
D2008-02-11-ReversedCondition.ll1 ; RUN: opt < %s -scalar-evolution -analyze | grep "Loop %header: backedge-taken count is (0 smax %n…
D2008-02-12-SMAXTripCount.ll4 ; CHECK: Loop %loop: backedge-taken count is (100 + (-100 smax %n))
Ddo-loop.ll1 ; RUN: opt < %s -analyze -scalar-evolution | grep smax
D2008-12-14-StrideAndSigned.ll2 ; RUN: grep "(((-1 * %i0) + (100005 smax %i0)) /u 5)"
D2008-07-29-SMinExpr.ll25 ; CHECK: backedge-taken count is (-2147483632 + ((-1 + (-1 * %{{[xy]}})) smax (-1 + (-1 * %{{[xy]}}…
/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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
DHydraulicErodeFilter.java143 float smax = this.Kc * wt[idx]; in filter() local
144 if (st[idx] > smax) { in filter()
145 ga[idx] += st[idx] - smax; in filter()
146 st[idx] -= st[idx] - smax; in filter()
/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]
Doptimize-max-3.ll61 %smax = select i1 %tmp11, i32 %tmp, i32 1 ; <i32> [#uses=1]
69 %exitcond = icmp eq i32 %inc, %smax ; <i1> [#uses=1]
/external/llvm/unittests/Support/
DConstantRangeTest.cpp423 EXPECT_EQ(Full.smax(Full), Full); in TEST_F()
424 EXPECT_EQ(Full.smax(Empty), Empty); in TEST_F()
425 EXPECT_EQ(Full.smax(Some), ConstantRange(APInt(16, 0xa), in TEST_F()
427 EXPECT_EQ(Full.smax(Wrap), Full); in TEST_F()
428 EXPECT_EQ(Full.smax(One), ConstantRange(APInt(16, 0xa), in TEST_F()
430 EXPECT_EQ(Empty.smax(Empty), Empty); in TEST_F()
431 EXPECT_EQ(Empty.smax(Some), Empty); in TEST_F()
432 EXPECT_EQ(Empty.smax(Wrap), Empty); in TEST_F()
433 EXPECT_EQ(Empty.smax(One), Empty); in TEST_F()
434 EXPECT_EQ(Some.smax(Some), Some); in TEST_F()
[all …]
/external/llvm/test/CodeGen/ARM/
Dmachine-cse-cmp.ll39 %smax = select i1 %1, i32 %0, i32 1
40 ….i32(i8* getelementptr inbounds ([250 x i8]* @bar, i32 0, i32 0), i8 0, i32 %smax, i32 1, i1 false)
/external/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]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DLineGraph.java85 String smax= this.fDimension.getDisplayValue(max); in paint() local
86 Point emax= g.stringExtent(smax); in paint()
102 g.drawString(smax, PADDING/2+labelWidth-emax.x, top, true); in paint()
DTimeLineGraph.java49 String smax= this.fDimension.getDisplayValue(max); in paint() local
50 Point emax= g.stringExtent(smax); in paint()
66 g.drawString(smax, PADDING/2+labelWidth-emax.x, top, true); in paint()

12