; LLVM IR from thepowersgang/mrustc :: src/macro_rules/eval.ll (ZNK16MacroExpandState14getCurLayerEntEv)

; 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.MacroExpandState = type { ptr, ptr, %"class.std::vector.327", %"class.std::vector", ptr }
%"class.std::vector.327" = type { %"struct.std::_Vector_base.328" }
%"struct.std::_Vector_base.328" = type { %"struct.std::_Vector_base<MacroExpandState::t_offset, std::allocator<MacroExpandState::t_offset>>::_Vector_impl" }
%"struct.std::_Vector_base<MacroExpandState::t_offset, std::allocator<MacroExpandState::t_offset>>::_Vector_impl" = type { %"struct.std::_Vector_base<MacroExpandState::t_offset, std::allocator<MacroExpandState::t_offset>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MacroExpandState::t_offset, std::allocator<MacroExpandState::t_offset>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.MacroExpandState::t_offset" = type { i32, i32, i32 }
%"struct.MacroExpansionEnt::Data_Loop" = type { %"class.std::vector.322", %class.Token, %"class.std::set" }
%"class.std::vector.322" = type { %"struct.std::_Vector_base.323" }
%"struct.std::_Vector_base.323" = type { %"struct.std::_Vector_base<MacroExpansionEnt, std::allocator<MacroExpansionEnt>>::_Vector_impl" }
%"struct.std::_Vector_base<MacroExpansionEnt, std::allocator<MacroExpansionEnt>>::_Vector_impl" = type { %"struct.std::_Vector_base<MacroExpansionEnt, std::allocator<MacroExpansionEnt>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MacroExpansionEnt, std::allocator<MacroExpansionEnt>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Token = type { ptr, i32, %"class.Token::Data", %class.Position, %"class.Ident::Hygiene" }
%"class.Token::Data" = type { i32, %"union.Token::Data::DataUnion" }
%"union.Token::Data::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.42 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.42 = type { i64, [8 x i8] }
%class.Position = type { %struct.Span, %class.RcString, i32, i32 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.38" }
%"struct.std::_Head_base.38" = type { ptr }
%"class.std::set" = type { %"class.std::_Rb_tree.380" }
%"class.std::_Rb_tree.380" = type { %"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>>::_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 }

@.str.4 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__._ZNK16MacroExpandState14getCurLayerEntEv = external hidden unnamed_addr constant [66 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [31 x i8], align 1

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

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

; 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 dso_local noundef i64 @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZNK17MacroExpansionEnt7as_LoopEv(ptr noundef nonnull align 8 dereferenceable(168)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZNK16MacroExpandState14getCurLayerEntEv(ptr noundef nonnull align 8 dereferenceable(72) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  %7 = getelementptr inbounds %class.MacroExpandState, ptr %6, i32 0, i32 2
  %8 = call noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  %9 = icmp ugt i64 %8, 1
  br i1 %9, label %10, label %11

10:                                               ; preds = %1
  br label %13

11:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.72, ptr noundef @.str.4, i32 noundef 2445, ptr noundef @__PRETTY_FUNCTION__._ZNK16MacroExpandState14getCurLayerEntEv) #5
  unreachable

12:                                               ; No predecessors!
  br label %13

13:                                               ; preds = %12, %10
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %14 = getelementptr inbounds %class.MacroExpandState, ptr %6, i32 0, i32 0
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %15, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !19
  br label %16

16:                                               ; preds = %52, %13
  %17 = load i32, ptr %4, align 4, !tbaa !19
  %18 = zext i32 %17 to i64
  %19 = getelementptr inbounds %class.MacroExpandState, ptr %6, i32 0, i32 2
  %20 = call noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  %21 = sub i64 %20, 2
  %22 = icmp ult i64 %18, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %55

24:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %25 = getelementptr inbounds %class.MacroExpandState, ptr %6, i32 0, i32 2
  %26 = load i32, ptr %4, align 4, !tbaa !19
  %27 = zext i32 %26 to i64
  %28 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %27) #4
  %29 = getelementptr inbounds %"struct.MacroExpandState::t_offset", ptr %28, i32 0, i32 0
  %30 = load i32, ptr %29, align 4, !tbaa !21
  store i32 %30, ptr %5, align 4, !tbaa !19
  %31 = load i32, ptr %5, align 4, !tbaa !19
  %32 = icmp ugt i32 %31, 0
  br i1 %32, label %33, label %39

33:                                               ; preds = %24
  %34 = load i32, ptr %5, align 4, !tbaa !19
  %35 = zext i32 %34 to i64
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = call noundef i64 @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #4
  %38 = icmp ule i64 %35, %37
  br label %39

39:                                               ; preds = %33, %24
  %40 = phi i1 [ false, %24 ], [ %38, %33 ]
  br i1 %40, label %41, label %42

41:                                               ; preds = %39
  br label %44

42:                                               ; preds = %39
  call void @__assert_fail(ptr noundef @.str.73, ptr noundef @.str.4, i32 noundef 2451, ptr noundef @__PRETTY_FUNCTION__._ZNK16MacroExpandState14getCurLayerEntEv) #5
  unreachable

43:                                               ; No predecessors!
  br label %44

44:                                               ; preds = %43, %41
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = load i32, ptr %5, align 4, !tbaa !19
  %47 = sub i32 %46, 1
  %48 = zext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %48) #4
  %50 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK17MacroExpansionEnt7as_LoopEv(ptr noundef nonnull align 8 dereferenceable(168) %49)
  %51 = getelementptr inbounds %"struct.MacroExpansionEnt::Data_Loop", ptr %50, i32 0, i32 0
  store ptr %51, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %52

52:                                               ; preds = %44
  %53 = load i32, ptr %4, align 4, !tbaa !19
  %54 = add i32 %53, 1
  store i32 %54, ptr %4, align 4, !tbaa !19
  br label %16, !llvm.loop !23

55:                                               ; preds = %23
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %class.MacroExpandState, ptr %6, i32 0, i32 2
  %58 = getelementptr inbounds %class.MacroExpandState, ptr %6, i32 0, i32 2
  %59 = call noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #4
  %60 = sub i64 %59, 2
  %61 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %60) #4
  %62 = getelementptr inbounds %"struct.MacroExpandState::t_offset", ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 4, !tbaa !21
  %64 = sub i32 %63, 1
  %65 = zext i32 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %65) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret ptr %66
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 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 = { 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 #3 = { 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 }
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++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS16MacroExpandState", !6, i64 0, !6, i64 8, !11, i64 16, !15, i64 40, !6, i64 64}
!11 = !{!"_ZTSSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIN16MacroExpandState8t_offsetESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN16MacroExpandState8t_offsetESaIS1_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN16MacroExpandState8t_offsetESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTSSt6vectorIjSaIjEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!22, !20, i64 0}
!22 = !{!"_ZTSN16MacroExpandState8t_offsetE", !20, i64 0, !20, i64 4, !20, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"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"

@.str.4 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__._ZNK16MacroExpandState14getCurLayerEntEv = external hidden unnamed_addr constant [66 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [31 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZNK17MacroExpansionEnt7as_LoopEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZNK16MacroExpandState14getCurLayerEntEv(ptr noundef nonnull align 8 dereferenceable(72) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 16
  %3 = tail call noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %4 = icmp ugt i64 %3, 1
  br i1 %4, label %6, label %5

5:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.72, ptr noundef nonnull @.str.4, i32 noundef 2445, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK16MacroExpandState14getCurLayerEntEv) #3
  unreachable

6:                                                ; preds = %1
  %7 = load ptr, ptr %0, align 8, !tbaa !5
  %8 = tail call noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %.not16 = icmp eq i64 %8, 2
  br i1 %.not16, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %22, %6
  %.0.lcssa = phi ptr [ %7, %6 ], [ %26, %22 ]
  %9 = tail call noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %10 = add i64 %9, -2
  %11 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %10) #2
  %12 = load i32, ptr %11, align 4, !tbaa !18
  %13 = add i32 %12, -1
  %14 = zext i32 %13 to i64
  %15 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.0.lcssa, i64 noundef %14) #2
  ret ptr %15

.lr.ph:                                           ; preds = %6, %22
  %16 = phi i64 [ %28, %22 ], [ 0, %6 ]
  %.015 = phi ptr [ %26, %22 ], [ %7, %6 ]
  %.0914 = phi i32 [ %27, %22 ], [ 0, %6 ]
  %17 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %16) #2
  %18 = load i32, ptr %17, align 4, !tbaa !18
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %.critedge, label %19

19:                                               ; preds = %.lr.ph
  %20 = zext i32 %18 to i64
  %21 = tail call noundef i64 @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %.015) #2
  %.not12 = icmp ult i64 %21, %20
  br i1 %.not12, label %.critedge, label %22

.critedge:                                        ; preds = %.lr.ph, %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.73, ptr noundef nonnull @.str.4, i32 noundef 2451, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK16MacroExpandState14getCurLayerEntEv) #3
  unreachable

22:                                               ; preds = %19
  %23 = add i32 %18, -1
  %24 = zext i32 %23 to i64
  %25 = tail call noundef nonnull align 8 dereferenceable(168) ptr @_ZNKSt6vectorI17MacroExpansionEntSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.015, i64 noundef %24) #2
  %26 = tail call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK17MacroExpansionEnt7as_LoopEv(ptr noundef nonnull align 8 dereferenceable(168) %25)
  %27 = add i32 %.0914, 1
  %28 = zext i32 %27 to i64
  %29 = tail call noundef i64 @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %30 = add i64 %29, -2
  %31 = icmp ugt i64 %30, %28
  br i1 %31, label %.lr.ph, label %._crit_edge, !llvm.loop !21
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNKSt6vectorIN16MacroExpandState8t_offsetESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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 = { 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 = { nounwind }
attributes #3 = { 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, !7, i64 0}
!6 = !{!"_ZTS16MacroExpandState", !7, i64 0, !7, i64 8, !10, i64 16, !14, i64 40, !7, i64 64}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIN16MacroExpandState8t_offsetESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIN16MacroExpandState8t_offsetESaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIN16MacroExpandState8t_offsetESaIS1_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN16MacroExpandState8t_offsetESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"_ZTSSt6vectorIjSaIjEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!18 = !{!19, !20, i64 0}
!19 = !{!"_ZTSN16MacroExpandState8t_offsetE", !20, i64 0, !20, i64 4, !20, i64 8}
!20 = !{!"int", !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


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