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

; 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.MAP_OtherStateType = type { ptr, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32 }
%struct.Domain_t = type { %struct.InnerSolveAttributes_t, %struct.OuterSolveAttributes_t, %struct.DomainOptions_t, ptr, i32, %struct.Vessel_t, %struct.list_t, %struct.list_t, %struct.list_t, %struct.list_t, ptr }
%struct.InnerSolveAttributes_t = type { ptr, double, double, double, [2 x double], [2 x double], [4 x double], [2 x double], [2 x double], [2 x double], [2 x double], [2 x double], [2 x double], double, i32, i32, i32, i32, i32, [2 x i32], i32, i32 }
%struct.OuterSolveAttributes_t = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, double, double, double, double, i8, i8, i8, i32, i32, i32 }
%struct.DomainOptions_t = type { ptr, double, double, double, i8, i8, i32 }
%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.list_t = type { ptr, ptr, ptr, i32, ptr, i32, i32, i32, ptr, %struct.list_attributes_s }
%struct.list_attributes_s = type { ptr, ptr, ptr, i32, ptr, ptr, ptr }
%struct.MAP_ConstraintStateType = 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

declare void @map_reset_universal_error(ptr noundef, ptr noundef) #1

declare void @set_universal_error(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @map_end(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #2 {
  %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 ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %21 = load ptr, ptr %15, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  store ptr %23, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !12
  %24 = load ptr, ptr %18, align 8, !tbaa !5
  %25 = load ptr, ptr %17, align 8, !tbaa !5
  call void @map_reset_universal_error(ptr noundef %24, ptr noundef %25)
  br label %26

26:                                               ; preds = %9
  %27 = load ptr, ptr %19, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.Domain_t, ptr %27, i32 0, i32 1
  %29 = load ptr, ptr %14, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.MAP_ConstraintStateType, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %30, align 8, !tbaa !13
  %32 = load ptr, ptr %18, align 8, !tbaa !5
  %33 = load ptr, ptr %17, align 8, !tbaa !5
  %34 = call i32 @free_outer_solve_data(ptr noundef %28, i32 noundef %31, ptr noundef %32, ptr noundef %33)
  store i32 %34, ptr %20, align 4, !tbaa !12
  %35 = load i32, ptr %20, align 4, !tbaa !12
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %40

37:                                               ; preds = %26
  %38 = load ptr, ptr %18, align 8, !tbaa !5
  %39 = load ptr, ptr %17, align 8, !tbaa !5
  call void @set_universal_error(ptr noundef %38, ptr noundef %39, i32 noundef 73)
  br label %97

40:                                               ; preds = %26
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = load ptr, ptr %14, align 8, !tbaa !5
  %45 = load ptr, ptr %15, align 8, !tbaa !5
  %46 = load ptr, ptr %16, align 8, !tbaa !5
  %47 = call i32 @map_free_types(ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46)
  store i32 %47, ptr %20, align 4, !tbaa !12
  %48 = load ptr, ptr %19, align 8, !tbaa !5
  %49 = load ptr, ptr %18, align 8, !tbaa !5
  %50 = load ptr, ptr %17, align 8, !tbaa !5
  %51 = call i32 @free_outlist(ptr noundef %48, ptr noundef %49, ptr noundef %50)
  store i32 %51, ptr %20, align 4, !tbaa !12
  %52 = load i32, ptr %20, align 4, !tbaa !12
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %57

54:                                               ; preds = %40
  %55 = load ptr, ptr %18, align 8, !tbaa !5
  %56 = load ptr, ptr %17, align 8, !tbaa !5
  call void @set_universal_error(ptr noundef %55, ptr noundef %56, i32 noundef 47)
  br label %97

57:                                               ; preds = %40
  %58 = load ptr, ptr %19, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.Domain_t, ptr %58, i32 0, i32 7
  %60 = call i32 @free_line(ptr noundef %59)
  store i32 %60, ptr %20, align 4, !tbaa !12
  %61 = load ptr, ptr %19, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.Domain_t, ptr %61, i32 0, i32 8
  %63 = call i32 @free_node(ptr noundef %62)
  store i32 %63, ptr %20, align 4, !tbaa !12
  %64 = load ptr, ptr %19, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.Domain_t, ptr %64, i32 0, i32 5
  %66 = call i32 @free_vessel(ptr noundef %65)
  store i32 %66, ptr %20, align 4, !tbaa !12
  %67 = load ptr, ptr %19, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.Domain_t, ptr %67, i32 0, i32 6
  %69 = call i32 @free_cable_library(ptr noundef %68)
  store i32 %69, ptr %20, align 4, !tbaa !12
  %70 = load ptr, ptr %19, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.Domain_t, ptr %70, i32 0, i32 9
  %72 = call i32 @free_update_list(ptr noundef %71)
  store i32 %72, ptr %20, align 4, !tbaa !12
  %73 = load ptr, ptr %19, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.Domain_t, ptr %73, i32 0, i32 7
  call void @list_destroy(ptr noundef %74)
  %75 = load ptr, ptr %19, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.Domain_t, ptr %75, i32 0, i32 8
  call void @list_destroy(ptr noundef %76)
  %77 = load ptr, ptr %19, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.Domain_t, ptr %77, i32 0, i32 6
  call void @list_destroy(ptr noundef %78)
  %79 = load ptr, ptr %19, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.Domain_t, ptr %79, i32 0, i32 9
  call void @list_destroy(ptr noundef %80)
  %81 = load ptr, ptr %19, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.Domain_t, ptr %81, i32 0, i32 2
  %83 = getelementptr inbounds %struct.DomainOptions_t, ptr %82, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  %85 = icmp ne ptr %84, null
  br i1 %85, label %86, label %94

86:                                               ; preds = %57
  %87 = load ptr, ptr %19, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.Domain_t, ptr %87, i32 0, i32 2
  %89 = getelementptr inbounds %struct.DomainOptions_t, ptr %88, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8, !tbaa !15
  call void @free(ptr noundef %90) #4
  %91 = load ptr, ptr %19, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.Domain_t, ptr %91, i32 0, i32 2
  %93 = getelementptr inbounds %struct.DomainOptions_t, ptr %92, i32 0, i32 0
  store ptr null, ptr %93, align 8, !tbaa !15
  br label %94

94:                                               ; preds = %86, %57
  %95 = load ptr, ptr %19, align 8, !tbaa !5
  call void @MAP_OtherState_Delete(ptr noundef %95)
  br label %96

96:                                               ; preds = %94
  br label %97

97:                                               ; preds = %96, %54, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  ret void
}

declare i32 @free_outer_solve_data(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

declare i32 @map_free_types(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @free_outlist(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @free_line(ptr noundef) #1

declare i32 @free_node(ptr noundef) #1

declare i32 @free_vessel(ptr noundef) #1

declare i32 @free_cable_library(ptr noundef) #1

declare i32 @free_update_list(ptr noundef) #1

declare void @list_destroy(ptr noundef) #1

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

declare void @MAP_OtherState_Delete(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 "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, !6, i64 0}
!10 = !{!"MAP_OtherStateType", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !11, i64 64, !6, i64 72, !11, i64 80, !6, i64 88, !11, i64 96, !6, i64 104, !11, i64 112, !6, i64 120, !11, i64 128, !6, i64 136, !11, i64 144, !6, i64 152, !11, i64 160, !6, i64 168, !11, i64 176, !6, i64 184, !11, i64 192, !6, i64 200, !11, i64 208, !6, i64 216, !11, i64 224, !6, i64 232, !11, i64 240, !6, i64 248, !11, i64 256}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 48}
!14 = !{!"MAP_ConstraintStateType", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !11, i64 64, !6, i64 72, !11, i64 80}
!15 = !{!16, !6, i64 408}
!16 = !{!"Domain_t", !17, i64 0, !19, i64 240, !21, i64 408, !6, i64 448, !11, i64 456, !22, i64 464, !27, i64 968, !27, i64 1088, !27, i64 1208, !27, i64 1328, !6, i64 1448}
!17 = !{!"InnerSolveAttributes_t", !6, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !7, i64 32, !7, i64 48, !7, i64 64, !7, i64 96, !7, i64 112, !7, i64 128, !7, i64 144, !7, i64 160, !7, i64 176, !18, i64 192, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !7, i64 220, !11, i64 228, !11, i64 232}
!18 = !{!"double", !7, i64 0}
!19 = !{!"OuterSolveAttributes_t", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !18, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !18, i64 136, !18, i64 144, !20, i64 152, !20, i64 153, !20, i64 154, !11, i64 156, !11, i64 160, !11, i64 164}
!20 = !{!"_Bool", !7, i64 0}
!21 = !{!"DomainOptions_t", !6, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !20, i64 32, !20, i64 33, !11, i64 36}
!22 = !{!"Vessel_t", !23, i64 0, !6, i64 120, !6, i64 128, !6, i64 136, !25, i64 144, !25, i64 264, !26, i64 384}
!23 = !{!"EulerAngle_t", !24, i64 0, !24, i64 40, !24, i64 80}
!24 = !{!"VarType_t", !6, i64 0, !6, i64 8, !18, i64 16, !20, i64 24, !20, i64 25, !11, i64 28, !11, i64 32}
!25 = !{!"Point_t", !24, i64 0, !24, i64 40, !24, i64 80}
!26 = !{!"Force_t", !24, i64 0, !24, i64 40, !24, i64 80}
!27 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !6, i64 56, !28, i64 64}
!28 = !{!"list_attributes_s", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}


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

declare void @map_reset_universal_error(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @set_universal_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @map_end(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #1 {
  %10 = load ptr, ptr %5, align 8, !tbaa !5
  tail call void @map_reset_universal_error(ptr noundef %8, ptr noundef %7) #3
  %11 = getelementptr inbounds i8, ptr %10, i64 240
  %12 = getelementptr inbounds i8, ptr %4, i64 48
  %13 = load i32, ptr %12, align 8, !tbaa !11
  %14 = tail call i32 @free_outer_solve_data(ptr noundef nonnull %11, i32 noundef %13, ptr noundef %8, ptr noundef %7) #3
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %16, label %15

15:                                               ; preds = %9
  tail call void @set_universal_error(ptr noundef %8, ptr noundef %7, i32 noundef 73) #3
  br label %35

16:                                               ; preds = %9
  %17 = tail call i32 @map_free_types(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %6) #3
  %18 = tail call i32 @free_outlist(ptr noundef %10, ptr noundef %8, ptr noundef %7) #3
  %.not34 = icmp eq i32 %18, 0
  br i1 %.not34, label %20, label %19

19:                                               ; preds = %16
  tail call void @set_universal_error(ptr noundef %8, ptr noundef %7, i32 noundef 47) #3
  br label %35

20:                                               ; preds = %16
  %21 = getelementptr inbounds i8, ptr %10, i64 1088
  %22 = tail call i32 @free_line(ptr noundef nonnull %21) #3
  %23 = getelementptr inbounds i8, ptr %10, i64 1208
  %24 = tail call i32 @free_node(ptr noundef nonnull %23) #3
  %25 = getelementptr inbounds i8, ptr %10, i64 464
  %26 = tail call i32 @free_vessel(ptr noundef nonnull %25) #3
  %27 = getelementptr inbounds i8, ptr %10, i64 968
  %28 = tail call i32 @free_cable_library(ptr noundef nonnull %27) #3
  %29 = getelementptr inbounds i8, ptr %10, i64 1328
  %30 = tail call i32 @free_update_list(ptr noundef nonnull %29) #3
  tail call void @list_destroy(ptr noundef nonnull %21) #3
  tail call void @list_destroy(ptr noundef nonnull %23) #3
  tail call void @list_destroy(ptr noundef nonnull %27) #3
  tail call void @list_destroy(ptr noundef nonnull %29) #3
  %31 = getelementptr inbounds i8, ptr %10, i64 408
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %.not35 = icmp eq ptr %32, null
  br i1 %.not35, label %34, label %33

33:                                               ; preds = %20
  tail call void @free(ptr noundef nonnull %32) #3
  store ptr null, ptr %31, align 8, !tbaa !13
  br label %34

34:                                               ; preds = %33, %20
  tail call void @MAP_OtherState_Delete(ptr noundef nonnull %10) #3
  br label %35

35:                                               ; preds = %34, %19, %15
  ret void
}

declare i32 @free_outer_solve_data(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @map_free_types(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @free_outlist(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @free_line(ptr noundef) local_unnamed_addr #0

declare i32 @free_node(ptr noundef) local_unnamed_addr #0

declare i32 @free_vessel(ptr noundef) local_unnamed_addr #0

declare i32 @free_cable_library(ptr noundef) local_unnamed_addr #0

declare i32 @free_update_list(ptr noundef) local_unnamed_addr #0

declare void @list_destroy(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #2

declare void @MAP_OtherState_Delete(ptr noundef) local_unnamed_addr #0

attributes #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 = { 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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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, !7, i64 0}
!6 = !{!"MAP_OtherStateType", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !10, i64 48, !7, i64 56, !10, i64 64, !7, i64 72, !10, i64 80, !7, i64 88, !10, i64 96, !7, i64 104, !10, i64 112, !7, i64 120, !10, i64 128, !7, i64 136, !10, i64 144, !7, i64 152, !10, i64 160, !7, i64 168, !10, i64 176, !7, i64 184, !10, i64 192, !7, i64 200, !10, i64 208, !7, i64 216, !10, i64 224, !7, i64 232, !10, i64 240, !7, i64 248, !10, i64 256}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 48}
!12 = !{!"MAP_ConstraintStateType", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !10, i64 48, !7, i64 56, !10, i64 64, !7, i64 72, !10, i64 80}
!13 = !{!14, !7, i64 408}
!14 = !{!"Domain_t", !15, i64 0, !17, i64 240, !19, i64 408, !7, i64 448, !10, i64 456, !20, i64 464, !25, i64 968, !25, i64 1088, !25, i64 1208, !25, i64 1328, !7, i64 1448}
!15 = !{!"InnerSolveAttributes_t", !7, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !8, i64 32, !8, i64 48, !8, i64 64, !8, i64 96, !8, i64 112, !8, i64 128, !8, i64 144, !8, i64 160, !8, i64 176, !16, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !8, i64 220, !10, i64 228, !10, i64 232}
!16 = !{!"double", !8, i64 0}
!17 = !{!"OuterSolveAttributes_t", !10, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !18, i64 152, !18, i64 153, !18, i64 154, !10, i64 156, !10, i64 160, !10, i64 164}
!18 = !{!"_Bool", !8, i64 0}
!19 = !{!"DomainOptions_t", !7, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !18, i64 32, !18, i64 33, !10, i64 36}
!20 = !{!"Vessel_t", !21, i64 0, !7, i64 120, !7, i64 128, !7, i64 136, !23, i64 144, !23, i64 264, !24, i64 384}
!21 = !{!"EulerAngle_t", !22, i64 0, !22, i64 40, !22, i64 80}
!22 = !{!"VarType_t", !7, i64 0, !7, i64 8, !16, i64 16, !18, i64 24, !18, i64 25, !10, i64 28, !10, i64 32}
!23 = !{!"Point_t", !22, i64 0, !22, i64 40, !22, i64 80}
!24 = !{!"Force_t", !22, i64 0, !22, i64 40, !22, i64 80}
!25 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 56, !26, i64 64}
!26 = !{!"list_attributes_s", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass