; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_Parser (parseStaticField__)

; 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.Node__ = type { i32, ptr }
%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_____Tag__ = type { ptr, ptr }
%struct.tag_____EvalResult__ = type { %struct.tag_____Tag__, i64, i32 }
%struct.tag_____ParserState__ = type { %struct.string__, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, %struct.tag_____IntRange__, i32, i32, ptr, i32, ptr, ptr, ptr }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____Token__ = type { i32, %struct.string__, %struct.tag_____IntRange__, %struct.tag_____IntRange__, i32 }

@mu_____string297 = external dso_local global %struct.string__, align 8
@mu_____string266 = external dso_local global %struct.string__, align 8
@mu_____string263 = external dso_local global %struct.string__, align 8
@mu_____string302 = external dso_local global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local global %struct.tag_____IAllocator__, 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 zeroext i8 @string__equals__(ptr, i32, ptr, i32) #4

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @Parser__tryParseAttributes__(ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @Parser__parseStaticField__(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.Node__, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.Node__, align 8
  %9 = alloca %struct.Node__, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.tag_____StaticFieldDef__, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %struct.Node__, align 8
  %14 = alloca %struct.Node__, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca %struct.Node__, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.tag_____ParserState__, ptr %18, i32 0, i32 3
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  store ptr %20, ptr %5, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %21)
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.tag_____ParserState__, ptr %22, i32 0, i32 3
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.tag_____Token__, ptr %24, i32 0, i32 4
  %26 = load i32, ptr %25, align 8, !tbaa !14
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.tag_____ParserState__, ptr %27, i32 0, i32 5
  %29 = load i32, ptr %28, align 4, !tbaa !16
  %30 = icmp sle i32 %26, %29
  br i1 %30, label %31, label %48

31:                                               ; preds = %2
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = load ptr, ptr @mu_____string297, align 8
  %34 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string297, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %32, ptr %33, i32 %34)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #5
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 1
  store ptr %35, ptr %36, align 8, !tbaa !17
  %37 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !17
  %39 = icmp ne ptr %38, null
  %40 = zext i1 %39 to i64
  %41 = select i1 %39, i32 21, i32 0
  %42 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 0
  store i32 %41, ptr %42, align 8, !tbaa !19
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds { i32, ptr }, ptr %6, i32 0, i32 0
  %45 = load i32, ptr %44, align 8
  %46 = getelementptr inbounds { i32, ptr }, ptr %6, i32 0, i32 1
  %47 = load ptr, ptr %46, align 8
  call void @List__add__Node____(ptr noundef %43, i32 %45, ptr %47)
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  br label %205

48:                                               ; preds = %2
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.tag_____ParserState__, ptr %49, i32 0, i32 3
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.tag_____Token__, ptr %51, i32 0, i32 0
  %53 = load i32, ptr %52, align 8, !tbaa !20
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %87

55:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.Node__, ptr %8, i32 0, i32 1
  store ptr %56, ptr %57, align 8, !tbaa !17
  %58 = getelementptr inbounds %struct.Node__, ptr %8, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !17
  %60 = icmp ne ptr %59, null
  %61 = zext i1 %60 to i64
  %62 = select i1 %60, i32 21, i32 0
  %63 = getelementptr inbounds %struct.Node__, ptr %8, i32 0, i32 0
  store i32 %62, ptr %63, align 8, !tbaa !19
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds { i32, ptr }, ptr %8, i32 0, i32 0
  %66 = load i32, ptr %65, align 8
  %67 = getelementptr inbounds { i32, ptr }, ptr %8, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8
  call void @List__add__Node____(ptr noundef %64, i32 %66, ptr %68)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.tag_____ParserState__, ptr %69, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !9
  %72 = getelementptr inbounds %struct.Node__, ptr %9, i32 0, i32 1
  store ptr %71, ptr %72, align 8, !tbaa !17
  %73 = getelementptr inbounds %struct.Node__, ptr %9, i32 0, i32 1
  %74 = load ptr, ptr %73, align 8, !tbaa !17
  %75 = icmp ne ptr %74, null
  %76 = zext i1 %75 to i64
  %77 = select i1 %75, i32 21, i32 0
  %78 = getelementptr inbounds %struct.Node__, ptr %9, i32 0, i32 0
  store i32 %77, ptr %78, align 8, !tbaa !19
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds { i32, ptr }, ptr %9, i32 0, i32 0
  %81 = load i32, ptr %80, align 8
  %82 = getelementptr inbounds { i32, ptr }, ptr %9, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8
  call void @List__add__Node____(ptr noundef %79, i32 %81, ptr %83)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = load ptr, ptr @mu_____string263, align 8
  %86 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string263, i32 0, i32 1), align 8
  call void @Parser__badToken__(ptr noundef %84, ptr %85, i32 %86)
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  br label %205

87:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %88 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %89 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %88, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !21
  %91 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %92 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %91, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !23
  %94 = call ptr %90(ptr noundef %93, i64 noundef 168)
  store ptr %94, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 168, ptr %11) #5
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 168, i1 false)
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.tag_____ParserState__, ptr %95, i32 0, i32 2
  %97 = load ptr, ptr %96, align 8, !tbaa !24
  %98 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %11, i32 0, i32 0
  store ptr %97, ptr %98, align 8, !tbaa !25
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %11, i32 0, i32 1
  store ptr %99, ptr %100, align 8, !tbaa !30
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.tag_____ParserState__, ptr %101, i32 0, i32 3
  %103 = load ptr, ptr %102, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %11, i32 0, i32 2
  store ptr %103, ptr %104, align 8, !tbaa !31
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %105, ptr align 8 %11, i64 168, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %106, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.Node__, ptr %13, i32 0, i32 1
  store ptr %107, ptr %108, align 8, !tbaa !17
  %109 = getelementptr inbounds %struct.Node__, ptr %13, i32 0, i32 1
  %110 = load ptr, ptr %109, align 8, !tbaa !17
  %111 = icmp ne ptr %110, null
  %112 = zext i1 %111 to i64
  %113 = select i1 %111, i32 1, i32 0
  %114 = getelementptr inbounds %struct.Node__, ptr %13, i32 0, i32 0
  store i32 %113, ptr %114, align 8, !tbaa !19
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds { i32, ptr }, ptr %13, i32 0, i32 0
  %117 = load i32, ptr %116, align 8
  %118 = getelementptr inbounds { i32, ptr }, ptr %13, i32 0, i32 1
  %119 = load ptr, ptr %118, align 8
  call void @List__add__Node____(ptr noundef %115, i32 %117, ptr %119)
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %120)
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %121, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = call { i32, ptr } @Parser__tryParseType__(ptr noundef %123)
  %125 = getelementptr inbounds { i32, ptr }, ptr %14, i32 0, i32 0
  %126 = extractvalue { i32, ptr } %124, 0
  store i32 %126, ptr %125, align 8
  %127 = getelementptr inbounds { i32, ptr }, ptr %14, i32 0, i32 1
  %128 = extractvalue { i32, ptr } %124, 1
  store ptr %128, ptr %127, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %122, ptr align 8 %14, i64 16, i1 false), !tbaa.struct !35
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = call ptr @Parser__tryParseAttributes__(ptr noundef %129)
  %131 = load ptr, ptr %12, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %131, i32 0, i32 4
  store ptr %130, ptr %132, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.tag_____ParserState__, ptr %133, i32 0, i32 3
  %135 = load ptr, ptr %134, align 8, !tbaa !9
  %136 = getelementptr inbounds %struct.tag_____Token__, ptr %135, i32 0, i32 4
  %137 = load i32, ptr %136, align 8, !tbaa !14
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.tag_____ParserState__, ptr %138, i32 0, i32 5
  %140 = load i32, ptr %139, align 4, !tbaa !16
  %141 = icmp sle i32 %137, %140
  %142 = zext i1 %141 to i32
  %143 = trunc i32 %142 to i8
  store i8 %143, ptr %15, align 1, !tbaa !37
  %144 = load i8, ptr %15, align 1, !tbaa !37
  %145 = icmp ne i8 %144, 0
  br i1 %145, label %155, label %146

146:                                              ; preds = %87
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.tag_____ParserState__, ptr %147, i32 0, i32 3
  %149 = load ptr, ptr %148, align 8, !tbaa !9
  %150 = getelementptr inbounds %struct.tag_____Token__, ptr %149, i32 0, i32 0
  %151 = load i32, ptr %150, align 8, !tbaa !20
  %152 = icmp ne i32 %151, 4
  %153 = zext i1 %152 to i32
  %154 = trunc i32 %153 to i8
  store i8 %154, ptr %15, align 1, !tbaa !37
  br label %155

155:                                              ; preds = %146, %87
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  %156 = load i8, ptr %15, align 1, !tbaa !37
  store i8 %156, ptr %16, align 1, !tbaa !37
  %157 = load i8, ptr %16, align 1, !tbaa !37
  %158 = icmp ne i8 %157, 0
  br i1 %158, label %175, label %159

159:                                              ; preds = %155
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.tag_____ParserState__, ptr %160, i32 0, i32 3
  %162 = load ptr, ptr %161, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.tag_____Token__, ptr %162, i32 0, i32 1
  %164 = getelementptr inbounds { ptr, i32 }, ptr %163, i32 0, i32 0
  %165 = load ptr, ptr %164, align 8
  %166 = getelementptr inbounds { ptr, i32 }, ptr %163, i32 0, i32 1
  %167 = load i32, ptr %166, align 8
  %168 = load ptr, ptr @mu_____string266, align 8
  %169 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string266, i32 0, i32 1), align 8
  %170 = call zeroext i8 @string__equals__(ptr %165, i32 %167, ptr %168, i32 %169)
  %171 = icmp ne i8 %170, 0
  %172 = xor i1 %171, true
  %173 = zext i1 %172 to i32
  %174 = trunc i32 %173 to i8
  store i8 %174, ptr %16, align 1, !tbaa !37
  br label %175

175:                                              ; preds = %159, %155
  %176 = load i8, ptr %16, align 1, !tbaa !37
  %177 = icmp ne i8 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %175
  store i32 1, ptr %7, align 4
  br label %204

179:                                              ; preds = %175
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.tag_____ParserState__, ptr %180, i32 0, i32 3
  %182 = load ptr, ptr %181, align 8, !tbaa !9
  %183 = load ptr, ptr %12, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %183, i32 0, i32 5
  store ptr %182, ptr %184, align 8, !tbaa !38
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  call void @Parser__readToken__(ptr noundef %185)
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %186, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = call { i32, ptr } @Parser__tryParseExpression__(ptr noundef %188, i32 noundef 0, i8 noundef zeroext 1)
  %190 = getelementptr inbounds { i32, ptr }, ptr %17, i32 0, i32 0
  %191 = extractvalue { i32, ptr } %189, 0
  store i32 %191, ptr %190, align 8
  %192 = getelementptr inbounds { i32, ptr }, ptr %17, i32 0, i32 1
  %193 = extractvalue { i32, ptr } %189, 1
  store ptr %193, ptr %192, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %187, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !35
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  %194 = load ptr, ptr %12, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %194, i32 0, i32 6
  %196 = getelementptr inbounds %struct.Node__, ptr %195, i32 0, i32 1
  %197 = load ptr, ptr %196, align 8, !tbaa !39
  %198 = icmp eq ptr %197, null
  br i1 %198, label %199, label %203

199:                                              ; preds = %179
  %200 = load ptr, ptr %3, align 8, !tbaa !5
  %201 = load ptr, ptr @mu_____string302, align 8
  %202 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string302, i32 0, i32 1), align 8
  call void @Parser__expected__(ptr noundef %200, ptr %201, i32 %202)
  br label %203

203:                                              ; preds = %199, %179
  store i32 0, ptr %7, align 4
  br label %204

204:                                              ; preds = %203, %178
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 168, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %205

205:                                              ; preds = %204, %55, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %206 = load i32, ptr %7, align 4
  switch i32 %206, label %208 [
    i32 0, label %207
    i32 1, label %207
  ]

207:                                              ; preds = %205, %205
  ret void

208:                                              ; preds = %205
  unreachable
}

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 32}
!10 = !{!"tag_____ParserState__", !11, i64 0, !12, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !6, i64 64, !13, i64 72, !12, i64 80, !12, i64 84, !6, i64 88, !12, i64 96, !6, i64 104, !6, i64 112, !6, i64 120}
!11 = !{!"", !6, i64 0, !12, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"tag_____IntRange__", !12, i64 0, !12, i64 4}
!14 = !{!15, !12, i64 40}
!15 = !{!"tag_____Token__", !12, i64 0, !11, i64 8, !13, i64 24, !13, i64 32, !12, i64 40}
!16 = !{!10, !12, i64 44}
!17 = !{!18, !6, i64 8}
!18 = !{!"", !12, i64 0, !6, i64 8}
!19 = !{!18, !12, i64 0}
!20 = !{!15, !12, i64 0}
!21 = !{!22, !6, i64 8}
!22 = !{!"tag_____IAllocator__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!23 = !{!22, !6, i64 0}
!24 = !{!10, !6, i64 24}
!25 = !{!26, !6, i64 0}
!26 = !{!"tag_____StaticFieldDef__", !6, i64 0, !6, i64 8, !6, i64 16, !18, i64 24, !6, i64 40, !6, i64 48, !18, i64 56, !12, i64 72, !6, i64 80, !27, i64 88, !12, i64 104, !6, i64 112, !28, i64 120, !11, i64 152}
!27 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!28 = !{!"tag_____EvalResult__", !27, i64 0, !29, i64 16, !12, i64 24}
!29 = !{!"long", !7, i64 0}
!30 = !{!26, !6, i64 8}
!31 = !{!26, !6, i64 16}
!32 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 4, !33, i64 32, i64 8, !5, i64 40, i64 8, !5, i64 48, i64 8, !5, i64 56, i64 4, !33, i64 64, i64 8, !5, i64 72, i64 4, !33, i64 80, i64 8, !5, i64 88, i64 8, !5, i64 96, i64 8, !5, i64 104, i64 4, !33, i64 112, i64 8, !5, i64 120, i64 8, !5, i64 128, i64 8, !5, i64 136, i64 8, !34, i64 144, i64 4, !33, i64 152, i64 8, !5, i64 160, i64 4, !33}
!33 = !{!12, !12, i64 0}
!34 = !{!29, !29, i64 0}
!35 = !{i64 0, i64 4, !33, i64 8, i64 8, !5}
!36 = !{!26, !6, i64 40}
!37 = !{!7, !7, i64 0}
!38 = !{!26, !6, i64 48}
!39 = !{!26, !6, i64 64}


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

@mu_____string297 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string266 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string263 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string302 = 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

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

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @string__equals__(ptr, i32, ptr, i32) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @Parser__readToken__(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local { i32, ptr } @Parser__tryParseExpression__(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @Parser__tryParseAttributes__(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @Parser__parseStaticField__(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 32
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  tail call void @Parser__readToken__(ptr noundef %0)
  %5 = load ptr, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 40
  %7 = load i32, ptr %6, align 8, !tbaa !13
  %8 = getelementptr inbounds i8, ptr %0, i64 44
  %9 = load i32, ptr %8, align 4, !tbaa !15
  %.not = icmp sgt i32 %7, %9
  br i1 %.not, label %14, label %10

10:                                               ; preds = %2
  %11 = load ptr, ptr @mu_____string297, align 8
  %12 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string297, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %11, i32 %12)
  %.not70 = icmp eq ptr %4, null
  %13 = select i1 %.not70, i32 0, i32 21
  tail call void @List__add__Node____(ptr noundef %1, i32 %13, ptr %4)
  br label %.critedge71

14:                                               ; preds = %2
  %15 = load i32, ptr %5, align 8, !tbaa !16
  %.not62 = icmp eq i32 %15, 0
  br i1 %.not62, label %22, label %16

16:                                               ; preds = %14
  %.not68 = icmp eq ptr %4, null
  %17 = select i1 %.not68, i32 0, i32 21
  tail call void @List__add__Node____(ptr noundef %1, i32 %17, ptr %4)
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %.not69 = icmp eq ptr %18, null
  %19 = select i1 %.not69, i32 0, i32 21
  tail call void @List__add__Node____(ptr noundef %1, i32 %19, ptr %18)
  %20 = load ptr, ptr @mu_____string263, align 8
  %21 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string263, i64 8), align 8
  tail call void @Parser__badToken__(ptr noundef nonnull %0, ptr %20, i32 %21)
  br label %.critedge71

22:                                               ; preds = %14
  %23 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  %26 = load ptr, ptr %23, align 8, !tbaa !19
  %27 = tail call ptr %25(ptr noundef %26, i64 noundef 168) #3
  %28 = getelementptr inbounds i8, ptr %0, i64 24
  %29 = load ptr, ptr %28, align 8, !tbaa !20
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %29, ptr %27, align 8, !tbaa !21
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  store ptr %4, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !21
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 16
  store ptr %30, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !21
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 24
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(144) %.sroa.7.0..sroa_idx, i8 0, i64 144, i1 false)
  tail call void @List__add__Node____(ptr noundef %1, i32 1, ptr nonnull %27)
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  %31 = tail call { i32, ptr } @Parser__tryParseType__(ptr noundef nonnull %0)
  %32 = extractvalue { i32, ptr } %31, 0
  %33 = extractvalue { i32, ptr } %31, 1
  store i32 %32, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !22
  %.sroa.47.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 32
  store ptr %33, ptr %.sroa.47.0..sroa_idx, align 8, !tbaa !21
  %34 = tail call ptr @Parser__tryParseAttributes__(ptr noundef nonnull %0)
  %35 = getelementptr inbounds i8, ptr %27, i64 40
  store ptr %34, ptr %35, align 8, !tbaa !23
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %36, i64 40
  %38 = load i32, ptr %37, align 8, !tbaa !13
  %39 = load i32, ptr %8, align 4, !tbaa !15
  %.not63 = icmp sgt i32 %38, %39
  br i1 %.not63, label %40, label %.critedge71

40:                                               ; preds = %22
  %41 = load i32, ptr %36, align 8, !tbaa !16
  %.not65 = icmp eq i32 %41, 4
  br i1 %.not65, label %.critedge, label %.critedge71

.critedge:                                        ; preds = %40
  %42 = getelementptr inbounds i8, ptr %36, i64 8
  %43 = load ptr, ptr %42, align 8
  %44 = getelementptr inbounds i8, ptr %36, i64 16
  %45 = load i32, ptr %44, align 8
  %46 = load ptr, ptr @mu_____string266, align 8
  %47 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string266, i64 8), align 8
  %48 = tail call zeroext i8 @string__equals__(ptr %43, i32 %45, ptr %46, i32 %47)
  %.not66.not = icmp eq i8 %48, 0
  br i1 %.not66.not, label %.critedge71, label %49

49:                                               ; preds = %.critedge
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %27, i64 48
  store ptr %50, ptr %51, align 8, !tbaa !29
  tail call void @Parser__readToken__(ptr noundef nonnull %0)
  %52 = getelementptr inbounds i8, ptr %27, i64 56
  %53 = tail call { i32, ptr } @Parser__tryParseExpression__(ptr noundef nonnull %0, i32 noundef 0, i8 noundef zeroext 1)
  %54 = extractvalue { i32, ptr } %53, 0
  %55 = extractvalue { i32, ptr } %53, 1
  store i32 %54, ptr %52, align 8, !tbaa !22
  %.sroa.41.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 64
  store ptr %55, ptr %.sroa.41.0..sroa_idx, align 8, !tbaa !21
  %56 = icmp eq ptr %55, null
  br i1 %56, label %57, label %.critedge71

57:                                               ; preds = %49
  %58 = load ptr, ptr @mu_____string302, align 8
  %59 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string302, i64 8), align 8
  tail call void @Parser__expected__(ptr noundef nonnull %0, ptr %58, i32 %59)
  br label %.critedge71

.critedge71:                                      ; preds = %.critedge, %57, %49, %22, %40, %16, %10
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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, !8, i64 32}
!6 = !{!"tag_____ParserState__", !7, i64 0, !11, i64 16, !8, i64 24, !8, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !8, i64 64, !12, i64 72, !11, i64 80, !11, i64 84, !8, i64 88, !11, i64 96, !8, i64 104, !8, i64 112, !8, i64 120}
!7 = !{!"", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"tag_____IntRange__", !11, i64 0, !11, i64 4}
!13 = !{!14, !11, i64 40}
!14 = !{!"tag_____Token__", !11, i64 0, !7, i64 8, !12, i64 24, !12, i64 32, !11, i64 40}
!15 = !{!6, !11, i64 44}
!16 = !{!14, !11, i64 0}
!17 = !{!18, !8, i64 8}
!18 = !{!"tag_____IAllocator__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!19 = !{!18, !8, i64 0}
!20 = !{!6, !8, i64 24}
!21 = !{!8, !8, i64 0}
!22 = !{!11, !11, i64 0}
!23 = !{!24, !8, i64 40}
!24 = !{!"tag_____StaticFieldDef__", !8, i64 0, !8, i64 8, !8, i64 16, !25, i64 24, !8, i64 40, !8, i64 48, !25, i64 56, !11, i64 72, !8, i64 80, !26, i64 88, !11, i64 104, !8, i64 112, !27, i64 120, !7, i64 152}
!25 = !{!"", !11, i64 0, !8, i64 8}
!26 = !{!"tag_____Tag__", !8, i64 0, !8, i64 8}
!27 = !{!"tag_____EvalResult__", !26, i64 0, !28, i64 16, !11, i64 24}
!28 = !{!"long", !9, i64 0}
!29 = !{!24, !8, i64 48}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass