; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_Interpreter (computeStaticField__)

; 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_____EvalResult__ = type { %struct.tag_____Tag__, i64, i32 }
%struct.tag_____Tag__ = type { ptr, 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.Node__ = type { i32, ptr }
%struct.tag_____GenerateContext__ = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, %struct.string__, i32, %struct.string__, i32, ptr, ptr, i8 }
%struct.tag_____Token__ = type { i32, %struct.string__, %struct.tag_____IntRange__, %struct.tag_____IntRange__, i32 }
%struct.tag_____IntRange__ = type { i32, 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 }
%struct.tag_____Compilation__ = type { ptr, ptr, i32, ptr, ptr, ptr, i32 }

@mu_____string347 = external dso_local global %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 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) #1

; 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) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @Interpreter__computeStaticField__(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.tag_____EvalResult__, align 8
  %7 = alloca %struct.tag_____EvalResult__, align 8
  %8 = alloca i32, align 4
  %9 = alloca %struct.tag_____EvalResult__, align 8
  %10 = alloca %struct.tag_____EvalResult__, align 8
  %11 = alloca %struct.tag_____EvalResult__, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %12, i32 0, i32 7
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = and i32 %14, 256
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %18

17:                                               ; preds = %2
  br label %123

18:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %19, i32 0, i32 10
  %21 = load ptr, ptr %20, align 8, !tbaa !17
  store ptr %21, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %22, i32 0, i32 11
  %24 = load ptr, ptr %23, align 8, !tbaa !19
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %25, i32 0, i32 10
  store ptr %24, ptr %26, align 8, !tbaa !17
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %27, i32 0, i32 7
  %29 = load i32, ptr %28, align 8, !tbaa !9
  %30 = and i32 %29, 2
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %43

32:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #4
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 32, i1 false)
  %33 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %6, i32 0, i32 0
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %34, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %35, i64 16, i1 false), !tbaa.struct !20
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %36, i32 0, i32 10
  %38 = load i32, ptr %37, align 8, !tbaa !21
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %6, i32 0, i32 1
  store i64 %39, ptr %40, align 8, !tbaa !22
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %41, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %42, ptr align 8 %6, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #4
  br label %113

43:                                               ; preds = %18
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %44, i32 0, i32 7
  %46 = load i32, ptr %45, align 8, !tbaa !9
  %47 = and i32 %46, 4
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %88

49:                                               ; preds = %43
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %50, i32 0, i32 2
  %52 = load ptr, ptr %51, align 8, !tbaa !26
  %53 = getelementptr inbounds %struct.tag_____Token__, ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds { ptr, i32 }, ptr %53, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8
  %56 = getelementptr inbounds { ptr, i32 }, ptr %53, i32 0, i32 1
  %57 = load i32, ptr %56, align 8
  %58 = load ptr, ptr @mu_____string347, align 8
  %59 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string347, i32 0, i32 1), align 8
  %60 = call zeroext i8 @string__equals__(ptr %55, i32 %57, ptr %58, i32 %59)
  %61 = icmp ne i8 %60, 0
  br i1 %61, label %62, label %83

62:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #4
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 32, i1 false)
  %63 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %7, i32 0, i32 0
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %64, i32 0, i32 4
  %66 = load ptr, ptr %65, align 8, !tbaa !27
  %67 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %66, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %63, ptr align 8 %67, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !28
  %71 = getelementptr inbounds %struct.tag_____Compilation__, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %71, align 8, !tbaa !29
  %73 = and i32 %72, 2
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %62
  store i32 1, ptr %8, align 4, !tbaa !25
  br label %77

76:                                               ; preds = %62
  store i32 0, ptr %8, align 4, !tbaa !25
  br label %77

77:                                               ; preds = %76, %75
  %78 = load i32, ptr %8, align 4, !tbaa !25
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %7, i32 0, i32 1
  store i64 %79, ptr %80, align 8, !tbaa !22
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %81, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %82, ptr align 8 %7, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #4
  br label %87

83:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #4
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 32, i1 false)
  %84 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %9, i32 0, i32 2
  store i32 5, ptr %84, align 8, !tbaa !31
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %85, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %86, ptr align 8 %9, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  br label %87

87:                                               ; preds = %83, %77
  br label %112

88:                                               ; preds = %43
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %89, i32 0, i32 6
  %91 = getelementptr inbounds %struct.Node__, ptr %90, i32 0, i32 1
  %92 = load ptr, ptr %91, align 8, !tbaa !32
  %93 = icmp eq ptr %92, null
  br i1 %93, label %94, label %101

94:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #4
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 32, i1 false)
  %95 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %10, i32 0, i32 0
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %96, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %95, ptr align 8 %97, i64 16, i1 false), !tbaa.struct !20
  %98 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %10, i32 0, i32 2
  store i32 1, ptr %98, align 8, !tbaa !31
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %99, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %100, ptr align 8 %10, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #4
  br label %111

101:                                              ; preds = %88
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %102, i32 0, i32 12
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #4
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %105, i32 0, i32 6
  %107 = getelementptr inbounds { i32, ptr }, ptr %106, i32 0, i32 0
  %108 = load i32, ptr %107, align 8
  %109 = getelementptr inbounds { i32, ptr }, ptr %106, i32 0, i32 1
  %110 = load ptr, ptr %109, align 8
  call void @Interpreter__evalExpression__(ptr dead_on_unwind writable sret(%struct.tag_____EvalResult__) align 8 %11, ptr noundef %104, i32 %108, ptr %110)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %103, ptr align 8 %11, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #4
  br label %111

111:                                              ; preds = %101, %94
  br label %112

112:                                              ; preds = %111, %87
  br label %113

113:                                              ; preds = %112, %32
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %114, i32 0, i32 7
  %116 = load i32, ptr %115, align 8, !tbaa !9
  %117 = or i32 %116, 256
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.tag_____StaticFieldDef__, ptr %118, i32 0, i32 7
  store i32 %117, ptr %119, align 8, !tbaa !9
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %121, i32 0, i32 10
  store ptr %120, ptr %122, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %123

123:                                              ; preds = %113, %17
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @Interpreter__evalExpression__(ptr dead_on_unwind noalias writable sret(%struct.tag_____EvalResult__) align 8, ptr noundef, i32, ptr) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 72}
!10 = !{!"tag_____StaticFieldDef__", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 40, !6, i64 48, !11, i64 56, !12, i64 72, !6, i64 80, !13, i64 88, !12, i64 104, !6, i64 112, !14, i64 120, !16, i64 152}
!11 = !{!"", !12, i64 0, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!14 = !{!"tag_____EvalResult__", !13, i64 0, !15, i64 16, !12, i64 24}
!15 = !{!"long", !7, i64 0}
!16 = !{!"", !6, i64 0, !12, i64 8}
!17 = !{!18, !6, i64 72}
!18 = !{!"tag_____GenerateContext__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !12, i64 96, !16, i64 104, !12, i64 120, !6, i64 128, !6, i64 136, !7, i64 144}
!19 = !{!10, !6, i64 112}
!20 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!21 = !{!10, !12, i64 104}
!22 = !{!14, !15, i64 16}
!23 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !24, i64 24, i64 4, !25}
!24 = !{!15, !15, i64 0}
!25 = !{!12, !12, i64 0}
!26 = !{!10, !6, i64 16}
!27 = !{!18, !6, i64 32}
!28 = !{!18, !6, i64 0}
!29 = !{!30, !12, i64 48}
!30 = !{!"tag_____Compilation__", !6, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48}
!31 = !{!14, !12, i64 24}
!32 = !{!10, !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_____Tag__ = type { ptr, ptr }
%struct.tag_____EvalResult__ = type { %struct.tag_____Tag__, i64, i32 }

@mu_____string347 = external dso_local local_unnamed_addr global %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 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) #1

; 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) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @Interpreter__computeStaticField__(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #3 {
  %.sroa.0.sroa.0 = alloca %struct.tag_____Tag__, align 8
  %3 = alloca %struct.tag_____EvalResult__, align 8
  %4 = getelementptr inbounds i8, ptr %1, i64 72
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = and i32 %5, 256
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %7, label %56

7:                                                ; preds = %2
  %8 = getelementptr inbounds i8, ptr %0, i64 72
  %9 = load ptr, ptr %8, align 8, !tbaa !16
  %10 = getelementptr inbounds i8, ptr %1, i64 112
  %11 = load ptr, ptr %10, align 8, !tbaa !18
  store ptr %11, ptr %8, align 8, !tbaa !16
  %12 = and i32 %5, 2
  %.not32 = icmp eq i32 %12, 0
  br i1 %.not32, label %19, label %13

13:                                               ; preds = %7
  %14 = getelementptr inbounds i8, ptr %1, i64 88
  %15 = getelementptr inbounds i8, ptr %1, i64 104
  %16 = load i32, ptr %15, align 8, !tbaa !19
  %17 = zext i32 %16 to i64
  %18 = getelementptr inbounds i8, ptr %1, i64 120
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %14, i64 16, i1 false)
  %.sroa.57.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 136
  store i64 %17, ptr %.sroa.57.0..sroa_idx, align 8, !tbaa !20
  %.sroa.68.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 144
  store i64 0, ptr %.sroa.68.0..sroa_idx, align 8
  br label %53

19:                                               ; preds = %7
  %20 = and i32 %5, 4
  %.not33 = icmp eq i32 %20, 0
  br i1 %.not33, label %42, label %21

21:                                               ; preds = %19
  %22 = getelementptr inbounds i8, ptr %1, i64 16
  %23 = load ptr, ptr %22, align 8, !tbaa !21
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load ptr, ptr %24, align 8
  %26 = getelementptr inbounds i8, ptr %23, i64 16
  %27 = load i32, ptr %26, align 8
  %28 = load ptr, ptr @mu_____string347, align 8
  %29 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string347, i64 8), align 8
  %30 = tail call zeroext i8 @string__equals__(ptr %25, i32 %27, ptr %28, i32 %29)
  %.not34 = icmp eq i8 %30, 0
  br i1 %.not34, label %40, label %31

31:                                               ; preds = %21
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  %33 = load ptr, ptr %32, align 8, !tbaa !22
  %34 = getelementptr inbounds i8, ptr %33, i64 224
  %35 = load ptr, ptr %0, align 8, !tbaa !23
  %36 = getelementptr inbounds i8, ptr %35, i64 48
  %37 = load i32, ptr %36, align 8, !tbaa !24
  %38 = lshr i32 %37, 1
  %.lobit = and i32 %38, 1
  %. = zext nneg i32 %.lobit to i64
  %39 = getelementptr inbounds i8, ptr %1, i64 120
  tail call void @llvm.memmove.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %34, i64 16, i1 false)
  %.sroa.54.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 136
  store i64 %., ptr %.sroa.54.0..sroa_idx, align 8, !tbaa !20
  %.sroa.65.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 144
  store i64 0, ptr %.sroa.65.0..sroa_idx, align 8
  br label %53

40:                                               ; preds = %21
  %41 = getelementptr inbounds i8, ptr %1, i64 120
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %41, i8 0, i64 24, i1 false)
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 144
  store i32 5, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !26
  %.sroa.52.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 148
  store i32 0, ptr %.sroa.52.0..sroa_idx, align 4
  br label %53

42:                                               ; preds = %19
  %43 = getelementptr inbounds i8, ptr %1, i64 64
  %44 = load ptr, ptr %43, align 8
  %45 = icmp eq ptr %44, null
  br i1 %45, label %46, label %49

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %.sroa.0.sroa.0)
  %47 = getelementptr inbounds i8, ptr %1, i64 88
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.sroa.0.sroa.0, ptr noundef nonnull align 8 dereferenceable(16) %47, i64 16, i1 false), !tbaa.struct !27
  %48 = getelementptr inbounds i8, ptr %1, i64 120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 8 dereferenceable(16) %.sroa.0.sroa.0, i64 16, i1 false), !tbaa.struct !29
  %.sroa.0.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 136
  store i64 0, ptr %.sroa.0.sroa.4.0..sroa_idx, align 8, !tbaa !20
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 144
  store i32 1, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !26
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 148
  store i32 0, ptr %.sroa.6.0..sroa_idx, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %.sroa.0.sroa.0)
  br label %53

49:                                               ; preds = %42
  %50 = getelementptr inbounds i8, ptr %1, i64 56
  %51 = getelementptr inbounds i8, ptr %1, i64 120
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  %52 = load i32, ptr %50, align 8
  call void @Interpreter__evalExpression__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____EvalResult__) align 8 %3, ptr noundef nonnull %0, i32 %52, ptr nonnull %44)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(32) %3, i64 32, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  br label %53

53:                                               ; preds = %40, %31, %49, %46, %13
  %54 = load i32, ptr %4, align 8, !tbaa !5
  %55 = or i32 %54, 256
  store i32 %55, ptr %4, align 8, !tbaa !5
  store ptr %9, ptr %8, align 8, !tbaa !16
  br label %56

56:                                               ; preds = %2, %53
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @Interpreter__evalExpression__(ptr dead_on_unwind noalias writable sret(%struct.tag_____EvalResult__) align 8, ptr noundef, i32, ptr) local_unnamed_addr #3

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

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


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