; LLVM IR from eclipse-threadx/threadx :: common_modules/module_manager/src (txm_module_manager_object_allocate)

; 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.TX_MUTEX_STRUCT = type { i64, ptr, i32, ptr, i32, i32, ptr, i32, ptr, ptr, i32, ptr, ptr }
%struct.TX_BYTE_POOL_STRUCT = type { i64, ptr, i64, i32, ptr, ptr, ptr, i64, ptr, ptr, i32, ptr, ptr }
%struct.TXM_MODULE_INSTANCE_STRUCT = type { i64, ptr, i64, i64, ptr, i64, ptr, ptr, i64, ptr, i64, ptr, ptr, ptr, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [8 x %struct.TXM_MODULE_MPU_INFO_STRUCT], i64, i64, %struct.TX_THREAD_STRUCT, %struct.TX_THREAD_STRUCT, %struct.TX_QUEUE_STRUCT, [104 x i64], i64, i64, i64, i64, i64, i32, ptr, i64, ptr, ptr }
%struct.TXM_MODULE_MPU_INFO_STRUCT = type { i64, i64 }
%struct.TX_THREAD_STRUCT = type { i64, i64, ptr, ptr, ptr, i64, i64, i64, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, i64, %struct.TX_TIMER_INTERNAL_STRUCT, ptr, ptr, ptr, ptr, i64, ptr, i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr, ptr, i64 }
%struct.TX_TIMER_INTERNAL_STRUCT = type { i64, i64, ptr, i64, ptr, ptr, ptr }
%struct.TX_QUEUE_STRUCT = type { i64, ptr, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr }
%struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT = type { ptr, ptr, ptr, i64 }

@_txm_module_manager_mutex = external global %struct.TX_MUTEX_STRUCT, align 8
@_txm_module_manager_object_pool_created = external global i32, align 4
@_txm_module_manager_object_pool = external global %struct.TX_BYTE_POOL_STRUCT, align 8

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

15:                                               ; preds = %3
  store i32 244, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %80

16:                                               ; preds = %3
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr null, ptr %17, align 8, !tbaa !5
  %18 = call i32 @_txe_mutex_get(ptr noundef @_txm_module_manager_mutex, i64 noundef 4294967295)
  %19 = load i32, ptr @_txm_module_manager_object_pool_created, align 4, !tbaa !11
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %21, label %76

21:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %22 = load i64, ptr %6, align 8, !tbaa !9
  %23 = add i64 %22, 32
  %24 = call i32 @_txe_byte_allocate(ptr noundef @_txm_module_manager_object_pool, ptr noundef %8, i64 noundef %23, i64 noundef 0)
  %25 = zext i32 %24 to i64
  %26 = trunc i64 %25 to i32
  store i32 %26, ptr %9, align 4, !tbaa !11
  %27 = load i32, ptr %9, align 4, !tbaa !11
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %75

29:                                               ; preds = %21
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.TXM_MODULE_INSTANCE_STRUCT, ptr %30, i32 0, i32 39
  %32 = load i64, ptr %31, align 8, !tbaa !13
  %33 = add i64 %32, 1
  store i64 %33, ptr %31, align 8, !tbaa !13
  %34 = icmp eq i64 %32, 0
  br i1 %34, label %35, label %45

35:                                               ; preds = %29
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.TXM_MODULE_INSTANCE_STRUCT, ptr %37, i32 0, i32 38
  store ptr %36, ptr %38, align 8, !tbaa !18
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %40, i32 0, i32 1
  store ptr %39, ptr %41, align 8, !tbaa !19
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %43, i32 0, i32 2
  store ptr %42, ptr %44, align 8, !tbaa !21
  br label %64

45:                                               ; preds = %29
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.TXM_MODULE_INSTANCE_STRUCT, ptr %46, i32 0, i32 38
  %48 = load ptr, ptr %47, align 8, !tbaa !18
  store ptr %48, ptr %11, align 8, !tbaa !5
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %49, i32 0, i32 2
  %51 = load ptr, ptr %50, align 8, !tbaa !21
  store ptr %51, ptr %12, align 8, !tbaa !5
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %53, i32 0, i32 2
  store ptr %52, ptr %54, align 8, !tbaa !21
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %56, i32 0, i32 1
  store ptr %55, ptr %57, align 8, !tbaa !19
  %58 = load ptr, ptr %12, align 8, !tbaa !5
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %59, i32 0, i32 2
  store ptr %58, ptr %60, align 8, !tbaa !21
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %62, i32 0, i32 1
  store ptr %61, ptr %63, align 8, !tbaa !19
  br label %64

64:                                               ; preds = %45, %35
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %66, i32 0, i32 0
  store ptr %65, ptr %67, align 8, !tbaa !22
  %68 = load i64, ptr %6, align 8, !tbaa !9
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %69, i32 0, i32 3
  store i64 %68, ptr %70, align 8, !tbaa !23
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.TXM_MODULE_ALLOCATED_OBJECT_STRUCT, ptr %71, i32 1
  store ptr %72, ptr %8, align 8, !tbaa !5
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %73, ptr %74, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %64, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %77

76:                                               ; preds = %16
  store i32 29, ptr %9, align 4, !tbaa !11
  br label %77

77:                                               ; preds = %76, %75
  %78 = call i32 @_txe_mutex_put(ptr noundef @_txm_module_manager_mutex)
  %79 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %79, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %80

80:                                               ; preds = %77, %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %81 = load i32, ptr %4, align 4
  ret i32 %81
}

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

declare i32 @_txe_mutex_get(ptr noundef, i64 noundef) #2

declare i32 @_txe_byte_allocate(ptr noundef, ptr 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

declare i32 @_txe_mutex_put(ptr noundef) #2

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 = { "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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 2024}
!14 = !{!"TXM_MODULE_INSTANCE_STRUCT", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 24, !6, i64 32, !10, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !10, i64 112, !10, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !7, i64 200, !10, i64 328, !10, i64 336, !15, i64 344, !15, i64 688, !17, i64 1032, !7, i64 1136, !10, i64 1968, !10, i64 1976, !10, i64 1984, !10, i64 1992, !10, i64 2000, !12, i64 2008, !6, i64 2016, !10, i64 2024, !6, i64 2032, !6, i64 2040}
!15 = !{!"TX_THREAD_STRUCT", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !12, i64 88, !6, i64 96, !6, i64 104, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !6, i64 136, !6, i64 144, !10, i64 152, !16, i64 160, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !10, i64 248, !6, i64 256, !12, i64 264, !12, i64 268, !6, i64 272, !6, i64 280, !6, i64 288, !12, i64 296, !12, i64 300, !12, i64 304, !12, i64 308, !6, i64 312, !6, i64 320, !6, i64 328, !10, i64 336}
!16 = !{!"TX_TIMER_INTERNAL_STRUCT", !10, i64 0, !10, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!17 = !{!"TX_QUEUE_STRUCT", !10, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!18 = !{!14, !6, i64 2016}
!19 = !{!20, !6, i64 8}
!20 = !{!"TXM_MODULE_ALLOCATED_OBJECT_STRUCT", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24}
!21 = !{!20, !6, i64 16}
!22 = !{!20, !6, i64 0}
!23 = !{!20, !10, 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.TX_MUTEX_STRUCT = type { i64, ptr, i32, ptr, i32, i32, ptr, i32, ptr, ptr, i32, ptr, ptr }
%struct.TX_BYTE_POOL_STRUCT = type { i64, ptr, i64, i32, ptr, ptr, ptr, i64, ptr, ptr, i32, ptr, ptr }

@_txm_module_manager_mutex = external global %struct.TX_MUTEX_STRUCT, align 8
@_txm_module_manager_object_pool_created = external local_unnamed_addr global i32, align 4
@_txm_module_manager_object_pool = external global %struct.TX_BYTE_POOL_STRUCT, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @_txm_module_manager_object_allocate(ptr noundef writeonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %5 = icmp eq ptr %0, null
  br i1 %5, label %39, label %6

6:                                                ; preds = %3
  store ptr null, ptr %0, align 8, !tbaa !5
  %7 = tail call i32 @_txe_mutex_get(ptr noundef nonnull @_txm_module_manager_mutex, i64 noundef 4294967295) #3
  %8 = load i32, ptr @_txm_module_manager_object_pool_created, align 4, !tbaa !9
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %37, label %9

9:                                                ; preds = %6
  %10 = add i64 %1, 32
  %11 = call i32 @_txe_byte_allocate(ptr noundef nonnull @_txm_module_manager_object_pool, ptr noundef nonnull %4, i64 noundef %10, i64 noundef 0) #3
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %13, label %37

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %2, i64 2024
  %15 = load i64, ptr %14, align 8, !tbaa !11
  %16 = add i64 %15, 1
  store i64 %16, ptr %14, align 8, !tbaa !11
  %17 = icmp eq i64 %15, 0
  br i1 %17, label %18, label %23

18:                                               ; preds = %13
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %2, i64 2016
  store ptr %19, ptr %20, align 8, !tbaa !17
  %21 = getelementptr inbounds i8, ptr %19, i64 8
  store ptr %19, ptr %21, align 8, !tbaa !18
  %22 = getelementptr inbounds i8, ptr %19, i64 16
  store ptr %19, ptr %22, align 8, !tbaa !20
  br label %32

23:                                               ; preds = %13
  %24 = getelementptr inbounds i8, ptr %2, i64 2016
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %28, ptr %26, align 8, !tbaa !20
  %29 = getelementptr inbounds i8, ptr %27, i64 8
  store ptr %28, ptr %29, align 8, !tbaa !18
  %30 = getelementptr inbounds i8, ptr %28, i64 16
  store ptr %27, ptr %30, align 8, !tbaa !20
  %31 = getelementptr inbounds i8, ptr %28, i64 8
  store ptr %25, ptr %31, align 8, !tbaa !18
  br label %32

32:                                               ; preds = %23, %18
  %33 = phi ptr [ %28, %23 ], [ %19, %18 ]
  store ptr %2, ptr %33, align 8, !tbaa !21
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 24
  store i64 %1, ptr %35, align 8, !tbaa !22
  %36 = getelementptr inbounds i8, ptr %34, i64 32
  store ptr %36, ptr %4, align 8, !tbaa !5
  store ptr %36, ptr %0, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %6, %9, %32
  %.016 = phi i32 [ 0, %32 ], [ %11, %9 ], [ 29, %6 ]
  %38 = call i32 @_txe_mutex_put(ptr noundef nonnull @_txm_module_manager_mutex) #3
  br label %39

39:                                               ; preds = %3, %37
  %.0 = phi i32 [ %.016, %37 ], [ 244, %3 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  ret i32 %.0
}

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

declare i32 @_txe_mutex_get(ptr noundef, i64 noundef) local_unnamed_addr #2

declare i32 @_txe_byte_allocate(ptr noundef, ptr noundef, i64 noundef, i64 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

declare i32 @_txe_mutex_put(ptr noundef) local_unnamed_addr #2

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 = { 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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 2024}
!12 = !{!"TXM_MODULE_INSTANCE_STRUCT", !13, i64 0, !6, i64 8, !13, i64 16, !13, i64 24, !6, i64 32, !13, i64 40, !6, i64 48, !6, i64 56, !13, i64 64, !6, i64 72, !13, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !13, i64 112, !13, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !7, i64 200, !13, i64 328, !13, i64 336, !14, i64 344, !14, i64 688, !16, i64 1032, !7, i64 1136, !13, i64 1968, !13, i64 1976, !13, i64 1984, !13, i64 1992, !13, i64 2000, !10, i64 2008, !6, i64 2016, !13, i64 2024, !6, i64 2032, !6, i64 2040}
!13 = !{!"long", !7, i64 0}
!14 = !{!"TX_THREAD_STRUCT", !13, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !6, i64 96, !6, i64 104, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !6, i64 136, !6, i64 144, !13, i64 152, !15, i64 160, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !13, i64 248, !6, i64 256, !10, i64 264, !10, i64 268, !6, i64 272, !6, i64 280, !6, i64 288, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !6, i64 312, !6, i64 320, !6, i64 328, !13, i64 336}
!15 = !{!"TX_TIMER_INTERNAL_STRUCT", !13, i64 0, !13, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!16 = !{!"TX_QUEUE_STRUCT", !13, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!17 = !{!12, !6, i64 2016}
!18 = !{!19, !6, i64 8}
!19 = !{!"TXM_MODULE_ALLOCATED_OBJECT_STRUCT", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24}
!20 = !{!19, !6, i64 16}
!21 = !{!19, !6, i64 0}
!22 = !{!19, !13, i64 24}


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