; LLVM IR from OpenDiS/OpenDiS :: core/pydis/c/util (Util_subset)

; 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._node = type { i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %struct._tag, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct._tag = type { i32, i32 }

; 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: nounwind uwtable
define dso_local void @ResetSegForces(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, double noundef %5, i32 noundef %6) #1 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store double %3, ptr %11, align 8, !tbaa !9
  store double %4, ptr %12, align 8, !tbaa !9
  store double %5, ptr %13, align 8, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #2
  %16 = load i32, ptr %14, align 4, !tbaa !11
  %17 = icmp ne i32 %16, 0
  br i1 %17, label %18, label %37

18:                                               ; preds = %7
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct._node, ptr %20, i32 0, i32 19
  %22 = getelementptr inbounds %struct._tag, ptr %21, i32 0, i32 0
  %23 = load i32, ptr %22, align 8, !tbaa !13
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._node, ptr %24, i32 0, i32 19
  %26 = getelementptr inbounds %struct._tag, ptr %25, i32 0, i32 1
  %27 = load i32, ptr %26, align 4, !tbaa !16
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._tag, ptr %28, i32 0, i32 0
  %30 = load i32, ptr %29, align 4, !tbaa !17
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct._tag, ptr %31, i32 0, i32 1
  %33 = load i32, ptr %32, align 4, !tbaa !18
  %34 = load double, ptr %11, align 8, !tbaa !9
  %35 = load double, ptr %12, align 8, !tbaa !9
  %36 = load double, ptr %13, align 8, !tbaa !9
  call void @AddOp(ptr noundef %19, i32 noundef 6, i32 noundef %23, i32 noundef %27, i32 noundef %30, i32 noundef %33, i32 noundef -1, i32 noundef -1, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef %34, double noundef %35, double noundef %36, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  br label %37

37:                                               ; preds = %18, %7
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %38

38:                                               ; preds = %93, %37
  %39 = load i32, ptr %15, align 4, !tbaa !11
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct._node, ptr %40, i32 0, i32 20
  %42 = load i32, ptr %41, align 8, !tbaa !19
  %43 = icmp slt i32 %39, %42
  br i1 %43, label %44, label %96

44:                                               ; preds = %38
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct._node, ptr %45, i32 0, i32 21
  %47 = load ptr, ptr %46, align 8, !tbaa !20
  %48 = load i32, ptr %15, align 4, !tbaa !11
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds %struct._tag, ptr %47, i64 %49
  %51 = getelementptr inbounds %struct._tag, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 4, !tbaa !17
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._tag, ptr %53, i32 0, i32 0
  %55 = load i32, ptr %54, align 4, !tbaa !17
  %56 = icmp eq i32 %52, %55
  br i1 %56, label %57, label %92

57:                                               ; preds = %44
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._node, ptr %58, i32 0, i32 21
  %60 = load ptr, ptr %59, align 8, !tbaa !20
  %61 = load i32, ptr %15, align 4, !tbaa !11
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds %struct._tag, ptr %60, i64 %62
  %64 = getelementptr inbounds %struct._tag, ptr %63, i32 0, i32 1
  %65 = load i32, ptr %64, align 4, !tbaa !18
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct._tag, ptr %66, i32 0, i32 1
  %68 = load i32, ptr %67, align 4, !tbaa !18
  %69 = icmp eq i32 %65, %68
  br i1 %69, label %70, label %92

70:                                               ; preds = %57
  %71 = load double, ptr %11, align 8, !tbaa !9
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._node, ptr %72, i32 0, i32 22
  %74 = load ptr, ptr %73, align 8, !tbaa !21
  %75 = load i32, ptr %15, align 4, !tbaa !11
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds double, ptr %74, i64 %76
  store double %71, ptr %77, align 8, !tbaa !9
  %78 = load double, ptr %12, align 8, !tbaa !9
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._node, ptr %79, i32 0, i32 23
  %81 = load ptr, ptr %80, align 8, !tbaa !22
  %82 = load i32, ptr %15, align 4, !tbaa !11
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds double, ptr %81, i64 %83
  store double %78, ptr %84, align 8, !tbaa !9
  %85 = load double, ptr %13, align 8, !tbaa !9
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._node, ptr %86, i32 0, i32 24
  %88 = load ptr, ptr %87, align 8, !tbaa !23
  %89 = load i32, ptr %15, align 4, !tbaa !11
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds double, ptr %88, i64 %90
  store double %85, ptr %91, align 8, !tbaa !9
  br label %96

92:                                               ; preds = %57, %44
  br label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %15, align 4, !tbaa !11
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %15, align 4, !tbaa !11
  br label %38, !llvm.loop !24

96:                                               ; preds = %70, %38
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._node, ptr %97, i32 0, i32 4
  store double 0.000000e+00, ptr %98, align 8, !tbaa !26
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct._node, ptr %99, i32 0, i32 5
  store double 0.000000e+00, ptr %100, align 8, !tbaa !27
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._node, ptr %101, i32 0, i32 6
  store double 0.000000e+00, ptr %102, align 8, !tbaa !28
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %103

103:                                              ; preds = %143, %96
  %104 = load i32, ptr %15, align 4, !tbaa !11
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._node, ptr %105, i32 0, i32 20
  %107 = load i32, ptr %106, align 8, !tbaa !19
  %108 = icmp slt i32 %104, %107
  br i1 %108, label %109, label %146

109:                                              ; preds = %103
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct._node, ptr %110, i32 0, i32 22
  %112 = load ptr, ptr %111, align 8, !tbaa !21
  %113 = load i32, ptr %15, align 4, !tbaa !11
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds double, ptr %112, i64 %114
  %116 = load double, ptr %115, align 8, !tbaa !9
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct._node, ptr %117, i32 0, i32 4
  %119 = load double, ptr %118, align 8, !tbaa !26
  %120 = fadd double %119, %116
  store double %120, ptr %118, align 8, !tbaa !26
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct._node, ptr %121, i32 0, i32 23
  %123 = load ptr, ptr %122, align 8, !tbaa !22
  %124 = load i32, ptr %15, align 4, !tbaa !11
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %123, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !9
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._node, ptr %128, i32 0, i32 5
  %130 = load double, ptr %129, align 8, !tbaa !27
  %131 = fadd double %130, %127
  store double %131, ptr %129, align 8, !tbaa !27
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct._node, ptr %132, i32 0, i32 24
  %134 = load ptr, ptr %133, align 8, !tbaa !23
  %135 = load i32, ptr %15, align 4, !tbaa !11
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds double, ptr %134, i64 %136
  %138 = load double, ptr %137, align 8, !tbaa !9
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct._node, ptr %139, i32 0, i32 6
  %141 = load double, ptr %140, align 8, !tbaa !28
  %142 = fadd double %141, %138
  store double %142, ptr %140, align 8, !tbaa !28
  br label %143

143:                                              ; preds = %109
  %144 = load i32, ptr %15, align 4, !tbaa !11
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %15, align 4, !tbaa !11
  br label %103, !llvm.loop !29

146:                                              ; preds = %103
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct._node, ptr %147, i32 0, i32 0
  %149 = load i32, ptr %148, align 8, !tbaa !30
  %150 = or i32 %149, 1
  store i32 %150, ptr %148, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #2
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @AddOp(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 152}
!14 = !{!"_node", !12, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !15, i64 152, !12, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !12, i64 288, !6, i64 296, !6, i64 304, !12, i64 312}
!15 = !{!"_tag", !12, i64 0, !12, i64 4}
!16 = !{!14, !12, i64 156}
!17 = !{!15, !12, i64 0}
!18 = !{!15, !12, i64 4}
!19 = !{!14, !12, i64 160}
!20 = !{!14, !6, i64 168}
!21 = !{!14, !6, i64 176}
!22 = !{!14, !6, i64 184}
!23 = !{!14, !6, i64 192}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!14, !10, i64 32}
!27 = !{!14, !10, i64 40}
!28 = !{!14, !10, i64 48}
!29 = distinct !{!29, !25}
!30 = !{!14, !12, 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"

%struct._tag = type { i32, i32 }

; Function Attrs: nounwind uwtable
define dso_local void @ResetSegForces(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, double noundef %3, double noundef %4, double noundef %5, i32 noundef %6) local_unnamed_addr #0 {
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %16, label %8

8:                                                ; preds = %7
  %9 = getelementptr inbounds i8, ptr %1, i64 152
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %1, i64 156
  %12 = load i32, ptr %11, align 4, !tbaa !13
  %13 = load i32, ptr %2, align 4, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %2, i64 4
  %15 = load i32, ptr %14, align 4, !tbaa !15
  tail call void @AddOp(ptr noundef %0, i32 noundef 6, i32 noundef %10, i32 noundef %12, i32 noundef %13, i32 noundef %15, i32 noundef -1, i32 noundef -1, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef %3, double noundef %4, double noundef %5, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  br label %16

16:                                               ; preds = %8, %7
  %17 = getelementptr inbounds i8, ptr %1, i64 160
  %18 = load i32, ptr %17, align 8, !tbaa !16
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph, label %.loopexit.thread

.loopexit.thread:                                 ; preds = %16
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %20, i8 0, i64 24, i1 false)
  br label %._crit_edge

.lr.ph:                                           ; preds = %16
  %21 = getelementptr inbounds i8, ptr %1, i64 168
  %22 = load ptr, ptr %21, align 8, !tbaa !17
  %23 = load i32, ptr %2, align 4, !tbaa !14
  %24 = getelementptr inbounds i8, ptr %2, i64 4
  %wide.trip.count = zext nneg i32 %18 to i64
  br label %25

25:                                               ; preds = %.lr.ph, %44
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %44 ]
  %26 = getelementptr inbounds %struct._tag, ptr %22, i64 %indvars.iv
  %27 = load i32, ptr %26, align 4, !tbaa !14
  %28 = icmp eq i32 %27, %23
  br i1 %28, label %29, label %44

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %26, i64 4
  %31 = load i32, ptr %30, align 4, !tbaa !15
  %32 = load i32, ptr %24, align 4, !tbaa !15
  %33 = icmp eq i32 %31, %32
  br i1 %33, label %34, label %44

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %1, i64 176
  %36 = load ptr, ptr %35, align 8, !tbaa !18
  %37 = getelementptr inbounds double, ptr %36, i64 %indvars.iv
  store double %3, ptr %37, align 8, !tbaa !19
  %38 = getelementptr inbounds i8, ptr %1, i64 184
  %39 = load ptr, ptr %38, align 8, !tbaa !20
  %40 = getelementptr inbounds double, ptr %39, i64 %indvars.iv
  store double %4, ptr %40, align 8, !tbaa !19
  %41 = getelementptr inbounds i8, ptr %1, i64 192
  %42 = load ptr, ptr %41, align 8, !tbaa !21
  %43 = getelementptr inbounds double, ptr %42, i64 %indvars.iv
  store double %5, ptr %43, align 8, !tbaa !19
  br label %.loopexit

44:                                               ; preds = %25, %29
  %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 %.loopexit, label %25, !llvm.loop !22

.loopexit:                                        ; preds = %44, %34
  %45 = getelementptr inbounds i8, ptr %1, i64 32
  %46 = getelementptr inbounds i8, ptr %1, i64 40
  %47 = getelementptr inbounds i8, ptr %1, i64 48
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %45, i8 0, i64 24, i1 false)
  br i1 %19, label %.lr.ph46, label %._crit_edge

.lr.ph46:                                         ; preds = %.loopexit
  %48 = getelementptr inbounds i8, ptr %1, i64 176
  %49 = load ptr, ptr %48, align 8, !tbaa !18
  %50 = getelementptr inbounds i8, ptr %1, i64 184
  %51 = load ptr, ptr %50, align 8, !tbaa !20
  %52 = getelementptr inbounds i8, ptr %1, i64 192
  %53 = load ptr, ptr %52, align 8, !tbaa !21
  %xtraiter = and i64 %wide.trip.count, 1
  %54 = icmp eq i32 %18, 1
  br i1 %54, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph46.new

.lr.ph46.new:                                     ; preds = %.lr.ph46
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %55

55:                                               ; preds = %55, %.lr.ph46.new
  %indvars.iv51 = phi i64 [ 0, %.lr.ph46.new ], [ %indvars.iv.next52.1, %55 ]
  %56 = phi double [ 0.000000e+00, %.lr.ph46.new ], [ %76, %55 ]
  %57 = phi double [ 0.000000e+00, %.lr.ph46.new ], [ %73, %55 ]
  %58 = phi double [ 0.000000e+00, %.lr.ph46.new ], [ %70, %55 ]
  %niter = phi i64 [ 0, %.lr.ph46.new ], [ %niter.next.1, %55 ]
  %59 = getelementptr inbounds double, ptr %49, i64 %indvars.iv51
  %60 = load double, ptr %59, align 8, !tbaa !19
  %61 = fadd double %60, %58
  store double %61, ptr %45, align 8, !tbaa !24
  %62 = getelementptr inbounds double, ptr %51, i64 %indvars.iv51
  %63 = load double, ptr %62, align 8, !tbaa !19
  %64 = fadd double %63, %57
  store double %64, ptr %46, align 8, !tbaa !25
  %65 = getelementptr inbounds double, ptr %53, i64 %indvars.iv51
  %66 = load double, ptr %65, align 8, !tbaa !19
  %67 = fadd double %66, %56
  store double %67, ptr %47, align 8, !tbaa !26
  %indvars.iv.next52 = or disjoint i64 %indvars.iv51, 1
  %68 = getelementptr inbounds double, ptr %49, i64 %indvars.iv.next52
  %69 = load double, ptr %68, align 8, !tbaa !19
  %70 = fadd double %69, %61
  store double %70, ptr %45, align 8, !tbaa !24
  %71 = getelementptr inbounds double, ptr %51, i64 %indvars.iv.next52
  %72 = load double, ptr %71, align 8, !tbaa !19
  %73 = fadd double %72, %64
  store double %73, ptr %46, align 8, !tbaa !25
  %74 = getelementptr inbounds double, ptr %53, i64 %indvars.iv.next52
  %75 = load double, ptr %74, align 8, !tbaa !19
  %76 = fadd double %75, %67
  store double %76, ptr %47, align 8, !tbaa !26
  %indvars.iv.next52.1 = add nuw nsw i64 %indvars.iv51, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %55, !llvm.loop !27

._crit_edge.loopexit.unr-lcssa:                   ; preds = %55, %.lr.ph46
  %indvars.iv51.unr = phi i64 [ 0, %.lr.ph46 ], [ %indvars.iv.next52.1, %55 ]
  %.unr = phi double [ 0.000000e+00, %.lr.ph46 ], [ %76, %55 ]
  %.unr59 = phi double [ 0.000000e+00, %.lr.ph46 ], [ %73, %55 ]
  %.unr60 = phi double [ 0.000000e+00, %.lr.ph46 ], [ %70, %55 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %77 = getelementptr inbounds double, ptr %49, i64 %indvars.iv51.unr
  %78 = load double, ptr %77, align 8, !tbaa !19
  %79 = fadd double %78, %.unr60
  store double %79, ptr %45, align 8, !tbaa !24
  %80 = getelementptr inbounds double, ptr %51, i64 %indvars.iv51.unr
  %81 = load double, ptr %80, align 8, !tbaa !19
  %82 = fadd double %81, %.unr59
  store double %82, ptr %46, align 8, !tbaa !25
  %83 = getelementptr inbounds double, ptr %53, i64 %indvars.iv51.unr
  %84 = load double, ptr %83, align 8, !tbaa !19
  %85 = fadd double %84, %.unr
  store double %85, ptr %47, align 8, !tbaa !26
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %.loopexit.thread, %.loopexit
  %86 = load i32, ptr %1, align 8, !tbaa !28
  %87 = or i32 %86, 1
  store i32 %87, ptr %1, align 8, !tbaa !28
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @AddOp(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #0

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

attributes #0 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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, !7, i64 152}
!6 = !{!"_node", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !11, i64 152, !7, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !12, i64 296, !12, i64 304, !7, i64 312}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"_tag", !7, i64 0, !7, i64 4}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 156}
!14 = !{!11, !7, i64 0}
!15 = !{!11, !7, i64 4}
!16 = !{!6, !7, i64 160}
!17 = !{!6, !12, i64 168}
!18 = !{!6, !12, i64 176}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !12, i64 184}
!21 = !{!6, !12, i64 192}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!6, !10, i64 32}
!25 = !{!6, !10, i64 40}
!26 = !{!6, !10, i64 48}
!27 = distinct !{!27, !23}
!28 = !{!6, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass