; LLVM IR from gnikit/md-sim :: examples/3D_visualisation (visualise_fluid)

; 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.options_type = type <{ i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector", i64, i64, i64, i64, i64, double, double, double, double, double, double, i8, [7 x i8], double, double, double, double, double, double, double, double, double, i8, [7 x i8], %struct.io_options_type, %struct.rdf_options_type, %struct.compression_options_type, %struct.test_options_type, [7 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.io_options_type = type { i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i64, %"class.std::__cxx11::basic_string" }
%struct.rdf_options_type = type { i64, i64 }
%struct.compression_options_type = type { i8, double, double, i8, i64 }
%struct.test_options_type = type { i8 }
%"class.std::initializer_list" = type { ptr, i64 }
%class.MD = type { %class.vector_3d, %class.vector_3d, %class.vector_3d, %class.vector_3d, %class.vector_3d, %class.vector_3d, %class.vector_3d, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %struct.options_type, ptr, double, i64, %class.stat_file }
%class.vector_3d = type { i8, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.stat_file = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.8" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@constinit = external hidden constant [3 x i64], align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %struct.options_type, align 8
  %2 = alloca %"class.std::initializer_list", align 8
  %3 = alloca [3 x i64], align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %class.MD, align 8
  call void @llvm.lifetime.start.p0(i64 568, ptr %1) #8
  call void @_ZN12options_typeC2Ev(ptr noundef nonnull align 8 dereferenceable(561) %1)
  %7 = getelementptr inbounds %struct.options_type, ptr %1, i32 0, i32 7
  store i64 1000, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 @constinit, i64 24, i1 false), !tbaa.struct !23
  %8 = getelementptr inbounds %"class.std::initializer_list", ptr %2, i32 0, i32 0
  store ptr %3, ptr %8, align 8, !tbaa !25
  %9 = getelementptr inbounds %"class.std::initializer_list", ptr %2, i32 0, i32 1
  store i64 3, ptr %9, align 8, !tbaa !27
  %10 = getelementptr inbounds %struct.options_type, ptr %1, i32 0, i32 6
  %11 = getelementptr inbounds { ptr, i64 }, ptr %2, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8
  %13 = getelementptr inbounds { ptr, i64 }, ptr %2, i32 0, i32 1
  %14 = load i64, ptr %13, align 8
  %15 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorImSaImEEaSESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %12, i64 %14)
          to label %16 unwind label %32

16:                                               ; preds = %0
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  %17 = getelementptr inbounds %struct.options_type, ptr %1, i32 0, i32 3
  %18 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str)
          to label %19 unwind label %36

19:                                               ; preds = %16
  %20 = getelementptr inbounds %struct.options_type, ptr %1, i32 0, i32 2
  %21 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.1)
          to label %22 unwind label %36

22:                                               ; preds = %19
  %23 = getelementptr inbounds %struct.options_type, ptr %1, i32 0, i32 20
  store double 5.000000e-01, ptr %23, align 8, !tbaa !28
  %24 = getelementptr inbounds %struct.options_type, ptr %1, i32 0, i32 21
  store double 5.000000e-01, ptr %24, align 8, !tbaa !29
  %25 = getelementptr inbounds %struct.options_type, ptr %1, i32 0, i32 23
  store double 8.000000e+00, ptr %25, align 8, !tbaa !30
  %26 = getelementptr inbounds %struct.options_type, ptr %1, i32 0, i32 31
  %27 = getelementptr inbounds %struct.io_options_type, ptr %26, i32 0, i32 11
  %28 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.2)
          to label %29 unwind label %36

29:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 1704, ptr %6) #8
  invoke void @_ZN2MDC1ER12options_type(ptr noundef nonnull align 8 dereferenceable(1704) %6, ptr noundef nonnull align 8 dereferenceable(561) %1)
          to label %30 unwind label %40

30:                                               ; preds = %29
  invoke void @_ZN2MD10simulationEv(ptr noundef nonnull align 8 dereferenceable(1704) %6)
          to label %31 unwind label %44

31:                                               ; preds = %30
  call void @_ZN2MDD1Ev(ptr noundef nonnull align 8 dereferenceable(1704) %6) #8
  call void @llvm.lifetime.end.p0(i64 1704, ptr %6) #8
  call void @_ZN12options_typeD2Ev(ptr noundef nonnull align 8 dereferenceable(561) %1) #8
  call void @llvm.lifetime.end.p0(i64 568, ptr %1) #8
  ret i32 0

32:                                               ; preds = %0
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %4, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  br label %49

36:                                               ; preds = %22, %19, %16
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %4, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %5, align 4
  br label %49

40:                                               ; preds = %29
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %4, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %5, align 4
  br label %48

44:                                               ; preds = %30
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %4, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %5, align 4
  call void @_ZN2MDD1Ev(ptr noundef nonnull align 8 dereferenceable(1704) %6) #8
  br label %48

48:                                               ; preds = %44, %40
  call void @llvm.lifetime.end.p0(i64 1704, ptr %6) #8
  br label %49

49:                                               ; preds = %48, %36, %32
  call void @_ZN12options_typeD2Ev(ptr noundef nonnull align 8 dereferenceable(561) %1) #8
  call void @llvm.lifetime.end.p0(i64 568, ptr %1) #8
  br label %50

50:                                               ; preds = %49
  %51 = load ptr, ptr %4, align 8
  %52 = load i32, ptr %5, align 4
  %53 = insertvalue { ptr, i32 } poison, ptr %51, 0
  %54 = insertvalue { ptr, i32 } %53, i32 %52, 1
  resume { ptr, i32 } %54
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12options_typeC2Ev(ptr noundef nonnull align 8 dereferenceable(561)) unnamed_addr #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorImSaImEEaSESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4 align 2

declare void @_ZN2MDC1ER12options_type(ptr noundef nonnull align 8 dereferenceable(1704), ptr noundef nonnull align 8 dereferenceable(561)) unnamed_addr #5

declare void @_ZN2MD10simulationEv(ptr noundef nonnull align 8 dereferenceable(1704)) #5

; Function Attrs: nounwind
declare void @_ZN2MDD1Ev(ptr noundef nonnull align 8 dereferenceable(1704)) unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12options_typeD2Ev(ptr noundef nonnull align 8 dereferenceable(561)) unnamed_addr #7 align 2

attributes #0 = { mustprogress norecurse 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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress 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 #5 = { "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 #6 = { 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 #7 = { inlinehint 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 #8 = { 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 192}
!6 = !{!"_ZTS12options_type", !7, i64 0, !10, i64 8, !10, i64 40, !10, i64 72, !10, i64 104, !10, i64 136, !13, i64 168, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !17, i64 232, !17, i64 240, !17, i64 248, !17, i64 256, !17, i64 264, !17, i64 272, !18, i64 280, !17, i64 288, !17, i64 296, !17, i64 304, !17, i64 312, !17, i64 320, !17, i64 328, !17, i64 336, !17, i64 344, !17, i64 352, !18, i64 360, !19, i64 368, !20, i64 504, !21, i64 520, !22, i64 560}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !7, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"_ZTSSt6vectorImSaImEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseImSaImEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!"double", !8, i64 0}
!18 = !{!"bool", !8, i64 0}
!19 = !{!"_ZTS15io_options_type", !7, i64 0, !18, i64 8, !18, i64 9, !18, i64 10, !18, i64 11, !18, i64 12, !18, i64 13, !18, i64 14, !18, i64 15, !18, i64 16, !10, i64 24, !10, i64 56, !18, i64 88, !7, i64 96, !10, i64 104}
!20 = !{!"_ZTS16rdf_options_type", !7, i64 0, !7, i64 8}
!21 = !{!"_ZTS24compression_options_type", !18, i64 0, !17, i64 8, !17, i64 16, !18, i64 24, !7, i64 32}
!22 = !{!"_ZTS17test_options_type", !18, i64 0}
!23 = !{i64 0, i64 24, !24}
!24 = !{!8, !8, i64 0}
!25 = !{!26, !12, i64 0}
!26 = !{!"_ZTSSt16initializer_listImE", !12, i64 0, !7, i64 8}
!27 = !{!26, !7, i64 8}
!28 = !{!6, !17, i64 288}
!29 = !{!6, !17, i64 296}
!30 = !{!6, !17, i64 312}


; 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.options_type = type <{ i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector", i64, i64, i64, i64, i64, double, double, double, double, double, double, i8, [7 x i8], double, double, double, double, double, double, double, double, double, i8, [7 x i8], %struct.io_options_type, %struct.rdf_options_type, %struct.compression_options_type, %struct.test_options_type, [7 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.io_options_type = type { i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i64, %"class.std::__cxx11::basic_string" }
%struct.rdf_options_type = type { i64, i64 }
%struct.compression_options_type = type { i8, double, double, i8, i64 }
%struct.test_options_type = type { i8 }
%class.MD = type { %class.vector_3d, %class.vector_3d, %class.vector_3d, %class.vector_3d, %class.vector_3d, %class.vector_3d, %class.vector_3d, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %struct.options_type, ptr, double, i64, %class.stat_file }
%class.vector_3d = type { i8, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.stat_file = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.8" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@constinit = external hidden local_unnamed_addr constant [3 x i64], align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %struct.options_type, align 8
  %2 = alloca [3 x i64], align 8
  %3 = alloca %class.MD, align 8
  call void @llvm.lifetime.start.p0(i64 568, ptr nonnull %1) #8
  call void @_ZN12options_typeC2Ev(ptr noundef nonnull align 8 dereferenceable(561) %1)
  %4 = getelementptr inbounds i8, ptr %1, i64 192
  store i64 1000, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) @constinit, i64 24, i1 false), !tbaa.struct !23
  %5 = getelementptr inbounds i8, ptr %1, i64 168
  %6 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorImSaImEEaSESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %2, i64 3)
          to label %7 unwind label %21

7:                                                ; preds = %0
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  %8 = getelementptr inbounds i8, ptr %1, i64 72
  %9 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str)
          to label %10 unwind label %23

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %1, i64 40
  %12 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.1)
          to label %13 unwind label %23

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %1, i64 288
  store <2 x double> <double 5.000000e-01, double 5.000000e-01>, ptr %14, align 8, !tbaa !25
  %15 = getelementptr inbounds i8, ptr %1, i64 312
  store double 8.000000e+00, ptr %15, align 8, !tbaa !26
  %16 = getelementptr inbounds i8, ptr %1, i64 424
  %17 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.2)
          to label %18 unwind label %23

18:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 1704, ptr nonnull %3) #8
  invoke void @_ZN2MDC1ER12options_type(ptr noundef nonnull align 8 dereferenceable(1704) %3, ptr noundef nonnull align 8 dereferenceable(561) %1)
          to label %19 unwind label %25

19:                                               ; preds = %18
  invoke void @_ZN2MD10simulationEv(ptr noundef nonnull align 8 dereferenceable(1704) %3)
          to label %20 unwind label %27

20:                                               ; preds = %19
  call void @_ZN2MDD1Ev(ptr noundef nonnull align 8 dereferenceable(1704) %3) #8
  call void @llvm.lifetime.end.p0(i64 1704, ptr nonnull %3) #8
  call void @_ZN12options_typeD2Ev(ptr noundef nonnull align 8 dereferenceable(561) %1) #8
  call void @llvm.lifetime.end.p0(i64 568, ptr nonnull %1) #8
  ret i32 0

21:                                               ; preds = %0
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  br label %30

23:                                               ; preds = %13, %10, %7
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %30

25:                                               ; preds = %18
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %29

27:                                               ; preds = %19
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2MDD1Ev(ptr noundef nonnull align 8 dereferenceable(1704) %3) #8
  br label %29

29:                                               ; preds = %27, %25
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 1704, ptr nonnull %3) #8
  br label %30

30:                                               ; preds = %29, %23, %21
  %.pn.pn = phi { ptr, i32 } [ %.pn, %29 ], [ %24, %23 ], [ %22, %21 ]
  call void @_ZN12options_typeD2Ev(ptr noundef nonnull align 8 dereferenceable(561) %1) #8
  call void @llvm.lifetime.end.p0(i64 568, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12options_typeC2Ev(ptr noundef nonnull align 8 dereferenceable(561)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorImSaImEEaSESt16initializer_listImE(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) local_unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4 align 2

declare void @_ZN2MDC1ER12options_type(ptr noundef nonnull align 8 dereferenceable(1704), ptr noundef nonnull align 8 dereferenceable(561)) unnamed_addr #5

declare void @_ZN2MD10simulationEv(ptr noundef nonnull align 8 dereferenceable(1704)) local_unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN2MDD1Ev(ptr noundef nonnull align 8 dereferenceable(1704)) unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12options_typeD2Ev(ptr noundef nonnull align 8 dereferenceable(561)) unnamed_addr #7 align 2

attributes #0 = { mustprogress norecurse 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 willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress 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 #5 = { "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 #6 = { 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 #7 = { inlinehint 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 #8 = { 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 192}
!6 = !{!"_ZTS12options_type", !7, i64 0, !10, i64 8, !10, i64 40, !10, i64 72, !10, i64 104, !10, i64 136, !13, i64 168, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !17, i64 232, !17, i64 240, !17, i64 248, !17, i64 256, !17, i64 264, !17, i64 272, !18, i64 280, !17, i64 288, !17, i64 296, !17, i64 304, !17, i64 312, !17, i64 320, !17, i64 328, !17, i64 336, !17, i64 344, !17, i64 352, !18, i64 360, !19, i64 368, !20, i64 504, !21, i64 520, !22, i64 560}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !7, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"_ZTSSt6vectorImSaImEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseImSaImEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!"double", !8, i64 0}
!18 = !{!"bool", !8, i64 0}
!19 = !{!"_ZTS15io_options_type", !7, i64 0, !18, i64 8, !18, i64 9, !18, i64 10, !18, i64 11, !18, i64 12, !18, i64 13, !18, i64 14, !18, i64 15, !18, i64 16, !10, i64 24, !10, i64 56, !18, i64 88, !7, i64 96, !10, i64 104}
!20 = !{!"_ZTS16rdf_options_type", !7, i64 0, !7, i64 8}
!21 = !{!"_ZTS24compression_options_type", !18, i64 0, !17, i64 8, !17, i64 16, !18, i64 24, !7, i64 32}
!22 = !{!"_ZTS17test_options_type", !18, i64 0}
!23 = !{i64 0, i64 24, !24}
!24 = !{!8, !8, i64 0}
!25 = !{!17, !17, i64 0}
!26 = !{!6, !17, i64 312}


; Effective O3 passes: GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass