; LLVM IR from ROCm/aomp :: test/LLNL/openmp5.0-tests (test_pointer_attach)

; 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 }
%struct.str = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [27 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.str, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %15 = call noalias noundef nonnull ptr @_Znam(i64 noundef 400) #7
  %16 = getelementptr inbounds %struct.str, ptr %6, i32 0, i32 0
  store ptr %15, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %27, %2
  %18 = load i32, ptr %7, align 4, !tbaa !5
  %19 = icmp slt i32 %18, 100
  br i1 %19, label %21, label %20

20:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %30

21:                                               ; preds = %17
  %22 = getelementptr inbounds %struct.str, ptr %6, i32 0, i32 0
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = load i32, ptr %7, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds i32, ptr %23, i64 %25
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %21
  %28 = load i32, ptr %7, align 4, !tbaa !5
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %7, align 4, !tbaa !5
  br label %17, !llvm.loop !13

30:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %46, %30
  %32 = load i32, ptr %8, align 4, !tbaa !5
  %33 = icmp slt i32 %32, 100
  br i1 %33, label %35, label %34

34:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %49

35:                                               ; preds = %31
  %36 = load i32, ptr %8, align 4, !tbaa !5
  %37 = load i32, ptr %8, align 4, !tbaa !5
  %38 = mul nsw i32 %36, %37
  %39 = load i32, ptr %8, align 4, !tbaa !5
  %40 = add nsw i32 %38, %39
  %41 = getelementptr inbounds %struct.str, ptr %6, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = load i32, ptr %8, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds i32, ptr %42, i64 %44
  store i32 %40, ptr %45, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %35
  %47 = load i32, ptr %8, align 4, !tbaa !5
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %8, align 4, !tbaa !5
  br label %31, !llvm.loop !15

49:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %62, %49
  %51 = load i32, ptr %9, align 4, !tbaa !5
  %52 = icmp slt i32 %51, 100
  br i1 %52, label %54, label %53

53:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %65

54:                                               ; preds = %50
  %55 = getelementptr inbounds %struct.str, ptr %6, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = load i32, ptr %9, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %56, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %59, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %54
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %9, align 4, !tbaa !5
  br label %50, !llvm.loop !16

65:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %78, %65
  %67 = load i32, ptr %10, align 4, !tbaa !5
  %68 = icmp slt i32 %67, 100
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %81

70:                                               ; preds = %66
  %71 = getelementptr inbounds %struct.str, ptr %6, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8, !tbaa !11
  %73 = load i32, ptr %10, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds i32, ptr %72, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %75, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %70
  %79 = load i32, ptr %10, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %10, align 4, !tbaa !5
  br label %66, !llvm.loop !17

81:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %100, %81
  %83 = load i32, ptr %12, align 4, !tbaa !5
  %84 = icmp slt i32 %83, 100
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %103

86:                                               ; preds = %82
  %87 = getelementptr inbounds %struct.str, ptr %6, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !11
  %89 = load i32, ptr %12, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds i32, ptr %88, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = load i32, ptr %12, align 4, !tbaa !5
  %94 = load i32, ptr %12, align 4, !tbaa !5
  %95 = mul nsw i32 %93, %94
  %96 = sub nsw i32 %92, %95
  %97 = sub nsw i32 %96, 2
  %98 = load i32, ptr %11, align 4, !tbaa !5
  %99 = add nsw i32 %98, %97
  store i32 %99, ptr %11, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %86
  %101 = load i32, ptr %12, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %12, align 4, !tbaa !5
  br label %82, !llvm.loop !18

103:                                              ; preds = %85
  %104 = load i32, ptr %11, align 4, !tbaa !5
  %105 = icmp ne i32 %104, 4950
  br i1 %105, label %106, label %139

106:                                              ; preds = %103
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %108 = load i32, ptr %11, align 4, !tbaa !5
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %107, i32 noundef %108)
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef @.str.1)
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %110, i32 noundef 4950)
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef @.str.2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %135, %106
  %114 = load i32, ptr %13, align 4, !tbaa !5
  %115 = icmp slt i32 %114, 100
  br i1 %115, label %117, label %116

116:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %138

117:                                              ; preds = %113
  %118 = load i32, ptr %13, align 4, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %118)
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef @.str.3)
  %121 = getelementptr inbounds %struct.str, ptr %6, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8, !tbaa !11
  %123 = load i32, ptr %13, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds i32, ptr %122, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = load i32, ptr %13, align 4, !tbaa !5
  %128 = load i32, ptr %13, align 4, !tbaa !5
  %129 = mul nsw i32 %127, %128
  %130 = sub nsw i32 %126, %129
  %131 = sub nsw i32 %130, 2
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %120, i32 noundef %131)
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef @.str.2)
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef @_ZSt5flushIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %135

135:                                              ; preds = %117
  %136 = load i32, ptr %13, align 4, !tbaa !5
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %13, align 4, !tbaa !5
  br label %113, !llvm.loop !19

138:                                              ; preds = %116
  store i32 1, ptr %3, align 4
  store i32 1, ptr %14, align 4
  br label %141

139:                                              ; preds = %103
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %14, align 4
  br label %141

141:                                              ; preds = %139, %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %142 = load i32, ptr %3, align 4
  ret i32 %142
}

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #2

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

; 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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

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

attributes #0 = { mustprogress norecurse 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin 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 #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 = { 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 #6 = { nounwind }
attributes #7 = { builtin 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSZ4mainE3str", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}


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

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [27 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
.preheader46.preheader:
  %2 = tail call noalias noundef nonnull dereferenceable(400) ptr @_Znam(i64 noundef 400) #7
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(400) %2, i8 0, i64 400, i1 false), !tbaa !5
  br label %.preheader46

.preheader46:                                     ; preds = %.preheader46, %.preheader46.preheader
  %indvars.iv = phi i64 [ 0, %.preheader46.preheader ], [ %indvars.iv.next.4, %.preheader46 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %3 = mul nuw nsw i64 %indvars.iv.next, %indvars.iv
  %4 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv
  %5 = trunc nuw i64 %3 to i32
  store i32 %5, ptr %4, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %6 = mul nuw nsw i64 %indvars.iv.next.1, %indvars.iv.next
  %7 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv.next
  %8 = trunc nuw i64 %6 to i32
  store i32 %8, ptr %7, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %9 = mul nuw nsw i64 %indvars.iv.next.2, %indvars.iv.next.1
  %10 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv.next.1
  %11 = trunc nuw i64 %9 to i32
  store i32 %11, ptr %10, align 4, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %12 = mul nuw nsw i64 %indvars.iv.next.3, %indvars.iv.next.2
  %13 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv.next.2
  %14 = trunc nuw i64 %12 to i32
  store i32 %14, ptr %13, align 4, !tbaa !5
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv, 5
  %15 = mul nuw nsw i64 %indvars.iv.next.4, %indvars.iv.next.3
  %16 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv.next.3
  %17 = trunc nuw i64 %15 to i32
  store i32 %17, ptr %16, align 4, !tbaa !5
  %exitcond.not.4 = icmp eq i64 %indvars.iv.next.4, 100
  br i1 %exitcond.not.4, label %vector.body, label %.preheader46, !llvm.loop !9

vector.body:                                      ; preds = %.preheader46
  %18 = getelementptr inbounds i8, ptr %2, i64 16
  %wide.load = load <4 x i32>, ptr %2, align 4, !tbaa !5
  %wide.load72 = load <4 x i32>, ptr %18, align 4, !tbaa !5
  %19 = add nsw <4 x i32> %wide.load, <i32 1, i32 1, i32 1, i32 1>
  %20 = add nsw <4 x i32> %wide.load72, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %19, ptr %2, align 4, !tbaa !5
  store <4 x i32> %20, ptr %18, align 4, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %2, i64 32
  %22 = getelementptr inbounds i8, ptr %2, i64 48
  %wide.load.1 = load <4 x i32>, ptr %21, align 4, !tbaa !5
  %wide.load72.1 = load <4 x i32>, ptr %22, align 4, !tbaa !5
  %23 = add nsw <4 x i32> %wide.load.1, <i32 1, i32 1, i32 1, i32 1>
  %24 = add nsw <4 x i32> %wide.load72.1, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %23, ptr %21, align 4, !tbaa !5
  store <4 x i32> %24, ptr %22, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %2, i64 64
  %26 = getelementptr inbounds i8, ptr %2, i64 80
  %wide.load.2 = load <4 x i32>, ptr %25, align 4, !tbaa !5
  %wide.load72.2 = load <4 x i32>, ptr %26, align 4, !tbaa !5
  %27 = add nsw <4 x i32> %wide.load.2, <i32 1, i32 1, i32 1, i32 1>
  %28 = add nsw <4 x i32> %wide.load72.2, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %27, ptr %25, align 4, !tbaa !5
  store <4 x i32> %28, ptr %26, align 4, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %2, i64 96
  %30 = getelementptr inbounds i8, ptr %2, i64 112
  %wide.load.3 = load <4 x i32>, ptr %29, align 4, !tbaa !5
  %wide.load72.3 = load <4 x i32>, ptr %30, align 4, !tbaa !5
  %31 = add nsw <4 x i32> %wide.load.3, <i32 1, i32 1, i32 1, i32 1>
  %32 = add nsw <4 x i32> %wide.load72.3, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %31, ptr %29, align 4, !tbaa !5
  store <4 x i32> %32, ptr %30, align 4, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %2, i64 128
  %34 = getelementptr inbounds i8, ptr %2, i64 144
  %wide.load.4 = load <4 x i32>, ptr %33, align 4, !tbaa !5
  %wide.load72.4 = load <4 x i32>, ptr %34, align 4, !tbaa !5
  %35 = add nsw <4 x i32> %wide.load.4, <i32 1, i32 1, i32 1, i32 1>
  %36 = add nsw <4 x i32> %wide.load72.4, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %35, ptr %33, align 4, !tbaa !5
  store <4 x i32> %36, ptr %34, align 4, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %2, i64 160
  %38 = getelementptr inbounds i8, ptr %2, i64 176
  %wide.load.5 = load <4 x i32>, ptr %37, align 4, !tbaa !5
  %wide.load72.5 = load <4 x i32>, ptr %38, align 4, !tbaa !5
  %39 = add nsw <4 x i32> %wide.load.5, <i32 1, i32 1, i32 1, i32 1>
  %40 = add nsw <4 x i32> %wide.load72.5, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %39, ptr %37, align 4, !tbaa !5
  store <4 x i32> %40, ptr %38, align 4, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %2, i64 192
  %42 = getelementptr inbounds i8, ptr %2, i64 208
  %wide.load.6 = load <4 x i32>, ptr %41, align 4, !tbaa !5
  %wide.load72.6 = load <4 x i32>, ptr %42, align 4, !tbaa !5
  %43 = add nsw <4 x i32> %wide.load.6, <i32 1, i32 1, i32 1, i32 1>
  %44 = add nsw <4 x i32> %wide.load72.6, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %43, ptr %41, align 4, !tbaa !5
  store <4 x i32> %44, ptr %42, align 4, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %2, i64 224
  %46 = getelementptr inbounds i8, ptr %2, i64 240
  %wide.load.7 = load <4 x i32>, ptr %45, align 4, !tbaa !5
  %wide.load72.7 = load <4 x i32>, ptr %46, align 4, !tbaa !5
  %47 = add nsw <4 x i32> %wide.load.7, <i32 1, i32 1, i32 1, i32 1>
  %48 = add nsw <4 x i32> %wide.load72.7, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %47, ptr %45, align 4, !tbaa !5
  store <4 x i32> %48, ptr %46, align 4, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %2, i64 256
  %50 = getelementptr inbounds i8, ptr %2, i64 272
  %wide.load.8 = load <4 x i32>, ptr %49, align 4, !tbaa !5
  %wide.load72.8 = load <4 x i32>, ptr %50, align 4, !tbaa !5
  %51 = add nsw <4 x i32> %wide.load.8, <i32 1, i32 1, i32 1, i32 1>
  %52 = add nsw <4 x i32> %wide.load72.8, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %51, ptr %49, align 4, !tbaa !5
  store <4 x i32> %52, ptr %50, align 4, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %2, i64 288
  %54 = getelementptr inbounds i8, ptr %2, i64 304
  %wide.load.9 = load <4 x i32>, ptr %53, align 4, !tbaa !5
  %wide.load72.9 = load <4 x i32>, ptr %54, align 4, !tbaa !5
  %55 = add nsw <4 x i32> %wide.load.9, <i32 1, i32 1, i32 1, i32 1>
  %56 = add nsw <4 x i32> %wide.load72.9, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %55, ptr %53, align 4, !tbaa !5
  store <4 x i32> %56, ptr %54, align 4, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %2, i64 320
  %58 = getelementptr inbounds i8, ptr %2, i64 336
  %wide.load.10 = load <4 x i32>, ptr %57, align 4, !tbaa !5
  %wide.load72.10 = load <4 x i32>, ptr %58, align 4, !tbaa !5
  %59 = add nsw <4 x i32> %wide.load.10, <i32 1, i32 1, i32 1, i32 1>
  %60 = add nsw <4 x i32> %wide.load72.10, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %59, ptr %57, align 4, !tbaa !5
  store <4 x i32> %60, ptr %58, align 4, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %2, i64 352
  %62 = getelementptr inbounds i8, ptr %2, i64 368
  %wide.load.11 = load <4 x i32>, ptr %61, align 4, !tbaa !5
  %wide.load72.11 = load <4 x i32>, ptr %62, align 4, !tbaa !5
  %63 = add nsw <4 x i32> %wide.load.11, <i32 1, i32 1, i32 1, i32 1>
  %64 = add nsw <4 x i32> %wide.load72.11, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %63, ptr %61, align 4, !tbaa !5
  store <4 x i32> %64, ptr %62, align 4, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %2, i64 384
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %65, align 4, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %2, i64 388
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %68, align 4, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %2, i64 392
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %71, align 4, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %2, i64 396
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %74, align 4, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %2, i64 16
  %wide.load79 = load <4 x i32>, ptr %2, align 4, !tbaa !5
  %wide.load80 = load <4 x i32>, ptr %77, align 4, !tbaa !5
  %78 = add nsw <4 x i32> %wide.load79, <i32 1, i32 1, i32 1, i32 1>
  %79 = add nsw <4 x i32> %wide.load80, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %78, ptr %2, align 4, !tbaa !5
  store <4 x i32> %79, ptr %77, align 4, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %2, i64 32
  %81 = getelementptr inbounds i8, ptr %2, i64 48
  %wide.load79.1 = load <4 x i32>, ptr %80, align 4, !tbaa !5
  %wide.load80.1 = load <4 x i32>, ptr %81, align 4, !tbaa !5
  %82 = add nsw <4 x i32> %wide.load79.1, <i32 1, i32 1, i32 1, i32 1>
  %83 = add nsw <4 x i32> %wide.load80.1, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %82, ptr %80, align 4, !tbaa !5
  store <4 x i32> %83, ptr %81, align 4, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %2, i64 64
  %85 = getelementptr inbounds i8, ptr %2, i64 80
  %wide.load79.2 = load <4 x i32>, ptr %84, align 4, !tbaa !5
  %wide.load80.2 = load <4 x i32>, ptr %85, align 4, !tbaa !5
  %86 = add nsw <4 x i32> %wide.load79.2, <i32 1, i32 1, i32 1, i32 1>
  %87 = add nsw <4 x i32> %wide.load80.2, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %86, ptr %84, align 4, !tbaa !5
  store <4 x i32> %87, ptr %85, align 4, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %2, i64 96
  %89 = getelementptr inbounds i8, ptr %2, i64 112
  %wide.load79.3 = load <4 x i32>, ptr %88, align 4, !tbaa !5
  %wide.load80.3 = load <4 x i32>, ptr %89, align 4, !tbaa !5
  %90 = add nsw <4 x i32> %wide.load79.3, <i32 1, i32 1, i32 1, i32 1>
  %91 = add nsw <4 x i32> %wide.load80.3, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %90, ptr %88, align 4, !tbaa !5
  store <4 x i32> %91, ptr %89, align 4, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %2, i64 128
  %93 = getelementptr inbounds i8, ptr %2, i64 144
  %wide.load79.4 = load <4 x i32>, ptr %92, align 4, !tbaa !5
  %wide.load80.4 = load <4 x i32>, ptr %93, align 4, !tbaa !5
  %94 = add nsw <4 x i32> %wide.load79.4, <i32 1, i32 1, i32 1, i32 1>
  %95 = add nsw <4 x i32> %wide.load80.4, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %94, ptr %92, align 4, !tbaa !5
  store <4 x i32> %95, ptr %93, align 4, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %2, i64 160
  %97 = getelementptr inbounds i8, ptr %2, i64 176
  %wide.load79.5 = load <4 x i32>, ptr %96, align 4, !tbaa !5
  %wide.load80.5 = load <4 x i32>, ptr %97, align 4, !tbaa !5
  %98 = add nsw <4 x i32> %wide.load79.5, <i32 1, i32 1, i32 1, i32 1>
  %99 = add nsw <4 x i32> %wide.load80.5, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %98, ptr %96, align 4, !tbaa !5
  store <4 x i32> %99, ptr %97, align 4, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %2, i64 192
  %101 = getelementptr inbounds i8, ptr %2, i64 208
  %wide.load79.6 = load <4 x i32>, ptr %100, align 4, !tbaa !5
  %wide.load80.6 = load <4 x i32>, ptr %101, align 4, !tbaa !5
  %102 = add nsw <4 x i32> %wide.load79.6, <i32 1, i32 1, i32 1, i32 1>
  %103 = add nsw <4 x i32> %wide.load80.6, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %102, ptr %100, align 4, !tbaa !5
  store <4 x i32> %103, ptr %101, align 4, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %2, i64 224
  %105 = getelementptr inbounds i8, ptr %2, i64 240
  %wide.load79.7 = load <4 x i32>, ptr %104, align 4, !tbaa !5
  %wide.load80.7 = load <4 x i32>, ptr %105, align 4, !tbaa !5
  %106 = add nsw <4 x i32> %wide.load79.7, <i32 1, i32 1, i32 1, i32 1>
  %107 = add nsw <4 x i32> %wide.load80.7, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %106, ptr %104, align 4, !tbaa !5
  store <4 x i32> %107, ptr %105, align 4, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %2, i64 256
  %109 = getelementptr inbounds i8, ptr %2, i64 272
  %wide.load79.8 = load <4 x i32>, ptr %108, align 4, !tbaa !5
  %wide.load80.8 = load <4 x i32>, ptr %109, align 4, !tbaa !5
  %110 = add nsw <4 x i32> %wide.load79.8, <i32 1, i32 1, i32 1, i32 1>
  %111 = add nsw <4 x i32> %wide.load80.8, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %110, ptr %108, align 4, !tbaa !5
  store <4 x i32> %111, ptr %109, align 4, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %2, i64 288
  %113 = getelementptr inbounds i8, ptr %2, i64 304
  %wide.load79.9 = load <4 x i32>, ptr %112, align 4, !tbaa !5
  %wide.load80.9 = load <4 x i32>, ptr %113, align 4, !tbaa !5
  %114 = add nsw <4 x i32> %wide.load79.9, <i32 1, i32 1, i32 1, i32 1>
  %115 = add nsw <4 x i32> %wide.load80.9, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %114, ptr %112, align 4, !tbaa !5
  store <4 x i32> %115, ptr %113, align 4, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %2, i64 320
  %117 = getelementptr inbounds i8, ptr %2, i64 336
  %wide.load79.10 = load <4 x i32>, ptr %116, align 4, !tbaa !5
  %wide.load80.10 = load <4 x i32>, ptr %117, align 4, !tbaa !5
  %118 = add nsw <4 x i32> %wide.load79.10, <i32 1, i32 1, i32 1, i32 1>
  %119 = add nsw <4 x i32> %wide.load80.10, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %118, ptr %116, align 4, !tbaa !5
  store <4 x i32> %119, ptr %117, align 4, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %2, i64 352
  %121 = getelementptr inbounds i8, ptr %2, i64 368
  %wide.load79.11 = load <4 x i32>, ptr %120, align 4, !tbaa !5
  %wide.load80.11 = load <4 x i32>, ptr %121, align 4, !tbaa !5
  %122 = add nsw <4 x i32> %wide.load79.11, <i32 1, i32 1, i32 1, i32 1>
  %123 = add nsw <4 x i32> %wide.load80.11, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %122, ptr %120, align 4, !tbaa !5
  store <4 x i32> %123, ptr %121, align 4, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %2, i64 384
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %124, align 4, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %2, i64 388
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %127, align 4, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %2, i64 392
  %131 = load i32, ptr %130, align 4, !tbaa !5
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %130, align 4, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %2, i64 396
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %133, align 4, !tbaa !5
  br label %vector.body86

vector.body86:                                    ; preds = %vector.body, %vector.body86
  %index87 = phi i64 [ %index.next92, %vector.body86 ], [ 0, %vector.body ]
  %vec.ind = phi <4 x i64> [ %vec.ind.next, %vector.body86 ], [ <i64 0, i64 1, i64 2, i64 3>, %vector.body ]
  %vec.phi = phi <4 x i32> [ %146, %vector.body86 ], [ zeroinitializer, %vector.body ]
  %vec.phi89 = phi <4 x i32> [ %147, %vector.body86 ], [ zeroinitializer, %vector.body ]
  %step.add = add <4 x i64> %vec.ind, <i64 4, i64 4, i64 4, i64 4>
  %136 = getelementptr inbounds i32, ptr %2, i64 %index87
  %137 = getelementptr inbounds i8, ptr %136, i64 16
  %wide.load90 = load <4 x i32>, ptr %136, align 4, !tbaa !5
  %wide.load91 = load <4 x i32>, ptr %137, align 4, !tbaa !5
  %138 = mul nuw nsw <4 x i64> %vec.ind, %vec.ind
  %139 = mul nuw nsw <4 x i64> %step.add, %step.add
  %140 = add <4 x i32> %vec.phi, <i32 -2, i32 -2, i32 -2, i32 -2>
  %141 = add <4 x i32> %vec.phi89, <i32 -2, i32 -2, i32 -2, i32 -2>
  %142 = trunc <4 x i64> %138 to <4 x i32>
  %143 = trunc <4 x i64> %139 to <4 x i32>
  %144 = sub <4 x i32> %140, %142
  %145 = sub <4 x i32> %141, %143
  %146 = add <4 x i32> %144, %wide.load90
  %147 = add <4 x i32> %145, %wide.load91
  %index.next92 = add nuw i64 %index87, 8
  %vec.ind.next = add <4 x i64> %vec.ind, <i64 8, i64 8, i64 8, i64 8>
  %148 = icmp eq i64 %index.next92, 96
  br i1 %148, label %.preheader, label %vector.body86, !llvm.loop !11

.preheader:                                       ; preds = %vector.body86
  %bin.rdx = add <4 x i32> %147, %146
  %149 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %150 = getelementptr inbounds i8, ptr %2, i64 384
  %151 = load i32, ptr %150, align 4, !tbaa !5
  %152 = add i32 %149, -9218
  %153 = add i32 %152, %151
  %154 = getelementptr inbounds i8, ptr %2, i64 388
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = add i32 %153, -9411
  %157 = add i32 %156, %155
  %158 = getelementptr inbounds i8, ptr %2, i64 392
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = add i32 %157, -9606
  %161 = add i32 %160, %159
  %162 = getelementptr inbounds i8, ptr %2, i64 396
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = add i32 %161, -9803
  %165 = add i32 %164, %163
  %.not = icmp eq i32 %165, 4950
  br i1 %.not, label %184, label %166

166:                                              ; preds = %.preheader
  %167 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %168 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %167, i32 noundef %165)
  %169 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %168, ptr noundef nonnull @.str.1)
  %170 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %169, i32 noundef 4950)
  %171 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef nonnull @.str.2)
  br label %172

172:                                              ; preds = %166, %172
  %indvars.iv68 = phi i64 [ 0, %166 ], [ %indvars.iv.next69, %172 ]
  %173 = trunc nuw nsw i64 %indvars.iv68 to i32
  %174 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %173)
  %175 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef nonnull @.str.3)
  %176 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv68
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = mul nuw nsw i64 %indvars.iv68, %indvars.iv68
  %179 = trunc nuw i64 %178 to i32
  %reass.sub = sub i32 %177, %179
  %180 = add i32 %reass.sub, -2
  %181 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %175, i32 noundef %180)
  %182 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull @.str.2)
  %183 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %182, ptr noundef nonnull @_ZSt5flushIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %indvars.iv.next69 = add nuw nsw i64 %indvars.iv68, 1
  %exitcond71.not = icmp eq i64 %indvars.iv.next69, 100
  br i1 %exitcond71.not, label %.loopexit, label %172, !llvm.loop !14

184:                                              ; preds = %.preheader
  %185 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
  br label %.loopexit

.loopexit:                                        ; preds = %172, %184
  %.041 = phi i32 [ 0, %184 ], [ 1, %172 ]
  ret i32 %.041
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #1

; 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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #6

attributes #0 = { mustprogress norecurse 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 = { nobuiltin 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 #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" }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { builtin 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10, !12, !13}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass