; LLVM IR from Yinxiaoli/iros2015_folding :: src/folding_planner_cmake/lib/blackbill/loader (rawlfsloader)

; 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._BlackBill::_Loader::CRawLFSLoader" = type <{ ptr, ptr, ptr, i32, i32, i8, i8, i8, i8, i32, %"struct._BlackBill::_Loader::SLFSToken", i8, i8, i8, i8, i32, %"class.std::vector", %"class.std::vector.3", %"struct._BlackBill::_Loader::SLFSProgramSpec", %"class.std::map", i8, [7 x i8] }>
%"struct._BlackBill::_Loader::SLFSToken" = type { i32, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<_BlackBill::_Loader::SLFSToken, std::allocator<_BlackBill::_Loader::SLFSToken>>::_Vector_impl" }
%"struct.std::_Vector_base<_BlackBill::_Loader::SLFSToken, std::allocator<_BlackBill::_Loader::SLFSToken>>::_Vector_impl" = type { %"struct.std::_Vector_base<_BlackBill::_Loader::SLFSToken, std::allocator<_BlackBill::_Loader::SLFSToken>>::_Vector_impl_data" }
%"struct.std::_Vector_base<_BlackBill::_Loader::SLFSToken, std::allocator<_BlackBill::_Loader::SLFSToken>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<_BlackBill::_Loader::SLFSStatement, std::allocator<_BlackBill::_Loader::SLFSStatement>>::_Vector_impl" }
%"struct.std::_Vector_base<_BlackBill::_Loader::SLFSStatement, std::allocator<_BlackBill::_Loader::SLFSStatement>>::_Vector_impl" = type { %"struct.std::_Vector_base<_BlackBill::_Loader::SLFSStatement, std::allocator<_BlackBill::_Loader::SLFSStatement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<_BlackBill::_Loader::SLFSStatement, std::allocator<_BlackBill::_Loader::SLFSStatement>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct._BlackBill::_Loader::SLFSProgramSpec" = type { ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, _BlackBill::_Loader::SLFSDataField>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, _BlackBill::_Loader::SLFSDataField>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, _BlackBill::_Loader::SLFSDataField>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, _BlackBill::_Loader::SLFSDataField>>, std::less<std::__cxx11::basic_string<char>>>::_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 }
%"struct._BlackBill::_Loader::SLFSStatement" = type { i32, %"class.std::vector.11" }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<_BlackBill::_Loader::SLFSStatementElement, std::allocator<_BlackBill::_Loader::SLFSStatementElement>>::_Vector_impl" }
%"struct.std::_Vector_base<_BlackBill::_Loader::SLFSStatementElement, std::allocator<_BlackBill::_Loader::SLFSStatementElement>>::_Vector_impl" = type { %"struct.std::_Vector_base<_BlackBill::_Loader::SLFSStatementElement, std::allocator<_BlackBill::_Loader::SLFSStatementElement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<_BlackBill::_Loader::SLFSStatementElement, std::allocator<_BlackBill::_Loader::SLFSStatementElement>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct._BlackBill::_Loader::SLFSStatementElement" = type { i32, i32, %"class.std::__cxx11::basic_string" }

@_ZN10_BlackBill7_LoaderL9TOKENNAMEE = external hidden constant [14 x [256 x i8]], align 16
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZN10_BlackBill7_LoaderL13STATEMENTNAMEE = external hidden constant [5 x [256 x i8]], align 16
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZN10_BlackBill7_LoaderL16STATEELEMENTNAMEE = external hidden constant [5 x [256 x i8]], align 16
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @printf(ptr noundef, ...) #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader14showStatementsEv(ptr noundef nonnull align 8 dereferenceable(201) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %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
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %7

7:                                                ; preds = %79, %1
  %8 = load i32, ptr %3, align 4, !tbaa !9
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 17
  %11 = call noundef i64 @_ZNKSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  %12 = icmp ult i64 %9, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %7
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %82

14:                                               ; preds = %7
  %15 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 17
  %16 = load i32, ptr %3, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %17) #4
  %19 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatement", ptr %18, i32 0, i32 0
  %20 = load i32, ptr %19, align 8, !tbaa !11
  %21 = zext i32 %20 to i64
  %22 = getelementptr inbounds [5 x [256 x i8]], ptr @_ZN10_BlackBill7_LoaderL13STATEMENTNAMEE, i64 0, i64 %21
  %23 = getelementptr inbounds [256 x i8], ptr %22, i64 0, i64 0
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %23)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %74, %14
  %26 = load i32, ptr %5, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 17
  %29 = load i32, ptr %3, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  %31 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %30) #4
  %32 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatement", ptr %31, i32 0, i32 1
  %33 = call noundef i64 @_ZNKSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  %34 = icmp ult i64 %27, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %25
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %77

36:                                               ; preds = %25
  %37 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 17
  %38 = load i32, ptr %3, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %39) #4
  %41 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatement", ptr %40, i32 0, i32 1
  %42 = load i32, ptr %5, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %43) #4
  %45 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %44, i32 0, i32 0
  %46 = load i32, ptr %45, align 8, !tbaa !18
  %47 = zext i32 %46 to i64
  %48 = getelementptr inbounds [5 x [256 x i8]], ptr @_ZN10_BlackBill7_LoaderL16STATEELEMENTNAMEE, i64 0, i64 %47
  %49 = getelementptr inbounds [256 x i8], ptr %48, i64 0, i64 0
  %50 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 17
  %51 = load i32, ptr %3, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %52) #4
  %54 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatement", ptr %53, i32 0, i32 1
  %55 = load i32, ptr %5, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %56) #4
  %58 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %57, i32 0, i32 1
  %59 = load i32, ptr %58, align 4, !tbaa !25
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds [14 x [256 x i8]], ptr @_ZN10_BlackBill7_LoaderL9TOKENNAMEE, i64 0, i64 %60
  %62 = getelementptr inbounds [256 x i8], ptr %61, i64 0, i64 0
  %63 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 17
  %64 = load i32, ptr %3, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %65) #4
  %67 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatement", ptr %66, i32 0, i32 1
  %68 = load i32, ptr %5, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %69) #4
  %71 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %70, i32 0, i32 2
  %72 = call noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %71) #4
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %49, ptr noundef %62, ptr noundef %72)
  br label %74

74:                                               ; preds = %36
  %75 = load i32, ptr %5, align 4, !tbaa !9
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %5, align 4, !tbaa !9
  br label %25, !llvm.loop !26

77:                                               ; preds = %35
  %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  br label %79

79:                                               ; preds = %77
  %80 = load i32, ptr %3, align 4, !tbaa !9
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %3, align 4, !tbaa !9
  br label %7, !llvm.loop !28

82:                                               ; preds = %13
  ret void
}

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

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

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

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

attributes #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 = { 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 }

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN10_BlackBill7_Loader13SLFSStatementE", !13, i64 0, !14, i64 8}
!13 = !{!"_ZTSN10_BlackBill7_Loader14EStatementTypeE", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!19, !20, i64 0}
!19 = !{!"_ZTSN10_BlackBill7_Loader20SLFSStatementElementE", !20, i64 0, !21, i64 4, !22, i64 8}
!20 = !{!"_ZTSN10_BlackBill7_Loader21EStatementElementTypeE", !7, i64 0}
!21 = !{!"_ZTSN10_BlackBill7_Loader10ETokenTypeE", !7, i64 0}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !7, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!19, !21, i64 4}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}


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

@_ZN10_BlackBill7_LoaderL9TOKENNAMEE = external hidden constant [14 x [256 x i8]], align 16
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZN10_BlackBill7_LoaderL13STATEMENTNAMEE = external hidden constant [5 x [256 x i8]], align 16
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZN10_BlackBill7_LoaderL16STATEELEMENTNAMEE = external hidden constant [5 x [256 x i8]], align 16
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader14showStatementsEv(ptr noundef nonnull align 8 dereferenceable(201) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 112
  %3 = tail call noundef i64 @_ZNKSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %._crit_edge19, label %.lr.ph18

._crit_edge19:                                    ; preds = %._crit_edge, %1
  ret void

.lr.ph18:                                         ; preds = %1, %._crit_edge
  %indvars.iv22 = phi i64 [ %indvars.iv.next23, %._crit_edge ], [ 0, %1 ]
  %4 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv22) #2
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = zext i32 %5 to i64
  %7 = getelementptr inbounds [5 x [256 x i8]], ptr @_ZN10_BlackBill7_LoaderL13STATEMENTNAMEE, i64 0, i64 %6
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull %7)
  %9 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv22) #2
  %10 = getelementptr inbounds i8, ptr %9, i64 8
  %11 = tail call noundef i64 @_ZNKSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #2
  %.not20 = icmp eq i64 %11, 0
  br i1 %.not20, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph18
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22, 1
  %13 = tail call noundef i64 @_ZNKSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %14 = icmp ugt i64 %13, %indvars.iv.next23
  br i1 %14, label %.lr.ph18, label %._crit_edge19, !llvm.loop !15

.lr.ph:                                           ; preds = %.lr.ph18, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph18 ]
  %15 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv22) #2
  %16 = getelementptr inbounds i8, ptr %15, i64 8
  %17 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv) #2
  %18 = load i32, ptr %17, align 8, !tbaa !17
  %19 = zext i32 %18 to i64
  %20 = getelementptr inbounds [5 x [256 x i8]], ptr @_ZN10_BlackBill7_LoaderL16STATEELEMENTNAMEE, i64 0, i64 %19
  %21 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv22) #2
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %indvars.iv) #2
  %24 = getelementptr inbounds i8, ptr %23, i64 4
  %25 = load i32, ptr %24, align 4, !tbaa !24
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds [14 x [256 x i8]], ptr @_ZN10_BlackBill7_LoaderL9TOKENNAMEE, i64 0, i64 %26
  %28 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv22) #2
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv) #2
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = tail call noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %31) #2
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef nonnull %20, ptr noundef nonnull %27, ptr noundef %32)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %34 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv22) #2
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = tail call noundef i64 @_ZNKSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #2
  %37 = icmp ugt i64 %36, %indvars.iv.next
  br i1 %37, label %.lr.ph, label %._crit_edge, !llvm.loop !25
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_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(32) ptr @_ZNSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_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(40) ptr @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

attributes #0 = { nofree 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 }

!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 = !{!"_ZTSN10_BlackBill7_Loader13SLFSStatementE", !7, i64 0, !10, i64 8}
!7 = !{!"_ZTSN10_BlackBill7_Loader14EStatementTypeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTSN10_BlackBill7_Loader20SLFSStatementElementE", !19, i64 0, !20, i64 4, !21, i64 8}
!19 = !{!"_ZTSN10_BlackBill7_Loader21EStatementElementTypeE", !8, i64 0}
!20 = !{!"_ZTSN10_BlackBill7_Loader10ETokenTypeE", !8, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !8, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!23 = !{!"long", !8, i64 0}
!24 = !{!18, !20, i64 4}
!25 = distinct !{!25, !16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass