; LLVM IR from junhyeokahn/PyPnC :: external_source/yaml/src/stream.ll (ZNK4YAML6Stream13StreamInUtf16Ev)

; 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.YAML::Stream" = type { ptr, %"struct.YAML::Mark", i32, %"class.std::deque", ptr, i64, i64 }
%"struct.YAML::Mark" = type { i32, i32, i32 }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl" = type { %"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" }
%"struct.std::_Deque_base<char, std::allocator<char>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

; 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 nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4YAML6Stream13StreamInUtf16Ev(ptr noundef nonnull align 8 dereferenceable(128) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca [2 x i8], align 1
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i64 0, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %9 = getelementptr inbounds %"class.YAML::Stream", ptr %8, i32 0, i32 2
  %10 = load i32, ptr %9, align 4, !tbaa !11
  %11 = icmp eq i32 %10, 2
  %12 = zext i1 %11 to i64
  %13 = select i1 %11, i32 0, i32 1
  store i32 %13, ptr %5, align 4, !tbaa !21
  %14 = call noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128) %8)
  %15 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
  store i8 %14, ptr %15, align 1, !tbaa !22
  %16 = call noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128) %8)
  %17 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 1
  store i8 %16, ptr %17, align 1, !tbaa !22
  %18 = getelementptr inbounds %"class.YAML::Stream", ptr %8, i32 0, i32 0
  %19 = load ptr, ptr %18, align 8, !tbaa !23
  %20 = load ptr, ptr %19, align 8, !tbaa !24
  %21 = getelementptr i8, ptr %20, i64 -24
  %22 = load i64, ptr %21, align 8
  %23 = getelementptr inbounds i8, ptr %19, i64 %22
  %24 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %23)
  br i1 %24, label %26, label %25

25:                                               ; preds = %1
  store i32 1, ptr %6, align 4
  br label %117

26:                                               ; preds = %1
  %27 = load i32, ptr %5, align 4, !tbaa !21
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 %28
  %30 = load i8, ptr %29, align 1, !tbaa !22
  %31 = zext i8 %30 to i64
  %32 = shl i64 %31, 8
  %33 = load i32, ptr %5, align 4, !tbaa !21
  %34 = xor i32 1, %33
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 %35
  %37 = load i8, ptr %36, align 1, !tbaa !22
  %38 = zext i8 %37 to i64
  %39 = or i64 %32, %38
  store i64 %39, ptr %3, align 8, !tbaa !9
  %40 = load i64, ptr %3, align 8, !tbaa !9
  %41 = icmp uge i64 %40, 56320
  br i1 %41, label %42, label %47

42:                                               ; preds = %26
  %43 = load i64, ptr %3, align 8, !tbaa !9
  %44 = icmp ult i64 %43, 57344
  br i1 %44, label %45, label %47

45:                                               ; preds = %42
  %46 = getelementptr inbounds %"class.YAML::Stream", ptr %8, i32 0, i32 3
  call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %46, i64 noundef 65533)
  store i32 1, ptr %6, align 4
  br label %117

47:                                               ; preds = %42, %26
  %48 = load i64, ptr %3, align 8, !tbaa !9
  %49 = icmp uge i64 %48, 55296
  br i1 %49, label %50, label %113

50:                                               ; preds = %47
  %51 = load i64, ptr %3, align 8, !tbaa !9
  %52 = icmp ult i64 %51, 56320
  br i1 %52, label %53, label %113

53:                                               ; preds = %50
  br label %54

54:                                               ; preds = %110, %53
  %55 = call noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128) %8)
  %56 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 0
  store i8 %55, ptr %56, align 1, !tbaa !22
  %57 = call noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128) %8)
  %58 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 1
  store i8 %57, ptr %58, align 1, !tbaa !22
  %59 = getelementptr inbounds %"class.YAML::Stream", ptr %8, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !23
  %61 = load ptr, ptr %60, align 8, !tbaa !24
  %62 = getelementptr i8, ptr %61, i64 -24
  %63 = load i64, ptr %62, align 8
  %64 = getelementptr inbounds i8, ptr %60, i64 %63
  %65 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %64)
  br i1 %65, label %68, label %66

66:                                               ; preds = %54
  %67 = getelementptr inbounds %"class.YAML::Stream", ptr %8, i32 0, i32 3
  call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %67, i64 noundef 65533)
  store i32 1, ptr %6, align 4
  br label %117

68:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %69 = load i32, ptr %5, align 4, !tbaa !21
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 %70
  %72 = load i8, ptr %71, align 1, !tbaa !22
  %73 = zext i8 %72 to i64
  %74 = shl i64 %73, 8
  %75 = load i32, ptr %5, align 4, !tbaa !21
  %76 = xor i32 1, %75
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [2 x i8], ptr %4, i64 0, i64 %77
  %79 = load i8, ptr %78, align 1, !tbaa !22
  %80 = zext i8 %79 to i64
  %81 = or i64 %74, %80
  store i64 %81, ptr %7, align 8, !tbaa !9
  %82 = load i64, ptr %7, align 8, !tbaa !9
  %83 = icmp ult i64 %82, 56320
  br i1 %83, label %87, label %84

84:                                               ; preds = %68
  %85 = load i64, ptr %7, align 8, !tbaa !9
  %86 = icmp uge i64 %85, 57344
  br i1 %86, label %87, label %99

87:                                               ; preds = %84, %68
  %88 = getelementptr inbounds %"class.YAML::Stream", ptr %8, i32 0, i32 3
  call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %88, i64 noundef 65533)
  %89 = load i64, ptr %7, align 8, !tbaa !9
  %90 = icmp ult i64 %89, 55296
  br i1 %90, label %94, label %91

91:                                               ; preds = %87
  %92 = load i64, ptr %7, align 8, !tbaa !9
  %93 = icmp uge i64 %92, 57344
  br i1 %93, label %94, label %97

94:                                               ; preds = %91, %87
  %95 = getelementptr inbounds %"class.YAML::Stream", ptr %8, i32 0, i32 3
  %96 = load i64, ptr %3, align 8, !tbaa !9
  call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %95, i64 noundef %96)
  store i32 1, ptr %6, align 4
  br label %110

97:                                               ; preds = %91
  %98 = load i64, ptr %7, align 8, !tbaa !9
  store i64 %98, ptr %3, align 8, !tbaa !9
  store i32 3, ptr %6, align 4
  br label %110, !llvm.loop !26

99:                                               ; preds = %84
  %100 = load i64, ptr %3, align 8, !tbaa !9
  %101 = and i64 %100, 1023
  store i64 %101, ptr %3, align 8, !tbaa !9
  %102 = load i64, ptr %3, align 8, !tbaa !9
  %103 = shl i64 %102, 10
  store i64 %103, ptr %3, align 8, !tbaa !9
  %104 = load i64, ptr %7, align 8, !tbaa !9
  %105 = and i64 %104, 1023
  %106 = load i64, ptr %3, align 8, !tbaa !9
  %107 = or i64 %106, %105
  store i64 %107, ptr %3, align 8, !tbaa !9
  %108 = load i64, ptr %3, align 8, !tbaa !9
  %109 = add i64 %108, 65536
  store i64 %109, ptr %3, align 8, !tbaa !9
  store i32 2, ptr %6, align 4
  br label %110

110:                                              ; preds = %99, %97, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  %111 = load i32, ptr %6, align 4
  switch i32 %111, label %117 [
    i32 3, label %54
    i32 2, label %112
  ]

112:                                              ; preds = %110
  br label %113

113:                                              ; preds = %112, %50, %47
  br label %114

114:                                              ; preds = %113
  %115 = getelementptr inbounds %"class.YAML::Stream", ptr %8, i32 0, i32 3
  %116 = load i64, ptr %3, align 8, !tbaa !9
  call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %115, i64 noundef %116)
  store i32 0, ptr %6, align 4
  br label %117

117:                                              ; preds = %114, %110, %66, %45, %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %118 = load i32, ptr %6, align 4
  switch i32 %118, label %120 [
    i32 0, label %119
    i32 1, label %119
  ]

119:                                              ; preds = %117, %117
  ret void

120:                                              ; preds = %117
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !15, i64 20}
!12 = !{!"_ZTSN4YAML6StreamE", !6, i64 0, !13, i64 8, !15, i64 20, !16, i64 24, !6, i64 104, !10, i64 112, !10, i64 120}
!13 = !{!"_ZTSN4YAML4MarkE", !14, i64 0, !14, i64 4, !14, i64 8}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN4YAML6Stream12CharacterSetE", !7, i64 0}
!16 = !{!"_ZTSSt5dequeIcSaIcEE", !17, i64 0}
!17 = !{!"_ZTSSt11_Deque_baseIcSaIcEE", !18, i64 0}
!18 = !{!"_ZTSNSt11_Deque_baseIcSaIcEE11_Deque_implE", !19, i64 0}
!19 = !{!"_ZTSNSt11_Deque_baseIcSaIcEE16_Deque_impl_dataE", !6, i64 0, !10, i64 8, !20, i64 16, !20, i64 48}
!20 = !{!"_ZTSSt15_Deque_iteratorIcRcPcE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{!14, !14, i64 0}
!22 = !{!7, !7, i64 0}
!23 = !{!12, !6, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"vtable pointer", !8, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"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"

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4YAML6Stream13StreamInUtf16Ev(ptr noundef nonnull align 8 dereferenceable(128) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca [2 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #4
  %3 = getelementptr inbounds i8, ptr %0, i64 20
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = tail call noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store i8 %5, ptr %2, align 1, !tbaa !19
  %6 = tail call noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128) %0)
  %7 = getelementptr inbounds i8, ptr %2, i64 1
  store i8 %6, ptr %7, align 1, !tbaa !19
  %8 = load ptr, ptr %0, align 8, !tbaa !20
  %9 = load ptr, ptr %8, align 8, !tbaa !21
  %10 = getelementptr i8, ptr %9, i64 -24
  %11 = load i64, ptr %10, align 8
  %12 = getelementptr inbounds i8, ptr %8, i64 %11
  %13 = tail call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %12)
  br i1 %13, label %14, label %58

14:                                               ; preds = %1
  %15 = icmp ne i32 %4, 2
  %16 = zext i1 %15 to i64
  %17 = getelementptr inbounds [2 x i8], ptr %2, i64 0, i64 %16
  %18 = load i8, ptr %17, align 1, !tbaa !19
  %19 = xor i1 %15, true
  %20 = zext i1 %19 to i64
  %21 = getelementptr inbounds [2 x i8], ptr %2, i64 0, i64 %20
  %22 = and i8 %18, -4
  %or.cond = icmp eq i8 %22, -36
  br i1 %or.cond, label %23, label %25

23:                                               ; preds = %14
  %24 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %24, i64 noundef 65533)
  br label %58

25:                                               ; preds = %14
  %26 = zext i8 %18 to i64
  %27 = shl nuw nsw i64 %26, 8
  %28 = load i8, ptr %21, align 1, !tbaa !19
  %29 = zext i8 %28 to i64
  %30 = or disjoint i64 %27, %29
  %or.cond3 = icmp eq i8 %22, -40
  br i1 %or.cond3, label %.preheader, label %56

.preheader:                                       ; preds = %25
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  br label %32

32:                                               ; preds = %.preheader, %50
  %.0 = phi i64 [ %48, %50 ], [ %30, %.preheader ]
  %33 = tail call noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store i8 %33, ptr %2, align 1, !tbaa !19
  %34 = tail call noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128) %0)
  store i8 %34, ptr %7, align 1, !tbaa !19
  %35 = load ptr, ptr %0, align 8, !tbaa !20
  %36 = load ptr, ptr %35, align 8, !tbaa !21
  %37 = getelementptr i8, ptr %36, i64 -24
  %38 = load i64, ptr %37, align 8
  %39 = getelementptr inbounds i8, ptr %35, i64 %38
  %40 = tail call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %39)
  br i1 %40, label %42, label %41

41:                                               ; preds = %32
  tail call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %31, i64 noundef 65533)
  br label %58

42:                                               ; preds = %32
  %43 = load i8, ptr %17, align 1, !tbaa !19
  %44 = zext i8 %43 to i64
  %45 = shl nuw nsw i64 %44, 8
  %46 = load i8, ptr %21, align 1, !tbaa !19
  %47 = zext i8 %46 to i64
  %48 = or disjoint i64 %45, %47
  %49 = add i8 %43, 32
  %or.cond5 = icmp ult i8 %49, -4
  br i1 %or.cond5, label %50, label %.thread34

50:                                               ; preds = %42
  tail call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %31, i64 noundef 65533)
  %or.cond7 = icmp ult i8 %49, -8
  br i1 %or.cond7, label %.thread, label %32, !llvm.loop !23

.thread:                                          ; preds = %50
  tail call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %31, i64 noundef %.0)
  br label %58

.thread34:                                        ; preds = %42
  %51 = shl nuw nsw i64 %.0, 10
  %52 = and i64 %51, 1047552
  %53 = and i64 %48, 1023
  %54 = add nuw nsw i64 %52, 65536
  %55 = or disjoint i64 %54, %53
  br label %56

56:                                               ; preds = %.thread34, %25
  %.2 = phi i64 [ %30, %25 ], [ %55, %.thread34 ]
  %57 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80) %57, i64 noundef %.2)
  br label %58

58:                                               ; preds = %.thread, %1, %56, %41, %23
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #4
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZNK4YAML6Stream11GetNextByteEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4YAML21QueueUnicodeCodepointERSt5dequeIcSaIcEEm(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #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, !12, i64 20}
!6 = !{!"_ZTSN4YAML6StreamE", !7, i64 0, !10, i64 8, !12, i64 20, !13, i64 24, !7, i64 104, !17, i64 112, !17, i64 120}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4YAML4MarkE", !11, i64 0, !11, i64 4, !11, i64 8}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTSN4YAML6Stream12CharacterSetE", !8, i64 0}
!13 = !{!"_ZTSSt5dequeIcSaIcEE", !14, i64 0}
!14 = !{!"_ZTSSt11_Deque_baseIcSaIcEE", !15, i64 0}
!15 = !{!"_ZTSNSt11_Deque_baseIcSaIcEE11_Deque_implE", !16, i64 0}
!16 = !{!"_ZTSNSt11_Deque_baseIcSaIcEE16_Deque_impl_dataE", !7, i64 0, !17, i64 8, !18, i64 16, !18, i64 48}
!17 = !{!"long", !8, i64 0}
!18 = !{!"_ZTSSt15_Deque_iteratorIcRcPcE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!19 = !{!8, !8, i64 0}
!20 = !{!6, !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !9, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


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