; LLVM IR from facebook/redex :: libredex/MatchFlow.ll (ZNK2mf8result_t8matchingENS_10location_tE)

; 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.mf::result_t::range" = type { %"struct.mf::result_t::insn_iterator", %"struct.mf::result_t::insn_iterator" }
%"struct.mf::result_t::insn_iterator" = type { %"struct.std::__detail::_Node_const_iterator" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base.64" }
%"struct.std::__detail::_Node_iterator_base.64" = type { ptr }
%"struct.mf::location_t" = type { ptr, i64 }
%"struct.mf::result_t" = type { %"class.std::vector", %"class.std::shared_ptr.3" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::unique_ptr<std::unordered_map<IRInstruction *, std::vector<std::vector<IRInstruction *>>>>, std::allocator<std::unique_ptr<std::unordered_map<IRInstruction *, std::vector<std::vector<IRInstruction *>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::unordered_map<IRInstruction *, std::vector<std::vector<IRInstruction *>>>>, std::allocator<std::unique_ptr<std::unordered_map<IRInstruction *, std::vector<std::vector<IRInstruction *>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::unordered_map<IRInstruction *, std::vector<std::vector<IRInstruction *>>>>, std::allocator<std::unique_ptr<std::unordered_map<IRInstruction *, std::vector<std::vector<IRInstruction *>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::unordered_map<IRInstruction *, std::vector<std::vector<IRInstruction *>>>>, std::allocator<std::unique_ptr<std::unordered_map<IRInstruction *, std::vector<std::vector<IRInstruction *>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

; 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: mustprogress uwtable
define dso_local { ptr, ptr } @_ZNK2mf8result_t8matchingENS_10location_tE(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr %1, i64 %2) #1 align 2 {
  %4 = alloca %"struct.mf::result_t::range", align 8
  %5 = alloca %"struct.mf::location_t", align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.mf::result_t::insn_iterator", align 8
  %10 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %11 = alloca %"struct.mf::result_t::insn_iterator", align 8
  %12 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %13 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  store ptr %1, ptr %13, align 8
  %14 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  store i64 %2, ptr %14, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  %15 = load ptr, ptr %6, align 8
  %16 = getelementptr inbounds %"struct.mf::location_t", ptr %5, i32 0, i32 1
  %17 = load i64, ptr %16, align 8, !tbaa !9
  %18 = getelementptr inbounds %"struct.mf::result_t", ptr %15, i32 0, i32 0
  %19 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrISt13unordered_mapIP13IRInstructionS_IS_IS3_SaIS3_EESaIS5_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEESt14default_deleteISG_EESaISJ_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #3
  %20 = icmp uge i64 %17, %19
  br i1 %20, label %21, label %27

21:                                               ; preds = %3
  %22 = call { ptr, ptr } @_ZN2mf8result_t5rangeINS0_13insn_iteratorEE5emptyEv()
  %23 = getelementptr inbounds { ptr, ptr }, ptr %4, i32 0, i32 0
  %24 = extractvalue { ptr, ptr } %22, 0
  store ptr %24, ptr %23, align 8
  %25 = getelementptr inbounds { ptr, ptr }, ptr %4, i32 0, i32 1
  %26 = extractvalue { ptr, ptr } %22, 1
  store ptr %26, ptr %25, align 8
  br label %66

27:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %28 = getelementptr inbounds %"struct.mf::result_t", ptr %15, i32 0, i32 0
  %29 = getelementptr inbounds %"struct.mf::location_t", ptr %5, i32 0, i32 1
  %30 = load i64, ptr %29, align 8, !tbaa !9
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorISt10unique_ptrISt13unordered_mapIP13IRInstructionS_IS_IS3_SaIS3_EESaIS5_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEESt14default_deleteISG_EESaISJ_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %30) #3
  store ptr %31, ptr %7, align 8, !tbaa !5
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_ZNKSt10unique_ptrISt13unordered_mapIP13IRInstructionSt6vectorIS3_IS2_SaIS2_EESaIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S7_EEESt14default_deleteISG_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #3
  br i1 %33, label %40, label %34

34:                                               ; preds = %27
  %35 = call { ptr, ptr } @_ZN2mf8result_t5rangeINS0_13insn_iteratorEE5emptyEv()
  %36 = getelementptr inbounds { ptr, ptr }, ptr %4, i32 0, i32 0
  %37 = extractvalue { ptr, ptr } %35, 0
  store ptr %37, ptr %36, align 8
  %38 = getelementptr inbounds { ptr, ptr }, ptr %4, i32 0, i32 1
  %39 = extractvalue { ptr, ptr } %35, 1
  store ptr %39, ptr %38, align 8
  store i32 1, ptr %8, align 4
  br label %65

40:                                               ; preds = %27
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = call noundef ptr @_ZNKSt10unique_ptrISt13unordered_mapIP13IRInstructionSt6vectorIS3_IS2_SaIS2_EESaIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S7_EEESt14default_deleteISG_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #3
  %43 = call ptr @_ZNKSt13unordered_mapIP13IRInstructionSt6vectorIS2_IS1_SaIS1_EESaIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(56) %42) #3
  %44 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %10, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.64", ptr %44, i32 0, i32 0
  store ptr %43, ptr %45, align 8
  %46 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %10, i32 0, i32 0
  %47 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.64", ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8
  call void @_ZN2mf8result_t13insn_iteratorC2ENSt8__detail20_Node_const_iteratorISt4pairIKP13IRInstructionSt6vectorIS8_IS6_SaIS6_EESaISA_EEELb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr %48)
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = call noundef ptr @_ZNKSt10unique_ptrISt13unordered_mapIP13IRInstructionSt6vectorIS3_IS2_SaIS2_EESaIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S7_EEESt14default_deleteISG_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %49) #3
  %51 = call ptr @_ZNKSt13unordered_mapIP13IRInstructionSt6vectorIS2_IS1_SaIS1_EESaIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE4cendEv(ptr noundef nonnull align 8 dereferenceable(56) %50) #3
  %52 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %12, i32 0, i32 0
  %53 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.64", ptr %52, i32 0, i32 0
  store ptr %51, ptr %53, align 8
  %54 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %12, i32 0, i32 0
  %55 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.64", ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8
  call void @_ZN2mf8result_t13insn_iteratorC2ENSt8__detail20_Node_const_iteratorISt4pairIKP13IRInstructionSt6vectorIS8_IS6_SaIS6_EESaISA_EEELb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr %56)
  %57 = getelementptr inbounds %"struct.mf::result_t::insn_iterator", ptr %9, i32 0, i32 0
  %58 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.64", ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8
  %61 = getelementptr inbounds %"struct.mf::result_t::insn_iterator", ptr %11, i32 0, i32 0
  %62 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.64", ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8
  call void @_ZN2mf8result_t5rangeINS0_13insn_iteratorEEC2ES2_S2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr %60, ptr %64)
  store i32 1, ptr %8, align 4
  br label %65

65:                                               ; preds = %40, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  br label %66

66:                                               ; preds = %65, %21
  %67 = load { ptr, ptr }, ptr %4, align 8
  ret { ptr, ptr } %67
}

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZN2mf8result_t5rangeINS0_13insn_iteratorEE5emptyEv() #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2mf8result_t5rangeINS0_13insn_iteratorEEC2ES2_S2_(ptr noundef nonnull align 8 dereferenceable(16), ptr, ptr) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 8}
!10 = !{!"_ZTSN2mf10location_tE", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}


; 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.mf::result_t::range" = type { %"struct.mf::result_t::insn_iterator", %"struct.mf::result_t::insn_iterator" }
%"struct.mf::result_t::insn_iterator" = type { %"struct.std::__detail::_Node_const_iterator" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base.64" }
%"struct.std::__detail::_Node_iterator_base.64" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local { ptr, ptr } @_ZNK2mf8result_t8matchingENS_10location_tE(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr nocapture readnone %1, i64 %2) local_unnamed_addr #0 align 2 {
  %4 = alloca %"struct.mf::result_t::range", align 8
  %5 = alloca %"struct.mf::result_t::insn_iterator", align 8
  %6 = alloca %"struct.mf::result_t::insn_iterator", align 8
  %7 = tail call noundef i64 @_ZNKSt6vectorISt10unique_ptrISt13unordered_mapIP13IRInstructionS_IS_IS3_SaIS3_EESaIS5_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEESt14default_deleteISG_EESaISJ_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #2
  %.not = icmp ugt i64 %7, %2
  br i1 %.not, label %12, label %8

8:                                                ; preds = %3
  %9 = tail call { ptr, ptr } @_ZN2mf8result_t5rangeINS0_13insn_iteratorEE5emptyEv()
  %10 = extractvalue { ptr, ptr } %9, 0
  %11 = extractvalue { ptr, ptr } %9, 1
  br label %26

12:                                               ; preds = %3
  %13 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorISt10unique_ptrISt13unordered_mapIP13IRInstructionS_IS_IS3_SaIS3_EESaIS5_EESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S7_EEESt14default_deleteISG_EESaISJ_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %2) #2
  %14 = tail call noundef zeroext i1 @_ZNKSt10unique_ptrISt13unordered_mapIP13IRInstructionSt6vectorIS3_IS2_SaIS2_EESaIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S7_EEESt14default_deleteISG_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #2
  br i1 %14, label %19, label %15

15:                                               ; preds = %12
  %16 = tail call { ptr, ptr } @_ZN2mf8result_t5rangeINS0_13insn_iteratorEE5emptyEv()
  %17 = extractvalue { ptr, ptr } %16, 0
  %18 = extractvalue { ptr, ptr } %16, 1
  br label %26

19:                                               ; preds = %12
  %20 = tail call noundef ptr @_ZNKSt10unique_ptrISt13unordered_mapIP13IRInstructionSt6vectorIS3_IS2_SaIS2_EESaIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S7_EEESt14default_deleteISG_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #2
  %21 = tail call ptr @_ZNKSt13unordered_mapIP13IRInstructionSt6vectorIS2_IS1_SaIS1_EESaIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(56) %20) #2
  call void @_ZN2mf8result_t13insn_iteratorC2ENSt8__detail20_Node_const_iteratorISt4pairIKP13IRInstructionSt6vectorIS8_IS6_SaIS6_EESaISA_EEELb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr %21)
  %22 = call noundef ptr @_ZNKSt10unique_ptrISt13unordered_mapIP13IRInstructionSt6vectorIS3_IS2_SaIS2_EESaIS5_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S7_EEESt14default_deleteISG_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #2
  %23 = call ptr @_ZNKSt13unordered_mapIP13IRInstructionSt6vectorIS2_IS1_SaIS1_EESaIS4_EESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S6_EEE4cendEv(ptr noundef nonnull align 8 dereferenceable(56) %22) #2
  call void @_ZN2mf8result_t13insn_iteratorC2ENSt8__detail20_Node_const_iteratorISt4pairIKP13IRInstructionSt6vectorIS8_IS6_SaIS6_EESaISA_EEELb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr %23)
  %24 = load ptr, ptr %5, align 8
  %25 = load ptr, ptr %6, align 8
  call void @_ZN2mf8result_t5rangeINS0_13insn_iteratorEEC2ES2_S2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr %24, ptr %25)
  %.fca.0.load.pre = load ptr, ptr %4, align 8
  %.fca.1.gep.phi.trans.insert = getelementptr inbounds i8, ptr %4, i64 8
  %.fca.1.load.pre = load ptr, ptr %.fca.1.gep.phi.trans.insert, align 8
  br label %26

26:                                               ; preds = %15, %19, %8
  %.fca.1.load = phi ptr [ %18, %15 ], [ %.fca.1.load.pre, %19 ], [ %11, %8 ]
  %.fca.0.load = phi ptr [ %17, %15 ], [ %.fca.0.load.pre, %19 ], [ %10, %8 ]
  %.fca.0.insert = insertvalue { ptr, ptr } poison, ptr %.fca.0.load, 0
  %.fca.1.insert = insertvalue { ptr, ptr } %.fca.0.insert, ptr %.fca.1.load, 1
  ret { ptr, ptr } %.fca.1.insert
}

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, ptr } @_ZN2mf8result_t5rangeINS0_13insn_iteratorEE5emptyEv() local_unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2mf8result_t13insn_iteratorC2ENSt8__detail20_Node_const_iteratorISt4pairIKP13IRInstructionSt6vectorIS8_IS6_SaIS6_EESaISA_EEELb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(8), ptr) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2mf8result_t5rangeINS0_13insn_iteratorEEC2ES2_S2_(ptr noundef nonnull align 8 dereferenceable(16), ptr, ptr) unnamed_addr #1 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass