; LLVM IR from IOsonata/IOsonata :: ARM/Nordic/nRF52/nRF52840/exemples/BoschAppBoard/src (bmi3)

; 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.bmi3_sens_config = type { i8, %union.bmi3_sens_config_types }
%union.bmi3_sens_config_types = type { %struct.bmi3_step_counter_config }
%struct.bmi3_step_counter_config = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16 }

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

; Function Attrs: nounwind uwtable
declare hidden signext i8 @null_ptr_check(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local signext i8 @bmi3_set_sensor_config(ptr noundef %0, i8 noundef zeroext %1, ptr noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i8 %1, ptr %5, align 1, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #2
  %9 = load ptr, ptr %6, align 8, !tbaa !5
  %10 = call signext i8 @null_ptr_check(ptr noundef %9)
  store i8 %10, ptr %7, align 1, !tbaa !9
  %11 = load i8, ptr %7, align 1, !tbaa !9
  %12 = sext i8 %11 to i32
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %142

14:                                               ; preds = %3
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %142

17:                                               ; preds = %14
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %18

18:                                               ; preds = %138, %17
  %19 = load i8, ptr %8, align 1, !tbaa !9
  %20 = zext i8 %19 to i32
  %21 = load i8, ptr %5, align 1, !tbaa !9
  %22 = zext i8 %21 to i32
  %23 = icmp slt i32 %20, %22
  br i1 %23, label %24, label %141

24:                                               ; preds = %18
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = load i8, ptr %8, align 1, !tbaa !9
  %27 = zext i8 %26 to i64
  %28 = getelementptr inbounds %struct.bmi3_sens_config, ptr %25, i64 %27
  %29 = getelementptr inbounds %struct.bmi3_sens_config, ptr %28, i32 0, i32 0
  %30 = load i8, ptr %29, align 2, !tbaa !10
  %31 = zext i8 %30 to i32
  switch i32 %31, label %136 [
    i32 0, label %32
    i32 1, label %40
    i32 3, label %48
    i32 4, label %56
    i32 2, label %64
    i32 8, label %72
    i32 6, label %80
    i32 7, label %88
    i32 5, label %96
    i32 9, label %104
    i32 10, label %112
    i32 11, label %120
    i32 12, label %128
  ]

32:                                               ; preds = %24
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = load i8, ptr %8, align 1, !tbaa !9
  %35 = zext i8 %34 to i64
  %36 = getelementptr inbounds %struct.bmi3_sens_config, ptr %33, i64 %35
  %37 = getelementptr inbounds %struct.bmi3_sens_config, ptr %36, i32 0, i32 1
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = call signext i8 @set_accel_config(ptr noundef %37, ptr noundef %38)
  store i8 %39, ptr %7, align 1, !tbaa !9
  br label %137

40:                                               ; preds = %24
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = load i8, ptr %8, align 1, !tbaa !9
  %43 = zext i8 %42 to i64
  %44 = getelementptr inbounds %struct.bmi3_sens_config, ptr %41, i64 %43
  %45 = getelementptr inbounds %struct.bmi3_sens_config, ptr %44, i32 0, i32 1
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = call signext i8 @set_gyro_config(ptr noundef %45, ptr noundef %46)
  store i8 %47, ptr %7, align 1, !tbaa !9
  br label %137

48:                                               ; preds = %24
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load i8, ptr %8, align 1, !tbaa !9
  %51 = zext i8 %50 to i64
  %52 = getelementptr inbounds %struct.bmi3_sens_config, ptr %49, i64 %51
  %53 = getelementptr inbounds %struct.bmi3_sens_config, ptr %52, i32 0, i32 1
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = call signext i8 @set_any_motion_config(ptr noundef %53, ptr noundef %54)
  store i8 %55, ptr %7, align 1, !tbaa !9
  br label %137

56:                                               ; preds = %24
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load i8, ptr %8, align 1, !tbaa !9
  %59 = zext i8 %58 to i64
  %60 = getelementptr inbounds %struct.bmi3_sens_config, ptr %57, i64 %59
  %61 = getelementptr inbounds %struct.bmi3_sens_config, ptr %60, i32 0, i32 1
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = call signext i8 @set_no_motion_config(ptr noundef %61, ptr noundef %62)
  store i8 %63, ptr %7, align 1, !tbaa !9
  br label %137

64:                                               ; preds = %24
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = load i8, ptr %8, align 1, !tbaa !9
  %67 = zext i8 %66 to i64
  %68 = getelementptr inbounds %struct.bmi3_sens_config, ptr %65, i64 %67
  %69 = getelementptr inbounds %struct.bmi3_sens_config, ptr %68, i32 0, i32 1
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = call signext i8 @set_sig_motion_config(ptr noundef %69, ptr noundef %70)
  store i8 %71, ptr %7, align 1, !tbaa !9
  br label %137

72:                                               ; preds = %24
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = load i8, ptr %8, align 1, !tbaa !9
  %75 = zext i8 %74 to i64
  %76 = getelementptr inbounds %struct.bmi3_sens_config, ptr %73, i64 %75
  %77 = getelementptr inbounds %struct.bmi3_sens_config, ptr %76, i32 0, i32 1
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = call signext i8 @set_flat_config(ptr noundef %77, ptr noundef %78)
  store i8 %79, ptr %7, align 1, !tbaa !9
  br label %137

80:                                               ; preds = %24
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = load i8, ptr %8, align 1, !tbaa !9
  %83 = zext i8 %82 to i64
  %84 = getelementptr inbounds %struct.bmi3_sens_config, ptr %81, i64 %83
  %85 = getelementptr inbounds %struct.bmi3_sens_config, ptr %84, i32 0, i32 1
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = call signext i8 @set_tilt_config(ptr noundef %85, ptr noundef %86)
  store i8 %87, ptr %7, align 1, !tbaa !9
  br label %137

88:                                               ; preds = %24
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = load i8, ptr %8, align 1, !tbaa !9
  %91 = zext i8 %90 to i64
  %92 = getelementptr inbounds %struct.bmi3_sens_config, ptr %89, i64 %91
  %93 = getelementptr inbounds %struct.bmi3_sens_config, ptr %92, i32 0, i32 1
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = call signext i8 @set_orientation_config(ptr noundef %93, ptr noundef %94)
  store i8 %95, ptr %7, align 1, !tbaa !9
  br label %137

96:                                               ; preds = %24
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = load i8, ptr %8, align 1, !tbaa !9
  %99 = zext i8 %98 to i64
  %100 = getelementptr inbounds %struct.bmi3_sens_config, ptr %97, i64 %99
  %101 = getelementptr inbounds %struct.bmi3_sens_config, ptr %100, i32 0, i32 1
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = call signext i8 @set_step_config(ptr noundef %101, ptr noundef %102)
  store i8 %103, ptr %7, align 1, !tbaa !9
  br label %137

104:                                              ; preds = %24
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = load i8, ptr %8, align 1, !tbaa !9
  %107 = zext i8 %106 to i64
  %108 = getelementptr inbounds %struct.bmi3_sens_config, ptr %105, i64 %107
  %109 = getelementptr inbounds %struct.bmi3_sens_config, ptr %108, i32 0, i32 1
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = call signext i8 @set_tap_config(ptr noundef %109, ptr noundef %110)
  store i8 %111, ptr %7, align 1, !tbaa !9
  br label %137

112:                                              ; preds = %24
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = load i8, ptr %8, align 1, !tbaa !9
  %115 = zext i8 %114 to i64
  %116 = getelementptr inbounds %struct.bmi3_sens_config, ptr %113, i64 %115
  %117 = getelementptr inbounds %struct.bmi3_sens_config, ptr %116, i32 0, i32 1
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = call signext i8 @set_alternate_accel_config(ptr noundef %117, ptr noundef %118)
  store i8 %119, ptr %7, align 1, !tbaa !9
  br label %137

120:                                              ; preds = %24
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = load i8, ptr %8, align 1, !tbaa !9
  %123 = zext i8 %122 to i64
  %124 = getelementptr inbounds %struct.bmi3_sens_config, ptr %121, i64 %123
  %125 = getelementptr inbounds %struct.bmi3_sens_config, ptr %124, i32 0, i32 1
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = call signext i8 @set_alternate_gyro_config(ptr noundef %125, ptr noundef %126)
  store i8 %127, ptr %7, align 1, !tbaa !9
  br label %137

128:                                              ; preds = %24
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = load i8, ptr %8, align 1, !tbaa !9
  %131 = zext i8 %130 to i64
  %132 = getelementptr inbounds %struct.bmi3_sens_config, ptr %129, i64 %131
  %133 = getelementptr inbounds %struct.bmi3_sens_config, ptr %132, i32 0, i32 1
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = call signext i8 @set_alternate_auto_config(ptr noundef %133, ptr noundef %134)
  store i8 %135, ptr %7, align 1, !tbaa !9
  br label %137

136:                                              ; preds = %24
  store i8 -6, ptr %7, align 1, !tbaa !9
  br label %137

137:                                              ; preds = %136, %128, %120, %112, %104, %96, %88, %80, %72, %64, %56, %48, %40, %32
  br label %138

138:                                              ; preds = %137
  %139 = load i8, ptr %8, align 1, !tbaa !9
  %140 = add i8 %139, 1
  store i8 %140, ptr %8, align 1, !tbaa !9
  br label %18, !llvm.loop !12

141:                                              ; preds = %18
  br label %143

142:                                              ; preds = %14, %3
  store i8 -1, ptr %7, align 1, !tbaa !9
  br label %143

143:                                              ; preds = %142, %141
  %144 = load i8, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #2
  ret i8 %144
}

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_accel_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_gyro_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_any_motion_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_no_motion_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_sig_motion_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_flat_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_tilt_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_orientation_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_step_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_tap_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_alternate_accel_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_alternate_gyro_config(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_alternate_auto_config(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !7, i64 0}
!11 = !{!"bmi3_sens_config", !7, i64 0, !7, i64 2}
!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"

%struct.bmi3_sens_config = type { i8, %union.bmi3_sens_config_types }
%union.bmi3_sens_config_types = type { %struct.bmi3_step_counter_config }
%struct.bmi3_step_counter_config = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16 }

; Function Attrs: nounwind uwtable
declare hidden signext i8 @null_ptr_check(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local signext i8 @bmi3_set_sensor_config(ptr noundef %0, i8 noundef zeroext %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = tail call signext i8 @null_ptr_check(ptr noundef %2)
  %5 = icmp eq i8 %4, 0
  %6 = icmp ne ptr %0, null
  %or.cond = and i1 %6, %5
  br i1 %or.cond, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %3
  %.not = icmp eq i8 %1, 0
  br i1 %.not, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  %wide.trip.count = zext i8 %1 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %48
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %48 ]
  %7 = getelementptr inbounds %struct.bmi3_sens_config, ptr %0, i64 %indvars.iv
  %8 = load i8, ptr %7, align 2, !tbaa !5
  switch i8 %8, label %48 [
    i8 0, label %9
    i8 1, label %12
    i8 3, label %15
    i8 4, label %18
    i8 2, label %21
    i8 8, label %24
    i8 6, label %27
    i8 7, label %30
    i8 5, label %33
    i8 9, label %36
    i8 10, label %39
    i8 11, label %42
    i8 12, label %45
  ]

9:                                                ; preds = %.lr.ph
  %10 = getelementptr inbounds i8, ptr %7, i64 2
  %11 = tail call signext i8 @set_accel_config(ptr noundef nonnull %10, ptr noundef %2)
  br label %48

12:                                               ; preds = %.lr.ph
  %13 = getelementptr inbounds i8, ptr %7, i64 2
  %14 = tail call signext i8 @set_gyro_config(ptr noundef nonnull %13, ptr noundef %2)
  br label %48

15:                                               ; preds = %.lr.ph
  %16 = getelementptr inbounds i8, ptr %7, i64 2
  %17 = tail call signext i8 @set_any_motion_config(ptr noundef nonnull %16, ptr noundef %2)
  br label %48

18:                                               ; preds = %.lr.ph
  %19 = getelementptr inbounds i8, ptr %7, i64 2
  %20 = tail call signext i8 @set_no_motion_config(ptr noundef nonnull %19, ptr noundef %2)
  br label %48

21:                                               ; preds = %.lr.ph
  %22 = getelementptr inbounds i8, ptr %7, i64 2
  %23 = tail call signext i8 @set_sig_motion_config(ptr noundef nonnull %22, ptr noundef %2)
  br label %48

24:                                               ; preds = %.lr.ph
  %25 = getelementptr inbounds i8, ptr %7, i64 2
  %26 = tail call signext i8 @set_flat_config(ptr noundef nonnull %25, ptr noundef %2)
  br label %48

27:                                               ; preds = %.lr.ph
  %28 = getelementptr inbounds i8, ptr %7, i64 2
  %29 = tail call signext i8 @set_tilt_config(ptr noundef nonnull %28, ptr noundef %2)
  br label %48

30:                                               ; preds = %.lr.ph
  %31 = getelementptr inbounds i8, ptr %7, i64 2
  %32 = tail call signext i8 @set_orientation_config(ptr noundef nonnull %31, ptr noundef %2)
  br label %48

33:                                               ; preds = %.lr.ph
  %34 = getelementptr inbounds i8, ptr %7, i64 2
  %35 = tail call signext i8 @set_step_config(ptr noundef nonnull %34, ptr noundef %2)
  br label %48

36:                                               ; preds = %.lr.ph
  %37 = getelementptr inbounds i8, ptr %7, i64 2
  %38 = tail call signext i8 @set_tap_config(ptr noundef nonnull %37, ptr noundef %2)
  br label %48

39:                                               ; preds = %.lr.ph
  %40 = getelementptr inbounds i8, ptr %7, i64 2
  %41 = tail call signext i8 @set_alternate_accel_config(ptr noundef nonnull %40, ptr noundef %2)
  br label %48

42:                                               ; preds = %.lr.ph
  %43 = getelementptr inbounds i8, ptr %7, i64 2
  %44 = tail call signext i8 @set_alternate_gyro_config(ptr noundef nonnull %43, ptr noundef %2)
  br label %48

45:                                               ; preds = %.lr.ph
  %46 = getelementptr inbounds i8, ptr %7, i64 2
  %47 = tail call signext i8 @set_alternate_auto_config(ptr noundef nonnull %46, ptr noundef %2)
  br label %48

48:                                               ; preds = %.lr.ph, %9, %12, %15, %18, %21, %24, %27, %30, %33, %36, %39, %42, %45
  %.1 = phi i8 [ %47, %45 ], [ %44, %42 ], [ %41, %39 ], [ %38, %36 ], [ %35, %33 ], [ %32, %30 ], [ %29, %27 ], [ %26, %24 ], [ %23, %21 ], [ %20, %18 ], [ %17, %15 ], [ %14, %12 ], [ %11, %9 ], [ -6, %.lr.ph ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !9

.loopexit:                                        ; preds = %48, %.preheader, %3
  %.2 = phi i8 [ -1, %3 ], [ 0, %.preheader ], [ %.1, %48 ]
  ret i8 %.2
}

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_accel_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_gyro_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_any_motion_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_no_motion_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_sig_motion_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_flat_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_tilt_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_orientation_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_step_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_tap_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_alternate_accel_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_alternate_gyro_config(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden signext i8 @set_alternate_auto_config(ptr noundef, ptr noundef) local_unnamed_addr #0

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

!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, !7, i64 0}
!6 = !{!"bmi3_sens_config", !7, i64 0, !7, i64 2}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass