; LLVM IR from stonne-simulator/omega :: omega-code/stonne/src (DSwitch)

; 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.Config = type { i32, %class.DSNetworkConfig, %class.DSwitchConfig, %class.MSNetworkConfig, %class.MSwitchConfig, %class.ASNetworkConfig, %class.ASwitchConfig, %class.LookUpTableConfig, %class.SDMemoryConfig }
%class.DSNetworkConfig = type { i32 }
%class.DSwitchConfig = type { i32, i32, i32, i32 }
%class.MSNetworkConfig = type { i32, i32, i32, i32 }
%class.MSwitchConfig = type { i32, i32, i32, i32, i32, i32 }
%class.ASNetworkConfig = type { i32, i32 }
%class.ASwitchConfig = type { i32, i32, i32, i32, i32, i32 }
%class.LookUpTableConfig = type { i32, i32 }
%class.SDMemoryConfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%"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.DSwitch = type { %class.Unit, i32, i32, i32, i8, i32, i32, i32, %"class.std::vector", i32, ptr, ptr, ptr, i32, i64, %class.DSwitchStats }
%class.Unit = type { ptr, i32, %"class.std::__cxx11::basic_string" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl" }
%"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DataPackage *, std::allocator<DataPackage *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.DSwitchStats = type <{ %class.Stats, i32, i32, i32, i32, i32, [4 x i8] }>
%class.Stats = type { ptr }

@_ZTV7DSwitch = external dso_local unnamed_addr constant { [6 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DSwitchC2EjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjj6Configj(ptr noundef nonnull align 8 dereferenceable(184) %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef byval(%class.Config) align 8 %5, i32 noundef %6) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca ptr, align 8
  %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 i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %6, ptr %13, align 4, !tbaa !9
  %17 = load ptr, ptr %8, align 8
  %18 = load i32, ptr %9, align 4, !tbaa !9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %2)
  invoke void @_ZN4UnitC2EjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %17, i32 noundef %18, ptr noundef %14)
          to label %19 unwind label %48

19:                                               ; preds = %7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  store ptr getelementptr inbounds inrange(-16, 32) ({ [6 x ptr] }, ptr @_ZTV7DSwitch, i32 0, i32 0, i32 2), ptr %17, align 8, !tbaa !11
  %20 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 8
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  %21 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 15
  invoke void @_ZN12DSwitchStatsC1Ev(ptr noundef nonnull align 8 dereferenceable(28) %21)
          to label %22 unwind label %52

22:                                               ; preds = %19
  %23 = load i32, ptr %11, align 4, !tbaa !9
  %24 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 1
  store i32 %23, ptr %24, align 8, !tbaa !13
  %25 = load i32, ptr %12, align 4, !tbaa !9
  %26 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 2
  store i32 %25, ptr %26, align 4, !tbaa !26
  %27 = load i32, ptr %13, align 4, !tbaa !9
  %28 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 3
  store i32 %27, ptr %28, align 8, !tbaa !27
  %29 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 14
  store i64 0, ptr %29, align 8, !tbaa !28
  %30 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 4
  store i8 0, ptr %30, align 4, !tbaa !29
  %31 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 9
  store i32 0, ptr %31, align 8, !tbaa !30
  %32 = getelementptr inbounds %class.Config, ptr %5, i32 0, i32 2
  %33 = getelementptr inbounds %class.DSwitchConfig, ptr %32, i32 0, i32 0
  %34 = load i32, ptr %33, align 8, !tbaa !31
  %35 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 13
  store i32 %34, ptr %35, align 8, !tbaa !45
  %36 = getelementptr inbounds %class.Config, ptr %5, i32 0, i32 2
  %37 = getelementptr inbounds %class.DSwitchConfig, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !46
  %39 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 5
  store i32 %38, ptr %39, align 8, !tbaa !47
  %40 = getelementptr inbounds %class.Config, ptr %5, i32 0, i32 2
  %41 = getelementptr inbounds %class.DSwitchConfig, ptr %40, i32 0, i32 2
  %42 = load i32, ptr %41, align 8, !tbaa !48
  %43 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 6
  store i32 %42, ptr %43, align 4, !tbaa !49
  %44 = getelementptr inbounds %class.Config, ptr %5, i32 0, i32 2
  %45 = getelementptr inbounds %class.DSwitchConfig, ptr %44, i32 0, i32 3
  %46 = load i32, ptr %45, align 4, !tbaa !50
  %47 = getelementptr inbounds %class.DSwitch, ptr %17, i32 0, i32 7
  store i32 %46, ptr %47, align 8, !tbaa !51
  ret void

48:                                               ; preds = %7
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %15, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  br label %56

52:                                               ; preds = %19
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %15, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %16, align 4
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  call void @_ZN4UnitD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #4
  br label %56

56:                                               ; preds = %52, %48
  %57 = load ptr, ptr %15, align 8
  %58 = load i32, ptr %16, align 4
  %59 = insertvalue { ptr, i32 } poison, ptr %57, 0
  %60 = insertvalue { ptr, i32 } %59, i32 %58, 1
  resume { ptr, i32 } %60
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4UnitC2EjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, ptr noundef) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP11DataPackageSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

declare void @_ZN12DSwitchStatsC1Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP11DataPackageSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4UnitD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

attributes #0 = { 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 #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 = { "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 = { 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 #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 48}
!14 = !{!"_ZTS7DSwitch", !15, i64 0, !10, i64 48, !10, i64 52, !10, i64 56, !19, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !20, i64 80, !10, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !10, i64 136, !18, i64 144, !24, i64 152}
!15 = !{!"_ZTS4Unit", !10, i64 8, !16, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSSt6vectorIP11DataPackageSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIP11DataPackageSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP11DataPackageSaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP11DataPackageSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTS12DSwitchStats", !25, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!25 = !{!"_ZTS5Stats"}
!26 = !{!14, !10, i64 52}
!27 = !{!14, !10, i64 56}
!28 = !{!14, !18, i64 144}
!29 = !{!14, !19, i64 60}
!30 = !{!14, !10, i64 104}
!31 = !{!32, !10, i64 8}
!32 = !{!"_ZTS6Config", !10, i64 0, !33, i64 4, !34, i64 8, !35, i64 24, !37, i64 40, !38, i64 64, !40, i64 72, !41, i64 96, !42, i64 104}
!33 = !{!"_ZTS15DSNetworkConfig", !10, i64 0}
!34 = !{!"_ZTS13DSwitchConfig", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!35 = !{!"_ZTS15MSNetworkConfig", !36, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!36 = !{!"_ZTS19MultiplierNetwork_t", !7, i64 0}
!37 = !{!"_ZTS13MSwitchConfig", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!38 = !{!"_ZTS15ASNetworkConfig", !39, i64 0, !10, i64 4}
!39 = !{!"_ZTS15ReduceNetwork_t", !7, i64 0}
!40 = !{!"_ZTS13ASwitchConfig", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!41 = !{!"_ZTS17LookUpTableConfig", !10, i64 0, !10, i64 4}
!42 = !{!"_ZTS14SDMemoryConfig", !43, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !44, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!43 = !{!"_ZTS18MemoryController_t", !7, i64 0}
!44 = !{!"_ZTS17MemoryHierarchy_t", !7, i64 0}
!45 = !{!14, !10, i64 136}
!46 = !{!32, !10, i64 12}
!47 = !{!14, !10, i64 64}
!48 = !{!32, !10, i64 16}
!49 = !{!14, !10, i64 68}
!50 = !{!32, !10, i64 20}
!51 = !{!14, !10, i64 72}


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

%class.Config = type { i32, %class.DSNetworkConfig, %class.DSwitchConfig, %class.MSNetworkConfig, %class.MSwitchConfig, %class.ASNetworkConfig, %class.ASwitchConfig, %class.LookUpTableConfig, %class.SDMemoryConfig }
%class.DSNetworkConfig = type { i32 }
%class.DSwitchConfig = type { i32, i32, i32, i32 }
%class.MSNetworkConfig = type { i32, i32, i32, i32 }
%class.MSwitchConfig = type { i32, i32, i32, i32, i32, i32 }
%class.ASNetworkConfig = type { i32, i32 }
%class.ASwitchConfig = type { i32, i32, i32, i32, i32, i32 }
%class.LookUpTableConfig = type { i32, i32 }
%class.SDMemoryConfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%"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] }

@_ZTV7DSwitch = external dso_local unnamed_addr constant { [6 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7DSwitchC2EjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjj6Configj(ptr noundef nonnull align 8 dereferenceable(184) %0, i32 noundef %1, ptr noundef nonnull %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef readonly byval(%class.Config) align 8 %5, i32 noundef %6) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %2)
  invoke void @_ZN4UnitC2EjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48) %0, i32 noundef %1, ptr noundef nonnull %8)
          to label %9 unwind label %28

9:                                                ; preds = %7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTV7DSwitch, i64 16), ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 80
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  %11 = getelementptr inbounds i8, ptr %0, i64 152
  invoke void @_ZN12DSwitchStatsC1Ev(ptr noundef nonnull align 8 dereferenceable(28) %11)
          to label %12 unwind label %30

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 %3, ptr %13, align 8, !tbaa !8
  %14 = getelementptr inbounds i8, ptr %0, i64 52
  store i32 %4, ptr %14, align 4, !tbaa !24
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 %6, ptr %15, align 8, !tbaa !25
  %16 = getelementptr inbounds i8, ptr %0, i64 144
  store i64 0, ptr %16, align 8, !tbaa !26
  %17 = getelementptr inbounds i8, ptr %0, i64 60
  store i8 0, ptr %17, align 4, !tbaa !27
  %18 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 0, ptr %18, align 8, !tbaa !28
  %19 = getelementptr inbounds i8, ptr %5, i64 8
  %20 = load i32, ptr %19, align 8, !tbaa !29
  %21 = getelementptr inbounds i8, ptr %0, i64 136
  store i32 %20, ptr %21, align 8, !tbaa !43
  %22 = getelementptr inbounds i8, ptr %5, i64 12
  %23 = getelementptr inbounds i8, ptr %0, i64 64
  %24 = load <2 x i32>, ptr %22, align 4, !tbaa !44
  store <2 x i32> %24, ptr %23, align 8, !tbaa !44
  %25 = getelementptr inbounds i8, ptr %5, i64 20
  %26 = load i32, ptr %25, align 4, !tbaa !45
  %27 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 %26, ptr %27, align 8, !tbaa !46
  ret void

28:                                               ; preds = %7
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  br label %32

30:                                               ; preds = %9
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP11DataPackageSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @_ZN4UnitD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #4
  br label %32

32:                                               ; preds = %30, %28
  %.pn = phi { ptr, i32 } [ %31, %30 ], [ %29, %28 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4UnitC2EjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, ptr noundef) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP11DataPackageSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

declare void @_ZN12DSwitchStatsC1Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP11DataPackageSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4UnitD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

attributes #0 = { 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 #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 = { "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 = { 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 #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 48}
!9 = !{!"_ZTS7DSwitch", !10, i64 0, !11, i64 48, !11, i64 52, !11, i64 56, !17, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !18, i64 80, !11, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !11, i64 136, !16, i64 144, !22, i64 152}
!10 = !{!"_ZTS4Unit", !11, i64 8, !13, i64 16}
!11 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !16, i64 8, !12, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!15 = !{!"any pointer", !12, i64 0}
!16 = !{!"long", !12, i64 0}
!17 = !{!"bool", !12, i64 0}
!18 = !{!"_ZTSSt6vectorIP11DataPackageSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIP11DataPackageSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP11DataPackageSaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP11DataPackageSaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!22 = !{!"_ZTS12DSwitchStats", !23, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24}
!23 = !{!"_ZTS5Stats"}
!24 = !{!9, !11, i64 52}
!25 = !{!9, !11, i64 56}
!26 = !{!9, !16, i64 144}
!27 = !{!9, !17, i64 60}
!28 = !{!9, !11, i64 104}
!29 = !{!30, !11, i64 8}
!30 = !{!"_ZTS6Config", !11, i64 0, !31, i64 4, !32, i64 8, !33, i64 24, !35, i64 40, !36, i64 64, !38, i64 72, !39, i64 96, !40, i64 104}
!31 = !{!"_ZTS15DSNetworkConfig", !11, i64 0}
!32 = !{!"_ZTS13DSwitchConfig", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!33 = !{!"_ZTS15MSNetworkConfig", !34, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!34 = !{!"_ZTS19MultiplierNetwork_t", !12, i64 0}
!35 = !{!"_ZTS13MSwitchConfig", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!36 = !{!"_ZTS15ASNetworkConfig", !37, i64 0, !11, i64 4}
!37 = !{!"_ZTS15ReduceNetwork_t", !12, i64 0}
!38 = !{!"_ZTS13ASwitchConfig", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!39 = !{!"_ZTS17LookUpTableConfig", !11, i64 0, !11, i64 4}
!40 = !{!"_ZTS14SDMemoryConfig", !41, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !42, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52}
!41 = !{!"_ZTS18MemoryController_t", !12, i64 0}
!42 = !{!"_ZTS17MemoryHierarchy_t", !12, i64 0}
!43 = !{!9, !11, i64 136}
!44 = !{!11, !11, i64 0}
!45 = !{!30, !11, i64 20}
!46 = !{!9, !11, i64 72}


; Effective O3 passes: EarlyCSEPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass