; LLVM IR from chdb-io/chdb :: base/glibc-compatibility/musl (exp)

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

%struct.exp_data = type { double, double, double, double, [4 x double], double, [5 x double], [256 x i64] }
%union.anon = type { double }
%union.anon.0 = type { double }
%union.anon.1 = type { double }
%union.anon.2 = type { double }
%union.anon.3 = type { i64 }
%union.anon.4 = type { i64 }

@__exp_data = external hidden constant %struct.exp_data, align 8

; Function Attrs: nounwind uwtable
define dso_local double @exp(double noundef %0) #0 {
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca %union.anon, align 8
  %18 = alloca %union.anon.0, align 8
  %19 = alloca %union.anon.1, align 8
  %20 = alloca %union.anon.2, align 8
  %21 = alloca %union.anon.3, align 8
  %22 = alloca %union.anon.4, align 8
  store double %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %23 = load double, ptr %3, align 8, !tbaa !5
  %24 = call i32 @top12(double noundef %23)
  %25 = and i32 %24, 2047
  store i32 %25, ptr %4, align 4, !tbaa !9
  %26 = load i32, ptr %4, align 4, !tbaa !9
  %27 = call i32 @top12(double noundef 0x3C90000000000000)
  %28 = sub i32 %26, %27
  %29 = call i32 @top12(double noundef 5.120000e+02)
  %30 = call i32 @top12(double noundef 0x3C90000000000000)
  %31 = sub i32 %29, %30
  %32 = icmp uge i32 %28, %31
  %33 = zext i1 %32 to i32
  %34 = sext i32 %33 to i64
  %35 = call i64 @llvm.expect.i64(i64 %34, i64 0)
  %36 = icmp ne i64 %35, 0
  br i1 %36, label %37, label %72

37:                                               ; preds = %1
  %38 = load i32, ptr %4, align 4, !tbaa !9
  %39 = call i32 @top12(double noundef 0x3C90000000000000)
  %40 = sub i32 %38, %39
  %41 = icmp uge i32 %40, -2147483648
  br i1 %41, label %42, label %45

42:                                               ; preds = %37
  %43 = load double, ptr %3, align 8, !tbaa !5
  %44 = fadd double 1.000000e+00, %43
  store double %44, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %146

45:                                               ; preds = %37
  %46 = load i32, ptr %4, align 4, !tbaa !9
  %47 = call i32 @top12(double noundef 1.024000e+03)
  %48 = icmp uge i32 %46, %47
  br i1 %48, label %49, label %71

49:                                               ; preds = %45
  %50 = load double, ptr %3, align 8, !tbaa !5
  store double %50, ptr %17, align 8, !tbaa !11
  %51 = load i64, ptr %17, align 8, !tbaa !11
  store double 0xFFF0000000000000, ptr %18, align 8, !tbaa !11
  %52 = load i64, ptr %18, align 8, !tbaa !11
  %53 = icmp eq i64 %51, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %49
  store double 0.000000e+00, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %146

55:                                               ; preds = %49
  %56 = load i32, ptr %4, align 4, !tbaa !9
  %57 = call i32 @top12(double noundef 0x7FF0000000000000)
  %58 = icmp uge i32 %56, %57
  br i1 %58, label %59, label %62

59:                                               ; preds = %55
  %60 = load double, ptr %3, align 8, !tbaa !5
  %61 = fadd double 1.000000e+00, %60
  store double %61, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %146

62:                                               ; preds = %55
  %63 = load double, ptr %3, align 8, !tbaa !5
  store double %63, ptr %19, align 8, !tbaa !11
  %64 = load i64, ptr %19, align 8, !tbaa !11
  %65 = lshr i64 %64, 63
  %66 = icmp ne i64 %65, 0
  br i1 %66, label %67, label %69

67:                                               ; preds = %62
  %68 = call double @__math_uflow(i32 noundef 0)
  store double %68, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %146

69:                                               ; preds = %62
  %70 = call double @__math_oflow(i32 noundef 0)
  store double %70, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %146

71:                                               ; preds = %45
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %71, %1
  %73 = load double, ptr @__exp_data, align 8, !tbaa !12
  %74 = load double, ptr %3, align 8, !tbaa !5
  %75 = fmul double %73, %74
  store double %75, ptr %10, align 8, !tbaa !5
  %76 = load double, ptr %10, align 8, !tbaa !5
  %77 = load double, ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 1), align 8, !tbaa !14
  %78 = fadd double %76, %77
  %79 = call double @eval_as_double(double noundef %78)
  store double %79, ptr %9, align 8, !tbaa !5
  %80 = load double, ptr %9, align 8, !tbaa !5
  store double %80, ptr %20, align 8, !tbaa !11
  %81 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %81, ptr %5, align 8, !tbaa !15
  %82 = load double, ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 1), align 8, !tbaa !14
  %83 = load double, ptr %9, align 8, !tbaa !5
  %84 = fsub double %83, %82
  store double %84, ptr %9, align 8, !tbaa !5
  %85 = load double, ptr %3, align 8, !tbaa !5
  %86 = load double, ptr %9, align 8, !tbaa !5
  %87 = load double, ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 2), align 8, !tbaa !17
  %88 = call double @llvm.fmuladd.f64(double %86, double %87, double %85)
  %89 = load double, ptr %9, align 8, !tbaa !5
  %90 = load double, ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 3), align 8, !tbaa !18
  %91 = call double @llvm.fmuladd.f64(double %89, double %90, double %88)
  store double %91, ptr %11, align 8, !tbaa !5
  %92 = load i64, ptr %5, align 8, !tbaa !15
  %93 = urem i64 %92, 128
  %94 = mul i64 2, %93
  store i64 %94, ptr %6, align 8, !tbaa !15
  %95 = load i64, ptr %5, align 8, !tbaa !15
  %96 = shl i64 %95, 45
  store i64 %96, ptr %7, align 8, !tbaa !15
  %97 = load i64, ptr %6, align 8, !tbaa !15
  %98 = getelementptr inbounds [256 x i64], ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 7), i64 0, i64 %97
  %99 = load i64, ptr %98, align 8, !tbaa !15
  store i64 %99, ptr %21, align 8, !tbaa !11
  %100 = load double, ptr %21, align 8, !tbaa !11
  store double %100, ptr %14, align 8, !tbaa !5
  %101 = load i64, ptr %6, align 8, !tbaa !15
  %102 = add i64 %101, 1
  %103 = getelementptr inbounds [256 x i64], ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 7), i64 0, i64 %102
  %104 = load i64, ptr %103, align 8, !tbaa !15
  %105 = load i64, ptr %7, align 8, !tbaa !15
  %106 = add i64 %104, %105
  store i64 %106, ptr %8, align 8, !tbaa !15
  %107 = load double, ptr %11, align 8, !tbaa !5
  %108 = load double, ptr %11, align 8, !tbaa !5
  %109 = fmul double %107, %108
  store double %109, ptr %12, align 8, !tbaa !5
  %110 = load double, ptr %14, align 8, !tbaa !5
  %111 = load double, ptr %11, align 8, !tbaa !5
  %112 = fadd double %110, %111
  %113 = load double, ptr %12, align 8, !tbaa !5
  %114 = load double, ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 4), align 8, !tbaa !5
  %115 = load double, ptr %11, align 8, !tbaa !5
  %116 = load double, ptr getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 4), i64 0, i64 1), align 8, !tbaa !5
  %117 = call double @llvm.fmuladd.f64(double %115, double %116, double %114)
  %118 = call double @llvm.fmuladd.f64(double %113, double %117, double %112)
  %119 = load double, ptr %12, align 8, !tbaa !5
  %120 = load double, ptr %12, align 8, !tbaa !5
  %121 = fmul double %119, %120
  %122 = load double, ptr getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 4), i64 0, i64 2), align 8, !tbaa !5
  %123 = load double, ptr %11, align 8, !tbaa !5
  %124 = load double, ptr getelementptr inbounds ([4 x double], ptr getelementptr inbounds (%struct.exp_data, ptr @__exp_data, i32 0, i32 4), i64 0, i64 3), align 8, !tbaa !5
  %125 = call double @llvm.fmuladd.f64(double %123, double %124, double %122)
  %126 = call double @llvm.fmuladd.f64(double %121, double %125, double %118)
  store double %126, ptr %15, align 8, !tbaa !5
  %127 = load i32, ptr %4, align 4, !tbaa !9
  %128 = icmp eq i32 %127, 0
  %129 = zext i1 %128 to i32
  %130 = sext i32 %129 to i64
  %131 = call i64 @llvm.expect.i64(i64 %130, i64 0)
  %132 = icmp ne i64 %131, 0
  br i1 %132, label %133, label %138

133:                                              ; preds = %72
  %134 = load double, ptr %15, align 8, !tbaa !5
  %135 = load i64, ptr %8, align 8, !tbaa !15
  %136 = load i64, ptr %5, align 8, !tbaa !15
  %137 = call double @specialcase(double noundef %134, i64 noundef %135, i64 noundef %136)
  store double %137, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %146

138:                                              ; preds = %72
  %139 = load i64, ptr %8, align 8, !tbaa !15
  store i64 %139, ptr %22, align 8, !tbaa !11
  %140 = load double, ptr %22, align 8, !tbaa !11
  store double %140, ptr %13, align 8, !tbaa !5
  %141 = load double, ptr %13, align 8, !tbaa !5
  %142 = load double, ptr %13, align 8, !tbaa !5
  %143 = load double, ptr %15, align 8, !tbaa !5
  %144 = call double @llvm.fmuladd.f64(double %142, double %143, double %141)
  %145 = call double @eval_as_double(double noundef %144)
  store double %145, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %146

146:                                              ; preds = %138, %133, %69, %67, %59, %54, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  %147 = load double, ptr %2, align 8
  ret double %147
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @top12(double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

declare hidden double @__math_uflow(i32 noundef) #4

declare hidden double @__math_oflow(i32 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @eval_as_double(double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @specialcase(double noundef, i64 noundef, i64 noundef) #2

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

attributes #0 = { 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 = { inlinehint 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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"exp_data", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !7, i64 32, !6, i64 64, !7, i64 72, !7, i64 112}
!14 = !{!13, !6, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!13, !6, i64 16}
!18 = !{!13, !6, i64 24}


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

%struct.exp_data = type { double, double, double, double, [4 x double], double, [5 x double], [256 x i64] }

@__exp_data = external hidden local_unnamed_addr constant %struct.exp_data, align 8

; Function Attrs: nounwind uwtable
define dso_local double @exp(double noundef %0) local_unnamed_addr #0 {
  %2 = tail call i32 @top12(double noundef %0)
  %3 = and i32 %2, 2047
  %4 = tail call i32 @top12(double noundef 0x3C90000000000000)
  %5 = sub i32 %3, %4
  %6 = tail call i32 @top12(double noundef 5.120000e+02)
  %7 = tail call i32 @top12(double noundef 0x3C90000000000000)
  %8 = sub i32 %6, %7
  %.not = icmp ult i32 %5, %8
  br i1 %.not, label %29, label %9, !prof !5

9:                                                ; preds = %1
  %10 = tail call i32 @top12(double noundef 0x3C90000000000000)
  %11 = sub i32 %3, %10
  %12 = icmp slt i32 %11, 0
  br i1 %12, label %13, label %15

13:                                               ; preds = %9
  %14 = fadd double %0, 1.000000e+00
  br label %68

15:                                               ; preds = %9
  %16 = tail call i32 @top12(double noundef 1.024000e+03)
  %.not46 = icmp ult i32 %3, %16
  br i1 %.not46, label %29, label %17

17:                                               ; preds = %15
  %18 = bitcast double %0 to i64
  %19 = icmp eq i64 %18, -4503599627370496
  br i1 %19, label %68, label %20

20:                                               ; preds = %17
  %21 = tail call i32 @top12(double noundef 0x7FF0000000000000)
  %.not47 = icmp ult i32 %3, %21
  br i1 %.not47, label %24, label %22

22:                                               ; preds = %20
  %23 = fadd double %0, 1.000000e+00
  br label %68

24:                                               ; preds = %20
  %.not48 = icmp sgt i64 %18, -1
  br i1 %.not48, label %27, label %25

25:                                               ; preds = %24
  %26 = tail call double @__math_uflow(i32 noundef 0) #4
  br label %68

27:                                               ; preds = %24
  %28 = tail call double @__math_oflow(i32 noundef 0) #4
  br label %68

29:                                               ; preds = %15, %1
  %.043 = phi i32 [ %3, %1 ], [ 0, %15 ]
  %30 = load double, ptr @__exp_data, align 8, !tbaa !6
  %31 = fmul double %30, %0
  %32 = load double, ptr getelementptr inbounds (i8, ptr @__exp_data, i64 8), align 8, !tbaa !11
  %33 = fadd double %31, %32
  %34 = tail call double @eval_as_double(double noundef %33)
  %35 = bitcast double %34 to i64
  %36 = fsub double %34, %32
  %37 = load double, ptr getelementptr inbounds (i8, ptr @__exp_data, i64 16), align 8, !tbaa !12
  %38 = tail call double @llvm.fmuladd.f64(double %36, double %37, double %0)
  %39 = load double, ptr getelementptr inbounds (i8, ptr @__exp_data, i64 24), align 8, !tbaa !13
  %40 = tail call double @llvm.fmuladd.f64(double %36, double %39, double %38)
  %41 = shl i64 %35, 1
  %42 = and i64 %41, 254
  %43 = shl i64 %35, 45
  %44 = getelementptr inbounds [256 x i64], ptr getelementptr inbounds (i8, ptr @__exp_data, i64 112), i64 0, i64 %42
  %45 = load double, ptr %44, align 8, !tbaa !14
  %46 = or disjoint i64 %42, 1
  %47 = getelementptr inbounds [256 x i64], ptr getelementptr inbounds (i8, ptr @__exp_data, i64 112), i64 0, i64 %46
  %48 = load i64, ptr %47, align 8, !tbaa !14
  %49 = add i64 %48, %43
  %50 = fmul double %40, %40
  %51 = fadd double %45, %40
  %52 = load double, ptr getelementptr inbounds (i8, ptr @__exp_data, i64 32), align 8, !tbaa !16
  %53 = load double, ptr getelementptr inbounds (i8, ptr @__exp_data, i64 40), align 8, !tbaa !16
  %54 = tail call double @llvm.fmuladd.f64(double %40, double %53, double %52)
  %55 = tail call double @llvm.fmuladd.f64(double %50, double %54, double %51)
  %56 = fmul double %50, %50
  %57 = load double, ptr getelementptr inbounds (i8, ptr @__exp_data, i64 48), align 8, !tbaa !16
  %58 = load double, ptr getelementptr inbounds (i8, ptr @__exp_data, i64 56), align 8, !tbaa !16
  %59 = tail call double @llvm.fmuladd.f64(double %40, double %58, double %57)
  %60 = tail call double @llvm.fmuladd.f64(double %56, double %59, double %55)
  %61 = icmp eq i32 %.043, 0
  br i1 %61, label %62, label %64, !prof !17

62:                                               ; preds = %29
  %63 = tail call double @specialcase(double noundef %60, i64 noundef %49, i64 noundef %35)
  br label %68

64:                                               ; preds = %29
  %65 = bitcast i64 %49 to double
  %66 = tail call double @llvm.fmuladd.f64(double %65, double %60, double %65)
  %67 = tail call double @eval_as_double(double noundef %66)
  br label %68

68:                                               ; preds = %17, %64, %62, %27, %25, %22, %13
  %.0 = phi double [ %14, %13 ], [ %23, %22 ], [ %26, %25 ], [ %28, %27 ], [ %63, %62 ], [ %67, %64 ], [ 0.000000e+00, %17 ]
  ret double %.0
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @top12(double noundef) local_unnamed_addr #1

declare hidden double @__math_uflow(i32 noundef) local_unnamed_addr #2

declare hidden double @__math_oflow(i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @eval_as_double(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @specialcase(double noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

attributes #0 = { 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 = { inlinehint 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 = { "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!6 = !{!7, !8, i64 0}
!7 = !{!"exp_data", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !9, i64 32, !8, i64 64, !9, i64 72, !9, i64 112}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!7, !8, i64 16}
!13 = !{!7, !8, i64 24}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!"branch_weights", !"expected", i32 1, i32 2000}


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