; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/bench (analyze-blocking-sizes)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%struct.preprocessed_inputfile_t = type { %"class.std::__cxx11::basic_string", %"class.std::vector.3" }
%"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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<preprocessed_inputfile_entry_t, std::allocator<preprocessed_inputfile_entry_t>>::_Vector_impl" }
%"struct.std::_Vector_base<preprocessed_inputfile_entry_t, std::allocator<preprocessed_inputfile_entry_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<preprocessed_inputfile_entry_t, std::allocator<preprocessed_inputfile_entry_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<preprocessed_inputfile_entry_t, std::allocator<preprocessed_inputfile_entry_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.preprocessed_inputfile_entry_t = type { i16, i16, float }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z35check_all_files_in_same_exact_orderRKSt6vectorI24preprocessed_inputfile_tSaIS0_EE(ptr noundef nonnull align 8 dereferenceable(24) %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i16, align 2
  %9 = alloca i16, align 2
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = call noundef zeroext i1 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br i1 %13, label %14, label %15

14:                                               ; preds = %1
  br label %120

15:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #5
  store ptr %17, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %18, i32 0, i32 1
  %20 = call noundef i64 @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  store i64 %20, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store i64 0, ptr %5, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %48, %15
  %22 = load i64, ptr %5, align 8, !tbaa !9
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = call noundef i64 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %25 = icmp ult i64 %22, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %51

27:                                               ; preds = %21
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = load i64, ptr %5, align 8, !tbaa !9
  %30 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %29) #5
  %31 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %30, i32 0, i32 1
  %32 = call noundef i64 @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %33 = load i64, ptr %4, align 8, !tbaa !9
  %34 = icmp ne i64 %32, %33
  br i1 %34, label %35, label %47

35:                                               ; preds = %27
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.3)
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = load i64, ptr %5, align 8, !tbaa !9
  %39 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %38) #5
  %40 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %39, i32 0, i32 0
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(32) %40)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef @.str.4)
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %43, i32 0, i32 0
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(32) %44)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 1) #6
  unreachable

47:                                               ; preds = %27
  br label %48

48:                                               ; preds = %47
  %49 = load i64, ptr %5, align 8, !tbaa !9
  %50 = add i64 %49, 1
  store i64 %50, ptr %5, align 8, !tbaa !9
  br label %21, !llvm.loop !11

51:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store i64 0, ptr %6, align 8, !tbaa !9
  br label %52

52:                                               ; preds = %116, %51
  %53 = load i64, ptr %6, align 8, !tbaa !9
  %54 = load i64, ptr %4, align 8, !tbaa !9
  %55 = icmp ult i64 %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %119

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #5
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %58, i32 0, i32 1
  %60 = load i64, ptr %6, align 8, !tbaa !9
  %61 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %60) #5
  %62 = getelementptr inbounds %struct.preprocessed_inputfile_entry_t, ptr %61, i32 0, i32 0
  %63 = load i16, ptr %62, align 4, !tbaa !13
  store i16 %63, ptr %8, align 2, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #5
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %64, i32 0, i32 1
  %66 = load i64, ptr %6, align 8, !tbaa !9
  %67 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %66) #5
  %68 = getelementptr inbounds %struct.preprocessed_inputfile_entry_t, ptr %67, i32 0, i32 1
  %69 = load i16, ptr %68, align 2, !tbaa !18
  store i16 %69, ptr %9, align 2, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %112, %57
  %71 = load i64, ptr %10, align 8, !tbaa !9
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = call noundef i64 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #5
  %74 = icmp ult i64 %71, %73
  br i1 %74, label %76, label %75

75:                                               ; preds = %70
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %115

76:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = load i64, ptr %10, align 8, !tbaa !9
  %79 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %78) #5
  store ptr %79, ptr %11, align 8, !tbaa !5
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %80, i32 0, i32 1
  %82 = load i64, ptr %6, align 8, !tbaa !9
  %83 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %82) #5
  %84 = getelementptr inbounds %struct.preprocessed_inputfile_entry_t, ptr %83, i32 0, i32 0
  %85 = load i16, ptr %84, align 4, !tbaa !13
  %86 = zext i16 %85 to i32
  %87 = load i16, ptr %8, align 2, !tbaa !17
  %88 = zext i16 %87 to i32
  %89 = icmp ne i32 %86, %88
  br i1 %89, label %101, label %90

90:                                               ; preds = %76
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %91, i32 0, i32 1
  %93 = load i64, ptr %6, align 8, !tbaa !9
  %94 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %93) #5
  %95 = getelementptr inbounds %struct.preprocessed_inputfile_entry_t, ptr %94, i32 0, i32 1
  %96 = load i16, ptr %95, align 2, !tbaa !18
  %97 = zext i16 %96 to i32
  %98 = load i16, ptr %9, align 2, !tbaa !17
  %99 = zext i16 %98 to i32
  %100 = icmp ne i32 %97, %99
  br i1 %100, label %101, label %111

101:                                              ; preds = %90, %76
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.5)
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %103, i32 0, i32 0
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull align 8 dereferenceable(32) %104)
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef @.str.4)
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %107, i32 0, i32 0
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef nonnull align 8 dereferenceable(32) %108)
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 1) #6
  unreachable

111:                                              ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %112

112:                                              ; preds = %111
  %113 = load i64, ptr %10, align 8, !tbaa !9
  %114 = add i64 %113, 1
  store i64 %114, ptr %10, align 8, !tbaa !9
  br label %70, !llvm.loop !19

115:                                              ; preds = %75
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #5
  br label %116

116:                                              ; preds = %115
  %117 = load i64, ptr %6, align 8, !tbaa !9
  %118 = add i64 %117, 1
  store i64 %118, ptr %6, align 8, !tbaa !9
  br label %52, !llvm.loop !20

119:                                              ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %120

120:                                              ; preds = %119, %14
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 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 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 #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS30preprocessed_inputfile_entry_t", !15, i64 0, !15, i64 2, !16, i64 4}
!15 = !{!"short", !7, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!15, !15, i64 0}
!18 = !{!14, !15, i64 2}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z35check_all_files_in_same_exact_orderRKSt6vectorI24preprocessed_inputfile_tSaIS0_EE(ptr noundef nonnull align 8 dereferenceable(24) %0) local_unnamed_addr #1 {
  %2 = tail call noundef zeroext i1 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br i1 %2, label %.loopexit, label %3

3:                                                ; preds = %1
  %4 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #4
  %5 = getelementptr inbounds i8, ptr %4, i64 32
  %6 = tail call noundef i64 @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %7 = tail call noundef i64 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %.not41 = icmp eq i64 %7, 0
  br i1 %.not41, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %18, %3
  %.not42 = icmp eq i64 %6, 0
  br i1 %.not42, label %.loopexit, label %.lr.ph40

.lr.ph:                                           ; preds = %3, %18
  %.036 = phi i64 [ %19, %18 ], [ 0, %3 ]
  %8 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.036) #4
  %9 = getelementptr inbounds i8, ptr %8, i64 32
  %10 = tail call noundef i64 @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %.not34 = icmp eq i64 %10, %6
  br i1 %.not34, label %18, label %11

11:                                               ; preds = %.lr.ph
  %12 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.3)
  %13 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.036) #4
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(32) %13)
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull @.str.4)
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @exit(i32 noundef 1) #5
  unreachable

18:                                               ; preds = %.lr.ph
  %19 = add nuw i64 %.036, 1
  %20 = tail call noundef i64 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %21 = icmp ult i64 %19, %20
  br i1 %21, label %.lr.ph, label %.preheader, !llvm.loop !5

.lr.ph40:                                         ; preds = %.preheader, %._crit_edge
  %.03239 = phi i64 [ %32, %._crit_edge ], [ 0, %.preheader ]
  %22 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.03239) #4
  %23 = load i16, ptr %22, align 4, !tbaa !7
  %24 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.03239) #4
  %25 = getelementptr inbounds i8, ptr %24, i64 2
  %26 = load i16, ptr %25, align 2, !tbaa !13
  %27 = tail call noundef i64 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %.not43 = icmp eq i64 %27, 0
  br i1 %.not43, label %._crit_edge, label %.lr.ph38

28:                                               ; preds = %37
  %29 = add nuw i64 %.03137, 1
  %30 = tail call noundef i64 @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %31 = icmp ult i64 %29, %30
  br i1 %31, label %.lr.ph38, label %._crit_edge, !llvm.loop !14

._crit_edge:                                      ; preds = %28, %.lr.ph40
  %32 = add nuw i64 %.03239, 1
  %exitcond.not = icmp eq i64 %32, %6
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph40, !llvm.loop !15

.lr.ph38:                                         ; preds = %.lr.ph40, %28
  %.03137 = phi i64 [ %29, %28 ], [ 0, %.lr.ph40 ]
  %33 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.03137) #4
  %34 = getelementptr inbounds i8, ptr %33, i64 32
  %35 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %.03239) #4
  %36 = load i16, ptr %35, align 4, !tbaa !7
  %.not = icmp eq i16 %36, %23
  br i1 %.not, label %37, label %41

37:                                               ; preds = %.lr.ph38
  %38 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %.03239) #4
  %39 = getelementptr inbounds i8, ptr %38, i64 2
  %40 = load i16, ptr %39, align 2, !tbaa !13
  %.not33 = icmp eq i16 %40, %26
  br i1 %.not33, label %28, label %41

41:                                               ; preds = %37, %.lr.ph38
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.5)
  %43 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %44 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.4)
  %45 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(32) %33)
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @exit(i32 noundef 1) #5
  unreachable

.loopexit:                                        ; preds = %._crit_edge, %.preheader, %1
  ret void
}

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #3

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

attributes #0 = { inlinehint 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 = { 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 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 0}
!8 = !{!"_ZTS30preprocessed_inputfile_entry_t", !9, i64 0, !9, i64 2, !12, i64 4}
!9 = !{!"short", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"float", !10, i64 0}
!13 = !{!8, !9, i64 2}
!14 = distinct !{!14, !6}
!15 = distinct !{!15, !6}


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