Lines Matching full:exp2
1 ; Test that the exp2 library call simplifier works correctly.
9 declare double @exp2(double)
12 ; Check exp2(sitofp(x)) -> ldexp(1.0, sext(x)).
17 %ret = call double @exp2(double %conv)
25 %ret = call double @exp2(double %conv)
33 %ret = call double @exp2(double %conv)
46 ; Check exp2(uitofp(x)) -> ldexp(1.0, zext(x)).
51 %ret = call double @exp2(double %conv)
52 ; CHECK: call double @exp2
59 %ret = call double @exp2(double %conv)
67 %ret = call double @exp2(double %conv)
80 declare double @llvm.exp2.f64(double)
81 declare float @llvm.exp2.f32(float)
86 %ret = call double @llvm.exp2.f64(double %conv)
95 %ret = call float @llvm.exp2.f32(float %conv)