; LLVM IR from Izaron/ACM-ICPC :: Timus Online Judge/Volume 5/1438. Time Limit Exceeded.ll (Z4workRi)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@type = external dso_local global [1000005 x i32], align 16
@variables = external dso_local global [1000005 x i32], align 16
@prints = external dso_local global [1000005 x i32], align 16
@gotos = external dso_local global [1000005 x i32], align 16
@ifType = external dso_local global [1000005 x i32], align 16
@ifLeft = external dso_local global [1000005 x i32], align 16
@ifRight = external dso_local global [1000005 x i32], align 16
@equatResult = external dso_local global [1000005 x i32], align 16
@equatType = external dso_local global [1000005 x i32], align 16
@equatLeft = external dso_local global [1000005 x i32], align 16
@equatRight = external dso_local global [1000005 x i32], align 16
@activated = external dso_local global [1000005 x i8], align 16
@run = external dso_local global i8, align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.25 = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5checkiii(i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4workRi(ptr noundef nonnull align 4 dereferenceable(4) %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = load i32, ptr %7, align 4, !tbaa !9
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds [1000005 x i32], ptr @type, i64 0, i64 %9
  %11 = load i32, ptr %10, align 4, !tbaa !9
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %13, label %14

13:                                               ; preds = %1
  store i8 0, ptr @run, align 1, !tbaa !11
  br label %139

14:                                               ; preds = %1
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = load i32, ptr %15, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [1000005 x i32], ptr @type, i64 0, i64 %17
  %19 = load i32, ptr %18, align 4, !tbaa !9
  %20 = icmp eq i32 %19, 1
  br i1 %20, label %21, label %35

21:                                               ; preds = %14
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = load i32, ptr %22, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [1000005 x i32], ptr @prints, i64 0, i64 %24
  %26 = load i32, ptr %25, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %29)
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef @.str.25)
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = load i32, ptr %32, align 4, !tbaa !9
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %32, align 4, !tbaa !9
  br label %139

35:                                               ; preds = %14
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = load i32, ptr %36, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [1000005 x i32], ptr @type, i64 0, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = icmp eq i32 %40, 2
  br i1 %41, label %42, label %81

42:                                               ; preds = %35
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [1000005 x i32], ptr @equatResult, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [1000005 x i8], ptr @activated, i64 0, i64 %48
  store i8 1, ptr %49, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = load i32, ptr %50, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [1000005 x i32], ptr @equatLeft, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !9
  store i32 %57, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = load i32, ptr %58, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [1000005 x i32], ptr @equatRight, i64 0, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !9
  store i32 %65, ptr %4, align 4, !tbaa !9
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [1000005 x i32], ptr @equatResult, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = load i32, ptr %3, align 4, !tbaa !9
  %72 = load i32, ptr %4, align 4, !tbaa !9
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = load i32, ptr %73, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [1000005 x i32], ptr @equatType, i64 0, i64 %75
  %77 = load i32, ptr %76, align 4, !tbaa !9
  call void @_Z8equationiiii(i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %77)
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %78, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %139

81:                                               ; preds = %35
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [1000005 x i32], ptr @type, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !9
  %87 = icmp eq i32 %86, 3
  br i1 %87, label %88, label %95

88:                                               ; preds = %81
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [1000005 x i32], ptr @gotos, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  store i32 %93, ptr %94, align 4, !tbaa !9
  br label %139

95:                                               ; preds = %81
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [1000005 x i32], ptr @type, i64 0, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !9
  %101 = icmp eq i32 %100, 4
  br i1 %101, label %102, label %139

102:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = load i32, ptr %103, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [1000005 x i32], ptr @ifLeft, i64 0, i64 %105
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !9
  store i32 %110, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [1000005 x i32], ptr @ifRight, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !9
  store i32 %118, ptr %6, align 4, !tbaa !9
  %119 = load i32, ptr %5, align 4, !tbaa !9
  %120 = load i32, ptr %6, align 4, !tbaa !9
  %121 = load ptr, ptr %2, align 8, !tbaa !5
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [1000005 x i32], ptr @ifType, i64 0, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = call noundef zeroext i1 @_Z5checkiii(i32 noundef %119, i32 noundef %120, i32 noundef %125)
  br i1 %126, label %127, label %134

127:                                              ; preds = %102
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = load i32, ptr %128, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [1000005 x i32], ptr @gotos, i64 0, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !9
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  store i32 %132, ptr %133, align 4, !tbaa !9
  br label %138

134:                                              ; preds = %102
  %135 = load ptr, ptr %2, align 8, !tbaa !5
  %136 = load i32, ptr %135, align 4, !tbaa !9
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %135, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %134, %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %139

139:                                              ; preds = %138, %95, %88, %42, %21, %13
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

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 = { inlinehint 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 #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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@type = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@variables = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@prints = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@gotos = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@ifType = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@ifLeft = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@ifRight = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@equatResult = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@equatType = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@equatLeft = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@equatRight = external dso_local local_unnamed_addr global [1000005 x i32], align 16
@activated = external dso_local local_unnamed_addr global [1000005 x i8], align 16
@run = external dso_local local_unnamed_addr global i8, align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z8equationiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5checkiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4workRi(ptr nocapture noundef nonnull align 4 dereferenceable(4) %0) local_unnamed_addr #1 {
  %2 = load i32, ptr %0, align 4, !tbaa !5
  %3 = sext i32 %2 to i64
  %4 = getelementptr inbounds [1000005 x i32], ptr @type, i64 0, i64 %3
  %5 = load i32, ptr %4, align 4, !tbaa !5
  switch i32 %5, label %61 [
    i32 0, label %6
    i32 1, label %7
    i32 2, label %17
    i32 3, label %36
    i32 4, label %39
  ]

6:                                                ; preds = %1
  store i8 0, ptr @run, align 1, !tbaa !9
  br label %61

7:                                                ; preds = %1
  %8 = getelementptr inbounds [1000005 x i32], ptr @prints, i64 0, i64 %3
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %10
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %12)
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull @.str.25)
  %15 = load i32, ptr %0, align 4, !tbaa !5
  %16 = add nsw i32 %15, 1
  store i32 %16, ptr %0, align 4, !tbaa !5
  br label %61

17:                                               ; preds = %1
  %18 = getelementptr inbounds [1000005 x i32], ptr @equatResult, i64 0, i64 %3
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [1000005 x i8], ptr @activated, i64 0, i64 %20
  store i8 1, ptr %21, align 1, !tbaa !9
  %22 = getelementptr inbounds [1000005 x i32], ptr @equatLeft, i64 0, i64 %3
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %24
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = getelementptr inbounds [1000005 x i32], ptr @equatRight, i64 0, i64 %3
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = getelementptr inbounds [1000005 x i32], ptr @equatType, i64 0, i64 %3
  %33 = load i32, ptr %32, align 4, !tbaa !5
  tail call void @_Z8equationiiii(i32 noundef %19, i32 noundef %26, i32 noundef %31, i32 noundef %33)
  %34 = load i32, ptr %0, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %0, align 4, !tbaa !5
  br label %61

36:                                               ; preds = %1
  %37 = getelementptr inbounds [1000005 x i32], ptr @gotos, i64 0, i64 %3
  %38 = load i32, ptr %37, align 4, !tbaa !5
  store i32 %38, ptr %0, align 4, !tbaa !5
  br label %61

39:                                               ; preds = %1
  %40 = getelementptr inbounds [1000005 x i32], ptr @ifLeft, i64 0, i64 %3
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = getelementptr inbounds [1000005 x i32], ptr @ifRight, i64 0, i64 %3
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [1000005 x i32], ptr @variables, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = getelementptr inbounds [1000005 x i32], ptr @ifType, i64 0, i64 %3
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = tail call noundef zeroext i1 @_Z5checkiii(i32 noundef %44, i32 noundef %49, i32 noundef %51)
  %53 = load i32, ptr %0, align 4, !tbaa !5
  br i1 %52, label %54, label %58

54:                                               ; preds = %39
  %55 = sext i32 %53 to i64
  %56 = getelementptr inbounds [1000005 x i32], ptr @gotos, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  br label %60

58:                                               ; preds = %39
  %59 = add nsw i32 %53, 1
  br label %60

60:                                               ; preds = %58, %54
  %storemerge = phi i32 [ %59, %58 ], [ %57, %54 ]
  store i32 %storemerge, ptr %0, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %1, %60, %36, %17, %7, %6
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { 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 #2 = { inlinehint 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" }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}


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