-void %libm() {
- call bool %llvm.isunordered(float 0.0, float 1.0)
- call bool %llvm.isunordered(double 0.0, double 0x7FF8000000000000)
- call bool %llvm.isunordered.f32(float 1.0, float 2.0)
- call bool %llvm.isunordered.f64(double 3.0, double 4.0)
-
- call void %llvm.prefetch(sbyte* null, uint 1, uint 3)
-
- call float %llvm.sqrt(float 4.0)
- call double %llvm.sqrt(double 4.0)
- call float %llvm.sqrt.f32(float 5.0)
- call double %llvm.sqrt.f64(double 6.0)
-
- call uint %llvm.ctpop(uint 3)
- call ubyte %llvm.ctpop.i8(ubyte 10)
- call ushort %llvm.ctpop.i16(ushort 11)
- call uint %llvm.ctpop.i32(uint 12)
- call ulong %llvm.ctpop.i64(ulong 13)
-
- call ulong %llvm.ctlz(ulong 65000)
- call ubyte %llvm.ctlz.i8(ubyte 14)
- call ushort %llvm.ctlz.i16(ushort 15)
- call uint %llvm.ctlz.i32(uint 16)
- call ulong %llvm.ctlz.i64(ulong 17)
-
- call ushort %llvm.cttz(ushort 7)
- call ubyte %llvm.cttz.i8(ubyte 18)
- call ushort %llvm.cttz.i16(ushort 19)
- call uint %llvm.cttz.i32(uint 20)
- call ulong %llvm.cttz.i64(ulong 21)
- ret void
+define void @libm() {
+ fcmp uno float 1.000000e+00, 2.000000e+00 ; <i1>:1 [#uses=0]
+ fcmp uno double 3.000000e+00, 4.000000e+00 ; <i1>:2 [#uses=0]
+ call float @llvm.sqrt.f32( float 5.000000e+00 ) ; <float>:3 [#uses=0]
+ call double @llvm.sqrt.f64( double 6.000000e+00 ) ; <double>:4 [#uses=0]
+ call i8 @llvm.ctpop.i8( i8 10 ) ; <i32>:5 [#uses=0]
+ call i16 @llvm.ctpop.i16( i16 11 ) ; <i32>:6 [#uses=0]
+ call i32 @llvm.ctpop.i32( i32 12 ) ; <i32>:7 [#uses=0]
+ call i64 @llvm.ctpop.i64( i64 13 ) ; <i32>:8 [#uses=0]
+ call i8 @llvm.ctlz.i8( i8 14, i1 true ) ; <i32>:9 [#uses=0]
+ call i16 @llvm.ctlz.i16( i16 15, i1 true ) ; <i32>:10 [#uses=0]
+ call i32 @llvm.ctlz.i32( i32 16, i1 true ) ; <i32>:11 [#uses=0]
+ call i64 @llvm.ctlz.i64( i64 17, i1 true ) ; <i32>:12 [#uses=0]
+ call i8 @llvm.cttz.i8( i8 18, i1 true ) ; <i32>:13 [#uses=0]
+ call i16 @llvm.cttz.i16( i16 19, i1 true ) ; <i32>:14 [#uses=0]
+ call i32 @llvm.cttz.i32( i32 20, i1 true ) ; <i32>:15 [#uses=0]
+ call i64 @llvm.cttz.i64( i64 21, i1 true ) ; <i32>:16 [#uses=0]
+ ret void