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

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.SparseSDMemory = type { %class.MemoryController, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, %"class.std::vector", %"class.std::vector.3", %"class.std::vector.8", i32, i32, i32, i32, i32, i32, ptr, %"class.std::vector.13", %"class.std::vector.13", ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %"class.std::vector.8", 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl" }
%"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl" = type { %"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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 }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%class.Stats = type { ptr }

@.str.1 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1
@__PRETTY_FUNCTION__._ZN14SparseSDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow = external hidden unnamed_addr constant [93 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14SparseSDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow(ptr noundef nonnull align 8 dereferenceable(592) %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.SparseSDMemory, ptr %13, i32 0, i32 1
  store ptr %14, ptr %15, align 8, !tbaa !11
  %16 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 1
  %17 = load ptr, ptr %16, align 8, !tbaa !11
  %18 = call noundef i32 @_ZNK8DNNLayer14get_layer_typeEv(ptr noundef nonnull align 8 dereferenceable(84) %17)
  %19 = icmp eq i32 %18, 3
  br i1 %19, label %20, label %21

20:                                               ; preds = %6
  br label %23

21:                                               ; preds = %6
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 83, ptr noundef @__PRETTY_FUNCTION__._ZN14SparseSDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow) #6
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %20
  %24 = load i32, ptr %12, align 4, !tbaa !9
  %25 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 6
  store i32 %24, ptr %25, align 8, !tbaa !39
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  %27 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 32
  store ptr %26, ptr %27, align 8, !tbaa !40
  %28 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 50
  store i8 1, ptr %28, align 1, !tbaa !41
  %29 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %30)
  %32 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 4
  store i32 %31, ptr %32, align 8, !tbaa !42
  %33 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !11
  %35 = call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %34)
  %36 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 8
  store i32 %35, ptr %36, align 8, !tbaa !43
  %37 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  %39 = call noundef i32 @_ZNK8DNNLayer5get_XEv(ptr noundef nonnull align 8 dereferenceable(84) %38)
  %40 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 5
  store i32 %39, ptr %40, align 4, !tbaa !44
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %42 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 4
  %43 = load i32, ptr %42, align 8, !tbaa !42
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %41, i32 noundef %43)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
  %47 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 5
  %48 = load i32, ptr %47, align 4, !tbaa !44
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %46, i32 noundef %48)
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  %52 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 8
  %53 = load i32, ptr %52, align 8, !tbaa !43
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %51, i32 noundef %53)
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %56 = load i32, ptr %12, align 4, !tbaa !9
  %57 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 59
  %58 = getelementptr inbounds %class.SDMemoryStats, ptr %57, i32 0, i32 11
  store i32 %56, ptr %58, align 8, !tbaa !45
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = icmp eq i32 %59, 1
  br i1 %60, label %61, label %86

61:                                               ; preds = %23
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 30
  store ptr %64, ptr %65, align 8, !tbaa !46
  %66 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 4
  %67 = load i32, ptr %66, align 8, !tbaa !42
  %68 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 7
  store i32 %67, ptr %68, align 4, !tbaa !47
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 31
  store ptr %69, ptr %70, align 8, !tbaa !48
  %71 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 5
  %72 = load i32, ptr %71, align 4, !tbaa !44
  %73 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 9
  store i32 %72, ptr %73, align 4, !tbaa !49
  %74 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 10
  store i32 1, ptr %74, align 8, !tbaa !50
  %75 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 8
  %76 = load i32, ptr %75, align 8, !tbaa !43
  %77 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 11
  store i32 %76, ptr %77, align 4, !tbaa !51
  %78 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 9
  %79 = load i32, ptr %78, align 4, !tbaa !49
  %80 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 12
  store i32 %79, ptr %80, align 8, !tbaa !52
  %81 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 13
  store i32 1, ptr %81, align 4, !tbaa !53
  %82 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 9
  %83 = load i32, ptr %82, align 4, !tbaa !49
  %84 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 14
  store i32 %83, ptr %84, align 8, !tbaa !54
  %85 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 15
  store i32 1, ptr %85, align 4, !tbaa !55
  br label %118

86:                                               ; preds = %23
  %87 = load i32, ptr %12, align 4, !tbaa !9
  %88 = icmp eq i32 %87, 2
  br i1 %88, label %89, label %114

89:                                               ; preds = %86
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 30
  store ptr %92, ptr %93, align 8, !tbaa !46
  %94 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 5
  %95 = load i32, ptr %94, align 4, !tbaa !44
  %96 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 7
  store i32 %95, ptr %96, align 4, !tbaa !47
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 31
  store ptr %97, ptr %98, align 8, !tbaa !48
  %99 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 4
  %100 = load i32, ptr %99, align 8, !tbaa !42
  %101 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 9
  store i32 %100, ptr %101, align 4, !tbaa !49
  %102 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 7
  %103 = load i32, ptr %102, align 4, !tbaa !47
  %104 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 10
  store i32 %103, ptr %104, align 8, !tbaa !50
  %105 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 11
  store i32 1, ptr %105, align 4, !tbaa !51
  %106 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 12
  store i32 1, ptr %106, align 8, !tbaa !52
  %107 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 8
  %108 = load i32, ptr %107, align 8, !tbaa !43
  %109 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 13
  store i32 %108, ptr %109, align 4, !tbaa !53
  %110 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 14
  store i32 1, ptr %110, align 8, !tbaa !54
  %111 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 7
  %112 = load i32, ptr %111, align 4, !tbaa !47
  %113 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 15
  store i32 %112, ptr %113, align 4, !tbaa !55
  br label %117

114:                                              ; preds = %86
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 143, ptr noundef @__PRETTY_FUNCTION__._ZN14SparseSDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow) #6
  unreachable

117:                                              ; preds = %89
  br label %118

118:                                              ; preds = %117, %61
  %119 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 7
  %120 = load i32, ptr %119, align 4, !tbaa !47
  %121 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 9
  %122 = load i32, ptr %121, align 4, !tbaa !49
  %123 = mul i32 %120, %122
  %124 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 52
  store i32 %123, ptr %124, align 8, !tbaa !56
  %125 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 7
  %126 = load i32, ptr %125, align 4, !tbaa !47
  %127 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 8
  %128 = load i32, ptr %127, align 8, !tbaa !43
  %129 = mul i32 %126, %128
  %130 = zext i32 %129 to i64
  %131 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %130, i64 4)
  %132 = extractvalue { i64, i1 } %131, 1
  %133 = extractvalue { i64, i1 } %131, 0
  %134 = select i1 %132, i64 -1, i64 %133
  %135 = call noalias noundef nonnull ptr @_Znam(i64 noundef %134) #7
  %136 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 36
  store ptr %135, ptr %136, align 8, !tbaa !57
  %137 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 9
  %138 = load i32, ptr %137, align 4, !tbaa !49
  %139 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 8
  %140 = load i32, ptr %139, align 8, !tbaa !43
  %141 = mul i32 %138, %140
  %142 = zext i32 %141 to i64
  %143 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %142, i64 4)
  %144 = extractvalue { i64, i1 } %143, 1
  %145 = extractvalue { i64, i1 } %143, 0
  %146 = select i1 %144, i64 -1, i64 %145
  %147 = call noalias noundef nonnull ptr @_Znam(i64 noundef %146) #7
  %148 = getelementptr inbounds %class.SparseSDMemory, ptr %13, i32 0, i32 37
  store ptr %147, ptr %148, align 8, !tbaa !58
  ret void
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

attributes #0 = { noreturn 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 #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" }
attributes #2 = { 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 #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nobuiltin allocsize(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 #6 = { noreturn nounwind }
attributes #7 = { builtin allocsize(0) }

!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 = !{!"_ZTS14SparseSDMemory", !13, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !15, i64 72, !15, i64 76, !10, i64 80, !15, i64 84, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !6, i64 120, !19, i64 128, !20, i64 136, !24, i64 160, !28, i64 184, !15, i64 208, !15, i64 212, !15, i64 216, !15, i64 220, !15, i64 224, !15, i64 228, !6, i64 232, !32, i64 240, !32, i64 264, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !15, i64 352, !15, i64 356, !15, i64 360, !15, i64 364, !15, i64 368, !36, i64 372, !36, i64 373, !36, i64 374, !36, i64 375, !36, i64 376, !36, i64 377, !36, i64 378, !36, i64 379, !15, i64 380, !15, i64 384, !15, i64 388, !15, i64 392, !15, i64 396, !15, i64 400, !28, i64 408, !15, i64 432, !37, i64 440}
!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 = !{!"_ZTS23SparsityControllerState", !7, i64 0}
!20 = !{!"_ZTSSt6vectorI8SparseVNSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseI8SparseVNSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorIjSaIjEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt6vectorIP10ConnectionSaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIP10ConnectionSaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorIP4FifoSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIP4FifoSaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"bool", !7, i64 0}
!37 = !{!"_ZTS13SDMemoryStats", !38, 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, !24, i64 56, !24, i64 80, !24, i64 104, !24, i64 128}
!38 = !{!"_ZTS5Stats"}
!39 = !{!12, !10, i64 80}
!40 = !{!12, !6, i64 304}
!41 = !{!12, !36, i64 379}
!42 = !{!12, !15, i64 72}
!43 = !{!12, !15, i64 88}
!44 = !{!12, !15, i64 76}
!45 = !{!12, !10, i64 488}
!46 = !{!12, !6, i64 288}
!47 = !{!12, !15, i64 84}
!48 = !{!12, !6, i64 296}
!49 = !{!12, !15, i64 92}
!50 = !{!12, !15, i64 96}
!51 = !{!12, !15, i64 100}
!52 = !{!12, !15, i64 104}
!53 = !{!12, !15, i64 108}
!54 = !{!12, !15, i64 112}
!55 = !{!12, !15, i64 116}
!56 = !{!12, !15, i64 384}
!57 = !{!12, !6, i64 336}
!58 = !{!12, !6, i64 344}


; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1
@__PRETTY_FUNCTION__._ZN14SparseSDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow = external hidden unnamed_addr constant [93 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14SparseSDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow(ptr nocapture noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) unnamed_addr #1 align 2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %1, ptr %7, align 8, !tbaa !5
  %8 = tail call noundef i32 @_ZNK8DNNLayer14get_layer_typeEv(ptr noundef nonnull align 8 dereferenceable(84) %1)
  %9 = icmp eq i32 %8, 3
  br i1 %9, label %11, label %10

10:                                               ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 83, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14SparseSDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow) #5
  unreachable

11:                                               ; preds = %6
  %12 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 %5, ptr %12, align 8, !tbaa !37
  %13 = getelementptr inbounds i8, ptr %0, i64 304
  store ptr %4, ptr %13, align 8, !tbaa !38
  %14 = getelementptr inbounds i8, ptr %0, i64 379
  store i8 1, ptr %14, align 1, !tbaa !39
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = tail call noundef i32 @_ZNK8DNNLayer5get_KEv(ptr noundef nonnull align 8 dereferenceable(84) %15)
  %17 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 %16, ptr %17, align 8, !tbaa !40
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = tail call noundef i32 @_ZNK8DNNLayer5get_SEv(ptr noundef nonnull align 8 dereferenceable(84) %18)
  %20 = getelementptr inbounds i8, ptr %0, i64 88
  store i32 %19, ptr %20, align 8, !tbaa !41
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = tail call noundef i32 @_ZNK8DNNLayer5get_XEv(ptr noundef nonnull align 8 dereferenceable(84) %21)
  %23 = getelementptr inbounds i8, ptr %0, i64 76
  store i32 %22, ptr %23, align 4, !tbaa !42
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %25 = load i32, ptr %17, align 8, !tbaa !40
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %24, i32 noundef %25)
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %28 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
  %29 = load i32, ptr %23, align 4, !tbaa !42
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %28, i32 noundef %29)
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %32 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  %33 = load i32, ptr %20, align 8, !tbaa !41
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %33)
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %36 = getelementptr inbounds i8, ptr %0, i64 488
  store i32 %5, ptr %36, align 8, !tbaa !43
  switch i32 %5, label %63 [
    i32 1, label %37
    i32 2, label %50
  ]

37:                                               ; preds = %11
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %40 = getelementptr inbounds i8, ptr %0, i64 288
  store ptr %2, ptr %40, align 8, !tbaa !44
  %41 = load i32, ptr %17, align 8, !tbaa !40
  %42 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 %41, ptr %42, align 4, !tbaa !45
  %43 = getelementptr inbounds i8, ptr %0, i64 296
  store ptr %3, ptr %43, align 8, !tbaa !46
  %44 = load i32, ptr %23, align 4, !tbaa !42
  %45 = getelementptr inbounds i8, ptr %0, i64 92
  store i32 %44, ptr %45, align 4, !tbaa !47
  %46 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 1, ptr %46, align 8, !tbaa !48
  %47 = load i32, ptr %20, align 8, !tbaa !41
  %48 = getelementptr inbounds i8, ptr %0, i64 100
  store i32 %47, ptr %48, align 4, !tbaa !49
  %49 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 %44, ptr %49, align 8, !tbaa !50
  br label %66

50:                                               ; preds = %11
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
  %52 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %53 = getelementptr inbounds i8, ptr %0, i64 288
  store ptr %3, ptr %53, align 8, !tbaa !44
  %54 = load i32, ptr %23, align 4, !tbaa !42
  %55 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 %54, ptr %55, align 4, !tbaa !45
  %56 = getelementptr inbounds i8, ptr %0, i64 296
  store ptr %2, ptr %56, align 8, !tbaa !46
  %57 = load i32, ptr %17, align 8, !tbaa !40
  %58 = getelementptr inbounds i8, ptr %0, i64 92
  store i32 %57, ptr %58, align 4, !tbaa !47
  %59 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %54, ptr %59, align 8, !tbaa !48
  %60 = getelementptr inbounds i8, ptr %0, i64 100
  store i32 1, ptr %60, align 4, !tbaa !49
  %61 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 1, ptr %61, align 8, !tbaa !50
  %62 = load i32, ptr %20, align 8, !tbaa !41
  br label %66

63:                                               ; preds = %11
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
  %65 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 143, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14SparseSDMemory8setLayerEP8DNNLayerPfS2_S2_8Dataflow) #5
  unreachable

66:                                               ; preds = %50, %37
  %.sink13 = phi i32 [ %62, %50 ], [ 1, %37 ]
  %.sink11 = phi i32 [ 1, %50 ], [ %44, %37 ]
  %.sink = phi i32 [ %54, %50 ], [ 1, %37 ]
  %67 = phi i32 [ %62, %50 ], [ %47, %37 ]
  %68 = phi i32 [ %57, %50 ], [ %44, %37 ]
  %69 = phi i32 [ %54, %50 ], [ %41, %37 ]
  %70 = getelementptr inbounds i8, ptr %0, i64 108
  store i32 %.sink13, ptr %70, align 4, !tbaa !51
  %71 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 %.sink11, ptr %71, align 8, !tbaa !52
  %72 = getelementptr inbounds i8, ptr %0, i64 116
  store i32 %.sink, ptr %72, align 4, !tbaa !53
  %73 = mul i32 %68, %69
  %74 = getelementptr inbounds i8, ptr %0, i64 384
  store i32 %73, ptr %74, align 8, !tbaa !54
  %75 = mul i32 %67, %69
  %76 = zext i32 %75 to i64
  %77 = shl nuw nsw i64 %76, 2
  %78 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %77) #6
  %79 = getelementptr inbounds i8, ptr %0, i64 336
  store ptr %78, ptr %79, align 8, !tbaa !55
  %80 = mul i32 %67, %68
  %81 = zext i32 %80 to i64
  %82 = shl nuw nsw i64 %81, 2
  %83 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %82) #6
  %84 = getelementptr inbounds i8, ptr %0, i64 344
  store ptr %83, ptr %84, align 8, !tbaa !56
  ret void
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #4

attributes #0 = { noreturn 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 #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" }
attributes #2 = { 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 #3 = { 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 #4 = { nobuiltin allocsize(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 = { noreturn nounwind }
attributes #6 = { builtin allocsize(0) }

!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 = !{!"_ZTS14SparseSDMemory", !7, i64 0, !14, i64 48, !14, i64 56, !14, i64 64, !9, i64 72, !9, i64 76, !16, i64 80, !9, i64 84, !9, i64 88, !9, i64 92, !9, i64 96, !9, i64 100, !9, i64 104, !9, i64 108, !9, i64 112, !9, i64 116, !14, i64 120, !17, i64 128, !18, i64 136, !22, i64 160, !26, i64 184, !9, i64 208, !9, i64 212, !9, i64 216, !9, i64 220, !9, i64 224, !9, i64 228, !14, i64 232, !30, i64 240, !30, i64 264, !14, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !14, i64 320, !14, i64 328, !14, i64 336, !14, i64 344, !9, i64 352, !9, i64 356, !9, i64 360, !9, i64 364, !9, i64 368, !34, i64 372, !34, i64 373, !34, i64 374, !34, i64 375, !34, i64 376, !34, i64 377, !34, i64 378, !34, i64 379, !9, i64 380, !9, i64 384, !9, i64 388, !9, i64 392, !9, i64 396, !9, i64 400, !26, i64 408, !9, i64 432, !35, i64 440}
!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 = !{!"_ZTS8Dataflow", !10, i64 0}
!17 = !{!"_ZTS23SparsityControllerState", !10, i64 0}
!18 = !{!"_ZTSSt6vectorI8SparseVNSaIS0_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseI8SparseVNSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!22 = !{!"_ZTSSt6vectorIjSaIjEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!26 = !{!"_ZTSSt6vectorIP10ConnectionSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIP10ConnectionSaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP10ConnectionSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!30 = !{!"_ZTSSt6vectorIP4FifoSaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIP4FifoSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP4FifoSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!34 = !{!"bool", !10, i64 0}
!35 = !{!"_ZTS13SDMemoryStats", !36, 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, !16, i64 48, !22, i64 56, !22, i64 80, !22, i64 104, !22, i64 128}
!36 = !{!"_ZTS5Stats"}
!37 = !{!6, !16, i64 80}
!38 = !{!6, !14, i64 304}
!39 = !{!6, !34, i64 379}
!40 = !{!6, !9, i64 72}
!41 = !{!6, !9, i64 88}
!42 = !{!6, !9, i64 76}
!43 = !{!6, !16, i64 488}
!44 = !{!6, !14, i64 288}
!45 = !{!6, !9, i64 84}
!46 = !{!6, !14, i64 296}
!47 = !{!6, !9, i64 92}
!48 = !{!6, !9, i64 96}
!49 = !{!6, !9, i64 100}
!50 = !{!6, !9, i64 104}
!51 = !{!6, !9, i64 108}
!52 = !{!6, !9, i64 112}
!53 = !{!6, !9, i64 116}
!54 = !{!6, !9, i64 384}
!55 = !{!6, !14, i64 336}
!56 = !{!6, !14, i64 344}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass