; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_TypeChecker (checkStaticField__)

; 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.string__ = type { ptr, i32 }
%struct.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.tag_____Error__ = type { ptr, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____Map__Node__NodeInfo____ = type { %struct.tag_____Array__MapEntry__Node__NodeInfo______, i32, i32, i32 }
%struct.tag_____Array__MapEntry__Node__NodeInfo______ = type { ptr, i32 }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____StringBuilder__ = type { ptr, i32, i32 }
%struct.Node__ = type { i32, ptr }
%struct.tag_____TypeCheckerContext__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i8 }
%struct.tag_____StaticFieldDef__ = type { ptr, ptr, ptr, %struct.Node__, ptr, ptr, %struct.Node__, i32, ptr, %struct.tag_____Tag__, i32, ptr, %struct.tag_____EvalResult__, %struct.string__ }
%struct.tag_____EvalResult__ = type { %struct.tag_____Tag__, i64, i32 }
%struct.tag_____Token__ = type { i32, %struct.string__, %struct.tag_____IntRange__, %struct.tag_____IntRange__, i32 }
%struct.tag_____CommonTags__ = type { %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@mu_____string180 = external dso_local global %struct.string__, align 8
@mu_____string182 = external dso_local global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local global %struct.tag_____IAllocator__, align 8
@__const.TypeChecker__checkStaticField__.local3 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.TypeChecker__checkStaticField__.local7 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.TypeChecker__checkStaticField__.local8 = external hidden unnamed_addr constant %struct.string__, align 8

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @StringBuilder__write__(ptr noundef, ptr, i32) #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @StringBuilder__compactToString__(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Error____(ptr noundef, ptr noundef byval(%struct.tag_____Error__) align 8) #4

; Function Attrs: nounwind uwtable
declare dso_local void @Error__at__(ptr dead_on_unwind noalias writable sret(%struct.tag_____Error__) align 8, ptr noundef, i64, ptr, i32) #4

; Function Attrs: nounwind uwtable
declare dso_local i64 @RangeFinder__find__(i32, ptr) #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @Tag__toString__(ptr, ptr) #4

; Function Attrs: nounwind uwtable
declare dso_local void @Map__create__Node__NodeInfo____(ptr dead_on_unwind noalias writable sret(%struct.tag_____Map__Node__NodeInfo____) align 8) #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__resolveType__(ptr noundef, i32, ptr, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__checkExpression__(ptr noundef, i32, ptr) #4

; Function Attrs: nounwind uwtable
declare dso_local void @TypeChecker__badConversion__(ptr noundef, i32, ptr, ptr, ptr, ptr noundef byval(%struct.tag_____Tag__) align 8) #4

; Function Attrs: nounwind uwtable
define dso_local void @TypeChecker__checkStaticField__(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.tag_____Tag__, align 8
  %6 = alloca %struct.tag_____Tag__, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %struct.tag_____Map__Node__NodeInfo____, align 8
  %9 = alloca %struct.tag_____Tag__, align 8
  %10 = alloca %struct.tag_____Error__, align 8
  %11 = alloca %struct.tag_____IntRange__, align 4
  %12 = alloca %struct.tag_____StringBuilder__, align 8
  %13 = alloca %struct.string__, align 8
  %14 = alloca %struct.tag_____Error__, align 8
  %15 = alloca %struct.string__, align 8
  %16 = alloca %struct.tag_____Error__, align 8
  %17 = alloca i8, align 1
  %18 = alloca %struct.Node__, align 8
  %19 = alloca %struct.tag_____StringBuilder__, align 8
  %20 = alloca %struct.string__, align 8
  %21 = alloca %struct.string__, align 8
  %22 = alloca %struct.string__, align 8
  %23 = alloca %struct.string__, align 8
  %24 = alloca %struct.tag_____Error__, align 8
  %25 = alloca %struct.string__, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %26, i32 0, i32 7
  store ptr null, ptr %27, align 8, !tbaa !9
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %29, i32 0, i32 8
  store ptr %28, ptr %30, align 8, !tbaa !12
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %31, i32 0, i32 7
  %33 = load i32, ptr %32, align 8, !tbaa !13
  %34 = and i32 %33, 64
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %2
  br label %344

37:                                               ; preds = %2
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %38, i32 0, i32 7
  %40 = load i32, ptr %39, align 8, !tbaa !13
  %41 = and i32 %40, 1
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %50

43:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  call void @llvm.memset.p0.i64(ptr align 8 %5, i8 0, i64 16, i1 false)
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %44, i32 0, i32 8
  %46 = load ptr, ptr %45, align 8, !tbaa !20
  %47 = getelementptr inbounds %struct.tag_____Tag__, ptr %5, i32 0, i32 0
  store ptr %46, ptr %47, align 8, !tbaa !21
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %48, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %49, ptr align 8 %5, i64 16, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  br label %65

50:                                               ; preds = %37
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %51, i32 0, i32 9
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #5
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %54, i32 0, i32 3
  %56 = getelementptr inbounds { i32, ptr }, ptr %55, i32 0, i32 0
  %57 = load i32, ptr %56, align 8
  %58 = getelementptr inbounds { i32, ptr }, ptr %55, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8
  %60 = call { ptr, ptr } @TypeChecker__resolveType__(ptr noundef %53, i32 %57, ptr %59, i32 noundef 0)
  %61 = getelementptr inbounds { ptr, ptr }, ptr %6, i32 0, i32 0
  %62 = extractvalue { ptr, ptr } %60, 0
  store ptr %62, ptr %61, align 8
  %63 = getelementptr inbounds { ptr, ptr }, ptr %6, i32 0, i32 1
  %64 = extractvalue { ptr, ptr } %60, 1
  store ptr %64, ptr %63, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %52, ptr align 8 %6, i64 16, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  br label %65

65:                                               ; preds = %50, %43
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %66, i32 0, i32 6
  %68 = getelementptr inbounds %struct.Node__, ptr %67, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8, !tbaa !23
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %337

71:                                               ; preds = %65
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %72, i32 0, i32 7
  %74 = load i32, ptr %73, align 8, !tbaa !13
  %75 = or i32 %74, 32
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %76, i32 0, i32 7
  store i32 %75, ptr %77, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %78 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %79 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %78, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !24
  %81 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %82 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !26
  %84 = call ptr %80(ptr noundef %83, i64 noundef 32)
  store ptr %84, ptr %7, align 8, !tbaa !5
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  call void @Map__create__Node__NodeInfo____(ptr dead_on_unwind writable sret(%struct.tag_____Map__Node__NodeInfo____) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %85, ptr align 8 %8, i64 32, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %87, i32 0, i32 11
  store ptr %86, ptr %88, align 8, !tbaa !29
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %89, i32 0, i32 11
  %91 = load ptr, ptr %90, align 8, !tbaa !29
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %92, i32 0, i32 9
  store ptr %91, ptr %93, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %95, i32 0, i32 6
  %97 = getelementptr inbounds { i32, ptr }, ptr %96, i32 0, i32 0
  %98 = load i32, ptr %97, align 8
  %99 = getelementptr inbounds { i32, ptr }, ptr %96, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8
  %101 = call { ptr, ptr } @TypeChecker__checkExpression__(ptr noundef %94, i32 %98, ptr %100)
  %102 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %103 = extractvalue { ptr, ptr } %101, 0
  store ptr %103, ptr %102, align 8
  %104 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %105 = extractvalue { ptr, ptr } %101, 1
  store ptr %105, ptr %104, align 8
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %106, i32 0, i32 7
  %108 = load i32, ptr %107, align 8, !tbaa !13
  %109 = and i32 %108, -33
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %110, i32 0, i32 7
  store i32 %109, ptr %111, align 8, !tbaa !13
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %112, i32 0, i32 7
  %114 = load i32, ptr %113, align 8, !tbaa !13
  %115 = and i32 %114, 128
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %134

117:                                              ; preds = %71
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %118, i32 0, i32 2
  %120 = load ptr, ptr %119, align 8, !tbaa !31
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8, !tbaa !32
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %124, i32 0, i32 6
  %126 = getelementptr inbounds { i32, ptr }, ptr %125, i32 0, i32 0
  %127 = load i32, ptr %126, align 8
  %128 = getelementptr inbounds { i32, ptr }, ptr %125, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8
  %130 = call i64 @RangeFinder__find__(i32 %127, ptr %129)
  store i64 %130, ptr %11, align 4
  %131 = load i64, ptr %11, align 4
  %132 = load ptr, ptr @mu_____string180, align 8
  %133 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string180, i32 0, i32 1), align 8
  call void @Error__at__(ptr dead_on_unwind writable sret(%struct.tag_____Error__) align 8 %10, ptr noundef %123, i64 %131, ptr %132, i32 %133)
  call void @List__add__Error____(ptr noundef %120, ptr noundef byval(%struct.tag_____Error__) align 8 %10)
  br label %134

134:                                              ; preds = %117, %71
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %135, i32 0, i32 7
  %137 = load i32, ptr %136, align 8, !tbaa !13
  %138 = and i32 %137, 16
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %165

140:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 @__const.TypeChecker__checkStaticField__.local3, i64 16, i1 false)
  %141 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 0
  %142 = load ptr, ptr %141, align 8
  %143 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 1
  %144 = load i32, ptr %143, align 8
  call void @StringBuilder__write__(ptr noundef %12, ptr %142, i32 %144)
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %145, i32 0, i32 2
  %147 = load ptr, ptr %146, align 8, !tbaa !31
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %148, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8, !tbaa !32
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %151, i32 0, i32 5
  %153 = load ptr, ptr %152, align 8, !tbaa !33
  %154 = getelementptr inbounds %struct.tag_____Token__, ptr %153, i32 0, i32 2
  %155 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef %12)
  %156 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 0
  %157 = extractvalue { ptr, i32 } %155, 0
  store ptr %157, ptr %156, align 8
  %158 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 1
  %159 = extractvalue { ptr, i32 } %155, 1
  store i32 %159, ptr %158, align 8
  %160 = load i64, ptr %154, align 8
  %161 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 0
  %162 = load ptr, ptr %161, align 8
  %163 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 1
  %164 = load i32, ptr %163, align 8
  call void @Error__at__(ptr dead_on_unwind writable sret(%struct.tag_____Error__) align 8 %14, ptr noundef %150, i64 %160, ptr %162, i32 %164)
  call void @List__add__Error____(ptr noundef %147, ptr noundef byval(%struct.tag_____Error__) align 8 %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  br label %165

165:                                              ; preds = %140, %134
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %166, i32 0, i32 7
  %168 = load i32, ptr %167, align 8, !tbaa !13
  %169 = and i32 %168, 4
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %185

171:                                              ; preds = %165
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %172, i32 0, i32 2
  %174 = load ptr, ptr %173, align 8, !tbaa !31
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %175, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8, !tbaa !32
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %178, i32 0, i32 5
  %180 = load ptr, ptr %179, align 8, !tbaa !33
  %181 = getelementptr inbounds %struct.tag_____Token__, ptr %180, i32 0, i32 2
  %182 = load i64, ptr %181, align 8
  %183 = load ptr, ptr @mu_____string182, align 8
  %184 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string182, i32 0, i32 1), align 8
  call void @Error__at__(ptr dead_on_unwind writable sret(%struct.tag_____Error__) align 8 %16, ptr noundef %177, i64 %182, ptr %183, i32 %184)
  call void @List__add__Error____(ptr noundef %174, ptr noundef byval(%struct.tag_____Error__) align 8 %16)
  br label %185

185:                                              ; preds = %171, %165
  %186 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 0
  %187 = load ptr, ptr %186, align 8, !tbaa !21
  %188 = icmp ne ptr %187, null
  br i1 %188, label %189, label %336

189:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %190, i32 0, i32 7
  %192 = load i32, ptr %191, align 8, !tbaa !13
  %193 = and i32 %192, 1
  %194 = icmp ne i32 %193, 0
  %195 = zext i1 %194 to i32
  %196 = trunc i32 %195 to i8
  store i8 %196, ptr %17, align 1, !tbaa !34
  %197 = load i8, ptr %17, align 1, !tbaa !34
  %198 = icmp ne i8 %197, 0
  br i1 %198, label %199, label %207

199:                                              ; preds = %189
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %200, i32 0, i32 6
  %202 = getelementptr inbounds %struct.Node__, ptr %201, i32 0, i32 0
  %203 = load i32, ptr %202, align 8, !tbaa !35
  %204 = icmp eq i32 %203, 19
  %205 = zext i1 %204 to i32
  %206 = trunc i32 %205 to i8
  store i8 %206, ptr %17, align 1, !tbaa !34
  br label %207

207:                                              ; preds = %199, %189
  %208 = load i8, ptr %17, align 1, !tbaa !34
  %209 = icmp ne i8 %208, 0
  br i1 %209, label %210, label %251

210:                                              ; preds = %207
  %211 = load ptr, ptr %3, align 8, !tbaa !5
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %212, i32 0, i32 6
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %214, i32 0, i32 4
  %216 = load ptr, ptr %215, align 8, !tbaa !36
  %217 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %216, i32 0, i32 6
  %218 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %219 = load ptr, ptr %218, align 8
  %220 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %221 = load ptr, ptr %220, align 8
  %222 = getelementptr inbounds { i32, ptr }, ptr %213, i32 0, i32 0
  %223 = load i32, ptr %222, align 8
  %224 = getelementptr inbounds { i32, ptr }, ptr %213, i32 0, i32 1
  %225 = load ptr, ptr %224, align 8
  %226 = call zeroext i8 @TypeChecker__assign__(ptr noundef %211, ptr %219, ptr %221, i32 %223, ptr %225, ptr noundef byval(%struct.tag_____Tag__) align 8 %217)
  %227 = icmp ne i8 %226, 0
  br i1 %227, label %250, label %228

228:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %229 = load ptr, ptr %4, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %229, i32 0, i32 5
  %231 = load ptr, ptr %230, align 8, !tbaa !33
  %232 = getelementptr inbounds %struct.Node__, ptr %18, i32 0, i32 1
  store ptr %231, ptr %232, align 8, !tbaa !37
  %233 = getelementptr inbounds %struct.Node__, ptr %18, i32 0, i32 1
  %234 = load ptr, ptr %233, align 8, !tbaa !37
  %235 = icmp ne ptr %234, null
  %236 = zext i1 %235 to i64
  %237 = select i1 %235, i32 21, i32 0
  %238 = getelementptr inbounds %struct.Node__, ptr %18, i32 0, i32 0
  store i32 %237, ptr %238, align 8, !tbaa !38
  %239 = load ptr, ptr %3, align 8, !tbaa !5
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %240, i32 0, i32 9
  %242 = getelementptr inbounds { i32, ptr }, ptr %18, i32 0, i32 0
  %243 = load i32, ptr %242, align 8
  %244 = getelementptr inbounds { i32, ptr }, ptr %18, i32 0, i32 1
  %245 = load ptr, ptr %244, align 8
  %246 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %247 = load ptr, ptr %246, align 8
  %248 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %249 = load ptr, ptr %248, align 8
  call void @TypeChecker__badConversion__(ptr noundef %239, i32 %243, ptr %245, ptr %247, ptr %249, ptr noundef byval(%struct.tag_____Tag__) align 8 %241)
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %250

250:                                              ; preds = %228, %210
  br label %335

251:                                              ; preds = %207
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %252, i32 0, i32 9
  %254 = getelementptr inbounds %struct.tag_____Tag__, ptr %253, i32 0, i32 0
  %255 = load ptr, ptr %254, align 8, !tbaa !39
  %256 = icmp ne ptr %255, null
  br i1 %256, label %257, label %331

257:                                              ; preds = %251
  %258 = load ptr, ptr %3, align 8, !tbaa !5
  %259 = load ptr, ptr %4, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %259, i32 0, i32 6
  %261 = load ptr, ptr %4, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %261, i32 0, i32 9
  %263 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %264 = load ptr, ptr %263, align 8
  %265 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %266 = load ptr, ptr %265, align 8
  %267 = getelementptr inbounds { i32, ptr }, ptr %260, i32 0, i32 0
  %268 = load i32, ptr %267, align 8
  %269 = getelementptr inbounds { i32, ptr }, ptr %260, i32 0, i32 1
  %270 = load ptr, ptr %269, align 8
  %271 = call zeroext i8 @TypeChecker__assign__(ptr noundef %258, ptr %264, ptr %266, i32 %268, ptr %270, ptr noundef byval(%struct.tag_____Tag__) align 8 %262)
  %272 = icmp ne i8 %271, 0
  br i1 %272, label %330, label %273

273:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 @__const.TypeChecker__checkStaticField__.local7, i64 16, i1 false)
  %274 = getelementptr inbounds { ptr, i32 }, ptr %20, i32 0, i32 0
  %275 = load ptr, ptr %274, align 8
  %276 = getelementptr inbounds { ptr, i32 }, ptr %20, i32 0, i32 1
  %277 = load i32, ptr %276, align 8
  call void @StringBuilder__write__(ptr noundef %19, ptr %275, i32 %277)
  %278 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %279 = load ptr, ptr %278, align 8
  %280 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %281 = load ptr, ptr %280, align 8
  %282 = call { ptr, i32 } @Tag__toString__(ptr %279, ptr %281)
  %283 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 0
  %284 = extractvalue { ptr, i32 } %282, 0
  store ptr %284, ptr %283, align 8
  %285 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 1
  %286 = extractvalue { ptr, i32 } %282, 1
  store i32 %286, ptr %285, align 8
  %287 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 0
  %288 = load ptr, ptr %287, align 8
  %289 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 1
  %290 = load i32, ptr %289, align 8
  call void @StringBuilder__write__(ptr noundef %19, ptr %288, i32 %290)
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 @__const.TypeChecker__checkStaticField__.local8, i64 16, i1 false)
  %291 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 0
  %292 = load ptr, ptr %291, align 8
  %293 = getelementptr inbounds { ptr, i32 }, ptr %22, i32 0, i32 1
  %294 = load i32, ptr %293, align 8
  call void @StringBuilder__write__(ptr noundef %19, ptr %292, i32 %294)
  %295 = load ptr, ptr %4, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %295, i32 0, i32 9
  %297 = getelementptr inbounds { ptr, ptr }, ptr %296, i32 0, i32 0
  %298 = load ptr, ptr %297, align 8
  %299 = getelementptr inbounds { ptr, ptr }, ptr %296, i32 0, i32 1
  %300 = load ptr, ptr %299, align 8
  %301 = call { ptr, i32 } @Tag__toString__(ptr %298, ptr %300)
  %302 = getelementptr inbounds { ptr, i32 }, ptr %23, i32 0, i32 0
  %303 = extractvalue { ptr, i32 } %301, 0
  store ptr %303, ptr %302, align 8
  %304 = getelementptr inbounds { ptr, i32 }, ptr %23, i32 0, i32 1
  %305 = extractvalue { ptr, i32 } %301, 1
  store i32 %305, ptr %304, align 8
  %306 = getelementptr inbounds { ptr, i32 }, ptr %23, i32 0, i32 0
  %307 = load ptr, ptr %306, align 8
  %308 = getelementptr inbounds { ptr, i32 }, ptr %23, i32 0, i32 1
  %309 = load i32, ptr %308, align 8
  call void @StringBuilder__write__(ptr noundef %19, ptr %307, i32 %309)
  %310 = load ptr, ptr %3, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %310, i32 0, i32 2
  %312 = load ptr, ptr %311, align 8, !tbaa !31
  %313 = load ptr, ptr %4, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %313, i32 0, i32 0
  %315 = load ptr, ptr %314, align 8, !tbaa !32
  %316 = load ptr, ptr %4, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %316, i32 0, i32 5
  %318 = load ptr, ptr %317, align 8, !tbaa !33
  %319 = getelementptr inbounds %struct.tag_____Token__, ptr %318, i32 0, i32 2
  %320 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef %19)
  %321 = getelementptr inbounds { ptr, i32 }, ptr %25, i32 0, i32 0
  %322 = extractvalue { ptr, i32 } %320, 0
  store ptr %322, ptr %321, align 8
  %323 = getelementptr inbounds { ptr, i32 }, ptr %25, i32 0, i32 1
  %324 = extractvalue { ptr, i32 } %320, 1
  store i32 %324, ptr %323, align 8
  %325 = load i64, ptr %319, align 8
  %326 = getelementptr inbounds { ptr, i32 }, ptr %25, i32 0, i32 0
  %327 = load ptr, ptr %326, align 8
  %328 = getelementptr inbounds { ptr, i32 }, ptr %25, i32 0, i32 1
  %329 = load i32, ptr %328, align 8
  call void @Error__at__(ptr dead_on_unwind writable sret(%struct.tag_____Error__) align 8 %24, ptr noundef %315, i64 %325, ptr %327, i32 %329)
  call void @List__add__Error____(ptr noundef %312, ptr noundef byval(%struct.tag_____Error__) align 8 %24)
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  br label %330

330:                                              ; preds = %273, %257
  br label %334

331:                                              ; preds = %251
  %332 = load ptr, ptr %4, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %332, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %333, ptr align 8 %9, i64 16, i1 false), !tbaa.struct !22
  br label %334

334:                                              ; preds = %331, %330
  br label %335

335:                                              ; preds = %334, %250
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  br label %336

336:                                              ; preds = %335, %185
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %337

337:                                              ; preds = %336, %65
  %338 = load ptr, ptr %4, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %338, i32 0, i32 7
  %340 = load i32, ptr %339, align 8, !tbaa !13
  %341 = or i32 %340, 64
  %342 = load ptr, ptr %4, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %342, i32 0, i32 7
  store i32 %341, ptr %343, align 8, !tbaa !13
  br label %344

344:                                              ; preds = %337, %36
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @TypeChecker__assign__(ptr noundef, ptr, ptr, i32, ptr, ptr noundef byval(%struct.tag_____Tag__) align 8) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 56}
!10 = !{!"tag_____TypeCheckerContext__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !11, i64 120, !11, i64 124, !6, i64 128, !11, i64 136, !7, i64 140}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 64}
!13 = !{!14, !11, i64 72}
!14 = !{!"tag_____StaticFieldDef__", !6, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 72, !6, i64 80, !16, i64 88, !11, i64 104, !6, i64 112, !17, i64 120, !19, i64 152}
!15 = !{!"", !11, i64 0, !6, i64 8}
!16 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!17 = !{!"tag_____EvalResult__", !16, i64 0, !18, i64 16, !11, i64 24}
!18 = !{!"long", !7, i64 0}
!19 = !{!"", !6, i64 0, !11, i64 8}
!20 = !{!14, !6, i64 80}
!21 = !{!16, !6, i64 0}
!22 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!23 = !{!14, !6, i64 64}
!24 = !{!25, !6, i64 8}
!25 = !{!"tag_____IAllocator__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!26 = !{!25, !6, i64 0}
!27 = !{i64 0, i64 8, !5, i64 8, i64 4, !28, i64 16, i64 4, !28, i64 20, i64 4, !28, i64 24, i64 4, !28}
!28 = !{!11, !11, i64 0}
!29 = !{!14, !6, i64 112}
!30 = !{!10, !6, i64 72}
!31 = !{!10, !6, i64 16}
!32 = !{!14, !6, i64 0}
!33 = !{!14, !6, i64 48}
!34 = !{!7, !7, i64 0}
!35 = !{!14, !11, i64 56}
!36 = !{!10, !6, i64 32}
!37 = !{!15, !6, i64 8}
!38 = !{!15, !11, i64 0}
!39 = !{!14, !6, i64 88}


; 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.string__ = type { ptr, i32 }
%struct.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.tag_____Error__ = type { ptr, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____Map__Node__NodeInfo____ = type { %struct.tag_____Array__MapEntry__Node__NodeInfo______, i32, i32, i32 }
%struct.tag_____Array__MapEntry__Node__NodeInfo______ = type { ptr, i32 }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____StringBuilder__ = type { ptr, i32, i32 }

@mu_____string180 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string182 = external dso_local local_unnamed_addr global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local local_unnamed_addr global %struct.tag_____IAllocator__, align 8
@__const.TypeChecker__checkStaticField__.local3 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.TypeChecker__checkStaticField__.local7 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.TypeChecker__checkStaticField__.local8 = external hidden unnamed_addr constant %struct.string__, align 8

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @StringBuilder__write__(ptr noundef, ptr, i32) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @StringBuilder__compactToString__(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Error____(ptr noundef, ptr noundef byval(%struct.tag_____Error__) align 8) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @Error__at__(ptr dead_on_unwind noalias writable sret(%struct.tag_____Error__) align 8, ptr noundef, i64, ptr, i32) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local i64 @RangeFinder__find__(i32, ptr) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @Tag__toString__(ptr, ptr) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @Map__create__Node__NodeInfo____(ptr dead_on_unwind noalias writable sret(%struct.tag_____Map__Node__NodeInfo____) align 8) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__resolveType__(ptr noundef, i32, ptr, i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__checkExpression__(ptr noundef, i32, ptr) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @TypeChecker__badConversion__(ptr noundef, i32, ptr, ptr, ptr, ptr noundef byval(%struct.tag_____Tag__) align 8) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local void @TypeChecker__checkStaticField__(ptr noundef %0, ptr noundef %1) local_unnamed_addr #4 {
  %3 = alloca %struct.tag_____Map__Node__NodeInfo____, align 8
  %4 = alloca %struct.tag_____Error__, align 8
  %5 = alloca %struct.tag_____StringBuilder__, align 8
  %6 = alloca %struct.tag_____Error__, align 8
  %7 = alloca %struct.tag_____Error__, align 8
  %8 = alloca %struct.tag_____StringBuilder__, align 8
  %9 = alloca %struct.tag_____Error__, align 8
  %10 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr null, ptr %10, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %1, ptr %11, align 8, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %1, i64 72
  %13 = load i32, ptr %12, align 8, !tbaa !12
  %14 = and i32 %13, 64
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %15, label %132

15:                                               ; preds = %2
  %16 = and i32 %13, 1
  %.not86 = icmp eq i32 %16, 0
  br i1 %.not86, label %20, label %17

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %1, i64 80
  %19 = load ptr, ptr %18, align 8, !tbaa !19
  br label %28

20:                                               ; preds = %15
  %21 = getelementptr inbounds i8, ptr %1, i64 24
  %22 = load i32, ptr %21, align 8
  %23 = getelementptr inbounds i8, ptr %1, i64 32
  %24 = load ptr, ptr %23, align 8
  %25 = tail call { ptr, ptr } @TypeChecker__resolveType__(ptr noundef nonnull %0, i32 %22, ptr %24, i32 noundef 0)
  %26 = extractvalue { ptr, ptr } %25, 0
  %27 = extractvalue { ptr, ptr } %25, 1
  br label %28

28:                                               ; preds = %20, %17
  %.sink99 = phi ptr [ %26, %20 ], [ %19, %17 ]
  %.sink = phi ptr [ %27, %20 ], [ null, %17 ]
  %29 = getelementptr inbounds i8, ptr %1, i64 88
  store ptr %.sink99, ptr %29, align 8
  %30 = getelementptr inbounds i8, ptr %1, i64 96
  store ptr %.sink, ptr %30, align 8
  %31 = getelementptr inbounds i8, ptr %1, i64 56
  %32 = getelementptr inbounds i8, ptr %1, i64 64
  %33 = load ptr, ptr %32, align 8, !tbaa !20
  %.not87 = icmp eq ptr %33, null
  br i1 %.not87, label %129, label %34

34:                                               ; preds = %28
  %35 = load i32, ptr %12, align 8, !tbaa !12
  %36 = or i32 %35, 32
  store i32 %36, ptr %12, align 8, !tbaa !12
  %37 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %38 = getelementptr inbounds i8, ptr %37, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !21
  %40 = load ptr, ptr %37, align 8, !tbaa !23
  %41 = tail call ptr %39(ptr noundef %40, i64 noundef 32) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @Map__create__Node__NodeInfo____(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Map__Node__NodeInfo____) align 8 %3)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %3, i64 32, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  %42 = getelementptr inbounds i8, ptr %1, i64 112
  store ptr %41, ptr %42, align 8, !tbaa !27
  %43 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr %41, ptr %43, align 8, !tbaa !28
  %44 = load i32, ptr %31, align 8
  %45 = load ptr, ptr %32, align 8
  %46 = call { ptr, ptr } @TypeChecker__checkExpression__(ptr noundef nonnull %0, i32 %44, ptr %45)
  %47 = extractvalue { ptr, ptr } %46, 0
  %48 = extractvalue { ptr, ptr } %46, 1
  %49 = load i32, ptr %12, align 8, !tbaa !12
  %50 = and i32 %49, -33
  store i32 %50, ptr %12, align 8, !tbaa !12
  %51 = and i32 %49, 128
  %.not88 = icmp eq i32 %51, 0
  br i1 %.not88, label %61, label %52

52:                                               ; preds = %34
  %53 = getelementptr inbounds i8, ptr %0, i64 16
  %54 = load ptr, ptr %53, align 8, !tbaa !29
  %55 = load ptr, ptr %1, align 8, !tbaa !30
  %56 = load i32, ptr %31, align 8
  %57 = load ptr, ptr %32, align 8
  %58 = call i64 @RangeFinder__find__(i32 %56, ptr %57)
  %59 = load ptr, ptr @mu_____string180, align 8
  %60 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string180, i64 8), align 8
  call void @Error__at__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Error__) align 8 %4, ptr noundef %55, i64 %58, ptr %59, i32 %60)
  call void @List__add__Error____(ptr noundef %54, ptr noundef nonnull byval(%struct.tag_____Error__) align 8 %4)
  %.pre = load i32, ptr %12, align 8, !tbaa !12
  br label %61

61:                                               ; preds = %52, %34
  %62 = phi i32 [ %.pre, %52 ], [ %50, %34 ]
  %63 = and i32 %62, 16
  %.not89 = icmp eq i32 %63, 0
  br i1 %.not89, label %75, label %64

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  %.sroa.016.0.copyload = load ptr, ptr @__const.TypeChecker__checkStaticField__.local3, align 8
  %.sroa.417.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.TypeChecker__checkStaticField__.local3, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %5, ptr %.sroa.016.0.copyload, i32 %.sroa.417.0.copyload)
  %65 = getelementptr inbounds i8, ptr %0, i64 16
  %66 = load ptr, ptr %65, align 8, !tbaa !29
  %67 = load ptr, ptr %1, align 8, !tbaa !30
  %68 = getelementptr inbounds i8, ptr %1, i64 48
  %69 = load ptr, ptr %68, align 8, !tbaa !31
  %70 = getelementptr inbounds i8, ptr %69, i64 24
  %71 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef nonnull %5)
  %72 = extractvalue { ptr, i32 } %71, 0
  %73 = extractvalue { ptr, i32 } %71, 1
  %74 = load i64, ptr %70, align 8
  call void @Error__at__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Error__) align 8 %6, ptr noundef %67, i64 %74, ptr %72, i32 %73)
  call void @List__add__Error____(ptr noundef %66, ptr noundef nonnull byval(%struct.tag_____Error__) align 8 %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  %.pre100 = load i32, ptr %12, align 8, !tbaa !12
  br label %75

75:                                               ; preds = %64, %61
  %76 = phi i32 [ %.pre100, %64 ], [ %62, %61 ]
  %77 = and i32 %76, 4
  %.not90 = icmp eq i32 %77, 0
  br i1 %.not90, label %88, label %78

78:                                               ; preds = %75
  %79 = getelementptr inbounds i8, ptr %0, i64 16
  %80 = load ptr, ptr %79, align 8, !tbaa !29
  %81 = load ptr, ptr %1, align 8, !tbaa !30
  %82 = getelementptr inbounds i8, ptr %1, i64 48
  %83 = load ptr, ptr %82, align 8, !tbaa !31
  %84 = getelementptr inbounds i8, ptr %83, i64 24
  %85 = load i64, ptr %84, align 8
  %86 = load ptr, ptr @mu_____string182, align 8
  %87 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string182, i64 8), align 8
  call void @Error__at__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Error__) align 8 %7, ptr noundef %81, i64 %85, ptr %86, i32 %87)
  call void @List__add__Error____(ptr noundef %80, ptr noundef nonnull byval(%struct.tag_____Error__) align 8 %7)
  br label %88

88:                                               ; preds = %78, %75
  %.not91 = icmp eq ptr %47, null
  br i1 %.not91, label %129, label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %12, align 8, !tbaa !12
  %91 = and i32 %90, 1
  %.not92 = icmp eq i32 %91, 0
  br i1 %.not92, label %.critedge, label %92

92:                                               ; preds = %89
  %93 = load i32, ptr %31, align 8
  %.not98 = icmp eq i32 %93, 19
  br i1 %.not98, label %94, label %.critedge

94:                                               ; preds = %92
  %95 = getelementptr inbounds i8, ptr %0, i64 32
  %96 = load ptr, ptr %95, align 8, !tbaa !32
  %97 = getelementptr inbounds i8, ptr %96, i64 96
  %98 = load ptr, ptr %32, align 8
  %99 = call zeroext i8 @TypeChecker__assign__(ptr noundef nonnull %0, ptr nonnull %47, ptr %48, i32 19, ptr %98, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %97)
  %.not96 = icmp eq i8 %99, 0
  br i1 %.not96, label %100, label %129

100:                                              ; preds = %94
  %101 = getelementptr inbounds i8, ptr %1, i64 48
  %102 = load ptr, ptr %101, align 8, !tbaa !31
  %.not97 = icmp eq ptr %102, null
  %103 = select i1 %.not97, i32 0, i32 21
  call void @TypeChecker__badConversion__(ptr noundef nonnull %0, i32 %103, ptr %102, ptr nonnull %47, ptr %48, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %29)
  br label %129

.critedge:                                        ; preds = %89, %92
  %104 = load ptr, ptr %29, align 8, !tbaa !33
  %.not94 = icmp eq ptr %104, null
  br i1 %.not94, label %128, label %105

105:                                              ; preds = %.critedge
  %106 = load i32, ptr %31, align 8
  %107 = load ptr, ptr %32, align 8
  %108 = call zeroext i8 @TypeChecker__assign__(ptr noundef nonnull %0, ptr nonnull %47, ptr %48, i32 %106, ptr %107, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %29)
  %.not95 = icmp eq i8 %108, 0
  br i1 %.not95, label %109, label %129

109:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  %.sroa.06.0.copyload = load ptr, ptr @__const.TypeChecker__checkStaticField__.local7, align 8
  %.sroa.47.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.TypeChecker__checkStaticField__.local7, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %8, ptr %.sroa.06.0.copyload, i32 %.sroa.47.0.copyload)
  %110 = call { ptr, i32 } @Tag__toString__(ptr nonnull %47, ptr %48)
  %111 = extractvalue { ptr, i32 } %110, 0
  %112 = extractvalue { ptr, i32 } %110, 1
  call void @StringBuilder__write__(ptr noundef nonnull %8, ptr %111, i32 %112)
  %.sroa.03.0.copyload = load ptr, ptr @__const.TypeChecker__checkStaticField__.local8, align 8
  %.sroa.4.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.TypeChecker__checkStaticField__.local8, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %8, ptr %.sroa.03.0.copyload, i32 %.sroa.4.0.copyload)
  %113 = load ptr, ptr %29, align 8
  %114 = load ptr, ptr %30, align 8
  %115 = call { ptr, i32 } @Tag__toString__(ptr %113, ptr %114)
  %116 = extractvalue { ptr, i32 } %115, 0
  %117 = extractvalue { ptr, i32 } %115, 1
  call void @StringBuilder__write__(ptr noundef nonnull %8, ptr %116, i32 %117)
  %118 = getelementptr inbounds i8, ptr %0, i64 16
  %119 = load ptr, ptr %118, align 8, !tbaa !29
  %120 = load ptr, ptr %1, align 8, !tbaa !30
  %121 = getelementptr inbounds i8, ptr %1, i64 48
  %122 = load ptr, ptr %121, align 8, !tbaa !31
  %123 = getelementptr inbounds i8, ptr %122, i64 24
  %124 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef nonnull %8)
  %125 = extractvalue { ptr, i32 } %124, 0
  %126 = extractvalue { ptr, i32 } %124, 1
  %127 = load i64, ptr %123, align 8
  call void @Error__at__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Error__) align 8 %9, ptr noundef %120, i64 %127, ptr %125, i32 %126)
  call void @List__add__Error____(ptr noundef %119, ptr noundef nonnull byval(%struct.tag_____Error__) align 8 %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br label %129

128:                                              ; preds = %.critedge
  store ptr %47, ptr %29, align 8, !tbaa !25
  store ptr %48, ptr %30, align 8, !tbaa !25
  br label %129

129:                                              ; preds = %88, %128, %109, %105, %94, %100, %28
  %130 = load i32, ptr %12, align 8, !tbaa !12
  %131 = or i32 %130, 64
  store i32 %131, ptr %12, align 8, !tbaa !12
  br label %132

132:                                              ; preds = %2, %129
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @TypeChecker__assign__(ptr noundef, ptr, ptr, i32, ptr, ptr noundef byval(%struct.tag_____Tag__) align 8) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !7, i64 56}
!6 = !{!"tag_____TypeCheckerContext__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !10, i64 120, !10, i64 124, !7, i64 128, !10, i64 136, !8, i64 140}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 64}
!12 = !{!13, !10, i64 72}
!13 = !{!"tag_____StaticFieldDef__", !7, i64 0, !7, i64 8, !7, i64 16, !14, i64 24, !7, i64 40, !7, i64 48, !14, i64 56, !10, i64 72, !7, i64 80, !15, i64 88, !10, i64 104, !7, i64 112, !16, i64 120, !18, i64 152}
!14 = !{!"", !10, i64 0, !7, i64 8}
!15 = !{!"tag_____Tag__", !7, i64 0, !7, i64 8}
!16 = !{!"tag_____EvalResult__", !15, i64 0, !17, i64 16, !10, i64 24}
!17 = !{!"long", !8, i64 0}
!18 = !{!"", !7, i64 0, !10, i64 8}
!19 = !{!13, !7, i64 80}
!20 = !{!13, !7, i64 64}
!21 = !{!22, !7, i64 8}
!22 = !{!"tag_____IAllocator__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!23 = !{!22, !7, i64 0}
!24 = !{i64 0, i64 8, !25, i64 8, i64 4, !26, i64 16, i64 4, !26, i64 20, i64 4, !26, i64 24, i64 4, !26}
!25 = !{!7, !7, i64 0}
!26 = !{!10, !10, i64 0}
!27 = !{!13, !7, i64 112}
!28 = !{!6, !7, i64 72}
!29 = !{!6, !7, i64 16}
!30 = !{!13, !7, i64 0}
!31 = !{!13, !7, i64 48}
!32 = !{!6, !7, i64 32}
!33 = !{!13, !7, i64 88}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MergedLoadStoreMotionPass,SROAPass,SimplifyCFGPass,TailCallElimPass