2024-11-14 00:10:08 +03:00

85 lines
3.2 KiB
LLVM

; ModuleID = 'autocfg_bd14de7d0e879245_1.48374ee09977cb70-cgu.0'
source_filename = "autocfg_bd14de7d0e879245_1.48374ee09977cb70-cgu.0"
target datalayout = "e-m:e-p:64:64-i64:64-n32:64-S128"
target triple = "sbf"
@alloc_f93507f8ba4b5780b14b2c2584609be0 = private unnamed_addr constant <{ [8 x i8] }> <{ [8 x i8] c"\00\00\00\00\00\00\F0?" }>, align 8
@alloc_ef0a1f828f3393ef691f2705e817091c = private unnamed_addr constant <{ [8 x i8] }> <{ [8 x i8] c"\00\00\00\00\00\00\00@" }>, align 8
; core::f64::<impl f64>::total_cmp
; Function Attrs: inlinehint nounwind
define internal i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17h2e33e7703104bbb7E"(ptr align 8 %self, ptr align 8 %other) unnamed_addr #0 {
start:
%right = alloca i64, align 8
%left = alloca i64, align 8
%_0 = alloca i8, align 1
%self1 = load double, ptr %self, align 8, !noundef !2
%_4 = bitcast double %self1 to i64
store i64 %_4, ptr %left, align 8
%self2 = load double, ptr %other, align 8, !noundef !2
%_7 = bitcast double %self2 to i64
store i64 %_7, ptr %right, align 8
%_13 = load i64, ptr %left, align 8, !noundef !2
%_12 = ashr i64 %_13, 63
%_10 = lshr i64 %_12, 1
%0 = load i64, ptr %left, align 8, !noundef !2
%1 = xor i64 %0, %_10
store i64 %1, ptr %left, align 8
%_18 = load i64, ptr %right, align 8, !noundef !2
%_17 = ashr i64 %_18, 63
%_15 = lshr i64 %_17, 1
%2 = load i64, ptr %right, align 8, !noundef !2
%3 = xor i64 %2, %_15
store i64 %3, ptr %right, align 8
%_22 = load i64, ptr %left, align 8, !noundef !2
%_23 = load i64, ptr %right, align 8, !noundef !2
%_21 = icmp slt i64 %_22, %_23
br i1 %_21, label %bb1, label %bb2
bb2: ; preds = %start
%_25 = load i64, ptr %left, align 8, !noundef !2
%_26 = load i64, ptr %right, align 8, !noundef !2
%_24 = icmp eq i64 %_25, %_26
br i1 %_24, label %bb3, label %bb4
bb1: ; preds = %start
store i8 -1, ptr %_0, align 1
br label %bb6
bb4: ; preds = %bb2
store i8 1, ptr %_0, align 1
br label %bb5
bb3: ; preds = %bb2
store i8 0, ptr %_0, align 1
br label %bb5
bb5: ; preds = %bb3, %bb4
br label %bb6
bb6: ; preds = %bb1, %bb5
%4 = load i8, ptr %_0, align 1, !range !3, !noundef !2
ret i8 %4
}
; autocfg_bd14de7d0e879245_1::probe
; Function Attrs: nounwind
define hidden void @_ZN26autocfg_bd14de7d0e879245_15probe17hf07c14cd37de6414E() unnamed_addr #1 {
start:
; call core::f64::<impl f64>::total_cmp
%_1 = call i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17h2e33e7703104bbb7E"(ptr align 8 @alloc_f93507f8ba4b5780b14b2c2584609be0, ptr align 8 @alloc_ef0a1f828f3393ef691f2705e817091c) #2, !range !3
ret void
}
attributes #0 = { inlinehint nounwind "target-cpu"="generic" "target-features"="+solana" }
attributes #1 = { nounwind "target-cpu"="generic" "target-features"="+solana" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!0 = !{i32 8, !"PIC Level", i32 2}
!1 = !{!"rustc version 1.75.0-dev"}
!2 = !{}
!3 = !{i8 -1, i8 2}