; LLVM IR from theck01/offbrand_lib :: apps/minlog/src/classes (NCube)

; 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.NCube_struct = type { ptr, ptr, i32, i8, i8, i8, i8 }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__.nCubeStr = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @nCubeStr(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i8 %1, ptr %6, align 1, !tbaa !9
  store i8 %2, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  store i8 65, ptr %11, align 1, !tbaa !9
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %20

15:                                               ; preds = %3
  %16 = load i8, ptr %7, align 1, !tbaa !9
  %17 = zext i8 %16 to i32
  %18 = icmp slt i32 %17, 27
  br i1 %18, label %19, label %20

19:                                               ; preds = %15
  br label %21

20:                                               ; preds = %15, %3
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 138, ptr noundef @__PRETTY_FUNCTION__.nCubeStr) #7
  unreachable

21:                                               ; preds = %19
  %22 = call noalias ptr @malloc(i64 noundef 256) #8
  store ptr %22, ptr %10, align 8, !tbaa !5
  %23 = load ptr, ptr %10, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %21
  br label %27

26:                                               ; preds = %21
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 141, ptr noundef @__PRETTY_FUNCTION__.nCubeStr) #7
  unreachable

27:                                               ; preds = %25
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.NCube_struct, ptr %28, i32 0, i32 3
  %30 = load i8, ptr %29, align 4, !tbaa !10
  %31 = zext i8 %30 to i32
  %32 = load i8, ptr %7, align 1, !tbaa !9
  %33 = zext i8 %32 to i32
  %34 = icmp sgt i32 %31, %33
  br i1 %34, label %35, label %39

35:                                               ; preds = %27
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = call ptr @strcpy(ptr noundef %36, ptr noundef @.str.7) #6
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %38, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %120

39:                                               ; preds = %27
  store i8 0, ptr %9, align 1, !tbaa !9
  %40 = load i8, ptr %6, align 1, !tbaa !9
  %41 = icmp ne i8 %40, 0
  br i1 %41, label %48, label %42

42:                                               ; preds = %39
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load i8, ptr %9, align 1, !tbaa !9
  %45 = add i8 %44, 1
  store i8 %45, ptr %9, align 1, !tbaa !9
  %46 = zext i8 %44 to i64
  %47 = getelementptr inbounds i8, ptr %43, i64 %46
  store i8 40, ptr %47, align 1, !tbaa !9
  br label %48

48:                                               ; preds = %42, %39
  %49 = load i8, ptr %7, align 1, !tbaa !9
  %50 = zext i8 %49 to i32
  %51 = sub nsw i32 %50, 1
  %52 = trunc i32 %51 to i8
  store i8 %52, ptr %8, align 1, !tbaa !9
  br label %53

53:                                               ; preds = %100, %48
  %54 = load i8, ptr %8, align 1, !tbaa !9
  %55 = zext i8 %54 to i32
  %56 = load i8, ptr %7, align 1, !tbaa !9
  %57 = zext i8 %56 to i32
  %58 = icmp slt i32 %55, %57
  br i1 %58, label %59, label %103

59:                                               ; preds = %53
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.NCube_struct, ptr %60, i32 0, i32 2
  %62 = load i32, ptr %61, align 8, !tbaa !13
  %63 = load i8, ptr %8, align 1, !tbaa !9
  %64 = call zeroext i8 @testBit(i32 noundef %62, i8 noundef zeroext %63)
  %65 = icmp ne i8 %64, 0
  br i1 %65, label %97, label %66

66:                                               ; preds = %59
  %67 = load i8, ptr %11, align 1, !tbaa !9
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = load i8, ptr %9, align 1, !tbaa !9
  %70 = add i8 %69, 1
  store i8 %70, ptr %9, align 1, !tbaa !9
  %71 = zext i8 %69 to i64
  %72 = getelementptr inbounds i8, ptr %68, i64 %71
  store i8 %67, ptr %72, align 1, !tbaa !9
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.NCube_struct, ptr %73, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !14
  %76 = getelementptr inbounds i32, ptr %75, i64 0
  %77 = load i32, ptr %76, align 4, !tbaa !15
  %78 = load i8, ptr %8, align 1, !tbaa !9
  %79 = call zeroext i8 @testBit(i32 noundef %77, i8 noundef zeroext %78)
  %80 = icmp ne i8 %79, 0
  br i1 %80, label %87, label %81

81:                                               ; preds = %66
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = load i8, ptr %9, align 1, !tbaa !9
  %84 = add i8 %83, 1
  store i8 %84, ptr %9, align 1, !tbaa !9
  %85 = zext i8 %83 to i64
  %86 = getelementptr inbounds i8, ptr %82, i64 %85
  store i8 96, ptr %86, align 1, !tbaa !9
  br label %87

87:                                               ; preds = %81, %66
  %88 = load i8, ptr %6, align 1, !tbaa !9
  %89 = icmp ne i8 %88, 0
  br i1 %89, label %96, label %90

90:                                               ; preds = %87
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = load i8, ptr %9, align 1, !tbaa !9
  %93 = add i8 %92, 1
  store i8 %93, ptr %9, align 1, !tbaa !9
  %94 = zext i8 %92 to i64
  %95 = getelementptr inbounds i8, ptr %91, i64 %94
  store i8 43, ptr %95, align 1, !tbaa !9
  br label %96

96:                                               ; preds = %90, %87
  br label %97

97:                                               ; preds = %96, %59
  %98 = load i8, ptr %11, align 1, !tbaa !9
  %99 = add i8 %98, 1
  store i8 %99, ptr %11, align 1, !tbaa !9
  br label %100

100:                                              ; preds = %97
  %101 = load i8, ptr %8, align 1, !tbaa !9
  %102 = add i8 %101, -1
  store i8 %102, ptr %8, align 1, !tbaa !9
  br label %53, !llvm.loop !16

103:                                              ; preds = %53
  %104 = load i8, ptr %6, align 1, !tbaa !9
  %105 = icmp ne i8 %104, 0
  br i1 %105, label %114, label %106

106:                                              ; preds = %103
  %107 = load i8, ptr %9, align 1, !tbaa !9
  %108 = add i8 %107, -1
  store i8 %108, ptr %9, align 1, !tbaa !9
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = load i8, ptr %9, align 1, !tbaa !9
  %111 = add i8 %110, 1
  store i8 %111, ptr %9, align 1, !tbaa !9
  %112 = zext i8 %110 to i64
  %113 = getelementptr inbounds i8, ptr %109, i64 %112
  store i8 41, ptr %113, align 1, !tbaa !9
  br label %114

114:                                              ; preds = %106, %103
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = load i8, ptr %9, align 1, !tbaa !9
  %117 = zext i8 %116 to i64
  %118 = getelementptr inbounds i8, ptr %115, i64 %117
  store i8 0, ptr %118, align 1, !tbaa !9
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %119, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %120

120:                                              ; preds = %114, %35
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  %121 = load ptr, ptr %4, align 8
  ret ptr %121
}

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #4

declare zeroext i8 @testBit(i32 noundef, i8 noundef zeroext) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nounwind allocsize(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 #4 = { 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 #5 = { "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 = { nounwind }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind allocsize(0) }

!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/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !7, i64 20}
!11 = !{!"NCube_struct", !6, i64 0, !6, i64 8, !12, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23}
!12 = !{!"int", !7, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!11, !6, i64 8}
!15 = !{!12, !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; 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"

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__.nCubeStr = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @nCubeStr(ptr noundef readonly %0, i8 noundef zeroext %1, i8 noundef zeroext %2) local_unnamed_addr #1 {
  %4 = icmp ne ptr %0, null
  %5 = icmp ult i8 %2, 27
  %or.cond = and i1 %4, %5
  br i1 %or.cond, label %7, label %6

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

7:                                                ; preds = %3
  %8 = tail call noalias dereferenceable_or_null(256) ptr @malloc(i64 noundef 256) #6
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %9, label %10

9:                                                ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 141, ptr noundef nonnull @__PRETTY_FUNCTION__.nCubeStr) #5
  unreachable

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %0, i64 20
  %12 = load i8, ptr %11, align 4, !tbaa !5
  %13 = icmp ugt i8 %12, %2
  br i1 %13, label %14, label %16

14:                                               ; preds = %10
  %15 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.7) #7
  br label %64

16:                                               ; preds = %10
  %.not42 = icmp eq i8 %1, 0
  br i1 %.not42, label %17, label %.thread

17:                                               ; preds = %16
  store i8 40, ptr %8, align 1, !tbaa !11
  %.not49 = icmp eq i8 %2, 0
  br i1 %.not49, label %._crit_edge, label %.lr.ph.split.us.preheader

.thread:                                          ; preds = %16
  %.not4952 = icmp eq i8 %2, 0
  br i1 %.not4952, label %._crit_edge.thread, label %.lr.ph.split.preheader

.lr.ph.split.preheader:                           ; preds = %.thread
  %.0384555 = add nsw i8 %2, -1
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  br label %.lr.ph.split

.lr.ph.split.us.preheader:                        ; preds = %17
  %.03845 = add nsw i8 %2, -1
  %20 = getelementptr inbounds i8, ptr %0, i64 16
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  br label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph.split.us.preheader, %39
  %.03848.us = phi i8 [ %.038.us, %39 ], [ %.03845, %.lr.ph.split.us.preheader ]
  %.047.us = phi i8 [ %40, %39 ], [ 65, %.lr.ph.split.us.preheader ]
  %.146.us = phi i8 [ %.3.us, %39 ], [ 1, %.lr.ph.split.us.preheader ]
  %22 = load i32, ptr %20, align 8, !tbaa !12
  %23 = tail call zeroext i8 @testBit(i32 noundef %22, i8 noundef zeroext %.03848.us) #7
  %.not43.us = icmp eq i8 %23, 0
  br i1 %.not43.us, label %24, label %39

24:                                               ; preds = %.lr.ph.split.us
  %25 = add i8 %.146.us, 1
  %26 = zext i8 %.146.us to i64
  %27 = getelementptr inbounds i8, ptr %8, i64 %26
  store i8 %.047.us, ptr %27, align 1, !tbaa !11
  %28 = load ptr, ptr %21, align 8, !tbaa !13
  %29 = load i32, ptr %28, align 4, !tbaa !14
  %30 = tail call zeroext i8 @testBit(i32 noundef %29, i8 noundef zeroext %.03848.us) #7
  %.not44.us = icmp eq i8 %30, 0
  br i1 %.not44.us, label %31, label %35

31:                                               ; preds = %24
  %32 = add i8 %.146.us, 2
  %33 = zext i8 %25 to i64
  %34 = getelementptr inbounds i8, ptr %8, i64 %33
  store i8 96, ptr %34, align 1, !tbaa !11
  br label %35

35:                                               ; preds = %31, %24
  %.2.us = phi i8 [ %25, %24 ], [ %32, %31 ]
  %36 = add i8 %.2.us, 1
  %37 = zext i8 %.2.us to i64
  %38 = getelementptr inbounds i8, ptr %8, i64 %37
  store i8 43, ptr %38, align 1, !tbaa !11
  br label %39

39:                                               ; preds = %35, %.lr.ph.split.us
  %.3.us = phi i8 [ %.146.us, %.lr.ph.split.us ], [ %36, %35 ]
  %40 = add i8 %.047.us, 1
  %.038.us = add i8 %.03848.us, -1
  %41 = icmp ult i8 %.038.us, %2
  br i1 %41, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !15

.lr.ph.split:                                     ; preds = %.lr.ph.split.preheader, %55
  %.03848 = phi i8 [ %.038, %55 ], [ %.0384555, %.lr.ph.split.preheader ]
  %.047 = phi i8 [ %56, %55 ], [ 65, %.lr.ph.split.preheader ]
  %.146 = phi i8 [ %.3, %55 ], [ 0, %.lr.ph.split.preheader ]
  %42 = load i32, ptr %18, align 8, !tbaa !12
  %43 = tail call zeroext i8 @testBit(i32 noundef %42, i8 noundef zeroext %.03848) #7
  %.not43 = icmp eq i8 %43, 0
  br i1 %.not43, label %44, label %55

44:                                               ; preds = %.lr.ph.split
  %45 = add i8 %.146, 1
  %46 = zext i8 %.146 to i64
  %47 = getelementptr inbounds i8, ptr %8, i64 %46
  store i8 %.047, ptr %47, align 1, !tbaa !11
  %48 = load ptr, ptr %19, align 8, !tbaa !13
  %49 = load i32, ptr %48, align 4, !tbaa !14
  %50 = tail call zeroext i8 @testBit(i32 noundef %49, i8 noundef zeroext %.03848) #7
  %.not44 = icmp eq i8 %50, 0
  br i1 %.not44, label %51, label %55

51:                                               ; preds = %44
  %52 = add i8 %.146, 2
  %53 = zext i8 %45 to i64
  %54 = getelementptr inbounds i8, ptr %8, i64 %53
  store i8 96, ptr %54, align 1, !tbaa !11
  br label %55

55:                                               ; preds = %44, %51, %.lr.ph.split
  %.3 = phi i8 [ %.146, %.lr.ph.split ], [ %45, %44 ], [ %52, %51 ]
  %56 = add i8 %.047, 1
  %.038 = add i8 %.03848, -1
  %57 = icmp ult i8 %.038, %2
  br i1 %57, label %.lr.ph.split, label %._crit_edge, !llvm.loop !15

._crit_edge:                                      ; preds = %55, %39, %17
  %.1.lcssa = phi i8 [ 1, %17 ], [ %.3.us, %39 ], [ %.3, %55 ]
  br i1 %.not42, label %58, label %._crit_edge.thread

58:                                               ; preds = %._crit_edge
  %59 = add i8 %.1.lcssa, -1
  %60 = zext i8 %59 to i64
  %61 = getelementptr inbounds i8, ptr %8, i64 %60
  store i8 41, ptr %61, align 1, !tbaa !11
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %.thread, %58, %._crit_edge
  %.1.lcssa59 = phi i8 [ %.1.lcssa, %58 ], [ %.1.lcssa, %._crit_edge ], [ 0, %.thread ]
  %62 = zext i8 %.1.lcssa59 to i64
  %63 = getelementptr inbounds i8, ptr %8, i64 %62
  store i8 0, ptr %63, align 1, !tbaa !11
  br label %64

64:                                               ; preds = %._crit_edge.thread, %14
  ret ptr %8
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #3

declare zeroext i8 @testBit(i32 noundef, i8 noundef zeroext) local_unnamed_addr #4

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nofree nounwind willreturn memory(argmem: readwrite) "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 #4 = { "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 = { noreturn nounwind }
attributes #6 = { nounwind allocsize(0) }
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, !8, i64 20}
!6 = !{!"NCube_struct", !7, i64 0, !7, i64 8, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!8, !8, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !7, i64 8}
!14 = !{!10, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass