; LLVM IR from drohmer/cgp :: library/cgp/15_input_devices (input_devices)

; 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.cgp::inputs_keyboard_last_action_parameter" = type { i32, i32 }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.cgp::inputs_keyboard_parameters" = type { i8, i8, i8, i8, i8, i8, %"struct.cgp::inputs_keyboard_last_action_parameter", %"class.std::set" }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_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 }

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp26inputs_keyboard_parameters20update_from_glfw_keyEii(ptr noundef nonnull align 8 dereferenceable(64) %0, i32 noundef %1, i32 noundef %2) #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.cgp::inputs_keyboard_last_action_parameter", align 4
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca %"struct.std::pair", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  %11 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %12 = getelementptr inbounds %"struct.cgp::inputs_keyboard_last_action_parameter", ptr %7, i32 0, i32 0
  %13 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %13, ptr %12, align 4, !tbaa !11
  %14 = getelementptr inbounds %"struct.cgp::inputs_keyboard_last_action_parameter", ptr %7, i32 0, i32 1
  %15 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %15, ptr %14, align 4, !tbaa !13
  %16 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #3
  %17 = load i32, ptr %6, align 4, !tbaa !9
  %18 = icmp eq i32 %17, 1
  br i1 %18, label %22, label %19

19:                                               ; preds = %3
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = icmp eq i32 %20, 2
  br label %22

22:                                               ; preds = %19, %3
  %23 = phi i1 [ true, %3 ], [ %21, %19 ]
  %24 = zext i1 %23 to i8
  store i8 %24, ptr %8, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #3
  %25 = load i32, ptr %6, align 4, !tbaa !9
  %26 = icmp eq i32 %25, 0
  %27 = zext i1 %26 to i8
  store i8 %27, ptr %9, align 1, !tbaa !15
  %28 = load i32, ptr %5, align 4, !tbaa !9
  %29 = icmp eq i32 %28, 340
  br i1 %29, label %33, label %30

30:                                               ; preds = %22
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = icmp eq i32 %31, 344
  br i1 %32, label %33, label %38

33:                                               ; preds = %30, %22
  %34 = load i8, ptr %8, align 1, !tbaa !15, !range !17, !noundef !18
  %35 = trunc i8 %34 to i1
  br i1 %35, label %36, label %38

36:                                               ; preds = %33
  %37 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 0
  store i8 1, ptr %37, align 8, !tbaa !19
  br label %38

38:                                               ; preds = %36, %33, %30
  %39 = load i32, ptr %5, align 4, !tbaa !9
  %40 = icmp eq i32 %39, 340
  br i1 %40, label %44, label %41

41:                                               ; preds = %38
  %42 = load i32, ptr %5, align 4, !tbaa !9
  %43 = icmp eq i32 %42, 344
  br i1 %43, label %44, label %49

44:                                               ; preds = %41, %38
  %45 = load i8, ptr %9, align 1, !tbaa !15, !range !17, !noundef !18
  %46 = trunc i8 %45 to i1
  br i1 %46, label %47, label %49

47:                                               ; preds = %44
  %48 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 0
  store i8 0, ptr %48, align 8, !tbaa !19
  br label %49

49:                                               ; preds = %47, %44, %41
  %50 = load i32, ptr %5, align 4, !tbaa !9
  %51 = icmp eq i32 %50, 341
  br i1 %51, label %55, label %52

52:                                               ; preds = %49
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = icmp eq i32 %53, 345
  br i1 %54, label %55, label %60

55:                                               ; preds = %52, %49
  %56 = load i8, ptr %8, align 1, !tbaa !15, !range !17, !noundef !18
  %57 = trunc i8 %56 to i1
  br i1 %57, label %58, label %60

58:                                               ; preds = %55
  %59 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 1
  store i8 1, ptr %59, align 1, !tbaa !30
  br label %60

60:                                               ; preds = %58, %55, %52
  %61 = load i32, ptr %5, align 4, !tbaa !9
  %62 = icmp eq i32 %61, 341
  br i1 %62, label %66, label %63

63:                                               ; preds = %60
  %64 = load i32, ptr %5, align 4, !tbaa !9
  %65 = icmp eq i32 %64, 345
  br i1 %65, label %66, label %71

66:                                               ; preds = %63, %60
  %67 = load i8, ptr %9, align 1, !tbaa !15, !range !17, !noundef !18
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %71

69:                                               ; preds = %66
  %70 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 1
  store i8 0, ptr %70, align 1, !tbaa !30
  br label %71

71:                                               ; preds = %69, %66, %63
  %72 = load i32, ptr %5, align 4, !tbaa !9
  %73 = icmp eq i32 %72, 265
  br i1 %73, label %74, label %85

74:                                               ; preds = %71
  %75 = load i8, ptr %8, align 1, !tbaa !15, !range !17, !noundef !18
  %76 = trunc i8 %75 to i1
  br i1 %76, label %77, label %79

77:                                               ; preds = %74
  %78 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 2
  store i8 1, ptr %78, align 2, !tbaa !31
  br label %79

79:                                               ; preds = %77, %74
  %80 = load i8, ptr %9, align 1, !tbaa !15, !range !17, !noundef !18
  %81 = trunc i8 %80 to i1
  br i1 %81, label %82, label %84

82:                                               ; preds = %79
  %83 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 2
  store i8 0, ptr %83, align 2, !tbaa !31
  br label %84

84:                                               ; preds = %82, %79
  br label %85

85:                                               ; preds = %84, %71
  %86 = load i32, ptr %5, align 4, !tbaa !9
  %87 = icmp eq i32 %86, 264
  br i1 %87, label %88, label %99

88:                                               ; preds = %85
  %89 = load i8, ptr %8, align 1, !tbaa !15, !range !17, !noundef !18
  %90 = trunc i8 %89 to i1
  br i1 %90, label %91, label %93

91:                                               ; preds = %88
  %92 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 3
  store i8 1, ptr %92, align 1, !tbaa !32
  br label %93

93:                                               ; preds = %91, %88
  %94 = load i8, ptr %9, align 1, !tbaa !15, !range !17, !noundef !18
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %98

96:                                               ; preds = %93
  %97 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 3
  store i8 0, ptr %97, align 1, !tbaa !32
  br label %98

98:                                               ; preds = %96, %93
  br label %99

99:                                               ; preds = %98, %85
  %100 = load i32, ptr %5, align 4, !tbaa !9
  %101 = icmp eq i32 %100, 263
  br i1 %101, label %102, label %113

102:                                              ; preds = %99
  %103 = load i8, ptr %8, align 1, !tbaa !15, !range !17, !noundef !18
  %104 = trunc i8 %103 to i1
  br i1 %104, label %105, label %107

105:                                              ; preds = %102
  %106 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 5
  store i8 1, ptr %106, align 1, !tbaa !33
  br label %107

107:                                              ; preds = %105, %102
  %108 = load i8, ptr %9, align 1, !tbaa !15, !range !17, !noundef !18
  %109 = trunc i8 %108 to i1
  br i1 %109, label %110, label %112

110:                                              ; preds = %107
  %111 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 5
  store i8 0, ptr %111, align 1, !tbaa !33
  br label %112

112:                                              ; preds = %110, %107
  br label %113

113:                                              ; preds = %112, %99
  %114 = load i32, ptr %5, align 4, !tbaa !9
  %115 = icmp eq i32 %114, 262
  br i1 %115, label %116, label %127

116:                                              ; preds = %113
  %117 = load i8, ptr %8, align 1, !tbaa !15, !range !17, !noundef !18
  %118 = trunc i8 %117 to i1
  br i1 %118, label %119, label %121

119:                                              ; preds = %116
  %120 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 4
  store i8 1, ptr %120, align 4, !tbaa !34
  br label %121

121:                                              ; preds = %119, %116
  %122 = load i8, ptr %9, align 1, !tbaa !15, !range !17, !noundef !18
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %126

124:                                              ; preds = %121
  %125 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 4
  store i8 0, ptr %125, align 4, !tbaa !34
  br label %126

126:                                              ; preds = %124, %121
  br label %127

127:                                              ; preds = %126, %113
  %128 = load i8, ptr %8, align 1, !tbaa !15, !range !17, !noundef !18
  %129 = trunc i8 %128 to i1
  br i1 %129, label %130, label %137

130:                                              ; preds = %127
  %131 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 7
  %132 = call { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %131, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %133 = getelementptr inbounds { ptr, i8 }, ptr %10, i32 0, i32 0
  %134 = extractvalue { ptr, i8 } %132, 0
  store ptr %134, ptr %133, align 8
  %135 = getelementptr inbounds { ptr, i8 }, ptr %10, i32 0, i32 1
  %136 = extractvalue { ptr, i8 } %132, 1
  store i8 %136, ptr %135, align 8
  br label %140

137:                                              ; preds = %127
  %138 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %11, i32 0, i32 7
  %139 = call noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48) %138, ptr noundef nonnull align 4 dereferenceable(4) %5)
  br label %140

140:                                              ; preds = %137, %130
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #3
  ret void
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN3cgp37inputs_keyboard_last_action_parameterE", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 4}
!14 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !16, i64 0}
!20 = !{!"_ZTSN3cgp26inputs_keyboard_parametersE", !16, i64 0, !16, i64 1, !16, i64 2, !16, i64 3, !16, i64 4, !16, i64 5, !12, i64 8, !21, i64 16}
!21 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !22, i64 0}
!22 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !23, i64 0}
!23 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !24, i64 0, !26, i64 8}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !25, i64 0}
!25 = !{!"_ZTSSt4lessIiE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !29, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = !{!20, !16, i64 1}
!31 = !{!20, !16, i64 2}
!32 = !{!20, !16, i64 3}
!33 = !{!20, !16, i64 5}
!34 = !{!20, !16, i64 4}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp26inputs_keyboard_parameters20update_from_glfw_keyEii(ptr noundef nonnull align 8 dereferenceable(64) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 align 2 {
  %4 = alloca i32, align 4
  store i32 %1, ptr %4, align 4, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %1, ptr %5, align 8, !tbaa !5
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %2, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !5
  %6 = add i32 %2, -1
  %7 = icmp ult i32 %6, 2
  %8 = icmp eq i32 %2, 0
  switch i32 %1, label %.thread33 [
    i32 344, label %9
    i32 340, label %9
    i32 345, label %15
    i32 341, label %15
    i32 265, label %22
    i32 264, label %27
    i32 263, label %32
    i32 262, label %37
  ]

9:                                                ; preds = %3, %3
  br i1 %7, label %10, label %11

10:                                               ; preds = %9
  store i8 1, ptr %0, align 8, !tbaa !9
  br label %11

11:                                               ; preds = %10, %9
  switch i32 %1, label %.thread33 [
    i32 344, label %12
    i32 340, label %12
    i32 341, label %15
  ]

12:                                               ; preds = %11, %11
  br i1 %8, label %13, label %14

13:                                               ; preds = %12
  store i8 0, ptr %0, align 8, !tbaa !9
  br label %14

14:                                               ; preds = %13, %12
  %cond = icmp eq i32 %1, 341
  br i1 %cond, label %15, label %.thread33

15:                                               ; preds = %14, %11, %3, %3
  br i1 %7, label %16, label %18

16:                                               ; preds = %15
  %17 = getelementptr inbounds i8, ptr %0, i64 1
  store i8 1, ptr %17, align 1, !tbaa !23
  br label %18

18:                                               ; preds = %16, %15
  switch i32 %1, label %.thread33 [
    i32 345, label %19
    i32 341, label %19
  ]

19:                                               ; preds = %18, %18
  br i1 %8, label %20, label %.thread33

20:                                               ; preds = %19
  %21 = getelementptr inbounds i8, ptr %0, i64 1
  store i8 0, ptr %21, align 1, !tbaa !23
  br label %.thread36

22:                                               ; preds = %3
  br i1 %7, label %.thread25, label %24

.thread25:                                        ; preds = %22
  %23 = getelementptr inbounds i8, ptr %0, i64 2
  store i8 1, ptr %23, align 2, !tbaa !24
  br label %.thread33.thread39

24:                                               ; preds = %22
  br i1 %8, label %25, label %.thread36

25:                                               ; preds = %24
  %26 = getelementptr inbounds i8, ptr %0, i64 2
  store i8 0, ptr %26, align 2, !tbaa !24
  br label %.thread36

27:                                               ; preds = %3
  br i1 %7, label %.thread28, label %29

.thread28:                                        ; preds = %27
  %28 = getelementptr inbounds i8, ptr %0, i64 3
  store i8 1, ptr %28, align 1, !tbaa !25
  br label %.thread33.thread39

29:                                               ; preds = %27
  br i1 %8, label %30, label %.thread36

30:                                               ; preds = %29
  %31 = getelementptr inbounds i8, ptr %0, i64 3
  store i8 0, ptr %31, align 1, !tbaa !25
  br label %.thread36

32:                                               ; preds = %3
  br i1 %7, label %.thread31, label %34

.thread31:                                        ; preds = %32
  %33 = getelementptr inbounds i8, ptr %0, i64 5
  store i8 1, ptr %33, align 1, !tbaa !26
  br label %.thread33.thread39

34:                                               ; preds = %32
  br i1 %8, label %35, label %.thread36

35:                                               ; preds = %34
  %36 = getelementptr inbounds i8, ptr %0, i64 5
  store i8 0, ptr %36, align 1, !tbaa !26
  br label %.thread36

37:                                               ; preds = %3
  br i1 %7, label %.thread37, label %39

.thread37:                                        ; preds = %37
  %38 = getelementptr inbounds i8, ptr %0, i64 4
  store i8 1, ptr %38, align 4, !tbaa !27
  br label %.thread33.thread39

39:                                               ; preds = %37
  br i1 %8, label %40, label %.thread36

40:                                               ; preds = %39
  %41 = getelementptr inbounds i8, ptr %0, i64 4
  store i8 0, ptr %41, align 4, !tbaa !27
  br label %.thread36

.thread33:                                        ; preds = %14, %3, %11, %18, %19
  br i1 %7, label %.thread33.thread39, label %.thread36

.thread33.thread39:                               ; preds = %.thread31, %.thread28, %.thread25, %.thread37, %.thread33
  %42 = getelementptr inbounds i8, ptr %0, i64 16
  %43 = call { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %42, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br label %46

.thread36:                                        ; preds = %34, %35, %29, %30, %24, %25, %20, %40, %39, %.thread33
  %44 = getelementptr inbounds i8, ptr %0, i64 16
  %45 = call noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48) %44, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br label %46

46:                                               ; preds = %.thread36, %.thread33.thread39
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

attributes #0 = { 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" }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN3cgp26inputs_keyboard_parametersE", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !12, i64 8, !13, i64 16}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSN3cgp37inputs_keyboard_last_action_parameterE", !6, i64 0, !6, i64 4}
!13 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessIiE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !22, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !21, i64 8, !21, i64 16, !21, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"any pointer", !7, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!10, !11, i64 1}
!24 = !{!10, !11, i64 2}
!25 = !{!10, !11, i64 3}
!26 = !{!10, !11, i64 5}
!27 = !{!10, !11, i64 4}


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