aoc_2023/day14/target/debug/build/num-traits-4e549b0f2cc952ec/out/probe1.ll

42 lines
1.6 KiB
LLVM
Raw Permalink Normal View History

2023-12-16 12:11:05 -05:00
; ModuleID = 'probe1.98c39414-cgu.0'
source_filename = "probe1.98c39414-cgu.0"
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.7.0"
; core::f64::<impl f64>::to_int_unchecked
; Function Attrs: inlinehint uwtable
define i32 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$16to_int_unchecked17h6815dc8271cc8865E"(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_unchecked17hb4b4f2c295a40fa9E"(double %self)
ret i32 %0
}
; <f64 as core::convert::num::FloatToInt<i32>>::to_int_unchecked
; Function Attrs: inlinehint uwtable
define internal i32 @"_ZN65_$LT$f64$u20$as$u20$core..convert..num..FloatToInt$LT$i32$GT$$GT$16to_int_unchecked17hb4b4f2c295a40fa9E"(double %self) unnamed_addr #0 {
start:
%0 = alloca i32, align 4
%1 = fptosi double %self to i32
store i32 %1, ptr %0, align 4
%2 = load i32, ptr %0, align 4, !noundef !1
ret i32 %2
}
; probe1::probe
; Function Attrs: uwtable
define void @_ZN6probe15probe17h8ec139a6c12e9110E() unnamed_addr #1 {
start:
; call core::f64::<impl f64>::to_int_unchecked
%_1 = call i32 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$16to_int_unchecked17h6815dc8271cc8865E"(double 1.000000e+00)
ret void
}
attributes #0 = { inlinehint uwtable "frame-pointer"="all" "probe-stack"="__rust_probestack" "target-cpu"="core2" }
attributes #1 = { uwtable "frame-pointer"="all" "probe-stack"="__rust_probestack" "target-cpu"="core2" }
!llvm.module.flags = !{!0}
!0 = !{i32 7, !"PIC Level", i32 2}
!1 = !{}