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

56 lines
1.9 KiB
LLVM
Raw Normal View History

2023-12-16 12:11:05 -05:00
; ModuleID = 'probe5.055fc8c7-cgu.0'
source_filename = "probe5.055fc8c7-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>::is_subnormal
; Function Attrs: inlinehint uwtable
define internal zeroext i1 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$12is_subnormal17h70f5dcc2854ca343E"(double %self) unnamed_addr #0 {
start:
%_2 = alloca i8, align 1
%0 = alloca i8, align 1
; call core::f64::<impl f64>::classify
%1 = call i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$8classify17h5bfa15b7445c5f85E"(double %self), !range !1
store i8 %1, ptr %_2, align 1
%2 = load i8, ptr %_2, align 1, !range !1, !noundef !2
%_3 = zext i8 %2 to i64
%3 = icmp eq i64 %_3, 3
br i1 %3, label %bb3, label %bb2
bb3: ; preds = %start
store i8 1, ptr %0, align 1
br label %bb4
bb2: ; preds = %start
store i8 0, ptr %0, align 1
br label %bb4
bb4: ; preds = %bb3, %bb2
%4 = load i8, ptr %0, align 1, !range !3, !noundef !2
%5 = trunc i8 %4 to i1
ret i1 %5
}
; probe5::probe
; Function Attrs: uwtable
define void @_ZN6probe55probe17haaec5898f4954077E() unnamed_addr #1 {
start:
; call core::f64::<impl f64>::is_subnormal
%_1 = call zeroext i1 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$12is_subnormal17h70f5dcc2854ca343E"(double 1.000000e+00)
ret void
}
; core::f64::<impl f64>::classify
; Function Attrs: uwtable
declare i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$8classify17h5bfa15b7445c5f85E"(double) unnamed_addr #1
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 = !{i8 0, i8 5}
!2 = !{}
!3 = !{i8 0, i8 2}