Files
lsplus/target/debug/build/num-traits-122e84a52b5cedf6/out/probe1.ll
Guilleag01 8a690d0082 minor fix
2023-11-09 18:13:32 +01:00

45 lines
1.8 KiB
LLVM

; ModuleID = 'probe1.a5527c7b950905b5-cgu.0'
source_filename = "probe1.a5527c7b950905b5-cgu.0"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; core::f64::<impl f64>::to_int_unchecked
; Function Attrs: inlinehint nonlazybind uwtable
define i32 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$16to_int_unchecked17h400e21dda1e4b34aE"(double %self) unnamed_addr #0 {
start:
; call <f64 as core::convert::num::FloatToInt<i32>>::to_int_unchecked
%_0 = call i32 @"_ZN65_$LT$f64$u20$as$u20$core..convert..num..FloatToInt$LT$i32$GT$$GT$16to_int_unchecked17hc258d81c8717fc41E"(double %self)
ret i32 %_0
}
; <f64 as core::convert::num::FloatToInt<i32>>::to_int_unchecked
; Function Attrs: inlinehint nonlazybind uwtable
define internal i32 @"_ZN65_$LT$f64$u20$as$u20$core..convert..num..FloatToInt$LT$i32$GT$$GT$16to_int_unchecked17hc258d81c8717fc41E"(double %self) unnamed_addr #0 {
start:
%0 = alloca i32, align 4
%1 = fptosi double %self to i32
store i32 %1, ptr %0, align 4
%_0 = load i32, ptr %0, align 4, !noundef !3
ret i32 %_0
}
; probe1::probe
; Function Attrs: nonlazybind uwtable
define void @_ZN6probe15probe17h2ee6fead2a89fb5fE() unnamed_addr #1 {
start:
; call core::f64::<impl f64>::to_int_unchecked
%_1 = call i32 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$16to_int_unchecked17h400e21dda1e4b34aE"(double 1.000000e+00)
ret void
}
attributes #0 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #1 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
!llvm.module.flags = !{!0, !1}
!llvm.ident = !{!2}
!0 = !{i32 8, !"PIC Level", i32 2}
!1 = !{i32 2, !"RtLibUseGOT", i32 1}
!2 = !{!"rustc version 1.73.0 (cc66ad468 2023-10-03)"}
!3 = !{}