Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 1646) sorted by relevance

12345678910>>...66

/frameworks/rs/driver/runtime/arch/
Dneon.ll8 declare <2 x float> @llvm.arm.neon.vmaxs.v2f32(<2 x float>, <2 x float>) nounwind readnone
9 declare <4 x float> @llvm.arm.neon.vmaxs.v4f32(<4 x float>, <4 x float>) nounwind readnone
10 declare <2 x i32> @llvm.arm.neon.vmaxs.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
11 declare <4 x i32> @llvm.arm.neon.vmaxs.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
12 declare <2 x i32> @llvm.arm.neon.vmaxu.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
13 declare <4 x i32> @llvm.arm.neon.vmaxu.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
14 declare <4 x i16> @llvm.arm.neon.vmaxs.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
15 declare <4 x i16> @llvm.arm.neon.vmaxu.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
17 declare <2 x float> @llvm.arm.neon.vmins.v2f32(<2 x float>, <2 x float>) nounwind readnone
18 declare <4 x float> @llvm.arm.neon.vmins.v4f32(<4 x float>, <4 x float>) nounwind readnone
[all …]
Dasimd.ll8 declare <2 x float> @llvm.aarch64.neon.fmax.v2f32(<2 x float>, <2 x float>) nounwind readnone
9 declare <4 x float> @llvm.aarch64.neon.fmax.v4f32(<4 x float>, <4 x float>) nounwind readnone
10 declare <2 x i32> @llvm.aarch64.neon.smax.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
11 declare <4 x i32> @llvm.aarch64.neon.smax.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
12 declare <2 x i32> @llvm.aarch64.neon.umax.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
13 declare <4 x i32> @llvm.aarch64.neon.umax.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
14 declare <4 x i16> @llvm.aarch64.neon.smax.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
15 declare <4 x i16> @llvm.aarch64.neon.umax.v4i16(<4 x i16>, <4 x i16>) nounwind readnone
17 declare <2 x float> @llvm.aarch64.neon.fmin.v2f32(<2 x float>, <2 x float>) nounwind readnone
18 declare <4 x float> @llvm.aarch64.neon.fmin.v4f32(<4 x float>, <4 x float>) nounwind readnone
[all …]
Dx86_sse2.ll4 declare <4 x float> @llvm.x86.sse.min.ps(<4 x float>, <4 x float>)
5 declare <4 x float> @llvm.x86.sse.max.ps(<4 x float>, <4 x float>)
6 declare <4 x float> @llvm.x86.sse.min.ss(<4 x float>, <4 x float>)
7 declare <4 x float> @llvm.x86.sse.max.ss(<4 x float>, <4 x float>)
10 declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) nounwind readnone
11 declare <3 x float> @llvm.sqrt.v3f32(<3 x float>) nounwind readnone
12 declare <4 x float> @llvm.sqrt.v4f32(<4 x float>) nounwind readnone
17 define <4 x float> @_Z5clampDv4_fS_S_(<4 x float> %in, <4 x float> %low, <4 x float> %high) nounwin…
18 …%1 = tail call <4 x float> @llvm.x86.sse.min.ps(<4 x float> %in, <4 x float> %high) nounwind readn…
19 …%2 = tail call <4 x float> @llvm.x86.sse.max.ps(<4 x float> %1, <4 x float> %low) nounwind readnone
[all …]
Dx86_sse3.ll4 declare <2 x i64> @llvm.x86.sse2.psll.dq(<2 x i64>, i32) nounwind readnone
5 declare <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float>, <4 x float>) nounwind readnone
8 define float @_Z3dotDv4_fS_(<4 x float> %lhs, <4 x float> %rhs) nounwind readnone {
9 %1 = fmul <4 x float> %lhs, %rhs
10 …%2 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %1, <4 x float> %1) nounwind readnone
11 …%3 = tail call <4 x float> @llvm.x86.sse3.hadd.ps(<4 x float> %2, <4 x float> %2) nounwind readnone
12 %4 = extractelement <4 x float> %3, i32 0
16 define float @_Z3dotDv3_fS_(<3 x float> %lhs, <3 x float> %rhs) nounwind readnone {
17 %1 = fmul <3 x float> %lhs, %rhs
18 %2 = shufflevector <3 x float> %1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java24 private final double[] x = new double[4]; // w,x,y,z, field in Quaternion
26 public void set(double w, double x, double y, double z) { in set() argument
27 this.x[0] = w; in set()
28 this.x[1] = x; in set()
29 this.x[2] = y; in set()
30 this.x[3] = z; in set()
34 System.arraycopy(src.x, 0, x, 0, x.length); in clone()
74 x[0] = Math.cos(angle / 2); in set()
76 x[1] = axis[0] * sin; in set()
77 x[2] = axis[1] * sin; in set()
[all …]
/frameworks/rs/driver/runtime/ll32/
Dallocation.ll4 declare i8* @rsOffset([1 x i32] %a.coerce, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
5 declare i8* @rsOffsetNs([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z)
36 define void @rsSetElementAtImpl_char([1 x i32] %a.coerce, i8 signext %val, i32 %x, i32 %y, i32 %z) …
37 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2
42 define signext i8 @rsGetElementAtImpl_char([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 {
43 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2
49 define void @rsSetElementAtImpl_char2([1 x i32] %a.coerce, <2 x i8> %val, i32 %x, i32 %y, i32 %z) #…
50 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 2, i32 %x, i32 %y, i32 %z) #2
51 %2 = bitcast i8* %1 to <2 x i8>*
52 store <2 x i8> %val, <2 x i8>* %2, align 2, !tbaa !22
[all …]
/frameworks/rs/driver/runtime/ll64/
Dallocation.ll6 declare i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i3…
7 declare i8* @rsOffsetNs(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z)
38 …pl_char(%struct.rs_allocation* nocapture readonly %a, i8 signext %val, i32 %x, i32 %y, i32 %z) #1 {
39 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
44 define signext i8 @rsGetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i32 %x, i3…
45 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
51 …ntAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i16 %val, i32 %x, i32 %y, i32 %z) #1 {
52 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2
53 %2 = bitcast i8* %1 to <2 x i8>*
54 %3 = bitcast i16 %val to <2 x i8>
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dpred_lt4_1_opt.s42 ADD r5, r0, r4, LSL #1 @x = exc - T0
45 SUBLT r5, r5, #2 @x--
46 SUB r5, r5, #30 @x -= 15
60 @r0 --- exc[] r1 --- x r7 --- j r8 --- ptr2 r5 --- 0x8000
63 @MOV r1, r5 @ptr1 = x
66 LDRSH r4, [r1], #2 @x[0]
67 LDRSH r6, [r1], #2 @x[1]
68 LDRSH r9, [r1], #2 @x[2]
70 SMULBB r10, r4, r3 @x[0] * h[0]
71 SMULBB r11, r6, r3 @x[1] * h[0]
[all …]
DFilt_6k_7k_opt.s37 SUB r13, r13, #240 @ x[L_SUBFR16k + (L_FIR - 1)]
45 BL voAWB_Copy @ memcpy(x, mem, (L_FIR - 1)<<1)
53 ADD r6, r13, #60 @ get x[L_FIR - 1] address
93 LDRSH r1, [r4] @ load x[i]
94 LDRSH r2, [r4, #60] @ load x[i + 30]
95 LDRSH r6, [r4, #2] @ load x[i + 1]
96 LDRSH r7, [r4, #58] @ load x[i + 29]
97 ADD r1, r1, r2 @ x[i] + x[i + 30]
98 ADD r6, r6, r7 @ x[i + 1] + x[i + 29]
99 LDRSH r8, [r4, #4] @ load x[i + 2]
[all …]
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanInterface.java232 } catch (RemoteException x) { in form()
233 throw x.rethrowAsRuntimeException(); in form()
235 } catch (ServiceSpecificException x) { in form()
236 throw LowpanException.rethrowFromServiceSpecificException(x); in form()
252 } catch (RemoteException x) { in join()
253 throw x.rethrowAsRuntimeException(); in join()
255 } catch (ServiceSpecificException x) { in join()
256 throw LowpanException.rethrowFromServiceSpecificException(x); in join()
271 } catch (RemoteException x) { in attach()
272 throw x.rethrowAsRuntimeException(); in attach()
[all …]
/frameworks/base/rs/java/android/renderscript/
DFloat2.java24 public float x; field in Float2
31 this.x = data.x; in Float2()
35 public Float2(float x, float y) { in Float2() argument
36 this.x = x; in Float2()
49 res.x = a.x + b.x; in add()
61 x += value.x; in add()
71 x += value; in add()
84 res.x = a.x + b; in add()
96 x -= value.x; in sub()
109 res.x = a.x - b.x; in sub()
[all …]
DDouble2.java24 public double x; field in Double2
32 this.x = data.x; in Double2()
36 public Double2(double x, double y) { in Double2() argument
37 this.x = x; in Double2()
50 res.x = a.x + b.x; in add()
62 x += value.x; in add()
72 x += value; in add()
85 res.x = a.x + b; in add()
97 x -= value.x; in sub()
110 res.x = a.x - b.x; in sub()
[all …]
DShort2.java27 public short x; field in Short2
35 this.x = this.y = i; in Short2()
38 public Short2(short x, short y) { in Short2() argument
39 this.x = x; in Short2()
45 this.x = source.x; in Short2()
55 this.x += a.x; in add()
68 result.x = (short)(a.x + b.x); in add()
80 x += value; in add()
93 result.x = (short)(a.x + b); in add()
105 this.x -= a.x; in sub()
[all …]
DInt2.java24 public int x; field in Int2
32 this.x = this.y = i; in Int2()
35 public Int2(int x, int y) { in Int2() argument
36 this.x = x; in Int2()
42 this.x = source.x; in Int2()
52 this.x += a.x; in add()
65 result.x = a.x + b.x; in add()
77 x += value; in add()
90 result.x = a.x + b; in add()
102 this.x -= a.x; in sub()
[all …]
DLong2.java24 public long x; field in Long2
32 this.x = this.y = i; in Long2()
35 public Long2(long x, long y) { in Long2() argument
36 this.x = x; in Long2()
42 this.x = source.x; in Long2()
52 this.x += a.x; in add()
65 result.x = a.x + b.x; in add()
77 x += value; in add()
90 result.x = a.x + b; in add()
102 this.x -= a.x; in sub()
[all …]
DByte2.java25 public byte x; field in Byte2
32 x = initX; in Byte2()
38 this.x = source.x; in Byte2()
48 this.x += a.x; in add()
61 result.x = (byte)(a.x + b.x); in add()
73 x += value; in add()
86 result.x = (byte)(a.x + b); in add()
98 this.x -= a.x; in sub()
111 result.x = (byte)(a.x - b.x); in sub()
123 x -= value; in sub()
[all …]
DDouble3.java24 public double x; field in Double3
32 this.x = data.x; in Double3()
37 public Double3(double x, double y, double z) { in Double3() argument
38 this.x = x; in Double3()
52 res.x = a.x + b.x; in add()
65 x += value.x; in add()
76 x += value; in add()
90 res.x = a.x + b; in add()
103 x -= value.x; in sub()
117 res.x = a.x - b.x; in sub()
[all …]
DShort3.java24 public short x; field in Short3
33 this.x = this.y = this.z = i; in Short3()
36 public Short3(short x, short y, short z) { in Short3() argument
37 this.x = x; in Short3()
44 this.x = source.x; in Short3()
55 this.x += a.x; in add()
69 result.x = (short)(a.x + b.x); in add()
82 x += value; in add()
96 result.x = (short)(a.x + b); in add()
109 this.x -= a.x; in sub()
[all …]
DLong3.java24 public long x; field in Long3
33 this.x = this.y = this.z = i; in Long3()
36 public Long3(long x, long y, long z) { in Long3() argument
37 this.x = x; in Long3()
44 this.x = source.x; in Long3()
55 this.x += a.x; in add()
69 result.x = a.x + b.x; in add()
82 x += value; in add()
96 result.x = a.x + b; in add()
109 this.x -= a.x; in sub()
[all …]
DInt3.java24 public int x; field in Int3
33 this.x = this.y = this.z = i; in Int3()
36 public Int3(int x, int y, int z) { in Int3() argument
37 this.x = x; in Int3()
44 this.x = source.x; in Int3()
55 this.x += a.x; in add()
69 result.x = a.x + b.x; in add()
82 x += value; in add()
96 result.x = a.x + b; in add()
109 this.x -= a.x; in sub()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dhp6k.c59 Word16 x[L_SUBFR16k + (L_FIR - 1)]; in Filt_6k_7k() local
62 Copy(mem, x, L_FIR - 1); in Filt_6k_7k()
65 x[i + L_FIR - 1] = signal[i] >> 2; /* gain of filter = 4 */ in Filt_6k_7k()
69 L_tmp = (x[i] + x[i+ 30]) * fir_6k_7k[0]; in Filt_6k_7k()
70 L_tmp += (x[i+1] + x[i + 29]) * fir_6k_7k[1]; in Filt_6k_7k()
71 L_tmp += (x[i+2] + x[i + 28]) * fir_6k_7k[2]; in Filt_6k_7k()
72 L_tmp += (x[i+3] + x[i + 27]) * fir_6k_7k[3]; in Filt_6k_7k()
73 L_tmp += (x[i+4] + x[i + 26]) * fir_6k_7k[4]; in Filt_6k_7k()
74 L_tmp += (x[i+5] + x[i + 25]) * fir_6k_7k[5]; in Filt_6k_7k()
75 L_tmp += (x[i+6] + x[i + 24]) * fir_6k_7k[6]; in Filt_6k_7k()
[all …]
/frameworks/rs/driver/runtime/
Drs_f16_math.c21 extern half __attribute__((overloadable)) copysign(half x, half y) { in copysign() argument
23 GET_HALF_WORD(hx, x); in copysign()
26 SET_HALF_WORD(x, (hx & 0x7fff) | (hy & 0x8000)); in copysign()
27 return x; in copysign()
31 extern half __attribute__((overloadable)) frexp(half x, int *eptr) { in frexp() argument
35 GET_HALF_WORD(hx, x); in frexp()
39 if (ix >= 0x7c00 || ix == 0) return x; // NaN, infinity or zero in frexp()
43 x *= two12; in frexp()
44 GET_HALF_WORD(hx, x); in frexp()
53 SET_HALF_WORD(x, hx); in frexp()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dfp16.rs28 static half ElementAt_half(int x, int y, int z) {
29 return gStart + x + y * gDimX + z * gDimX * gDimY;
32 static half2 ElementAt_half2(int x, int y, int z) {
33 half r = gStart + x + y * gDimX + z * gDimX * gDimY;
38 static half3 ElementAt_half3(int x, int y, int z) {
39 half r = gStart + x + y * gDimX + z * gDimX * gDimY;
44 static half4 ElementAt_half4(int x, int y, int z) {
45 half r = gStart + x + y * gDimX + z * gDimX * gDimY;
50 static void compare_half(half x, half y) {
51 _RS_ASSERT_EQU(x, y);
[all …]
/frameworks/base/core/java/android/util/
DSpline.java32 public abstract float interpolate(float x); in interpolate() argument
40 public static Spline createSpline(float[] x, float[] y) { in createSpline() argument
41 if (!isStrictlyIncreasing(x)) { in createSpline()
47 return createMonotoneCubicSpline(x, y); in createSpline()
49 return createLinearSpline(x, y); in createSpline()
71 public static Spline createMonotoneCubicSpline(float[] x, float[] y) { in createMonotoneCubicSpline() argument
72 return new MonotoneCubicSpline(x, y); in createMonotoneCubicSpline()
90 public static Spline createLinearSpline(float[] x, float[] y) { in createLinearSpline() argument
91 return new LinearSpline(x, y); in createLinearSpline()
94 private static boolean isStrictlyIncreasing(float[] x) { in isStrictlyIncreasing() argument
[all …]
/frameworks/base/libs/hwui/
DVector.h32 float x; member
36 return x * x + y * y; in lengthSquared()
40 return sqrt(x * x + y * y); in length()
44 x += v.x;
49 x -= v.x;
54 x += v;
59 x -= v;
64 x /= s;
69 x *= s;
74 return (Vector2){x + v.x, y + v.y};
[all …]

12345678910>>...66