Searched refs:nearbyint (Results 1 – 25 of 64) sorted by relevance
123
8 declare float @llvm.nearbyint.f32(float) #09 declare <2 x float> @llvm.nearbyint.v2f32(<2 x float>) #010 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float>) #011 declare double @llvm.nearbyint.f64(double) #012 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double>) #013 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double>) #018 %0 = call float @llvm.nearbyint.f32(float %in)25 %0 = call <2 x float> @llvm.nearbyint.v2f32(<2 x float> %in)32 %0 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %in)39 %0 = call double @llvm.nearbyint.f64(double %in)[all …]
75 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p)78 %t = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p)82 ; CHECK: bl nearbyint83 ; CHECK: bl nearbyint85 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p)88 %t = call <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p)92 ; CHECK: bl nearbyint93 ; CHECK: bl nearbyint94 ; CHECK: bl nearbyint95 ; CHECK: bl nearbyint[all …]
33 %call = tail call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %x) nounwind readnone43 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float>) nounwind readnone46 %call = tail call <4 x double> @llvm.nearbyint.v4f64(<4 x double> %x) nounwind readnone56 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double>) nounwind readnone
63 unsigned int x = nearbyint(finvsRGB(i)); in invsRGB()131 calc = nearbyint((lo+adjust) * 256); in main()140 calc = nearbyint((hi-lo) * 32); in main()155 unsigned int iexact = nearbyint(255*sRGB(i)); in main()227 unsigned int iexact = nearbyint(255*sRGB(i)); in main()308 unsigned int iexact = nearbyint(255*sRGB(i)); in main()340 unsigned int iexact = nearbyint(255*sRGB(i)); in main()365 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
169 for (i=0; i<channels; ++i) c[i] = nearbyint(c[i] * 65535); in main()178 for (i=0; i<channels; ++i) c[i] = nearbyint(c[i] * 255); in main()
37 ; Test nearbyint for f32.38 declare float @llvm.nearbyint.f32(float %f)43 %res = call float @llvm.nearbyint.f32(float %f)47 ; Test nearbyint for f64.48 declare double @llvm.nearbyint.f64(double %f)51 ; CHECK: brasl %r14, nearbyint@PLT53 %res = call double @llvm.nearbyint.f64(double %f)57 ; Test nearbyint for f128: omitted for now because we cannot handle
41 ; Test nearbyint for f32.42 declare float @llvm.nearbyint.f32(float %f)47 %res = call float @llvm.nearbyint.f32(float %f)51 ; Test nearbyint for f64.52 declare double @llvm.nearbyint.f64(double %f)57 %res = call double @llvm.nearbyint.f64(double %f)61 ; Test nearbyint for f128.62 declare fp128 @llvm.nearbyint.f128(fp128 %f)68 %res = call fp128 @llvm.nearbyint.f128(fp128 %src)
6 declare double @llvm.nearbyint.f64(double)12 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double>)30 %res = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> %val)80 %res = call double @llvm.nearbyint.f64(double %scalar)
104 ; CHECK: test_v2f32.nearbyint:105 define %v2f32 @test_v2f32.nearbyint(%v2f32 %a) {106 ; CHECK: nearbyint107 %1 = call %v2f32 @llvm.nearbyint.v2f32(%v2f32 %a)127 declare %v2f32 @llvm.nearbyint.v2f32(%v2f32) #0228 ; CHECK: test_v4f32.nearbyint:229 define %v4f32 @test_v4f32.nearbyint(%v4f32 %a) {230 ; CHECK: nearbyint231 %1 = call %v4f32 @llvm.nearbyint.v4f32(%v4f32 %a)251 declare %v4f32 @llvm.nearbyint.v4f32(%v4f32) #0[all …]
82 ; SP: b nearbyint86 %call = call double @nearbyint(double %a) nounwind readnone116 declare double @nearbyint(double) nounwind readnone
39 nearbyint(1234.0): 1234.00000040 nearbyint(1234.01): 1235.00000048 nearbyint(1234.01): 1234.000000
77 printf("nearbyint(1234.0): %f\n", nearbyint(1234.0)); in main()78 printf("nearbyint(1234.01): %f\n", nearbyint(1234.01)); in main()92 printf("nearbyint(1234.01): %f\n", nearbyint(1234.01)); in main()
70 %res = call <16 x float> @llvm.nearbyint.v16f32(<16 x float> %a)73 declare <16 x float> @llvm.nearbyint.v16f32(<16 x float> %p)78 %res = call <8 x double> @llvm.nearbyint.v8f64(<8 x double> %a)81 declare <8 x double> @llvm.nearbyint.v8f64(<8 x double> %p)86 %res = call double @llvm.nearbyint.f64(double %a)89 declare double @llvm.nearbyint.f64(double %p)
152 %t = call <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p)155 declare <2 x double> @llvm.nearbyint.v2f64(<2 x double> %p)161 %t = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %p)164 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float> %p)170 %t = call <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p)173 declare <4 x double> @llvm.nearbyint.v4f64(<4 x double> %p)179 %t = call <8 x float> @llvm.nearbyint.v8f32(<8 x float> %p)182 declare <8 x float> @llvm.nearbyint.v8f32(<8 x float> %p)
44 %call = tail call double @nearbyint(double %x) nounwind readnone54 declare double @nearbyint(double) nounwind readnone
133 %res = call double @llvm.nearbyint.f64(double %a)136 declare double @llvm.nearbyint.f64(double %p)
102 ; CHECK: test_v2f32.nearbyint:103 define %v2f32 @test_v2f32.nearbyint(%v2f32 %a) {105 %1 = call %v2f32 @llvm.nearbyint.v2f32(%v2f32 %a)125 declare %v2f32 @llvm.nearbyint.v2f32(%v2f32) #0226 ; CHECK: test_v4f32.nearbyint:227 define %v4f32 @test_v4f32.nearbyint(%v4f32 %a) {229 %1 = call %v4f32 @llvm.nearbyint.v4f32(%v4f32 %a)249 declare %v4f32 @llvm.nearbyint.v4f32(%v4f32) #0350 ; CHECK: test_v2f64.nearbyint:351 define %v2f64 @test_v2f64.nearbyint(%v2f64 %a) {[all …]
26 declare double @nearbyint(double) readonly99 %valnearbyint = call double @nearbyint(double %val1)
39 %call = tail call double @nearbyint(double %a) nounwind readnone43 declare double @nearbyint(double) nounwind readnone
18 ; C89-SIMPLIFY: call double @nearbyint(23 ; DONT-SIMPLIFY: call double @nearbyint(30 declare double @nearbyint(double)61 %E = call double @nearbyint(double %D)
43 %2 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float> %wide.load)53 … an estimated cost of 46 for instruction: %2 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float…56 …d an estimated cost of 1 for instruction: %2 = call <4 x float> @llvm.nearbyint.v4f32(<4 x float…60 declare <4 x float> @llvm.nearbyint.v4f32(<4 x float>) nounwind readnone
84 declare float @llvm.nearbyint.f32(float) nounwind readnone115 ; CHECK: nearbyint116 ; CHECK-NOT: nearbyint117 %f0 = call float @llvm.nearbyint.f32(float %a)118 %f1 = call float @llvm.nearbyint.f32(float %f0)
177 declare double @llvm.nearbyint.f64(double %Val)180 ; SOFT: {{(bl|b)}} nearbyint181 ; VFP4: b nearbyint183 %1 = call double @llvm.nearbyint.f64(double %a)