; LLVM IR from gem5/gem5 :: ext/nomali/lib (nomali_api)

; 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.nomali_config_t = type { i32, i32, i32, i32 }

; 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

; Function Attrs: mustprogress uwtable
define dso_local i32 @nomali_create(ptr noundef %0, ptr noundef %1) #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %94

13:                                               ; preds = %2
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %94

16:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %17 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 104) #6
  invoke void @_ZN9NoMaliApiC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %17)
          to label %18 unwind label %24

18:                                               ; preds = %16
  store ptr %17, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %19, ptr %20, align 8, !tbaa !5
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %28, label %23

23:                                               ; preds = %18
  store i32 2, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %92

24:                                               ; preds = %16
  %25 = landingpad { ptr, i32 }
          cleanup
  %26 = extractvalue { ptr, i32 } %25, 0
  store ptr %26, ptr %7, align 8
  %27 = extractvalue { ptr, i32 } %25, 1
  store i32 %27, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %17, i64 noundef 104) #7
  br label %93

28:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.nomali_config_t, ptr %29, i32 0, i32 0
  %31 = load i32, ptr %30, align 4, !tbaa !9
  switch i32 %31, label %74 [
    i32 0, label %32
    i32 1, label %46
    i32 2, label %60
  ]

32:                                               ; preds = %28
  %33 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 296) #6
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.nomali_config_t, ptr %35, i32 0, i32 1
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.nomali_config_t, ptr %37, i32 0, i32 2
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.nomali_config_t, ptr %39, i32 0, i32 3
  invoke void @_ZN12NoMaliApiGpuIN6NoMali8MaliT60xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296) %33, ptr noundef nonnull align 8 dereferenceable(104) %34, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %41 unwind label %42

41:                                               ; preds = %32
  store ptr %33, ptr %10, align 8, !tbaa !5
  br label %79

42:                                               ; preds = %32
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %7, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %33, i64 noundef 296) #7
  br label %91

46:                                               ; preds = %28
  %47 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 296) #6
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.nomali_config_t, ptr %49, i32 0, i32 1
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.nomali_config_t, ptr %51, i32 0, i32 2
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.nomali_config_t, ptr %53, i32 0, i32 3
  invoke void @_ZN12NoMaliApiGpuIN6NoMali8MaliT62xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296) %47, ptr noundef nonnull align 8 dereferenceable(104) %48, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %55 unwind label %56

55:                                               ; preds = %46
  store ptr %47, ptr %10, align 8, !tbaa !5
  br label %79

56:                                               ; preds = %46
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %7, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %47, i64 noundef 296) #7
  br label %91

60:                                               ; preds = %28
  %61 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 296) #6
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.nomali_config_t, ptr %63, i32 0, i32 1
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.nomali_config_t, ptr %65, i32 0, i32 2
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.nomali_config_t, ptr %67, i32 0, i32 3
  invoke void @_ZN12NoMaliApiGpuIN6NoMali8MaliT76xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296) %61, ptr noundef nonnull align 8 dereferenceable(104) %62, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %68)
          to label %69 unwind label %70

69:                                               ; preds = %60
  store ptr %61, ptr %10, align 8, !tbaa !5
  br label %79

70:                                               ; preds = %60
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %7, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %61, i64 noundef 296) #7
  br label %91

74:                                               ; preds = %28
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = icmp eq ptr %75, null
  br i1 %76, label %78, label %77

77:                                               ; preds = %74
  call void @_ZN9NoMaliApiD1Ev(ptr noundef nonnull align 8 dereferenceable(104) %75) #5
  call void @_ZdlPvm(ptr noundef %75, i64 noundef 104) #7
  br label %78

78:                                               ; preds = %77, %74
  store i32 4, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %90

79:                                               ; preds = %69, %55, %41
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = icmp ne ptr %80, null
  br i1 %81, label %87, label %82

82:                                               ; preds = %79
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = icmp eq ptr %83, null
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  call void @_ZN9NoMaliApiD1Ev(ptr noundef nonnull align 8 dereferenceable(104) %83) #5
  call void @_ZdlPvm(ptr noundef %83, i64 noundef 104) #7
  br label %86

86:                                               ; preds = %85, %82
  store i32 2, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %90

87:                                               ; preds = %79
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN9NoMaliApi6setGpuEPN6NoMali3GPUE(ptr noundef nonnull align 8 dereferenceable(104) %88, ptr noundef %89)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %90

90:                                               ; preds = %87, %86, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %92

91:                                               ; preds = %70, %56, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %93

92:                                               ; preds = %90, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %95

93:                                               ; preds = %91, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %97

94:                                               ; preds = %13, %2
  store i32 4, ptr %3, align 4
  br label %95

95:                                               ; preds = %94, %92
  %96 = load i32, ptr %3, align 4
  ret i32 %96

97:                                               ; preds = %93
  %98 = load ptr, ptr %7, align 8
  %99 = load i32, ptr %8, align 4
  %100 = insertvalue { ptr, i32 } poison, ptr %98, 0
  %101 = insertvalue { ptr, i32 } %100, i32 %99, 1
  resume { ptr, i32 } %101
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12NoMaliApiGpuIN6NoMali8MaliT60xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12NoMaliApiGpuIN6NoMali8MaliT62xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12NoMaliApiGpuIN6NoMali8MaliT76xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9NoMaliApi6setGpuEPN6NoMali3GPUE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) #4 align 2

declare void @_ZN9NoMaliApiC1Ev(ptr)

declare void @_ZN9NoMaliApiD1Ev(ptr)

attributes #0 = { nocallback nofree nosync 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 = { nobuiltin allocsize(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 = { nobuiltin 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { builtin 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, !11, i64 0}
!10 = !{!"_ZTS15nomali_config_t", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!11 = !{!"int", !7, i64 0}


; 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 range(i32 0, 5) i32 @nomali_create(ptr noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = icmp ne ptr %0, null
  %4 = icmp ne ptr %1, null
  %or.cond = and i1 %3, %4
  br i1 %or.cond, label %5, label %35

5:                                                ; preds = %2
  %6 = tail call noalias noundef nonnull dereferenceable(104) ptr @_Znwm(i64 noundef 104) #4
  invoke void @_ZN9NoMaliApiC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %6)
          to label %7 unwind label %9

7:                                                ; preds = %5
  store ptr %6, ptr %0, align 8, !tbaa !5
  %8 = load i32, ptr %1, align 4, !tbaa !9
  switch i32 %8, label %32 [
    i32 0, label %11
    i32 1, label %18
    i32 2, label %25
  ]

9:                                                ; preds = %5
  %10 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %6, i64 noundef 104) #5
  br label %34

11:                                               ; preds = %7
  %12 = tail call noalias noundef nonnull dereferenceable(296) ptr @_Znwm(i64 noundef 296) #4
  %13 = getelementptr inbounds i8, ptr %1, i64 4
  %14 = getelementptr inbounds i8, ptr %1, i64 8
  %15 = getelementptr inbounds i8, ptr %1, i64 12
  invoke void @_ZN12NoMaliApiGpuIN6NoMali8MaliT60xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296) %12, ptr noundef nonnull align 8 dereferenceable(104) %6, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %33 unwind label %16

16:                                               ; preds = %11
  %17 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %12, i64 noundef 296) #5
  br label %34

18:                                               ; preds = %7
  %19 = tail call noalias noundef nonnull dereferenceable(296) ptr @_Znwm(i64 noundef 296) #4
  %20 = getelementptr inbounds i8, ptr %1, i64 4
  %21 = getelementptr inbounds i8, ptr %1, i64 8
  %22 = getelementptr inbounds i8, ptr %1, i64 12
  invoke void @_ZN12NoMaliApiGpuIN6NoMali8MaliT62xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296) %19, ptr noundef nonnull align 8 dereferenceable(104) %6, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %33 unwind label %23

23:                                               ; preds = %18
  %24 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %19, i64 noundef 296) #5
  br label %34

25:                                               ; preds = %7
  %26 = tail call noalias noundef nonnull dereferenceable(296) ptr @_Znwm(i64 noundef 296) #4
  %27 = getelementptr inbounds i8, ptr %1, i64 4
  %28 = getelementptr inbounds i8, ptr %1, i64 8
  %29 = getelementptr inbounds i8, ptr %1, i64 12
  invoke void @_ZN12NoMaliApiGpuIN6NoMali8MaliT76xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296) %26, ptr noundef nonnull align 8 dereferenceable(104) %6, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %33 unwind label %30

30:                                               ; preds = %25
  %31 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %26, i64 noundef 296) #5
  br label %34

32:                                               ; preds = %7
  tail call void @_ZN9NoMaliApiD1Ev(ptr noundef nonnull align 8 dereferenceable(104) %6) #6
  tail call void @_ZdlPvm(ptr noundef nonnull %6, i64 noundef 104) #5
  br label %35

33:                                               ; preds = %11, %18, %25
  %.0 = phi ptr [ %12, %11 ], [ %19, %18 ], [ %26, %25 ]
  tail call void @_ZN9NoMaliApi6setGpuEPN6NoMali3GPUE(ptr noundef nonnull align 8 dereferenceable(104) %6, ptr noundef nonnull %.0)
  br label %35

34:                                               ; preds = %16, %23, %30, %9
  %.pn.pn = phi { ptr, i32 } [ %10, %9 ], [ %31, %30 ], [ %24, %23 ], [ %17, %16 ]
  resume { ptr, i32 } %.pn.pn

35:                                               ; preds = %2, %33, %32
  %.2 = phi i32 [ 4, %32 ], [ 0, %33 ], [ 4, %2 ]
  ret i32 %.2
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12NoMaliApiGpuIN6NoMali8MaliT60xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12NoMaliApiGpuIN6NoMali8MaliT62xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12NoMaliApiGpuIN6NoMali8MaliT76xEEC2IJRKjS5_S5_EEER9NoMaliApiDpOT_(ptr noundef nonnull align 8 dereferenceable(296), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9NoMaliApi6setGpuEPN6NoMali3GPUE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) local_unnamed_addr #3 align 2

declare void @_ZN9NoMaliApiC1Ev(ptr) local_unnamed_addr

declare void @_ZN9NoMaliApiD1Ev(ptr) local_unnamed_addr

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" }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin 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 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 #4 = { builtin allocsize(0) }
attributes #5 = { builtin nounwind }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS15nomali_config_t", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!11 = !{!"int", !7, i64 0}


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