5 declare float @llvm.sqrt.f32(float)
7 declare double @llvm.sqrt.f64(double)
9 define double @test_sqrt(float %F) {
10 %G = call float @llvm.sqrt.f32( float %F ) ; <float> [#uses=1]
11 %H = fpext float %G to double ; <double> [#uses=1]
12 %I = call double @llvm.sqrt.f64( double %H ) ; <double> [#uses=1]
18 declare float @sinf(float) readonly
20 declare double @sin(double) readonly
22 define double @test_sin(float %F) {
23 %G = call float @sinf( float %F ) ; <float> [#uses=1]
24 %H = fpext float %G to double ; <double> [#uses=1]
25 %I = call double @sin( double %H ) ; <double> [#uses=1]
31 declare float @cosf(float) readonly
33 declare double @cos(double) readonly
35 define double @test_cos(float %F) {
36 %G = call float @cosf( float %F ) ; <float> [#uses=1]
37 %H = fpext float %G to double ; <double> [#uses=1]
38 %I = call double @cos( double %H ) ; <double> [#uses=1]
42 declare i8* @llvm.launder.invariant.group(i8*)
44 define i8* @launder(i8* %p) {
45 %q = call i8* @llvm.launder.invariant.group(i8* %p)
49 declare i8* @llvm.strip.invariant.group(i8*)
51 define i8* @strip(i8* %p) {
52 %q = call i8* @llvm.strip.invariant.group(i8* %p)
59 declare void @llvm.sideeffect()
61 define void @test_sideeffect() {
62 call void @llvm.sideeffect()