; LLVM IR from aap/librw :: tools/im3d/im3d.ll (Z14Im3DInitializev)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.rw::V3d" = type { float, float, float }
%"struct.rw::Frame" = type { %"struct.rw::Object", %"struct.rw::LLLink", %"struct.rw::LinkList", %"struct.rw::Matrix", %"struct.rw::Matrix", ptr, ptr, ptr }
%"struct.rw::Object" = type { i8, i8, i8, i8, ptr }
%"struct.rw::LLLink" = type { ptr, ptr }
%"struct.rw::LinkList" = type { %"struct.rw::LLLink" }
%"struct.rw::Matrix" = type { %"struct.rw::V3d", i32, %"struct.rw::V3d", i32, %"struct.rw::V3d", i32, %"struct.rw::V3d", i32 }

@Im3DColored = external dso_local global i8, align 1
@Im3DMatrix = external dso_local global ptr, align 8
@Im3DTexture = external dso_local global ptr, align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [63 x i8], align 1
@__PRETTY_FUNCTION__._Z14Im3DInitializev = external hidden unnamed_addr constant [22 x i8], align 1
@Camera = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14Im3DInitializev() #0 {
  %1 = alloca ptr, align 8
  %2 = alloca %"struct.rw::V3d", align 4
  %3 = alloca { <2 x float>, float }, align 8
  %4 = call noundef ptr @_ZN2rw6Matrix6createEv()
  store ptr %4, ptr @Im3DMatrix, align 8, !tbaa !5
  %5 = load ptr, ptr @Im3DMatrix, align 8, !tbaa !5
  %6 = icmp ne ptr %5, null
  br i1 %6, label %7, label %8

7:                                                ; preds = %0
  br label %10

8:                                                ; preds = %0
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 27, ptr noundef @__PRETTY_FUNCTION__._Z14Im3DInitializev) #7
  unreachable

9:                                                ; No predecessors!
  br label %10

10:                                               ; preds = %9, %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #8
  %11 = load ptr, ptr @Camera, align 8, !tbaa !5
  %12 = call noundef ptr @_ZNK2rw6Camera8getFrameEv(ptr noundef nonnull align 8 dereferenceable(600) %11)
  %13 = getelementptr inbounds %"struct.rw::Frame", ptr %12, i32 0, i32 3
  store ptr %13, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %2) #8
  %14 = load ptr, ptr %1, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.rw::Matrix", ptr %14, i32 0, i32 4
  %16 = call { <2 x float>, float } @_ZN2rw5scaleERKNS_3V3dEf(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef 6.000000e+00)
  store { <2 x float>, float } %16, ptr %3, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 8 %3, i64 12, i1 false)
  %17 = load ptr, ptr @Im3DMatrix, align 8, !tbaa !5
  %18 = load ptr, ptr %1, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.rw::Matrix", ptr %18, i32 0, i32 2
  %20 = call noundef ptr @_ZN2rw6Matrix6rotateEPKNS_3V3dEfNS_9CombineOpE(ptr noundef nonnull align 4 dereferenceable(64) %17, ptr noundef %19, float noundef 3.000000e+01, i32 noundef 2)
  %21 = load ptr, ptr @Im3DMatrix, align 8, !tbaa !5
  %22 = call noundef ptr @_ZN2rw6Matrix9translateEPKNS_3V3dENS_9CombineOpE(ptr noundef nonnull align 4 dereferenceable(64) %21, ptr noundef %2, i32 noundef 2)
  call void @_ZN2rw5Image13setSearchPathEPKc(ptr noundef @.str.2)
  %23 = call noundef ptr @_ZN2rw7Texture4readEPKcS2_(ptr noundef @.str.3, ptr noundef null)
  store ptr %23, ptr @Im3DTexture, align 8, !tbaa !5
  call void @_Z14LineListCreatev()
  %24 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %25 = trunc i8 %24 to i1
  %26 = xor i1 %25, true
  call void @_Z16LineListSetColorb(i1 noundef zeroext %26)
  call void @_Z21IndexedLineListCreatev()
  %27 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %28 = trunc i8 %27 to i1
  %29 = xor i1 %28, true
  call void @_Z23IndexedLineListSetColorb(i1 noundef zeroext %29)
  call void @_Z14PolyLineCreatev()
  %30 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %31 = trunc i8 %30 to i1
  %32 = xor i1 %31, true
  call void @_Z16PolyLineSetColorb(i1 noundef zeroext %32)
  call void @_Z21IndexedPolyLineCreatev()
  %33 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %34 = trunc i8 %33 to i1
  %35 = xor i1 %34, true
  call void @_Z23IndexedPolyLineSetColorb(i1 noundef zeroext %35)
  call void @_Z13TriListCreatev()
  %36 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %37 = trunc i8 %36 to i1
  %38 = xor i1 %37, true
  call void @_Z15TriListSetColorb(i1 noundef zeroext %38)
  call void @_Z20IndexedTriListCreatev()
  %39 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %40 = trunc i8 %39 to i1
  %41 = xor i1 %40, true
  call void @_Z22IndexedTriListSetColorb(i1 noundef zeroext %41)
  call void @_Z14TriStripCreatev()
  %42 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %43 = trunc i8 %42 to i1
  %44 = xor i1 %43, true
  call void @_Z16TriStripSetColorb(i1 noundef zeroext %44)
  call void @_Z21IndexedTriStripCreatev()
  %45 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %46 = trunc i8 %45 to i1
  %47 = xor i1 %46, true
  call void @_Z23IndexedTriStripSetColorb(i1 noundef zeroext %47)
  call void @_Z12TriFanCreatev()
  %48 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %49 = trunc i8 %48 to i1
  %50 = xor i1 %49, true
  call void @_Z14TriFanSetColorb(i1 noundef zeroext %50)
  call void @_Z19IndexedTriFanCreatev()
  %51 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %52 = trunc i8 %51 to i1
  %53 = xor i1 %52, true
  call void @_Z21IndexedTriFanSetColorb(i1 noundef zeroext %53)
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  ret void
}

declare noundef ptr @_ZN2rw6Matrix6createEv() #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK2rw6Camera8getFrameEv(ptr noundef nonnull align 8 dereferenceable(600)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN2rw5scaleERKNS_3V3dEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #5

; 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) #6

declare noundef ptr @_ZN2rw6Matrix6rotateEPKNS_3V3dEfNS_9CombineOpE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef, float noundef, i32 noundef) #1

declare noundef ptr @_ZN2rw6Matrix9translateEPKNS_3V3dENS_9CombineOpE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef, i32 noundef) #1

declare void @_ZN2rw5Image13setSearchPathEPKc(ptr noundef) #1

declare noundef ptr @_ZN2rw7Texture4readEPKcS2_(ptr noundef, ptr noundef) #1

declare void @_Z14LineListCreatev() #1

declare void @_Z16LineListSetColorb(i1 noundef zeroext) #1

declare void @_Z21IndexedLineListCreatev() #1

declare void @_Z23IndexedLineListSetColorb(i1 noundef zeroext) #1

declare void @_Z14PolyLineCreatev() #1

declare void @_Z16PolyLineSetColorb(i1 noundef zeroext) #1

declare void @_Z21IndexedPolyLineCreatev() #1

declare void @_Z23IndexedPolyLineSetColorb(i1 noundef zeroext) #1

declare void @_Z13TriListCreatev() #1

declare void @_Z15TriListSetColorb(i1 noundef zeroext) #1

declare void @_Z20IndexedTriListCreatev() #1

declare void @_Z22IndexedTriListSetColorb(i1 noundef zeroext) #1

declare void @_Z14TriStripCreatev() #1

declare void @_Z16TriStripSetColorb(i1 noundef zeroext) #1

declare void @_Z21IndexedTriStripCreatev() #1

declare void @_Z23IndexedTriStripSetColorb(i1 noundef zeroext) #1

declare void @_Z12TriFanCreatev() #1

declare void @_Z14TriFanSetColorb(i1 noundef zeroext) #1

declare void @_Z19IndexedTriFanCreatev() #1

declare void @_Z21IndexedTriFanSetColorb(i1 noundef zeroext) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.rw::V3d" = type { float, float, float }

@Im3DColored = external dso_local local_unnamed_addr global i8, align 1
@Im3DMatrix = external dso_local local_unnamed_addr global ptr, align 8
@Im3DTexture = external dso_local local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [63 x i8], align 1
@__PRETTY_FUNCTION__._Z14Im3DInitializev = external hidden unnamed_addr constant [22 x i8], align 1
@Camera = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14Im3DInitializev() local_unnamed_addr #0 {
  %1 = alloca %"struct.rw::V3d", align 8
  %2 = tail call noundef ptr @_ZN2rw6Matrix6createEv()
  store ptr %2, ptr @Im3DMatrix, align 8, !tbaa !5
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %3, label %4

3:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 27, ptr noundef nonnull @__PRETTY_FUNCTION__._Z14Im3DInitializev) #6
  unreachable

4:                                                ; preds = %0
  %5 = load ptr, ptr @Camera, align 8, !tbaa !5
  %6 = tail call noundef ptr @_ZNK2rw6Camera8getFrameEv(ptr noundef nonnull align 8 dereferenceable(600) %5)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #7
  %7 = getelementptr inbounds i8, ptr %6, i64 80
  %8 = tail call { <2 x float>, float } @_ZN2rw5scaleERKNS_3V3dEf(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef 6.000000e+00)
  %.fca.0.extract = extractvalue { <2 x float>, float } %8, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %8, 1
  store <2 x float> %.fca.0.extract, ptr %1, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %9 = load ptr, ptr @Im3DMatrix, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %6, i64 64
  %11 = tail call noundef ptr @_ZN2rw6Matrix6rotateEPKNS_3V3dEfNS_9CombineOpE(ptr noundef nonnull align 4 dereferenceable(64) %9, ptr noundef nonnull %10, float noundef 3.000000e+01, i32 noundef 2)
  %12 = load ptr, ptr @Im3DMatrix, align 8, !tbaa !5
  %13 = call noundef ptr @_ZN2rw6Matrix9translateEPKNS_3V3dENS_9CombineOpE(ptr noundef nonnull align 4 dereferenceable(64) %12, ptr noundef nonnull %1, i32 noundef 2)
  call void @_ZN2rw5Image13setSearchPathEPKc(ptr noundef nonnull @.str.2)
  %14 = call noundef ptr @_ZN2rw7Texture4readEPKcS2_(ptr noundef nonnull @.str.3, ptr noundef null)
  store ptr %14, ptr @Im3DTexture, align 8, !tbaa !5
  call void @_Z14LineListCreatev()
  %15 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %16 = trunc nuw i8 %15 to i1
  %17 = xor i1 %16, true
  call void @_Z16LineListSetColorb(i1 noundef zeroext %17)
  call void @_Z21IndexedLineListCreatev()
  %18 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %19 = trunc nuw i8 %18 to i1
  %20 = xor i1 %19, true
  call void @_Z23IndexedLineListSetColorb(i1 noundef zeroext %20)
  call void @_Z14PolyLineCreatev()
  %21 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %22 = trunc nuw i8 %21 to i1
  %23 = xor i1 %22, true
  call void @_Z16PolyLineSetColorb(i1 noundef zeroext %23)
  call void @_Z21IndexedPolyLineCreatev()
  %24 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %25 = trunc nuw i8 %24 to i1
  %26 = xor i1 %25, true
  call void @_Z23IndexedPolyLineSetColorb(i1 noundef zeroext %26)
  call void @_Z13TriListCreatev()
  %27 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %28 = trunc nuw i8 %27 to i1
  %29 = xor i1 %28, true
  call void @_Z15TriListSetColorb(i1 noundef zeroext %29)
  call void @_Z20IndexedTriListCreatev()
  %30 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %31 = trunc nuw i8 %30 to i1
  %32 = xor i1 %31, true
  call void @_Z22IndexedTriListSetColorb(i1 noundef zeroext %32)
  call void @_Z14TriStripCreatev()
  %33 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %34 = trunc nuw i8 %33 to i1
  %35 = xor i1 %34, true
  call void @_Z16TriStripSetColorb(i1 noundef zeroext %35)
  call void @_Z21IndexedTriStripCreatev()
  %36 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %37 = trunc nuw i8 %36 to i1
  %38 = xor i1 %37, true
  call void @_Z23IndexedTriStripSetColorb(i1 noundef zeroext %38)
  call void @_Z12TriFanCreatev()
  %39 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %40 = trunc nuw i8 %39 to i1
  %41 = xor i1 %40, true
  call void @_Z14TriFanSetColorb(i1 noundef zeroext %41)
  call void @_Z19IndexedTriFanCreatev()
  %42 = load i8, ptr @Im3DColored, align 1, !tbaa !9, !range !11, !noundef !12
  %43 = trunc nuw i8 %42 to i1
  %44 = xor i1 %43, true
  call void @_Z21IndexedTriFanSetColorb(i1 noundef zeroext %44)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #7
  ret void
}

declare noundef ptr @_ZN2rw6Matrix6createEv() local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK2rw6Camera8getFrameEv(ptr noundef nonnull align 8 dereferenceable(600)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN2rw5scaleERKNS_3V3dEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #5

declare noundef ptr @_ZN2rw6Matrix6rotateEPKNS_3V3dEfNS_9CombineOpE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef, float noundef, i32 noundef) local_unnamed_addr #1

declare noundef ptr @_ZN2rw6Matrix9translateEPKNS_3V3dENS_9CombineOpE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @_ZN2rw5Image13setSearchPathEPKc(ptr noundef) local_unnamed_addr #1

declare noundef ptr @_ZN2rw7Texture4readEPKcS2_(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_Z14LineListCreatev() local_unnamed_addr #1

declare void @_Z16LineListSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z21IndexedLineListCreatev() local_unnamed_addr #1

declare void @_Z23IndexedLineListSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z14PolyLineCreatev() local_unnamed_addr #1

declare void @_Z16PolyLineSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z21IndexedPolyLineCreatev() local_unnamed_addr #1

declare void @_Z23IndexedPolyLineSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z13TriListCreatev() local_unnamed_addr #1

declare void @_Z15TriListSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z20IndexedTriListCreatev() local_unnamed_addr #1

declare void @_Z22IndexedTriListSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z14TriStripCreatev() local_unnamed_addr #1

declare void @_Z16TriStripSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z21IndexedTriStripCreatev() local_unnamed_addr #1

declare void @_Z23IndexedTriStripSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z12TriFanCreatev() local_unnamed_addr #1

declare void @_Z14TriFanSetColorb(i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z19IndexedTriFanCreatev() local_unnamed_addr #1

declare void @_Z21IndexedTriFanSetColorb(i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn nounwind }
attributes #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass