; LLVM IR from simbody/simbody :: SimTKmath/Optimizers/src/IpOpt (IpStdInterfaceTNLP)

; 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.SimTKIpopt::StdInterfaceTNLP" = type { %"class.SimTKIpopt::TNLP.base", %"class.SimTKIpopt::SmartPtr", i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.SimTKIpopt::TNLP.base" = type { %"class.SimTKIpopt::ReferencedObject.base" }
%"class.SimTKIpopt::ReferencedObject.base" = type <{ ptr, i32 }>
%"class.SimTKIpopt::SmartPtr" = type { ptr }

; 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 noundef zeroext i1 @_ZN10SimTKIpopt16StdInterfaceTNLP15get_bounds_infoEiPdS1_iS1_S1_(ptr noundef nonnull align 8 dereferenceable(216) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) unnamed_addr #1 align 2 {
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  %17 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #2
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %18

18:                                               ; preds = %44, %7
  %19 = load i32, ptr %15, align 4, !tbaa !9
  %20 = load i32, ptr %9, align 4, !tbaa !9
  %21 = icmp slt i32 %19, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #2
  br label %47

23:                                               ; preds = %18
  %24 = getelementptr inbounds %"class.SimTKIpopt::StdInterfaceTNLP", ptr %17, i32 0, i32 4
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = load i32, ptr %15, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds double, ptr %25, i64 %27
  %29 = load double, ptr %28, align 8, !tbaa !16
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = load i32, ptr %15, align 4, !tbaa !9
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds double, ptr %30, i64 %32
  store double %29, ptr %33, align 8, !tbaa !16
  %34 = getelementptr inbounds %"class.SimTKIpopt::StdInterfaceTNLP", ptr %17, i32 0, i32 5
  %35 = load ptr, ptr %34, align 8, !tbaa !18
  %36 = load i32, ptr %15, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds double, ptr %35, i64 %37
  %39 = load double, ptr %38, align 8, !tbaa !16
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = load i32, ptr %15, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds double, ptr %40, i64 %42
  store double %39, ptr %43, align 8, !tbaa !16
  br label %44

44:                                               ; preds = %23
  %45 = load i32, ptr %15, align 4, !tbaa !9
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %15, align 4, !tbaa !9
  br label %18, !llvm.loop !19

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

48:                                               ; preds = %74, %47
  %49 = load i32, ptr %16, align 4, !tbaa !9
  %50 = load i32, ptr %12, align 4, !tbaa !9
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #2
  br label %77

53:                                               ; preds = %48
  %54 = getelementptr inbounds %"class.SimTKIpopt::StdInterfaceTNLP", ptr %17, i32 0, i32 6
  %55 = load ptr, ptr %54, align 8, !tbaa !21
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds double, ptr %55, i64 %57
  %59 = load double, ptr %58, align 8, !tbaa !16
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds double, ptr %60, i64 %62
  store double %59, ptr %63, align 8, !tbaa !16
  %64 = getelementptr inbounds %"class.SimTKIpopt::StdInterfaceTNLP", ptr %17, i32 0, i32 7
  %65 = load ptr, ptr %64, align 8, !tbaa !22
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds double, ptr %65, i64 %67
  %69 = load double, ptr %68, align 8, !tbaa !16
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  %71 = load i32, ptr %16, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds double, ptr %70, i64 %72
  store double %69, ptr %73, align 8, !tbaa !16
  br label %74

74:                                               ; preds = %53
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %16, align 4, !tbaa !9
  br label %48, !llvm.loop !23

77:                                               ; preds = %52
  ret i1 true
}

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 = { 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, !6, i64 32}
!12 = !{!"_ZTSN10SimTKIpopt16StdInterfaceTNLPE", !13, i64 0, !15, i64 16, !10, i64 24, !10, i64 28, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!13 = !{!"_ZTSN10SimTKIpopt4TNLPE", !14, i64 0}
!14 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !10, i64 8}
!15 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !6, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!12, !6, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!12, !6, i64 48}
!22 = !{!12, !6, i64 56}
!23 = distinct !{!23, !20}


; 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 norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local noundef zeroext i1 @_ZN10SimTKIpopt16StdInterfaceTNLP15get_bounds_infoEiPdS1_iS1_S1_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(216) %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6) unnamed_addr #0 align 2 {
  %8 = ptrtoint ptr %5 to i64
  %9 = ptrtoint ptr %6 to i64
  %10 = ptrtoint ptr %2 to i64
  %11 = ptrtoint ptr %3 to i64
  %12 = icmp sgt i32 %1, 0
  br i1 %12, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %7
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  %16 = load ptr, ptr %15, align 8, !tbaa !14
  %wide.trip.count = zext nneg i32 %1 to i64
  %min.iters.check = icmp ult i32 %1, 24
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %17 = getelementptr inbounds double, ptr %14, i64 %indvars.iv.ph
  %18 = load double, ptr %17, align 8, !tbaa !15
  %19 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.ph
  store double %18, ptr %19, align 8, !tbaa !15
  %20 = getelementptr inbounds double, ptr %16, i64 %indvars.iv.ph
  %21 = load double, ptr %20, align 8, !tbaa !15
  %22 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.ph
  store double %21, ptr %22, align 8, !tbaa !15
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %23 = add nsw i64 %wide.trip.count, -1
  %24 = icmp eq i64 %indvars.iv.ph, %23
  br i1 %24, label %.preheader, label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph
  %25 = ptrtoint ptr %16 to i64
  %26 = ptrtoint ptr %14 to i64
  %27 = sub i64 %11, %10
  %diff.check = icmp ult i64 %27, 32
  %28 = sub i64 %10, %26
  %diff.check28 = icmp ult i64 %28, 32
  %conflict.rdx = or i1 %diff.check, %diff.check28
  %29 = sub i64 %25, %10
  %diff.check29 = icmp ult i64 %29, 32
  %conflict.rdx30 = or i1 %conflict.rdx, %diff.check29
  %30 = sub i64 %11, %26
  %diff.check31 = icmp ult i64 %30, 32
  %conflict.rdx32 = or i1 %conflict.rdx30, %diff.check31
  %31 = sub i64 %11, %25
  %diff.check33 = icmp ult i64 %31, 32
  %conflict.rdx34 = or i1 %conflict.rdx32, %diff.check33
  br i1 %conflict.rdx34, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %32 = getelementptr inbounds double, ptr %14, i64 %index
  %33 = getelementptr inbounds i8, ptr %32, i64 16
  %wide.load = load <2 x double>, ptr %32, align 8, !tbaa !15
  %wide.load35 = load <2 x double>, ptr %33, align 8, !tbaa !15
  %34 = getelementptr inbounds double, ptr %2, i64 %index
  %35 = getelementptr inbounds i8, ptr %34, i64 16
  store <2 x double> %wide.load, ptr %34, align 8, !tbaa !15
  store <2 x double> %wide.load35, ptr %35, align 8, !tbaa !15
  %36 = getelementptr inbounds double, ptr %16, i64 %index
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %wide.load36 = load <2 x double>, ptr %36, align 8, !tbaa !15
  %wide.load37 = load <2 x double>, ptr %37, align 8, !tbaa !15
  %38 = getelementptr inbounds double, ptr %3, i64 %index
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  store <2 x double> %wide.load36, ptr %38, align 8, !tbaa !15
  store <2 x double> %wide.load37, ptr %39, align 8, !tbaa !15
  %index.next = add nuw i64 %index, 4
  %40 = icmp eq i64 %index.next, %n.vec
  br i1 %40, label %middle.block, label %vector.body, !llvm.loop !17

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader, label %scalar.ph.preheader

.preheader:                                       ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %7
  %41 = icmp sgt i32 %4, 0
  br i1 %41, label %.lr.ph21, label %._crit_edge

.lr.ph21:                                         ; preds = %.preheader
  %42 = getelementptr inbounds i8, ptr %0, i64 48
  %43 = load ptr, ptr %42, align 8, !tbaa !21
  %44 = getelementptr inbounds i8, ptr %0, i64 56
  %45 = load ptr, ptr %44, align 8, !tbaa !22
  %wide.trip.count26 = zext nneg i32 %4 to i64
  %min.iters.check50 = icmp ult i32 %4, 24
  br i1 %min.iters.check50, label %scalar.ph49.preheader, label %vector.memcheck38

scalar.ph49.preheader:                            ; preds = %middle.block48, %vector.memcheck38, %.lr.ph21
  %indvars.iv23.ph = phi i64 [ 0, %vector.memcheck38 ], [ 0, %.lr.ph21 ], [ %n.vec53, %middle.block48 ]
  %xtraiter63 = and i64 %wide.trip.count26, 1
  %lcmp.mod64.not = icmp eq i64 %xtraiter63, 0
  br i1 %lcmp.mod64.not, label %scalar.ph49.prol.loopexit, label %scalar.ph49.prol

scalar.ph49.prol:                                 ; preds = %scalar.ph49.preheader
  %46 = getelementptr inbounds double, ptr %43, i64 %indvars.iv23.ph
  %47 = load double, ptr %46, align 8, !tbaa !15
  %48 = getelementptr inbounds double, ptr %5, i64 %indvars.iv23.ph
  store double %47, ptr %48, align 8, !tbaa !15
  %49 = getelementptr inbounds double, ptr %45, i64 %indvars.iv23.ph
  %50 = load double, ptr %49, align 8, !tbaa !15
  %51 = getelementptr inbounds double, ptr %6, i64 %indvars.iv23.ph
  store double %50, ptr %51, align 8, !tbaa !15
  %indvars.iv.next24.prol = or disjoint i64 %indvars.iv23.ph, 1
  br label %scalar.ph49.prol.loopexit

scalar.ph49.prol.loopexit:                        ; preds = %scalar.ph49.prol, %scalar.ph49.preheader
  %indvars.iv23.unr = phi i64 [ %indvars.iv23.ph, %scalar.ph49.preheader ], [ %indvars.iv.next24.prol, %scalar.ph49.prol ]
  %52 = add nsw i64 %wide.trip.count26, -1
  %53 = icmp eq i64 %indvars.iv23.ph, %52
  br i1 %53, label %._crit_edge, label %scalar.ph49

vector.memcheck38:                                ; preds = %.lr.ph21
  %54 = ptrtoint ptr %45 to i64
  %55 = ptrtoint ptr %43 to i64
  %56 = sub i64 %9, %8
  %diff.check39 = icmp ult i64 %56, 32
  %57 = sub i64 %8, %55
  %diff.check40 = icmp ult i64 %57, 32
  %conflict.rdx41 = or i1 %diff.check39, %diff.check40
  %58 = sub i64 %54, %8
  %diff.check42 = icmp ult i64 %58, 32
  %conflict.rdx43 = or i1 %conflict.rdx41, %diff.check42
  %59 = sub i64 %9, %55
  %diff.check44 = icmp ult i64 %59, 32
  %conflict.rdx45 = or i1 %conflict.rdx43, %diff.check44
  %60 = sub i64 %9, %54
  %diff.check46 = icmp ult i64 %60, 32
  %conflict.rdx47 = or i1 %conflict.rdx45, %diff.check46
  br i1 %conflict.rdx47, label %scalar.ph49.preheader, label %vector.ph51

vector.ph51:                                      ; preds = %vector.memcheck38
  %n.vec53 = and i64 %wide.trip.count26, 2147483644
  br label %vector.body55

vector.body55:                                    ; preds = %vector.body55, %vector.ph51
  %index56 = phi i64 [ 0, %vector.ph51 ], [ %index.next61, %vector.body55 ]
  %61 = getelementptr inbounds double, ptr %43, i64 %index56
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %wide.load57 = load <2 x double>, ptr %61, align 8, !tbaa !15
  %wide.load58 = load <2 x double>, ptr %62, align 8, !tbaa !15
  %63 = getelementptr inbounds double, ptr %5, i64 %index56
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  store <2 x double> %wide.load57, ptr %63, align 8, !tbaa !15
  store <2 x double> %wide.load58, ptr %64, align 8, !tbaa !15
  %65 = getelementptr inbounds double, ptr %45, i64 %index56
  %66 = getelementptr inbounds i8, ptr %65, i64 16
  %wide.load59 = load <2 x double>, ptr %65, align 8, !tbaa !15
  %wide.load60 = load <2 x double>, ptr %66, align 8, !tbaa !15
  %67 = getelementptr inbounds double, ptr %6, i64 %index56
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  store <2 x double> %wide.load59, ptr %67, align 8, !tbaa !15
  store <2 x double> %wide.load60, ptr %68, align 8, !tbaa !15
  %index.next61 = add nuw i64 %index56, 4
  %69 = icmp eq i64 %index.next61, %n.vec53
  br i1 %69, label %middle.block48, label %vector.body55, !llvm.loop !23

middle.block48:                                   ; preds = %vector.body55
  %cmp.n62 = icmp eq i64 %n.vec53, %wide.trip.count26
  br i1 %cmp.n62, label %._crit_edge, label %scalar.ph49.preheader

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %70 = getelementptr inbounds double, ptr %14, i64 %indvars.iv
  %71 = load double, ptr %70, align 8, !tbaa !15
  %72 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  store double %71, ptr %72, align 8, !tbaa !15
  %73 = getelementptr inbounds double, ptr %16, i64 %indvars.iv
  %74 = load double, ptr %73, align 8, !tbaa !15
  %75 = getelementptr inbounds double, ptr %3, i64 %indvars.iv
  store double %74, ptr %75, align 8, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %76 = getelementptr inbounds double, ptr %14, i64 %indvars.iv.next
  %77 = load double, ptr %76, align 8, !tbaa !15
  %78 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.next
  store double %77, ptr %78, align 8, !tbaa !15
  %79 = getelementptr inbounds double, ptr %16, i64 %indvars.iv.next
  %80 = load double, ptr %79, align 8, !tbaa !15
  %81 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.next
  store double %80, ptr %81, align 8, !tbaa !15
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %.preheader, label %scalar.ph, !llvm.loop !24

._crit_edge:                                      ; preds = %scalar.ph49.prol.loopexit, %scalar.ph49, %middle.block48, %.preheader
  ret i1 true

scalar.ph49:                                      ; preds = %scalar.ph49.prol.loopexit, %scalar.ph49
  %indvars.iv23 = phi i64 [ %indvars.iv.next24.1, %scalar.ph49 ], [ %indvars.iv23.unr, %scalar.ph49.prol.loopexit ]
  %82 = getelementptr inbounds double, ptr %43, i64 %indvars.iv23
  %83 = load double, ptr %82, align 8, !tbaa !15
  %84 = getelementptr inbounds double, ptr %5, i64 %indvars.iv23
  store double %83, ptr %84, align 8, !tbaa !15
  %85 = getelementptr inbounds double, ptr %45, i64 %indvars.iv23
  %86 = load double, ptr %85, align 8, !tbaa !15
  %87 = getelementptr inbounds double, ptr %6, i64 %indvars.iv23
  store double %86, ptr %87, align 8, !tbaa !15
  %indvars.iv.next24 = add nuw nsw i64 %indvars.iv23, 1
  %88 = getelementptr inbounds double, ptr %43, i64 %indvars.iv.next24
  %89 = load double, ptr %88, align 8, !tbaa !15
  %90 = getelementptr inbounds double, ptr %5, i64 %indvars.iv.next24
  store double %89, ptr %90, align 8, !tbaa !15
  %91 = getelementptr inbounds double, ptr %45, i64 %indvars.iv.next24
  %92 = load double, ptr %91, align 8, !tbaa !15
  %93 = getelementptr inbounds double, ptr %6, i64 %indvars.iv.next24
  store double %92, ptr %93, align 8, !tbaa !15
  %indvars.iv.next24.1 = add nuw nsw i64 %indvars.iv23, 2
  %exitcond27.not.1 = icmp eq i64 %indvars.iv.next24.1, %wide.trip.count26
  br i1 %exitcond27.not.1, label %._crit_edge, label %scalar.ph49, !llvm.loop !25
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) 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" }

!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, !13, i64 32}
!6 = !{!"_ZTSN10SimTKIpopt16StdInterfaceTNLPE", !7, i64 0, !12, i64 16, !9, i64 24, !9, i64 28, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !9, i64 64, !9, i64 68, !9, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208}
!7 = !{!"_ZTSN10SimTKIpopt4TNLPE", !8, i64 0}
!8 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !9, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !13, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!6, !13, i64 40}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !10, i64 0}
!17 = distinct !{!17, !18, !19, !20}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = !{!6, !13, i64 48}
!22 = !{!6, !13, i64 56}
!23 = distinct !{!23, !18, !19, !20}
!24 = distinct !{!24, !18, !19}
!25 = distinct !{!25, !18, !19}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass