; LLVM IR from balintbalazs/B3D :: source/src/B3D_cudaCompress/profiler/profiler.ll (ZN8Profiler6outputEv)

; 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.Profiler = type { [100 x %"struct.Profiler::sample"], %"class.std::set", i32, i32, i32, i32, i32, i64, i64, i32, i64, i64, i32, i64, i8, i64, i64, i64 }
%"struct.Profiler::sample" = type { i8, %"class.std::__cxx11::basic_string", i32, i32, i8, i64, i64, i64, i64, i64, i32, i32, i32, i32, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<IProfilerOutputHandler *, IProfilerOutputHandler *, std::_Identity<IProfilerOutputHandler *>, std::less<IProfilerOutputHandler *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<IProfilerOutputHandler *, IProfilerOutputHandler *, std::_Identity<IProfilerOutputHandler *>, std::less<IProfilerOutputHandler *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN8Profiler6outputEv = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN12_GLOBAL__N_17getTimeEv() #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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK8Profiler14getTimestampMSEy(ptr noundef nonnull align 8 dereferenceable(12160), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Profiler6outputEv(ptr noundef nonnull align 8 dereferenceable(12160) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca float, align 4
  %5 = alloca i64, align 8
  %6 = alloca float, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca i64, align 8
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8
  %14 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 3
  %15 = load i32, ptr %14, align 4, !tbaa !9
  %16 = icmp eq i32 %15, -1
  br i1 %16, label %17, label %18

17:                                               ; preds = %1
  br label %20

18:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 276, ptr noundef @__PRETTY_FUNCTION__._ZN8Profiler6outputEv) #4
  unreachable

19:                                               ; No predecessors!
  br label %20

20:                                               ; preds = %19, %17
  %21 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 5
  %22 = load i32, ptr %21, align 4, !tbaa !23
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %25

24:                                               ; preds = %20
  br label %27

25:                                               ; preds = %20
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 277, ptr noundef @__PRETTY_FUNCTION__._ZN8Profiler6outputEv) #4
  unreachable

26:                                               ; No predecessors!
  br label %27

27:                                               ; preds = %26, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %28 = call noundef i64 @_ZN12_GLOBAL__N_17getTimeEv()
  store i64 %28, ptr %3, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %29 = load i64, ptr %3, align 8, !tbaa !24
  %30 = call noundef float @_ZNK8Profiler14getTimestampMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %13, i64 noundef %29)
  store float %30, ptr %4, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %31 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 8
  %32 = load i64, ptr %31, align 8, !tbaa !27
  store i64 %32, ptr %5, align 8, !tbaa !24
  %33 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 14
  %34 = load i8, ptr %33, align 8, !tbaa !28, !range !29, !noundef !30
  %35 = trunc i8 %34 to i1
  br i1 %35, label %36, label %43

36:                                               ; preds = %27
  %37 = load i64, ptr %3, align 8, !tbaa !24
  %38 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 15
  %39 = load i64, ptr %38, align 8, !tbaa !31
  %40 = sub i64 %37, %39
  %41 = load i64, ptr %5, align 8, !tbaa !24
  %42 = add i64 %41, %40
  store i64 %42, ptr %5, align 8, !tbaa !24
  br label %43

43:                                               ; preds = %36, %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %44 = load i64, ptr %5, align 8, !tbaa !24
  %45 = call noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %13, i64 noundef %44)
  store float %45, ptr %6, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %46 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 9
  %47 = load i32, ptr %46, align 8, !tbaa !32
  store i32 %47, ptr %7, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %48 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 10
  %49 = load i64, ptr %48, align 8, !tbaa !34
  %50 = call noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %13, i64 noundef %49)
  store float %50, ptr %8, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !24
  %51 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 14
  %52 = load i8, ptr %51, align 8, !tbaa !28, !range !29, !noundef !30
  %53 = trunc i8 %52 to i1
  br i1 %53, label %54, label %59

54:                                               ; preds = %43
  %55 = load i64, ptr %5, align 8, !tbaa !24
  %56 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 11
  %57 = load i64, ptr %56, align 8, !tbaa !35
  %58 = sub i64 %55, %57
  store i64 %58, ptr %9, align 8, !tbaa !24
  br label %59

59:                                               ; preds = %54, %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %60 = load i64, ptr %9, align 8, !tbaa !24
  %61 = call noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %13, i64 noundef %60)
  store float %61, ptr %10, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %62 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 9
  %63 = load i32, ptr %62, align 8, !tbaa !32
  %64 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 12
  %65 = load i32, ptr %64, align 8, !tbaa !36
  %66 = sub i32 %63, %65
  store i32 %66, ptr %11, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %67 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 13
  %68 = load i64, ptr %67, align 8, !tbaa !37
  %69 = call noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %13, i64 noundef %68)
  store float %69, ptr %12, align 4, !tbaa !25
  %70 = load float, ptr %4, align 4, !tbaa !25
  %71 = load float, ptr %10, align 4, !tbaa !25
  %72 = load i32, ptr %11, align 4, !tbaa !33
  %73 = load float, ptr %12, align 4, !tbaa !25
  %74 = load float, ptr %6, align 4, !tbaa !25
  %75 = load i32, ptr %7, align 4, !tbaa !33
  %76 = load float, ptr %8, align 4, !tbaa !25
  call void @_ZNK8Profiler11beginOutputEffjffjf(ptr noundef nonnull align 8 dereferenceable(12160) %13, float noundef %70, float noundef %71, i32 noundef %72, float noundef %73, float noundef %74, i32 noundef %75, float noundef %76)
  call void @_ZNK8Profiler6outputEi(ptr noundef nonnull align 8 dereferenceable(12160) %13, i32 noundef -1)
  call void @_ZNK8Profiler9endOutputEv(ptr noundef nonnull align 8 dereferenceable(12160) %13)
  %77 = load i64, ptr %5, align 8, !tbaa !24
  %78 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 11
  store i64 %77, ptr %78, align 8, !tbaa !35
  %79 = load i32, ptr %7, align 4, !tbaa !33
  %80 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 12
  store i32 %79, ptr %80, align 8, !tbaa !36
  %81 = getelementptr inbounds %class.Profiler, ptr %13, i32 0, i32 13
  store i64 0, ptr %81, align 8, !tbaa !37
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Profiler11beginOutputEffjffjf(ptr noundef nonnull align 8 dereferenceable(12160), float noundef, float noundef, i32 noundef, float noundef, float noundef, i32 noundef, float noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Profiler6outputEi(ptr noundef nonnull align 8 dereferenceable(12160), i32 noundef) #3 align 2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { noreturn nounwind }
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++ TBAA"}
!9 = !{!10, !20, i64 12052}
!10 = !{!"_ZTS8Profiler", !7, i64 0, !11, i64 12000, !20, i64 12048, !20, i64 12052, !20, i64 12056, !20, i64 12060, !20, i64 12064, !21, i64 12072, !21, i64 12080, !20, i64 12088, !21, i64 12096, !21, i64 12104, !20, i64 12112, !21, i64 12120, !22, i64 12128, !21, i64 12136, !21, i64 12144, !21, i64 12152}
!11 = !{!"_ZTSSt3setIP22IProfilerOutputHandlerSt4lessIS1_ESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt8_Rb_treeIP22IProfilerOutputHandlerS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt8_Rb_treeIP22IProfilerOutputHandlerS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !14, i64 0, !16, i64 8}
!14 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIP22IProfilerOutputHandlerEE", !15, i64 0}
!15 = !{!"_ZTSSt4lessIP22IProfilerOutputHandlerE"}
!16 = !{!"_ZTSSt15_Rb_tree_header", !17, i64 0, !19, i64 32}
!17 = !{!"_ZTSSt18_Rb_tree_node_base", !18, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"long long", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!10, !20, i64 12060}
!24 = !{!21, !21, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"float", !7, i64 0}
!27 = !{!10, !21, i64 12080}
!28 = !{!10, !22, i64 12128}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!10, !21, i64 12136}
!32 = !{!10, !20, i64 12088}
!33 = !{!20, !20, i64 0}
!34 = !{!10, !21, i64 12096}
!35 = !{!10, !21, i64 12104}
!36 = !{!10, !20, i64 12112}
!37 = !{!10, !21, i64 12120}


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

@.str.1 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN8Profiler6outputEv = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN12_GLOBAL__N_17getTimeEv() local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK8Profiler14getTimestampMSEy(ptr noundef nonnull align 8 dereferenceable(12160), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Profiler6outputEv(ptr noundef nonnull align 8 dereferenceable(12160) %0) local_unnamed_addr #2 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 12052
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %4 = icmp eq i32 %3, -1
  br i1 %4, label %6, label %5

5:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 276, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8Profiler6outputEv) #3
  unreachable

6:                                                ; preds = %1
  %7 = getelementptr inbounds i8, ptr %0, i64 12060
  %8 = load i32, ptr %7, align 4, !tbaa !22
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %11, label %10

10:                                               ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 277, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8Profiler6outputEv) #3
  unreachable

11:                                               ; preds = %6
  %12 = tail call noundef i64 @_ZN12_GLOBAL__N_17getTimeEv()
  %13 = tail call noundef float @_ZNK8Profiler14getTimestampMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %0, i64 noundef %12)
  %14 = getelementptr inbounds i8, ptr %0, i64 12080
  %15 = load i64, ptr %14, align 8, !tbaa !23
  %16 = getelementptr inbounds i8, ptr %0, i64 12128
  %17 = load i8, ptr %16, align 8, !tbaa !24, !range !25, !noundef !26
  %18 = trunc nuw i8 %17 to i1
  %19 = getelementptr inbounds i8, ptr %0, i64 12136
  %20 = load i64, ptr %19, align 8
  %21 = sub i64 %12, %20
  %22 = select i1 %18, i64 %21, i64 0
  %.0 = add i64 %22, %15
  %23 = tail call noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %0, i64 noundef %.0)
  %24 = getelementptr inbounds i8, ptr %0, i64 12088
  %25 = load i32, ptr %24, align 8, !tbaa !27
  %26 = getelementptr inbounds i8, ptr %0, i64 12096
  %27 = load i64, ptr %26, align 8, !tbaa !28
  %28 = tail call noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %0, i64 noundef %27)
  %29 = load i8, ptr %16, align 8, !tbaa !24, !range !25, !noundef !26
  %30 = trunc nuw i8 %29 to i1
  %31 = getelementptr inbounds i8, ptr %0, i64 12104
  %32 = load i64, ptr %31, align 8
  %33 = sub i64 %.0, %32
  %.015 = select i1 %30, i64 %33, i64 0
  %34 = tail call noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %0, i64 noundef %.015)
  %35 = load i32, ptr %24, align 8, !tbaa !27
  %36 = getelementptr inbounds i8, ptr %0, i64 12112
  %37 = load i32, ptr %36, align 8, !tbaa !29
  %38 = sub i32 %35, %37
  %39 = getelementptr inbounds i8, ptr %0, i64 12120
  %40 = load i64, ptr %39, align 8, !tbaa !30
  %41 = tail call noundef float @_ZNK8Profiler9getTimeMSEy(ptr noundef nonnull align 8 dereferenceable(12160) %0, i64 noundef %40)
  tail call void @_ZNK8Profiler11beginOutputEffjffjf(ptr noundef nonnull align 8 dereferenceable(12160) %0, float noundef %13, float noundef %34, i32 noundef %38, float noundef %41, float noundef %23, i32 noundef %25, float noundef %28)
  tail call void @_ZNK8Profiler6outputEi(ptr noundef nonnull align 8 dereferenceable(12160) %0, i32 noundef -1)
  tail call void @_ZNK8Profiler9endOutputEv(ptr noundef nonnull align 8 dereferenceable(12160) %0)
  store i64 %.0, ptr %31, align 8, !tbaa !31
  store i32 %25, ptr %36, align 8, !tbaa !29
  store i64 0, ptr %39, align 8, !tbaa !30
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Profiler11beginOutputEffjffjf(ptr noundef nonnull align 8 dereferenceable(12160), float noundef, float noundef, i32 noundef, float noundef, float noundef, i32 noundef, float noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Profiler6outputEi(ptr noundef nonnull align 8 dereferenceable(12160), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Profiler9endOutputEv(ptr noundef nonnull align 8 dereferenceable(12160)) local_unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { noreturn 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, !19, i64 12052}
!6 = !{!"_ZTS8Profiler", !7, i64 0, !9, i64 12000, !19, i64 12048, !19, i64 12052, !19, i64 12056, !19, i64 12060, !19, i64 12064, !20, i64 12072, !20, i64 12080, !19, i64 12088, !20, i64 12096, !20, i64 12104, !19, i64 12112, !20, i64 12120, !21, i64 12128, !20, i64 12136, !20, i64 12144, !20, i64 12152}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"_ZTSSt3setIP22IProfilerOutputHandlerSt4lessIS1_ESaIS1_EE", !10, i64 0}
!10 = !{!"_ZTSSt8_Rb_treeIP22IProfilerOutputHandlerS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSNSt8_Rb_treeIP22IProfilerOutputHandlerS1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !12, i64 0, !14, i64 8}
!12 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIP22IProfilerOutputHandlerEE", !13, i64 0}
!13 = !{!"_ZTSSt4lessIP22IProfilerOutputHandlerE"}
!14 = !{!"_ZTSSt15_Rb_tree_header", !15, i64 0, !18, i64 32}
!15 = !{!"_ZTSSt18_Rb_tree_node_base", !16, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!16 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"long long", !7, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!6, !19, i64 12060}
!23 = !{!6, !20, i64 12080}
!24 = !{!6, !21, i64 12128}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!6, !19, i64 12088}
!28 = !{!6, !20, i64 12096}
!29 = !{!6, !19, i64 12112}
!30 = !{!6, !20, i64 12120}
!31 = !{!6, !20, i64 12104}


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