; LLVM IR from whoiswelliton/Computer_Engineering_UTFPR-PB :: Embedded_Systems/TIVA Connected TM4C1294XL Projects/00 - freeRTOS10_on_TIVA (pvPortMalloc)

; 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.A_BLOCK_LINK = type { ptr, i64 }

@pxEnd = external hidden global ptr, align 8
@xBlockAllocatedBit = external hidden global i64, align 8
@xFreeBytesRemaining = external hidden global i64, align 8
@xStart = external hidden global %struct.A_BLOCK_LINK, align 8
@xMinimumEverFreeBytesRemaining = external hidden global i64, align 8
@xNumberOfSuccessfulAllocations = external hidden global i64, align 8

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

9:                                                ; preds = %1
  call void @prvHeapInit()
  br label %11

10:                                               ; preds = %1
  br label %11

11:                                               ; preds = %10, %9
  %12 = load i64, ptr %2, align 8, !tbaa !5
  %13 = load i64, ptr @xBlockAllocatedBit, align 8, !tbaa !5
  %14 = and i64 %12, %13
  %15 = icmp eq i64 %14, 0
  br i1 %15, label %16, label %140

16:                                               ; preds = %11
  %17 = load i64, ptr %2, align 8, !tbaa !5
  %18 = icmp ugt i64 %17, 0
  br i1 %18, label %19, label %41

19:                                               ; preds = %16
  %20 = load i64, ptr %2, align 8, !tbaa !5
  %21 = add i64 %20, 16
  store i64 %21, ptr %2, align 8, !tbaa !5
  %22 = load i64, ptr %2, align 8, !tbaa !5
  %23 = and i64 %22, 7
  %24 = icmp ne i64 %23, 0
  br i1 %24, label %25, label %39

25:                                               ; preds = %19
  %26 = load i64, ptr %2, align 8, !tbaa !5
  %27 = and i64 %26, 7
  %28 = sub i64 8, %27
  %29 = load i64, ptr %2, align 8, !tbaa !5
  %30 = add i64 %29, %28
  store i64 %30, ptr %2, align 8, !tbaa !5
  %31 = load i64, ptr %2, align 8, !tbaa !5
  %32 = and i64 %31, 7
  %33 = icmp eq i64 %32, 0
  %34 = zext i1 %33 to i32
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %38

36:                                               ; preds = %25
  call void @vPortRaiseBASEPRI()
  br label %37

37:                                               ; preds = %37, %36
  br label %37

38:                                               ; preds = %25
  br label %40

39:                                               ; preds = %19
  br label %40

40:                                               ; preds = %39, %38
  br label %42

41:                                               ; preds = %16
  br label %42

42:                                               ; preds = %41, %40
  %43 = load i64, ptr %2, align 8, !tbaa !5
  %44 = icmp ugt i64 %43, 0
  br i1 %44, label %45, label %138

45:                                               ; preds = %42
  %46 = load i64, ptr %2, align 8, !tbaa !5
  %47 = load i64, ptr @xFreeBytesRemaining, align 8, !tbaa !5
  %48 = icmp ule i64 %46, %47
  br i1 %48, label %49, label %138

49:                                               ; preds = %45
  store ptr @xStart, ptr %4, align 8, !tbaa !9
  %50 = load ptr, ptr @xStart, align 8, !tbaa !11
  store ptr %50, ptr %3, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %64, %49
  %52 = load ptr, ptr %3, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %52, i32 0, i32 1
  %54 = load i64, ptr %53, align 8, !tbaa !13
  %55 = load i64, ptr %2, align 8, !tbaa !5
  %56 = icmp ult i64 %54, %55
  br i1 %56, label %57, label %62

57:                                               ; preds = %51
  %58 = load ptr, ptr %3, align 8, !tbaa !9
  %59 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !11
  %61 = icmp ne ptr %60, null
  br label %62

62:                                               ; preds = %57, %51
  %63 = phi i1 [ false, %51 ], [ %61, %57 ]
  br i1 %63, label %64, label %69

64:                                               ; preds = %62
  %65 = load ptr, ptr %3, align 8, !tbaa !9
  store ptr %65, ptr %4, align 8, !tbaa !9
  %66 = load ptr, ptr %3, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !11
  store ptr %68, ptr %3, align 8, !tbaa !9
  br label %51, !llvm.loop !14

69:                                               ; preds = %62
  %70 = load ptr, ptr %3, align 8, !tbaa !9
  %71 = load ptr, ptr @pxEnd, align 8, !tbaa !9
  %72 = icmp ne ptr %70, %71
  br i1 %72, label %73, label %136

73:                                               ; preds = %69
  %74 = load ptr, ptr %4, align 8, !tbaa !9
  %75 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !11
  %77 = getelementptr inbounds i8, ptr %76, i64 16
  store ptr %77, ptr %6, align 8, !tbaa !9
  %78 = load ptr, ptr %3, align 8, !tbaa !9
  %79 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !11
  %81 = load ptr, ptr %4, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %81, i32 0, i32 0
  store ptr %80, ptr %82, align 8, !tbaa !11
  %83 = load ptr, ptr %3, align 8, !tbaa !9
  %84 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %83, i32 0, i32 1
  %85 = load i64, ptr %84, align 8, !tbaa !13
  %86 = load i64, ptr %2, align 8, !tbaa !5
  %87 = sub i64 %85, %86
  %88 = icmp ugt i64 %87, 32
  br i1 %88, label %89, label %113

89:                                               ; preds = %73
  %90 = load ptr, ptr %3, align 8, !tbaa !9
  %91 = load i64, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %90, i64 %91
  store ptr %92, ptr %5, align 8, !tbaa !9
  %93 = load ptr, ptr %5, align 8, !tbaa !9
  %94 = ptrtoint ptr %93 to i64
  %95 = and i64 %94, 7
  %96 = icmp eq i64 %95, 0
  %97 = zext i1 %96 to i32
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %101

99:                                               ; preds = %89
  call void @vPortRaiseBASEPRI()
  br label %100

100:                                              ; preds = %100, %99
  br label %100

101:                                              ; preds = %89
  %102 = load ptr, ptr %3, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %102, i32 0, i32 1
  %104 = load i64, ptr %103, align 8, !tbaa !13
  %105 = load i64, ptr %2, align 8, !tbaa !5
  %106 = sub i64 %104, %105
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %107, i32 0, i32 1
  store i64 %106, ptr %108, align 8, !tbaa !13
  %109 = load i64, ptr %2, align 8, !tbaa !5
  %110 = load ptr, ptr %3, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %110, i32 0, i32 1
  store i64 %109, ptr %111, align 8, !tbaa !13
  %112 = load ptr, ptr %5, align 8, !tbaa !9
  call void @prvInsertBlockIntoFreeList(ptr noundef %112)
  br label %114

113:                                              ; preds = %73
  br label %114

114:                                              ; preds = %113, %101
  %115 = load ptr, ptr %3, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %115, i32 0, i32 1
  %117 = load i64, ptr %116, align 8, !tbaa !13
  %118 = load i64, ptr @xFreeBytesRemaining, align 8, !tbaa !5
  %119 = sub i64 %118, %117
  store i64 %119, ptr @xFreeBytesRemaining, align 8, !tbaa !5
  %120 = load i64, ptr @xFreeBytesRemaining, align 8, !tbaa !5
  %121 = load i64, ptr @xMinimumEverFreeBytesRemaining, align 8, !tbaa !5
  %122 = icmp ult i64 %120, %121
  br i1 %122, label %123, label %125

123:                                              ; preds = %114
  %124 = load i64, ptr @xFreeBytesRemaining, align 8, !tbaa !5
  store i64 %124, ptr @xMinimumEverFreeBytesRemaining, align 8, !tbaa !5
  br label %126

125:                                              ; preds = %114
  br label %126

126:                                              ; preds = %125, %123
  %127 = load i64, ptr @xBlockAllocatedBit, align 8, !tbaa !5
  %128 = load ptr, ptr %3, align 8, !tbaa !9
  %129 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %128, i32 0, i32 1
  %130 = load i64, ptr %129, align 8, !tbaa !13
  %131 = or i64 %130, %127
  store i64 %131, ptr %129, align 8, !tbaa !13
  %132 = load ptr, ptr %3, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.A_BLOCK_LINK, ptr %132, i32 0, i32 0
  store ptr null, ptr %133, align 8, !tbaa !11
  %134 = load i64, ptr @xNumberOfSuccessfulAllocations, align 8, !tbaa !5
  %135 = add i64 %134, 1
  store i64 %135, ptr @xNumberOfSuccessfulAllocations, align 8, !tbaa !5
  br label %137

136:                                              ; preds = %69
  br label %137

137:                                              ; preds = %136, %126
  br label %139

138:                                              ; preds = %45, %42
  br label %139

139:                                              ; preds = %138, %137
  br label %141

140:                                              ; preds = %11
  br label %141

141:                                              ; preds = %140, %139
  %142 = call i64 @xTaskResumeAll()
  %143 = load ptr, ptr %6, align 8, !tbaa !9
  %144 = ptrtoint ptr %143 to i64
  %145 = and i64 %144, 7
  %146 = icmp eq i64 %145, 0
  %147 = zext i1 %146 to i32
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %151

149:                                              ; preds = %141
  call void @vPortRaiseBASEPRI()
  br label %150

150:                                              ; preds = %150, %149
  br label %150

151:                                              ; preds = %141
  %152 = load ptr, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret ptr %152
}

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

declare void @vTaskSuspendAll() #2

; Function Attrs: nounwind uwtable
declare hidden void @prvHeapInit() #0

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @vPortRaiseBASEPRI() #3

; Function Attrs: nounwind uwtable
declare hidden void @prvInsertBlockIntoFreeList(ptr noundef) #0

declare i64 @xTaskResumeAll() #2

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

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 = { alwaysinline 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 = { 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, !10, i64 0}
!12 = !{!"A_BLOCK_LINK", !10, i64 0, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


; 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.A_BLOCK_LINK = type { ptr, i64 }

@pxEnd = external hidden local_unnamed_addr global ptr, align 8
@xBlockAllocatedBit = external hidden local_unnamed_addr global i64, align 8
@xFreeBytesRemaining = external hidden local_unnamed_addr global i64, align 8
@xStart = external hidden local_unnamed_addr global %struct.A_BLOCK_LINK, align 8
@xMinimumEverFreeBytesRemaining = external hidden local_unnamed_addr global i64, align 8
@xNumberOfSuccessfulAllocations = external hidden local_unnamed_addr global i64, align 8

; Function Attrs: nounwind uwtable
define dso_local ptr @pvPortMalloc(i64 noundef %0) local_unnamed_addr #0 {
  tail call void @vTaskSuspendAll() #3
  %2 = load ptr, ptr @pxEnd, align 8, !tbaa !5
  %3 = icmp eq ptr %2, null
  br i1 %3, label %4, label %5

4:                                                ; preds = %1
  tail call void @prvHeapInit()
  br label %5

5:                                                ; preds = %1, %4
  %6 = load i64, ptr @xBlockAllocatedBit, align 8, !tbaa !9
  %7 = and i64 %6, %0
  %8 = icmp ne i64 %7, 0
  %.not = icmp eq i64 %0, 0
  %or.cond52 = or i1 %.not, %8
  br i1 %or.cond52, label %.thread, label %9

9:                                                ; preds = %5
  %10 = add i64 %0, 16
  %11 = and i64 %0, 7
  %.not41 = icmp eq i64 %11, 0
  %12 = and i64 %0, -8
  %13 = add i64 %12, 24
  %.033 = select i1 %.not41, i64 %10, i64 %13
  %14 = load i64, ptr @xFreeBytesRemaining, align 8
  %15 = freeze i64 %14
  %16 = add i64 %.033, -1
  %or.cond.not = icmp ult i64 %16, %15
  br i1 %or.cond.not, label %17, label %.thread

17:                                               ; preds = %9
  %18 = load ptr, ptr @xStart, align 8, !tbaa !11
  %19 = getelementptr inbounds i8, ptr %18, i64 8
  %20 = load i64, ptr %19, align 8, !tbaa !13
  %21 = icmp ult i64 %20, %.033
  br i1 %21, label %.lr.ph.preheader, label %.critedge

.lr.ph.preheader:                                 ; preds = %17
  %22 = load ptr, ptr %18, align 8, !tbaa !11
  %.not4465 = icmp eq ptr %22, null
  br i1 %.not4465, label %.critedge, label %.lr.ph67, !llvm.loop !14

.lr.ph67:                                         ; preds = %.lr.ph.preheader, %.lr.ph
  %23 = phi ptr [ %27, %.lr.ph ], [ %22, %.lr.ph.preheader ]
  %.0355566 = phi ptr [ %23, %.lr.ph ], [ %18, %.lr.ph.preheader ]
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load i64, ptr %24, align 8, !tbaa !13
  %26 = icmp ult i64 %25, %.033
  br i1 %26, label %.lr.ph, label %.critedge, !llvm.loop !14

.lr.ph:                                           ; preds = %.lr.ph67
  %27 = load ptr, ptr %23, align 8, !tbaa !11
  %.not44 = icmp eq ptr %27, null
  br i1 %.not44, label %.critedge, label %.lr.ph67, !llvm.loop !14

.critedge:                                        ; preds = %.lr.ph67, %.lr.ph, %.lr.ph.preheader, %17
  %.035.lcssa54 = phi ptr [ %18, %17 ], [ %18, %.lr.ph.preheader ], [ %23, %.lr.ph ], [ %23, %.lr.ph67 ]
  %.034.lcssa = phi ptr [ @xStart, %17 ], [ @xStart, %.lr.ph.preheader ], [ %.0355566, %.lr.ph ], [ %.0355566, %.lr.ph67 ]
  %.lcssa = phi i64 [ %20, %17 ], [ %20, %.lr.ph.preheader ], [ %25, %.lr.ph ], [ %25, %.lr.ph67 ]
  %28 = getelementptr inbounds i8, ptr %.035.lcssa54, i64 8
  %29 = load ptr, ptr @pxEnd, align 8, !tbaa !5
  %.not45 = icmp eq ptr %.035.lcssa54, %29
  br i1 %.not45, label %.thread, label %30

30:                                               ; preds = %.critedge
  %31 = load ptr, ptr %.034.lcssa, align 8, !tbaa !11
  %32 = getelementptr inbounds i8, ptr %31, i64 16
  %33 = load ptr, ptr %.035.lcssa54, align 8, !tbaa !11
  store ptr %33, ptr %.034.lcssa, align 8, !tbaa !11
  %34 = sub i64 %.lcssa, %.033
  %35 = icmp ugt i64 %34, 32
  br i1 %35, label %36, label %44

36:                                               ; preds = %30
  %37 = getelementptr inbounds i8, ptr %.035.lcssa54, i64 %.033
  %38 = ptrtoint ptr %37 to i64
  %39 = and i64 %38, 7
  %.not46 = icmp eq i64 %39, 0
  br i1 %.not46, label %42, label %40

40:                                               ; preds = %36
  tail call void @vPortRaiseBASEPRI()
  br label %41

41:                                               ; preds = %41, %40
  br label %41

42:                                               ; preds = %36
  %43 = getelementptr inbounds i8, ptr %37, i64 8
  store i64 %34, ptr %43, align 8, !tbaa !13
  store i64 %.033, ptr %28, align 8, !tbaa !13
  tail call void @prvInsertBlockIntoFreeList(ptr noundef nonnull %37)
  br label %44

44:                                               ; preds = %30, %42
  %45 = load i64, ptr %28, align 8, !tbaa !13
  %46 = load i64, ptr @xFreeBytesRemaining, align 8, !tbaa !9
  %47 = sub i64 %46, %45
  store i64 %47, ptr @xFreeBytesRemaining, align 8, !tbaa !9
  %48 = load i64, ptr @xMinimumEverFreeBytesRemaining, align 8, !tbaa !9
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %44
  store i64 %47, ptr @xMinimumEverFreeBytesRemaining, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %44, %50
  %52 = load i64, ptr @xBlockAllocatedBit, align 8, !tbaa !9
  %53 = or i64 %45, %52
  store i64 %53, ptr %28, align 8, !tbaa !13
  store ptr null, ptr %.035.lcssa54, align 8, !tbaa !11
  %54 = load i64, ptr @xNumberOfSuccessfulAllocations, align 8, !tbaa !9
  %55 = add i64 %54, 1
  store i64 %55, ptr @xNumberOfSuccessfulAllocations, align 8, !tbaa !9
  br label %.thread

.thread:                                          ; preds = %5, %.critedge, %51, %9
  %.0 = phi ptr [ %32, %51 ], [ null, %.critedge ], [ null, %9 ], [ null, %5 ]
  %56 = tail call i64 @xTaskResumeAll() #3
  %57 = ptrtoint ptr %.0 to i64
  %58 = and i64 %57, 7
  %.not47 = icmp eq i64 %58, 0
  br i1 %.not47, label %61, label %59

59:                                               ; preds = %.thread
  tail call void @vPortRaiseBASEPRI()
  br label %60

60:                                               ; preds = %60, %59
  br label %60

61:                                               ; preds = %.thread
  ret ptr %.0
}

declare void @vTaskSuspendAll() local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @prvHeapInit() local_unnamed_addr #0

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @vPortRaiseBASEPRI() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @prvInsertBlockIntoFreeList(ptr noundef) local_unnamed_addr #0

declare i64 @xTaskResumeAll() local_unnamed_addr #1

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 = { "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 = { alwaysinline 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 #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, !6, i64 0}
!12 = !{!"A_BLOCK_LINK", !6, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass