4 declare float @llvm.sqrt.f32(float)
6 declare double @llvm.sqrt.f64(double)
8 define double @test_sqrt(float %F) {
9 %G = call float @llvm.sqrt.f32( float %F ) ; <float> [#uses=1]
10 %H = fpext float %G to double ; <double> [#uses=1]
11 %I = call double @llvm.sqrt.f64( double %H ) ; <double> [#uses=1]
17 declare float @sinf(float)
19 declare double @sin(double)
21 define double @test_sin(float %F) {
22 %G = call float @sinf( float %F ) ; <float> [#uses=1]
23 %H = fpext float %G to double ; <double> [#uses=1]
24 %I = call double @sin( double %H ) ; <double> [#uses=1]
30 declare float @cosf(float)
32 declare double @cos(double)
34 define double @test_cos(float %F) {
35 %G = call float @cosf( float %F ) ; <float> [#uses=1]
36 %H = fpext float %G to double ; <double> [#uses=1]
37 %I = call double @cos( double %H ) ; <double> [#uses=1]