; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui/imgui.ll (ZN5ImGui17DebugTextEncodingEPKc)

; 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.ImVec2 = type { float, float }

@.str.310 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.311 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.312 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.313 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.314 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.315 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.316 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.317 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.318 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.319 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.320 = external hidden unnamed_addr constant [7 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui7GetFontEv() #1

declare void @_ZN5ImGui8EndTableEv() #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui8SameLineEff(float noundef, float noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17DebugTextEncodingEPKc(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.310, ptr noundef %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %10 = call noundef zeroext i1 @_ZN5ImGui10BeginTableEPKciiRK6ImVec2f(ptr noundef @.str.311, i32 noundef 4, i32 noundef 10176, ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00)
  %11 = xor i1 %10, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br i1 %11, label %12, label %13

12:                                               ; preds = %1
  br label %80

13:                                               ; preds = %1
  call void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef @.str.312, i32 noundef 0, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef @.str.313, i32 noundef 0, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef @.str.314, i32 noundef 0, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef @.str.315, i32 noundef 0, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN5ImGui15TableHeadersRowEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %14, ptr %4, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %72, %13
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = load i8, ptr %16, align 1, !tbaa !9
  %18 = sext i8 %17 to i32
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %21, label %20

20:                                               ; preds = %15
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br label %79

21:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef %6, ptr noundef %22, ptr noundef null)
  store i32 %23, ptr %7, align 4, !tbaa !10
  %24 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = ptrtoint ptr %25 to i64
  %28 = ptrtoint ptr %26 to i64
  %29 = sub i64 %27, %28
  %30 = trunc i64 %29 to i32
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.316, i32 noundef %30)
  %31 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !10
  br label %32

32:                                               ; preds = %48, %21
  %33 = load i32, ptr %8, align 4, !tbaa !10
  %34 = load i32, ptr %7, align 4, !tbaa !10
  %35 = icmp slt i32 %33, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  store i32 4, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %51

37:                                               ; preds = %32
  %38 = load i32, ptr %8, align 4, !tbaa !10
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %40, label %41

40:                                               ; preds = %37
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  br label %41

41:                                               ; preds = %40, %37
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load i32, ptr %8, align 4, !tbaa !10
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds i8, ptr %42, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !9
  %47 = zext i8 %46 to i32
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.317, i32 noundef %47)
  br label %48

48:                                               ; preds = %41
  %49 = load i32, ptr %8, align 4, !tbaa !10
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %8, align 4, !tbaa !10
  br label %32, !llvm.loop !12

51:                                               ; preds = %36
  %52 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %53 = call noundef ptr @_ZN5ImGui7GetFontEv()
  %54 = load i32, ptr %6, align 4, !tbaa !10
  %55 = trunc i32 %54 to i16
  %56 = call noundef ptr @_ZNK6ImFont19FindGlyphNoFallbackEt(ptr noundef nonnull align 8 dereferenceable(118) %53, i16 noundef zeroext %55)
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %64

58:                                               ; preds = %51
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = load i32, ptr %7, align 4, !tbaa !10
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds i8, ptr %60, i64 %62
  call void @_ZN5ImGui15TextUnformattedEPKcS1_(ptr noundef %59, ptr noundef %63)
  br label %72

64:                                               ; preds = %51
  %65 = load i32, ptr %6, align 4, !tbaa !10
  %66 = icmp eq i32 %65, 65533
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  br label %69

68:                                               ; preds = %64
  br label %69

69:                                               ; preds = %68, %67
  %70 = phi ptr [ @.str.318, %67 ], [ @.str.319, %68 ]
  %71 = getelementptr inbounds [10 x i8], ptr %70, i64 0, i64 0
  call void @_ZN5ImGui15TextUnformattedEPKcS1_(ptr noundef %71, ptr noundef null)
  br label %72

72:                                               ; preds = %69, %58
  %73 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %74 = load i32, ptr %6, align 4, !tbaa !10
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.320, i32 noundef %74)
  %75 = load i32, ptr %7, align 4, !tbaa !10
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = sext i32 %75 to i64
  %78 = getelementptr inbounds i8, ptr %76, i64 %77
  store ptr %78, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %15, !llvm.loop !14

79:                                               ; preds = %20
  call void @_ZN5ImGui8EndTableEv()
  br label %80

80:                                               ; preds = %79, %12
  ret void
}

declare void @_ZN5ImGui4TextEPKcz(ptr noundef, ...) #3

declare noundef zeroext i1 @_ZN5ImGui10BeginTableEPKciiRK6ImVec2f(ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8), float noundef) #3

declare void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef, i32 noundef, float noundef, i32 noundef) #3

declare void @_ZN5ImGui15TableHeadersRowEv() #3

declare noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv() #3

declare noundef ptr @_ZNK6ImFont19FindGlyphNoFallbackEt(ptr noundef nonnull align 8 dereferenceable(118), i16 noundef zeroext) #3

declare void @_ZN5ImGui15TextUnformattedEPKcS1_(ptr noundef, ptr noundef) #3

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

!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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; 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.ImVec2 = type { float, float }

@.str.310 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.311 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.312 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.313 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.314 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.315 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.316 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.317 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.318 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.319 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.320 = external hidden unnamed_addr constant [7 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui7GetFontEv() local_unnamed_addr #1

declare void @_ZN5ImGui8EndTableEv() local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui8SameLineEff(float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui17DebugTextEncodingEPKc(ptr noundef %0) local_unnamed_addr #2 {
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca i32, align 4
  tail call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.310, ptr noundef %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %4 = call noundef zeroext i1 @_ZN5ImGui10BeginTableEPKciiRK6ImVec2f(ptr noundef nonnull @.str.311, i32 noundef 4, i32 noundef 10176, ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  br i1 %4, label %5, label %37

5:                                                ; preds = %1
  call void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef nonnull @.str.312, i32 noundef 0, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef nonnull @.str.313, i32 noundef 0, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef nonnull @.str.314, i32 noundef 0, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef nonnull @.str.315, i32 noundef 0, float noundef 0.000000e+00, i32 noundef 0)
  call void @_ZN5ImGui15TableHeadersRowEv()
  %6 = load i8, ptr %0, align 1, !tbaa !5
  %.not21 = icmp eq i8 %6, 0
  br i1 %.not21, label %._crit_edge25, label %.lr.ph24

.lr.ph24:                                         ; preds = %5
  %7 = ptrtoint ptr %0 to i64
  br label %8

._crit_edge25:                                    ; preds = %32, %5
  call void @_ZN5ImGui8EndTableEv()
  br label %37

8:                                                ; preds = %.lr.ph24, %32
  %.01622 = phi ptr [ %0, %.lr.ph24 ], [ %35, %32 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %9 = call noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef nonnull %3, ptr noundef nonnull %.01622, ptr noundef null)
  %10 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %11 = ptrtoint ptr %.01622 to i64
  %12 = sub i64 %11, %7
  %13 = trunc i64 %12 to i32
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.316, i32 noundef %13)
  %14 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %15 = icmp sgt i32 %9, 0
  br i1 %15, label %16, label %._crit_edge

16:                                               ; preds = %8
  %wide.trip.count = zext nneg i32 %9 to i64
  %.pre = load i8, ptr %.01622, align 1, !tbaa !5
  %17 = zext i8 %.pre to i32
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.317, i32 noundef %17)
  %exitcond.peel.not = icmp eq i32 %9, 1
  br i1 %exitcond.peel.not, label %._crit_edge, label %.lr.ph.peel.next

._crit_edge:                                      ; preds = %.lr.ph.peel.next, %16, %8
  %18 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %19 = call noundef ptr @_ZN5ImGui7GetFontEv()
  %20 = load i32, ptr %3, align 4, !tbaa !8
  %21 = trunc i32 %20 to i16
  %22 = call noundef ptr @_ZNK6ImFont19FindGlyphNoFallbackEt(ptr noundef nonnull align 8 dereferenceable(118) %19, i16 noundef zeroext %21)
  %.not18 = icmp eq ptr %22, null
  br i1 %.not18, label %29, label %26

.lr.ph.peel.next:                                 ; preds = %16, %.lr.ph.peel.next
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph.peel.next ], [ 1, %16 ]
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  %23 = getelementptr inbounds i8, ptr %.01622, i64 %indvars.iv
  %24 = load i8, ptr %23, align 1, !tbaa !5
  %25 = zext i8 %24 to i32
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.317, i32 noundef %25)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.peel.next, !llvm.loop !10

26:                                               ; preds = %._crit_edge
  %27 = sext i32 %9 to i64
  %28 = getelementptr inbounds i8, ptr %.01622, i64 %27
  call void @_ZN5ImGui15TextUnformattedEPKcS1_(ptr noundef nonnull %.01622, ptr noundef nonnull %28)
  br label %32

29:                                               ; preds = %._crit_edge
  %30 = load i32, ptr %3, align 4, !tbaa !8
  %31 = icmp eq i32 %30, 65533
  %.str.318..str.319 = select i1 %31, ptr @.str.318, ptr @.str.319
  call void @_ZN5ImGui15TextUnformattedEPKcS1_(ptr noundef nonnull %.str.318..str.319, ptr noundef null)
  %.pre28 = sext i32 %9 to i64
  br label %32

32:                                               ; preds = %29, %26
  %.pre-phi = phi i64 [ %.pre28, %29 ], [ %27, %26 ]
  %33 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %34 = load i32, ptr %3, align 4, !tbaa !8
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.320, i32 noundef %34)
  %35 = getelementptr inbounds i8, ptr %.01622, i64 %.pre-phi
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  %36 = load i8, ptr %35, align 1, !tbaa !5
  %.not = icmp eq i8 %36, 0
  br i1 %.not, label %._crit_edge25, label %8, !llvm.loop !13

37:                                               ; preds = %1, %._crit_edge25
  ret void
}

declare void @_ZN5ImGui4TextEPKcz(ptr noundef, ...) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui10BeginTableEPKciiRK6ImVec2f(ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #3

declare void @_ZN5ImGui16TableSetupColumnEPKcifj(ptr noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui15TableHeadersRowEv() local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv() local_unnamed_addr #3

declare noundef ptr @_ZNK6ImFont19FindGlyphNoFallbackEt(ptr noundef nonnull align 8 dereferenceable(118), i16 noundef zeroext) local_unnamed_addr #3

declare void @_ZN5ImGui15TextUnformattedEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #3

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

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11, !12}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.peeled.count", i32 1}
!13 = distinct !{!13, !11}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass