; 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.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1

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

7:                                                ; preds = %87, %1
  %8 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %5, i32 0, i32 7
  %9 = load i8, ptr %8, align 2, !tbaa !9, !range !35, !noundef !36
  %10 = trunc i8 %9 to i1
  br i1 %10, label %16, label %11

11:                                               ; preds = %7
  %12 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %5, i32 0, i32 13
  %13 = load i8, ptr %12, align 2, !tbaa !37, !range !35, !noundef !36
  %14 = trunc i8 %13 to i1
  %15 = xor i1 %14, true
  br label %16

16:                                               ; preds = %11, %7
  %17 = phi i1 [ false, %7 ], [ %15, %11 ]
  br i1 %17, label %18, label %88

18:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #4
  %19 = call noundef signext i8 @_ZN10_BlackBill7_Loader13CRawLFSLoader11getNextCharEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  store i8 %19, ptr %4, align 1, !tbaa !38
  %20 = load i8, ptr %4, align 1, !tbaa !38
  %21 = sext i8 %20 to i32
  %22 = icmp eq i32 %21, 61
  br i1 %22, label %23, label %24

23:                                               ; preds = %18
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %5, i32 noundef 3, ptr noundef @.str.2)
  br label %87

24:                                               ; preds = %18
  %25 = load i8, ptr %4, align 1, !tbaa !38
  %26 = sext i8 %25 to i32
  %27 = icmp eq i32 %26, 44
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %5, i32 noundef 12, ptr noundef @.str.3)
  br label %86

29:                                               ; preds = %24
  %30 = load i8, ptr %4, align 1, !tbaa !38
  %31 = sext i8 %30 to i32
  %32 = icmp eq i32 %31, 91
  br i1 %32, label %33, label %34

33:                                               ; preds = %29
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %5, i32 noundef 5, ptr noundef @.str.4)
  br label %85

34:                                               ; preds = %29
  %35 = load i8, ptr %4, align 1, !tbaa !38
  %36 = sext i8 %35 to i32
  %37 = icmp eq i32 %36, 93
  br i1 %37, label %38, label %39

38:                                               ; preds = %34
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %5, i32 noundef 6, ptr noundef @.str.5)
  br label %84

39:                                               ; preds = %34
  %40 = load i8, ptr %4, align 1, !tbaa !38
  %41 = sext i8 %40 to i32
  %42 = icmp eq i32 %41, 123
  br i1 %42, label %43, label %44

43:                                               ; preds = %39
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %5, i32 noundef 10, ptr noundef @.str.6)
  br label %83

44:                                               ; preds = %39
  %45 = load i8, ptr %4, align 1, !tbaa !38
  %46 = sext i8 %45 to i32
  %47 = icmp eq i32 %46, 125
  br i1 %47, label %48, label %49

48:                                               ; preds = %44
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %5, i32 noundef 11, ptr noundef @.str.7)
  br label %82

49:                                               ; preds = %44
  %50 = load i8, ptr %4, align 1, !tbaa !38
  %51 = sext i8 %50 to i32
  %52 = icmp eq i32 %51, 35
  br i1 %52, label %53, label %54

53:                                               ; preds = %49
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader17readSpecialStringEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  br label %81

54:                                               ; preds = %49
  %55 = load i8, ptr %4, align 1, !tbaa !38
  %56 = sext i8 %55 to i32
  %57 = icmp eq i32 %56, 34
  br i1 %57, label %58, label %59

58:                                               ; preds = %54
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader10readStringEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  br label %80

59:                                               ; preds = %54
  %60 = load i8, ptr %4, align 1, !tbaa !38
  %61 = sext i8 %60 to i32
  %62 = icmp sle i32 48, %61
  br i1 %62, label %63, label %67

63:                                               ; preds = %59
  %64 = load i8, ptr %4, align 1, !tbaa !38
  %65 = sext i8 %64 to i32
  %66 = icmp sle i32 %65, 57
  br i1 %66, label %75, label %67

67:                                               ; preds = %63, %59
  %68 = load i8, ptr %4, align 1, !tbaa !38
  %69 = sext i8 %68 to i32
  %70 = icmp eq i32 %69, 45
  br i1 %70, label %75, label %71

71:                                               ; preds = %67
  %72 = load i8, ptr %4, align 1, !tbaa !38
  %73 = sext i8 %72 to i32
  %74 = icmp eq i32 %73, 46
  br i1 %74, label %75, label %77

75:                                               ; preds = %71, %67, %63
  %76 = load i8, ptr %4, align 1, !tbaa !38
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader13ungetNextCharEc(ptr noundef nonnull align 8 dereferenceable(201) %5, i8 noundef signext %76)
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader11readNumericEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  br label %79

77:                                               ; preds = %71
  %78 = load i8, ptr %4, align 1, !tbaa !38
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader13ungetNextCharEc(ptr noundef nonnull align 8 dereferenceable(201) %5, i8 noundef signext %78)
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9readLabelEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  br label %79

79:                                               ; preds = %77, %75
  br label %80

80:                                               ; preds = %79, %58
  br label %81

81:                                               ; preds = %80, %53
  br label %82

82:                                               ; preds = %81, %48
  br label %83

83:                                               ; preds = %82, %43
  br label %84

84:                                               ; preds = %83, %38
  br label %85

85:                                               ; preds = %84, %33
  br label %86

86:                                               ; preds = %85, %28
  br label %87

87:                                               ; preds = %86, %23
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #4
  br label %7, !llvm.loop !39

88:                                               ; preds = %16
  %89 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %5, i32 0, i32 20
  %90 = load i8, ptr %89, align 8, !tbaa !41, !range !35, !noundef !36
  %91 = trunc i8 %90 to i1
  br i1 %91, label %92, label %93

92:                                               ; preds = %88
  call void @_ZN10_BlackBill7_Loader13CRawLFSLoader10showTokensEv(ptr noundef nonnull align 8 dereferenceable(201) %5)
  br label %93

93:                                               ; preds = %92, %88
  %94 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %5, i32 0, i32 13
  %95 = load i8, ptr %94, align 2, !tbaa !37, !range !35, !noundef !36
  %96 = trunc i8 %95 to i1
  br i1 %96, label %97, label %101

97:                                               ; preds = %93
  %98 = getelementptr inbounds %"class._BlackBill::_Loader::CRawLFSLoader", ptr %5, i32 0, i32 15
  %99 = load i32, ptr %98, align 4, !tbaa !42
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %99)
  store i1 false, ptr %2, align 1
  br label %102

101:                                              ; preds = %93
  store i1 true, ptr %2, align 1
  br label %102

102:                                              ; preds = %101, %97
  %103 = load i1, ptr %2, align 1
  ret i1 %103
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i8 @_ZN10_BlackBill7_Loader13CRawLFSLoader11getNextCharEv(ptr noundef nonnull align 8 dereferenceable(201)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201), i32 noundef, ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader17readSpecialStringEv(ptr noundef nonnull align 8 dereferenceable(201)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader10readStringEv(ptr noundef nonnull align 8 dereferenceable(201)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader13ungetNextCharEc(ptr noundef nonnull align 8 dereferenceable(201), i8 noundef signext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader11readNumericEv(ptr noundef nonnull align 8 dereferenceable(201)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader9readLabelEv(ptr noundef nonnull align 8 dereferenceable(201)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader10showTokensEv(ptr noundef nonnull align 8 dereferenceable(201)) #0 align 2

attributes #0 = { 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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !12, i64 34}
!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 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!10, !12, i64 82}
!38 = !{!7, !7, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!10, !12, i64 200}
!42 = !{!10, !11, i64 84}


; 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.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10_BlackBill7_Loader13CRawLFSLoader8tokenizeEv(ptr noundef nonnull align 8 dereferenceable(201) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorIN10_BlackBill7_Loader9SLFSTokenESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %3 = getelementptr inbounds i8, ptr %0, i64 34
  %4 = load i8, ptr %3, align 2, !tbaa !5, !range !34, !noundef !35
  %5 = trunc nuw i8 %4 to i1
  br i1 %5, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 82
  br label %7

7:                                                ; preds = %.lr.ph, %26
  %8 = load i8, ptr %6, align 2, !tbaa !36, !range !34, !noundef !35
  %9 = trunc nuw i8 %8 to i1
  br i1 %9, label %.critedge, label %10

10:                                               ; preds = %7
  %11 = tail call noundef signext i8 @_ZN10_BlackBill7_Loader13CRawLFSLoader11getNextCharEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  switch i8 %11, label %20 [
    i8 61, label %12
    i8 44, label %13
    i8 91, label %14
    i8 93, label %15
    i8 123, label %16
    i8 125, label %17
    i8 35, label %18
    i8 34, label %19
  ]

12:                                               ; preds = %10
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %0, i32 noundef 3, ptr noundef nonnull @.str.2)
  br label %26

13:                                               ; preds = %10
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %0, i32 noundef 12, ptr noundef nonnull @.str.3)
  br label %26

14:                                               ; preds = %10
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %0, i32 noundef 5, ptr noundef nonnull @.str.4)
  br label %26

15:                                               ; preds = %10
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %0, i32 noundef 6, ptr noundef nonnull @.str.5)
  br label %26

16:                                               ; preds = %10
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %0, i32 noundef 10, ptr noundef nonnull @.str.6)
  br label %26

17:                                               ; preds = %10
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201) %0, i32 noundef 11, ptr noundef nonnull @.str.7)
  br label %26

18:                                               ; preds = %10
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader17readSpecialStringEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  br label %26

19:                                               ; preds = %10
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader10readStringEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  br label %26

20:                                               ; preds = %10
  %21 = add i8 %11, -48
  %or.cond = icmp ult i8 %21, 10
  %22 = add i8 %11, -45
  %23 = icmp ult i8 %22, 2
  %or.cond8 = or i1 %or.cond, %23
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader13ungetNextCharEc(ptr noundef nonnull align 8 dereferenceable(201) %0, i8 noundef signext %11)
  br i1 %or.cond8, label %24, label %25

24:                                               ; preds = %20
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader11readNumericEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  br label %26

25:                                               ; preds = %20
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader9readLabelEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  br label %26

26:                                               ; preds = %13, %15, %17, %19, %25, %24, %18, %16, %14, %12
  %27 = load i8, ptr %3, align 2, !tbaa !5, !range !34, !noundef !35
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %.critedge, label %7, !llvm.loop !37

.critedge:                                        ; preds = %7, %26, %1
  %29 = getelementptr inbounds i8, ptr %0, i64 200
  %30 = load i8, ptr %29, align 8, !tbaa !39, !range !34, !noundef !35
  %31 = trunc nuw i8 %30 to i1
  br i1 %31, label %32, label %33

32:                                               ; preds = %.critedge
  tail call void @_ZN10_BlackBill7_Loader13CRawLFSLoader10showTokensEv(ptr noundef nonnull align 8 dereferenceable(201) %0)
  br label %33

33:                                               ; preds = %32, %.critedge
  %34 = getelementptr inbounds i8, ptr %0, i64 82
  %35 = load i8, ptr %34, align 2, !tbaa !36, !range !34, !noundef !35
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %37, label %41

37:                                               ; preds = %33
  %38 = getelementptr inbounds i8, ptr %0, i64 84
  %39 = load i32, ptr %38, align 4, !tbaa !40
  %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %39)
  br label %41

41:                                               ; preds = %33, %37
  %.0 = xor i1 %36, true
  ret i1 %.0
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i8 @_ZN10_BlackBill7_Loader13CRawLFSLoader11getNextCharEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader9skipSpaceEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader8addTokenENS0_10ETokenTypeEPKc(ptr noundef nonnull align 8 dereferenceable(201), i32 noundef, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader17readSpecialStringEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader10readStringEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader13ungetNextCharEc(ptr noundef nonnull align 8 dereferenceable(201), i8 noundef signext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader11readNumericEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader9readLabelEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10_BlackBill7_Loader13CRawLFSLoader10showTokensEv(ptr noundef nonnull align 8 dereferenceable(201)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 #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 = { 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, !11, i64 34}
!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 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!6, !11, i64 82}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!6, !11, i64 200}
!40 = !{!6, !10, i64 84}


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