; LLVM IR from vczh/herodb :: Kernel/Source/Vlpp.ll (ZN2vl9Semaphore6CreateEllRKNS_12ObjectStringIwEE)

; 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.vl::ObjectString.1123" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::Semaphore" = type { %"class.vl::WaitableObject", ptr }
%"class.vl::WaitableObject" = type { %"class.vl::Object" }
%"struct.vl::threading_internal::SemaphoreData" = type { %union.sem_t, ptr }
%union.sem_t = type { i64, [24 x i8] }

@.str.2 = external hidden unnamed_addr constant [1 x i32], align 4

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString.1123") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK2vl12ObjectStringIcE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl9Semaphore6CreateEllRKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(16) %0, i64 noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(48) %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.vl::ObjectString.1123", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i64 %1, ptr %7, align 8, !tbaa !9
  store i64 %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  %14 = load ptr, ptr %6, align 8
  %15 = getelementptr inbounds %"class.vl::Semaphore", ptr %14, i32 0, i32 1
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %19

18:                                               ; preds = %4
  store i1 false, ptr %5, align 1
  br label %73

19:                                               ; preds = %4
  %20 = load i64, ptr %7, align 8, !tbaa !9
  %21 = load i64, ptr %8, align 8, !tbaa !9
  %22 = icmp sgt i64 %20, %21
  br i1 %22, label %23, label %24

23:                                               ; preds = %19
  store i1 false, ptr %5, align 1
  br label %73

24:                                               ; preds = %19
  %25 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #7
  call void @_ZN2vl18threading_internal13SemaphoreDataC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #8
  %26 = getelementptr inbounds %"class.vl::Semaphore", ptr %14, i32 0, i32 1
  store ptr %25, ptr %26, align 8, !tbaa !11
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = call noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef @.str.2)
  br i1 %28, label %29, label %45

29:                                               ; preds = %24
  %30 = getelementptr inbounds %"class.vl::Semaphore", ptr %14, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !11
  %32 = getelementptr inbounds %"struct.vl::threading_internal::SemaphoreData", ptr %31, i32 0, i32 0
  %33 = load i64, ptr %7, align 8, !tbaa !9
  %34 = trunc i64 %33 to i32
  %35 = call i32 @sem_init(ptr noundef %32, i32 noundef 0, i32 noundef %34) #8
  %36 = icmp eq i32 %35, -1
  br i1 %36, label %37, label %44

37:                                               ; preds = %29
  %38 = getelementptr inbounds %"class.vl::Semaphore", ptr %14, i32 0, i32 1
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = icmp eq ptr %39, null
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  call void @_ZdlPvm(ptr noundef %39, i64 noundef 40) #9
  br label %42

42:                                               ; preds = %41, %37
  %43 = getelementptr inbounds %"class.vl::Semaphore", ptr %14, i32 0, i32 1
  store ptr null, ptr %43, align 8, !tbaa !11
  store i1 false, ptr %5, align 1
  br label %73

44:                                               ; preds = %29
  br label %70

45:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #8
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString.1123") align 8 %10, ptr noundef nonnull align 8 dereferenceable(48) %46)
  %47 = invoke noundef ptr @_ZNK2vl12ObjectStringIcE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %48 unwind label %62

48:                                               ; preds = %45
  %49 = load i64, ptr %7, align 8, !tbaa !9
  %50 = call ptr (ptr, i32, ...) @sem_open(ptr noundef %47, i32 noundef 64, i32 noundef 511, i64 noundef %49) #8
  %51 = getelementptr inbounds %"class.vl::Semaphore", ptr %14, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds %"struct.vl::threading_internal::SemaphoreData", ptr %52, i32 0, i32 1
  store ptr %50, ptr %53, align 8, !tbaa !15
  %54 = icmp eq ptr %50, null
  br i1 %54, label %55, label %66

55:                                               ; preds = %48
  %56 = getelementptr inbounds %"class.vl::Semaphore", ptr %14, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !11
  %58 = icmp eq ptr %57, null
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  call void @_ZdlPvm(ptr noundef %57, i64 noundef 40) #9
  br label %60

60:                                               ; preds = %59, %55
  %61 = getelementptr inbounds %"class.vl::Semaphore", ptr %14, i32 0, i32 1
  store ptr null, ptr %61, align 8, !tbaa !11
  store i1 false, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %67

62:                                               ; preds = %45
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %11, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %12, align 4
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #8
  br label %75

66:                                               ; preds = %48
  store i32 0, ptr %13, align 4
  br label %67

67:                                               ; preds = %66, %60
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #8
  %68 = load i32, ptr %13, align 4
  switch i32 %68, label %80 [
    i32 0, label %69
    i32 1, label %73
  ]

69:                                               ; preds = %67
  br label %70

70:                                               ; preds = %69, %44
  %71 = load i64, ptr %7, align 8, !tbaa !9
  %72 = call noundef i64 @_ZN2vl9Semaphore7ReleaseEl(ptr noundef nonnull align 8 dereferenceable(16) %14, i64 noundef %71)
  store i1 true, ptr %5, align 1
  br label %73

73:                                               ; preds = %70, %67, %42, %23, %18
  %74 = load i1, ptr %5, align 1
  ret i1 %74

75:                                               ; preds = %62
  %76 = load ptr, ptr %11, align 8
  %77 = load i32, ptr %12, align 4
  %78 = insertvalue { ptr, i32 } poison, ptr %76, 0
  %79 = insertvalue { ptr, i32 } %78, i32 %77, 1
  resume { ptr, i32 } %79

80:                                               ; preds = %67
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl18threading_internal13SemaphoreDataC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #5 = { inlinehint 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 #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 = { builtin allocsize(0) }
attributes #8 = { nounwind }
attributes #9 = { 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 = !{!"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 = !{!12, !6, i64 8}
!12 = !{!"_ZTSN2vl9SemaphoreE", !13, i64 0, !6, i64 8}
!13 = !{!"_ZTSN2vl14WaitableObjectE", !14, i64 0}
!14 = !{!"_ZTSN2vl6ObjectE"}
!15 = !{!16, !6, i64 32}
!16 = !{!"_ZTSN2vl18threading_internal13SemaphoreDataE", !7, i64 0, !6, i64 32}


; 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.vl::ObjectString.1123" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }

@.str.2 = external hidden unnamed_addr constant [1 x i32], align 4

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString.1123") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK2vl12ObjectStringIcE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl9Semaphore6CreateEllRKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(16) %0, i64 noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(48) %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.vl::ObjectString.1123", align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %.not = icmp ne ptr %7, null
  %8 = icmp sgt i64 %1, %2
  %or.cond = or i1 %8, %.not
  br i1 %or.cond, label %34, label %9

9:                                                ; preds = %4
  %10 = tail call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #7
  tail call void @_ZN2vl18threading_internal13SemaphoreDataC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #8
  store ptr %10, ptr %6, align 8, !tbaa !5
  %11 = tail call noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull @.str.2)
  br i1 %11, label %12, label %22

12:                                               ; preds = %9
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = trunc i64 %1 to i32
  %15 = tail call i32 @sem_init(ptr noundef %13, i32 noundef 0, i32 noundef %14) #8
  %16 = icmp eq i32 %15, -1
  br i1 %16, label %17, label %32

17:                                               ; preds = %12
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = icmp eq ptr %18, null
  br i1 %19, label %21, label %20

20:                                               ; preds = %17
  tail call void @_ZdlPvm(ptr noundef nonnull %18, i64 noundef 40) #9
  br label %21

21:                                               ; preds = %20, %17
  store ptr null, ptr %6, align 8, !tbaa !5
  br label %34

22:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #8
  call void @_ZN2vl4wtoaERKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString.1123") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %3)
  %23 = invoke noundef ptr @_ZNK2vl12ObjectStringIcE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %24 unwind label %29

24:                                               ; preds = %22
  %25 = call ptr (ptr, i32, ...) @sem_open(ptr noundef %23, i32 noundef 64, i32 noundef 511, i64 noundef %1) #8
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 32
  store ptr %25, ptr %27, align 8, !tbaa !12
  %28 = icmp eq ptr %25, null
  br i1 %28, label %31, label %.thread

.thread:                                          ; preds = %24
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  br label %32

29:                                               ; preds = %22
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  resume { ptr, i32 } %30

31:                                               ; preds = %24
  call void @_ZdlPvm(ptr noundef nonnull %26, i64 noundef 40) #9
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @_ZN2vl12ObjectStringIcED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #8
  br label %34

32:                                               ; preds = %.thread, %12
  %33 = call noundef i64 @_ZN2vl9Semaphore7ReleaseEl(ptr noundef nonnull align 8 dereferenceable(16) %0, i64 noundef %1)
  br label %34

34:                                               ; preds = %31, %4, %32, %21
  %.1 = phi i1 [ false, %21 ], [ true, %32 ], [ false, %31 ], [ false, %4 ]
  ret i1 %.1
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl18threading_internal13SemaphoreDataC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare i32 @sem_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #6

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 #5 = { inlinehint 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 #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 = { builtin allocsize(0) }
attributes #8 = { nounwind }
attributes #9 = { 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, !9, i64 8}
!6 = !{!"_ZTSN2vl9SemaphoreE", !7, i64 0, !9, i64 8}
!7 = !{!"_ZTSN2vl14WaitableObjectE", !8, i64 0}
!8 = !{!"_ZTSN2vl6ObjectE"}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!13, !9, i64 32}
!13 = !{!"_ZTSN2vl18threading_internal13SemaphoreDataE", !10, i64 0, !9, i64 32}


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