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

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

@mu_____string248 = external dso_local global %struct.string__, align 8
@mu_____string249 = 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
declare dso_local void @Map__get__Node__NodeInfo____(ptr dead_on_unwind noalias writable sret(%struct.tag_____NodeInfo__) align 8, ptr noundef, i32, ptr) #3

; Function Attrs: nounwind uwtable
define dso_local void @Interpreter__evalBinaryOperatorExpression__(ptr dead_on_unwind noalias writable sret(%struct.tag_____EvalResult__) align 8 %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.string__, align 8
  %7 = alloca %struct.tag_____Tag__, align 8
  %8 = alloca %struct.tag_____NodeInfo__, align 8
  %9 = alloca %struct.tag_____Tag__, align 8
  %10 = alloca %struct.tag_____NodeInfo__, align 8
  %11 = alloca %struct.Node__, align 8
  %12 = alloca %struct.tag_____Tag__, align 8
  %13 = alloca %struct.tag_____NodeInfo__, align 8
  %14 = alloca %struct.tag_____EvalResult__, align 8
  %15 = alloca %struct.tag_____EvalResult__, align 8
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  store ptr %1, ptr %4, align 8, !tbaa !5
  store ptr %2, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %18, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds %struct.tag_____Token__, ptr %20, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %22, i32 0, i32 10
  %24 = load ptr, ptr %23, align 8, !tbaa !15
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %25, i32 0, i32 1
  %27 = getelementptr inbounds { i32, ptr }, ptr %26, i32 0, i32 0
  %28 = load i32, ptr %27, align 8
  %29 = getelementptr inbounds { i32, ptr }, ptr %26, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8
  call void @Map__get__Node__NodeInfo____(ptr dead_on_unwind writable sret(%struct.tag_____NodeInfo__) align 8 %8, ptr noundef %24, i32 %28, ptr %30)
  %31 = getelementptr inbounds %struct.tag_____NodeInfo__, ptr %8, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %31, i64 16, i1 false), !tbaa.struct !18
  %32 = getelementptr inbounds %struct.tag_____Tag__, ptr %7, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !19
  %34 = getelementptr inbounds %struct.tag_____Namespace__, ptr %33, i32 0, i32 3
  %35 = load i32, ptr %34, align 4, !tbaa !21
  %36 = and i32 %35, 2048
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %145

38:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %39, i32 0, i32 10
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %42, i32 0, i32 2
  %44 = getelementptr inbounds { i32, ptr }, ptr %43, i32 0, i32 0
  %45 = load i32, ptr %44, align 8
  %46 = getelementptr inbounds { i32, ptr }, ptr %43, i32 0, i32 1
  %47 = load ptr, ptr %46, align 8
  call void @Map__get__Node__NodeInfo____(ptr dead_on_unwind writable sret(%struct.tag_____NodeInfo__) align 8 %10, ptr noundef %41, i32 %45, ptr %47)
  %48 = getelementptr inbounds %struct.tag_____NodeInfo__, ptr %10, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %48, i64 16, i1 false), !tbaa.struct !18
  %49 = getelementptr inbounds %struct.tag_____Tag__, ptr %7, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !19
  %51 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  %53 = icmp eq ptr %50, %52
  br i1 %53, label %54, label %141

54:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.Node__, ptr %11, i32 0, i32 1
  store ptr %55, ptr %56, align 8, !tbaa !23
  %57 = getelementptr inbounds %struct.Node__, ptr %11, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !23
  %59 = icmp ne ptr %58, null
  %60 = zext i1 %59 to i64
  %61 = select i1 %59, i32 12, i32 0
  %62 = getelementptr inbounds %struct.Node__, ptr %11, i32 0, i32 0
  store i32 %61, ptr %62, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %63, i32 0, i32 10
  %65 = load ptr, ptr %64, align 8, !tbaa !15
  %66 = getelementptr inbounds { i32, ptr }, ptr %11, i32 0, i32 0
  %67 = load i32, ptr %66, align 8
  %68 = getelementptr inbounds { i32, ptr }, ptr %11, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8
  call void @Map__get__Node__NodeInfo____(ptr dead_on_unwind writable sret(%struct.tag_____NodeInfo__) align 8 %13, ptr noundef %65, i32 %67, ptr %69)
  %70 = getelementptr inbounds %struct.tag_____NodeInfo__, ptr %13, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %70, i64 16, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #4
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %72, i32 0, i32 1
  %74 = getelementptr inbounds { i32, ptr }, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8
  %76 = getelementptr inbounds { i32, ptr }, ptr %73, i32 0, i32 1
  %77 = load ptr, ptr %76, align 8
  call void @Interpreter__evalExpression__(ptr dead_on_unwind writable sret(%struct.tag_____EvalResult__) align 8 %14, ptr noundef %71, i32 %75, ptr %77)
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #4
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %79, i32 0, i32 2
  %81 = getelementptr inbounds { i32, ptr }, ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 8
  %83 = getelementptr inbounds { i32, ptr }, ptr %80, i32 0, i32 1
  %84 = load ptr, ptr %83, align 8
  call void @Interpreter__evalExpression__(ptr dead_on_unwind writable sret(%struct.tag_____EvalResult__) align 8 %15, ptr noundef %78, i32 %82, ptr %84)
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #4
  %85 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %14, i32 0, i32 2
  %86 = load i32, ptr %85, align 8, !tbaa !25
  %87 = icmp eq i32 %86, 0
  %88 = zext i1 %87 to i32
  %89 = trunc i32 %88 to i8
  store i8 %89, ptr %16, align 1, !tbaa !28
  %90 = load i8, ptr %16, align 1, !tbaa !28
  %91 = icmp ne i8 %90, 0
  br i1 %91, label %92, label %98

92:                                               ; preds = %54
  %93 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %15, i32 0, i32 2
  %94 = load i32, ptr %93, align 8, !tbaa !25
  %95 = icmp eq i32 %94, 0
  %96 = zext i1 %95 to i32
  %97 = trunc i32 %96 to i8
  store i8 %97, ptr %16, align 1, !tbaa !28
  br label %98

98:                                               ; preds = %92, %54
  %99 = load i8, ptr %16, align 1, !tbaa !28
  %100 = icmp ne i8 %99, 0
  br i1 %100, label %101, label %137

101:                                              ; preds = %98
  %102 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  %104 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %105 = load i32, ptr %104, align 8
  %106 = load ptr, ptr @mu_____string249, align 8
  %107 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string249, i32 0, i32 1), align 8
  %108 = call zeroext i8 @string__equals__(ptr %103, i32 %105, ptr %106, i32 %107)
  %109 = icmp ne i8 %108, 0
  br i1 %109, label %110, label %118

110:                                              ; preds = %101
  call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 32, i1 false)
  %111 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %111, ptr align 8 %12, i64 16, i1 false), !tbaa.struct !18
  %112 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %14, i32 0, i32 1
  %113 = load i64, ptr %112, align 8, !tbaa !29
  %114 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %15, i32 0, i32 1
  %115 = load i64, ptr %114, align 8, !tbaa !29
  %116 = or i64 %113, %115
  %117 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %0, i32 0, i32 1
  store i64 %116, ptr %117, align 8, !tbaa !29
  store i32 1, ptr %17, align 4
  br label %138

118:                                              ; preds = %101
  %119 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8
  %121 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %122 = load i32, ptr %121, align 8
  %123 = load ptr, ptr @mu_____string248, align 8
  %124 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string248, i32 0, i32 1), align 8
  %125 = call zeroext i8 @string__equals__(ptr %120, i32 %122, ptr %123, i32 %124)
  %126 = icmp ne i8 %125, 0
  br i1 %126, label %127, label %135

127:                                              ; preds = %118
  call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 32, i1 false)
  %128 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %128, ptr align 8 %12, i64 16, i1 false), !tbaa.struct !18
  %129 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %14, i32 0, i32 1
  %130 = load i64, ptr %129, align 8, !tbaa !29
  %131 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %15, i32 0, i32 1
  %132 = load i64, ptr %131, align 8, !tbaa !29
  %133 = and i64 %130, %132
  %134 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %0, i32 0, i32 1
  store i64 %133, ptr %134, align 8, !tbaa !29
  store i32 1, ptr %17, align 4
  br label %138

135:                                              ; preds = %118
  br label %136

136:                                              ; preds = %135
  br label %137

137:                                              ; preds = %136, %98
  store i32 0, ptr %17, align 4
  br label %138

138:                                              ; preds = %137, %127, %110
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  %139 = load i32, ptr %17, align 4
  switch i32 %139, label %142 [
    i32 0, label %140
  ]

140:                                              ; preds = %138
  br label %141

141:                                              ; preds = %140, %38
  store i32 0, ptr %17, align 4
  br label %142

142:                                              ; preds = %141, %138
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  %143 = load i32, ptr %17, align 4
  switch i32 %143, label %147 [
    i32 0, label %144
  ]

144:                                              ; preds = %142
  br label %145

145:                                              ; preds = %144, %3
  call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 32, i1 false)
  %146 = getelementptr inbounds %struct.tag_____EvalResult__, ptr %0, i32 0, i32 2
  store i32 2, ptr %146, align 8, !tbaa !25
  store i32 1, ptr %17, align 4
  br label %147

147:                                              ; preds = %145, %142
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  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, !6, i64 0}
!10 = !{!"tag_____BinaryOperatorExpression__", !6, i64 0, !11, i64 8, !11, i64 24}
!11 = !{!"", !12, i64 0, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{i64 0, i64 8, !5, i64 8, i64 4, !14}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !6, i64 72}
!16 = !{!"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, !17, i64 80, !12, i64 96, !17, i64 104, !12, i64 120, !6, i64 128, !6, i64 136, !7, i64 144}
!17 = !{!"", !6, i64 0, !12, i64 8}
!18 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!19 = !{!20, !6, i64 0}
!20 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!21 = !{!22, !12, i64 28}
!22 = !{!"tag_____Namespace__", !17, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !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, !12, i64 104}
!23 = !{!11, !6, i64 8}
!24 = !{!11, !12, i64 0}
!25 = !{!26, !12, i64 24}
!26 = !{!"tag_____EvalResult__", !20, i64 0, !27, i64 16, !12, i64 24}
!27 = !{!"long", !7, i64 0}
!28 = !{!7, !7, i64 0}
!29 = !{!26, !27, i64 16}


; 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_____NodeInfo__ = type { %struct.tag_____Tag__, %struct.Node__ }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.Node__ = type { i32, ptr }
%struct.tag_____EvalResult__ = type { %struct.tag_____Tag__, i64, i32 }

@mu_____string248 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string249 = 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
declare dso_local void @Map__get__Node__NodeInfo____(ptr dead_on_unwind noalias writable sret(%struct.tag_____NodeInfo__) align 8, ptr noundef, i32, ptr) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @Interpreter__evalBinaryOperatorExpression__(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.tag_____EvalResult__) align 8 %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 {
  %4 = alloca %struct.tag_____NodeInfo__, align 8
  %5 = alloca %struct.tag_____NodeInfo__, align 8
  %6 = alloca %struct.tag_____Tag__, align 8
  %7 = alloca %struct.tag_____NodeInfo__, align 8
  %8 = alloca %struct.tag_____EvalResult__, align 8
  %9 = alloca %struct.tag_____EvalResult__, align 8
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %.sroa.011.0.copyload = load ptr, ptr %11, align 8, !tbaa !12
  %.sroa.513.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 16
  %.sroa.513.0.copyload = load i32, ptr %.sroa.513.0..sroa_idx, align 8, !tbaa !13
  %12 = getelementptr inbounds i8, ptr %1, i64 72
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %2, i64 8
  %15 = load i32, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr %2, i64 16
  %17 = load ptr, ptr %16, align 8
  call void @Map__get__Node__NodeInfo____(ptr dead_on_unwind nonnull writable sret(%struct.tag_____NodeInfo__) align 8 %4, ptr noundef %13, i32 %15, ptr %17)
  %.sroa.09.0.copyload = load ptr, ptr %4, align 8, !tbaa !12
  %18 = getelementptr inbounds i8, ptr %.sroa.09.0.copyload, i64 28
  %19 = load i32, ptr %18, align 4, !tbaa !17
  %20 = and i32 %19, 2048
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %64, label %21

21:                                               ; preds = %3
  %22 = load ptr, ptr %12, align 8, !tbaa !14
  %23 = getelementptr inbounds i8, ptr %2, i64 24
  %24 = load i32, ptr %23, align 8
  %25 = getelementptr inbounds i8, ptr %2, i64 32
  %26 = load ptr, ptr %25, align 8
  call void @Map__get__Node__NodeInfo____(ptr dead_on_unwind nonnull writable sret(%struct.tag_____NodeInfo__) align 8 %5, ptr noundef %22, i32 %24, ptr %26)
  %.sroa.07.0.copyload = load ptr, ptr %5, align 8, !tbaa !12
  %27 = icmp eq ptr %.sroa.09.0.copyload, %.sroa.07.0.copyload
  br i1 %27, label %28, label %64

28:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6)
  %29 = load ptr, ptr %12, align 8, !tbaa !14
  call void @Map__get__Node__NodeInfo____(ptr dead_on_unwind nonnull writable sret(%struct.tag_____NodeInfo__) align 8 %7, ptr noundef %29, i32 12, ptr nonnull %2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #4
  %30 = load i32, ptr %14, align 8
  %31 = load ptr, ptr %16, align 8
  call void @Interpreter__evalExpression__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____EvalResult__) align 8 %8, ptr noundef nonnull %1, i32 %30, ptr %31)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #4
  %32 = load i32, ptr %23, align 8
  %33 = load ptr, ptr %25, align 8
  call void @Interpreter__evalExpression__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____EvalResult__) align 8 %9, ptr noundef nonnull %1, i32 %32, ptr %33)
  %34 = getelementptr inbounds i8, ptr %8, i64 24
  %35 = load i32, ptr %34, align 8, !tbaa !20
  %36 = icmp ne i32 %35, 0
  %37 = getelementptr inbounds i8, ptr %9, i64 24
  %38 = load i32, ptr %37, align 8
  %39 = icmp ne i32 %38, 0
  %.025 = select i1 %36, i1 true, i1 %39
  br i1 %.025, label %62, label %40

40:                                               ; preds = %28
  %41 = load ptr, ptr @mu_____string249, align 8
  %42 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string249, i64 8), align 8
  %43 = call zeroext i8 @string__equals__(ptr %.sroa.011.0.copyload, i32 %.sroa.513.0.copyload, ptr %41, i32 %42)
  %.not28 = icmp eq i8 %43, 0
  br i1 %.not28, label %51, label %44

44:                                               ; preds = %40
  %45 = getelementptr inbounds i8, ptr %0, i64 24
  store i64 0, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !19
  %46 = getelementptr inbounds i8, ptr %8, i64 16
  %47 = load i64, ptr %46, align 8, !tbaa !24
  %48 = getelementptr inbounds i8, ptr %9, i64 16
  %49 = load i64, ptr %48, align 8, !tbaa !24
  %50 = or i64 %49, %47
  br label %.critedge

51:                                               ; preds = %40
  %52 = load ptr, ptr @mu_____string248, align 8
  %53 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string248, i64 8), align 8
  %54 = call zeroext i8 @string__equals__(ptr %.sroa.011.0.copyload, i32 %.sroa.513.0.copyload, ptr %52, i32 %53)
  %.not29 = icmp eq i8 %54, 0
  br i1 %.not29, label %62, label %55

55:                                               ; preds = %51
  %56 = getelementptr inbounds i8, ptr %0, i64 24
  store i64 0, ptr %56, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !19
  %57 = getelementptr inbounds i8, ptr %8, i64 16
  %58 = load i64, ptr %57, align 8, !tbaa !24
  %59 = getelementptr inbounds i8, ptr %9, i64 16
  %60 = load i64, ptr %59, align 8, !tbaa !24
  %61 = and i64 %60, %58
  br label %.critedge

62:                                               ; preds = %28, %51
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6)
  br label %64

.critedge:                                        ; preds = %55, %44
  %.sink = phi i64 [ %61, %55 ], [ %50, %44 ]
  %63 = getelementptr inbounds i8, ptr %0, i64 16
  store i64 %.sink, ptr %63, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6)
  br label %66

64:                                               ; preds = %62, %21, %3
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %0, i8 0, i64 32, i1 false)
  %65 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 2, ptr %65, align 8, !tbaa !20
  br label %66

66:                                               ; preds = %.critedge, %64
  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

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 = { 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 0}
!6 = !{!"tag_____BinaryOperatorExpression__", !7, i64 0, !10, i64 8, !10, i64 24}
!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 = !{!7, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !7, i64 72}
!15 = !{!"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, !16, i64 80, !11, i64 96, !16, i64 104, !11, i64 120, !7, i64 128, !7, i64 136, !8, i64 144}
!16 = !{!"", !7, i64 0, !11, i64 8}
!17 = !{!18, !11, i64 28}
!18 = !{!"tag_____Namespace__", !16, i64 0, !7, i64 16, !11, i64 24, !11, i64 28, !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, !11, i64 104}
!19 = !{i64 0, i64 8, !12, i64 8, i64 8, !12}
!20 = !{!21, !11, i64 24}
!21 = !{!"tag_____EvalResult__", !22, i64 0, !23, i64 16, !11, i64 24}
!22 = !{!"tag_____Tag__", !7, i64 0, !7, i64 8}
!23 = !{!"long", !8, i64 0}
!24 = !{!21, !23, i64 16}


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