; LLVM IR from stonne-simulator/omega :: omega-code/stonne/stonne_linker_src (stonne_linker)

; 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] }

@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1

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

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

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

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

; 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 #3 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 #4 align 2

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

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

declare void @_ZN6StonneC1E6Config(ptr noundef nonnull align 8 dereferenceable(316), ptr noundef byval(%class.Config) align 8) unnamed_addr #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #7

declare void @_ZN6Stonne3runEv(ptr noundef nonnull align 8 dereferenceable(316)) #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #7

; Function Attrs: nounwind
declare void @_ZN6StonneD1Ev(ptr noundef nonnull align 8 dereferenceable(316)) unnamed_addr #8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z25simulateSparseGemmForwardNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPfS5_S5_iiiiif6Config8Dataflow(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, float noundef %9, ptr noundef byval(%class.Config) align 8 %10, i32 noundef %11) #3 personality ptr @__gxx_personality_v0 {
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca float, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca ptr, align 8
  %53 = alloca ptr, align 8
  %54 = alloca %class.Config, align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store ptr %2, ptr %15, align 8, !tbaa !5
  store ptr %3, ptr %16, align 8, !tbaa !5
  store i32 %4, ptr %17, align 4, !tbaa !9
  store i32 %5, ptr %18, align 4, !tbaa !9
  store i32 %6, ptr %19, align 4, !tbaa !9
  store i32 %7, ptr %20, align 4, !tbaa !9
  store i32 %8, ptr %21, align 4, !tbaa !9
  store float %9, ptr %22, align 4, !tbaa !11
  store i32 %11, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #11
  %56 = load i32, ptr %19, align 4, !tbaa !9
  %57 = load i32, ptr %18, align 4, !tbaa !9
  %58 = sdiv i32 %56, %57
  store i32 %58, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #11
  %59 = load i32, ptr %20, align 4, !tbaa !9
  %60 = load i32, ptr %18, align 4, !tbaa !9
  %61 = sdiv i32 %59, %60
  store i32 %61, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #11
  %62 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %62, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #11
  %63 = load i32, ptr %24, align 4, !tbaa !9
  %64 = load i32, ptr %25, align 4, !tbaa !9
  %65 = mul nsw i32 %63, %64
  store i32 %65, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #11
  %66 = load i32, ptr %25, align 4, !tbaa !9
  %67 = load i32, ptr %26, align 4, !tbaa !9
  %68 = mul nsw i32 %66, %67
  store i32 %68, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #11
  %69 = load i32, ptr %24, align 4, !tbaa !9
  %70 = load i32, ptr %26, align 4, !tbaa !9
  %71 = mul nsw i32 %69, %70
  store i32 %71, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #11
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %331, %12
  %73 = load i32, ptr %30, align 4, !tbaa !9
  %74 = load i32, ptr %17, align 4, !tbaa !9
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  store i32 2, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #11
  br label %335

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #11
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %33, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.3)
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #11
  %78 = load i32, ptr %30, align 4, !tbaa !9
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %34, i32 noundef %78) #11
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %79 unwind label %85

79:                                               ; preds = %77
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #11
  store i32 0, ptr %37, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %287, %79
  %81 = load i32, ptr %37, align 4, !tbaa !9
  %82 = load i32, ptr %18, align 4, !tbaa !9
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %89, label %84

84:                                               ; preds = %80
  store i32 5, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #11
  br label %330

85:                                               ; preds = %77
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %35, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %36, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #11
  br label %334

89:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #11
  %90 = load i32, ptr %37, align 4, !tbaa !9
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %40, i32 noundef %90) #11
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %39, ptr noundef @.str.4, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %91 unwind label %132

91:                                               ; preds = %89
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %38, ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %92 unwind label %136

92:                                               ; preds = %91
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #11
  %93 = load ptr, ptr %15, align 8, !tbaa !5
  %94 = load i32, ptr %27, align 4, !tbaa !9
  %95 = load i32, ptr %37, align 4, !tbaa !9
  %96 = mul nsw i32 %94, %95
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds float, ptr %93, i64 %97
  store ptr %98, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #11
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load i32, ptr %28, align 4, !tbaa !9
  %101 = load i32, ptr %37, align 4, !tbaa !9
  %102 = mul nsw i32 %100, %101
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds float, ptr %99, i64 %103
  store ptr %104, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #11
  %105 = load i32, ptr %23, align 4, !tbaa !13
  %106 = icmp eq i32 %105, 1
  br i1 %106, label %107, label %159

107:                                              ; preds = %92
  %108 = load i32, ptr %25, align 4, !tbaa !9
  %109 = load i32, ptr %26, align 4, !tbaa !9
  %110 = mul nsw i32 %108, %109
  %111 = sext i32 %110 to i64
  %112 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %111, i64 4)
  %113 = extractvalue { i64, i1 } %112, 1
  %114 = extractvalue { i64, i1 } %112, 0
  %115 = select i1 %113, i64 -1, i64 %114
  %116 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %115) #12
          to label %117 unwind label %141

117:                                              ; preds = %107
  store ptr %116, ptr %44, align 8, !tbaa !5
  %118 = load ptr, ptr %41, align 8, !tbaa !5
  %119 = load i32, ptr %24, align 4, !tbaa !9
  %120 = load i32, ptr %25, align 4, !tbaa !9
  %121 = mul nsw i32 %119, %120
  %122 = load float, ptr %22, align 4, !tbaa !11
  %123 = invoke noundef ptr @_Z21generatePrunnedMatrixPKfjf(ptr noundef %118, i32 noundef %121, float noundef %122)
          to label %124 unwind label %141

124:                                              ; preds = %117
  store ptr %123, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #11
  store i32 0, ptr %45, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %155, %124
  %126 = load i32, ptr %45, align 4, !tbaa !9
  %127 = load i32, ptr %26, align 4, !tbaa !9
  %128 = load i32, ptr %25, align 4, !tbaa !9
  %129 = mul nsw i32 %127, %128
  %130 = icmp slt i32 %126, %129
  br i1 %130, label %145, label %131

131:                                              ; preds = %125
  store i32 8, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #11
  br label %158

132:                                              ; preds = %89
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %35, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %36, align 4
  br label %140

136:                                              ; preds = %91
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %35, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %36, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #11
  br label %140

140:                                              ; preds = %136, %132
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #11
  br label %329

141:                                              ; preds = %169, %159, %117, %107
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %35, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %36, align 4
  br label %328

145:                                              ; preds = %125
  %146 = load ptr, ptr %42, align 8, !tbaa !5
  %147 = load i32, ptr %45, align 4, !tbaa !9
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds float, ptr %146, i64 %148
  %150 = load float, ptr %149, align 4, !tbaa !11
  %151 = load ptr, ptr %44, align 8, !tbaa !5
  %152 = load i32, ptr %45, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds float, ptr %151, i64 %153
  store float %150, ptr %154, align 4, !tbaa !11
  br label %155

155:                                              ; preds = %145
  %156 = load i32, ptr %45, align 4, !tbaa !9
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %45, align 4, !tbaa !9
  br label %125, !llvm.loop !15

158:                                              ; preds = %131
  br label %198

159:                                              ; preds = %92
  %160 = load i32, ptr %24, align 4, !tbaa !9
  %161 = load i32, ptr %25, align 4, !tbaa !9
  %162 = mul nsw i32 %160, %161
  %163 = sext i32 %162 to i64
  %164 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %163, i64 4)
  %165 = extractvalue { i64, i1 } %164, 1
  %166 = extractvalue { i64, i1 } %164, 0
  %167 = select i1 %165, i64 -1, i64 %166
  %168 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %167) #12
          to label %169 unwind label %141

169:                                              ; preds = %159
  store ptr %168, ptr %43, align 8, !tbaa !5
  %170 = load ptr, ptr %42, align 8, !tbaa !5
  %171 = load i32, ptr %25, align 4, !tbaa !9
  %172 = load i32, ptr %26, align 4, !tbaa !9
  %173 = mul nsw i32 %171, %172
  %174 = load float, ptr %22, align 4, !tbaa !11
  %175 = invoke noundef ptr @_Z21generatePrunnedMatrixPKfjf(ptr noundef %170, i32 noundef %173, float noundef %174)
          to label %176 unwind label %141

176:                                              ; preds = %169
  store ptr %175, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #11
  store i32 0, ptr %46, align 4, !tbaa !9
  br label %177

177:                                              ; preds = %194, %176
  %178 = load i32, ptr %46, align 4, !tbaa !9
  %179 = load i32, ptr %24, align 4, !tbaa !9
  %180 = load i32, ptr %25, align 4, !tbaa !9
  %181 = mul nsw i32 %179, %180
  %182 = icmp slt i32 %178, %181
  br i1 %182, label %184, label %183

183:                                              ; preds = %177
  store i32 11, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #11
  br label %197

184:                                              ; preds = %177
  %185 = load ptr, ptr %41, align 8, !tbaa !5
  %186 = load i32, ptr %46, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds float, ptr %185, i64 %187
  %189 = load float, ptr %188, align 4, !tbaa !11
  %190 = load ptr, ptr %43, align 8, !tbaa !5
  %191 = load i32, ptr %46, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds float, ptr %190, i64 %192
  store float %189, ptr %193, align 4, !tbaa !11
  br label %194

194:                                              ; preds = %184
  %195 = load i32, ptr %46, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %46, align 4, !tbaa !9
  br label %177, !llvm.loop !17

197:                                              ; preds = %183
  br label %198

198:                                              ; preds = %197, %158
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #11
  %199 = load ptr, ptr %16, align 8, !tbaa !5
  %200 = load i32, ptr %29, align 4, !tbaa !9
  %201 = load i32, ptr %37, align 4, !tbaa !9
  %202 = mul nsw i32 %200, %201
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds float, ptr %199, i64 %203
  store ptr %204, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #11
  %205 = load i32, ptr %24, align 4, !tbaa !9
  %206 = load i32, ptr %26, align 4, !tbaa !9
  %207 = mul nsw i32 %205, %206
  %208 = sext i32 %207 to i64
  %209 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %208, i64 4)
  %210 = extractvalue { i64, i1 } %209, 1
  %211 = extractvalue { i64, i1 } %209, 0
  %212 = select i1 %210, i64 -1, i64 %211
  %213 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %212) #12
          to label %214 unwind label %290

214:                                              ; preds = %198
  store ptr %213, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #11
  %215 = load ptr, ptr %43, align 8, !tbaa !5
  %216 = load i32, ptr %24, align 4, !tbaa !9
  %217 = load i32, ptr %25, align 4, !tbaa !9
  %218 = invoke noundef ptr @_Z23generateBitMapFromDensePfjj15GENERATION_TYPE(ptr noundef %215, i32 noundef %216, i32 noundef %217, i32 noundef 0)
          to label %219 unwind label %294

219:                                              ; preds = %214
  store ptr %218, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #11
  %220 = load ptr, ptr %44, align 8, !tbaa !5
  %221 = load i32, ptr %25, align 4, !tbaa !9
  %222 = load i32, ptr %26, align 4, !tbaa !9
  %223 = invoke noundef ptr @_Z23generateBitMapFromDensePfjj15GENERATION_TYPE(ptr noundef %220, i32 noundef %221, i32 noundef %222, i32 noundef 1)
          to label %224 unwind label %298

224:                                              ; preds = %219
  store ptr %223, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #11
  %225 = load ptr, ptr %43, align 8, !tbaa !5
  %226 = load ptr, ptr %49, align 8, !tbaa !5
  %227 = load i32, ptr %24, align 4, !tbaa !9
  %228 = load i32, ptr %25, align 4, !tbaa !9
  %229 = invoke noundef ptr @_Z29generateMatrixSparseFromDensePfPjjj15GENERATION_TYPE(ptr noundef %225, ptr noundef %226, i32 noundef %227, i32 noundef %228, i32 noundef 0)
          to label %230 unwind label %302

230:                                              ; preds = %224
  store ptr %229, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #11
  %231 = load ptr, ptr %44, align 8, !tbaa !5
  %232 = load ptr, ptr %50, align 8, !tbaa !5
  %233 = load i32, ptr %25, align 4, !tbaa !9
  %234 = load i32, ptr %26, align 4, !tbaa !9
  %235 = invoke noundef ptr @_Z29generateMatrixSparseFromDensePfPjjj15GENERATION_TYPE(ptr noundef %231, ptr noundef %232, i32 noundef %233, i32 noundef %234, i32 noundef 1)
          to label %236 unwind label %306

236:                                              ; preds = %230
  store ptr %235, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #11
  %237 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 320) #12
          to label %238 unwind label %310

238:                                              ; preds = %236
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 8 %10, i64 160, i1 false), !tbaa.struct !18
  invoke void @_ZN6StonneC1E6Config(ptr noundef nonnull align 8 dereferenceable(316) %237, ptr noundef byval(%class.Config) align 8 %54)
          to label %239 unwind label %314

239:                                              ; preds = %238
  store ptr %237, ptr %53, align 8, !tbaa !5
  %240 = load ptr, ptr %53, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %241 unwind label %310

241:                                              ; preds = %239
  %242 = load i32, ptr %26, align 4, !tbaa !9
  %243 = load i32, ptr %25, align 4, !tbaa !9
  %244 = load i32, ptr %24, align 4, !tbaa !9
  %245 = load ptr, ptr %51, align 8, !tbaa !5
  %246 = load ptr, ptr %52, align 8, !tbaa !5
  %247 = load ptr, ptr %49, align 8, !tbaa !5
  %248 = load ptr, ptr %50, align 8, !tbaa !5
  %249 = load ptr, ptr %47, align 8, !tbaa !5
  %250 = load ptr, ptr %48, align 8, !tbaa !5
  %251 = load i32, ptr %23, align 4, !tbaa !13
  invoke void @_ZN6Stonne8loadGEMMENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjjjPfS6_PjS7_S6_S7_8Dataflow(ptr noundef nonnull align 8 dereferenceable(316) %240, ptr noundef %55, i32 noundef %242, i32 noundef %243, i32 noundef %244, ptr noundef %245, ptr noundef %246, ptr noundef %247, ptr noundef %248, ptr noundef %249, ptr noundef %250, i32 noundef %251)
          to label %252 unwind label %318

252:                                              ; preds = %241
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #11
  %253 = load ptr, ptr %53, align 8, !tbaa !5
  invoke void @_ZN6Stonne3runEv(ptr noundef nonnull align 8 dereferenceable(316) %253)
          to label %254 unwind label %310

254:                                              ; preds = %252
  %255 = load ptr, ptr %49, align 8, !tbaa !5
  %256 = icmp eq ptr %255, null
  br i1 %256, label %258, label %257

257:                                              ; preds = %254
  call void @_ZdaPv(ptr noundef %255) #13
  br label %258

258:                                              ; preds = %257, %254
  %259 = load ptr, ptr %50, align 8, !tbaa !5
  %260 = icmp eq ptr %259, null
  br i1 %260, label %262, label %261

261:                                              ; preds = %258
  call void @_ZdaPv(ptr noundef %259) #13
  br label %262

262:                                              ; preds = %261, %258
  %263 = load ptr, ptr %43, align 8, !tbaa !5
  %264 = icmp eq ptr %263, null
  br i1 %264, label %266, label %265

265:                                              ; preds = %262
  call void @_ZdaPv(ptr noundef %263) #13
  br label %266

266:                                              ; preds = %265, %262
  %267 = load ptr, ptr %44, align 8, !tbaa !5
  %268 = icmp eq ptr %267, null
  br i1 %268, label %270, label %269

269:                                              ; preds = %266
  call void @_ZdaPv(ptr noundef %267) #13
  br label %270

270:                                              ; preds = %269, %266
  %271 = load ptr, ptr %51, align 8, !tbaa !5
  %272 = icmp eq ptr %271, null
  br i1 %272, label %274, label %273

273:                                              ; preds = %270
  call void @_ZdaPv(ptr noundef %271) #13
  br label %274

274:                                              ; preds = %273, %270
  %275 = load ptr, ptr %52, align 8, !tbaa !5
  %276 = icmp eq ptr %275, null
  br i1 %276, label %278, label %277

277:                                              ; preds = %274
  call void @_ZdaPv(ptr noundef %275) #13
  br label %278

278:                                              ; preds = %277, %274
  %279 = load ptr, ptr %48, align 8, !tbaa !5
  %280 = icmp eq ptr %279, null
  br i1 %280, label %282, label %281

281:                                              ; preds = %278
  call void @_ZdaPv(ptr noundef %279) #13
  br label %282

282:                                              ; preds = %281, %278
  %283 = load ptr, ptr %53, align 8, !tbaa !5
  %284 = icmp eq ptr %283, null
  br i1 %284, label %286, label %285

285:                                              ; preds = %282
  call void @_ZN6StonneD1Ev(ptr noundef nonnull align 8 dereferenceable(316) %283) #11
  call void @_ZdlPvm(ptr noundef %283, i64 noundef 320) #13
  br label %286

286:                                              ; preds = %285, %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #11
  br label %287

287:                                              ; preds = %286
  %288 = load i32, ptr %37, align 4, !tbaa !9
  %289 = add nsw i32 %288, 1
  store i32 %289, ptr %37, align 4, !tbaa !9
  br label %80, !llvm.loop !27

290:                                              ; preds = %198
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %35, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %36, align 4
  br label %327

294:                                              ; preds = %214
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %35, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %36, align 4
  br label %326

298:                                              ; preds = %219
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %35, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %36, align 4
  br label %325

302:                                              ; preds = %224
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %35, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %36, align 4
  br label %324

306:                                              ; preds = %230
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %35, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %36, align 4
  br label %323

310:                                              ; preds = %252, %239, %236
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %35, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %36, align 4
  br label %322

314:                                              ; preds = %238
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %35, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %36, align 4
  call void @_ZdlPvm(ptr noundef %237, i64 noundef 320) #13
  br label %322

318:                                              ; preds = %241
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %35, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %36, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #11
  br label %322

322:                                              ; preds = %318, %314, %310
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  br label %323

323:                                              ; preds = %322, %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  br label %324

324:                                              ; preds = %323, %302
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #11
  br label %325

325:                                              ; preds = %324, %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #11
  br label %326

326:                                              ; preds = %325, %294
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #11
  br label %327

327:                                              ; preds = %326, %290
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  br label %328

328:                                              ; preds = %327, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #11
  br label %329

329:                                              ; preds = %328, %140
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  br label %334

330:                                              ; preds = %84
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #11
  br label %331

331:                                              ; preds = %330
  %332 = load i32, ptr %30, align 4, !tbaa !9
  %333 = add nsw i32 %332, 1
  store i32 %333, ptr %30, align 4, !tbaa !9
  br label %72, !llvm.loop !28

334:                                              ; preds = %329, %85
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %336

335:                                              ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  ret void

336:                                              ; preds = %334
  %337 = load ptr, ptr %35, align 8
  %338 = load i32, ptr %36, align 4
  %339 = insertvalue { ptr, i32 } poison, ptr %337, 0
  %340 = insertvalue { ptr, i32 } %339, i32 %338, 1
  resume { ptr, i32 } %340
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #9

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #10

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #9

declare noundef ptr @_Z21generatePrunnedMatrixPKfjf(ptr noundef, i32 noundef, float noundef) #6

declare noundef ptr @_Z23generateBitMapFromDensePfjj15GENERATION_TYPE(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #6

declare noundef ptr @_Z29generateMatrixSparseFromDensePfPjjj15GENERATION_TYPE(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #6

declare void @_ZN6Stonne8loadGEMMENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjjjPfS6_PjS7_S6_S7_8Dataflow(ptr noundef nonnull align 8 dereferenceable(316), ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { 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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin 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 #8 = { 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 #9 = { 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 #10 = { 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 #11 = { nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin 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 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTS8Dataflow", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 4, !9, i64 20, i64 4, !9, i64 24, i64 4, !19, i64 28, i64 4, !9, i64 32, i64 4, !9, i64 36, i64 4, !9, i64 40, i64 4, !9, i64 44, i64 4, !9, i64 48, i64 4, !9, i64 52, i64 4, !9, i64 56, i64 4, !9, i64 60, i64 4, !9, i64 64, i64 4, !21, i64 68, i64 4, !9, i64 72, i64 4, !9, i64 76, i64 4, !9, i64 80, i64 4, !9, i64 84, i64 4, !9, i64 88, i64 4, !9, i64 92, i64 4, !9, i64 96, i64 4, !9, i64 100, i64 4, !9, i64 104, i64 4, !23, i64 108, i64 4, !9, i64 112, i64 4, !9, i64 116, i64 4, !9, i64 120, i64 4, !9, i64 124, i64 4, !9, i64 128, i64 4, !9, i64 132, i64 4, !25, i64 136, i64 4, !9, i64 140, i64 4, !9, i64 144, i64 4, !9, i64 148, i64 4, !9, i64 152, i64 4, !9, i64 156, i64 4, !9}
!19 = !{!20, !20, i64 0}
!20 = !{!"_ZTS19MultiplierNetwork_t", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTS15ReduceNetwork_t", !7, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"_ZTS18MemoryController_t", !7, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"_ZTS17MemoryHierarchy_t", !7, i64 0}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}


; 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] }

@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1

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

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

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

; 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 #2 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 #3 align 2

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

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

declare void @_ZN6StonneC1E6Config(ptr noundef nonnull align 8 dereferenceable(316), ptr noundef byval(%class.Config) align 8) unnamed_addr #5

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #6

declare void @_ZN6Stonne3runEv(ptr noundef nonnull align 8 dereferenceable(316)) local_unnamed_addr #5

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN6StonneD1Ev(ptr noundef nonnull align 8 dereferenceable(316)) unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local void @_Z25simulateSparseGemmForwardNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPfS5_S5_iiiiif6Config8Dataflow(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, float noundef %9, ptr nocapture noundef readonly byval(%class.Config) align 8 %10, i32 noundef %11) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = sdiv i32 %6, %5
  %21 = sdiv i32 %7, %5
  %22 = mul i32 %21, %20
  %23 = mul i32 %21, %8
  %24 = mul nsw i32 %20, %8
  %25 = icmp sgt i32 %4, 0
  br i1 %25, label %.lr.ph135, label %._crit_edge136

.lr.ph135:                                        ; preds = %12
  %26 = icmp sgt i32 %5, 0
  %27 = icmp eq i32 %11, 1
  %28 = zext i32 %22 to i64
  %29 = icmp slt i32 %22, 0
  %30 = shl nuw nsw i64 %28, 2
  %31 = select i1 %29, i64 -1, i64 %30
  %32 = icmp sgt i32 %22, 0
  %33 = zext i32 %23 to i64
  %34 = icmp slt i32 %23, 0
  %35 = shl nuw nsw i64 %33, 2
  %36 = select i1 %34, i64 -1, i64 %35
  %37 = icmp sgt i32 %23, 0
  %38 = zext nneg i32 %24 to i64
  %39 = icmp slt i32 %24, 0
  %40 = shl nuw nsw i64 %38, 2
  %41 = select i1 %39, i64 -1, i64 %40
  br i1 %26, label %.lr.ph135.split.us.preheader, label %.lr.ph135.split

.lr.ph135.split.us.preheader:                     ; preds = %.lr.ph135
  %42 = sext i32 %22 to i64
  %43 = sext i32 %23 to i64
  %44 = sext i32 %24 to i64
  %wide.trip.count = zext nneg i32 %5 to i64
  br label %.lr.ph135.split.us

.lr.ph135.split.us:                               ; preds = %.lr.ph135.split.us.preheader, %._crit_edge.us
  %.0133.us = phi i32 [ %103, %._crit_edge.us ], [ 0, %.lr.ph135.split.us.preheader ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #10
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #10
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, i32 noundef %.0133.us) #10
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %.lr.ph132.us unwind label %.split.us

.lr.ph132.us:                                     ; preds = %.lr.ph135.split.us
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #10
  br label %45

45:                                               ; preds = %.lr.ph132.us, %102
  %indvars.iv = phi i64 [ 0, %.lr.ph132.us ], [ %indvars.iv.next, %102 ]
  %46 = trunc nuw nsw i64 %indvars.iv to i32
  %47 = mul i32 %23, %46
  %48 = sext i32 %47 to i64
  %49 = shl nsw i64 %48, 2
  %scevgep176 = getelementptr i8, ptr %1, i64 %49
  %50 = mul i32 %22, %46
  %51 = sext i32 %50 to i64
  %52 = shl nsw i64 %51, 2
  %scevgep = getelementptr i8, ptr %2, i64 %52
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #10
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %18, i32 noundef %46) #10
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull @.str.4, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %53 unwind label %.split138.us

53:                                               ; preds = %45
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %54 unwind label %.split141.us

54:                                               ; preds = %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #10
  %55 = mul nsw i64 %indvars.iv, %42
  %56 = getelementptr inbounds float, ptr %2, i64 %55
  %57 = mul nsw i64 %indvars.iv, %43
  %58 = getelementptr inbounds float, ptr %1, i64 %57
  br i1 %27, label %63, label %59

59:                                               ; preds = %54
  %60 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %31) #11
          to label %61 unwind label %.split144.us

61:                                               ; preds = %59
  %62 = invoke noundef ptr @_Z21generatePrunnedMatrixPKfjf(ptr noundef %58, i32 noundef %23, float noundef %9)
          to label %.preheader125.us unwind label %.split144.us

63:                                               ; preds = %54
  %64 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %36) #11
          to label %65 unwind label %.split144.us

65:                                               ; preds = %63
  %66 = invoke noundef ptr @_Z21generatePrunnedMatrixPKfjf(ptr noundef %56, i32 noundef %22, float noundef %9)
          to label %.preheader.us unwind label %.split144.us

.loopexit.us:                                     ; preds = %.lr.ph.us.preheader, %.lr.ph130.us.preheader, %.preheader125.us, %.preheader.us
  %.0107.us = phi ptr [ %64, %.preheader.us ], [ %62, %.preheader125.us ], [ %64, %.lr.ph130.us.preheader ], [ %62, %.lr.ph.us.preheader ]
  %.0106.us = phi ptr [ %66, %.preheader.us ], [ %60, %.preheader125.us ], [ %66, %.lr.ph130.us.preheader ], [ %60, %.lr.ph.us.preheader ]
  %67 = mul nsw i64 %indvars.iv, %44
  %68 = getelementptr inbounds float, ptr %3, i64 %67
  %69 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %41) #11
          to label %70 unwind label %.split147.us

70:                                               ; preds = %.loopexit.us
  %71 = invoke noundef ptr @_Z23generateBitMapFromDensePfjj15GENERATION_TYPE(ptr noundef %.0106.us, i32 noundef %20, i32 noundef %21, i32 noundef 0)
          to label %72 unwind label %.split150.us

72:                                               ; preds = %70
  %73 = invoke noundef ptr @_Z23generateBitMapFromDensePfjj15GENERATION_TYPE(ptr noundef %.0107.us, i32 noundef %21, i32 noundef %8, i32 noundef 1)
          to label %74 unwind label %.split153.us

74:                                               ; preds = %72
  %75 = invoke noundef ptr @_Z29generateMatrixSparseFromDensePfPjjj15GENERATION_TYPE(ptr noundef %.0106.us, ptr noundef %71, i32 noundef %20, i32 noundef %21, i32 noundef 0)
          to label %76 unwind label %.split156.us

76:                                               ; preds = %74
  %77 = invoke noundef ptr @_Z29generateMatrixSparseFromDensePfPjjj15GENERATION_TYPE(ptr noundef %.0107.us, ptr noundef %73, i32 noundef %21, i32 noundef %8, i32 noundef 1)
          to label %78 unwind label %.split159.us

78:                                               ; preds = %76
  %79 = invoke noalias noundef nonnull dereferenceable(320) ptr @_Znwm(i64 noundef 320) #11
          to label %80 unwind label %.split162.us

80:                                               ; preds = %78
  invoke void @_ZN6StonneC1E6Config(ptr noundef nonnull align 8 dereferenceable(316) %79, ptr noundef nonnull byval(%class.Config) align 8 %10)
          to label %81 unwind label %.split165.us

81:                                               ; preds = %80
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %82 unwind label %.split162.us

82:                                               ; preds = %81
  invoke void @_ZN6Stonne8loadGEMMENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjjjPfS6_PjS7_S6_S7_8Dataflow(ptr noundef nonnull align 8 dereferenceable(316) %79, ptr noundef nonnull %19, i32 noundef %8, i32 noundef %21, i32 noundef %20, ptr noundef %75, ptr noundef %77, ptr noundef %71, ptr noundef %73, ptr noundef %68, ptr noundef nonnull %69, i32 noundef %11)
          to label %83 unwind label %.split169.us

83:                                               ; preds = %82
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  invoke void @_ZN6Stonne3runEv(ptr noundef nonnull align 8 dereferenceable(316) %79)
          to label %84 unwind label %.split162.us

84:                                               ; preds = %83
  %85 = icmp eq ptr %71, null
  br i1 %85, label %87, label %86

86:                                               ; preds = %84
  call void @_ZdaPv(ptr noundef nonnull %71) #12
  br label %87

87:                                               ; preds = %86, %84
  %88 = icmp eq ptr %73, null
  br i1 %88, label %90, label %89

89:                                               ; preds = %87
  call void @_ZdaPv(ptr noundef nonnull %73) #12
  br label %90

90:                                               ; preds = %89, %87
  %91 = icmp eq ptr %.0106.us, null
  br i1 %91, label %93, label %92

92:                                               ; preds = %90
  call void @_ZdaPv(ptr noundef nonnull %.0106.us) #12
  br label %93

93:                                               ; preds = %92, %90
  %94 = icmp eq ptr %.0107.us, null
  br i1 %94, label %96, label %95

95:                                               ; preds = %93
  call void @_ZdaPv(ptr noundef nonnull %.0107.us) #12
  br label %96

96:                                               ; preds = %95, %93
  %97 = icmp eq ptr %75, null
  br i1 %97, label %99, label %98

98:                                               ; preds = %96
  call void @_ZdaPv(ptr noundef nonnull %75) #12
  br label %99

99:                                               ; preds = %98, %96
  %100 = icmp eq ptr %77, null
  br i1 %100, label %102, label %101

101:                                              ; preds = %99
  call void @_ZdaPv(ptr noundef nonnull %77) #12
  br label %102

102:                                              ; preds = %101, %99
  call void @_ZdaPv(ptr noundef nonnull %69) #12
  call void @_ZN6StonneD1Ev(ptr noundef nonnull align 8 dereferenceable(316) %79) #10
  call void @_ZdlPvm(ptr noundef nonnull %79, i64 noundef 320) #12
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond179.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond179.not, label %._crit_edge.us, label %45, !llvm.loop !5

.preheader.us:                                    ; preds = %65
  br i1 %37, label %.lr.ph130.us.preheader, label %.loopexit.us

.lr.ph130.us.preheader:                           ; preds = %.preheader.us
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %64, ptr align 4 %scevgep176, i64 %35, i1 false), !tbaa !7
  br label %.loopexit.us

.preheader125.us:                                 ; preds = %61
  br i1 %32, label %.lr.ph.us.preheader, label %.loopexit.us

.lr.ph.us.preheader:                              ; preds = %.preheader125.us
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %60, ptr align 4 %scevgep, i64 %30, i1 false), !tbaa !7
  br label %.loopexit.us

._crit_edge.us:                                   ; preds = %102
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  %103 = add nuw nsw i32 %.0133.us, 1
  %exitcond180.not = icmp eq i32 %103, %4
  br i1 %exitcond180.not, label %._crit_edge136, label %.lr.ph135.split.us, !llvm.loop !11

.split.us:                                        ; preds = %.lr.ph135.split.us
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %119

.split138.us:                                     ; preds = %45
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %120

.split141.us:                                     ; preds = %53
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  br label %120

.split144.us:                                     ; preds = %65, %63, %61, %59
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split147.us:                                     ; preds = %.loopexit.us
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split150.us:                                     ; preds = %70
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split153.us:                                     ; preds = %72
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split156.us:                                     ; preds = %74
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split159.us:                                     ; preds = %76
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split162.us:                                     ; preds = %83, %81, %78
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split165.us:                                     ; preds = %80
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %79, i64 noundef 320) #12
  br label %121

.split169.us:                                     ; preds = %82
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  br label %121

._crit_edge136:                                   ; preds = %116, %._crit_edge.us, %12
  ret void

.lr.ph135.split:                                  ; preds = %.lr.ph135, %116
  %.0133 = phi i32 [ %117, %116 ], [ 0, %.lr.ph135 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #10
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #10
  call void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, i32 noundef %.0133) #10
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %116 unwind label %.split

116:                                              ; preds = %.lr.ph135.split
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  %117 = add nuw nsw i32 %.0133, 1
  %exitcond.not = icmp eq i32 %117, %4
  br i1 %exitcond.not, label %._crit_edge136, label %.lr.ph135.split, !llvm.loop !11

.split:                                           ; preds = %.lr.ph135.split
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %119

119:                                              ; preds = %.split.us, %.split
  %.us-phi = phi { ptr, i32 } [ %118, %.split ], [ %104, %.split.us ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #10
  br label %123

120:                                              ; preds = %.split141.us, %.split138.us
  %.pn = phi { ptr, i32 } [ %106, %.split141.us ], [ %105, %.split138.us ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #10
  br label %122

121:                                              ; preds = %.split147.us, %.split153.us, %.split159.us, %.split169.us, %.split165.us, %.split162.us, %.split156.us, %.split150.us, %.split144.us
  %.pn115.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %107, %.split144.us ], [ %108, %.split147.us ], [ %109, %.split150.us ], [ %110, %.split153.us ], [ %111, %.split156.us ], [ %112, %.split159.us ], [ %113, %.split162.us ], [ %115, %.split169.us ], [ %114, %.split165.us ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #10
  br label %122

122:                                              ; preds = %121, %120
  %.pn115.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn115.pn.pn.pn.pn.pn.pn, %121 ], [ %.pn, %120 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  br label %123

123:                                              ; preds = %122, %119
  %.pn115.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn115.pn.pn.pn.pn.pn.pn.pn, %122 ], [ %.us-phi, %119 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  resume { ptr, i32 } %.pn115.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEi(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) local_unnamed_addr #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #8

declare noundef ptr @_Z21generatePrunnedMatrixPKfjf(ptr noundef, i32 noundef, float noundef) local_unnamed_addr #5

declare noundef ptr @_Z23generateBitMapFromDensePfjj15GENERATION_TYPE(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

declare noundef ptr @_Z29generateMatrixSparseFromDensePfPjjj15GENERATION_TYPE(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

declare void @_ZN6Stonne8loadGEMMENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjjjPfS6_PjS7_S6_S7_8Dataflow(ptr noundef nonnull align 8 dereferenceable(316), ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass