; LLVM IR from intel/qpl :: sources/middle-layer/dispatcher (hw_dispatcher)

; 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.qpl::ml::dispatcher::hw_dispatcher" = type { ptr, %"class.qpl::ml::dispatcher::hw_dispatcher::hw_context", %"struct.std::array", i64, i8, i32 }
%"class.qpl::ml::dispatcher::hw_dispatcher::hw_context" = type { ptr }
%"struct.std::array" = type { [100 x %"class.qpl::ml::dispatcher::hw_device"] }
%"class.qpl::ml::dispatcher::hw_device" = type { %"struct.std::array.0", i32, i64, i64, i64, i32, i32, i64, %"class.qpl::ml::dispatcher::queue_selector" }
%"struct.std::array.0" = type { [100 x %"class.qpl::ml::dispatcher::hw_queue"] }
%"class.qpl::ml::dispatcher::hw_queue" = type { ptr, i8, i32, i64, ptr, %"struct.std::atomic", i8, %"struct.std::array.1", i8, i32, i64 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i64 }
%"struct.std::array.1" = type { [8 x i32] }
%"class.qpl::ml::dispatcher::queue_selector" = type { %"class.std::unordered_map", %"class.std::map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, qpl::ml::util::bitmask128>, std::_Select1st<std::pair<const unsigned long, qpl::ml::util::bitmask128>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, qpl::ml::util::bitmask128>, std::_Select1st<std::pair<const unsigned long, qpl::ml::util::bitmask128>>, std::less<unsigned long>>::_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: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN3qpl2ml10dispatcher13hw_dispatcher13initialize_hwEv(ptr noundef nonnull align 8 dereferenceable(975232) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store ptr null, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %11 = invoke i32 @accfg_new(ptr noundef %4)
          to label %12 unwind label %67

12:                                               ; preds = %1
  store i32 %11, ptr %5, align 4, !tbaa !9
  %13 = load i32, ptr %5, align 4, !tbaa !9
  %14 = icmp ne i32 0, %13
  br i1 %14, label %15, label %16

15:                                               ; preds = %12
  store i32 3, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %65

16:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = invoke ptr @accfg_device_get_first(ptr noundef %17)
          to label %19 unwind label %67

19:                                               ; preds = %16
  store ptr %18, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %20 = getelementptr inbounds %"class.qpl::ml::dispatcher::hw_dispatcher", ptr %10, i32 0, i32 2
  %21 = call noundef ptr @_ZNSt5arrayIN3qpl2ml10dispatcher9hw_deviceELm100EE5beginEv(ptr noundef nonnull align 8 dereferenceable(975200) %20) #8
  store ptr %21, ptr %8, align 8, !tbaa !5
  br label %22

22:                                               ; preds = %49, %19
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = icmp ne ptr null, %23
  br i1 %24, label %25, label %50

25:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = call noundef i32 @_ZN3qpl2ml10dispatcher9hw_device21initialize_new_deviceEPv(ptr noundef nonnull align 8 dereferenceable(9752) %26, ptr noundef %27) #7
  store i32 %28, ptr %9, align 4, !tbaa !11
  %29 = load i32, ptr %9, align 4, !tbaa !11
  %30 = icmp eq i32 0, %29
  br i1 %30, label %31, label %34

31:                                               ; preds = %25
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.qpl::ml::dispatcher::hw_device", ptr %32, i32 1
  store ptr %33, ptr %8, align 8, !tbaa !5
  br label %43

34:                                               ; preds = %25
  %35 = load i32, ptr %9, align 4, !tbaa !11
  %36 = icmp eq i32 %35, 2
  br i1 %36, label %40, label %37

37:                                               ; preds = %34
  %38 = load i32, ptr %9, align 4, !tbaa !11
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %42

40:                                               ; preds = %37, %34
  %41 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %41, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %47

42:                                               ; preds = %37
  br label %43

43:                                               ; preds = %42, %31
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = invoke ptr @accfg_device_get_next(ptr noundef %44)
          to label %46 unwind label %67

46:                                               ; preds = %43
  store ptr %45, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %6, align 4
  br label %47

47:                                               ; preds = %46, %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  %48 = load i32, ptr %6, align 4
  switch i32 %48, label %64 [
    i32 0, label %49
  ]

49:                                               ; preds = %47
  br label %22, !llvm.loop !13

50:                                               ; preds = %22
  %51 = getelementptr inbounds %"class.qpl::ml::dispatcher::hw_dispatcher", ptr %10, i32 0, i32 2
  %52 = call noundef ptr @_ZNSt5arrayIN3qpl2ml10dispatcher9hw_deviceELm100EE5beginEv(ptr noundef nonnull align 8 dereferenceable(975200) %51) #8
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = invoke noundef i64 @_ZSt8distanceIPN3qpl2ml10dispatcher9hw_deviceEENSt15iterator_traitsIT_E15difference_typeES6_S6_(ptr noundef %52, ptr noundef %53)
          to label %55 unwind label %67

55:                                               ; preds = %50
  %56 = getelementptr inbounds %"class.qpl::ml::dispatcher::hw_dispatcher", ptr %10, i32 0, i32 3
  store i64 %54, ptr %56, align 8, !tbaa !15
  %57 = getelementptr inbounds %"class.qpl::ml::dispatcher::hw_dispatcher", ptr %10, i32 0, i32 3
  %58 = load i64, ptr %57, align 8, !tbaa !15
  %59 = icmp ule i64 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %55
  store i32 4, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %64

61:                                               ; preds = %55
  %62 = getelementptr inbounds %"class.qpl::ml::dispatcher::hw_dispatcher", ptr %10, i32 0, i32 1
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3qpl2ml10dispatcher13hw_dispatcher10hw_context22set_driver_context_ptrEP9accfg_ctx(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef %63) #7
  store i32 0, ptr %2, align 4
  store i32 1, ptr %6, align 4
  br label %64

64:                                               ; preds = %61, %60, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %65

65:                                               ; preds = %64, %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  %66 = load i32, ptr %2, align 4
  ret i32 %66

67:                                               ; preds = %50, %43, %16, %1
  %68 = landingpad { ptr, i32 }
          catch ptr null
  %69 = extractvalue { ptr, i32 } %68, 0
  call void @__clang_call_terminate(ptr %69) #9
  unreachable
}

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

declare i32 @accfg_new(ptr noundef) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #3

declare ptr @accfg_device_get_first(ptr noundef) #2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIN3qpl2ml10dispatcher9hw_deviceELm100EE5beginEv(ptr noundef nonnull align 8 dereferenceable(975200)) #4 align 2

; Function Attrs: nounwind
declare noundef i32 @_ZN3qpl2ml10dispatcher9hw_device21initialize_new_deviceEPv(ptr noundef nonnull align 8 dereferenceable(9752), ptr noundef) #5

declare ptr @accfg_device_get_next(ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZSt8distanceIPN3qpl2ml10dispatcher9hw_deviceEENSt15iterator_traitsIT_E15difference_typeES6_S6_(ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qpl2ml10dispatcher13hw_dispatcher10hw_context22set_driver_context_ptrEP9accfg_ctx(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noinline noreturn nounwind uwtable "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 willreturn memory(none) 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 "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 #6 = { inlinehint 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { noreturn 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, !12, i64 0}
!12 = !{!"_ZTS21hw_accelerator_status", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !19, i64 975216}
!16 = !{!"_ZTSN3qpl2ml10dispatcher13hw_dispatcherE", !17, i64 8, !18, i64 16, !19, i64 975216, !20, i64 975224, !12, i64 975228}
!17 = !{!"_ZTSN3qpl2ml10dispatcher13hw_dispatcher10hw_contextE", !6, i64 0}
!18 = !{!"_ZTSSt5arrayIN3qpl2ml10dispatcher9hw_deviceELm100EE", !7, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"bool", !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 nounwind uwtable
define dso_local noundef i32 @_ZN3qpl2ml10dispatcher13hw_dispatcher13initialize_hwEv(ptr noundef nonnull align 8 dereferenceable(975232) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  store ptr null, ptr %2, align 8, !tbaa !5
  %3 = invoke i32 @accfg_new(ptr noundef nonnull %2)
          to label %4 unwind label %.loopexit.split-lp

4:                                                ; preds = %1
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %5, label %.thread

5:                                                ; preds = %4
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = invoke ptr @accfg_device_get_first(ptr noundef %6)
          to label %8 unwind label %.loopexit.split-lp

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %10 = call noundef ptr @_ZNSt5arrayIN3qpl2ml10dispatcher9hw_deviceELm100EE5beginEv(ptr noundef nonnull align 8 dereferenceable(975200) %9) #8
  br label %11

11:                                               ; preds = %18, %8
  %.017 = phi ptr [ %7, %8 ], [ %19, %18 ]
  %.014 = phi ptr [ %10, %8 ], [ %.115, %18 ]
  %.not21 = icmp eq ptr %.017, null
  br i1 %.not21, label %20, label %12

12:                                               ; preds = %11
  %13 = call noundef i32 @_ZN3qpl2ml10dispatcher9hw_device21initialize_new_deviceEPv(ptr noundef nonnull align 8 dereferenceable(9752) %.014, ptr noundef nonnull %.017) #7
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %15, label %17

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %.014, i64 9752
  br label %18

17:                                               ; preds = %12
  %or.cond = icmp ult i32 %13, 3
  br i1 %or.cond, label %.thread, label %18

18:                                               ; preds = %17, %15
  %.115 = phi ptr [ %16, %15 ], [ %.014, %17 ]
  %19 = invoke ptr @accfg_device_get_next(ptr noundef nonnull %.017)
          to label %11 unwind label %.loopexit, !llvm.loop !9

20:                                               ; preds = %11
  %21 = invoke noundef i64 @_ZSt8distanceIPN3qpl2ml10dispatcher9hw_deviceEENSt15iterator_traitsIT_E15difference_typeES6_S6_(ptr noundef %10, ptr noundef %.014)
          to label %22 unwind label %.loopexit.split-lp

22:                                               ; preds = %20
  %23 = getelementptr inbounds i8, ptr %0, i64 975216
  store i64 %21, ptr %23, align 8, !tbaa !11
  %24 = icmp eq i64 %21, 0
  br i1 %24, label %.thread, label %25

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %0, i64 8
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN3qpl2ml10dispatcher13hw_dispatcher10hw_context22set_driver_context_ptrEP9accfg_ctx(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef %27) #7
  br label %.thread

.thread:                                          ; preds = %17, %25, %22, %4
  %.3 = phi i32 [ 3, %4 ], [ 0, %25 ], [ 4, %22 ], [ %13, %17 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  ret i32 %.3

.loopexit:                                        ; preds = %18
  %lpad.loopexit = landingpad { ptr, i32 }
          catch ptr null
  br label %28

.loopexit.split-lp:                               ; preds = %1, %5, %20
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          catch ptr null
  br label %28

28:                                               ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  %29 = extractvalue { ptr, i32 } %lpad.phi, 0
  call void @__clang_call_terminate(ptr %29) #9
  unreachable
}

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

declare i32 @accfg_new(ptr noundef) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #3

declare ptr @accfg_device_get_first(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIN3qpl2ml10dispatcher9hw_deviceELm100EE5beginEv(ptr noundef nonnull align 8 dereferenceable(975200)) local_unnamed_addr #4 align 2

; Function Attrs: nounwind
declare noundef i32 @_ZN3qpl2ml10dispatcher9hw_device21initialize_new_deviceEPv(ptr noundef nonnull align 8 dereferenceable(9752), ptr noundef) local_unnamed_addr #5

declare ptr @accfg_device_get_next(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZSt8distanceIPN3qpl2ml10dispatcher9hw_deviceEENSt15iterator_traitsIT_E15difference_typeES6_S6_(ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qpl2ml10dispatcher13hw_dispatcher10hw_context22set_driver_context_ptrEP9accfg_ctx(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noinline noreturn nounwind uwtable "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 nofree nosync nounwind willreturn memory(none) 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 "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 #6 = { inlinehint 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { noreturn 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !15, i64 975216}
!12 = !{!"_ZTSN3qpl2ml10dispatcher13hw_dispatcherE", !13, i64 8, !14, i64 16, !15, i64 975216, !16, i64 975224, !17, i64 975228}
!13 = !{!"_ZTSN3qpl2ml10dispatcher13hw_dispatcher10hw_contextE", !6, i64 0}
!14 = !{!"_ZTSSt5arrayIN3qpl2ml10dispatcher9hw_deviceELm100EE", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTS21hw_accelerator_status", !7, i64 0}


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