; LLVM IR from humz2k/sugaryc :: ext/bdwgc/tests (cpp)

; 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.boehmgc::gc_allocator" = type { i8 }
%"class.boehmgc::gc_allocator_ignore_off_page" = type { i8 }
%"class.boehmgc::traceable_allocator" = type { i8 }
%class.C = type { %class.gc_cleanup, %class.A.base, i32, ptr, ptr }
%class.gc_cleanup = type { ptr }
%class.A.base = type <{ ptr, i32 }>

@.str = external hidden unnamed_addr constant [59 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z8DisguisePv(ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_Z10Undisguisem(i64 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"class.boehmgc::gc_allocator", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.boehmgc::gc_allocator_ignore_off_page", align 1
  %15 = alloca ptr, align 8
  %16 = alloca %"class.boehmgc::traceable_allocator", align 1
  %17 = alloca [1000 x i64], align 16
  %18 = alloca [1000 x i64], align 16
  %19 = alloca ptr, align 8
  %20 = alloca %class.C, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @GC_set_all_interior_pointers(i32 noundef 1)
  call void @GC_init()
  call void @GC_enable_incremental()
  %36 = call i32 @GC_get_find_leak()
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %2
  call void (ptr, ...) @GC_printf(ptr noundef @.str)
  br label %39

39:                                               ; preds = %38, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #11
  call void @_ZN7boehmgc12gc_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #11
  %40 = invoke noundef ptr @_ZN7boehmgc12gc_allocatorIiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1) %10, i64 noundef 1, ptr noundef null)
          to label %41 unwind label %51

41:                                               ; preds = %39
  call void @_ZN7boehmgc12gc_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #11
  store ptr %40, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #11
  call void @_ZN7boehmgc28gc_allocator_ignore_off_pageIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  %42 = invoke noundef ptr @_ZN7boehmgc28gc_allocator_ignore_off_pageIiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1) %14, i64 noundef 1, ptr noundef null)
          to label %43 unwind label %55

43:                                               ; preds = %41
  store ptr %42, ptr %13, align 8, !tbaa !9
  call void @_ZN7boehmgc28gc_allocator_ignore_off_pageIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #11
  %44 = load ptr, ptr %13, align 8, !tbaa !9
  call void asm sideeffect " ", "X,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %44) #11, !srcloc !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #11
  call void @_ZN7boehmgc19traceable_allocatorIPiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  %45 = invoke noundef ptr @_ZN7boehmgc19traceable_allocatorIPiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1) %16, i64 noundef 1, ptr noundef null)
          to label %46 unwind label %59

46:                                               ; preds = %43
  call void @_ZN7boehmgc19traceable_allocatorIPiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #11
  store ptr %45, ptr %15, align 8, !tbaa !9
  %47 = load ptr, ptr %9, align 8, !tbaa !9
  store i32 29, ptr %47, align 4, !tbaa !5
  %48 = load ptr, ptr %15, align 8, !tbaa !9
  %49 = icmp ne ptr %48, null
  br i1 %49, label %63, label %50

50:                                               ; preds = %46
  call void (ptr, ...) @GC_printf(ptr noundef @.str.1)
  call void @exit(i32 noundef 69) #12
  unreachable

51:                                               ; preds = %39
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %11, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %12, align 4
  call void @_ZN7boehmgc12gc_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #11
  br label %312

55:                                               ; preds = %41
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %11, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %12, align 4
  call void @_ZN7boehmgc28gc_allocator_ignore_off_pageIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #11
  br label %311

59:                                               ; preds = %43
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %11, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %12, align 4
  call void @_ZN7boehmgc19traceable_allocatorIPiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #11
  br label %310

63:                                               ; preds = %46
  %64 = load ptr, ptr %15, align 8, !tbaa !9
  %65 = load ptr, ptr %9, align 8, !tbaa !9
  call void @GC_ptr_store_and_dirty(ptr noundef %64, ptr noundef %65)
  store ptr null, ptr %9, align 8, !tbaa !9
  %66 = load i32, ptr %4, align 4, !tbaa !5
  %67 = icmp ne i32 %66, 2
  br i1 %67, label %74, label %68

68:                                               ; preds = %63
  %69 = load ptr, ptr %5, align 8, !tbaa !9
  %70 = getelementptr inbounds ptr, ptr %69, i64 1
  %71 = load ptr, ptr %70, align 8, !tbaa !9
  %72 = call i32 @atoi(ptr noundef %71) #13
  store i32 %72, ptr %8, align 4, !tbaa !5
  %73 = icmp sle i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %68, %63
  call void (ptr, ...) @GC_printf(ptr noundef @.str.2, i32 noundef 7)
  store i32 7, ptr %8, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %74, %68
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %297, %75
  %77 = load i32, ptr %7, align 4, !tbaa !5
  %78 = load i32, ptr %8, align 4, !tbaa !5
  %79 = icmp sle i32 %77, %78
  br i1 %79, label %80, label %301

80:                                               ; preds = %76
  %81 = load i32, ptr %7, align 4, !tbaa !5
  call void (ptr, ...) @GC_printf(ptr noundef @.str.3, i32 noundef %81)
  call void @llvm.lifetime.start.p0(i64 8000, ptr %17) #11
  call void @llvm.lifetime.start.p0(i64 8000, ptr %18) #11
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %100, %80
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = icmp slt i32 %83, 1000
  br i1 %84, label %85, label %111

85:                                               ; preds = %82
  %86 = call noundef ptr @_Znwm11GCPlacementPFvPvS0_ES0_(i64 noundef 16, i32 noundef 1, ptr noundef null, ptr noundef null)
  %87 = load i32, ptr %6, align 4, !tbaa !5
  invoke void @_ZN1AC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %86, i32 noundef %87)
          to label %88 unwind label %103

88:                                               ; preds = %85
  %89 = call noundef i64 @_Z8DisguisePv(ptr noundef %86)
  %90 = load i32, ptr %6, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [1000 x i64], ptr %17, i64 0, i64 %91
  store i64 %89, ptr %92, align 8, !tbaa !12
  %93 = call noundef ptr @_ZN2gcnwEm11GCPlacement(i64 noundef 16, i32 noundef 1)
  %94 = load i32, ptr %6, align 4, !tbaa !5
  invoke void @_ZN1BC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %93, i32 noundef %94)
          to label %95 unwind label %107

95:                                               ; preds = %88
  %96 = call noundef i64 @_Z8DisguisePv(ptr noundef %93)
  %97 = load i32, ptr %6, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [1000 x i64], ptr %18, i64 0, i64 %98
  store i64 %96, ptr %99, align 8, !tbaa !12
  br label %100

100:                                              ; preds = %95
  %101 = load i32, ptr %6, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %6, align 4, !tbaa !5
  br label %82, !llvm.loop !14

103:                                              ; preds = %85
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %11, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %12, align 4
  call void @_ZdlPv11GCPlacementPFvS_S_ES_(ptr noundef %86, i32 noundef 1, ptr noundef null, ptr noundef null) #11
  br label %300

107:                                              ; preds = %88
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %11, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %12, align 4
  call void @_ZN2gcdlEPv11GCPlacement(ptr noundef %93, i32 noundef 1) #11
  br label %300

111:                                              ; preds = %82
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %112

112:                                              ; preds = %189, %111
  %113 = load i32, ptr %6, align 4, !tbaa !5
  %114 = icmp slt i32 %113, 1000
  br i1 %114, label %115, label %195

115:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %116 = call noundef ptr @_ZN2gcnwEm(i64 noundef 40)
  invoke void @_ZN1CC1Ei(ptr noundef nonnull align 8 dereferenceable(40) %116, i32 noundef 2)
          to label %117 unwind label %158

117:                                              ; preds = %115
  store ptr %116, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #11
  call void @_ZN1CC1Ei(ptr noundef nonnull align 8 dereferenceable(40) %20, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  %118 = load i32, ptr %6, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = inttoptr i64 %119 to ptr
  %121 = invoke noundef ptr @_Znwm11GCPlacementPFvPvS0_ES0_(i64 noundef 4, i32 noundef 0, ptr noundef @_ZN1D7CleanUpEPvS0_, ptr noundef %120)
          to label %122 unwind label %162

122:                                              ; preds = %117
  %123 = load i32, ptr %6, align 4, !tbaa !5
  invoke void @_ZN1DC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %121, i32 noundef %123)
          to label %124 unwind label %166

124:                                              ; preds = %122
  store ptr %121, ptr %21, align 8, !tbaa !9
  %125 = load ptr, ptr %21, align 8, !tbaa !9
  call void asm sideeffect " ", "X,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %125) #11, !srcloc !16
  %126 = invoke noundef ptr @_ZN2gcnwEm(i64 noundef 16)
          to label %127 unwind label %162

127:                                              ; preds = %124
  invoke void @_ZN1FC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %126)
          to label %128 unwind label %170

128:                                              ; preds = %127
  store ptr %126, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #11
  %129 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef 8) #14
          to label %130 unwind label %174

130:                                              ; preds = %128
  store ptr %129, ptr %23, align 8, !tbaa !9
  %131 = load ptr, ptr %22, align 8, !tbaa !9
  %132 = load ptr, ptr %23, align 8, !tbaa !9
  %133 = getelementptr inbounds ptr, ptr %132, i64 0
  store ptr %131, ptr %133, align 8, !tbaa !9
  %134 = load ptr, ptr %23, align 8, !tbaa !9
  %135 = icmp eq ptr %134, null
  br i1 %135, label %137, label %136

136:                                              ; preds = %130
  call void @_ZdaPv(ptr noundef %134) #15
  br label %137

137:                                              ; preds = %136, %130
  %138 = load i32, ptr %6, align 4, !tbaa !5
  %139 = srem i32 %138, 10
  %140 = icmp eq i32 0, %139
  br i1 %140, label %141, label %188

141:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #11
  %142 = invoke i64 @GC_get_expl_freed_bytes_since_gc()
          to label %143 unwind label %178

143:                                              ; preds = %141
  store i64 %142, ptr %24, align 8, !tbaa !12
  %144 = load ptr, ptr %19, align 8, !tbaa !9
  %145 = icmp eq ptr %144, null
  br i1 %145, label %150, label %146

146:                                              ; preds = %143
  %147 = load ptr, ptr %144, align 8, !tbaa !17
  %148 = getelementptr inbounds ptr, ptr %147, i64 1
  %149 = load ptr, ptr %148, align 8
  call void %149(ptr noundef nonnull align 8 dereferenceable(40) %144) #11
  br label %150

150:                                              ; preds = %146, %143
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #11
  %151 = invoke i64 @GC_get_expl_freed_bytes_since_gc()
          to label %152 unwind label %182

152:                                              ; preds = %150
  store i64 %151, ptr %25, align 8, !tbaa !12
  %153 = load i64, ptr %24, align 8, !tbaa !12
  %154 = load i64, ptr %25, align 8, !tbaa !12
  %155 = icmp ne i64 %153, %154
  br i1 %155, label %186, label %156

156:                                              ; preds = %152
  invoke void (ptr, ...) @GC_printf(ptr noundef @.str.4, i32 noundef 375)
          to label %157 unwind label %182

157:                                              ; preds = %156
  call void @exit(i32 noundef 1) #12
  unreachable

158:                                              ; preds = %115
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %11, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %12, align 4
  call void @_ZN2gcdlEPv(ptr noundef %116) #11
  br label %194

162:                                              ; preds = %124, %117
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %11, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %12, align 4
  br label %193

166:                                              ; preds = %122
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %11, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %12, align 4
  call void @_ZdlPv11GCPlacementPFvS_S_ES_(ptr noundef %121, i32 noundef 0, ptr noundef @_ZN1D7CleanUpEPvS0_, ptr noundef %120) #11
  br label %193

170:                                              ; preds = %127
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %11, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %12, align 4
  call void @_ZN2gcdlEPv(ptr noundef %126) #11
  br label %193

174:                                              ; preds = %128
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %11, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %12, align 4
  br label %192

178:                                              ; preds = %141
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %11, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %12, align 4
  br label %187

182:                                              ; preds = %156, %150
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %11, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  br label %187

186:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  br label %188

187:                                              ; preds = %182, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  br label %192

188:                                              ; preds = %186, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  call void @_ZN1CD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  br label %189

189:                                              ; preds = %188
  %190 = load i32, ptr %6, align 4, !tbaa !5
  %191 = add nsw i32 %190, 1
  store i32 %191, ptr %6, align 4, !tbaa !5
  br label %112, !llvm.loop !19

192:                                              ; preds = %187, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  br label %193

193:                                              ; preds = %192, %170, %166, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #11
  call void @_ZN1CD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #11
  br label %194

194:                                              ; preds = %193, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  br label %300

195:                                              ; preds = %112
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %196

196:                                              ; preds = %241, %195
  %197 = load i32, ptr %6, align 4, !tbaa !5
  %198 = icmp slt i32 %197, 1000000
  br i1 %198, label %199, label %246

199:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %200 = call noundef ptr @_Znwm11GCPlacementPFvPvS0_ES0_(i64 noundef 16, i32 noundef 0, ptr noundef null, ptr noundef null)
  %201 = load i32, ptr %6, align 4, !tbaa !5
  invoke void @_ZN1AC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %200, i32 noundef %201)
          to label %202 unwind label %227

202:                                              ; preds = %199
  store ptr %200, ptr %26, align 8, !tbaa !9
  %203 = load ptr, ptr %26, align 8, !tbaa !9
  call void asm sideeffect " ", "X,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %203) #11, !srcloc !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  %204 = call noundef ptr @_ZN2gcnwEm(i64 noundef 16)
  %205 = load i32, ptr %6, align 4, !tbaa !5
  invoke void @_ZN1BC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %204, i32 noundef %205)
          to label %206 unwind label %231

206:                                              ; preds = %202
  store ptr %204, ptr %27, align 8, !tbaa !9
  %207 = call noundef ptr @_ZN2gcnwEm11GCPlacement(i64 noundef 16, i32 noundef 0)
  %208 = load i32, ptr %6, align 4, !tbaa !5
  invoke void @_ZN1BC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %207, i32 noundef %208)
          to label %209 unwind label %235

209:                                              ; preds = %206
  store ptr %207, ptr %27, align 8, !tbaa !9
  %210 = load i32, ptr %6, align 4, !tbaa !5
  %211 = srem i32 %210, 10
  %212 = icmp eq i32 0, %211
  br i1 %212, label %213, label %240

213:                                              ; preds = %209
  call void @_ZN1B8DeletingEi(i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %214 = call i64 @GC_get_expl_freed_bytes_since_gc()
  store i64 %214, ptr %28, align 8, !tbaa !12
  %215 = load ptr, ptr %27, align 8, !tbaa !9
  %216 = icmp eq ptr %215, null
  br i1 %216, label %221, label %217

217:                                              ; preds = %213
  %218 = load ptr, ptr %215, align 8, !tbaa !17
  %219 = getelementptr inbounds ptr, ptr %218, i64 1
  %220 = load ptr, ptr %219, align 8
  call void %220(ptr noundef nonnull align 8 dereferenceable(12) %215) #11
  br label %221

221:                                              ; preds = %217, %213
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  %222 = call i64 @GC_get_expl_freed_bytes_since_gc()
  store i64 %222, ptr %29, align 8, !tbaa !12
  %223 = load i64, ptr %28, align 8, !tbaa !12
  %224 = load i64, ptr %29, align 8, !tbaa !12
  %225 = icmp ne i64 %223, %224
  br i1 %225, label %239, label %226

226:                                              ; preds = %221
  call void (ptr, ...) @GC_printf(ptr noundef @.str.4, i32 noundef 391)
  call void @exit(i32 noundef 1) #12
  unreachable

227:                                              ; preds = %199
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %11, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %12, align 4
  call void @_ZdlPv11GCPlacementPFvS_S_ES_(ptr noundef %200, i32 noundef 0, ptr noundef null, ptr noundef null) #11
  br label %245

231:                                              ; preds = %202
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %11, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %12, align 4
  call void @_ZN2gcdlEPv(ptr noundef %204) #11
  br label %244

235:                                              ; preds = %206
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %11, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %12, align 4
  call void @_ZN2gcdlEPv11GCPlacement(ptr noundef %207, i32 noundef 0) #11
  br label %244

239:                                              ; preds = %221
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @_ZN1B8DeletingEi(i32 noundef 0)
  br label %240

240:                                              ; preds = %239, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  br label %241

241:                                              ; preds = %240
  %242 = load i32, ptr %6, align 4, !tbaa !5
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %6, align 4, !tbaa !5
  br label %196, !llvm.loop !21

244:                                              ; preds = %235, %231
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %245

245:                                              ; preds = %244, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  br label %300

246:                                              ; preds = %196
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %247

247:                                              ; preds = %293, %246
  %248 = load i32, ptr %6, align 4, !tbaa !5
  %249 = icmp slt i32 %248, 1000
  br i1 %249, label %250, label %296

250:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  %251 = load i32, ptr %6, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [1000 x i64], ptr %17, i64 0, i64 %252
  %254 = load i64, ptr %253, align 8, !tbaa !12
  %255 = call noundef ptr @_Z10Undisguisem(i64 noundef %254)
  store ptr %255, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  %256 = load i32, ptr %6, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds [1000 x i64], ptr %18, i64 0, i64 %257
  %259 = load i64, ptr %258, align 8, !tbaa !12
  %260 = call noundef ptr @_Z10Undisguisem(i64 noundef %259)
  store ptr %260, ptr %31, align 8, !tbaa !9
  %261 = load ptr, ptr %30, align 8, !tbaa !9
  %262 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN1A4TestEi(ptr noundef nonnull align 8 dereferenceable(12) %261, i32 noundef %262)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #11
  %263 = call i64 @GC_get_expl_freed_bytes_since_gc()
  store i64 %263, ptr %32, align 8, !tbaa !12
  %264 = load ptr, ptr %30, align 8, !tbaa !9
  %265 = icmp eq ptr %264, null
  br i1 %265, label %270, label %266

266:                                              ; preds = %250
  %267 = load ptr, ptr %264, align 8, !tbaa !17
  %268 = getelementptr inbounds ptr, ptr %267, i64 1
  %269 = load ptr, ptr %268, align 8
  call void %269(ptr noundef nonnull align 8 dereferenceable(12) %264) #11
  br label %270

270:                                              ; preds = %266, %250
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #11
  %271 = call i64 @GC_get_expl_freed_bytes_since_gc()
  store i64 %271, ptr %33, align 8, !tbaa !12
  %272 = load i64, ptr %32, align 8, !tbaa !12
  %273 = load i64, ptr %33, align 8, !tbaa !12
  %274 = icmp ne i64 %272, %273
  br i1 %274, label %276, label %275

275:                                              ; preds = %270
  call void (ptr, ...) @GC_printf(ptr noundef @.str.4, i32 noundef 409)
  call void @exit(i32 noundef 1) #12
  unreachable

276:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #11
  %277 = load ptr, ptr %31, align 8, !tbaa !9
  %278 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN1A4TestEi(ptr noundef nonnull align 8 dereferenceable(12) %277, i32 noundef %278)
  call void @_ZN1B8DeletingEi(i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %279 = call i64 @GC_get_expl_freed_bytes_since_gc()
  store i64 %279, ptr %34, align 8, !tbaa !12
  %280 = load ptr, ptr %31, align 8, !tbaa !9
  %281 = icmp eq ptr %280, null
  br i1 %281, label %286, label %282

282:                                              ; preds = %276
  %283 = load ptr, ptr %280, align 8, !tbaa !17
  %284 = getelementptr inbounds ptr, ptr %283, i64 1
  %285 = load ptr, ptr %284, align 8
  call void %285(ptr noundef nonnull align 8 dereferenceable(12) %280) #11
  br label %286

286:                                              ; preds = %282, %276
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %287 = call i64 @GC_get_expl_freed_bytes_since_gc()
  store i64 %287, ptr %35, align 8, !tbaa !12
  %288 = load i64, ptr %34, align 8, !tbaa !12
  %289 = load i64, ptr %35, align 8, !tbaa !12
  %290 = icmp ne i64 %288, %289
  br i1 %290, label %292, label %291

291:                                              ; preds = %286
  call void (ptr, ...) @GC_printf(ptr noundef @.str.4, i32 noundef 413)
  call void @exit(i32 noundef 1) #12
  unreachable

292:                                              ; preds = %286
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  call void @_ZN1B8DeletingEi(i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  br label %293

293:                                              ; preds = %292
  %294 = load i32, ptr %6, align 4, !tbaa !5
  %295 = add nsw i32 %294, 1
  store i32 %295, ptr %6, align 4, !tbaa !5
  br label %247, !llvm.loop !22

296:                                              ; preds = %247
  call void @_ZN1C4TestEv()
  call void @_ZN1D4TestEv()
  call void @_ZN1F4TestEv()
  call void @llvm.lifetime.end.p0(i64 8000, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8000, ptr %17) #11
  br label %297

297:                                              ; preds = %296
  %298 = load i32, ptr %7, align 4, !tbaa !5
  %299 = add nsw i32 %298, 1
  store i32 %299, ptr %7, align 4, !tbaa !5
  br label %76, !llvm.loop !23

300:                                              ; preds = %245, %194, %107, %103
  call void @llvm.lifetime.end.p0(i64 8000, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8000, ptr %17) #11
  br label %310

301:                                              ; preds = %76
  %302 = load ptr, ptr %15, align 8, !tbaa !9
  %303 = load ptr, ptr %302, align 8, !tbaa !9
  store ptr %303, ptr %9, align 8, !tbaa !9
  %304 = load ptr, ptr %9, align 8, !tbaa !9
  %305 = getelementptr inbounds i32, ptr %304, i64 0
  %306 = load i32, ptr %305, align 4, !tbaa !5
  %307 = icmp eq i32 29, %306
  br i1 %307, label %309, label %308

308:                                              ; preds = %301
  call void (ptr, ...) @GC_printf(ptr noundef @.str.5, i32 noundef 427)
  call void @exit(i32 noundef 1) #12
  unreachable

309:                                              ; preds = %301
  call void (ptr, ...) @GC_printf(ptr noundef @.str.6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #11
  ret i32 0

310:                                              ; preds = %300, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  br label %311

311:                                              ; preds = %310, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  br label %312

312:                                              ; preds = %311, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #11
  br label %313

313:                                              ; preds = %312
  %314 = load ptr, ptr %11, align 8
  %315 = load i32, ptr %12, align 4
  %316 = insertvalue { ptr, i32 } poison, ptr %314, 0
  %317 = insertvalue { ptr, i32 } %316, i32 %315, 1
  resume { ptr, i32 } %317
}

declare void @GC_set_all_interior_pointers(i32 noundef) #2

declare void @GC_init() #2

declare void @GC_enable_incremental() #2

declare i32 @GC_get_find_leak() #2

declare void @GC_printf(ptr noundef, ...) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7boehmgc12gc_allocatorIiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, ptr noundef) #4 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7boehmgc28gc_allocator_ignore_off_pageIiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, ptr noundef) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7boehmgc19traceable_allocatorIPiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, ptr noundef) #4 align 2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

declare void @GC_ptr_store_and_dirty(ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Znwm11GCPlacementPFvPvS0_ES0_(i64 noundef, i32 noundef, ptr noundef, ptr noundef) #7

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZdlPv11GCPlacementPFvS_S_ES_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN2gcnwEm11GCPlacement(i64 noundef, i32 noundef) #7 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2gcdlEPv11GCPlacement(ptr noundef, i32 noundef) #8 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN2gcnwEm(i64 noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1CC1Ei(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2gcdlEPv(ptr noundef) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1D7CleanUpEPvS0_(ptr noundef, ptr noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN1DC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1FC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

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

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

declare i64 @GC_get_expl_freed_bytes_since_gc() #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN1B8DeletingEi(i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1A4TestEi(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1C4TestEv() #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1D4TestEv() #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1F4TestEv() #4 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind willreturn memory(read) 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 #7 = { 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 #8 = { 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 #9 = { 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 #10 = { 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 #11 = { nounwind }
attributes #12 = { noreturn nounwind }
attributes #13 = { nounwind willreturn memory(read) }
attributes #14 = { builtin allocsize(0) }
attributes #15 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{i64 2148395669}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{i64 2148395801}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !8, i64 0}
!19 = distinct !{!19, !15}
!20 = !{i64 2148396416}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}


; 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.boehmgc::gc_allocator" = type { i8 }
%"class.boehmgc::gc_allocator_ignore_off_page" = type { i8 }
%"class.boehmgc::traceable_allocator" = type { i8 }
%class.C = type { %class.gc_cleanup, %class.A.base, i32, ptr, ptr }
%class.gc_cleanup = type { ptr }
%class.A.base = type <{ ptr, i32 }>

@.str = external hidden unnamed_addr constant [59 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z8DisguisePv(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_Z10Undisguisem(i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.boehmgc::gc_allocator", align 1
  %4 = alloca %"class.boehmgc::gc_allocator_ignore_off_page", align 1
  %5 = alloca %"class.boehmgc::traceable_allocator", align 1
  %6 = alloca [1000 x i64], align 16
  %7 = alloca [1000 x i64], align 16
  %8 = alloca %class.C, align 8
  tail call void @GC_set_all_interior_pointers(i32 noundef 1)
  tail call void @GC_init()
  tail call void @GC_enable_incremental()
  %9 = tail call i32 @GC_get_find_leak()
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %11, label %10

10:                                               ; preds = %2
  tail call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str)
  br label %11

11:                                               ; preds = %10, %2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #9
  call void @_ZN7boehmgc12gc_allocatorIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  %12 = invoke noundef ptr @_ZN7boehmgc12gc_allocatorIiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1) %3, i64 noundef 1, ptr noundef null)
          to label %13 unwind label %19

13:                                               ; preds = %11
  call void @_ZN7boehmgc12gc_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #9
  call void @_ZN7boehmgc28gc_allocator_ignore_off_pageIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  %14 = invoke noundef ptr @_ZN7boehmgc28gc_allocator_ignore_off_pageIiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef 1, ptr noundef null)
          to label %15 unwind label %21

15:                                               ; preds = %13
  call void @_ZN7boehmgc28gc_allocator_ignore_off_pageIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #9
  call void asm sideeffect " ", "X,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %14) #9, !srcloc !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #9
  call void @_ZN7boehmgc19traceable_allocatorIPiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %16 = invoke noundef ptr @_ZN7boehmgc19traceable_allocatorIPiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1) %5, i64 noundef 1, ptr noundef null)
          to label %17 unwind label %23

17:                                               ; preds = %15
  call void @_ZN7boehmgc19traceable_allocatorIPiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  store i32 29, ptr %12, align 4, !tbaa !6
  %.not71 = icmp eq ptr %16, null
  br i1 %.not71, label %18, label %25

18:                                               ; preds = %17
  call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.1)
  call void @exit(i32 noundef 69) #10
  unreachable

19:                                               ; preds = %11
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7boehmgc12gc_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #9
  br label %115

21:                                               ; preds = %13
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7boehmgc28gc_allocator_ignore_off_pageIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #9
  br label %115

23:                                               ; preds = %15
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7boehmgc19traceable_allocatorIPiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  br label %115

25:                                               ; preds = %17
  call void @GC_ptr_store_and_dirty(ptr noundef nonnull %16, ptr noundef nonnull %12)
  %.not72 = icmp eq i32 %0, 2
  br i1 %.not72, label %26, label %31

26:                                               ; preds = %25
  %27 = getelementptr inbounds i8, ptr %1, i64 8
  %28 = load ptr, ptr %27, align 8, !tbaa !10
  %29 = call i32 @atoi(ptr nocapture noundef %28) #11
  %30 = icmp slt i32 %29, 1
  br i1 %30, label %31, label %.lr.ph.preheader

31:                                               ; preds = %26, %25
  call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.2, i32 noundef 7)
  br label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %26, %31
  %.057 = phi i32 [ 7, %31 ], [ %29, %26 ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %108
  %.056101 = phi i32 [ %109, %108 ], [ 1, %.lr.ph.preheader ]
  call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.3, i32 noundef %.056101)
  call void @llvm.lifetime.start.p0(i64 8000, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 8000, ptr nonnull %7) #9
  br label %32

32:                                               ; preds = %.lr.ph, %32
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %32 ]
  %33 = call noundef ptr @_Znwm11GCPlacementPFvPvS0_ES0_(i64 noundef 16, i32 noundef 1, ptr noundef null, ptr noundef null)
  %34 = trunc nuw nsw i64 %indvars.iv to i32
  call void @_ZN1AC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %33, i32 noundef %34)
  %35 = call noundef i64 @_Z8DisguisePv(ptr noundef nonnull %33)
  %36 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %indvars.iv
  store i64 %35, ptr %36, align 8, !tbaa !12
  %37 = call noundef ptr @_ZN2gcnwEm11GCPlacement(i64 noundef 16, i32 noundef 1)
  call void @_ZN1BC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %37, i32 noundef %34)
  %38 = call noundef i64 @_Z8DisguisePv(ptr noundef nonnull %37)
  %39 = getelementptr inbounds [1000 x i64], ptr %7, i64 0, i64 %indvars.iv
  store i64 %38, ptr %39, align 8, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1000
  br i1 %exitcond.not, label %.preheader86, label %32, !llvm.loop !14

.preheader86:                                     ; preds = %32, %69
  %indvars.iv114 = phi i64 [ %indvars.iv.next115, %69 ], [ 0, %32 ]
  %40 = call noundef ptr @_ZN2gcnwEm(i64 noundef 40)
  invoke void @_ZN1CC1Ei(ptr noundef nonnull align 8 dereferenceable(40) %40, i32 noundef 2)
          to label %41 unwind label %61

41:                                               ; preds = %.preheader86
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #9
  call void @_ZN1CC1Ei(ptr noundef nonnull align 8 dereferenceable(40) %8, i32 noundef 2)
  %42 = inttoptr i64 %indvars.iv114 to ptr
  %43 = invoke noundef ptr @_Znwm11GCPlacementPFvPvS0_ES0_(i64 noundef 4, i32 noundef 0, ptr noundef nonnull @_ZN1D7CleanUpEPvS0_, ptr noundef %42)
          to label %44 unwind label %63

44:                                               ; preds = %41
  %45 = trunc nuw nsw i64 %indvars.iv114 to i32
  call void @_ZN1DC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %43, i32 noundef %45)
  call void asm sideeffect " ", "X,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr nonnull %43) #9, !srcloc !16
  %46 = invoke noundef ptr @_ZN2gcnwEm(i64 noundef 16)
          to label %47 unwind label %63

47:                                               ; preds = %44
  invoke void @_ZN1FC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %48 unwind label %65

48:                                               ; preds = %47
  %.lhs.trunc = trunc i64 %indvars.iv114 to i16
  %49 = urem i16 %.lhs.trunc, 10
  %50 = icmp eq i16 %49, 0
  br i1 %50, label %51, label %69

51:                                               ; preds = %48
  %52 = invoke i64 @GC_get_expl_freed_bytes_since_gc()
          to label %53 unwind label %67

53:                                               ; preds = %51
  %54 = load ptr, ptr %40, align 8, !tbaa !17
  %55 = getelementptr inbounds i8, ptr %54, i64 8
  %56 = load ptr, ptr %55, align 8
  call void %56(ptr noundef nonnull align 8 dereferenceable(40) %40) #9
  %57 = invoke i64 @GC_get_expl_freed_bytes_since_gc()
          to label %58 unwind label %.loopexit

58:                                               ; preds = %53
  %.not77 = icmp eq i64 %52, %57
  br i1 %.not77, label %59, label %69

59:                                               ; preds = %58
  invoke void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.4, i32 noundef 375)
          to label %60 unwind label %.loopexit.split-lp

60:                                               ; preds = %59
  call void @exit(i32 noundef 1) #10
  unreachable

61:                                               ; preds = %.preheader86
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2gcdlEPv(ptr noundef %40) #9
  br label %71

63:                                               ; preds = %44, %41
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %70

65:                                               ; preds = %47
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2gcdlEPv(ptr noundef %46) #9
  br label %70

67:                                               ; preds = %51
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %70

.loopexit:                                        ; preds = %53
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %70

.loopexit.split-lp:                               ; preds = %59
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %70

69:                                               ; preds = %58, %48
  call void @_ZN1CD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #9
  %indvars.iv.next115 = add nuw nsw i64 %indvars.iv114, 1
  %exitcond117.not = icmp eq i64 %indvars.iv.next115, 1000
  br i1 %exitcond117.not, label %.preheader85, label %.preheader86, !llvm.loop !19

70:                                               ; preds = %.loopexit, %.loopexit.split-lp, %67, %65, %63
  %.pn.pn.pn = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ], [ %68, %67 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN1CD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #9
  br label %71

71:                                               ; preds = %70, %61
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %70 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 8000, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8000, ptr nonnull %6) #9
  br label %115

.preheader85:                                     ; preds = %69, %85
  %.298 = phi i32 [ %86, %85 ], [ 0, %69 ]
  %72 = call noundef ptr @_Znwm11GCPlacementPFvPvS0_ES0_(i64 noundef 16, i32 noundef 0, ptr noundef null, ptr noundef null)
  call void @_ZN1AC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %72, i32 noundef %.298)
  call void asm sideeffect " ", "X,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr nonnull %72) #9, !srcloc !20
  %73 = call noundef ptr @_ZN2gcnwEm(i64 noundef 16)
  call void @_ZN1BC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %73, i32 noundef %.298)
  %74 = call noundef ptr @_ZN2gcnwEm11GCPlacement(i64 noundef 16, i32 noundef 0)
  call void @_ZN1BC2Ei(ptr noundef nonnull align 8 dereferenceable(12) %74, i32 noundef %.298)
  %75 = urem i32 %.298, 10
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %77, label %85

77:                                               ; preds = %.preheader85
  call void @_ZN1B8DeletingEi(i32 noundef 1)
  %78 = call i64 @GC_get_expl_freed_bytes_since_gc()
  %79 = load ptr, ptr %74, align 8, !tbaa !17
  %80 = getelementptr inbounds i8, ptr %79, i64 8
  %81 = load ptr, ptr %80, align 8
  call void %81(ptr noundef nonnull align 8 dereferenceable(12) %74) #9
  %82 = call i64 @GC_get_expl_freed_bytes_since_gc()
  %.not76 = icmp eq i64 %78, %82
  br i1 %.not76, label %83, label %84

83:                                               ; preds = %77
  call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.4, i32 noundef 391)
  call void @exit(i32 noundef 1) #10
  unreachable

84:                                               ; preds = %77
  call void @_ZN1B8DeletingEi(i32 noundef 0)
  br label %85

85:                                               ; preds = %84, %.preheader85
  %86 = add nuw nsw i32 %.298, 1
  %exitcond118.not = icmp eq i32 %86, 1000000
  br i1 %exitcond118.not, label %.preheader, label %.preheader85, !llvm.loop !21

.preheader:                                       ; preds = %85, %107
  %indvars.iv119 = phi i64 [ %indvars.iv.next120, %107 ], [ 0, %85 ]
  %87 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %indvars.iv119
  %88 = load i64, ptr %87, align 8, !tbaa !12
  %89 = call noundef ptr @_Z10Undisguisem(i64 noundef %88)
  %90 = getelementptr inbounds [1000 x i64], ptr %7, i64 0, i64 %indvars.iv119
  %91 = load i64, ptr %90, align 8, !tbaa !12
  %92 = call noundef ptr @_Z10Undisguisem(i64 noundef %91)
  %93 = trunc nuw nsw i64 %indvars.iv119 to i32
  call void @_ZN1A4TestEi(ptr noundef nonnull align 8 dereferenceable(12) %89, i32 noundef %93)
  %94 = call i64 @GC_get_expl_freed_bytes_since_gc()
  %95 = load ptr, ptr %89, align 8, !tbaa !17
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = load ptr, ptr %96, align 8
  call void %97(ptr noundef nonnull align 8 dereferenceable(12) %89) #9
  %98 = call i64 @GC_get_expl_freed_bytes_since_gc()
  %.not74 = icmp eq i64 %94, %98
  br i1 %.not74, label %99, label %100

99:                                               ; preds = %.preheader
  call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.4, i32 noundef 409)
  call void @exit(i32 noundef 1) #10
  unreachable

100:                                              ; preds = %.preheader
  call void @_ZN1A4TestEi(ptr noundef nonnull align 8 dereferenceable(12) %92, i32 noundef %93)
  call void @_ZN1B8DeletingEi(i32 noundef 1)
  %101 = call i64 @GC_get_expl_freed_bytes_since_gc()
  %102 = load ptr, ptr %92, align 8, !tbaa !17
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = load ptr, ptr %103, align 8
  call void %104(ptr noundef nonnull align 8 dereferenceable(12) %92) #9
  %105 = call i64 @GC_get_expl_freed_bytes_since_gc()
  %.not75 = icmp eq i64 %101, %105
  br i1 %.not75, label %106, label %107

106:                                              ; preds = %100
  call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.4, i32 noundef 413)
  call void @exit(i32 noundef 1) #10
  unreachable

107:                                              ; preds = %100
  call void @_ZN1B8DeletingEi(i32 noundef 0)
  %indvars.iv.next120 = add nuw nsw i64 %indvars.iv119, 1
  %exitcond122.not = icmp eq i64 %indvars.iv.next120, 1000
  br i1 %exitcond122.not, label %108, label %.preheader, !llvm.loop !22

108:                                              ; preds = %107
  call void @_ZN1C4TestEv()
  call void @_ZN1D4TestEv()
  call void @_ZN1F4TestEv()
  call void @llvm.lifetime.end.p0(i64 8000, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8000, ptr nonnull %6) #9
  %109 = add nuw i32 %.056101, 1
  %exitcond123.not = icmp eq i32 %.056101, %.057
  br i1 %exitcond123.not, label %._crit_edge, label %.lr.ph, !llvm.loop !23

._crit_edge:                                      ; preds = %108
  %110 = load ptr, ptr %16, align 8, !tbaa !10
  %111 = load i32, ptr %110, align 4, !tbaa !6
  %112 = icmp eq i32 %111, 29
  br i1 %112, label %114, label %113

113:                                              ; preds = %._crit_edge
  call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.5, i32 noundef 427)
  call void @exit(i32 noundef 1) #10
  unreachable

114:                                              ; preds = %._crit_edge
  call void (ptr, ...) @GC_printf(ptr noundef nonnull @.str.6)
  ret i32 0

115:                                              ; preds = %21, %71, %23, %19
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %20, %19 ], [ %22, %21 ], [ %.pn.pn.pn.pn, %71 ], [ %24, %23 ]
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn
}

declare void @GC_set_all_interior_pointers(i32 noundef) local_unnamed_addr #2

declare void @GC_init() local_unnamed_addr #2

declare void @GC_enable_incremental() local_unnamed_addr #2

declare i32 @GC_get_find_leak() local_unnamed_addr #2

declare void @GC_printf(ptr noundef, ...) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7boehmgc12gc_allocatorIiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, ptr noundef) local_unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7boehmgc28gc_allocator_ignore_off_pageIiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, ptr noundef) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7boehmgc19traceable_allocatorIPiE8allocateEmPKv(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

declare void @GC_ptr_store_and_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Znwm11GCPlacementPFvPvS0_ES0_(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN2gcnwEm11GCPlacement(i64 noundef, i32 noundef) local_unnamed_addr #7 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN2gcnwEm(i64 noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1CC1Ei(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2gcdlEPv(ptr noundef) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1D7CleanUpEPvS0_(ptr noundef, ptr noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN1DC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1FC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

declare i64 @GC_get_expl_freed_bytes_since_gc() local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN1B8DeletingEi(i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1A4TestEi(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1C4TestEv() local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1D4TestEv() local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN1F4TestEv() local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #7 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { nounwind willreturn memory(read) }

!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 = !{i64 2148395669}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{i64 2148395801}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !9, i64 0}
!19 = distinct !{!19, !15}
!20 = !{i64 2148396416}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass