Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/external/clang/test/SemaOpenCL/
Dhalf.cl5 half half_disabled(half *p, // expected-error{{declaring function return value of type 'half' is no…
6half h) // expected-error{{declaring function parameter of type 'half' is not allowed}}
8 half a[2]; // expected-error{{declaring variable of type 'half [2]' is not allowed}}
9 half b; // expected-error{{declaring variable of type 'half' is not allowed}}
10 *p; // expected-error{{loading directly from pointer to type 'half' is not allowed}}
11 p[1]; // expected-error{{loading directly from pointer to type 'half' is not allowed}}
14 b = (half) c; // expected-error{{casting to type 'half' is not allowed}}
16 half *allowed = &p[1];
17 half *allowed2 = &*p;
18 half *allowed3 = p + 1;
[all …]
/external/llvm/test/Assembler/
Dhalf-constprop.ll2 ; Testing half constant propagation.
4 define half @abc() nounwind {
6 %a = alloca half, align 2
7 %b = alloca half, align 2
9 store half 0xH4200, half* %a, align 2
10 store half 0xH4B9A, half* %b, align 2
11 %tmp = load half* %a, align 2
12 %tmp1 = load half* %b, align 2
13 %add = fadd half %tmp, %tmp1
15 ret half %add
Dhalf.ll2 ; Basic smoke test for half type.
4 ; CHECK: define half @halftest
5 define half @halftest(half %A0) {
6 ; CHECK: ret half %A0
7 ret half %A0
Dhalf-conv.ll2 ; Testing half to float conversion.
6 %a = alloca half, align 2
8 store half 0xH4C8D, half* %a, align 2
9 %tmp = load half* %a, align 2
10 %conv = fpext half %tmp to float
/external/llvm/test/CodeGen/Mips/msa/
D2rf_exup.ll7 …8 x half> <half 0.000000e+00, half 1.000000e+00, half 2.000000e+00, half 3.000000e+00, half 4.0000…
12 %0 = load <8 x half>* @llvm_mips_fexupl_w_ARG1
13 %1 = tail call <4 x float> @llvm.mips.fexupl.w(<8 x half> %0)
18 declare <4 x float> @llvm.mips.fexupl.w(<8 x half>) nounwind
45 …8 x half> <half 0.000000e+00, half 1.000000e+00, half 2.000000e+00, half 3.000000e+00, half 4.0000…
50 %0 = load <8 x half>* @llvm_mips_fexupr_w_ARG1
51 %1 = tail call <4 x float> @llvm.mips.fexupr.w(<8 x half> %0)
56 declare <4 x float> @llvm.mips.fexupr.w(<8 x half>) nounwind
D3rf_exdo.ll9 …8 x half> <half 0.000000e+00, half 0.000000e+00, half 0.000000e+00, half 0.000000e+00, half 0.0000…
15 %2 = tail call <8 x half> @llvm.mips.fexdo.h(<4 x float> %0, <4 x float> %1)
16 store <8 x half> %2, <8 x half>* @llvm_mips_fexdo_h_RES
20 declare <8 x half> @llvm.mips.fexdo.h(<4 x float>, <4 x float>) nounwind
/external/llvm/test/Transforms/InstCombine/
Dfpcast.ll17 define half @test3(float %a) {
21 %c = fptrunc float %b to half
22 ret half %c
26 define half @test4(float %a) {
30 %c = fptrunc float %b to half
31 ret half %c
35 define half @test4-fast(float %a) {
39 %c = fptrunc float %b to half
40 ret half %c
44 define half @test5(float %a, float %b, float %c) {
[all …]
/external/eigen/test/
DsparseLM.cpp38 int half = n/2; in model() local
39 VectorBlock<const VectorType> u(uv, 0, half); in model()
40 VectorBlock<const VectorType> v(uv, half, half); in model()
44 for (int i = 0; i < half; i++) in model()
65 int half = n/2; in operator ()() local
66 VectorBlock<const VectorType> u(uv, 0, half); in operator ()()
67 VectorBlock<const VectorType> v(uv, half, half); in operator ()()
72 for (int i = 0; i < half; i++) in operator ()()
90 int half = n/2; in df() local
91 VectorBlock<const VectorType> u(uv, 0, half); in df()
[all …]
DdenseLM.cpp39 int half = n/2; in model() local
40 VectorBlock<const VectorType> u(uv, 0, half); in model()
41 VectorBlock<const VectorType> v(uv, half, half); in model()
44 for (int i = 0; i < half; i++) in model()
64 int half = n/2; in operator ()() local
65 VectorBlock<const VectorType> u(uv, 0, half); in operator ()()
66 VectorBlock<const VectorType> v(uv, half, half); in operator ()()
70 for (int i = 0; i < half; i++) in operator ()()
85 int half = n/2; in df() local
86 VectorBlock<const VectorType> u(uv, 0, half); in df()
[all …]
/external/llvm/test/Bitcode/
DbinaryFloatInstructions.3.2.ll7 define void @fadd(float %x1, double %x2 ,half %x3, fp128 %x4, x86_fp80 %x5, ppc_fp128 %x6){
15 ; CHECK-NEXT: %res3 = fadd half %x3, %x3
16 %res3 = fadd half %x3, %x3
70 define void @faddHalfVec(<2 x half> %x1, <3 x half> %x2 ,<4 x half> %x3, <8 x half> %x4, <16 x half
72 ; CHECK: %res1 = fadd <2 x half> %x1, %x1
73 %res1 = fadd <2 x half> %x1, %x1
75 ; CHECK-NEXT: %res2 = fadd <3 x half> %x2, %x2
76 %res2 = fadd <3 x half> %x2, %x2
78 ; CHECK-NEXT: %res3 = fadd <4 x half> %x3, %x3
79 %res3 = fadd <4 x half> %x3, %x3
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dint-mul-01.ll11 %half = load i16 *%src
12 %rhs = sext i16 %half to i32
23 %half = load i16 *%ptr
24 %rhs = sext i16 %half to i32
35 %half = load i16 *%ptr
36 %rhs = sext i16 %half to i32
47 %half = load i16 *%ptr
48 %rhs = sext i16 %half to i32
61 %half = load i16 *%ptr
62 %rhs = sext i16 %half to i32
[all …]
Dint-add-01.ll11 %half = load i16 *%src
12 %rhs = sext i16 %half to i32
23 %half = load i16 *%ptr
24 %rhs = sext i16 %half to i32
35 %half = load i16 *%ptr
36 %rhs = sext i16 %half to i32
47 %half = load i16 *%ptr
48 %rhs = sext i16 %half to i32
61 %half = load i16 *%ptr
62 %rhs = sext i16 %half to i32
[all …]
Dint-sub-07.ll11 %half = load i16 *%src
12 %rhs = sext i16 %half to i32
23 %half = load i16 *%ptr
24 %rhs = sext i16 %half to i32
35 %half = load i16 *%ptr
36 %rhs = sext i16 %half to i32
47 %half = load i16 *%ptr
48 %rhs = sext i16 %half to i32
61 %half = load i16 *%ptr
62 %rhs = sext i16 %half to i32
[all …]
Dint-cmp-01.ll11 %half = load i16 *%src
12 %rhs = sext i16 %half to i32
25 %half = load i16 *%ptr
26 %rhs = sext i16 %half to i32
39 %half = load i16 *%ptr
40 %rhs = sext i16 %half to i32
53 %half = load i16 *%ptr
54 %rhs = sext i16 %half to i32
69 %half = load i16 *%ptr
70 %rhs = sext i16 %half to i32
[all …]
Dint-cmp-04.ll11 %half = load i16 *%src
12 %rhs = sext i16 %half to i64
25 %half = load i16 *%ptr
26 %rhs = sext i16 %half to i64
41 %half = load i16 *%ptr
42 %rhs = sext i16 %half to i64
55 %half = load i16 *%ptr
56 %rhs = sext i16 %half to i64
69 %half = load i16 *%ptr
70 %rhs = sext i16 %half to i64
[all …]
Dint-conv-05.ll10 %half = trunc i32 %a to i16
11 %ext = sext i16 %half to i32
20 %half = trunc i64 %a to i16
21 %ext = sext i16 %half to i32
30 %half = load i16 *%src
31 %ext = sext i16 %half to i32
41 %half = load i16 *%ptr
42 %ext = sext i16 %half to i32
52 %half = load i16 *%ptr
53 %ext = sext i16 %half to i32
[all …]
Dint-conv-07.ll10 %half = trunc i64 %a to i16
11 %ext = sext i16 %half to i64
20 %half = trunc i32 %a to i16
21 %ext = sext i16 %half to i64
30 %half = load i16 *%src
31 %ext = sext i16 %half to i64
41 %half = load i16 *%ptr
42 %ext = sext i16 %half to i64
54 %half = load i16 *%ptr
55 %ext = sext i16 %half to i64
[all …]
Dint-conv-06.ll11 %half = trunc i32 %a to i16
12 %ext = zext i16 %half to i32
21 %half = trunc i64 %a to i16
22 %ext = zext i16 %half to i32
40 %half = load i16 *%src
41 %ext = zext i16 %half to i32
51 %half = load i16 *%ptr
52 %ext = zext i16 %half to i32
64 %half = load i16 *%ptr
65 %ext = zext i16 %half to i32
[all …]
Dint-conv-08.ll10 %half = trunc i32 %a to i16
11 %ext = zext i16 %half to i64
20 %half = trunc i64 %a to i16
21 %ext = zext i16 %half to i64
39 %half = load i16 *%src
40 %ext = zext i16 %half to i64
50 %half = load i16 *%ptr
51 %ext = zext i16 %half to i64
63 %half = load i16 *%ptr
64 %ext = zext i16 %half to i64
[all …]
/external/fdlibm/
De_cosh.c38 static const double one = 1.0, half=0.5, huge = 1.0e300; variable
40 static double one = 1.0, half=0.5, huge = 1.0e300; variable
72 return half*t+half/t;
76 if (ix < 0x40862E42) return half*__ieee754_exp(ieee_fabs(x));
82 w = __ieee754_exp(half*ieee_fabs(x));
83 t = half*w;
/external/clang/test/CodeGenOpenCL/
Dhalf.cl6 half test()
8 half x = 0.1f;
11 half y = x + x;
12 half z = y * 1.0f;
14 // CHECK: half 0xH3260
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/
DSorterTemplate.java147 int half = len / 2; in lower() local
148 int mid= lo + half; in lower()
151 len = len - half -1; in lower()
153 len = half; in lower()
162 int half = len / 2; in upper() local
163 int mid = lo + half; in upper()
165 len = half; in upper()
168 len = len - half -1; in upper()
/external/llvm/test/CodeGen/AArch64/
Dfloatdp_1source.ll3 @varhalf = global half 0.0
109 %val16 = load volatile half* @varhalf
113 %val16to32 = fpext half %val16 to float
117 %val16to64 = fpext half %val16 to double
121 %val32to16 = fptrunc float %val32 to half
122 store volatile half %val32to16, half* @varhalf
129 %val64to16 = fptrunc double %val64 to half
130 store volatile half %val64to16, half* @varhalf
/external/dexmaker/src/dx/java/com/android/dx/util/
DByteArrayAnnotatedOutput.java220 int half = (int) value; in writeLong() local
221 data[writeAt] = (byte) half; in writeLong()
222 data[writeAt + 1] = (byte) (half >> 8); in writeLong()
223 data[writeAt + 2] = (byte) (half >> 16); in writeLong()
224 data[writeAt + 3] = (byte) (half >> 24); in writeLong()
226 half = (int) (value >> 32); in writeLong()
227 data[writeAt + 4] = (byte) half; in writeLong()
228 data[writeAt + 5] = (byte) (half >> 8); in writeLong()
229 data[writeAt + 6] = (byte) (half >> 16); in writeLong()
230 data[writeAt + 7] = (byte) (half >> 24); in writeLong()
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/arm64/
DComplexToRealFixup.S96 #define half v0.2s macro
157 fmov half, #0.5
188 fmul dT0,dT0,half[0]
189 fmul dT1,dT1,half[0]
211 fmul dX1r,qT0,half[0]
212 fmul dX1i,qT1,half[0]
222 fmul dX0r,qT2,half[0]
223 fmul dX0i,qT3,half[0]

12345678910>>...15