; LLVM IR from bqi343/cp-notebook :: Contests/USACO Solutions/2018-19/Dec 2018/Silver/mooyomooyo.ll (Z3simv)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@K = external dso_local global i32, align 4
@numComp = external dso_local global i32, align 4
@gr = external dso_local global [10 x [100 x i8]], align 16
@comp = external dso_local global [10 x [100 x i32]], align 16
@sz = external dso_local global [1001 x i32], align 16
@done = external dso_local global i8, align 1

declare i32 @__gxx_personality_v0(...)

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z10flood_fillii(i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3simv() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %36, %0
  %17 = load i32, ptr %1, align 4, !tbaa !5
  %18 = icmp slt i32 %17, 10
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  br label %39

20:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %32, %20
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = icmp slt i32 %22, 100
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  br label %35

25:                                               ; preds = %21
  %26 = load i32, ptr %1, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 %27
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [100 x i32], ptr %28, i64 0, i64 %30
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %25
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %3, align 4, !tbaa !5
  br label %21, !llvm.loop !9

35:                                               ; preds = %24
  br label %36

36:                                               ; preds = %35
  %37 = load i32, ptr %1, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %1, align 4, !tbaa !5
  br label %16, !llvm.loop !11

39:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %48, %39
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = icmp slt i32 %41, 1001
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  store i32 8, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %51

44:                                               ; preds = %40
  %45 = load i32, ptr %4, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %46
  store i32 0, ptr %47, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %44
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %4, align 4, !tbaa !5
  br label %40, !llvm.loop !12

51:                                               ; preds = %43
  store i32 0, ptr @numComp, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %90, %51
  %53 = load i32, ptr %5, align 4, !tbaa !5
  %54 = icmp slt i32 %53, 10
  br i1 %54, label %56, label %55

55:                                               ; preds = %52
  store i32 11, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %93

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %86, %56
  %58 = load i32, ptr %6, align 4, !tbaa !5
  %59 = icmp slt i32 %58, 100
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  store i32 14, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %89

61:                                               ; preds = %57
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 %63
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [100 x i32], ptr %64, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %85

70:                                               ; preds = %61
  %71 = load i32, ptr %5, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 %72
  %74 = load i32, ptr %6, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [100 x i8], ptr %73, i64 0, i64 %75
  %77 = load i8, ptr %76, align 1, !tbaa !13
  %78 = sext i8 %77 to i32
  %79 = icmp ne i32 %78, 48
  br i1 %79, label %80, label %85

80:                                               ; preds = %70
  %81 = load i32, ptr @numComp, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr @numComp, align 4, !tbaa !5
  %83 = load i32, ptr %5, align 4, !tbaa !5
  %84 = load i32, ptr %6, align 4, !tbaa !5
  call void @_Z10flood_fillii(i32 noundef %83, i32 noundef %84)
  br label %85

85:                                               ; preds = %80, %70, %61
  br label %86

86:                                               ; preds = %85
  %87 = load i32, ptr %6, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %6, align 4, !tbaa !5
  br label %57, !llvm.loop !14

89:                                               ; preds = %60
  br label %90

90:                                               ; preds = %89
  %91 = load i32, ptr %5, align 4, !tbaa !5
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %5, align 4, !tbaa !5
  br label %52, !llvm.loop !15

93:                                               ; preds = %55
  store i8 1, ptr @done, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %137, %93
  %95 = load i32, ptr %7, align 4, !tbaa !5
  %96 = icmp slt i32 %95, 10
  br i1 %96, label %98, label %97

97:                                               ; preds = %94
  store i32 17, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %140

98:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %133, %98
  %100 = load i32, ptr %8, align 4, !tbaa !5
  %101 = icmp slt i32 %100, 100
  br i1 %101, label %103, label %102

102:                                              ; preds = %99
  store i32 20, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %136

103:                                              ; preds = %99
  %104 = load i32, ptr %7, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 %105
  %107 = load i32, ptr %8, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [100 x i32], ptr %106, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !5
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %132

112:                                              ; preds = %103
  %113 = load i32, ptr %7, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 %114
  %116 = load i32, ptr %8, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [100 x i32], ptr %115, i64 0, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %120
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %123 = load i32, ptr @K, align 4, !tbaa !5
  %124 = icmp sge i32 %122, %123
  br i1 %124, label %125, label %132

125:                                              ; preds = %112
  store i8 0, ptr @done, align 1, !tbaa !16
  %126 = load i32, ptr %7, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 %127
  %129 = load i32, ptr %8, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [100 x i8], ptr %128, i64 0, i64 %130
  store i8 48, ptr %131, align 1, !tbaa !13
  br label %132

132:                                              ; preds = %125, %112, %103
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %8, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %8, align 4, !tbaa !5
  br label %99, !llvm.loop !18

136:                                              ; preds = %102
  br label %137

137:                                              ; preds = %136
  %138 = load i32, ptr %7, align 4, !tbaa !5
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %7, align 4, !tbaa !5
  br label %94, !llvm.loop !19

140:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %141

141:                                              ; preds = %213, %140
  %142 = load i32, ptr %9, align 4, !tbaa !5
  %143 = icmp slt i32 %142, 10
  br i1 %143, label %145, label %144

144:                                              ; preds = %141
  store i32 23, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %216

145:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #3
  call void @_ZNSt6vectorIcSaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %146

146:                                              ; preds = %173, %145
  %147 = load i32, ptr %11, align 4, !tbaa !5
  %148 = icmp slt i32 %147, 100
  br i1 %148, label %150, label %149

149:                                              ; preds = %146
  store i32 26, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %176

150:                                              ; preds = %146
  %151 = load i32, ptr %9, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 %152
  %154 = load i32, ptr %11, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [100 x i8], ptr %153, i64 0, i64 %155
  %157 = load i8, ptr %156, align 1, !tbaa !13
  %158 = sext i8 %157 to i32
  %159 = icmp ne i32 %158, 48
  br i1 %159, label %160, label %172

160:                                              ; preds = %150
  %161 = load i32, ptr %9, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 %162
  %164 = load i32, ptr %11, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [100 x i8], ptr %163, i64 0, i64 %165
  invoke void @_ZNSt6vectorIcSaIcEE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 1 dereferenceable(1) %166)
          to label %167 unwind label %168

167:                                              ; preds = %160
  br label %172

168:                                              ; preds = %160
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %12, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %217

172:                                              ; preds = %167, %150
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %11, align 4, !tbaa !5
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %11, align 4, !tbaa !5
  br label %146, !llvm.loop !20

176:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %188, %176
  %178 = load i32, ptr %14, align 4, !tbaa !5
  %179 = icmp slt i32 %178, 100
  br i1 %179, label %181, label %180

180:                                              ; preds = %177
  store i32 29, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %191

181:                                              ; preds = %177
  %182 = load i32, ptr %9, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 %183
  %185 = load i32, ptr %14, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [100 x i8], ptr %184, i64 0, i64 %186
  store i8 48, ptr %187, align 1, !tbaa !13
  br label %188

188:                                              ; preds = %181
  %189 = load i32, ptr %14, align 4, !tbaa !5
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %14, align 4, !tbaa !5
  br label %177, !llvm.loop !21

191:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %192

192:                                              ; preds = %209, %191
  %193 = load i32, ptr %15, align 4, !tbaa !5
  %194 = call noundef i64 @_ZNKSt6vectorIcSaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  %195 = trunc i64 %194 to i32
  %196 = icmp slt i32 %193, %195
  br i1 %196, label %198, label %197

197:                                              ; preds = %192
  store i32 32, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %212

198:                                              ; preds = %192
  %199 = load i32, ptr %15, align 4, !tbaa !5
  %200 = sext i32 %199 to i64
  %201 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %200) #3
  %202 = load i8, ptr %201, align 1, !tbaa !13
  %203 = load i32, ptr %9, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 %204
  %206 = load i32, ptr %15, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [100 x i8], ptr %205, i64 0, i64 %207
  store i8 %202, ptr %208, align 1, !tbaa !13
  br label %209

209:                                              ; preds = %198
  %210 = load i32, ptr %15, align 4, !tbaa !5
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %15, align 4, !tbaa !5
  br label %192, !llvm.loop !22

212:                                              ; preds = %197
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #3
  br label %213

213:                                              ; preds = %212
  %214 = load i32, ptr %9, align 4, !tbaa !5
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %9, align 4, !tbaa !5
  br label %141, !llvm.loop !23

216:                                              ; preds = %144
  ret void

217:                                              ; preds = %168
  %218 = load ptr, ptr %12, align 8
  %219 = load i32, ptr %13, align 4
  %220 = insertvalue { ptr, i32 } poison, ptr %218, 0
  %221 = insertvalue { ptr, i32 } %220, i32 %219, 1
  resume { ptr, i32 } %221
}

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@K = external dso_local local_unnamed_addr global i32, align 4
@numComp = external dso_local local_unnamed_addr global i32, align 4
@gr = external dso_local global [10 x [100 x i8]], align 16
@comp = external dso_local local_unnamed_addr global [10 x [100 x i32]], align 16
@sz = external dso_local local_unnamed_addr global [1001 x i32], align 16
@done = external dso_local local_unnamed_addr global i8, align 1

declare i32 @__gxx_personality_v0(...)

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

; 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 dso_local void @_Z10flood_fillii(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3simv() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
.preheader65.preheader:
  %0 = alloca %"class.std::vector", align 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4000) @comp, i8 0, i64 4000, i1 false), !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4004) @sz, i8 0, i64 4004, i1 false), !tbaa !5
  store i32 0, ptr @numComp, align 4, !tbaa !5
  br label %101

.preheader64.1:                                   ; preds = %112, %11
  %indvars.iv.1 = phi i64 [ %indvars.iv.next.1, %11 ], [ 0, %112 ]
  %1 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 1, i64 %indvars.iv.1
  %2 = load i32, ptr %1, align 4, !tbaa !5
  %3 = icmp eq i32 %2, 0
  br i1 %3, label %4, label %11

4:                                                ; preds = %.preheader64.1
  %5 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 1, i64 %indvars.iv.1
  %6 = load i8, ptr %5, align 1, !tbaa !9
  %.not60.1 = icmp eq i8 %6, 48
  br i1 %.not60.1, label %11, label %7

7:                                                ; preds = %4
  %8 = load i32, ptr @numComp, align 4, !tbaa !5
  %9 = add nsw i32 %8, 1
  store i32 %9, ptr @numComp, align 4, !tbaa !5
  %10 = trunc nuw nsw i64 %indvars.iv.1 to i32
  tail call void @_Z10flood_fillii(i32 noundef 1, i32 noundef %10)
  br label %11

11:                                               ; preds = %7, %4, %.preheader64.1
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %exitcond.1.not = icmp eq i64 %indvars.iv.next.1, 100
  br i1 %exitcond.1.not, label %.preheader64.2, label %.preheader64.1, !llvm.loop !10

.preheader64.2:                                   ; preds = %11, %22
  %indvars.iv.2 = phi i64 [ %indvars.iv.next.2, %22 ], [ 0, %11 ]
  %12 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 2, i64 %indvars.iv.2
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %15, label %22

15:                                               ; preds = %.preheader64.2
  %16 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 2, i64 %indvars.iv.2
  %17 = load i8, ptr %16, align 1, !tbaa !9
  %.not60.2 = icmp eq i8 %17, 48
  br i1 %.not60.2, label %22, label %18

18:                                               ; preds = %15
  %19 = load i32, ptr @numComp, align 4, !tbaa !5
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr @numComp, align 4, !tbaa !5
  %21 = trunc nuw nsw i64 %indvars.iv.2 to i32
  tail call void @_Z10flood_fillii(i32 noundef 2, i32 noundef %21)
  br label %22

22:                                               ; preds = %18, %15, %.preheader64.2
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %exitcond.2.not = icmp eq i64 %indvars.iv.next.2, 100
  br i1 %exitcond.2.not, label %.preheader64.3, label %.preheader64.2, !llvm.loop !10

.preheader64.3:                                   ; preds = %22, %33
  %indvars.iv.3 = phi i64 [ %indvars.iv.next.3, %33 ], [ 0, %22 ]
  %23 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 3, i64 %indvars.iv.3
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %33

26:                                               ; preds = %.preheader64.3
  %27 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 3, i64 %indvars.iv.3
  %28 = load i8, ptr %27, align 1, !tbaa !9
  %.not60.3 = icmp eq i8 %28, 48
  br i1 %.not60.3, label %33, label %29

29:                                               ; preds = %26
  %30 = load i32, ptr @numComp, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr @numComp, align 4, !tbaa !5
  %32 = trunc nuw nsw i64 %indvars.iv.3 to i32
  tail call void @_Z10flood_fillii(i32 noundef 3, i32 noundef %32)
  br label %33

33:                                               ; preds = %29, %26, %.preheader64.3
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %exitcond.3.not = icmp eq i64 %indvars.iv.next.3, 100
  br i1 %exitcond.3.not, label %.preheader64.4, label %.preheader64.3, !llvm.loop !10

.preheader64.4:                                   ; preds = %33, %44
  %indvars.iv.4 = phi i64 [ %indvars.iv.next.4, %44 ], [ 0, %33 ]
  %34 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 4, i64 %indvars.iv.4
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %44

37:                                               ; preds = %.preheader64.4
  %38 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 4, i64 %indvars.iv.4
  %39 = load i8, ptr %38, align 1, !tbaa !9
  %.not60.4 = icmp eq i8 %39, 48
  br i1 %.not60.4, label %44, label %40

40:                                               ; preds = %37
  %41 = load i32, ptr @numComp, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr @numComp, align 4, !tbaa !5
  %43 = trunc nuw nsw i64 %indvars.iv.4 to i32
  tail call void @_Z10flood_fillii(i32 noundef 4, i32 noundef %43)
  br label %44

44:                                               ; preds = %40, %37, %.preheader64.4
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  %exitcond.4.not = icmp eq i64 %indvars.iv.next.4, 100
  br i1 %exitcond.4.not, label %.preheader64.5, label %.preheader64.4, !llvm.loop !10

.preheader64.5:                                   ; preds = %44, %55
  %indvars.iv.5 = phi i64 [ %indvars.iv.next.5, %55 ], [ 0, %44 ]
  %45 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 5, i64 %indvars.iv.5
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %55

48:                                               ; preds = %.preheader64.5
  %49 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 5, i64 %indvars.iv.5
  %50 = load i8, ptr %49, align 1, !tbaa !9
  %.not60.5 = icmp eq i8 %50, 48
  br i1 %.not60.5, label %55, label %51

51:                                               ; preds = %48
  %52 = load i32, ptr @numComp, align 4, !tbaa !5
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr @numComp, align 4, !tbaa !5
  %54 = trunc nuw nsw i64 %indvars.iv.5 to i32
  tail call void @_Z10flood_fillii(i32 noundef 5, i32 noundef %54)
  br label %55

55:                                               ; preds = %51, %48, %.preheader64.5
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  %exitcond.5.not = icmp eq i64 %indvars.iv.next.5, 100
  br i1 %exitcond.5.not, label %.preheader64.6, label %.preheader64.5, !llvm.loop !10

.preheader64.6:                                   ; preds = %55, %66
  %indvars.iv.6 = phi i64 [ %indvars.iv.next.6, %66 ], [ 0, %55 ]
  %56 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 6, i64 %indvars.iv.6
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %66

59:                                               ; preds = %.preheader64.6
  %60 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 6, i64 %indvars.iv.6
  %61 = load i8, ptr %60, align 1, !tbaa !9
  %.not60.6 = icmp eq i8 %61, 48
  br i1 %.not60.6, label %66, label %62

62:                                               ; preds = %59
  %63 = load i32, ptr @numComp, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr @numComp, align 4, !tbaa !5
  %65 = trunc nuw nsw i64 %indvars.iv.6 to i32
  tail call void @_Z10flood_fillii(i32 noundef 6, i32 noundef %65)
  br label %66

66:                                               ; preds = %62, %59, %.preheader64.6
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  %exitcond.6.not = icmp eq i64 %indvars.iv.next.6, 100
  br i1 %exitcond.6.not, label %.preheader64.7, label %.preheader64.6, !llvm.loop !10

.preheader64.7:                                   ; preds = %66, %77
  %indvars.iv.7 = phi i64 [ %indvars.iv.next.7, %77 ], [ 0, %66 ]
  %67 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 7, i64 %indvars.iv.7
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %77

70:                                               ; preds = %.preheader64.7
  %71 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 7, i64 %indvars.iv.7
  %72 = load i8, ptr %71, align 1, !tbaa !9
  %.not60.7 = icmp eq i8 %72, 48
  br i1 %.not60.7, label %77, label %73

73:                                               ; preds = %70
  %74 = load i32, ptr @numComp, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr @numComp, align 4, !tbaa !5
  %76 = trunc nuw nsw i64 %indvars.iv.7 to i32
  tail call void @_Z10flood_fillii(i32 noundef 7, i32 noundef %76)
  br label %77

77:                                               ; preds = %73, %70, %.preheader64.7
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  %exitcond.7.not = icmp eq i64 %indvars.iv.next.7, 100
  br i1 %exitcond.7.not, label %.preheader64.8, label %.preheader64.7, !llvm.loop !10

.preheader64.8:                                   ; preds = %77, %88
  %indvars.iv.8 = phi i64 [ %indvars.iv.next.8, %88 ], [ 0, %77 ]
  %78 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 8, i64 %indvars.iv.8
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %81, label %88

81:                                               ; preds = %.preheader64.8
  %82 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 8, i64 %indvars.iv.8
  %83 = load i8, ptr %82, align 1, !tbaa !9
  %.not60.8 = icmp eq i8 %83, 48
  br i1 %.not60.8, label %88, label %84

84:                                               ; preds = %81
  %85 = load i32, ptr @numComp, align 4, !tbaa !5
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr @numComp, align 4, !tbaa !5
  %87 = trunc nuw nsw i64 %indvars.iv.8 to i32
  tail call void @_Z10flood_fillii(i32 noundef 8, i32 noundef %87)
  br label %88

88:                                               ; preds = %84, %81, %.preheader64.8
  %indvars.iv.next.8 = add nuw nsw i64 %indvars.iv.8, 1
  %exitcond.8.not = icmp eq i64 %indvars.iv.next.8, 100
  br i1 %exitcond.8.not, label %.preheader64.9, label %.preheader64.8, !llvm.loop !10

.preheader64.9:                                   ; preds = %88, %99
  %indvars.iv.9 = phi i64 [ %indvars.iv.next.9, %99 ], [ 0, %88 ]
  %89 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 9, i64 %indvars.iv.9
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %99

92:                                               ; preds = %.preheader64.9
  %93 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 9, i64 %indvars.iv.9
  %94 = load i8, ptr %93, align 1, !tbaa !9
  %.not60.9 = icmp eq i8 %94, 48
  br i1 %.not60.9, label %99, label %95

95:                                               ; preds = %92
  %96 = load i32, ptr @numComp, align 4, !tbaa !5
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr @numComp, align 4, !tbaa !5
  %98 = trunc nuw nsw i64 %indvars.iv.9 to i32
  tail call void @_Z10flood_fillii(i32 noundef 9, i32 noundef %98)
  br label %99

99:                                               ; preds = %95, %92, %.preheader64.9
  %indvars.iv.next.9 = add nuw nsw i64 %indvars.iv.9, 1
  %exitcond.9.not = icmp eq i64 %indvars.iv.next.9, 100
  br i1 %exitcond.9.not, label %.preheader63, label %.preheader64.9, !llvm.loop !10

.preheader63:                                     ; preds = %99
  store i8 1, ptr @done, align 1, !tbaa !12
  %100 = load i32, ptr @K, align 4
  br label %266

101:                                              ; preds = %.preheader65.preheader, %112
  %indvars.iv = phi i64 [ 0, %.preheader65.preheader ], [ %indvars.iv.next, %112 ]
  %102 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 0, i64 %indvars.iv
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = icmp eq i32 %103, 0
  br i1 %104, label %105, label %112

105:                                              ; preds = %101
  %106 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 0, i64 %indvars.iv
  %107 = load i8, ptr %106, align 1, !tbaa !9
  %.not60 = icmp eq i8 %107, 48
  br i1 %.not60, label %112, label %108

108:                                              ; preds = %105
  %109 = load i32, ptr @numComp, align 4, !tbaa !5
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr @numComp, align 4, !tbaa !5
  %111 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z10flood_fillii(i32 noundef 0, i32 noundef %111)
  br label %112

112:                                              ; preds = %101, %105, %108
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 100
  br i1 %exitcond.not, label %.preheader64.1, label %101, !llvm.loop !10

.preheader63.1:                                   ; preds = %284, %129
  %indvars.iv86.1 = phi i64 [ %indvars.iv.next87.1.1, %129 ], [ 0, %284 ]
  %113 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 1, i64 %indvars.iv86.1
  %114 = load i32, ptr %113, align 8, !tbaa !5
  %.not58.1 = icmp eq i32 %114, 0
  br i1 %.not58.1, label %.preheader63.1.1, label %115

115:                                              ; preds = %.preheader63.1
  %116 = sext i32 %114 to i64
  %117 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %.not59.1 = icmp slt i32 %118, %100
  br i1 %.not59.1, label %.preheader63.1.1, label %119

119:                                              ; preds = %115
  store i8 0, ptr @done, align 1, !tbaa !12
  %120 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 1, i64 %indvars.iv86.1
  store i8 48, ptr %120, align 2, !tbaa !9
  br label %.preheader63.1.1

.preheader63.1.1:                                 ; preds = %119, %115, %.preheader63.1
  %indvars.iv.next87.1 = or disjoint i64 %indvars.iv86.1, 1
  %121 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 1, i64 %indvars.iv.next87.1
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %.not58.1.1 = icmp eq i32 %122, 0
  br i1 %.not58.1.1, label %129, label %123

123:                                              ; preds = %.preheader63.1.1
  %124 = sext i32 %122 to i64
  %125 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %.not59.1.1 = icmp slt i32 %126, %100
  br i1 %.not59.1.1, label %129, label %127

127:                                              ; preds = %123
  store i8 0, ptr @done, align 1, !tbaa !12
  %128 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 1, i64 %indvars.iv.next87.1
  store i8 48, ptr %128, align 1, !tbaa !9
  br label %129

129:                                              ; preds = %127, %123, %.preheader63.1.1
  %indvars.iv.next87.1.1 = add nuw nsw i64 %indvars.iv86.1, 2
  %exitcond89.1.not.1 = icmp eq i64 %indvars.iv.next87.1.1, 100
  br i1 %exitcond89.1.not.1, label %.preheader63.2, label %.preheader63.1, !llvm.loop !14

.preheader63.2:                                   ; preds = %129, %146
  %indvars.iv86.2 = phi i64 [ %indvars.iv.next87.2.1, %146 ], [ 0, %129 ]
  %130 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 2, i64 %indvars.iv86.2
  %131 = load i32, ptr %130, align 8, !tbaa !5
  %.not58.2 = icmp eq i32 %131, 0
  br i1 %.not58.2, label %.preheader63.2.1, label %132

132:                                              ; preds = %.preheader63.2
  %133 = sext i32 %131 to i64
  %134 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %133
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %.not59.2 = icmp slt i32 %135, %100
  br i1 %.not59.2, label %.preheader63.2.1, label %136

136:                                              ; preds = %132
  store i8 0, ptr @done, align 1, !tbaa !12
  %137 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 2, i64 %indvars.iv86.2
  store i8 48, ptr %137, align 2, !tbaa !9
  br label %.preheader63.2.1

.preheader63.2.1:                                 ; preds = %136, %132, %.preheader63.2
  %indvars.iv.next87.2 = or disjoint i64 %indvars.iv86.2, 1
  %138 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 2, i64 %indvars.iv.next87.2
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %.not58.2.1 = icmp eq i32 %139, 0
  br i1 %.not58.2.1, label %146, label %140

140:                                              ; preds = %.preheader63.2.1
  %141 = sext i32 %139 to i64
  %142 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %.not59.2.1 = icmp slt i32 %143, %100
  br i1 %.not59.2.1, label %146, label %144

144:                                              ; preds = %140
  store i8 0, ptr @done, align 1, !tbaa !12
  %145 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 2, i64 %indvars.iv.next87.2
  store i8 48, ptr %145, align 1, !tbaa !9
  br label %146

146:                                              ; preds = %144, %140, %.preheader63.2.1
  %indvars.iv.next87.2.1 = add nuw nsw i64 %indvars.iv86.2, 2
  %exitcond89.2.not.1 = icmp eq i64 %indvars.iv.next87.2.1, 100
  br i1 %exitcond89.2.not.1, label %.preheader63.3, label %.preheader63.2, !llvm.loop !14

.preheader63.3:                                   ; preds = %146, %163
  %indvars.iv86.3 = phi i64 [ %indvars.iv.next87.3.1, %163 ], [ 0, %146 ]
  %147 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 3, i64 %indvars.iv86.3
  %148 = load i32, ptr %147, align 8, !tbaa !5
  %.not58.3 = icmp eq i32 %148, 0
  br i1 %.not58.3, label %.preheader63.3.1, label %149

149:                                              ; preds = %.preheader63.3
  %150 = sext i32 %148 to i64
  %151 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %150
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %.not59.3 = icmp slt i32 %152, %100
  br i1 %.not59.3, label %.preheader63.3.1, label %153

153:                                              ; preds = %149
  store i8 0, ptr @done, align 1, !tbaa !12
  %154 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 3, i64 %indvars.iv86.3
  store i8 48, ptr %154, align 2, !tbaa !9
  br label %.preheader63.3.1

.preheader63.3.1:                                 ; preds = %153, %149, %.preheader63.3
  %indvars.iv.next87.3 = or disjoint i64 %indvars.iv86.3, 1
  %155 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 3, i64 %indvars.iv.next87.3
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %.not58.3.1 = icmp eq i32 %156, 0
  br i1 %.not58.3.1, label %163, label %157

157:                                              ; preds = %.preheader63.3.1
  %158 = sext i32 %156 to i64
  %159 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %158
  %160 = load i32, ptr %159, align 4, !tbaa !5
  %.not59.3.1 = icmp slt i32 %160, %100
  br i1 %.not59.3.1, label %163, label %161

161:                                              ; preds = %157
  store i8 0, ptr @done, align 1, !tbaa !12
  %162 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 3, i64 %indvars.iv.next87.3
  store i8 48, ptr %162, align 1, !tbaa !9
  br label %163

163:                                              ; preds = %161, %157, %.preheader63.3.1
  %indvars.iv.next87.3.1 = add nuw nsw i64 %indvars.iv86.3, 2
  %exitcond89.3.not.1 = icmp eq i64 %indvars.iv.next87.3.1, 100
  br i1 %exitcond89.3.not.1, label %.preheader63.4, label %.preheader63.3, !llvm.loop !14

.preheader63.4:                                   ; preds = %163, %180
  %indvars.iv86.4 = phi i64 [ %indvars.iv.next87.4.1, %180 ], [ 0, %163 ]
  %164 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 4, i64 %indvars.iv86.4
  %165 = load i32, ptr %164, align 8, !tbaa !5
  %.not58.4 = icmp eq i32 %165, 0
  br i1 %.not58.4, label %.preheader63.4.1, label %166

166:                                              ; preds = %.preheader63.4
  %167 = sext i32 %165 to i64
  %168 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %167
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %.not59.4 = icmp slt i32 %169, %100
  br i1 %.not59.4, label %.preheader63.4.1, label %170

170:                                              ; preds = %166
  store i8 0, ptr @done, align 1, !tbaa !12
  %171 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 4, i64 %indvars.iv86.4
  store i8 48, ptr %171, align 2, !tbaa !9
  br label %.preheader63.4.1

.preheader63.4.1:                                 ; preds = %170, %166, %.preheader63.4
  %indvars.iv.next87.4 = or disjoint i64 %indvars.iv86.4, 1
  %172 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 4, i64 %indvars.iv.next87.4
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %.not58.4.1 = icmp eq i32 %173, 0
  br i1 %.not58.4.1, label %180, label %174

174:                                              ; preds = %.preheader63.4.1
  %175 = sext i32 %173 to i64
  %176 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %.not59.4.1 = icmp slt i32 %177, %100
  br i1 %.not59.4.1, label %180, label %178

178:                                              ; preds = %174
  store i8 0, ptr @done, align 1, !tbaa !12
  %179 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 4, i64 %indvars.iv.next87.4
  store i8 48, ptr %179, align 1, !tbaa !9
  br label %180

180:                                              ; preds = %178, %174, %.preheader63.4.1
  %indvars.iv.next87.4.1 = add nuw nsw i64 %indvars.iv86.4, 2
  %exitcond89.4.not.1 = icmp eq i64 %indvars.iv.next87.4.1, 100
  br i1 %exitcond89.4.not.1, label %.preheader63.5, label %.preheader63.4, !llvm.loop !14

.preheader63.5:                                   ; preds = %180, %197
  %indvars.iv86.5 = phi i64 [ %indvars.iv.next87.5.1, %197 ], [ 0, %180 ]
  %181 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 5, i64 %indvars.iv86.5
  %182 = load i32, ptr %181, align 8, !tbaa !5
  %.not58.5 = icmp eq i32 %182, 0
  br i1 %.not58.5, label %.preheader63.5.1, label %183

183:                                              ; preds = %.preheader63.5
  %184 = sext i32 %182 to i64
  %185 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %184
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %.not59.5 = icmp slt i32 %186, %100
  br i1 %.not59.5, label %.preheader63.5.1, label %187

187:                                              ; preds = %183
  store i8 0, ptr @done, align 1, !tbaa !12
  %188 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 5, i64 %indvars.iv86.5
  store i8 48, ptr %188, align 2, !tbaa !9
  br label %.preheader63.5.1

.preheader63.5.1:                                 ; preds = %187, %183, %.preheader63.5
  %indvars.iv.next87.5 = or disjoint i64 %indvars.iv86.5, 1
  %189 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 5, i64 %indvars.iv.next87.5
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %.not58.5.1 = icmp eq i32 %190, 0
  br i1 %.not58.5.1, label %197, label %191

191:                                              ; preds = %.preheader63.5.1
  %192 = sext i32 %190 to i64
  %193 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %192
  %194 = load i32, ptr %193, align 4, !tbaa !5
  %.not59.5.1 = icmp slt i32 %194, %100
  br i1 %.not59.5.1, label %197, label %195

195:                                              ; preds = %191
  store i8 0, ptr @done, align 1, !tbaa !12
  %196 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 5, i64 %indvars.iv.next87.5
  store i8 48, ptr %196, align 1, !tbaa !9
  br label %197

197:                                              ; preds = %195, %191, %.preheader63.5.1
  %indvars.iv.next87.5.1 = add nuw nsw i64 %indvars.iv86.5, 2
  %exitcond89.5.not.1 = icmp eq i64 %indvars.iv.next87.5.1, 100
  br i1 %exitcond89.5.not.1, label %.preheader63.6, label %.preheader63.5, !llvm.loop !14

.preheader63.6:                                   ; preds = %197, %214
  %indvars.iv86.6 = phi i64 [ %indvars.iv.next87.6.1, %214 ], [ 0, %197 ]
  %198 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 6, i64 %indvars.iv86.6
  %199 = load i32, ptr %198, align 8, !tbaa !5
  %.not58.6 = icmp eq i32 %199, 0
  br i1 %.not58.6, label %.preheader63.6.1, label %200

200:                                              ; preds = %.preheader63.6
  %201 = sext i32 %199 to i64
  %202 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %201
  %203 = load i32, ptr %202, align 4, !tbaa !5
  %.not59.6 = icmp slt i32 %203, %100
  br i1 %.not59.6, label %.preheader63.6.1, label %204

204:                                              ; preds = %200
  store i8 0, ptr @done, align 1, !tbaa !12
  %205 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 6, i64 %indvars.iv86.6
  store i8 48, ptr %205, align 2, !tbaa !9
  br label %.preheader63.6.1

.preheader63.6.1:                                 ; preds = %204, %200, %.preheader63.6
  %indvars.iv.next87.6 = or disjoint i64 %indvars.iv86.6, 1
  %206 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 6, i64 %indvars.iv.next87.6
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %.not58.6.1 = icmp eq i32 %207, 0
  br i1 %.not58.6.1, label %214, label %208

208:                                              ; preds = %.preheader63.6.1
  %209 = sext i32 %207 to i64
  %210 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %209
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %.not59.6.1 = icmp slt i32 %211, %100
  br i1 %.not59.6.1, label %214, label %212

212:                                              ; preds = %208
  store i8 0, ptr @done, align 1, !tbaa !12
  %213 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 6, i64 %indvars.iv.next87.6
  store i8 48, ptr %213, align 1, !tbaa !9
  br label %214

214:                                              ; preds = %212, %208, %.preheader63.6.1
  %indvars.iv.next87.6.1 = add nuw nsw i64 %indvars.iv86.6, 2
  %exitcond89.6.not.1 = icmp eq i64 %indvars.iv.next87.6.1, 100
  br i1 %exitcond89.6.not.1, label %.preheader63.7, label %.preheader63.6, !llvm.loop !14

.preheader63.7:                                   ; preds = %214, %231
  %indvars.iv86.7 = phi i64 [ %indvars.iv.next87.7.1, %231 ], [ 0, %214 ]
  %215 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 7, i64 %indvars.iv86.7
  %216 = load i32, ptr %215, align 8, !tbaa !5
  %.not58.7 = icmp eq i32 %216, 0
  br i1 %.not58.7, label %.preheader63.7.1, label %217

217:                                              ; preds = %.preheader63.7
  %218 = sext i32 %216 to i64
  %219 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %.not59.7 = icmp slt i32 %220, %100
  br i1 %.not59.7, label %.preheader63.7.1, label %221

221:                                              ; preds = %217
  store i8 0, ptr @done, align 1, !tbaa !12
  %222 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 7, i64 %indvars.iv86.7
  store i8 48, ptr %222, align 2, !tbaa !9
  br label %.preheader63.7.1

.preheader63.7.1:                                 ; preds = %221, %217, %.preheader63.7
  %indvars.iv.next87.7 = or disjoint i64 %indvars.iv86.7, 1
  %223 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 7, i64 %indvars.iv.next87.7
  %224 = load i32, ptr %223, align 4, !tbaa !5
  %.not58.7.1 = icmp eq i32 %224, 0
  br i1 %.not58.7.1, label %231, label %225

225:                                              ; preds = %.preheader63.7.1
  %226 = sext i32 %224 to i64
  %227 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %226
  %228 = load i32, ptr %227, align 4, !tbaa !5
  %.not59.7.1 = icmp slt i32 %228, %100
  br i1 %.not59.7.1, label %231, label %229

229:                                              ; preds = %225
  store i8 0, ptr @done, align 1, !tbaa !12
  %230 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 7, i64 %indvars.iv.next87.7
  store i8 48, ptr %230, align 1, !tbaa !9
  br label %231

231:                                              ; preds = %229, %225, %.preheader63.7.1
  %indvars.iv.next87.7.1 = add nuw nsw i64 %indvars.iv86.7, 2
  %exitcond89.7.not.1 = icmp eq i64 %indvars.iv.next87.7.1, 100
  br i1 %exitcond89.7.not.1, label %.preheader63.8, label %.preheader63.7, !llvm.loop !14

.preheader63.8:                                   ; preds = %231, %248
  %indvars.iv86.8 = phi i64 [ %indvars.iv.next87.8.1, %248 ], [ 0, %231 ]
  %232 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 8, i64 %indvars.iv86.8
  %233 = load i32, ptr %232, align 8, !tbaa !5
  %.not58.8 = icmp eq i32 %233, 0
  br i1 %.not58.8, label %.preheader63.8.1, label %234

234:                                              ; preds = %.preheader63.8
  %235 = sext i32 %233 to i64
  %236 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %235
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %.not59.8 = icmp slt i32 %237, %100
  br i1 %.not59.8, label %.preheader63.8.1, label %238

238:                                              ; preds = %234
  store i8 0, ptr @done, align 1, !tbaa !12
  %239 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 8, i64 %indvars.iv86.8
  store i8 48, ptr %239, align 2, !tbaa !9
  br label %.preheader63.8.1

.preheader63.8.1:                                 ; preds = %238, %234, %.preheader63.8
  %indvars.iv.next87.8 = or disjoint i64 %indvars.iv86.8, 1
  %240 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 8, i64 %indvars.iv.next87.8
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %.not58.8.1 = icmp eq i32 %241, 0
  br i1 %.not58.8.1, label %248, label %242

242:                                              ; preds = %.preheader63.8.1
  %243 = sext i32 %241 to i64
  %244 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %243
  %245 = load i32, ptr %244, align 4, !tbaa !5
  %.not59.8.1 = icmp slt i32 %245, %100
  br i1 %.not59.8.1, label %248, label %246

246:                                              ; preds = %242
  store i8 0, ptr @done, align 1, !tbaa !12
  %247 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 8, i64 %indvars.iv.next87.8
  store i8 48, ptr %247, align 1, !tbaa !9
  br label %248

248:                                              ; preds = %246, %242, %.preheader63.8.1
  %indvars.iv.next87.8.1 = add nuw nsw i64 %indvars.iv86.8, 2
  %exitcond89.8.not.1 = icmp eq i64 %indvars.iv.next87.8.1, 100
  br i1 %exitcond89.8.not.1, label %.preheader63.9, label %.preheader63.8, !llvm.loop !14

.preheader63.9:                                   ; preds = %248, %265
  %indvars.iv86.9 = phi i64 [ %indvars.iv.next87.9.1, %265 ], [ 0, %248 ]
  %249 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 9, i64 %indvars.iv86.9
  %250 = load i32, ptr %249, align 8, !tbaa !5
  %.not58.9 = icmp eq i32 %250, 0
  br i1 %.not58.9, label %.preheader63.9.1, label %251

251:                                              ; preds = %.preheader63.9
  %252 = sext i32 %250 to i64
  %253 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %252
  %254 = load i32, ptr %253, align 4, !tbaa !5
  %.not59.9 = icmp slt i32 %254, %100
  br i1 %.not59.9, label %.preheader63.9.1, label %255

255:                                              ; preds = %251
  store i8 0, ptr @done, align 1, !tbaa !12
  %256 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 9, i64 %indvars.iv86.9
  store i8 48, ptr %256, align 2, !tbaa !9
  br label %.preheader63.9.1

.preheader63.9.1:                                 ; preds = %255, %251, %.preheader63.9
  %indvars.iv.next87.9 = or disjoint i64 %indvars.iv86.9, 1
  %257 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 9, i64 %indvars.iv.next87.9
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %.not58.9.1 = icmp eq i32 %258, 0
  br i1 %.not58.9.1, label %265, label %259

259:                                              ; preds = %.preheader63.9.1
  %260 = sext i32 %258 to i64
  %261 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %260
  %262 = load i32, ptr %261, align 4, !tbaa !5
  %.not59.9.1 = icmp slt i32 %262, %100
  br i1 %.not59.9.1, label %265, label %263

263:                                              ; preds = %259
  store i8 0, ptr @done, align 1, !tbaa !12
  %264 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 9, i64 %indvars.iv.next87.9
  store i8 48, ptr %264, align 1, !tbaa !9
  br label %265

265:                                              ; preds = %263, %259, %.preheader63.9.1
  %indvars.iv.next87.9.1 = add nuw nsw i64 %indvars.iv86.9, 2
  %exitcond89.9.not.1 = icmp eq i64 %indvars.iv.next87.9.1, 100
  br i1 %exitcond89.9.not.1, label %.preheader62, label %.preheader63.9, !llvm.loop !14

266:                                              ; preds = %284, %.preheader63
  %indvars.iv86 = phi i64 [ 0, %.preheader63 ], [ %indvars.iv.next87.1109, %284 ]
  %267 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 0, i64 %indvars.iv86
  %268 = load i32, ptr %267, align 8, !tbaa !5
  %.not58 = icmp eq i32 %268, 0
  br i1 %.not58, label %275, label %269

269:                                              ; preds = %266
  %270 = sext i32 %268 to i64
  %271 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %270
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %.not59 = icmp slt i32 %272, %100
  br i1 %.not59, label %275, label %273

273:                                              ; preds = %269
  store i8 0, ptr @done, align 1, !tbaa !12
  %274 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 0, i64 %indvars.iv86
  store i8 48, ptr %274, align 2, !tbaa !9
  br label %275

275:                                              ; preds = %266, %269, %273
  %indvars.iv.next87 = or disjoint i64 %indvars.iv86, 1
  %276 = getelementptr inbounds [10 x [100 x i32]], ptr @comp, i64 0, i64 0, i64 %indvars.iv.next87
  %277 = load i32, ptr %276, align 4, !tbaa !5
  %.not58.1107 = icmp eq i32 %277, 0
  br i1 %.not58.1107, label %284, label %278

278:                                              ; preds = %275
  %279 = sext i32 %277 to i64
  %280 = getelementptr inbounds [1001 x i32], ptr @sz, i64 0, i64 %279
  %281 = load i32, ptr %280, align 4, !tbaa !5
  %.not59.1108 = icmp slt i32 %281, %100
  br i1 %.not59.1108, label %284, label %282

282:                                              ; preds = %278
  store i8 0, ptr @done, align 1, !tbaa !12
  %283 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 0, i64 %indvars.iv.next87
  store i8 48, ptr %283, align 1, !tbaa !9
  br label %284

284:                                              ; preds = %282, %278, %275
  %indvars.iv.next87.1109 = add nuw nsw i64 %indvars.iv86, 2
  %exitcond89.not.1 = icmp eq i64 %indvars.iv.next87.1109, 100
  br i1 %exitcond89.not.1, label %.preheader63.1, label %266, !llvm.loop !14

285:                                              ; preds = %._crit_edge
  ret void

.preheader62:                                     ; preds = %265, %._crit_edge
  %indvar = phi i64 [ %indvar.next, %._crit_edge ], [ 0, %265 ]
  %286 = mul nuw nsw i64 %indvar, 100
  %scevgep = getelementptr i8, ptr @gr, i64 %286
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %0) #4
  call void @_ZNSt6vectorIcSaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %290

.preheader61:                                     ; preds = %296
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(100) %scevgep, i8 48, i64 100, i1 false), !tbaa !9
  %287 = call noundef i64 @_ZNKSt6vectorIcSaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %288 = trunc i64 %287 to i32
  %289 = icmp sgt i32 %288, 0
  br i1 %289, label %.lr.ph, label %._crit_edge

290:                                              ; preds = %.preheader62, %296
  %indvars.iv94 = phi i64 [ 0, %.preheader62 ], [ %indvars.iv.next95, %296 ]
  %291 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 %indvar, i64 %indvars.iv94
  %292 = load i8, ptr %291, align 1, !tbaa !9
  %.not = icmp eq i8 %292, 48
  br i1 %.not, label %296, label %293

293:                                              ; preds = %290
  invoke void @_ZNSt6vectorIcSaIcEE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(1) %291)
          to label %296 unwind label %294

294:                                              ; preds = %293
  %295 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %0) #4
  resume { ptr, i32 } %295

296:                                              ; preds = %290, %293
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %exitcond97.not = icmp eq i64 %indvars.iv.next95, 100
  br i1 %exitcond97.not, label %.preheader61, label %290, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph, %.preheader61
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %0) #4
  %indvar.next = add nuw nsw i64 %indvar, 1
  %exitcond105.not = icmp eq i64 %indvar.next, 10
  br i1 %exitcond105.not, label %285, label %.preheader62, !llvm.loop !16

.lr.ph:                                           ; preds = %.preheader61, %.lr.ph
  %indvars.iv101 = phi i64 [ %indvars.iv.next102, %.lr.ph ], [ 0, %.preheader61 ]
  %297 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv101) #4
  %298 = load i8, ptr %297, align 1, !tbaa !9
  %299 = getelementptr inbounds [10 x [100 x i8]], ptr @gr, i64 0, i64 %indvar, i64 %indvars.iv101
  store i8 %298, ptr %299, align 1, !tbaa !9
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %300 = call noundef i64 @_ZNKSt6vectorIcSaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %sext = shl i64 %300, 32
  %301 = ashr exact i64 %sext, 32
  %302 = icmp slt i64 %indvars.iv.next102, %301
  br i1 %302, label %.lr.ph, label %._crit_edge, !llvm.loop !17
}

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = distinct !{!17, !11}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass