; LLVM IR from OpenFAST/openfast :: modules/map/src (lineroutines)

; 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.Vessel_t = type { %struct.EulerAngle_t, ptr, ptr, ptr, %struct.Point_t, %struct.Point_t, %struct.Force_t }
%struct.EulerAngle_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.VarType_t = type { ptr, ptr, double, i8, i8, i32, i32 }
%struct.Point_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.Force_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.MAP_InputType = type { ptr, ptr, i32, ptr, i32, ptr, i32 }
%struct.MAP_OutputType = type { ptr, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, 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
declare double @cos(double noundef) #1

; Function Attrs: nounwind
declare double @sin(double noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @set_moment_minus_psi(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, double noundef %6, i32 noundef %7) #3 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store double %6, ptr %15, align 8, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  store double 0.000000e+00, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store double 0.000000e+00, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  store double 0.000000e+00, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  store double 0.000000e+00, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  store double 0.000000e+00, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store double 0.000000e+00, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  store double 0.000000e+00, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  store double 0.000000e+00, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  store double 0.000000e+00, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.Vessel_t, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds %struct.EulerAngle_t, ptr %29, i32 0, i32 0
  %31 = getelementptr inbounds %struct.VarType_t, ptr %30, i32 0, i32 2
  %32 = load double, ptr %31, align 8, !tbaa !13
  store double %32, ptr %27, align 8, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %33

33:                                               ; preds = %151, %8
  %34 = load i32, ptr %17, align 4, !tbaa !11
  %35 = load i32, ptr %16, align 4, !tbaa !11
  %36 = icmp slt i32 %34, %35
  br i1 %36, label %37, label %154

37:                                               ; preds = %33
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.MAP_InputType, ptr %38, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %41 = load i32, ptr %17, align 4, !tbaa !11
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds double, ptr %40, i64 %42
  %44 = load double, ptr %43, align 8, !tbaa !9
  store double %44, ptr %18, align 8, !tbaa !9
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.MAP_InputType, ptr %45, i32 0, i32 3
  %47 = load ptr, ptr %46, align 8, !tbaa !22
  %48 = load i32, ptr %17, align 4, !tbaa !11
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds double, ptr %47, i64 %49
  %51 = load double, ptr %50, align 8, !tbaa !9
  store double %51, ptr %19, align 8, !tbaa !9
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.MAP_InputType, ptr %52, i32 0, i32 5
  %54 = load ptr, ptr %53, align 8, !tbaa !23
  %55 = load i32, ptr %17, align 4, !tbaa !11
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds double, ptr %54, i64 %56
  %58 = load double, ptr %57, align 8, !tbaa !9
  store double %58, ptr %20, align 8, !tbaa !9
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.MAP_OutputType, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !24
  %62 = load i32, ptr %17, align 4, !tbaa !11
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds double, ptr %61, i64 %63
  %65 = load double, ptr %64, align 8, !tbaa !9
  store double %65, ptr %21, align 8, !tbaa !9
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.MAP_OutputType, ptr %66, i32 0, i32 3
  %68 = load ptr, ptr %67, align 8, !tbaa !26
  %69 = load i32, ptr %17, align 4, !tbaa !11
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds double, ptr %68, i64 %70
  %72 = load double, ptr %71, align 8, !tbaa !9
  store double %72, ptr %22, align 8, !tbaa !9
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.MAP_OutputType, ptr %73, i32 0, i32 5
  %75 = load ptr, ptr %74, align 8, !tbaa !27
  %76 = load i32, ptr %17, align 4, !tbaa !11
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds double, ptr %75, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !9
  store double %79, ptr %23, align 8, !tbaa !9
  %80 = load double, ptr %23, align 8, !tbaa !9
  %81 = fneg double %80
  %82 = load double, ptr %19, align 8, !tbaa !9
  %83 = load double, ptr %22, align 8, !tbaa !9
  %84 = fneg double %83
  %85 = load double, ptr %20, align 8, !tbaa !9
  %86 = fmul double %84, %85
  %87 = fneg double %86
  %88 = call double @llvm.fmuladd.f64(double %81, double %82, double %87)
  store double %88, ptr %24, align 8, !tbaa !9
  %89 = load double, ptr %21, align 8, !tbaa !9
  %90 = fneg double %89
  %91 = load double, ptr %20, align 8, !tbaa !9
  %92 = load double, ptr %23, align 8, !tbaa !9
  %93 = fneg double %92
  %94 = load double, ptr %18, align 8, !tbaa !9
  %95 = fmul double %93, %94
  %96 = fneg double %95
  %97 = call double @llvm.fmuladd.f64(double %90, double %91, double %96)
  store double %97, ptr %25, align 8, !tbaa !9
  %98 = load double, ptr %22, align 8, !tbaa !9
  %99 = fneg double %98
  %100 = load double, ptr %18, align 8, !tbaa !9
  %101 = load double, ptr %21, align 8, !tbaa !9
  %102 = fneg double %101
  %103 = load double, ptr %19, align 8, !tbaa !9
  %104 = fmul double %102, %103
  %105 = fneg double %104
  %106 = call double @llvm.fmuladd.f64(double %99, double %100, double %105)
  store double %106, ptr %26, align 8, !tbaa !9
  %107 = load double, ptr %24, align 8, !tbaa !9
  %108 = load double, ptr %27, align 8, !tbaa !9
  %109 = load double, ptr %15, align 8, !tbaa !9
  %110 = fadd double %108, %109
  %111 = call double @cos(double noundef %110) #4
  %112 = load double, ptr %25, align 8, !tbaa !9
  %113 = load double, ptr %27, align 8, !tbaa !9
  %114 = load double, ptr %15, align 8, !tbaa !9
  %115 = fadd double %113, %114
  %116 = call double @sin(double noundef %115) #4
  %117 = fmul double %112, %116
  %118 = fneg double %117
  %119 = call double @llvm.fmuladd.f64(double %107, double %111, double %118)
  %120 = load ptr, ptr %12, align 8, !tbaa !5
  %121 = load i32, ptr %17, align 4, !tbaa !11
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds double, ptr %120, i64 %122
  %124 = load double, ptr %123, align 8, !tbaa !9
  %125 = fsub double %124, %119
  store double %125, ptr %123, align 8, !tbaa !9
  %126 = load double, ptr %24, align 8, !tbaa !9
  %127 = load double, ptr %27, align 8, !tbaa !9
  %128 = load double, ptr %15, align 8, !tbaa !9
  %129 = fadd double %127, %128
  %130 = call double @sin(double noundef %129) #4
  %131 = load double, ptr %25, align 8, !tbaa !9
  %132 = load double, ptr %27, align 8, !tbaa !9
  %133 = load double, ptr %15, align 8, !tbaa !9
  %134 = fadd double %132, %133
  %135 = call double @cos(double noundef %134) #4
  %136 = fmul double %131, %135
  %137 = call double @llvm.fmuladd.f64(double %126, double %130, double %136)
  %138 = load ptr, ptr %13, align 8, !tbaa !5
  %139 = load i32, ptr %17, align 4, !tbaa !11
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds double, ptr %138, i64 %140
  %142 = load double, ptr %141, align 8, !tbaa !9
  %143 = fsub double %142, %137
  store double %143, ptr %141, align 8, !tbaa !9
  %144 = load double, ptr %26, align 8, !tbaa !9
  %145 = load ptr, ptr %14, align 8, !tbaa !5
  %146 = load i32, ptr %17, align 4, !tbaa !11
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds double, ptr %145, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !9
  %150 = fsub double %149, %144
  store double %150, ptr %148, align 8, !tbaa !9
  br label %151

151:                                              ; preds = %37
  %152 = load i32, ptr %17, align 4, !tbaa !11
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %17, align 4, !tbaa !11
  br label %33, !llvm.loop !28

154:                                              ; preds = %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  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 4, ptr %17) #4
  ret i32 0
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 16}
!14 = !{!"Vessel_t", !15, i64 0, !6, i64 120, !6, i64 128, !6, i64 136, !18, i64 144, !18, i64 264, !19, i64 384}
!15 = !{!"EulerAngle_t", !16, i64 0, !16, i64 40, !16, i64 80}
!16 = !{!"VarType_t", !6, i64 0, !6, i64 8, !10, i64 16, !17, i64 24, !17, i64 25, !12, i64 28, !12, i64 32}
!17 = !{!"_Bool", !7, i64 0}
!18 = !{!"Point_t", !16, i64 0, !16, i64 40, !16, i64 80}
!19 = !{!"Force_t", !16, i64 0, !16, i64 40, !16, i64 80}
!20 = !{!21, !6, i64 8}
!21 = !{!"MAP_InputType", !6, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48}
!22 = !{!21, !6, i64 24}
!23 = !{!21, !6, i64 40}
!24 = !{!25, !6, i64 8}
!25 = !{!"MAP_OutputType", !6, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64, !6, i64 72, !12, i64 80}
!26 = !{!25, !6, i64 24}
!27 = !{!25, !6, i64 40}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


; 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 willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #0

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

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

; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable
define dso_local noundef i32 @set_moment_minus_psi(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef %5, double noundef %6, i32 noundef %7) local_unnamed_addr #2 {
  %9 = icmp sgt i32 %7, 0
  br i1 %9, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %8
  %10 = getelementptr inbounds i8, ptr %2, i64 16
  %11 = load double, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  %14 = getelementptr inbounds i8, ptr %0, i64 40
  %15 = getelementptr inbounds i8, ptr %1, i64 8
  %16 = getelementptr inbounds i8, ptr %1, i64 24
  %17 = getelementptr inbounds i8, ptr %1, i64 40
  %18 = fadd double %11, %6
  %wide.trip.count = zext nneg i32 %7 to i64
  br label %19

19:                                               ; preds = %.lr.ph, %19
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %19 ]
  %20 = load ptr, ptr %12, align 8, !tbaa !17
  %21 = getelementptr inbounds double, ptr %20, i64 %indvars.iv
  %22 = load double, ptr %21, align 8, !tbaa !19
  %23 = load ptr, ptr %13, align 8, !tbaa !20
  %24 = getelementptr inbounds double, ptr %23, i64 %indvars.iv
  %25 = load double, ptr %24, align 8, !tbaa !19
  %26 = load ptr, ptr %14, align 8, !tbaa !21
  %27 = getelementptr inbounds double, ptr %26, i64 %indvars.iv
  %28 = load double, ptr %27, align 8, !tbaa !19
  %29 = load ptr, ptr %15, align 8, !tbaa !22
  %30 = getelementptr inbounds double, ptr %29, i64 %indvars.iv
  %31 = load double, ptr %30, align 8, !tbaa !19
  %32 = load ptr, ptr %16, align 8, !tbaa !24
  %33 = getelementptr inbounds double, ptr %32, i64 %indvars.iv
  %34 = load double, ptr %33, align 8, !tbaa !19
  %35 = load ptr, ptr %17, align 8, !tbaa !25
  %36 = getelementptr inbounds double, ptr %35, i64 %indvars.iv
  %37 = load double, ptr %36, align 8, !tbaa !19
  %38 = fneg double %37
  %39 = fneg double %34
  %40 = fmul double %28, %34
  %41 = tail call double @llvm.fmuladd.f64(double %38, double %25, double %40)
  %42 = fneg double %31
  %43 = fmul double %22, %37
  %44 = tail call double @llvm.fmuladd.f64(double %42, double %28, double %43)
  %45 = fmul double %25, %31
  %46 = tail call double @llvm.fmuladd.f64(double %39, double %22, double %45)
  %47 = tail call double @cos(double noundef %18) #3
  %48 = tail call double @sin(double noundef %18) #3
  %49 = fneg double %44
  %50 = fmul double %48, %49
  %51 = tail call double @llvm.fmuladd.f64(double %41, double %47, double %50)
  %52 = getelementptr inbounds double, ptr %3, i64 %indvars.iv
  %53 = load double, ptr %52, align 8, !tbaa !19
  %54 = fsub double %53, %51
  store double %54, ptr %52, align 8, !tbaa !19
  %55 = tail call double @sin(double noundef %18) #3
  %56 = tail call double @cos(double noundef %18) #3
  %57 = fmul double %44, %56
  %58 = tail call double @llvm.fmuladd.f64(double %41, double %55, double %57)
  %59 = getelementptr inbounds double, ptr %4, i64 %indvars.iv
  %60 = load double, ptr %59, align 8, !tbaa !19
  %61 = fsub double %60, %58
  store double %61, ptr %59, align 8, !tbaa !19
  %62 = getelementptr inbounds double, ptr %5, i64 %indvars.iv
  %63 = load double, ptr %62, align 8, !tbaa !19
  %64 = fsub double %63, %46
  store double %64, ptr %62, align 8, !tbaa !19
  %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 %._crit_edge, label %19, !llvm.loop !26

._crit_edge:                                      ; preds = %19, %8
  ret i32 0
}

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #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, !12, i64 16}
!6 = !{!"Vessel_t", !7, i64 0, !9, i64 120, !9, i64 128, !9, i64 136, !15, i64 144, !15, i64 264, !16, i64 384}
!7 = !{!"EulerAngle_t", !8, i64 0, !8, i64 40, !8, i64 80}
!8 = !{!"VarType_t", !9, i64 0, !9, i64 8, !12, i64 16, !13, i64 24, !13, i64 25, !14, i64 28, !14, i64 32}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"double", !10, i64 0}
!13 = !{!"_Bool", !10, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!"Point_t", !8, i64 0, !8, i64 40, !8, i64 80}
!16 = !{!"Force_t", !8, i64 0, !8, i64 40, !8, i64 80}
!17 = !{!18, !9, i64 8}
!18 = !{!"MAP_InputType", !9, i64 0, !9, i64 8, !14, i64 16, !9, i64 24, !14, i64 32, !9, i64 40, !14, i64 48}
!19 = !{!12, !12, i64 0}
!20 = !{!18, !9, i64 24}
!21 = !{!18, !9, i64 40}
!22 = !{!23, !9, i64 8}
!23 = !{!"MAP_OutputType", !9, i64 0, !9, i64 8, !14, i64 16, !9, i64 24, !14, i64 32, !9, i64 40, !14, i64 48, !9, i64 56, !14, i64 64, !9, i64 72, !14, i64 80}
!24 = !{!23, !9, i64 24}
!25 = !{!23, !9, i64 40}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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