; LLVM IR from jorgemf/c-evolutionary-library :: examples/tsp/AlgorithmTSP.ll (ZN12AlgorithmTSP29calculateGeographicalDistanceEiPPdS1_)

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

; 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
define dso_local void @_ZN12AlgorithmTSP29calculateGeographicalDistanceEiPPdS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store double 0x400921FAFC8B007A, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store double 0x40B8EA6353F7CED9, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %21

21:                                               ; preds = %93, %4
  %22 = load i32, ptr %11, align 4, !tbaa !9
  %23 = load i32, ptr %6, align 4, !tbaa !9
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %96

26:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = load i32, ptr %11, align 4, !tbaa !9
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds ptr, ptr %27, i64 %29
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds double, ptr %31, i64 0
  %33 = load double, ptr %32, align 8, !tbaa !11
  %34 = fptosi double %33 to i32
  store i32 %34, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load i32, ptr %11, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds ptr, ptr %35, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = getelementptr inbounds double, ptr %39, i64 0
  %41 = load double, ptr %40, align 8, !tbaa !11
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = sitofp i32 %42 to double
  %44 = fsub double %41, %43
  store double %44, ptr %13, align 8, !tbaa !11
  %45 = load double, ptr %9, align 8, !tbaa !11
  %46 = load i32, ptr %12, align 4, !tbaa !9
  %47 = sitofp i32 %46 to double
  %48 = load double, ptr %13, align 8, !tbaa !11
  %49 = fmul double 5.000000e+00, %48
  %50 = fdiv double %49, 3.000000e+00
  %51 = fadd double %47, %50
  %52 = fmul double %45, %51
  %53 = fdiv double %52, 1.800000e+02
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds ptr, ptr %54, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds double, ptr %58, i64 0
  store double %53, ptr %59, align 8, !tbaa !11
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load i32, ptr %11, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds ptr, ptr %60, i64 %62
  %64 = load ptr, ptr %63, align 8, !tbaa !5
  %65 = getelementptr inbounds double, ptr %64, i64 1
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = fptosi double %66 to i32
  store i32 %67, ptr %12, align 4, !tbaa !9
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds ptr, ptr %68, i64 %70
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = getelementptr inbounds double, ptr %72, i64 1
  %74 = load double, ptr %73, align 8, !tbaa !11
  %75 = load i32, ptr %12, align 4, !tbaa !9
  %76 = sitofp i32 %75 to double
  %77 = fsub double %74, %76
  store double %77, ptr %13, align 8, !tbaa !11
  %78 = load double, ptr %9, align 8, !tbaa !11
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = sitofp i32 %79 to double
  %81 = load double, ptr %13, align 8, !tbaa !11
  %82 = fmul double 5.000000e+00, %81
  %83 = fdiv double %82, 3.000000e+00
  %84 = fadd double %80, %83
  %85 = fmul double %78, %84
  %86 = fdiv double %85, 1.800000e+02
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds ptr, ptr %87, i64 %89
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds double, ptr %91, i64 1
  store double %86, ptr %92, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %93

93:                                               ; preds = %26
  %94 = load i32, ptr %11, align 4, !tbaa !9
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %11, align 4, !tbaa !9
  br label %21, !llvm.loop !13

96:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %184, %96
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %6, align 4, !tbaa !9
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %102, label %101

101:                                              ; preds = %97
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %187

102:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %180, %102
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = load i32, ptr %6, align 4, !tbaa !9
  %106 = icmp slt i32 %104, %105
  br i1 %106, label %108, label %107

107:                                              ; preds = %103
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %183

108:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = load i32, ptr %14, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %109, i64 %111
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  %114 = getelementptr inbounds double, ptr %113, i64 1
  %115 = load double, ptr %114, align 8, !tbaa !11
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = load i32, ptr %16, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds ptr, ptr %116, i64 %118
  %120 = load ptr, ptr %119, align 8, !tbaa !5
  %121 = getelementptr inbounds double, ptr %120, i64 1
  %122 = load double, ptr %121, align 8, !tbaa !11
  %123 = fsub double %115, %122
  %124 = call double @cos(double noundef %123) #4
  store double %124, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds ptr, ptr %125, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = getelementptr inbounds double, ptr %129, i64 0
  %131 = load double, ptr %130, align 8, !tbaa !11
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds ptr, ptr %132, i64 %134
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  %137 = getelementptr inbounds double, ptr %136, i64 0
  %138 = load double, ptr %137, align 8, !tbaa !11
  %139 = fsub double %131, %138
  %140 = call double @cos(double noundef %139) #4
  store double %140, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = load i32, ptr %14, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds ptr, ptr %141, i64 %143
  %145 = load ptr, ptr %144, align 8, !tbaa !5
  %146 = getelementptr inbounds double, ptr %145, i64 0
  %147 = load double, ptr %146, align 8, !tbaa !11
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = load i32, ptr %16, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds ptr, ptr %148, i64 %150
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = getelementptr inbounds double, ptr %152, i64 0
  %154 = load double, ptr %153, align 8, !tbaa !11
  %155 = fadd double %147, %154
  %156 = call double @cos(double noundef %155) #4
  store double %156, ptr %19, align 8, !tbaa !11
  %157 = load double, ptr %10, align 8, !tbaa !11
  %158 = load double, ptr %17, align 8, !tbaa !11
  %159 = fadd double 1.000000e+00, %158
  %160 = load double, ptr %18, align 8, !tbaa !11
  %161 = load double, ptr %17, align 8, !tbaa !11
  %162 = fsub double 1.000000e+00, %161
  %163 = load double, ptr %19, align 8, !tbaa !11
  %164 = fmul double %162, %163
  %165 = fneg double %164
  %166 = call double @llvm.fmuladd.f64(double %159, double %160, double %165)
  %167 = fmul double 5.000000e-01, %166
  %168 = call double @acos(double noundef %167) #4
  %169 = call double @llvm.fmuladd.f64(double %157, double %168, double 1.000000e+00)
  %170 = fptosi double %169 to i32
  %171 = sitofp i32 %170 to double
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = load i32, ptr %14, align 4, !tbaa !9
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds ptr, ptr %172, i64 %174
  %176 = load ptr, ptr %175, align 8, !tbaa !5
  %177 = load i32, ptr %16, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds double, ptr %176, i64 %178
  store double %171, ptr %179, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %180

180:                                              ; preds = %108
  %181 = load i32, ptr %16, align 4, !tbaa !9
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %16, align 4, !tbaa !9
  br label %103, !llvm.loop !15

183:                                              ; preds = %107
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr %14, align 4, !tbaa !9
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %14, align 4, !tbaa !9
  br label %97, !llvm.loop !16

187:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind
declare double @cos(double noundef) #3

; Function Attrs: nounwind
declare double @acos(double 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !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"

; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable
define dso_local void @_ZN12AlgorithmTSP29calculateGeographicalDistanceEiPPdS1_(ptr nocapture noundef nonnull readnone align 8 dereferenceable(88) %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 align 2 {
  %5 = icmp sgt i32 %1, 0
  br i1 %5, label %.lr.ph.preheader, label %._crit_edge57

.lr.ph.preheader:                                 ; preds = %4
  %wide.trip.count = zext nneg i32 %1 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %6 = icmp eq i32 %1, 1
  br i1 %6, label %.preheader52.unr-lcssa, label %.lr.ph.preheader.new

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

.preheader52.unr-lcssa:                           ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader52, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader52.unr-lcssa
  %7 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv.unr
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = load <2 x double>, ptr %8, align 8, !tbaa !9
  %10 = fptosi <2 x double> %9 to <2 x i32>
  %11 = sitofp <2 x i32> %10 to <2 x double>
  %12 = fsub <2 x double> %9, %11
  %13 = fmul <2 x double> %12, <double 5.000000e+00, double 5.000000e+00>
  %14 = fdiv <2 x double> %13, <double 3.000000e+00, double 3.000000e+00>
  %15 = fadd <2 x double> %14, %11
  %16 = fmul <2 x double> %15, <double 0x400921FAFC8B007A, double 0x400921FAFC8B007A>
  %17 = fdiv <2 x double> %16, <double 1.800000e+02, double 1.800000e+02>
  store <2 x double> %17, ptr %8, align 8, !tbaa !9
  br label %.preheader52

.preheader52:                                     ; preds = %.preheader52.unr-lcssa, %.lr.ph.epil
  br i1 %5, label %.preheader.us.preheader, label %._crit_edge57

.preheader.us.preheader:                          ; preds = %.preheader52
  %wide.trip.count67 = zext nneg i32 %1 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us
  %indvars.iv64 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next65, %._crit_edge.us ]
  %18 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv64
  %19 = getelementptr inbounds ptr, ptr %3, i64 %indvars.iv64
  br label %20

20:                                               ; preds = %.preheader.us, %20
  %indvars.iv59 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next60, %20 ]
  %21 = load ptr, ptr %18, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = load double, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv59
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 8
  %27 = load double, ptr %26, align 8, !tbaa !9
  %28 = fsub double %23, %27
  %29 = tail call double @cos(double noundef %28) #3
  %30 = load ptr, ptr %18, align 8, !tbaa !5
  %31 = load double, ptr %30, align 8, !tbaa !9
  %32 = load ptr, ptr %24, align 8, !tbaa !5
  %33 = load double, ptr %32, align 8, !tbaa !9
  %34 = fsub double %31, %33
  %35 = tail call double @cos(double noundef %34) #3
  %36 = load ptr, ptr %18, align 8, !tbaa !5
  %37 = load double, ptr %36, align 8, !tbaa !9
  %38 = load ptr, ptr %24, align 8, !tbaa !5
  %39 = load double, ptr %38, align 8, !tbaa !9
  %40 = fadd double %37, %39
  %41 = tail call double @cos(double noundef %40) #3
  %42 = fadd double %29, 1.000000e+00
  %43 = fsub double 1.000000e+00, %29
  %44 = fneg double %43
  %45 = fmul double %41, %44
  %46 = tail call double @llvm.fmuladd.f64(double %42, double %35, double %45)
  %47 = fmul double %46, 5.000000e-01
  %48 = tail call double @acos(double noundef %47) #3
  %49 = tail call double @llvm.fmuladd.f64(double %48, double 0x40B8EA6353F7CED9, double 1.000000e+00)
  %50 = fptosi double %49 to i32
  %51 = sitofp i32 %50 to double
  %52 = load ptr, ptr %19, align 8, !tbaa !5
  %53 = getelementptr inbounds double, ptr %52, i64 %indvars.iv59
  store double %51, ptr %53, align 8, !tbaa !9
  %indvars.iv.next60 = add nuw nsw i64 %indvars.iv59, 1
  %exitcond63.not = icmp eq i64 %indvars.iv.next60, %wide.trip.count67
  br i1 %exitcond63.not, label %._crit_edge.us, label %20, !llvm.loop !11

._crit_edge.us:                                   ; preds = %20
  %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64, 1
  %exitcond68.not = icmp eq i64 %indvars.iv.next65, %wide.trip.count67
  br i1 %exitcond68.not, label %._crit_edge57, label %.preheader.us, !llvm.loop !13

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %.lr.ph ]
  %54 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %56 = load <2 x double>, ptr %55, align 8, !tbaa !9
  %57 = fptosi <2 x double> %56 to <2 x i32>
  %58 = sitofp <2 x i32> %57 to <2 x double>
  %59 = fsub <2 x double> %56, %58
  %60 = fmul <2 x double> %59, <double 5.000000e+00, double 5.000000e+00>
  %61 = fdiv <2 x double> %60, <double 3.000000e+00, double 3.000000e+00>
  %62 = fadd <2 x double> %61, %58
  %63 = fmul <2 x double> %62, <double 0x400921FAFC8B007A, double 0x400921FAFC8B007A>
  %64 = fdiv <2 x double> %63, <double 1.800000e+02, double 1.800000e+02>
  store <2 x double> %64, ptr %55, align 8, !tbaa !9
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %65 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv.next
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = load <2 x double>, ptr %66, align 8, !tbaa !9
  %68 = fptosi <2 x double> %67 to <2 x i32>
  %69 = sitofp <2 x i32> %68 to <2 x double>
  %70 = fsub <2 x double> %67, %69
  %71 = fmul <2 x double> %70, <double 5.000000e+00, double 5.000000e+00>
  %72 = fdiv <2 x double> %71, <double 3.000000e+00, double 3.000000e+00>
  %73 = fadd <2 x double> %72, %69
  %74 = fmul <2 x double> %73, <double 0x400921FAFC8B007A, double 0x400921FAFC8B007A>
  %75 = fdiv <2 x double> %74, <double 1.800000e+02, double 1.800000e+02>
  store <2 x double> %75, ptr %66, align 8, !tbaa !9
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 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 %.preheader52.unr-lcssa, label %.lr.ph, !llvm.loop !14

._crit_edge57:                                    ; preds = %._crit_edge.us, %4, %.preheader52
  ret void
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @acos(double noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nofree nounwind memory(readwrite, inaccessiblemem: write) 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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


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