; LLVM IR from DanEngelbrecht/longtail :: lib/memtracer (longtail_memtracer)

; 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"

%struct.MemTracer_Context = type { ptr, [128 x %struct.MemTracer_ContextStats], ptr, i64, i64, i64, i64, i64, i64, i32 }
%struct.MemTracer_ContextStats = type { i64, i64, i64, i64, i64, i64, i64, i64, ptr }

@gMemTracer_Context = external hidden global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @Longtail_MemTracer_DumpStats(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %10 = call noalias ptr @malloc(i64 noundef 65536) #6
  store ptr %10, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %11, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.MemTracer_Context, ptr %12, i32 0, i32 2
  %14 = load ptr, ptr %13, align 8, !tbaa !11
  call void @Longtail_LockSpinLock(ptr noundef %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef @.str.1) #5
  store i32 %16, ptr %6, align 4, !tbaa !14
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = load i32, ptr %6, align 4, !tbaa !14
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds i8, ptr %17, i64 %19
  store ptr %20, ptr %5, align 8, !tbaa !5
  %21 = load i32, ptr %6, align 4, !tbaa !14
  %22 = sext i32 %21 to i64
  %23 = load i64, ptr %4, align 8, !tbaa !9
  %24 = add i64 %23, %22
  store i64 %24, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !14
  br label %25

25:                                               ; preds = %163, %1
  %26 = load i32, ptr %7, align 4, !tbaa !14
  %27 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.MemTracer_Context, ptr %27, i32 0, i32 9
  %29 = load i32, ptr %28, align 8, !tbaa !15
  %30 = icmp ult i32 %26, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %166

32:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %33 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.MemTracer_Context, ptr %33, i32 0, i32 1
  %35 = load i32, ptr %7, align 4, !tbaa !14
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds [128 x %struct.MemTracer_ContextStats], ptr %34, i64 0, i64 %36
  store ptr %37, ptr %8, align 8, !tbaa !5
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %39, i32 0, i32 8
  %41 = load ptr, ptr %40, align 8, !tbaa !16
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %47

43:                                               ; preds = %32
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %44, i32 0, i32 8
  %46 = load ptr, ptr %45, align 8, !tbaa !16
  br label %48

47:                                               ; preds = %32
  br label %48

48:                                               ; preds = %47, %43
  %49 = phi ptr [ %46, %43 ], [ @.str.3, %47 ]
  %50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %38, ptr noundef @.str.2, ptr noundef %49) #5
  store i32 %50, ptr %6, align 4, !tbaa !14
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = load i32, ptr %6, align 4, !tbaa !14
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds i8, ptr %51, i64 %53
  store ptr %54, ptr %5, align 8, !tbaa !5
  %55 = load i32, ptr %6, align 4, !tbaa !14
  %56 = sext i32 %55 to i64
  %57 = load i64, ptr %4, align 8, !tbaa !9
  %58 = add i64 %57, %56
  store i64 %58, ptr %4, align 8, !tbaa !9
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %60, i32 0, i32 0
  %62 = load i64, ptr %61, align 8, !tbaa !18
  %63 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %59, ptr noundef @.str.4, i64 noundef %62) #5
  store i32 %63, ptr %6, align 4, !tbaa !14
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !14
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds i8, ptr %64, i64 %66
  store ptr %67, ptr %5, align 8, !tbaa !5
  %68 = load i32, ptr %6, align 4, !tbaa !14
  %69 = sext i32 %68 to i64
  %70 = load i64, ptr %4, align 8, !tbaa !9
  %71 = add i64 %70, %69
  store i64 %71, ptr %4, align 8, !tbaa !9
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %73, i32 0, i32 1
  %75 = load i64, ptr %74, align 8, !tbaa !19
  %76 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %72, ptr noundef @.str.4, i64 noundef %75) #5
  store i32 %76, ptr %6, align 4, !tbaa !14
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = load i32, ptr %6, align 4, !tbaa !14
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds i8, ptr %77, i64 %79
  store ptr %80, ptr %5, align 8, !tbaa !5
  %81 = load i32, ptr %6, align 4, !tbaa !14
  %82 = sext i32 %81 to i64
  %83 = load i64, ptr %4, align 8, !tbaa !9
  %84 = add i64 %83, %82
  store i64 %84, ptr %4, align 8, !tbaa !9
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %86, i32 0, i32 2
  %88 = load i64, ptr %87, align 8, !tbaa !20
  %89 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %85, ptr noundef @.str.4, i64 noundef %88) #5
  store i32 %89, ptr %6, align 4, !tbaa !14
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load i32, ptr %6, align 4, !tbaa !14
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds i8, ptr %90, i64 %92
  store ptr %93, ptr %5, align 8, !tbaa !5
  %94 = load i32, ptr %6, align 4, !tbaa !14
  %95 = sext i32 %94 to i64
  %96 = load i64, ptr %4, align 8, !tbaa !9
  %97 = add i64 %96, %95
  store i64 %97, ptr %4, align 8, !tbaa !9
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %99, i32 0, i32 3
  %101 = load i64, ptr %100, align 8, !tbaa !21
  %102 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %98, ptr noundef @.str.4, i64 noundef %101) #5
  store i32 %102, ptr %6, align 4, !tbaa !14
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = load i32, ptr %6, align 4, !tbaa !14
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds i8, ptr %103, i64 %105
  store ptr %106, ptr %5, align 8, !tbaa !5
  %107 = load i32, ptr %6, align 4, !tbaa !14
  %108 = sext i32 %107 to i64
  %109 = load i64, ptr %4, align 8, !tbaa !9
  %110 = add i64 %109, %108
  store i64 %110, ptr %4, align 8, !tbaa !9
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %112, i32 0, i32 4
  %114 = load i64, ptr %113, align 8, !tbaa !22
  %115 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %111, ptr noundef @.str.4, i64 noundef %114) #5
  store i32 %115, ptr %6, align 4, !tbaa !14
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = load i32, ptr %6, align 4, !tbaa !14
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds i8, ptr %116, i64 %118
  store ptr %119, ptr %5, align 8, !tbaa !5
  %120 = load i32, ptr %6, align 4, !tbaa !14
  %121 = sext i32 %120 to i64
  %122 = load i64, ptr %4, align 8, !tbaa !9
  %123 = add i64 %122, %121
  store i64 %123, ptr %4, align 8, !tbaa !9
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %125, i32 0, i32 5
  %127 = load i64, ptr %126, align 8, !tbaa !23
  %128 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %124, ptr noundef @.str.4, i64 noundef %127) #5
  store i32 %128, ptr %6, align 4, !tbaa !14
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = load i32, ptr %6, align 4, !tbaa !14
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds i8, ptr %129, i64 %131
  store ptr %132, ptr %5, align 8, !tbaa !5
  %133 = load i32, ptr %6, align 4, !tbaa !14
  %134 = sext i32 %133 to i64
  %135 = load i64, ptr %4, align 8, !tbaa !9
  %136 = add i64 %135, %134
  store i64 %136, ptr %4, align 8, !tbaa !9
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %138, i32 0, i32 7
  %140 = load i64, ptr %139, align 8, !tbaa !24
  %141 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %137, ptr noundef @.str.4, i64 noundef %140) #5
  store i32 %141, ptr %6, align 4, !tbaa !14
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = load i32, ptr %6, align 4, !tbaa !14
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds i8, ptr %142, i64 %144
  store ptr %145, ptr %5, align 8, !tbaa !5
  %146 = load i32, ptr %6, align 4, !tbaa !14
  %147 = sext i32 %146 to i64
  %148 = load i64, ptr %4, align 8, !tbaa !9
  %149 = add i64 %148, %147
  store i64 %149, ptr %4, align 8, !tbaa !9
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.MemTracer_ContextStats, ptr %151, i32 0, i32 6
  %153 = load i64, ptr %152, align 8, !tbaa !25
  %154 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %150, ptr noundef @.str.5, i64 noundef %153) #5
  store i32 %154, ptr %6, align 4, !tbaa !14
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = load i32, ptr %6, align 4, !tbaa !14
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds i8, ptr %155, i64 %157
  store ptr %158, ptr %5, align 8, !tbaa !5
  %159 = load i32, ptr %6, align 4, !tbaa !14
  %160 = sext i32 %159 to i64
  %161 = load i64, ptr %4, align 8, !tbaa !9
  %162 = add i64 %161, %160
  store i64 %162, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %163

163:                                              ; preds = %48
  %164 = load i32, ptr %7, align 4, !tbaa !14
  %165 = add i32 %164, 1
  store i32 %165, ptr %7, align 4, !tbaa !14
  br label %25, !llvm.loop !26

166:                                              ; preds = %31
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %167, ptr noundef @.str.6) #5
  store i32 %168, ptr %6, align 4, !tbaa !14
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = load i32, ptr %6, align 4, !tbaa !14
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds i8, ptr %169, i64 %171
  store ptr %172, ptr %5, align 8, !tbaa !5
  %173 = load i32, ptr %6, align 4, !tbaa !14
  %174 = sext i32 %173 to i64
  %175 = load i64, ptr %4, align 8, !tbaa !9
  %176 = add i64 %175, %174
  store i64 %176, ptr %4, align 8, !tbaa !9
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.MemTracer_Context, ptr %178, i32 0, i32 6
  %180 = load i64, ptr %179, align 8, !tbaa !28
  %181 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %177, ptr noundef @.str.4, i64 noundef %180) #5
  store i32 %181, ptr %6, align 4, !tbaa !14
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = load i32, ptr %6, align 4, !tbaa !14
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds i8, ptr %182, i64 %184
  store ptr %185, ptr %5, align 8, !tbaa !5
  %186 = load i32, ptr %6, align 4, !tbaa !14
  %187 = sext i32 %186 to i64
  %188 = load i64, ptr %4, align 8, !tbaa !9
  %189 = add i64 %188, %187
  store i64 %189, ptr %4, align 8, !tbaa !9
  %190 = load ptr, ptr %5, align 8, !tbaa !5
  %191 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.MemTracer_Context, ptr %191, i32 0, i32 7
  %193 = load i64, ptr %192, align 8, !tbaa !29
  %194 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %190, ptr noundef @.str.4, i64 noundef %193) #5
  store i32 %194, ptr %6, align 4, !tbaa !14
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = load i32, ptr %6, align 4, !tbaa !14
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds i8, ptr %195, i64 %197
  store ptr %198, ptr %5, align 8, !tbaa !5
  %199 = load i32, ptr %6, align 4, !tbaa !14
  %200 = sext i32 %199 to i64
  %201 = load i64, ptr %4, align 8, !tbaa !9
  %202 = add i64 %201, %200
  store i64 %202, ptr %4, align 8, !tbaa !9
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.MemTracer_Context, ptr %204, i32 0, i32 8
  %206 = load i64, ptr %205, align 8, !tbaa !30
  %207 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %203, ptr noundef @.str.4, i64 noundef %206) #5
  store i32 %207, ptr %6, align 4, !tbaa !14
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = load i32, ptr %6, align 4, !tbaa !14
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds i8, ptr %208, i64 %210
  store ptr %211, ptr %5, align 8, !tbaa !5
  %212 = load i32, ptr %6, align 4, !tbaa !14
  %213 = sext i32 %212 to i64
  %214 = load i64, ptr %4, align 8, !tbaa !9
  %215 = add i64 %214, %213
  store i64 %215, ptr %4, align 8, !tbaa !9
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  %217 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.MemTracer_Context, ptr %217, i32 0, i32 3
  %219 = load i64, ptr %218, align 8, !tbaa !31
  %220 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %216, ptr noundef @.str.4, i64 noundef %219) #5
  store i32 %220, ptr %6, align 4, !tbaa !14
  %221 = load ptr, ptr %5, align 8, !tbaa !5
  %222 = load i32, ptr %6, align 4, !tbaa !14
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds i8, ptr %221, i64 %223
  store ptr %224, ptr %5, align 8, !tbaa !5
  %225 = load i32, ptr %6, align 4, !tbaa !14
  %226 = sext i32 %225 to i64
  %227 = load i64, ptr %4, align 8, !tbaa !9
  %228 = add i64 %227, %226
  store i64 %228, ptr %4, align 8, !tbaa !9
  %229 = load ptr, ptr %5, align 8, !tbaa !5
  %230 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.MemTracer_Context, ptr %230, i32 0, i32 4
  %232 = load i64, ptr %231, align 8, !tbaa !32
  %233 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %229, ptr noundef @.str.4, i64 noundef %232) #5
  store i32 %233, ptr %6, align 4, !tbaa !14
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = load i32, ptr %6, align 4, !tbaa !14
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds i8, ptr %234, i64 %236
  store ptr %237, ptr %5, align 8, !tbaa !5
  %238 = load i32, ptr %6, align 4, !tbaa !14
  %239 = sext i32 %238 to i64
  %240 = load i64, ptr %4, align 8, !tbaa !9
  %241 = add i64 %240, %239
  store i64 %241, ptr %4, align 8, !tbaa !9
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.MemTracer_Context, ptr %243, i32 0, i32 5
  %245 = load i64, ptr %244, align 8, !tbaa !33
  %246 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %242, ptr noundef @.str.4, i64 noundef %245) #5
  store i32 %246, ptr %6, align 4, !tbaa !14
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = load i32, ptr %6, align 4, !tbaa !14
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds i8, ptr %247, i64 %249
  store ptr %250, ptr %5, align 8, !tbaa !5
  %251 = load i32, ptr %6, align 4, !tbaa !14
  %252 = sext i32 %251 to i64
  %253 = load i64, ptr %4, align 8, !tbaa !9
  %254 = add i64 %253, %252
  store i64 %254, ptr %4, align 8, !tbaa !9
  %255 = load ptr, ptr %5, align 8, !tbaa !5
  %256 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.MemTracer_Context, ptr %256, i32 0, i32 6
  %258 = load i64, ptr %257, align 8, !tbaa !28
  %259 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %255, ptr noundef @.str.4, i64 noundef %258) #5
  store i32 %259, ptr %6, align 4, !tbaa !14
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  %261 = load i32, ptr %6, align 4, !tbaa !14
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds i8, ptr %260, i64 %262
  store ptr %263, ptr %5, align 8, !tbaa !5
  %264 = load i32, ptr %6, align 4, !tbaa !14
  %265 = sext i32 %264 to i64
  %266 = load i64, ptr %4, align 8, !tbaa !9
  %267 = add i64 %266, %265
  store i64 %267, ptr %4, align 8, !tbaa !9
  %268 = load ptr, ptr %5, align 8, !tbaa !5
  %269 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.MemTracer_Context, ptr %269, i32 0, i32 5
  %271 = load i64, ptr %270, align 8, !tbaa !33
  %272 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %268, ptr noundef @.str.5, i64 noundef %271) #5
  store i32 %272, ptr %6, align 4, !tbaa !14
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  %274 = load i32, ptr %6, align 4, !tbaa !14
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds i8, ptr %273, i64 %275
  store ptr %276, ptr %5, align 8, !tbaa !5
  %277 = load i32, ptr %6, align 4, !tbaa !14
  %278 = sext i32 %277 to i64
  %279 = load i64, ptr %4, align 8, !tbaa !9
  %280 = add i64 %279, %278
  store i64 %280, ptr %4, align 8, !tbaa !9
  %281 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.MemTracer_Context, ptr %281, i32 0, i32 2
  %283 = load ptr, ptr %282, align 8, !tbaa !11
  call void @Longtail_UnlockSpinLock(ptr noundef %283)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %284 = load ptr, ptr %2, align 8, !tbaa !5
  %285 = call noalias ptr @fopen(ptr noundef %284, ptr noundef @.str.7)
  store ptr %285, ptr %9, align 8, !tbaa !5
  %286 = load ptr, ptr %3, align 8, !tbaa !5
  %287 = load i64, ptr %4, align 8, !tbaa !9
  %288 = load ptr, ptr %9, align 8, !tbaa !5
  %289 = call i64 @fwrite(ptr noundef %286, i64 noundef 1, i64 noundef %287, ptr noundef %288)
  %290 = load ptr, ptr %9, align 8, !tbaa !5
  %291 = call i32 @fclose(ptr noundef %290)
  %292 = load ptr, ptr %3, align 8, !tbaa !5
  call void @free(ptr noundef %292) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret i32 0
}

declare void @Longtail_LockSpinLock(ptr noundef) #3

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #4

declare void @Longtail_UnlockSpinLock(ptr noundef) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

declare i64 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

declare i32 @fclose(ptr noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 9224}
!12 = !{!"MemTracer_Context", !6, i64 0, !7, i64 8, !6, i64 9224, !10, i64 9232, !10, i64 9240, !10, i64 9248, !10, i64 9256, !10, i64 9264, !10, i64 9272, !13, i64 9280}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 9280}
!16 = !{!17, !6, i64 64}
!17 = !{!"MemTracer_ContextStats", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !6, i64 64}
!18 = !{!17, !10, i64 0}
!19 = !{!17, !10, i64 8}
!20 = !{!17, !10, i64 16}
!21 = !{!17, !10, i64 24}
!22 = !{!17, !10, i64 32}
!23 = !{!17, !10, i64 40}
!24 = !{!17, !10, i64 56}
!25 = !{!17, !10, i64 48}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!12, !10, i64 9256}
!29 = !{!12, !10, i64 9264}
!30 = !{!12, !10, i64 9272}
!31 = !{!12, !10, i64 9232}
!32 = !{!12, !10, i64 9240}
!33 = !{!12, !10, i64 9248}


; 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"

%struct.MemTracer_ContextStats = type { i64, i64, i64, i64, i64, i64, i64, i64, ptr }

@gMemTracer_Context = external hidden local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @Longtail_MemTracer_DumpStats(ptr nocapture noundef readonly %0) local_unnamed_addr #1 {
  %2 = tail call noalias dereferenceable_or_null(65536) ptr @malloc(i64 noundef 65536) #5
  %3 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 9224
  %5 = load ptr, ptr %4, align 8, !tbaa !9
  tail call void @Longtail_LockSpinLock(ptr noundef %5) #6
  %6 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.1) #6
  %7 = sext i32 %6 to i64
  %8 = getelementptr inbounds i8, ptr %2, i64 %7
  %9 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 9280
  %11 = load i32, ptr %10, align 8, !tbaa !13
  %.not121 = icmp eq i32 %11, 0
  br i1 %.not121, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %1
  %.0114.lcssa = phi ptr [ %8, %1 ], [ %131, %.lr.ph ]
  %.0.lcssa = phi i64 [ %7, %1 ], [ %132, %.lr.ph ]
  %12 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %.0114.lcssa, ptr noundef nonnull dereferenceable(1) @.str.6) #6
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds i8, ptr %.0114.lcssa, i64 %13
  %15 = add i64 %.0.lcssa, %13
  %16 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 9256
  %18 = load i64, ptr %17, align 8, !tbaa !14
  %19 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %14, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %18) #6
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds i8, ptr %14, i64 %20
  %22 = add i64 %15, %20
  %23 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 9264
  %25 = load i64, ptr %24, align 8, !tbaa !15
  %26 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %21, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %25) #6
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds i8, ptr %21, i64 %27
  %29 = add i64 %22, %27
  %30 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 9272
  %32 = load i64, ptr %31, align 8, !tbaa !16
  %33 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %28, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %32) #6
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds i8, ptr %28, i64 %34
  %36 = add i64 %29, %34
  %37 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 9232
  %39 = load i64, ptr %38, align 8, !tbaa !17
  %40 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %35, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %39) #6
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds i8, ptr %35, i64 %41
  %43 = add i64 %36, %41
  %44 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 9240
  %46 = load i64, ptr %45, align 8, !tbaa !18
  %47 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %42, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %46) #6
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %42, i64 %48
  %50 = add i64 %43, %48
  %51 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 9248
  %53 = load i64, ptr %52, align 8, !tbaa !19
  %54 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %49, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %53) #6
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds i8, ptr %49, i64 %55
  %57 = add i64 %50, %55
  %58 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 9256
  %60 = load i64, ptr %59, align 8, !tbaa !14
  %61 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %56, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %60) #6
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds i8, ptr %56, i64 %62
  %64 = add i64 %57, %62
  %65 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i64 9248
  %67 = load i64, ptr %66, align 8, !tbaa !19
  %68 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %63, ptr noundef nonnull dereferenceable(1) @.str.5, i64 noundef %67) #6
  %69 = sext i32 %68 to i64
  %70 = add i64 %64, %69
  %71 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 9224
  %73 = load ptr, ptr %72, align 8, !tbaa !9
  tail call void @Longtail_UnlockSpinLock(ptr noundef %73) #6
  %74 = tail call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.7)
  %75 = tail call i64 @fwrite(ptr noundef %2, i64 noundef 1, i64 noundef %70, ptr noundef %74)
  %76 = tail call i32 @fclose(ptr noundef %74)
  tail call void @free(ptr noundef %2) #6
  ret i32 0

.lr.ph:                                           ; preds = %1, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %1 ]
  %77 = phi ptr [ %133, %.lr.ph ], [ %9, %1 ]
  %.0119 = phi i64 [ %132, %.lr.ph ], [ %7, %1 ]
  %.0114118 = phi ptr [ %131, %.lr.ph ], [ %8, %1 ]
  %78 = getelementptr inbounds i8, ptr %77, i64 8
  %79 = getelementptr inbounds [128 x %struct.MemTracer_ContextStats], ptr %78, i64 0, i64 %indvars.iv
  %80 = getelementptr inbounds i8, ptr %79, i64 64
  %81 = load ptr, ptr %80, align 8, !tbaa !20
  %.not = icmp eq ptr %81, null
  %spec.select = select i1 %.not, ptr @.str.3, ptr %81
  %82 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %.0114118, ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef nonnull %spec.select) #6
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds i8, ptr %.0114118, i64 %83
  %85 = add i64 %.0119, %83
  %86 = load i64, ptr %79, align 8, !tbaa !22
  %87 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %84, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %86) #6
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds i8, ptr %84, i64 %88
  %90 = add i64 %85, %88
  %91 = getelementptr inbounds i8, ptr %79, i64 8
  %92 = load i64, ptr %91, align 8, !tbaa !23
  %93 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %89, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %92) #6
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds i8, ptr %89, i64 %94
  %96 = add i64 %90, %94
  %97 = getelementptr inbounds i8, ptr %79, i64 16
  %98 = load i64, ptr %97, align 8, !tbaa !24
  %99 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %95, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %98) #6
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds i8, ptr %95, i64 %100
  %102 = add i64 %96, %100
  %103 = getelementptr inbounds i8, ptr %79, i64 24
  %104 = load i64, ptr %103, align 8, !tbaa !25
  %105 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %101, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %104) #6
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds i8, ptr %101, i64 %106
  %108 = add i64 %102, %106
  %109 = getelementptr inbounds i8, ptr %79, i64 32
  %110 = load i64, ptr %109, align 8, !tbaa !26
  %111 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %107, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %110) #6
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds i8, ptr %107, i64 %112
  %114 = add i64 %108, %112
  %115 = getelementptr inbounds i8, ptr %79, i64 40
  %116 = load i64, ptr %115, align 8, !tbaa !27
  %117 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %113, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %116) #6
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds i8, ptr %113, i64 %118
  %120 = add i64 %114, %118
  %121 = getelementptr inbounds i8, ptr %79, i64 56
  %122 = load i64, ptr %121, align 8, !tbaa !28
  %123 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %119, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %122) #6
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds i8, ptr %119, i64 %124
  %126 = add i64 %120, %124
  %127 = getelementptr inbounds i8, ptr %79, i64 48
  %128 = load i64, ptr %127, align 8, !tbaa !29
  %129 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %125, ptr noundef nonnull dereferenceable(1) @.str.5, i64 noundef %128) #6
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds i8, ptr %125, i64 %130
  %132 = add i64 %126, %130
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %133 = load ptr, ptr @gMemTracer_Context, align 8, !tbaa !5
  %134 = getelementptr inbounds i8, ptr %133, i64 9280
  %135 = load i32, ptr %134, align 8, !tbaa !13
  %136 = zext i32 %135 to i64
  %137 = icmp ult i64 %indvars.iv.next, %136
  br i1 %137, label %.lr.ph, label %._crit_edge, !llvm.loop !30
}

declare void @Longtail_LockSpinLock(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare void @Longtail_UnlockSpinLock(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 #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 = { nofree 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 #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind allocsize(0) }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 9224}
!10 = !{!"MemTracer_Context", !6, i64 0, !7, i64 8, !6, i64 9224, !11, i64 9232, !11, i64 9240, !11, i64 9248, !11, i64 9256, !11, i64 9264, !11, i64 9272, !12, i64 9280}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !12, i64 9280}
!14 = !{!10, !11, i64 9256}
!15 = !{!10, !11, i64 9264}
!16 = !{!10, !11, i64 9272}
!17 = !{!10, !11, i64 9232}
!18 = !{!10, !11, i64 9240}
!19 = !{!10, !11, i64 9248}
!20 = !{!21, !6, i64 64}
!21 = !{!"MemTracer_ContextStats", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !6, i64 64}
!22 = !{!21, !11, i64 0}
!23 = !{!21, !11, i64 8}
!24 = !{!21, !11, i64 16}
!25 = !{!21, !11, i64 24}
!26 = !{!21, !11, i64 32}
!27 = !{!21, !11, i64 40}
!28 = !{!21, !11, i64 56}
!29 = !{!21, !11, i64 48}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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