advent of code 2023 edition
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.6 KiB

; ModuleID = 'probe7.962a1d4101f49b6a-cgu.0'
source_filename = "probe7.962a1d4101f49b6a-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.12.0"
; core::num::<impl u32>::to_ne_bytes
; Function Attrs: inlinehint uwtable
define internal i32 @"_ZN4core3num21_$LT$impl$u20$u32$GT$11to_ne_bytes17h4d0c92a3fc437802E"(i32 %self) unnamed_addr #0 {
start:
%_0 = alloca [4 x i8], align 1
store i32 %self, ptr %_0, align 1
%0 = load i32, ptr %_0, align 1
ret i32 %0
}
; probe7::probe
; Function Attrs: uwtable
define void @_ZN6probe75probe17h2124542820245a95E() unnamed_addr #1 {
start:
%0 = alloca i32, align 4
%_1 = alloca [4 x i8], align 1
; call core::num::<impl u32>::to_ne_bytes
%1 = call i32 @"_ZN4core3num21_$LT$impl$u20$u32$GT$11to_ne_bytes17h4d0c92a3fc437802E"(i32 1)
store i32 %1, ptr %0, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %_1, ptr align 4 %0, i64 4, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { inlinehint uwtable "frame-pointer"="all" "probe-stack"="inline-asm" "target-cpu"="penryn" }
attributes #1 = { uwtable "frame-pointer"="all" "probe-stack"="inline-asm" "target-cpu"="penryn" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!0 = !{i32 8, !"PIC Level", i32 2}
!1 = !{!"rustc version 1.74.1 (a28077b28 2023-12-04)"}