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

%"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] }
%"struct._BlackBill::_Loader::SLFSStatementElement" = type { i32, i32, %"class.std::__cxx11::basic_string" }

@.str.14 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

; 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 uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader12getNextTokenEv(ptr dead_on_unwind noalias writable sret(%"struct._BlackBill::_Loader::SLFSToken") align 8, ptr noundef nonnull align 8 dereferenceable(201)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10_BlackBill7_Loader20SLFSStatementElementC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader24readSubStatementBlancketEPSt6vectorINS0_20SLFSStatementElementESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(201) %0, ptr noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct._BlackBill::_Loader::SLFSToken", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct._BlackBill::_Loader::SLFSToken", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct._BlackBill::_Loader::SLFSStatementElement", align 8
  %12 = alloca %"struct._BlackBill::_Loader::SLFSToken", align 8
  %13 = alloca %"struct._BlackBill::_Loader::SLFSStatementElement", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #3
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader12getNextTokenEv(ptr dead_on_unwind writable sret(%"struct._BlackBill::_Loader::SLFSToken") align 8 %6, ptr noundef nonnull align 8 dereferenceable(201) %14)
  %15 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSToken", ptr %6, i32 0, i32 0
  %16 = load i32, ptr %15, align 8, !tbaa !9
  %17 = icmp ne i32 %16, 5
  br i1 %17, label %18, label %19

18:                                               ; preds = %2
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %79

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #3
  invoke void @_ZN10_BlackBill7_Loader13CRawLFSLoader12getNextTokenEv(ptr dead_on_unwind writable sret(%"struct._BlackBill::_Loader::SLFSToken") align 8 %8, ptr noundef nonnull align 8 dereferenceable(201) %14)
          to label %20 unwind label %32

20:                                               ; preds = %19
  %21 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSToken", ptr %8, i32 0, i32 0
  %22 = load i32, ptr %21, align 8, !tbaa !9
  %23 = icmp eq i32 %22, 6
  br i1 %23, label %24, label %40

24:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #3
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #3
  %25 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %11, i32 0, i32 0
  store i32 3, ptr %25, align 8, !tbaa !15
  %26 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %11, i32 0, i32 1
  store i32 13, ptr %26, align 4, !tbaa !18
  %27 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %11, i32 0, i32 2
  %28 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.14)
          to label %29 unwind label %36

29:                                               ; preds = %24
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %31 unwind label %36

31:                                               ; preds = %29
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #3
  br label %75

32:                                               ; preds = %19
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %9, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %10, align 4
  br label %78

36:                                               ; preds = %29, %24
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %9, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %10, align 4
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #3
  br label %77

40:                                               ; preds = %20
  %41 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSToken", ptr %8, i32 0, i32 0
  %42 = load i32, ptr %41, align 8, !tbaa !9
  %43 = icmp eq i32 %42, 8
  br i1 %43, label %44, label %73

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #3
  invoke void @_ZN10_BlackBill7_Loader13CRawLFSLoader12getNextTokenEv(ptr dead_on_unwind writable sret(%"struct._BlackBill::_Loader::SLFSToken") align 8 %12, ptr noundef nonnull align 8 dereferenceable(201) %14)
          to label %45 unwind label %50

45:                                               ; preds = %44
  %46 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSToken", ptr %12, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !9
  %48 = icmp ne i32 %47, 6
  br i1 %48, label %49, label %54

49:                                               ; preds = %45
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %65

50:                                               ; preds = %44
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %9, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %10, align 4
  br label %72

54:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #3
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #3
  %55 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %13, i32 0, i32 0
  store i32 3, ptr %55, align 8, !tbaa !15
  %56 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSToken", ptr %8, i32 0, i32 0
  %57 = load i32, ptr %56, align 8, !tbaa !9
  %58 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %13, i32 0, i32 1
  store i32 %57, ptr %58, align 4, !tbaa !18
  %59 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSToken", ptr %8, i32 0, i32 1
  %60 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSStatementElement", ptr %13, i32 0, i32 2
  %61 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %59)
          to label %62 unwind label %68

62:                                               ; preds = %54
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %64 unwind label %68

64:                                               ; preds = %62
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #3
  store i32 0, ptr %7, align 4
  br label %65

65:                                               ; preds = %64, %49
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #3
  %66 = load i32, ptr %7, align 4
  switch i32 %66, label %76 [
    i32 0, label %67
  ]

67:                                               ; preds = %65
  br label %74

68:                                               ; preds = %62, %54
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %9, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %10, align 4
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #3
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #3
  br label %72

72:                                               ; preds = %68, %50
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #3
  br label %77

73:                                               ; preds = %40
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %76

74:                                               ; preds = %67
  br label %75

75:                                               ; preds = %74, %31
  store i1 true, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %76

76:                                               ; preds = %75, %73, %65
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #3
  br label %79

77:                                               ; preds = %72, %36
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #3
  br label %78

78:                                               ; preds = %77, %32
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #3
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #3
  br label %81

79:                                               ; preds = %76, %18
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #3
  %80 = load i1, ptr %3, align 1
  ret i1 %80

81:                                               ; preds = %78
  %82 = load ptr, ptr %9, align 8
  %83 = load i32, ptr %10, align 4
  %84 = insertvalue { ptr, i32 } poison, ptr %82, 0
  %85 = insertvalue { ptr, i32 } %84, i32 %83, 1
  resume { ptr, i32 } %85
}

attributes #0 = { inlinehint 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !11, i64 0}
!10 = !{!"_ZTSN10_BlackBill7_Loader9SLFSTokenE", !11, i64 0, !12, i64 8}
!11 = !{!"_ZTSN10_BlackBill7_Loader10ETokenTypeE", !7, i64 0}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !14, i64 8, !7, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSN10_BlackBill7_Loader20SLFSStatementElementE", !17, i64 0, !11, i64 4, !12, i64 8}
!17 = !{!"_ZTSN10_BlackBill7_Loader21EStatementElementTypeE", !7, i64 0}
!18 = !{!16, !11, i64 4}


; 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._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] }
%"struct._BlackBill::_Loader::SLFSStatementElement" = type { i32, i32, %"class.std::__cxx11::basic_string" }

@.str.14 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader12getNextTokenEv(ptr dead_on_unwind noalias writable sret(%"struct._BlackBill::_Loader::SLFSToken") align 8, ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10_BlackBill7_Loader20SLFSStatementElementC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader24readSubStatementBlancketEPSt6vectorINS0_20SLFSStatementElementESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(201) %0, ptr noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct._BlackBill::_Loader::SLFSToken", align 8
  %4 = alloca %"struct._BlackBill::_Loader::SLFSToken", align 8
  %5 = alloca %"struct._BlackBill::_Loader::SLFSStatementElement", align 8
  %6 = alloca %"struct._BlackBill::_Loader::SLFSToken", align 8
  %7 = alloca %"struct._BlackBill::_Loader::SLFSStatementElement", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #3
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader12getNextTokenEv(ptr dead_on_unwind nonnull writable sret(%"struct._BlackBill::_Loader::SLFSToken") align 8 %3, ptr noundef nonnull align 8 dereferenceable(201) %0)
  %8 = load i32, ptr %3, align 8, !tbaa !5
  %.not = icmp eq i32 %8, 5
  br i1 %.not, label %9, label %41

9:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #3
  invoke void @_ZN10_BlackBill7_Loader13CRawLFSLoader12getNextTokenEv(ptr dead_on_unwind nonnull writable sret(%"struct._BlackBill::_Loader::SLFSToken") align 8 %4, ptr noundef nonnull align 8 dereferenceable(201) %0)
          to label %10 unwind label %18

10:                                               ; preds = %9
  %11 = load i32, ptr %4, align 8, !tbaa !5
  switch i32 %11, label %38 [
    i32 6, label %12
    i32 8, label %22
  ]

12:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #3
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  store i32 3, ptr %5, align 8, !tbaa !14
  %13 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 13, ptr %13, align 4, !tbaa !17
  %14 = getelementptr inbounds i8, ptr %5, i64 8
  %15 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.14)
          to label %16 unwind label %20

16:                                               ; preds = %12
  invoke void @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(40) %5)
          to label %17 unwind label %20

17:                                               ; preds = %16
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #3
  br label %38

18:                                               ; preds = %9
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %40

20:                                               ; preds = %16, %12
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #3
  br label %39

22:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #3
  invoke void @_ZN10_BlackBill7_Loader13CRawLFSLoader12getNextTokenEv(ptr dead_on_unwind nonnull writable sret(%"struct._BlackBill::_Loader::SLFSToken") align 8 %6, ptr noundef nonnull align 8 dereferenceable(201) %0)
          to label %23 unwind label %25

23:                                               ; preds = %22
  %24 = load i32, ptr %6, align 8, !tbaa !5
  %.not14 = icmp eq i32 %24, 6
  br i1 %.not14, label %27, label %.critedge

25:                                               ; preds = %22
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %37

27:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #3
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #3
  store i32 3, ptr %7, align 8, !tbaa !14
  %28 = load i32, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %7, i64 4
  store i32 %28, ptr %29, align 4, !tbaa !17
  %30 = getelementptr inbounds i8, ptr %4, i64 8
  %31 = getelementptr inbounds i8, ptr %7, i64 8
  %32 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %33 unwind label %35

33:                                               ; preds = %27
  invoke void @_ZNSt6vectorIN10_BlackBill7_Loader20SLFSStatementElementESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %34 unwind label %35

34:                                               ; preds = %33
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #3
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #3
  br label %38

35:                                               ; preds = %33, %27
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10_BlackBill7_Loader20SLFSStatementElementD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #3
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #3
  br label %37

37:                                               ; preds = %35, %25
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #3
  br label %39

.critedge:                                        ; preds = %23
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #3
  br label %38

38:                                               ; preds = %17, %34, %10, %.critedge
  %.111 = phi i1 [ false, %.critedge ], [ false, %10 ], [ true, %34 ], [ true, %17 ]
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #3
  br label %41

39:                                               ; preds = %37, %20
  %.pn16 = phi { ptr, i32 } [ %21, %20 ], [ %.pn, %37 ]
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br label %40

40:                                               ; preds = %39, %18
  %.pn16.pn = phi { ptr, i32 } [ %.pn16, %39 ], [ %19, %18 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #3
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3
  resume { ptr, i32 } %.pn16.pn

41:                                               ; preds = %2, %38
  %.212 = phi i1 [ %.111, %38 ], [ false, %2 ]
  call void @_ZN10_BlackBill7_Loader9SLFSTokenD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3
  ret i1 %.212
}

attributes #0 = { inlinehint 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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_Loader9SLFSTokenE", !7, i64 0, !10, i64 8}
!7 = !{!"_ZTSN10_BlackBill7_Loader10ETokenTypeE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !13, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTSN10_BlackBill7_Loader20SLFSStatementElementE", !16, i64 0, !7, i64 4, !10, i64 8}
!16 = !{!"_ZTSN10_BlackBill7_Loader21EStatementElementTypeE", !8, i64 0}
!17 = !{!15, !7, i64 4}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass