; LLVM IR from stonne-simulator/omega :: omega-code/stonne/src/SDMemory.ll (ZN8SDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow)

; 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.SDMemory = type { %class.MemoryController, ptr, ptr, ptr, ptr, ptr, %"class.std::vector", i32, i32, i32, i32, i32, i32, ptr, %"class.std::vector.3", %"class.std::vector.3", ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %"class.std::__cxx11::list", %"class.std::vector", ptr, i32, %class.SDMemoryStats }
%class.MemoryController = type { %class.Unit }
%class.Unit = type { ptr, i32, %"class.std::__cxx11::basic_string" }
%"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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<Fifo *, std::allocator<Fifo *>>::_Vector_impl" }
%"struct.std::_Vector_base<Fifo *, std::allocator<Fifo *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Fifo *, std::allocator<Fifo *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Fifo *, std::allocator<Fifo *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<DataPackage *, std::allocator<DataPackage *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<DataPackage *, std::allocator<DataPackage *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Connection *, std::allocator<Connection *>>::_Vector_impl" }
%"struct.std::_Vector_base<Connection *, std::allocator<Connection *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Connection *, std::allocator<Connection *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Connection *, std::allocator<Connection *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.SDMemoryStats = type { %class.Stats, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::vector.11", %"class.std::vector.11", %"class.std::vector.11", %"class.std::vector.11" }
%class.Stats = type { ptr }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_NEv(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_REv(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8SDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow(ptr noundef nonnull align 8 dereferenceable(568) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) unnamed_addr #1 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  %13 = load ptr, ptr %7, align 8
  %14 = load ptr, ptr %8, align 8, !tbaa !5
  %15 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 1
  store ptr %14, ptr %15, align 8, !tbaa !11
  %16 = load ptr, ptr %10, align 8, !tbaa !5
  %17 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 16
  store ptr %16, ptr %17, align 8, !tbaa !39
  %18 = load ptr, ptr %9, align 8, !tbaa !5
  %19 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 17
  store ptr %18, ptr %19, align 8, !tbaa !40
  %20 = load ptr, ptr %11, align 8, !tbaa !5
  %21 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 18
  store ptr %20, ptr %21, align 8, !tbaa !41
  %22 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 37
  store i32 0, ptr %22, align 8, !tbaa !42
  %23 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 38
  store i32 0, ptr %23, align 4, !tbaa !43
  %24 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 36
  store i32 0, ptr %24, align 4, !tbaa !44
  %25 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 39
  store i32 0, ptr %25, align 8, !tbaa !45
  %26 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 40
  store i32 0, ptr %26, align 4, !tbaa !46
  %27 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 33
  store i32 0, ptr %27, align 8, !tbaa !47
  %28 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 34
  store i32 0, ptr %28, align 4, !tbaa !48
  %29 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 35
  store i32 0, ptr %29, align 8, !tbaa !49
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = call noundef i32 @_ZNK8DNNLayer5get_REv(ptr noundef nonnull align 8 dereferenceable(84) %30)
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %32)
  %34 = mul i32 %31, %33
  %35 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 44
  store i32 %34, ptr %35, align 4, !tbaa !50
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %36)
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %38)
  %40 = mul i32 %37, %39
  %41 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 45
  store i32 %40, ptr %41, align 8, !tbaa !51
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = call noundef i32 @_ZNK8DNNLayer5get_REv(ptr noundef nonnull align 8 dereferenceable(84) %42)
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %44)
  %46 = mul i32 %43, %45
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %47)
  %49 = mul i32 %46, %48
  %50 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 46
  store i32 %49, ptr %50, align 4, !tbaa !52
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %51)
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = call noundef i32 @_ZNK8DNNLayer5get_REv(ptr noundef nonnull align 8 dereferenceable(84) %53)
  %55 = mul i32 %52, %54
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %56)
  %58 = mul i32 %55, %57
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %59)
  %61 = mul i32 %58, %60
  %62 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 53
  store i32 %61, ptr %62, align 8, !tbaa !53
  %63 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 47
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %64)
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %66)
  %68 = mul i32 %65, %67
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = call noundef i32 @_ZNK8DNNLayer5get_YEv(ptr noundef nonnull align 8 dereferenceable(84) %69)
  %71 = mul i32 %68, %70
  %72 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 48
  store i32 %71, ptr %72, align 4, !tbaa !54
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = call noundef i32 @_ZNK8DNNLayer5get_XEv(ptr noundef nonnull align 8 dereferenceable(84) %73)
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = call noundef i32 @_ZNK8DNNLayer5get_YEv(ptr noundef nonnull align 8 dereferenceable(84) %75)
  %77 = mul i32 %74, %76
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %78)
  %80 = mul i32 %77, %79
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %81)
  %83 = mul i32 %80, %82
  %84 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 49
  store i32 %83, ptr %84, align 8, !tbaa !55
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = call noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84) %85)
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %87)
  %89 = mul i32 %86, %88
  %90 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 50
  store i32 %89, ptr %90, align 4, !tbaa !56
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %91)
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %93)
  %95 = mul i32 %92, %94
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %96)
  %98 = mul i32 %95, %97
  %99 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 51
  store i32 %98, ptr %99, align 8, !tbaa !57
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = call noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84) %100)
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %102)
  %104 = mul i32 %101, %103
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %105)
  %107 = mul i32 %104, %106
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %108)
  %110 = mul i32 %107, %109
  %111 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 52
  store i32 %110, ptr %111, align 4, !tbaa !58
  %112 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 52
  %113 = load i32, ptr %112, align 4, !tbaa !58
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = call noundef i32 @_ZNK8DNNLayer5get_NEv(ptr noundef nonnull align 8 dereferenceable(84) %114)
  %116 = mul i32 %113, %115
  %117 = getelementptr inbounds %class.SDMemory, ptr %13, i32 0, i32 42
  store i32 %116, ptr %117, align 4, !tbaa !59
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_YEv(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_XEv(ptr noundef nonnull align 8 dereferenceable(84)) #0 align 2

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

!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 = !{!"_ZTS8Dataflow", !7, i64 0}
!11 = !{!12, !6, i64 48}
!12 = !{!"_ZTS8SDMemory", !13, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !19, i64 88, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !6, i64 136, !23, i64 144, !23, i64 168, !6, i64 192, !6, i64 200, !6, i64 208, !27, i64 216, !27, i64 217, !27, i64 218, !27, i64 219, !27, i64 220, !27, i64 221, !15, i64 224, !15, i64 228, !15, i64 232, !15, i64 236, !15, i64 240, !15, i64 244, !15, i64 248, !15, i64 252, !15, i64 256, !15, i64 260, !15, i64 264, !15, i64 268, !15, i64 272, !15, i64 276, !15, i64 280, !15, i64 284, !15, i64 288, !15, i64 292, !15, i64 296, !15, i64 300, !15, i64 304, !15, i64 308, !15, i64 312, !15, i64 316, !15, i64 320, !15, i64 324, !15, i64 328, !15, i64 332, !15, i64 336, !6, i64 344, !28, i64 352, !19, i64 376, !6, i64 400, !15, i64 408, !33, i64 416}
!13 = !{!"_ZTS16MemoryController", !14, i64 0}
!14 = !{!"_ZTS4Unit", !15, i64 8, !16, i64 16}
!15 = !{!"int", !7, i64 0}
!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 = !{!"_ZTSSt6vectorIP10ConnectionSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIP10ConnectionSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIP4FifoSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP4FifoSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"bool", !7, i64 0}
!28 = !{!"_ZTSNSt7__cxx114listIP11DataPackageSaIS2_EEE", !29, i64 0}
!29 = !{!"_ZTSNSt7__cxx1110_List_baseIP11DataPackageSaIS2_EEE", !30, i64 0}
!30 = !{!"_ZTSNSt7__cxx1110_List_baseIP11DataPackageSaIS2_EE10_List_implE", !31, i64 0}
!31 = !{!"_ZTSNSt8__detail17_List_node_headerE", !32, i64 0, !18, i64 16}
!32 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!33 = !{!"_ZTS13SDMemoryStats", !34, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !10, i64 48, !35, i64 56, !35, i64 80, !35, i64 104, !35, i64 128}
!34 = !{!"_ZTS5Stats"}
!35 = !{!"_ZTSSt6vectorIjSaIjEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!12, !6, i64 192}
!40 = !{!12, !6, i64 200}
!41 = !{!12, !6, i64 208}
!42 = !{!12, !15, i64 272}
!43 = !{!12, !15, i64 276}
!44 = !{!12, !15, i64 268}
!45 = !{!12, !15, i64 280}
!46 = !{!12, !15, i64 284}
!47 = !{!12, !15, i64 256}
!48 = !{!12, !15, i64 260}
!49 = !{!12, !15, i64 264}
!50 = !{!12, !15, i64 300}
!51 = !{!12, !15, i64 304}
!52 = !{!12, !15, i64 308}
!53 = !{!12, !15, i64 336}
!54 = !{!12, !15, i64 316}
!55 = !{!12, !15, i64 320}
!56 = !{!12, !15, i64 324}
!57 = !{!12, !15, i64 328}
!58 = !{!12, !15, i64 332}
!59 = !{!12, !15, i64 292}


; 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 nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_NEv(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_REv(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8SDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(568) %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) unnamed_addr #0 align 2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %1, ptr %7, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 192
  store ptr %3, ptr %8, align 8, !tbaa !37
  %9 = getelementptr inbounds i8, ptr %0, i64 200
  store ptr %2, ptr %9, align 8, !tbaa !38
  %10 = getelementptr inbounds i8, ptr %0, i64 208
  store ptr %4, ptr %10, align 8, !tbaa !39
  %11 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %11, i8 0, i64 32, i1 false)
  %12 = tail call noundef i32 @_ZNK8DNNLayer5get_REv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %13 = tail call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %14 = mul i32 %13, %12
  %15 = getelementptr inbounds i8, ptr %0, i64 300
  store i32 %14, ptr %15, align 4, !tbaa !40
  %16 = tail call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %17 = tail call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %18 = mul i32 %17, %16
  %19 = getelementptr inbounds i8, ptr %0, i64 304
  store i32 %18, ptr %19, align 8, !tbaa !41
  %20 = tail call noundef i32 @_ZNK8DNNLayer5get_REv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %21 = tail call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %22 = mul i32 %21, %20
  %23 = tail call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %24 = mul i32 %22, %23
  %25 = getelementptr inbounds i8, ptr %0, i64 308
  store i32 %24, ptr %25, align 4, !tbaa !42
  %26 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %27 = tail call noundef i32 @_ZNK8DNNLayer5get_REv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %28 = mul i32 %27, %26
  %29 = tail call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %30 = mul i32 %28, %29
  %31 = tail call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %32 = mul i32 %30, %31
  %33 = getelementptr inbounds i8, ptr %0, i64 336
  store i32 %32, ptr %33, align 8, !tbaa !43
  %34 = tail call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %35 = tail call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %36 = mul i32 %35, %34
  %37 = tail call noundef i32 @_ZNK8DNNLayer5get_YEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %38 = mul i32 %36, %37
  %39 = getelementptr inbounds i8, ptr %0, i64 316
  store i32 %38, ptr %39, align 4, !tbaa !44
  %40 = tail call noundef i32 @_ZNK8DNNLayer5get_XEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %41 = tail call noundef i32 @_ZNK8DNNLayer5get_YEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %42 = mul i32 %41, %40
  %43 = tail call noundef i32 @_ZNK8DNNLayer5get_CEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %44 = mul i32 %42, %43
  %45 = tail call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %46 = mul i32 %44, %45
  %47 = getelementptr inbounds i8, ptr %0, i64 320
  store i32 %46, ptr %47, align 8, !tbaa !45
  %48 = tail call noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %49 = tail call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %50 = mul i32 %49, %48
  %51 = getelementptr inbounds i8, ptr %0, i64 324
  store i32 %50, ptr %51, align 4, !tbaa !46
  %52 = tail call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %53 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %54 = mul i32 %53, %52
  %55 = tail call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %56 = mul i32 %54, %55
  %57 = getelementptr inbounds i8, ptr %0, i64 328
  store i32 %56, ptr %57, align 8, !tbaa !47
  %58 = tail call noundef i32 @_ZNK8DNNLayer6get_X_Ev(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %59 = tail call noundef i32 @_ZNK8DNNLayer6get_Y_Ev(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %60 = mul i32 %59, %58
  %61 = tail call noundef i32 @_ZNK8DNNLayer5get_GEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %62 = mul i32 %60, %61
  %63 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %64 = mul i32 %62, %63
  %65 = getelementptr inbounds i8, ptr %0, i64 332
  store i32 %64, ptr %65, align 4, !tbaa !48
  %66 = tail call noundef i32 @_ZNK8DNNLayer5get_NEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %67 = mul i32 %66, %64
  %68 = getelementptr inbounds i8, ptr %0, i64 292
  store i32 %67, ptr %68, align 4, !tbaa !49
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_YEv(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8DNNLayer5get_XEv(ptr noundef nonnull align 8 dereferenceable(84)) local_unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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, !14, i64 48}
!6 = !{!"_ZTS8SDMemory", !7, i64 0, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !16, i64 88, !9, i64 112, !9, i64 116, !9, i64 120, !9, i64 124, !9, i64 128, !9, i64 132, !14, i64 136, !20, i64 144, !20, i64 168, !14, i64 192, !14, i64 200, !14, i64 208, !24, i64 216, !24, i64 217, !24, i64 218, !24, i64 219, !24, i64 220, !24, i64 221, !9, i64 224, !9, i64 228, !9, i64 232, !9, i64 236, !9, i64 240, !9, i64 244, !9, i64 248, !9, i64 252, !9, i64 256, !9, i64 260, !9, i64 264, !9, i64 268, !9, i64 272, !9, i64 276, !9, i64 280, !9, i64 284, !9, i64 288, !9, i64 292, !9, i64 296, !9, i64 300, !9, i64 304, !9, i64 308, !9, i64 312, !9, i64 316, !9, i64 320, !9, i64 324, !9, i64 328, !9, i64 332, !9, i64 336, !14, i64 344, !25, i64 352, !16, i64 376, !14, i64 400, !9, i64 408, !30, i64 416}
!7 = !{!"_ZTS16MemoryController", !8, i64 0}
!8 = !{!"_ZTS4Unit", !9, i64 8, !12, i64 16}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !15, i64 8, !10, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!"long", !10, i64 0}
!16 = !{!"_ZTSSt6vectorIP10ConnectionSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIP10ConnectionSaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!20 = !{!"_ZTSSt6vectorIP4FifoSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIP4FifoSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!24 = !{!"bool", !10, i64 0}
!25 = !{!"_ZTSNSt7__cxx114listIP11DataPackageSaIS2_EEE", !26, i64 0}
!26 = !{!"_ZTSNSt7__cxx1110_List_baseIP11DataPackageSaIS2_EEE", !27, i64 0}
!27 = !{!"_ZTSNSt7__cxx1110_List_baseIP11DataPackageSaIS2_EE10_List_implE", !28, i64 0}
!28 = !{!"_ZTSNSt8__detail17_List_node_headerE", !29, i64 0, !15, i64 16}
!29 = !{!"_ZTSNSt8__detail15_List_node_baseE", !14, i64 0, !14, i64 8}
!30 = !{!"_ZTS13SDMemoryStats", !31, i64 0, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20, !9, i64 24, !9, i64 28, !9, i64 32, !9, i64 36, !9, i64 40, !9, i64 44, !32, i64 48, !33, i64 56, !33, i64 80, !33, i64 104, !33, i64 128}
!31 = !{!"_ZTS5Stats"}
!32 = !{!"_ZTS8Dataflow", !10, i64 0}
!33 = !{!"_ZTSSt6vectorIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!37 = !{!6, !14, i64 192}
!38 = !{!6, !14, i64 200}
!39 = !{!6, !14, i64 208}
!40 = !{!6, !9, i64 300}
!41 = !{!6, !9, i64 304}
!42 = !{!6, !9, i64 308}
!43 = !{!6, !9, i64 336}
!44 = !{!6, !9, i64 316}
!45 = !{!6, !9, i64 320}
!46 = !{!6, !9, i64 324}
!47 = !{!6, !9, i64 328}
!48 = !{!6, !9, i64 332}
!49 = !{!6, !9, i64 292}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,TailCallElimPass