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

39 lines
1.5 KiB
LLVM
Raw Permalink Normal View History

2023-12-16 12:11:05 -05:00
; ModuleID = 'probe6.ccac7103-cgu.0'
source_filename = "probe6.ccac7103-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::num::<impl u32>::to_ne_bytes
; Function Attrs: inlinehint uwtable
define internal i32 @"_ZN4core3num21_$LT$impl$u20$u32$GT$11to_ne_bytes17hffb21f2283c0bf5bE"(i32 %self) unnamed_addr #0 {
start:
%0 = alloca [4 x i8], align 1
store i32 %self, ptr %0, align 1
%1 = load i32, ptr %0, align 1
ret i32 %1
}
; probe6::probe
; Function Attrs: uwtable
define void @_ZN6probe65probe17hfb2f8b9a466229caE() 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_bytes17hffb21f2283c0bf5bE"(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: argmemonly nocallback nofree nounwind willreturn
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"="__rust_probestack" "target-cpu"="core2" }
attributes #1 = { uwtable "frame-pointer"="all" "probe-stack"="__rust_probestack" "target-cpu"="core2" }
attributes #2 = { argmemonly nocallback nofree nounwind willreturn }
!llvm.module.flags = !{!0}
!0 = !{i32 7, !"PIC Level", i32 2}