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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader12loadFromFileEPKc(ptr noundef nonnull align 8 dereferenceable(201) %0, ptr noundef %1) #1 align 2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %6 = load ptr, ptr %4, align 8
  %7 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 0
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  %9 = icmp ne ptr null, %8
  br i1 %9, label %10, label %16

10:                                               ; preds = %2
  %11 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = icmp eq ptr %12, null
  br i1 %13, label %15, label %14

14:                                               ; preds = %10
  call void @_ZdaPv(ptr noundef %12) #6
  br label %15

15:                                               ; preds = %14, %10
  br label %16

16:                                               ; preds = %15, %2
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = call i64 @strlen(ptr noundef %17) #7
  %19 = add i64 %18, 1
  %20 = call noalias noundef nonnull ptr @_Znam(i64 noundef %19) #8
  %21 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 0
  store ptr %20, ptr %21, align 8, !tbaa !9
  %22 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 0
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call ptr @strcpy(ptr noundef %23, ptr noundef %24) #9
  %26 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 2
  %27 = load ptr, ptr %26, align 8, !tbaa !35
  %28 = icmp eq ptr null, %27
  br i1 %28, label %29, label %32

29:                                               ; preds = %16
  %30 = call noalias noundef nonnull ptr @_Znam(i64 noundef 1040) #8
  %31 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 2
  store ptr %30, ptr %31, align 8, !tbaa !35
  br label %32

32:                                               ; preds = %29, %16
  %33 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 3
  store i32 0, ptr %33, align 8, !tbaa !36
  %34 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 6
  store i8 0, ptr %34, align 1, !tbaa !37
  %35 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 7
  store i8 0, ptr %35, align 2, !tbaa !38
  %36 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 13
  store i8 0, ptr %36, align 2, !tbaa !39
  %37 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 15
  store i32 1, ptr %37, align 4, !tbaa !40
  %38 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 9
  store i32 0, ptr %38, align 4, !tbaa !41
  %39 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 10
  %40 = getelementptr inbounds %"struct._BlackBill::_Loader::SLFSToken", ptr %39, i32 0, i32 0
  store i32 0, ptr %40, align 8, !tbaa !42
  %41 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 11
  store i8 0, ptr %41, align 8, !tbaa !43
  %42 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 12
  store i8 0, ptr %42, align 1, !tbaa !44
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = call noalias ptr @fopen(ptr noundef %43, ptr noundef @.str)
  %45 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 1
  store ptr %44, ptr %45, align 8, !tbaa !45
  %46 = icmp eq ptr %44, null
  br i1 %46, label %47, label %48

47:                                               ; preds = %32
  store i1 false, ptr %3, align 1
  br label %71

48:                                               ; preds = %32
  %49 = call noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader8tokenizeEv(ptr noundef nonnull align 8 dereferenceable(201) %6)
  br i1 %49, label %54, label %50

50:                                               ; preds = %48
  %51 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !45
  %53 = call i32 @fclose(ptr noundef %52)
  store i1 false, ptr %3, align 1
  br label %71

54:                                               ; preds = %48
  %55 = call noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader14syntaxAnalysisEv(ptr noundef nonnull align 8 dereferenceable(201) %6)
  br i1 %55, label %60, label %56

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !45
  %59 = call i32 @fclose(ptr noundef %58)
  store i1 false, ptr %3, align 1
  br label %71

60:                                               ; preds = %54
  %61 = call noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader16semanticAnalysisEv(ptr noundef nonnull align 8 dereferenceable(201) %6)
  br i1 %61, label %67, label %62

62:                                               ; preds = %60
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %64 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 1
  %65 = load ptr, ptr %64, align 8, !tbaa !45
  %66 = call i32 @fclose(ptr noundef %65)
  store i1 false, ptr %3, align 1
  br label %71

67:                                               ; preds = %60
  %68 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %6, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8, !tbaa !45
  %70 = call i32 @fclose(ptr noundef %69)
  store i1 true, ptr %3, align 1
  br label %71

71:                                               ; preds = %67, %62, %56, %50, %47
  %72 = load i1, ptr %3, align 1
  ret i1 %72
}

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #4

declare noalias ptr @fopen(ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader8tokenizeEv(ptr noundef nonnull align 8 dereferenceable(201)) #1 align 2

declare i32 @fclose(ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader14syntaxAnalysisEv(ptr noundef nonnull align 8 dereferenceable(201)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader16semanticAnalysisEv(ptr noundef nonnull align 8 dereferenceable(201)) #1 align 2

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

attributes #0 = { nobuiltin 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 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 willreturn memory(read) "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 = { nobuiltin allocsize(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 "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 #5 = { "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 #6 = { builtin nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { 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 = !{!"_ZTSN10_BlackBill7_Loader13CRawLFSLoaderE", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !11, i64 28, !7, i64 32, !12, i64 33, !12, i64 34, !11, i64 36, !13, i64 40, !12, i64 80, !12, i64 81, !12, i64 82, !11, i64 84, !18, i64 88, !22, i64 112, !26, i64 136, !27, i64 152, !12, i64 200}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSN10_BlackBill7_Loader9SLFSTokenE", !14, i64 0, !15, i64 8}
!14 = !{!"_ZTSN10_BlackBill7_Loader10ETokenTypeE", !7, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSN10_BlackBill7_Loader15SLFSProgramSpecE", !6, i64 0, !6, i64 8}
!27 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10_BlackBill7_Loader13SLFSDataFieldESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N10_BlackBill7_Loader13SLFSDataFieldEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N10_BlackBill7_Loader13SLFSDataFieldEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!30 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !31, i64 0}
!31 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!32 = !{!"_ZTSSt15_Rb_tree_header", !33, i64 0, !17, i64 32}
!33 = !{!"_ZTSSt18_Rb_tree_node_base", !34, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!34 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!35 = !{!10, !6, i64 16}
!36 = !{!10, !11, i64 24}
!37 = !{!10, !12, i64 33}
!38 = !{!10, !12, i64 34}
!39 = !{!10, !12, i64 82}
!40 = !{!10, !11, i64 84}
!41 = !{!10, !11, i64 36}
!42 = !{!10, !14, i64 40}
!43 = !{!10, !12, i64 80}
!44 = !{!10, !12, i64 81}
!45 = !{!10, !6, i64 8}


; 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 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader12loadFromFileEPKc(ptr noundef nonnull align 8 dereferenceable(201) %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 align 2 {
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %5, label %4

4:                                                ; preds = %2
  tail call void @_ZdaPv(ptr noundef nonnull %3) #6
  br label %5

5:                                                ; preds = %4, %2
  %6 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #7
  %7 = add i64 %6, 1
  %8 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %7) #8
  store ptr %8, ptr %0, align 8, !tbaa !5
  %9 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) %1) #9
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load ptr, ptr %10, align 8, !tbaa !34
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %15

13:                                               ; preds = %5
  %14 = tail call noalias noundef nonnull dereferenceable(1040) ptr @_Znam(i64 noundef 1040) #8
  store ptr %14, ptr %10, align 8, !tbaa !34
  br label %15

15:                                               ; preds = %13, %5
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 0, ptr %16, align 8, !tbaa !35
  %17 = getelementptr inbounds i8, ptr %0, i64 33
  store i8 0, ptr %17, align 1, !tbaa !36
  %18 = getelementptr inbounds i8, ptr %0, i64 34
  store i8 0, ptr %18, align 2, !tbaa !37
  %19 = getelementptr inbounds i8, ptr %0, i64 82
  store i8 0, ptr %19, align 2, !tbaa !38
  %20 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 1, ptr %20, align 4, !tbaa !39
  %21 = getelementptr inbounds i8, ptr %0, i64 36
  store i32 0, ptr %21, align 4, !tbaa !40
  %22 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 0, ptr %22, align 8, !tbaa !41
  %23 = getelementptr inbounds i8, ptr %0, i64 80
  store i8 0, ptr %23, align 8, !tbaa !42
  %24 = getelementptr inbounds i8, ptr %0, i64 81
  store i8 0, ptr %24, align 1, !tbaa !43
  %25 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str)
  %26 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %25, ptr %26, align 8, !tbaa !44
  %27 = icmp eq ptr %25, null
  br i1 %27, label %38, label %28

28:                                               ; preds = %15
  %29 = tail call noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader8tokenizeEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  br i1 %29, label %30, label %.sink.split

30:                                               ; preds = %28
  %31 = tail call noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader14syntaxAnalysisEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  br i1 %31, label %32, label %.sink.split

32:                                               ; preds = %30
  %33 = tail call noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader16semanticAnalysisEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  br i1 %33, label %.sink.split, label %34

34:                                               ; preds = %32
  %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.sink.split

.sink.split:                                      ; preds = %32, %30, %28, %34
  %.0.ph = phi i1 [ false, %34 ], [ false, %28 ], [ false, %30 ], [ true, %32 ]
  %36 = load ptr, ptr %26, align 8, !tbaa !44
  %37 = tail call i32 @fclose(ptr noundef %36)
  br label %38

38:                                               ; preds = %.sink.split, %15
  %.0 = phi i1 [ false, %15 ], [ %.0.ph, %.sink.split ]
  ret i1 %.0
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader8tokenizeEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #1 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader14syntaxAnalysisEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader16semanticAnalysisEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #1 align 2

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

attributes #0 = { nobuiltin 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 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 nofree nounwind willreturn memory(argmem: read) "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 = { nobuiltin allocsize(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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #5 = { 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 #6 = { builtin nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { 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_Loader13CRawLFSLoaderE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !8, i64 32, !11, i64 33, !11, i64 34, !10, i64 36, !12, i64 40, !11, i64 80, !11, i64 81, !11, i64 82, !10, i64 84, !17, i64 88, !21, i64 112, !25, i64 136, !26, i64 152, !11, i64 200}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN10_BlackBill7_Loader9SLFSTokenE", !13, i64 0, !14, i64 8}
!13 = !{!"_ZTSN10_BlackBill7_Loader10ETokenTypeE", !8, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !8, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!"_ZTSSt6vectorIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!"_ZTSSt6vectorIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN10_BlackBill7_Loader13SLFSStatementESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!25 = !{!"_ZTSN10_BlackBill7_Loader15SLFSProgramSpecE", !7, i64 0, !7, i64 8}
!26 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10_BlackBill7_Loader13SLFSDataFieldESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !27, i64 0}
!27 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N10_BlackBill7_Loader13SLFSDataFieldEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !28, i64 0}
!28 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N10_BlackBill7_Loader13SLFSDataFieldEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !29, i64 0, !31, i64 8}
!29 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !30, i64 0}
!30 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!31 = !{!"_ZTSSt15_Rb_tree_header", !32, i64 0, !16, i64 32}
!32 = !{!"_ZTSSt18_Rb_tree_node_base", !33, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!33 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!34 = !{!6, !7, i64 16}
!35 = !{!6, !10, i64 24}
!36 = !{!6, !11, i64 33}
!37 = !{!6, !11, i64 34}
!38 = !{!6, !11, i64 82}
!39 = !{!6, !10, i64 84}
!40 = !{!6, !10, i64 36}
!41 = !{!6, !13, i64 40}
!42 = !{!6, !11, i64 80}
!43 = !{!6, !11, i64 81}
!44 = !{!6, !7, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass