; LLVM IR from AngoraFuzzer/Angora :: llvm_mode/dfsan_rt/sanitizer_common (sanitizer_common)

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

%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }

@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1

declare noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef) #0

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

declare noundef ptr @_ZN11__sanitizer18internal_strchrnulEPKci(ptr noundef, i32 noundef) #0

declare noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN11__sanitizer16FindPathToBinaryEPKc(ptr noundef %0) #3 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca %"class.__sanitizer::InternalScopedBuffer", align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call noundef zeroext i1 @_ZN11__sanitizer10FileExistsEPKc(ptr noundef %13)
  br i1 %14, label %15, label %18

15:                                               ; preds = %1
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = call noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef %16)
  store ptr %17, ptr %2, align 8
  br label %100

18:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %19 = call noundef ptr @_ZN11__sanitizer6GetEnvEPKc(ptr noundef @.str.18)
  store ptr %19, ptr %4, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  store ptr null, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %99

23:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = call noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef %24)
  store i64 %25, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  call void @_ZN11__sanitizer20InternalScopedBufferIcEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef 4096)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %26, ptr %8, align 8, !tbaa !5
  br label %27

27:                                               ; preds = %95, %23
  br label %28

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = invoke noundef ptr @_ZN11__sanitizer18internal_strchrnulEPKci(ptr noundef %29, i32 noundef 58)
          to label %31 unwind label %75

31:                                               ; preds = %28
  store ptr %30, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = ptrtoint ptr %32 to i64
  %35 = ptrtoint ptr %33 to i64
  %36 = sub i64 %34, %35
  store i64 %36, ptr %12, align 8, !tbaa !9
  %37 = load i64, ptr %12, align 8, !tbaa !9
  %38 = load i64, ptr %6, align 8, !tbaa !9
  %39 = add i64 %37, %38
  %40 = add i64 %39, 2
  %41 = icmp ule i64 %40, 4096
  br i1 %41, label %42, label %84

42:                                               ; preds = %31
  %43 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %44 unwind label %79

44:                                               ; preds = %42
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = load i64, ptr %12, align 8, !tbaa !9
  %47 = invoke noundef ptr @_ZN11__sanitizer15internal_memcpyEPvPKvm(ptr noundef %43, ptr noundef %45, i64 noundef %46)
          to label %48 unwind label %79

48:                                               ; preds = %44
  %49 = load i64, ptr %12, align 8, !tbaa !9
  %50 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %49)
          to label %51 unwind label %79

51:                                               ; preds = %48
  store i8 47, ptr %50, align 1, !tbaa !11
  %52 = load i64, ptr %12, align 8, !tbaa !9
  %53 = add i64 %52, 1
  %54 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %53)
          to label %55 unwind label %79

55:                                               ; preds = %51
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = load i64, ptr %6, align 8, !tbaa !9
  %58 = invoke noundef ptr @_ZN11__sanitizer15internal_memcpyEPvPKvm(ptr noundef %54, ptr noundef %56, i64 noundef %57)
          to label %59 unwind label %79

59:                                               ; preds = %55
  %60 = load i64, ptr %12, align 8, !tbaa !9
  %61 = add i64 %60, 1
  %62 = load i64, ptr %6, align 8, !tbaa !9
  %63 = add i64 %61, %62
  %64 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %63)
          to label %65 unwind label %79

65:                                               ; preds = %59
  store i8 0, ptr %64, align 1, !tbaa !11
  %66 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %67 unwind label %79

67:                                               ; preds = %65
  %68 = invoke noundef zeroext i1 @_ZN11__sanitizer10FileExistsEPKc(ptr noundef %66)
          to label %69 unwind label %79

69:                                               ; preds = %67
  br i1 %68, label %70, label %83

70:                                               ; preds = %69
  %71 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %72 unwind label %79

72:                                               ; preds = %70
  %73 = invoke noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef %71)
          to label %74 unwind label %79

74:                                               ; preds = %72
  store ptr %73, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %93

75:                                               ; preds = %28
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %10, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %11, align 4
  br label %96

79:                                               ; preds = %72, %70, %67, %65, %59, %55, %51, %48, %44, %42
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %10, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %96

83:                                               ; preds = %69
  br label %84

84:                                               ; preds = %83, %31
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = load i8, ptr %85, align 1, !tbaa !11
  %87 = sext i8 %86 to i32
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %84
  store i32 3, ptr %5, align 4
  br label %93

90:                                               ; preds = %84
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 1
  store ptr %92, ptr %8, align 8, !tbaa !5
  store i32 0, ptr %5, align 4
  br label %93

93:                                               ; preds = %90, %89, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  %94 = load i32, ptr %5, align 4
  switch i32 %94, label %98 [
    i32 0, label %95
    i32 3, label %97
  ]

95:                                               ; preds = %93
  br label %27, !llvm.loop !12

96:                                               ; preds = %79, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br label %102

97:                                               ; preds = %93
  store ptr null, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %98

98:                                               ; preds = %97, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %99

99:                                               ; preds = %98, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br label %100

100:                                              ; preds = %99, %15
  %101 = load ptr, ptr %2, align 8
  ret ptr %101

102:                                              ; preds = %96
  %103 = load ptr, ptr %10, align 8
  %104 = load i32, ptr %11, align 4
  %105 = insertvalue { ptr, i32 } poison, ptr %103, 0
  %106 = insertvalue { ptr, i32 } %105, i32 %104, 1
  resume { ptr, i32 } %106
}

declare noundef zeroext i1 @_ZN11__sanitizer10FileExistsEPKc(ptr noundef) #0

declare noundef ptr @_ZN11__sanitizer6GetEnvEPKc(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedBufferIcEC2Em(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #3 align 2

declare noundef ptr @_ZN11__sanitizer15internal_memcpyEPvPKvm(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

attributes #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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


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

%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }

@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1

declare noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef) local_unnamed_addr #0

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

declare noundef ptr @_ZN11__sanitizer18internal_strchrnulEPKci(ptr noundef, i32 noundef) local_unnamed_addr #0

declare noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN11__sanitizer16FindPathToBinaryEPKc(ptr noundef %0) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__sanitizer::InternalScopedBuffer", align 8
  %3 = tail call noundef zeroext i1 @_ZN11__sanitizer10FileExistsEPKc(ptr noundef %0)
  br i1 %3, label %4, label %6

4:                                                ; preds = %1
  %5 = tail call noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef %0)
  br label %43

6:                                                ; preds = %1
  %7 = tail call noundef ptr @_ZN11__sanitizer6GetEnvEPKc(ptr noundef nonnull @.str.18)
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %43, label %8

8:                                                ; preds = %6
  %9 = tail call noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef %0)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  call void @_ZN11__sanitizer20InternalScopedBufferIcEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef 4096)
  %10 = add i64 %9, 2
  br label %11

11:                                               ; preds = %38, %8
  %.026 = phi ptr [ %7, %8 ], [ %41, %38 ]
  %12 = invoke noundef ptr @_ZN11__sanitizer18internal_strchrnulEPKci(ptr noundef nonnull %.026, i32 noundef 58)
          to label %13 unwind label %36

13:                                               ; preds = %11
  %14 = ptrtoint ptr %12 to i64
  %15 = ptrtoint ptr %.026 to i64
  %16 = sub i64 %14, %15
  %17 = add i64 %10, %16
  %18 = icmp ult i64 %17, 4097
  br i1 %18, label %19, label %38

19:                                               ; preds = %13
  %20 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %21 = invoke noundef ptr @_ZN11__sanitizer15internal_memcpyEPvPKvm(ptr noundef %20, ptr noundef nonnull %.026, i64 noundef %16)
          to label %22 unwind label %.loopexit

22:                                               ; preds = %19
  %23 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %16)
  store i8 47, ptr %23, align 1, !tbaa !5
  %24 = add i64 %16, 1
  %25 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %24)
  %26 = invoke noundef ptr @_ZN11__sanitizer15internal_memcpyEPvPKvm(ptr noundef nonnull %25, ptr noundef %0, i64 noundef %9)
          to label %27 unwind label %.loopexit

27:                                               ; preds = %22
  %28 = add i64 %24, %9
  %29 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %28)
  store i8 0, ptr %29, align 1, !tbaa !5
  %30 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %31 = invoke noundef zeroext i1 @_ZN11__sanitizer10FileExistsEPKc(ptr noundef %30)
          to label %32 unwind label %.loopexit

32:                                               ; preds = %27
  br i1 %31, label %33, label %38

33:                                               ; preds = %32
  %34 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %35 = invoke noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef %34)
          to label %.thread unwind label %.loopexit.split-lp

36:                                               ; preds = %11
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %42

.loopexit:                                        ; preds = %19, %22, %27
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %42

.loopexit.split-lp:                               ; preds = %33
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %42

38:                                               ; preds = %32, %13
  %39 = load i8, ptr %12, align 1, !tbaa !5
  %40 = icmp eq i8 %39, 0
  %41 = getelementptr inbounds i8, ptr %12, i64 1
  br i1 %40, label %.thread, label %11

42:                                               ; preds = %.loopexit, %.loopexit.split-lp, %36
  %.pn = phi { ptr, i32 } [ %37, %36 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  resume { ptr, i32 } %.pn

.thread:                                          ; preds = %38, %33
  %.2 = phi ptr [ %35, %33 ], [ null, %38 ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  br label %43

43:                                               ; preds = %.thread, %6, %4
  %.4 = phi ptr [ %5, %4 ], [ %.2, %.thread ], [ null, %6 ]
  ret ptr %.4
}

declare noundef zeroext i1 @_ZN11__sanitizer10FileExistsEPKc(ptr noundef) local_unnamed_addr #0

declare noundef ptr @_ZN11__sanitizer6GetEnvEPKc(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedBufferIcEC2Em(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #3 align 2

declare noundef ptr @_ZN11__sanitizer15internal_memcpyEPvPKvm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

attributes #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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass