; LLVM IR from libxsmm/libxsmm :: src (libxsmm_malloc)

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

@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_pmalloc_init = external hidden unnamed_addr constant [61 x i8], align 1
@internal_pmallocs = external dso_local global [16 x i32], align 64

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

declare void @libxsmm_init() #2

; Function Attrs: nounwind
declare void @llvm.x86.sse2.pause() #3

; Function Attrs: nounwind
declare i32 @sched_yield() #4

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

18:                                               ; preds = %4
  %19 = load ptr, ptr %6, align 8, !tbaa !9
  %20 = icmp ne ptr null, %19
  br i1 %20, label %21, label %28

21:                                               ; preds = %18
  %22 = load ptr, ptr %7, align 8, !tbaa !9
  %23 = icmp ne ptr null, %22
  br i1 %23, label %24, label %28

24:                                               ; preds = %21
  %25 = load ptr, ptr %8, align 8, !tbaa !9
  %26 = icmp ne ptr null, %25
  br i1 %26, label %27, label %28

27:                                               ; preds = %24
  br label %29

28:                                               ; preds = %24, %21, %18, %4
  call void @__assert_fail(ptr noundef @.str.85, ptr noundef @.str.1, i32 noundef 2677, ptr noundef @__PRETTY_FUNCTION__.libxsmm_pmalloc_init) #6
  unreachable

29:                                               ; preds = %27
  %30 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !11
  %31 = icmp ugt i32 2, %30
  br i1 %31, label %32, label %33

32:                                               ; preds = %29
  call void @libxsmm_init()
  br label %33

33:                                               ; preds = %32, %29
  %34 = call i32 (i32, ptr, ...) @libxsmm_crc32_u64(i32 noundef 1051981, ptr noundef %7)
  %35 = and i32 %34, 15
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds i32, ptr @internal_pmallocs, i64 %36
  store ptr %37, ptr %10, align 8, !tbaa !9
  %38 = load ptr, ptr %10, align 8, !tbaa !9
  %39 = ptrtoint ptr %38 to i64
  %40 = and i64 %39, 3
  %41 = icmp eq i64 0, %40
  br i1 %41, label %42, label %43

42:                                               ; preds = %33
  br label %44

43:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.1, i32 noundef 2680, ptr noundef @__PRETTY_FUNCTION__.libxsmm_pmalloc_init) #6
  unreachable

44:                                               ; preds = %42
  br label %45

45:                                               ; preds = %77, %44
  %46 = load ptr, ptr %10, align 8, !tbaa !9
  %47 = atomicrmw or ptr %46, i32 1 seq_cst, align 4
  %48 = icmp eq i32 0, %47
  %49 = xor i1 %48, true
  br i1 %49, label %50, label %78

50:                                               ; preds = %45
  br label %51

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 1, ptr %13, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %70, %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %53

53:                                               ; preds = %58, %52
  %54 = load i32, ptr %14, align 4, !tbaa !11
  %55 = load i32, ptr %13, align 4, !tbaa !11
  %56 = icmp slt i32 %54, %55
  br i1 %56, label %57, label %61

57:                                               ; preds = %53
  call void @llvm.x86.sse2.pause()
  br label %58

58:                                               ; preds = %57
  %59 = load i32, ptr %14, align 4, !tbaa !11
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %14, align 4, !tbaa !11
  br label %53, !llvm.loop !13

61:                                               ; preds = %53
  %62 = load i32, ptr %13, align 4, !tbaa !11
  %63 = icmp slt i32 %62, 4096
  br i1 %63, label %64, label %67

64:                                               ; preds = %61
  %65 = load i32, ptr %13, align 4, !tbaa !11
  %66 = mul nsw i32 %65, 2
  store i32 %66, ptr %13, align 4, !tbaa !11
  br label %69

67:                                               ; preds = %61
  store i32 4096, ptr %13, align 4, !tbaa !11
  %68 = call i32 @sched_yield() #3
  br label %69

69:                                               ; preds = %67, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %70

70:                                               ; preds = %69
  %71 = load ptr, ptr %10, align 8, !tbaa !9
  %72 = load volatile i32, ptr %71, align 4, !tbaa !11
  %73 = and i32 %72, 1
  %74 = icmp ne i32 0, %73
  br i1 %74, label %52, label %75, !llvm.loop !15

75:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  br label %45, !llvm.loop !16

78:                                               ; preds = %45
  %79 = load ptr, ptr %10, align 8, !tbaa !9
  %80 = load volatile i32, ptr %79, align 4, !tbaa !11
  %81 = icmp ne i32 0, %80
  br i1 %81, label %82, label %83

82:                                               ; preds = %78
  br label %84

83:                                               ; preds = %78
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.1, i32 noundef 2680, ptr noundef @__PRETTY_FUNCTION__.libxsmm_pmalloc_init) #6
  unreachable

84:                                               ; preds = %82
  %85 = load ptr, ptr %6, align 8, !tbaa !9
  %86 = load i64, ptr %85, align 8, !tbaa !5
  store i64 %86, ptr %11, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %96, %84
  %88 = load i64, ptr %12, align 8, !tbaa !5
  %89 = load i64, ptr %11, align 8, !tbaa !5
  %90 = icmp ult i64 %88, %89
  br i1 %90, label %91, label %102

91:                                               ; preds = %87
  %92 = load ptr, ptr %9, align 8, !tbaa !9
  %93 = load ptr, ptr %7, align 8, !tbaa !9
  %94 = load i64, ptr %12, align 8, !tbaa !5
  %95 = getelementptr inbounds ptr, ptr %93, i64 %94
  store ptr %92, ptr %95, align 8, !tbaa !9
  br label %96

96:                                               ; preds = %91
  %97 = load i64, ptr %12, align 8, !tbaa !5
  %98 = add i64 %97, 1
  store i64 %98, ptr %12, align 8, !tbaa !5
  %99 = load i64, ptr %5, align 8, !tbaa !5
  %100 = load ptr, ptr %9, align 8, !tbaa !9
  %101 = getelementptr inbounds i8, ptr %100, i64 %99
  store ptr %101, ptr %9, align 8, !tbaa !9
  br label %87, !llvm.loop !17

102:                                              ; preds = %87
  %103 = load ptr, ptr %10, align 8, !tbaa !9
  %104 = load volatile i32, ptr %103, align 4, !tbaa !11
  %105 = icmp ne i32 0, %104
  br i1 %105, label %106, label %107

106:                                              ; preds = %102
  br label %108

107:                                              ; preds = %102
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.1, i32 noundef 2682, ptr noundef @__PRETTY_FUNCTION__.libxsmm_pmalloc_init) #6
  unreachable

108:                                              ; preds = %106
  %109 = load ptr, ptr %10, align 8, !tbaa !9
  store atomic i32 0, ptr %109 release, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

declare i32 @libxsmm_crc32_u64(i32 noundef, ptr noundef, ...) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 #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 }
attributes #4 = { 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 #5 = { 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 #6 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


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

@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@.str.23 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_pmalloc_init = external hidden unnamed_addr constant [61 x i8], align 1
@internal_pmallocs = external dso_local global [16 x i32], align 64

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare void @libxsmm_init() local_unnamed_addr #1

; Function Attrs: nounwind
declare void @llvm.x86.sse2.pause() #2

; Function Attrs: nounwind
declare i32 @sched_yield() local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_pmalloc_init(i64 noundef %0, ptr noundef readonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #4 {
  %5 = alloca ptr, align 8
  store ptr %2, ptr %5, align 8, !tbaa !5
  %6 = icmp ne i64 %0, 0
  %7 = icmp ne ptr %1, null
  %or.cond = and i1 %6, %7
  %8 = icmp ne ptr %2, null
  %or.cond3 = and i1 %or.cond, %8
  %9 = icmp ne ptr %3, null
  %or.cond5 = and i1 %or.cond3, %9
  br i1 %or.cond5, label %11, label %10

10:                                               ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.1, i32 noundef 2677, ptr noundef nonnull @__PRETTY_FUNCTION__.libxsmm_pmalloc_init) #5
  unreachable

11:                                               ; preds = %4
  %12 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %13 = icmp ult i32 %12, 2
  br i1 %13, label %14, label %15

14:                                               ; preds = %11
  tail call void @libxsmm_init() #2
  br label %15

15:                                               ; preds = %14, %11
  %16 = call i32 (i32, ptr, ...) @libxsmm_crc32_u64(i32 noundef 1051981, ptr noundef nonnull %5) #2
  %17 = and i32 %16, 15
  %18 = zext nneg i32 %17 to i64
  %19 = getelementptr inbounds i32, ptr @internal_pmallocs, i64 %18
  %20 = atomicrmw or ptr %19, i32 1 seq_cst, align 4
  %.not37 = icmp eq i32 %20, 0
  br i1 %.not37, label %._crit_edge38, label %.preheader

.preheader:                                       ; preds = %15, %.preheader.backedge
  %.027 = phi i32 [ %.027.be, %.preheader.backedge ], [ 1, %15 ]
  %21 = icmp sgt i32 %.027, 0
  br i1 %21, label %.lr.ph.preheader, label %._crit_edge.thread

.lr.ph.preheader:                                 ; preds = %.preheader
  %xtraiter = and i32 %.027, 7
  %22 = icmp ult i32 %.027, 8
  br i1 %22, label %._crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i32 %.027, 2147483640
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %niter = phi i32 [ 0, %.lr.ph.preheader.new ], [ %niter.next.7, %.lr.ph ]
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  call void @llvm.x86.sse2.pause()
  %niter.next.7 = add i32 %niter, 8
  %niter.ncmp.7 = icmp eq i32 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !11

._crit_edge.unr-lcssa:                            ; preds = %.lr.ph, %.lr.ph.preheader
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa, %.lr.ph.epil
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.unr-lcssa ]
  call void @llvm.x86.sse2.pause()
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.unr-lcssa
  %23 = icmp slt i32 %.027, 4096
  br i1 %23, label %._crit_edge.thread, label %25

._crit_edge.thread:                               ; preds = %.preheader, %._crit_edge
  %24 = shl i32 %.027, 1
  br label %27

25:                                               ; preds = %._crit_edge
  %26 = call i32 @sched_yield() #2
  br label %27

27:                                               ; preds = %25, %._crit_edge.thread
  %.1 = phi i32 [ %24, %._crit_edge.thread ], [ 4096, %25 ]
  %28 = load volatile i32, ptr %19, align 4, !tbaa !9
  %29 = and i32 %28, 1
  %.not35 = icmp eq i32 %29, 0
  br i1 %.not35, label %30, label %.preheader.backedge

.preheader.backedge:                              ; preds = %27, %30
  %.027.be = phi i32 [ %.1, %27 ], [ 1, %30 ]
  br label %.preheader, !llvm.loop !15

30:                                               ; preds = %27
  %31 = atomicrmw or ptr %19, i32 1 seq_cst, align 4
  %.not = icmp eq i32 %31, 0
  br i1 %.not, label %._crit_edge38, label %.preheader.backedge

._crit_edge38:                                    ; preds = %30, %15
  %32 = load volatile i32, ptr %19, align 4, !tbaa !9
  %.not33 = icmp eq i32 %32, 0
  br i1 %.not33, label %33, label %34

33:                                               ; preds = %._crit_edge38
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.1, i32 noundef 2680, ptr noundef nonnull @__PRETTY_FUNCTION__.libxsmm_pmalloc_init) #5
  unreachable

34:                                               ; preds = %._crit_edge38
  %35 = load i64, ptr %1, align 8, !tbaa !16
  %.not44 = icmp eq i64 %35, 0
  br i1 %.not44, label %._crit_edge43, label %.lr.ph42.preheader

.lr.ph42.preheader:                               ; preds = %34
  %xtraiter46 = and i64 %35, 3
  %36 = icmp ult i64 %35, 4
  br i1 %36, label %._crit_edge43.loopexit.unr-lcssa, label %.lr.ph42.preheader.new

.lr.ph42.preheader.new:                           ; preds = %.lr.ph42.preheader
  %unroll_iter49 = and i64 %35, -4
  br label %.lr.ph42

.lr.ph42:                                         ; preds = %.lr.ph42, %.lr.ph42.preheader.new
  %.02840 = phi i64 [ 0, %.lr.ph42.preheader.new ], [ %51, %.lr.ph42 ]
  %.02939 = phi ptr [ %3, %.lr.ph42.preheader.new ], [ %52, %.lr.ph42 ]
  %niter50 = phi i64 [ 0, %.lr.ph42.preheader.new ], [ %niter50.next.3, %.lr.ph42 ]
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds ptr, ptr %37, i64 %.02840
  store ptr %.02939, ptr %38, align 8, !tbaa !5
  %39 = or disjoint i64 %.02840, 1
  %40 = getelementptr inbounds i8, ptr %.02939, i64 %0
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds ptr, ptr %41, i64 %39
  store ptr %40, ptr %42, align 8, !tbaa !5
  %43 = or disjoint i64 %.02840, 2
  %44 = getelementptr inbounds i8, ptr %40, i64 %0
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds ptr, ptr %45, i64 %43
  store ptr %44, ptr %46, align 8, !tbaa !5
  %47 = or disjoint i64 %.02840, 3
  %48 = getelementptr inbounds i8, ptr %44, i64 %0
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds ptr, ptr %49, i64 %47
  store ptr %48, ptr %50, align 8, !tbaa !5
  %51 = add nuw i64 %.02840, 4
  %52 = getelementptr inbounds i8, ptr %48, i64 %0
  %niter50.next.3 = add i64 %niter50, 4
  %niter50.ncmp.3 = icmp eq i64 %niter50.next.3, %unroll_iter49
  br i1 %niter50.ncmp.3, label %._crit_edge43.loopexit.unr-lcssa, label %.lr.ph42, !llvm.loop !18

._crit_edge43.loopexit.unr-lcssa:                 ; preds = %.lr.ph42, %.lr.ph42.preheader
  %.02840.unr = phi i64 [ 0, %.lr.ph42.preheader ], [ %51, %.lr.ph42 ]
  %.02939.unr = phi ptr [ %3, %.lr.ph42.preheader ], [ %52, %.lr.ph42 ]
  %lcmp.mod48.not = icmp eq i64 %xtraiter46, 0
  br i1 %lcmp.mod48.not, label %._crit_edge43, label %.lr.ph42.epil

.lr.ph42.epil:                                    ; preds = %._crit_edge43.loopexit.unr-lcssa, %.lr.ph42.epil
  %.02840.epil = phi i64 [ %55, %.lr.ph42.epil ], [ %.02840.unr, %._crit_edge43.loopexit.unr-lcssa ]
  %.02939.epil = phi ptr [ %56, %.lr.ph42.epil ], [ %.02939.unr, %._crit_edge43.loopexit.unr-lcssa ]
  %epil.iter47 = phi i64 [ %epil.iter47.next, %.lr.ph42.epil ], [ 0, %._crit_edge43.loopexit.unr-lcssa ]
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds ptr, ptr %53, i64 %.02840.epil
  store ptr %.02939.epil, ptr %54, align 8, !tbaa !5
  %55 = add nuw i64 %.02840.epil, 1
  %56 = getelementptr inbounds i8, ptr %.02939.epil, i64 %0
  %epil.iter47.next = add i64 %epil.iter47, 1
  %epil.iter47.cmp.not = icmp eq i64 %epil.iter47.next, %xtraiter46
  br i1 %epil.iter47.cmp.not, label %._crit_edge43, label %.lr.ph42.epil, !llvm.loop !19

._crit_edge43:                                    ; preds = %._crit_edge43.loopexit.unr-lcssa, %.lr.ph42.epil, %34
  %57 = load volatile i32, ptr %19, align 4, !tbaa !9
  %.not34 = icmp eq i32 %57, 0
  br i1 %.not34, label %58, label %59

58:                                               ; preds = %._crit_edge43
  call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, i32 noundef 2682, ptr noundef nonnull @__PRETTY_FUNCTION__.libxsmm_pmalloc_init) #5
  unreachable

59:                                               ; preds = %._crit_edge43
  store atomic i32 0, ptr %19 release, align 4
  ret void
}

declare i32 @libxsmm_crc32_u64(i32 noundef, ptr noundef, ...) local_unnamed_addr #1

attributes #0 = { noreturn 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 #1 = { "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 }
attributes #3 = { 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 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.unroll.disable"}
!15 = distinct !{!15, !12}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !14}


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