; LLVM IR from marcobambini/gravity :: src/compiler (gravity_semacheck2)

; 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.semacheck_t = type { ptr, %struct.uint16_r, i32 }
%struct.uint16_r = type { i64, i64, ptr }
%struct.gvisitor = type { i32, ptr, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.gnode_r = type { i64, i64, ptr }

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @gravity_semacheck2(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.semacheck_t, align 8
  %6 = alloca %struct.gvisitor, 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 40, ptr %5) #5
  call void @llvm.memset.p0.i64(ptr align 8 %5, i8 0, i64 40, i1 false)
  %7 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 0
  %8 = call ptr @gnode_array_create()
  store ptr %8, ptr %7, align 8, !tbaa !9
  %9 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 1
  %10 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 2
  %11 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 1
  %12 = getelementptr inbounds %struct.uint16_r, ptr %11, i32 0, i32 1
  store i64 0, ptr %12, align 8, !tbaa !14
  %13 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 1
  %14 = getelementptr inbounds %struct.uint16_r, ptr %13, i32 0, i32 0
  store i64 0, ptr %14, align 8, !tbaa !15
  %15 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 1
  %16 = getelementptr inbounds %struct.uint16_r, ptr %15, i32 0, i32 2
  store ptr null, ptr %16, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 208, ptr %6) #5
  %17 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 0
  store i32 0, ptr %17, align 8, !tbaa !17
  %18 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 1
  store ptr %5, ptr %18, align 8, !tbaa !20
  %19 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 2
  store i8 0, ptr %19, align 8, !tbaa !21
  %20 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 3
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %21, ptr %20, align 8, !tbaa !22
  %22 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 4
  store ptr null, ptr %22, align 8, !tbaa !23
  %23 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 5
  store ptr null, ptr %23, align 8, !tbaa !24
  %24 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 6
  store ptr @visit_list_stmt, ptr %24, align 8, !tbaa !25
  %25 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 7
  store ptr @visit_compound_stmt, ptr %25, align 8, !tbaa !26
  %26 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 8
  store ptr @visit_label_stmt, ptr %26, align 8, !tbaa !27
  %27 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 9
  store ptr @visit_flow_stmt, ptr %27, align 8, !tbaa !28
  %28 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 10
  store ptr @visit_jump_stmt, ptr %28, align 8, !tbaa !29
  %29 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 11
  store ptr @visit_loop_stmt, ptr %29, align 8, !tbaa !30
  %30 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 12
  store ptr @visit_empty_stmt, ptr %30, align 8, !tbaa !31
  %31 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 13
  store ptr @visit_function_decl, ptr %31, align 8, !tbaa !32
  %32 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 14
  store ptr @visit_variable_decl, ptr %32, align 8, !tbaa !33
  %33 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 15
  store ptr @visit_enum_decl, ptr %33, align 8, !tbaa !34
  %34 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 16
  store ptr @visit_class_decl, ptr %34, align 8, !tbaa !35
  %35 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 17
  store ptr @visit_module_decl, ptr %35, align 8, !tbaa !36
  %36 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 18
  store ptr @visit_binary_expr, ptr %36, align 8, !tbaa !37
  %37 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 19
  store ptr @visit_unary_expr, ptr %37, align 8, !tbaa !38
  %38 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 20
  store ptr @visit_file_expr, ptr %38, align 8, !tbaa !39
  %39 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 21
  store ptr @visit_literal_expr, ptr %39, align 8, !tbaa !40
  %40 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 22
  store ptr @visit_identifier_expr, ptr %40, align 8, !tbaa !41
  %41 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 23
  store ptr @visit_keyword_expr, ptr %41, align 8, !tbaa !42
  %42 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 24
  store ptr @visit_list_expr, ptr %42, align 8, !tbaa !43
  %43 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 25
  store ptr @visit_postfix_expr, ptr %43, align 8, !tbaa !44
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  call void @gvisit(ptr noundef %6, ptr noundef %44)
  %45 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 1
  %46 = getelementptr inbounds %struct.uint16_r, ptr %45, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !16
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %53

49:                                               ; preds = %2
  %50 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 1
  %51 = getelementptr inbounds %struct.uint16_r, ptr %50, i32 0, i32 2
  %52 = load ptr, ptr %51, align 8, !tbaa !16
  call void @free(ptr noundef %52) #5
  br label %53

53:                                               ; preds = %49, %2
  br label %54

54:                                               ; preds = %53
  %55 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.gnode_r, ptr %56, i32 0, i32 2
  %58 = load ptr, ptr %57, align 8, !tbaa !45
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %65

60:                                               ; preds = %54
  %61 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.gnode_r, ptr %62, i32 0, i32 2
  %64 = load ptr, ptr %63, align 8, !tbaa !45
  call void @free(ptr noundef %64) #5
  br label %65

65:                                               ; preds = %60, %54
  %66 = getelementptr inbounds %struct.semacheck_t, ptr %5, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  call void @free(ptr noundef %67) #5
  br label %68

68:                                               ; preds = %65
  br label %69

69:                                               ; preds = %68
  %70 = getelementptr inbounds %struct.gvisitor, ptr %6, i32 0, i32 0
  %71 = load i32, ptr %70, align 8, !tbaa !17
  %72 = icmp eq i32 %71, 0
  call void @llvm.lifetime.end.p0(i64 208, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #5
  ret i1 %72
}

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

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

declare ptr @gnode_array_create() #3

; Function Attrs: nounwind uwtable
declare hidden void @visit_list_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_compound_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_label_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_flow_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_jump_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_loop_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_empty_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_function_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_variable_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_enum_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_class_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_module_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_binary_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_unary_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_file_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_literal_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_identifier_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_keyword_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_list_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_postfix_expr(ptr noundef, ptr noundef) #0

declare void @gvisit(ptr noundef, ptr noundef) #3

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

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

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

!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 = !{!"semacheck_t", !6, i64 0, !11, i64 8, !13, i64 32}
!11 = !{!"", !12, i64 0, !12, i64 8, !6, i64 16}
!12 = !{!"long", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !12, i64 16}
!15 = !{!10, !12, i64 8}
!16 = !{!10, !6, i64 24}
!17 = !{!18, !13, i64 0}
!18 = !{!"gvisitor", !13, i64 0, !6, i64 8, !19, 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, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200}
!19 = !{!"_Bool", !7, i64 0}
!20 = !{!18, !6, i64 8}
!21 = !{!18, !19, i64 16}
!22 = !{!18, !6, i64 24}
!23 = !{!18, !6, i64 32}
!24 = !{!18, !6, i64 40}
!25 = !{!18, !6, i64 48}
!26 = !{!18, !6, i64 56}
!27 = !{!18, !6, i64 64}
!28 = !{!18, !6, i64 72}
!29 = !{!18, !6, i64 80}
!30 = !{!18, !6, i64 88}
!31 = !{!18, !6, i64 96}
!32 = !{!18, !6, i64 104}
!33 = !{!18, !6, i64 112}
!34 = !{!18, !6, i64 120}
!35 = !{!18, !6, i64 128}
!36 = !{!18, !6, i64 136}
!37 = !{!18, !6, i64 144}
!38 = !{!18, !6, i64 152}
!39 = !{!18, !6, i64 160}
!40 = !{!18, !6, i64 168}
!41 = !{!18, !6, i64 176}
!42 = !{!18, !6, i64 184}
!43 = !{!18, !6, i64 192}
!44 = !{!18, !6, i64 200}
!45 = !{!11, !6, 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.semacheck_t = type { ptr, %struct.uint16_r, i32 }
%struct.uint16_r = type { i64, i64, ptr }
%struct.gvisitor = type { i32, ptr, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @gravity_semacheck2(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct.semacheck_t, align 8
  %4 = alloca %struct.gvisitor, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #5
  %5 = getelementptr inbounds i8, ptr %3, i64 32
  store i64 0, ptr %5, align 8
  %6 = tail call ptr @gnode_array_create() #5
  store ptr %6, ptr %3, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %3, i64 8
  %8 = getelementptr inbounds i8, ptr %3, i64 24
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 208, ptr nonnull %4) #5
  store i32 0, ptr %4, align 8, !tbaa !13
  %9 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %3, ptr %9, align 8, !tbaa !16
  %10 = getelementptr inbounds i8, ptr %4, i64 16
  store i8 0, ptr %10, align 8, !tbaa !17
  %11 = getelementptr inbounds i8, ptr %4, i64 24
  store ptr %1, ptr %11, align 8, !tbaa !18
  %12 = getelementptr inbounds i8, ptr %4, i64 32
  %13 = getelementptr inbounds i8, ptr %4, i64 48
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, i8 0, i64 16, i1 false)
  store ptr @visit_list_stmt, ptr %13, align 8, !tbaa !19
  %14 = getelementptr inbounds i8, ptr %4, i64 56
  store ptr @visit_compound_stmt, ptr %14, align 8, !tbaa !20
  %15 = getelementptr inbounds i8, ptr %4, i64 64
  store ptr @visit_label_stmt, ptr %15, align 8, !tbaa !21
  %16 = getelementptr inbounds i8, ptr %4, i64 72
  store ptr @visit_flow_stmt, ptr %16, align 8, !tbaa !22
  %17 = getelementptr inbounds i8, ptr %4, i64 80
  store ptr @visit_jump_stmt, ptr %17, align 8, !tbaa !23
  %18 = getelementptr inbounds i8, ptr %4, i64 88
  store ptr @visit_loop_stmt, ptr %18, align 8, !tbaa !24
  %19 = getelementptr inbounds i8, ptr %4, i64 96
  store ptr @visit_empty_stmt, ptr %19, align 8, !tbaa !25
  %20 = getelementptr inbounds i8, ptr %4, i64 104
  store ptr @visit_function_decl, ptr %20, align 8, !tbaa !26
  %21 = getelementptr inbounds i8, ptr %4, i64 112
  store ptr @visit_variable_decl, ptr %21, align 8, !tbaa !27
  %22 = getelementptr inbounds i8, ptr %4, i64 120
  store ptr @visit_enum_decl, ptr %22, align 8, !tbaa !28
  %23 = getelementptr inbounds i8, ptr %4, i64 128
  store ptr @visit_class_decl, ptr %23, align 8, !tbaa !29
  %24 = getelementptr inbounds i8, ptr %4, i64 136
  store ptr @visit_module_decl, ptr %24, align 8, !tbaa !30
  %25 = getelementptr inbounds i8, ptr %4, i64 144
  store ptr @visit_binary_expr, ptr %25, align 8, !tbaa !31
  %26 = getelementptr inbounds i8, ptr %4, i64 152
  store ptr @visit_unary_expr, ptr %26, align 8, !tbaa !32
  %27 = getelementptr inbounds i8, ptr %4, i64 160
  store ptr @visit_file_expr, ptr %27, align 8, !tbaa !33
  %28 = getelementptr inbounds i8, ptr %4, i64 168
  store ptr @visit_literal_expr, ptr %28, align 8, !tbaa !34
  %29 = getelementptr inbounds i8, ptr %4, i64 176
  store ptr @visit_identifier_expr, ptr %29, align 8, !tbaa !35
  %30 = getelementptr inbounds i8, ptr %4, i64 184
  store ptr @visit_keyword_expr, ptr %30, align 8, !tbaa !36
  %31 = getelementptr inbounds i8, ptr %4, i64 192
  store ptr @visit_list_expr, ptr %31, align 8, !tbaa !37
  %32 = getelementptr inbounds i8, ptr %4, i64 200
  store ptr @visit_postfix_expr, ptr %32, align 8, !tbaa !38
  call void @gvisit(ptr noundef nonnull %4, ptr noundef %0) #5
  %33 = load ptr, ptr %8, align 8, !tbaa !39
  %.not = icmp eq ptr %33, null
  br i1 %.not, label %35, label %34

34:                                               ; preds = %2
  call void @free(ptr noundef nonnull %33) #5
  br label %35

35:                                               ; preds = %2, %34
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %38 = load ptr, ptr %37, align 8, !tbaa !40
  %.not3 = icmp eq ptr %38, null
  br i1 %.not3, label %40, label %39

39:                                               ; preds = %35
  call void @free(ptr noundef nonnull %38) #5
  %.pre = load ptr, ptr %3, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %39, %35
  %41 = phi ptr [ %.pre, %39 ], [ %36, %35 ]
  call void @free(ptr noundef %41) #5
  %42 = load i32, ptr %4, align 8, !tbaa !13
  %43 = icmp eq i32 %42, 0
  call void @llvm.lifetime.end.p0(i64 208, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #5
  ret i1 %43
}

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

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

declare ptr @gnode_array_create() local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @visit_list_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_compound_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_label_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_flow_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_jump_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_loop_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_empty_stmt(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_function_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_variable_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_enum_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_class_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_module_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_binary_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_unary_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_file_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_literal_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_identifier_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_keyword_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_list_expr(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @visit_postfix_expr(ptr noundef, ptr noundef) #0

declare void @gvisit(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

!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 = !{!"semacheck_t", !7, i64 0, !10, i64 8, !12, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !11, i64 8, !7, i64 16}
!11 = !{!"long", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"gvisitor", !12, i64 0, !7, i64 8, !15, 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, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200}
!15 = !{!"_Bool", !8, i64 0}
!16 = !{!14, !7, i64 8}
!17 = !{!14, !15, i64 16}
!18 = !{!14, !7, i64 24}
!19 = !{!14, !7, i64 48}
!20 = !{!14, !7, i64 56}
!21 = !{!14, !7, i64 64}
!22 = !{!14, !7, i64 72}
!23 = !{!14, !7, i64 80}
!24 = !{!14, !7, i64 88}
!25 = !{!14, !7, i64 96}
!26 = !{!14, !7, i64 104}
!27 = !{!14, !7, i64 112}
!28 = !{!14, !7, i64 120}
!29 = !{!14, !7, i64 128}
!30 = !{!14, !7, i64 136}
!31 = !{!14, !7, i64 144}
!32 = !{!14, !7, i64 152}
!33 = !{!14, !7, i64 160}
!34 = !{!14, !7, i64 168}
!35 = !{!14, !7, i64 176}
!36 = !{!14, !7, i64 184}
!37 = !{!14, !7, i64 192}
!38 = !{!14, !7, i64 200}
!39 = !{!6, !7, i64 24}
!40 = !{!10, !7, i64 16}


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