; LLVM IR from niessner/Matterport :: code/gaps/apps/mpview (mpview)

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

@_ZL5house = external hidden global ptr, align 8
@_ZL21output_image_filename = external hidden global ptr, align 8
@_ZL5batch = external hidden global i32, align 4
@stderr = external global ptr, align 8
@.str.27 = external hidden unnamed_addr constant [26 x i8], align 1
@_ZL20input_house_filename = external hidden global ptr, align 8
@_ZL20input_scene_filename = external hidden global ptr, align 8
@_ZL19input_mesh_filename = external hidden global ptr, align 8
@_ZL25input_categories_filename = external hidden global ptr, align 8
@_ZL23input_segments_filename = external hidden global ptr, align 8
@_ZL22input_objects_filename = external hidden global ptr, align 8
@_ZL28input_configuration_filename = external hidden global ptr, align 8
@_ZL21output_house_filename = external hidden global ptr, align 8

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8GLUTInitPiPPc(ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12GLUTMainLoopv() #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %8 = load i32, ptr %4, align 4, !tbaa !5
  %9 = load ptr, ptr %5, align 8, !tbaa !9
  %10 = call noundef i32 @_ZL9ParseArgsiPPc(i32 noundef %8, ptr noundef %9)
  %11 = icmp ne i32 %10, 0
  br i1 %11, label %13, label %12

12:                                               ; preds = %2
  call void @exit(i32 noundef -1) #7
  unreachable

13:                                               ; preds = %2
  %14 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 376) #8
  invoke void @_ZN7MPHouseC1EPKcS1_(ptr noundef nonnull align 8 dereferenceable(376) %14, ptr noundef null, ptr noundef null)
          to label %15 unwind label %21

15:                                               ; preds = %13
  store ptr %14, ptr @_ZL5house, align 8, !tbaa !9
  %16 = load ptr, ptr @_ZL5house, align 8, !tbaa !9
  %17 = icmp ne ptr %16, null
  br i1 %17, label %25, label %18

18:                                               ; preds = %15
  %19 = load ptr, ptr @stderr, align 8, !tbaa !9
  %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.27) #9
  call void @exit(i32 noundef -1) #7
  unreachable

21:                                               ; preds = %13
  %22 = landingpad { ptr, i32 }
          cleanup
  %23 = extractvalue { ptr, i32 } %22, 0
  store ptr %23, ptr %6, align 8
  %24 = extractvalue { ptr, i32 } %22, 1
  store i32 %24, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %14, i64 noundef 376) #10
  br label %106

25:                                               ; preds = %15
  %26 = load ptr, ptr @_ZL20input_house_filename, align 8, !tbaa !9
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %34

28:                                               ; preds = %25
  %29 = load ptr, ptr @_ZL20input_house_filename, align 8, !tbaa !9
  %30 = call noundef i32 @_ZL9ReadHousePc(ptr noundef %29)
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  call void @exit(i32 noundef -1) #7
  unreachable

33:                                               ; preds = %28
  br label %34

34:                                               ; preds = %33, %25
  %35 = load ptr, ptr @_ZL20input_scene_filename, align 8, !tbaa !9
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %43

37:                                               ; preds = %34
  %38 = load ptr, ptr @_ZL20input_scene_filename, align 8, !tbaa !9
  %39 = call noundef i32 @_ZL9ReadScenePc(ptr noundef %38)
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  call void @exit(i32 noundef -1) #7
  unreachable

42:                                               ; preds = %37
  br label %43

43:                                               ; preds = %42, %34
  %44 = load ptr, ptr @_ZL19input_mesh_filename, align 8, !tbaa !9
  %45 = icmp ne ptr %44, null
  br i1 %45, label %46, label %52

46:                                               ; preds = %43
  %47 = load ptr, ptr @_ZL19input_mesh_filename, align 8, !tbaa !9
  %48 = call noundef i32 @_ZL8ReadMeshPKc(ptr noundef %47)
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %51, label %50

50:                                               ; preds = %46
  call void @exit(i32 noundef -1) #7
  unreachable

51:                                               ; preds = %46
  br label %52

52:                                               ; preds = %51, %43
  %53 = load ptr, ptr @_ZL25input_categories_filename, align 8, !tbaa !9
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %61

55:                                               ; preds = %52
  %56 = load ptr, ptr @_ZL25input_categories_filename, align 8, !tbaa !9
  %57 = call noundef i32 @_ZL14ReadCategoriesPKc(ptr noundef %56)
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  call void @exit(i32 noundef -1) #7
  unreachable

60:                                               ; preds = %55
  br label %61

61:                                               ; preds = %60, %52
  %62 = load ptr, ptr @_ZL23input_segments_filename, align 8, !tbaa !9
  %63 = icmp ne ptr %62, null
  br i1 %63, label %64, label %70

64:                                               ; preds = %61
  %65 = load ptr, ptr @_ZL23input_segments_filename, align 8, !tbaa !9
  %66 = call noundef i32 @_ZL12ReadSegmentsPKc(ptr noundef %65)
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %69, label %68

68:                                               ; preds = %64
  call void @exit(i32 noundef -1) #7
  unreachable

69:                                               ; preds = %64
  br label %70

70:                                               ; preds = %69, %61
  %71 = load ptr, ptr @_ZL22input_objects_filename, align 8, !tbaa !9
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %79

73:                                               ; preds = %70
  %74 = load ptr, ptr @_ZL22input_objects_filename, align 8, !tbaa !9
  %75 = call noundef i32 @_ZL11ReadObjectsPKc(ptr noundef %74)
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  call void @exit(i32 noundef -1) #7
  unreachable

78:                                               ; preds = %73
  br label %79

79:                                               ; preds = %78, %70
  %80 = load ptr, ptr @_ZL28input_configuration_filename, align 8, !tbaa !9
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %88

82:                                               ; preds = %79
  %83 = load ptr, ptr @_ZL28input_configuration_filename, align 8, !tbaa !9
  %84 = call noundef i32 @_ZL17ReadConfigurationPKc(ptr noundef %83)
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %87, label %86

86:                                               ; preds = %82
  call void @exit(i32 noundef -1) #7
  unreachable

87:                                               ; preds = %82
  br label %88

88:                                               ; preds = %87, %79
  %89 = load ptr, ptr @_ZL21output_house_filename, align 8, !tbaa !9
  %90 = icmp ne ptr %89, null
  br i1 %90, label %91, label %97

91:                                               ; preds = %88
  %92 = load ptr, ptr @_ZL21output_house_filename, align 8, !tbaa !9
  %93 = call noundef i32 @_ZL10WriteHousePc(ptr noundef %92)
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %96, label %95

95:                                               ; preds = %91
  call void @exit(i32 noundef -1) #7
  unreachable

96:                                               ; preds = %91
  br label %97

97:                                               ; preds = %96, %88
  %98 = load i32, ptr @_ZL5batch, align 4, !tbaa !5
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %103

100:                                              ; preds = %97
  %101 = load ptr, ptr @_ZL21output_image_filename, align 8, !tbaa !9
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %105

103:                                              ; preds = %100, %97
  %104 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_Z8GLUTInitPiPPc(ptr noundef %4, ptr noundef %104)
  call void @_Z12GLUTMainLoopv()
  br label %105

105:                                              ; preds = %103, %100
  ret i32 0

106:                                              ; preds = %21
  %107 = load ptr, ptr %6, align 8
  %108 = load i32, ptr %7, align 4
  %109 = insertvalue { ptr, i32 } poison, ptr %107, 0
  %110 = insertvalue { ptr, i32 } %109, i32 %108, 1
  resume { ptr, i32 } %110
}

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL9ParseArgsiPPc(i32 noundef, ptr noundef) #1

declare void @_ZN7MPHouseC1EPKcS1_(ptr noundef nonnull align 8 dereferenceable(376), ptr noundef, ptr noundef) unnamed_addr #5

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #6

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL9ReadHousePc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL9ReadScenePc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL8ReadMeshPKc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL14ReadCategoriesPKc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL12ReadSegmentsPKc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL11ReadObjectsPKc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL17ReadConfigurationPKc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL10WriteHousePc(ptr noundef) #1

attributes #0 = { noreturn 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 #1 = { mustprogress 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 #2 = { nobuiltin allocsize(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 = { nobuiltin 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 #4 = { mustprogress norecurse 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 = { "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 #6 = { 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 #7 = { noreturn nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { nounwind }
attributes #10 = { builtin 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


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

@_ZL5house = external hidden local_unnamed_addr global ptr, align 8
@_ZL21output_image_filename = external hidden local_unnamed_addr global ptr, align 8
@_ZL5batch = external hidden local_unnamed_addr global i32, align 4
@_ZL20input_house_filename = external hidden local_unnamed_addr global ptr, align 8
@_ZL20input_scene_filename = external hidden local_unnamed_addr global ptr, align 8
@_ZL19input_mesh_filename = external hidden local_unnamed_addr global ptr, align 8
@_ZL25input_categories_filename = external hidden local_unnamed_addr global ptr, align 8
@_ZL23input_segments_filename = external hidden local_unnamed_addr global ptr, align 8
@_ZL22input_objects_filename = external hidden local_unnamed_addr global ptr, align 8
@_ZL28input_configuration_filename = external hidden local_unnamed_addr global ptr, align 8
@_ZL21output_house_filename = external hidden local_unnamed_addr global ptr, align 8

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8GLUTInitPiPPc(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12GLUTMainLoopv() local_unnamed_addr #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  %4 = tail call noundef i32 @_ZL9ParseArgsiPPc(i32 noundef %0, ptr noundef %1)
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %6

5:                                                ; preds = %2
  tail call void @exit(i32 noundef -1) #6
  unreachable

6:                                                ; preds = %2
  %7 = tail call noalias noundef nonnull dereferenceable(376) ptr @_Znwm(i64 noundef 376) #7
  invoke void @_ZN7MPHouseC1EPKcS1_(ptr noundef nonnull align 8 dereferenceable(376) %7, ptr noundef null, ptr noundef null)
          to label %8 unwind label %10

8:                                                ; preds = %6
  store ptr %7, ptr @_ZL5house, align 8, !tbaa !9
  %9 = load ptr, ptr @_ZL20input_house_filename, align 8, !tbaa !9
  %.not11 = icmp eq ptr %9, null
  br i1 %.not11, label %15, label %12

10:                                               ; preds = %6
  %11 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %7, i64 noundef 376) #8
  resume { ptr, i32 } %11

12:                                               ; preds = %8
  %13 = tail call noundef i32 @_ZL9ReadHousePc(ptr noundef nonnull %9)
  %.not12 = icmp eq i32 %13, 0
  br i1 %.not12, label %14, label %15

14:                                               ; preds = %12
  tail call void @exit(i32 noundef -1) #6
  unreachable

15:                                               ; preds = %12, %8
  %16 = load ptr, ptr @_ZL20input_scene_filename, align 8, !tbaa !9
  %.not13 = icmp eq ptr %16, null
  br i1 %.not13, label %20, label %17

17:                                               ; preds = %15
  %18 = tail call noundef i32 @_ZL9ReadScenePc(ptr noundef nonnull %16)
  %.not14 = icmp eq i32 %18, 0
  br i1 %.not14, label %19, label %20

19:                                               ; preds = %17
  tail call void @exit(i32 noundef -1) #6
  unreachable

20:                                               ; preds = %17, %15
  %21 = load ptr, ptr @_ZL19input_mesh_filename, align 8, !tbaa !9
  %.not15 = icmp eq ptr %21, null
  br i1 %.not15, label %25, label %22

22:                                               ; preds = %20
  %23 = tail call noundef i32 @_ZL8ReadMeshPKc(ptr noundef nonnull %21)
  %.not16 = icmp eq i32 %23, 0
  br i1 %.not16, label %24, label %25

24:                                               ; preds = %22
  tail call void @exit(i32 noundef -1) #6
  unreachable

25:                                               ; preds = %22, %20
  %26 = load ptr, ptr @_ZL25input_categories_filename, align 8, !tbaa !9
  %.not17 = icmp eq ptr %26, null
  br i1 %.not17, label %30, label %27

27:                                               ; preds = %25
  %28 = tail call noundef i32 @_ZL14ReadCategoriesPKc(ptr noundef nonnull %26)
  %.not18 = icmp eq i32 %28, 0
  br i1 %.not18, label %29, label %30

29:                                               ; preds = %27
  tail call void @exit(i32 noundef -1) #6
  unreachable

30:                                               ; preds = %27, %25
  %31 = load ptr, ptr @_ZL23input_segments_filename, align 8, !tbaa !9
  %.not19 = icmp eq ptr %31, null
  br i1 %.not19, label %35, label %32

32:                                               ; preds = %30
  %33 = tail call noundef i32 @_ZL12ReadSegmentsPKc(ptr noundef nonnull %31)
  %.not20 = icmp eq i32 %33, 0
  br i1 %.not20, label %34, label %35

34:                                               ; preds = %32
  tail call void @exit(i32 noundef -1) #6
  unreachable

35:                                               ; preds = %32, %30
  %36 = load ptr, ptr @_ZL22input_objects_filename, align 8, !tbaa !9
  %.not21 = icmp eq ptr %36, null
  br i1 %.not21, label %40, label %37

37:                                               ; preds = %35
  %38 = tail call noundef i32 @_ZL11ReadObjectsPKc(ptr noundef nonnull %36)
  %.not22 = icmp eq i32 %38, 0
  br i1 %.not22, label %39, label %40

39:                                               ; preds = %37
  tail call void @exit(i32 noundef -1) #6
  unreachable

40:                                               ; preds = %37, %35
  %41 = load ptr, ptr @_ZL28input_configuration_filename, align 8, !tbaa !9
  %.not23 = icmp eq ptr %41, null
  br i1 %.not23, label %45, label %42

42:                                               ; preds = %40
  %43 = tail call noundef i32 @_ZL17ReadConfigurationPKc(ptr noundef nonnull %41)
  %.not24 = icmp eq i32 %43, 0
  br i1 %.not24, label %44, label %45

44:                                               ; preds = %42
  tail call void @exit(i32 noundef -1) #6
  unreachable

45:                                               ; preds = %42, %40
  %46 = load ptr, ptr @_ZL21output_house_filename, align 8, !tbaa !9
  %.not25 = icmp eq ptr %46, null
  br i1 %.not25, label %50, label %47

47:                                               ; preds = %45
  %48 = tail call noundef i32 @_ZL10WriteHousePc(ptr noundef nonnull %46)
  %.not26 = icmp eq i32 %48, 0
  br i1 %.not26, label %49, label %50

49:                                               ; preds = %47
  tail call void @exit(i32 noundef -1) #6
  unreachable

50:                                               ; preds = %47, %45
  %51 = load i32, ptr @_ZL5batch, align 4, !tbaa !5
  %52 = icmp eq i32 %51, 0
  %53 = load ptr, ptr @_ZL21output_image_filename, align 8
  %54 = icmp ne ptr %53, null
  %or.cond = select i1 %52, i1 true, i1 %54
  br i1 %or.cond, label %55, label %56

55:                                               ; preds = %50
  call void @_Z8GLUTInitPiPPc(ptr noundef nonnull %3, ptr noundef %1)
  call void @_Z12GLUTMainLoopv()
  br label %56

56:                                               ; preds = %50, %55
  ret i32 0
}

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL9ParseArgsiPPc(i32 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN7MPHouseC1EPKcS1_(ptr noundef nonnull align 8 dereferenceable(376), ptr noundef, ptr noundef) unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL9ReadHousePc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL9ReadScenePc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL8ReadMeshPKc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL14ReadCategoriesPKc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL12ReadSegmentsPKc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL11ReadObjectsPKc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL17ReadConfigurationPKc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL10WriteHousePc(ptr noundef) local_unnamed_addr #1

attributes #0 = { noreturn 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 #1 = { mustprogress 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 #2 = { nobuiltin allocsize(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 = { nobuiltin 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 #4 = { mustprogress norecurse 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 = { "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 #6 = { noreturn nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


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