/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | cos-intrinsic.ll | 4 declare double @llvm.cos.f64(double %Val) 5 declare float @llvm.cos.f32(float %Val) 6 declare <2 x float> @llvm.cos.v2f32(<2 x float> %Val) 15 %r = call double @llvm.cos.f64(double undef) 21 ; CHECK-NEXT: [[COSVAL:%.*]] = call float @llvm.cos.f32(float [[D:%.*]]) 25 %cosval = call float @llvm.cos.f32(float %d) 26 %cosval2 = call float @llvm.cos.f32(float undef) 33 ; CHECK-NEXT: [[COS:%.*]] = call float @llvm.cos.f32(float [[X:%.*]]) 37 %cos = call float @llvm.cos.f32(float %x.fneg) 38 ret float %cos [all …]
|
D | cos-1.ll | 1 ; Test that the cos library call simplifier works correctly. 8 declare double @cos(double) 10 ; Check cos(-x) -> cos(x); 15 %cos = call double @cos(double %neg) 16 ; NO-FLOAT-SHRINK: call double @cos(double %d) 17 ret double %cos 24 %cos = call double @cos(double %neg) 25 %conv2 = fptrunc double %cos to float 34 %cos = call double @cos(double %neg) 35 ; NO-FLOAT-SHRINK: call double @cos(double %conv1) [all …]
|
D | fdiv-sin-cos.ll | 7 ; CHECK-NEXT: [[TMP2:%.*]] = call double @llvm.cos.f64(double [[A]]) 12 %2 = call double @llvm.cos.f64(double %a) 20 ; CHECK-NEXT: [[TMP2:%.*]] = call reassoc double @llvm.cos.f64(double [[A]]) 25 %2 = call reassoc double @llvm.cos.f64(double %a) 36 %2 = call double @llvm.cos.f64(double %a) 47 %2 = call double @llvm.cos.f64(double %a) 55 ; CHECK-NEXT: [[TMP2:%.*]] = call reassoc double @llvm.cos.f64(double [[A]]) 61 %2 = call reassoc double @llvm.cos.f64(double %a) 73 %2 = call reassoc double @llvm.cos.f64(double %a) 84 %2 = call reassoc float @llvm.cos.f32(float %a) [all …]
|
D | fdiv-cos-sin.ll | 6 ; CHECK-NEXT: [[TMP1:%.*]] = call double @llvm.cos.f64(double [[A:%.*]]) 11 %1 = call double @llvm.cos.f64(double %a) 19 ; CHECK-NEXT: [[TMP1:%.*]] = call double @llvm.cos.f64(double [[A:%.*]]) 24 %1 = call double @llvm.cos.f64(double %a) 36 %1 = call double @llvm.cos.f64(double %a) 48 %1 = call reassoc double @llvm.cos.f64(double %a) 56 ; CHECK-NEXT: [[TMP1:%.*]] = call reassoc double @llvm.cos.f64(double [[A:%.*]]) 62 %1 = call reassoc double @llvm.cos.f64(double %a) 75 %1 = call reassoc double @llvm.cos.f64(double %a) 87 %1 = call reassoc float @llvm.cos.f32(float %a) [all …]
|
D | cos-2.ll | 5 declare float @cos(double) 13 %cos = call float @cos(double %neg) 14 ; CHECK: call float @cos(double %neg) 15 ret float %cos
|
/external/llvm/test/Transforms/InstCombine/ |
D | cos-1.ll | 1 ; Test that the cos library call simplifier works correctly. 8 declare double @cos(double) 10 ; Check cos(-x) -> cos(x); 15 %cos = call double @cos(double %neg) 16 ; NO-FLOAT-SHRINK: call double @cos(double %d) 17 ret double %cos 24 %cos = call double @cos(double %neg) 25 %conv2 = fptrunc double %cos to float 34 %cos = call double @cos(double %neg) 35 ; NO-FLOAT-SHRINK: call double @cos(double %conv1) [all …]
|
D | cos-intrinsic.ll | 2 ; This test makes sure that the undef is propagated for the cos instrinsic 4 declare double @llvm.cos.f64(double %Val) 5 declare float @llvm.cos.f32(float %Val) 11 %1 = call double @llvm.cos.f64(double undef) 19 ; CHECK-NEXT: %cosval = call float @llvm.cos.f32(float %d) 20 %cosval = call float @llvm.cos.f32(float %d) 21 %cosval2 = call float @llvm.cos.f32(float undef)
|
D | cos-2.ll | 5 declare float @cos(double) 13 %cos = call float @cos(double %neg) 14 ; CHECK: call float @cos(double %neg) 15 ret float %cos
|
D | sincospi.ll | 23 %cos = call float @__cospif(float %val) #0 24 %res = fadd float %sin, %cos 42 %cos = call float @__cospif(float 1.0) #0 43 %res = fadd float %sin, %cos 60 %cos = call double @__cospi(double %val) #0 61 %res = fadd double %sin, %cos 79 %cos = call double @__cospi(double 1.0) #0 80 %res = fadd double %sin, %cos 96 %cos = call double %fptr(double %p1) 97 %res = fadd double %sin, %cos
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | sincos-expansion.ll | 6 %cos = call float @cosf(float %f) readnone 8 %val = fadd float %sin, %cos 15 %cos = call float @cosf(float %f) 18 %val = fadd float %sin, %cos 25 %cos = call double @cos(double %f) readnone 26 %val = fadd double %sin, %cos 34 %cos = call double @cos(double %f) 35 %val = fadd double %sin, %cos 37 ; CHECK: bl cos 44 %cos = call fp128 @cosl(fp128 %f) readnone [all …]
|
D | sincospow-vector-expansion.ll | 6 ; CHECK: bl cos 7 ; CHECK: bl cos 8 %1 = call <2 x double> @llvm.cos.v2f64(<2 x double> %v1) 31 declare <2 x double> @llvm.cos.v2f64(<2 x double>) 37 ; CHECK: bl cos 38 ; CHECK: bl cos 39 %1 = call <2 x float> @llvm.cos.v2f32(<2 x float> %v1) 59 declare <2 x float> @llvm.cos.v2f32(<2 x float>) 65 ; CHECK: bl cos 66 ; CHECK: bl cos [all …]
|
/external/flac/libFLAC/ |
D | window.c | 71 …window[n] = (FLAC__real)(0.62f - 0.48f * fabs((float)n/(float)N-0.5f) - 0.38f * cos(2.0f * M_PI * … in FLAC__window_bartlett_hann() 80 …window[n] = (FLAC__real)(0.42f - 0.5f * cos(2.0f * M_PI * n / N) + 0.08f * cos(4.0f * M_PI * n / N… in FLAC__window_blackman() 90 …= (FLAC__real)(0.35875f - 0.48829f * cos(2.0f * M_PI * n / N) + 0.14128f * cos(4.0f * M_PI * n / N… in FLAC__window_blackman_harris_4term_92db_sidelobe() 112 …real)(1.0f - 1.93f * cos(2.0f * M_PI * n / N) + 1.29f * cos(4.0f * M_PI * n / N) - 0.388f * cos(6.… in FLAC__window_flattop() 133 window[n] = (FLAC__real)(0.54f - 0.46f * cos(2.0f * M_PI * n / N)); in FLAC__window_hamming() 142 window[n] = (FLAC__real)(0.5f - 0.5f * cos(2.0f * M_PI * n / N)); in FLAC__window_hann() 151 …ow[n] = (FLAC__real)(0.402f - 0.498f * cos(2.0f * M_PI * n / N) + 0.098f * cos(4.0f * M_PI * n / N… in FLAC__window_kaiser_bessel() 160 …[n] = (FLAC__real)(0.3635819f - 0.4891775f*cos(2.0f*M_PI*n/N) + 0.1365995f*cos(4.0f*M_PI*n/N) - 0.… in FLAC__window_nuttall() 203 window[n] = (FLAC__real)(0.5f - 0.5f * cos(M_PI * n / Np)); in FLAC__window_tukey() 204 window[L-Np-1+n] = (FLAC__real)(0.5f - 0.5f * cos(M_PI * (n+Np) / Np)); in FLAC__window_tukey() [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | sincos-expansion.ll | 5 %cos = call float @cosf(float %f) readnone 8 %val = fadd float %sin, %cos 14 %cos = call double @cos(double %f) readnone 15 %val = fadd double %sin, %cos 17 ; CHECK: bl cos 23 %cos = call fp128 @cosl(fp128 %f) readnone 24 %val = fadd fp128 %sin, %cos 34 declare double @cos(double) readonly
|
D | sincospow-vector-expansion.ll | 6 ; CHECK: bl cos 7 ; CHECK: bl cos 8 %1 = call <2 x double> @llvm.cos.v2f64(<2 x double> %v1) 31 declare <2 x double> @llvm.cos.v2f64(<2 x double>) 37 ; CHECK: bl cos 38 ; CHECK: bl cos 39 %1 = call <2 x float> @llvm.cos.v2f32(<2 x float> %v1) 59 declare <2 x float> @llvm.cos.v2f32(<2 x float>) 65 ; CHECK: bl cos 66 ; CHECK: bl cos [all …]
|
/external/skqp/gm/ |
D | strokedlines.cpp | 25 SkScalar cos, sin; in draw_fins() local 28 sin = SkScalarSinCos(angle + (SK_ScalarPI/4), &cos); in draw_fins() 30 cos *= kRadius / 2.0f; in draw_fins() 34 p.lineTo(offset.fX + cos, offset.fY + sin); in draw_fins() 38 sin = SkScalarSinCos(angle - (SK_ScalarPI/4), &cos); in draw_fins() 40 cos *= kRadius / 2.0f; in draw_fins() 44 p.lineTo(offset.fX + cos, offset.fY + sin); in draw_fins() 53 SkScalar sin, cos, angle = 0.0f; in draw_snowflake() local 55 sin = SkScalarSinCos(angle, &cos); in draw_snowflake() 57 cos *= kRadius; in draw_snowflake() [all …]
|
/external/skia/gm/ |
D | strokedlines.cpp | 25 SkScalar cos, sin; in draw_fins() local 28 sin = SkScalarSinCos(angle + (SK_ScalarPI/4), &cos); in draw_fins() 30 cos *= kRadius / 2.0f; in draw_fins() 34 p.lineTo(offset.fX + cos, offset.fY + sin); in draw_fins() 38 sin = SkScalarSinCos(angle - (SK_ScalarPI/4), &cos); in draw_fins() 40 cos *= kRadius / 2.0f; in draw_fins() 44 p.lineTo(offset.fX + cos, offset.fY + sin); in draw_fins() 53 SkScalar sin, cos, angle = 0.0f; in draw_snowflake() local 55 sin = SkScalarSinCos(angle, &cos); in draw_snowflake() 57 cos *= kRadius; in draw_snowflake() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | llvm.cos.ll | 15 %cos = call float @llvm.cos.f32(float %x) 16 store float %cos, float addrspace(1)* %out 33 %cos = call <4 x float> @llvm.cos.v4f32(<4 x float> %vx) 34 store <4 x float> %cos, <4 x float> addrspace(1)* %out 38 declare float @llvm.cos.f32(float) readnone 39 declare <4 x float> @llvm.cos.v4f32(<4 x float>) readnone
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | llvm.cos.ll | 15 %cos = call float @llvm.cos.f32(float %x) 16 store float %cos, float addrspace(1)* %out 33 %cos = call <4 x float> @llvm.cos.v4f32(<4 x float> %vx) 34 store <4 x float> %cos, <4 x float> addrspace(1)* %out 38 declare float @llvm.cos.f32(float) readnone 39 declare <4 x float> @llvm.cos.v4f32(<4 x float>) readnone
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/DCE/ |
D | calls-errno.ll | 8 declare double @cos(double) nounwind 68 ; cos(0) is 1 69 %cos1 = call double @cos(double 0.000000e+00) 71 ; cos(inf) is a domain error 72 ; CHECK-NEXT: %cos2 = call double @cos(double 0x7FF0000000000000) 73 %cos2 = call double @cos(double 0x7FF0000000000000) 75 ; cos(0) nobuiltin may have side effects 76 ; CHECK-NEXT: %cos3 = call double @cos(double 0.000000e+00) 77 %cos3 = call double @cos(double 0.000000e+00) nobuiltin 79 ; cos(1) strictfp sets FP status flags [all …]
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | CipherOutputStreamTest.java | 109 CipherOutputStream cos = new CipherOutputStream(os, cipher); in testEncrypt() local 110 cos.write(t.pt); in testEncrypt() 111 cos.close(); in testEncrypt() 123 CipherOutputStream cos = new CipherOutputStream(os, cipher); in testDecrypt() local 124 cos.write(t.ct); in testDecrypt() 125 cos.close(); in testDecrypt() 139 CipherOutputStream cos = new CipherOutputStream(os, cipher); in testCorruptDecrypt() local 140 cos.write(ct); in testCorruptDecrypt() 143 cos.close(); in testCorruptDecrypt() 170 CipherOutputStream cos = new CipherOutputStream(os, cipher); in testCorruptDecryptEmpty() local [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/XCore/ |
D | cos.ll | 3 ; RUN: grep "bl cos" %t1.s | count 2 4 declare double @llvm.cos.f64(double) 7 %result = call double @llvm.cos.f64(double %F) 11 declare float @llvm.cos.f32(float) 14 %result = call float @llvm.cos.f32(float %F)
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
D | StemFunction.h | 29 using std::cos; in stem_function_cos() 35 res = std::cos(x); in stem_function_cos() 41 res = -std::cos(x); in stem_function_cos() 54 using std::cos; in stem_function_sin() 63 res = std::cos(x); in stem_function_sin() 69 res = -std::cos(x); in stem_function_sin()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AVR/ |
D | runtime-trig.ll | 3 ; Checks that `sin` and `cos` nodes are expanded into calls to 4 ; the `sin` and `cos` runtime library functions. 9 declare float @llvm.cos.f32(float %x) 19 ; CHECK: {{cos$}} 21 %result = call float @llvm.cos.f32(float %a)
|
/external/skqp/tests/ |
D | TracingTest.cpp | 129 SkScalar cos; in test_trace_counters() local 130 SkScalar sin = SkScalarSinCos(rad, &cos); in test_trace_counters() 132 TRACE_COUNTER1("skia", "cos", cos * 1000.0f + 1000.0f); in test_trace_counters() 144 SkScalar cos; in test_trace_counters() local 145 SkScalar sin = SkScalarSinCos(rad, &cos); in test_trace_counters() 148 "cos", cos * 1000.0f + 1000.0f); in test_trace_counters()
|
/external/skia/tests/ |
D | TracingTest.cpp | 129 SkScalar cos; in test_trace_counters() local 130 SkScalar sin = SkScalarSinCos(rad, &cos); in test_trace_counters() 132 TRACE_COUNTER1("skia", "cos", cos * 1000.0f + 1000.0f); in test_trace_counters() 144 SkScalar cos; in test_trace_counters() local 145 SkScalar sin = SkScalarSinCos(rad, &cos); in test_trace_counters() 148 "cos", cos * 1000.0f + 1000.0f); in test_trace_counters()
|