; LLVM IR from yinqiwen/ardb :: src/common/util/string_helper.ll (ZN4ardb20base16_stringfromlluB5cxx11Em)

; 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.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] }

@_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode = external hidden constant [17 x i8], align 16

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ardb20base16_stringfromlluB5cxx11Em(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, i64 noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store i64 %1, ptr %4, align 8, !tbaa !5
  store i1 false, ptr %5, align 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 16)
          to label %12 unwind label %17

12:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store ptr %4, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %13

13:                                               ; preds = %49, %12
  %14 = load i32, ptr %10, align 4, !tbaa !11
  %15 = icmp slt i32 %14, 8
  br i1 %15, label %21, label %16

16:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %56

17:                                               ; preds = %2
  %18 = landingpad { ptr, i32 }
          cleanup
  %19 = extractvalue { ptr, i32 } %18, 0
  store ptr %19, ptr %6, align 8
  %20 = extractvalue { ptr, i32 } %18, 1
  store i32 %20, ptr %7, align 4
  br label %60

21:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %22 = load ptr, ptr %8, align 8, !tbaa !9
  %23 = load i32, ptr %10, align 4, !tbaa !11
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds i8, ptr %22, i64 %24
  %26 = load i8, ptr %25, align 1, !tbaa !13
  %27 = sext i8 %26 to i32
  store i32 %27, ptr %11, align 4, !tbaa !11
  %28 = load i32, ptr %11, align 4, !tbaa !11
  %29 = ashr i32 %28, 4
  %30 = and i32 %29, 15
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %31
  %33 = load i8, ptr %32, align 1, !tbaa !13
  %34 = load i32, ptr %9, align 4, !tbaa !11
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %9, align 4, !tbaa !11
  %36 = sext i32 %34 to i64
  %37 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %36)
          to label %38 unwind label %52

38:                                               ; preds = %21
  store i8 %33, ptr %37, align 1, !tbaa !13
  %39 = load i32, ptr %11, align 4, !tbaa !11
  %40 = and i32 %39, 15
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %41
  %43 = load i8, ptr %42, align 1, !tbaa !13
  %44 = load i32, ptr %9, align 4, !tbaa !11
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %9, align 4, !tbaa !11
  %46 = sext i32 %44 to i64
  %47 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %46)
          to label %48 unwind label %52

48:                                               ; preds = %38
  store i8 %43, ptr %47, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %49

49:                                               ; preds = %48
  %50 = load i32, ptr %10, align 4, !tbaa !11
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %10, align 4, !tbaa !11
  br label %13, !llvm.loop !14

52:                                               ; preds = %38, %21
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %6, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %60

56:                                               ; preds = %16
  store i1 true, ptr %5, align 1
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %57 = load i1, ptr %5, align 1
  br i1 %57, label %59, label %58

58:                                               ; preds = %56
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %59

59:                                               ; preds = %58, %56
  ret void

60:                                               ; preds = %52, %17
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #3
  br label %61

61:                                               ; preds = %60
  %62 = load ptr, ptr %6, align 8
  %63 = load i32, ptr %7, align 4
  %64 = insertvalue { ptr, i32 } poison, ptr %62, 0
  %65 = insertvalue { ptr, i32 } %64, i32 %63, 1
  resume { ptr, i32 } %65
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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.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] }

@_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode = external hidden local_unnamed_addr constant [17 x i8], align 16

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ardb20base16_stringfromlluB5cxx11Em(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %0, i64 noundef %1) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 16)
          to label %.preheader.preheader unwind label %77

.preheader.preheader:                             ; preds = %2
  %.sroa.8.0.extract.shift = lshr i64 %1, 56
  %.sroa.7.0.extract.shift = lshr i64 %1, 48
  %.sroa.6.0.extract.shift = lshr i64 %1, 40
  %.sroa.5.0.extract.shift = lshr i64 %1, 32
  %3 = lshr i64 %1, 24
  %4 = lshr i64 %1, 16
  %5 = lshr i64 %1, 8
  %6 = lshr i64 %1, 4
  %7 = and i64 %6, 15
  %8 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %7
  %9 = load i8, ptr %8, align 1, !tbaa !5
  %10 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  store i8 %9, ptr %10, align 1, !tbaa !5
  %11 = and i64 %1, 15
  %12 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %11
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %14 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  store i8 %13, ptr %14, align 1, !tbaa !5
  %15 = lshr i64 %1, 12
  %16 = and i64 %15, 15
  %17 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %16
  %18 = load i8, ptr %17, align 1, !tbaa !5
  %19 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  store i8 %18, ptr %19, align 1, !tbaa !5
  %20 = and i64 %5, 15
  %21 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %20
  %22 = load i8, ptr %21, align 1, !tbaa !5
  %23 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 3)
  store i8 %22, ptr %23, align 1, !tbaa !5
  %24 = lshr i64 %1, 20
  %25 = and i64 %24, 15
  %26 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %25
  %27 = load i8, ptr %26, align 1, !tbaa !5
  %28 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 4)
  store i8 %27, ptr %28, align 1, !tbaa !5
  %29 = and i64 %4, 15
  %30 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %29
  %31 = load i8, ptr %30, align 1, !tbaa !5
  %32 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 5)
  store i8 %31, ptr %32, align 1, !tbaa !5
  %33 = lshr i64 %1, 28
  %34 = and i64 %33, 15
  %35 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %34
  %36 = load i8, ptr %35, align 1, !tbaa !5
  %37 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 6)
  store i8 %36, ptr %37, align 1, !tbaa !5
  %38 = and i64 %3, 15
  %39 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %38
  %40 = load i8, ptr %39, align 1, !tbaa !5
  %41 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 7)
  store i8 %40, ptr %41, align 1, !tbaa !5
  %42 = lshr i64 %1, 36
  %43 = and i64 %42, 15
  %44 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %43
  %45 = load i8, ptr %44, align 1, !tbaa !5
  %46 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 8)
  store i8 %45, ptr %46, align 1, !tbaa !5
  %47 = and i64 %.sroa.5.0.extract.shift, 15
  %48 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %47
  %49 = load i8, ptr %48, align 1, !tbaa !5
  %50 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 9)
  store i8 %49, ptr %50, align 1, !tbaa !5
  %51 = lshr i64 %1, 44
  %52 = and i64 %51, 15
  %53 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %52
  %54 = load i8, ptr %53, align 1, !tbaa !5
  %55 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 10)
  store i8 %54, ptr %55, align 1, !tbaa !5
  %56 = and i64 %.sroa.6.0.extract.shift, 15
  %57 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %56
  %58 = load i8, ptr %57, align 1, !tbaa !5
  %59 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 11)
  store i8 %58, ptr %59, align 1, !tbaa !5
  %60 = lshr i64 %1, 52
  %61 = and i64 %60, 15
  %62 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %61
  %63 = load i8, ptr %62, align 1, !tbaa !5
  %64 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 12)
  store i8 %63, ptr %64, align 1, !tbaa !5
  %65 = and i64 %.sroa.7.0.extract.shift, 15
  %66 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %65
  %67 = load i8, ptr %66, align 1, !tbaa !5
  %68 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 13)
  store i8 %67, ptr %68, align 1, !tbaa !5
  %69 = lshr i64 %1, 60
  %70 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %69
  %71 = load i8, ptr %70, align 1, !tbaa !5
  %72 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 14)
  store i8 %71, ptr %72, align 1, !tbaa !5
  %73 = and i64 %.sroa.8.0.extract.shift, 15
  %74 = getelementptr inbounds [17 x i8], ptr @_ZZN4ardb20base16_stringfromlluB5cxx11EmE7zEncode, i64 0, i64 %73
  %75 = load i8, ptr %74, align 1, !tbaa !5
  %76 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 15)
  store i8 %75, ptr %76, align 1, !tbaa !5
  ret void

77:                                               ; preds = %2
  %78 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  resume { ptr, i32 } %78
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1 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 = { 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 = { 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: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass