; LLVM IR from PaddlePaddle/Paddle :: paddle/pir/src/core/region.ll (ZNK3pir6Region9CloneIntoERS0_RNS_9IrMappingE)

; 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.pir::PointerListConstIterator" = type { %"struct.std::_List_const_iterator" }
%"struct.std::_List_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.pir::Value" = type { ptr }
%"class.pir::Type" = type { ptr }
%"class.pir::BlockArgument" = type { %"class.pir::Value" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.pir::Attribute" = type { ptr }
%"class.pir::CloneOptions" = type { i8, i8, i8 }
%"class.pir::PointerListIterator" = type { %"struct.std::_List_iterator" }
%"struct.std::_List_iterator" = type { ptr }
%"class.pir::PointerListConstIterator.89" = type { %"struct.std::_List_const_iterator.90" }
%"struct.std::_List_const_iterator.90" = type { ptr }
%"class.pir::PointerListIterator.96" = type { %"struct.std::_List_iterator.97" }
%"struct.std::_List_iterator.97" = type { ptr }
%"class.pir::OpOperand" = type { ptr }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"class.pir::Attribute" }
%"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] }

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3pir6Region9CloneIntoERS0_RNS_9IrMappingE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(168) %2) #0 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.pir::PointerListConstIterator", align 8
  %9 = alloca %"class.pir::PointerListConstIterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.pir::Value", align 8
  %18 = alloca %"class.pir::Type", align 8
  %19 = alloca %"class.pir::Value", align 8
  %20 = alloca %"class.pir::Value", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.pir::BlockArgument", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %25 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.pir::Attribute", align 8
  %28 = alloca %"class.pir::CloneOptions", align 1
  %29 = alloca %"class.pir::PointerListConstIterator", align 8
  %30 = alloca %"class.pir::PointerListIterator", align 8
  %31 = alloca %"class.pir::PointerListConstIterator", align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"class.pir::PointerListConstIterator.89", align 8
  %36 = alloca %"class.pir::PointerListConstIterator.89", align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"class.pir::CloneOptions", align 1
  %39 = alloca i24, align 4
  %40 = alloca %"class.pir::PointerListConstIterator", align 8
  %41 = alloca %"class.pir::PointerListIterator", align 8
  %42 = alloca %"class.pir::PointerListConstIterator", align 8
  %43 = alloca %"class.pir::PointerListIterator.96", align 8
  %44 = alloca %"class.pir::PointerListIterator.96", align 8
  %45 = alloca %"class.pir::PointerListIterator.96", align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca i32, align 4
  %49 = alloca %"class.pir::OpOperand", align 8
  %50 = alloca %"class.pir::Value", align 8
  %51 = alloca %"class.pir::Value", align 8
  %52 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %53 = load ptr, ptr %4, align 8
  %54 = call noundef zeroext i1 @_ZNK3pir6Region5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  br i1 %54, label %55, label %56

55:                                               ; preds = %3
  br label %261

56:                                               ; preds = %3
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN3pir6Region5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %57)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store ptr %53, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = call ptr @_ZNK3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %58)
  %60 = getelementptr inbounds %"class.pir::PointerListConstIterator", ptr %8, i32 0, i32 0
  %61 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %60, i32 0, i32 0
  store ptr %59, ptr %61, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = call ptr @_ZNK3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %62)
  %64 = getelementptr inbounds %"class.pir::PointerListConstIterator", ptr %9, i32 0, i32 0
  %65 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %64, i32 0, i32 0
  store ptr %63, ptr %65, align 8
  br label %66

66:                                               ; preds = %135, %56
  %67 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %67, label %69, label %68

68:                                               ; preds = %66
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %137

69:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %70 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  store ptr %70, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %71 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 120) #8
  call void @_ZN3pir5BlockC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %71) #7
  store ptr %71, ptr %12, align 8, !tbaa !5
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN3pir9IrMapping3AddIPKNS_5BlockEPS2_EEvT_T0_(ptr noundef nonnull align 8 dereferenceable(168) %72, ptr noundef %73, ptr noundef %74)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3pir5Block4argsEv(ptr noundef nonnull align 8 dereferenceable(120) %75)
  store ptr %76, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = call ptr @_ZNKSt6vectorIN3pir5ValueESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #7
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %80 = load ptr, ptr %13, align 8, !tbaa !5
  %81 = call ptr @_ZNKSt6vectorIN3pir5ValueESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #7
  %82 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %81, ptr %82, align 8
  br label %83

83:                                               ; preds = %130, %69
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %84, label %86, label %85

85:                                               ; preds = %83
  store i32 4, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %132

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  store ptr %87, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = load ptr, ptr %16, align 8, !tbaa !5
  %90 = call ptr @_ZNK3pir5Value4typeEv(ptr noundef nonnull align 8 dereferenceable(8) %89)
  %91 = getelementptr inbounds %"class.pir::Type", ptr %18, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  %92 = getelementptr inbounds %"class.pir::Type", ptr %18, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8
  %94 = call ptr @_ZN3pir5Block6AddArgENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(120) %88, ptr %93)
  %95 = getelementptr inbounds %"class.pir::Value", ptr %17, i32 0, i32 0
  store ptr %94, ptr %95, align 8
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %97, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %17, i64 8, i1 false), !tbaa.struct !9
  %98 = getelementptr inbounds %"class.pir::Value", ptr %19, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8
  %100 = getelementptr inbounds %"class.pir::Value", ptr %20, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8
  call void @_ZN3pir9IrMapping3AddINS_5ValueES2_EEvT_T0_(ptr noundef nonnull align 8 dereferenceable(168) %96, ptr %99, ptr %101)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = call ptr @_ZNK3pir5Value8dyn_castINS_13BlockArgumentEEET_v(ptr noundef nonnull align 8 dereferenceable(8) %102)
  %104 = getelementptr inbounds %"class.pir::BlockArgument", ptr %22, i32 0, i32 0
  %105 = getelementptr inbounds %"class.pir::Value", ptr %104, i32 0, i32 0
  store ptr %103, ptr %105, align 8
  store ptr %22, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %106 = load ptr, ptr %21, align 8, !tbaa !5
  %107 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK3pir13BlockArgument10attributesB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(8) %106)
  store ptr %107, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %108 = load ptr, ptr %23, align 8, !tbaa !5
  %109 = call ptr @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %108) #7
  %110 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %24, i32 0, i32 0
  %111 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %110, i32 0, i32 0
  store ptr %109, ptr %111, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %112 = load ptr, ptr %23, align 8, !tbaa !5
  %113 = call ptr @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %112) #7
  %114 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %25, i32 0, i32 0
  %115 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %114, i32 0, i32 0
  store ptr %113, ptr %115, align 8
  br label %116

116:                                              ; preds = %127, %86
  %117 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  br i1 %117, label %119, label %118

118:                                              ; preds = %116
  store i32 6, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %129

119:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %120 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeEELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  store ptr %120, ptr %26, align 8, !tbaa !5
  %121 = load ptr, ptr %26, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.std::pair", ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %26, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.std::pair", ptr %123, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %124, i64 8, i1 false), !tbaa.struct !9
  %125 = getelementptr inbounds %"class.pir::Attribute", ptr %27, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  call void @_ZN3pir5Value13set_attributeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9AttributeE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(32) %122, ptr %126)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %127

127:                                              ; preds = %119
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeEELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br label %116

129:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %130

130:                                              ; preds = %129
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %83

132:                                              ; preds = %85
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN3pir6Region9push_backEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(32) %133, ptr noundef %134)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %135

135:                                              ; preds = %132
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir24PointerListConstIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br label %66

137:                                              ; preds = %68
  call void @llvm.lifetime.start.p0(i64 3, ptr %28) #7
  call void @_ZN3pir12CloneOptionsC2Ebbb(ptr noundef nonnull align 1 dereferenceable(3) %28, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %138 = call ptr @_ZNK3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  %139 = getelementptr inbounds %"class.pir::PointerListConstIterator", ptr %29, i32 0, i32 0
  %140 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %139, i32 0, i32 0
  store ptr %138, ptr %140, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  %142 = call ptr @_ZN3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %141)
  %143 = getelementptr inbounds %"class.pir::PointerListIterator", ptr %30, i32 0, i32 0
  %144 = getelementptr inbounds %"struct.std::_List_iterator", ptr %143, i32 0, i32 0
  store ptr %142, ptr %144, align 8
  br label %145

145:                                              ; preds = %175, %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %146 = call ptr @_ZNK3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  %147 = getelementptr inbounds %"class.pir::PointerListConstIterator", ptr %31, i32 0, i32 0
  %148 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %147, i32 0, i32 0
  store ptr %146, ptr %148, align 8
  %149 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br i1 %149, label %150, label %178

150:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %151 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  store ptr %151, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %152 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3pir19PointerListIteratorINS_5BlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  store ptr %152, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %153 = load ptr, ptr %32, align 8, !tbaa !5
  store ptr %153, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %154 = load ptr, ptr %34, align 8, !tbaa !5
  %155 = call ptr @_ZNK3pir5Block5beginEv(ptr noundef nonnull align 8 dereferenceable(120) %154)
  %156 = getelementptr inbounds %"class.pir::PointerListConstIterator.89", ptr %35, i32 0, i32 0
  %157 = getelementptr inbounds %"struct.std::_List_const_iterator.90", ptr %156, i32 0, i32 0
  store ptr %155, ptr %157, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %158 = load ptr, ptr %34, align 8, !tbaa !5
  %159 = call ptr @_ZNK3pir5Block3endEv(ptr noundef nonnull align 8 dereferenceable(120) %158)
  %160 = getelementptr inbounds %"class.pir::PointerListConstIterator.89", ptr %36, i32 0, i32 0
  %161 = getelementptr inbounds %"struct.std::_List_const_iterator.90", ptr %160, i32 0, i32 0
  store ptr %159, ptr %161, align 8
  br label %162

162:                                              ; preds = %172, %150
  %163 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  br i1 %163, label %165, label %164

164:                                              ; preds = %162
  store i32 11, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %174

165:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %166 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir24PointerListConstIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  store ptr %166, ptr %37, align 8, !tbaa !5
  %167 = load ptr, ptr %33, align 8, !tbaa !5
  %168 = load ptr, ptr %37, align 8, !tbaa !5
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %38, ptr align 1 %28, i64 3, i1 false), !tbaa.struct !10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 1 %38, i64 3, i1 false)
  %170 = load i24, ptr %39, align 4
  %171 = call noundef ptr @_ZNK3pir9Operation5CloneERNS_9IrMappingENS_12CloneOptionsE(ptr noundef nonnull align 8 dereferenceable(144) %168, ptr noundef nonnull align 8 dereferenceable(168) %169, i24 %170)
  call void @_ZN3pir5Block9push_backEPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(120) %167, ptr noundef %171)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %172

172:                                              ; preds = %165
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir24PointerListConstIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  br label %162

174:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %175

175:                                              ; preds = %174
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir24PointerListConstIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  br label %145, !llvm.loop !13

178:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 3, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %179 = call ptr @_ZNK3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  %180 = getelementptr inbounds %"class.pir::PointerListConstIterator", ptr %40, i32 0, i32 0
  %181 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %180, i32 0, i32 0
  store ptr %179, ptr %181, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = call ptr @_ZN3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %182)
  %184 = getelementptr inbounds %"class.pir::PointerListIterator", ptr %41, i32 0, i32 0
  %185 = getelementptr inbounds %"struct.std::_List_iterator", ptr %184, i32 0, i32 0
  store ptr %183, ptr %185, align 8
  br label %186

186:                                              ; preds = %257, %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  %187 = call ptr @_ZNK3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  %188 = getelementptr inbounds %"class.pir::PointerListConstIterator", ptr %42, i32 0, i32 0
  %189 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %188, i32 0, i32 0
  store ptr %187, ptr %189, align 8
  %190 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  br i1 %190, label %191, label %260

191:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %192 = call noundef ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  %193 = call ptr @_ZN3pir5Block5beginEv(ptr noundef nonnull align 8 dereferenceable(120) %192)
  %194 = getelementptr inbounds %"class.pir::PointerListIterator.96", ptr %43, i32 0, i32 0
  %195 = getelementptr inbounds %"struct.std::_List_iterator.97", ptr %194, i32 0, i32 0
  store ptr %193, ptr %195, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %196 = call noundef ptr @_ZNK3pir19PointerListIteratorINS_5BlockEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  %197 = call ptr @_ZN3pir5Block5beginEv(ptr noundef nonnull align 8 dereferenceable(120) %196)
  %198 = getelementptr inbounds %"class.pir::PointerListIterator.96", ptr %44, i32 0, i32 0
  %199 = getelementptr inbounds %"struct.std::_List_iterator.97", ptr %198, i32 0, i32 0
  store ptr %197, ptr %199, align 8
  br label %200

200:                                              ; preds = %253, %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #7
  %201 = call noundef ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  %202 = call ptr @_ZN3pir5Block3endEv(ptr noundef nonnull align 8 dereferenceable(120) %201)
  %203 = getelementptr inbounds %"class.pir::PointerListIterator.96", ptr %45, i32 0, i32 0
  %204 = getelementptr inbounds %"struct.std::_List_iterator.97", ptr %203, i32 0, i32 0
  store ptr %202, ptr %204, align 8
  %205 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  br i1 %205, label %206, label %256

206:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %207 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir19PointerListIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  store ptr %207, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %208 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir19PointerListIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  store ptr %208, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  store i32 0, ptr %48, align 4, !tbaa !15
  br label %209

209:                                              ; preds = %231, %206
  %210 = load i32, ptr %48, align 4, !tbaa !15
  %211 = load ptr, ptr %46, align 8, !tbaa !5
  %212 = call noundef i32 @_ZNK3pir9Operation12num_operandsEv(ptr noundef nonnull align 8 dereferenceable(144) %211)
  %213 = icmp ult i32 %210, %212
  br i1 %213, label %215, label %214

214:                                              ; preds = %209
  store i32 19, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br label %234

215:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  %216 = load ptr, ptr %47, align 8, !tbaa !5
  %217 = load i32, ptr %48, align 4, !tbaa !15
  %218 = call ptr @_ZNK3pir9Operation7operandEj(ptr noundef nonnull align 8 dereferenceable(144) %216, i32 noundef %217)
  %219 = getelementptr inbounds %"class.pir::OpOperand", ptr %49, i32 0, i32 0
  store ptr %218, ptr %219, align 8
  %220 = load ptr, ptr %6, align 8, !tbaa !5
  %221 = load ptr, ptr %46, align 8, !tbaa !5
  %222 = load i32, ptr %48, align 4, !tbaa !15
  %223 = call ptr @_ZNK3pir9Operation14operand_sourceEj(ptr noundef nonnull align 8 dereferenceable(144) %221, i32 noundef %222)
  %224 = getelementptr inbounds %"class.pir::Value", ptr %51, i32 0, i32 0
  store ptr %223, ptr %224, align 8
  %225 = getelementptr inbounds %"class.pir::Value", ptr %51, i32 0, i32 0
  %226 = load ptr, ptr %225, align 8
  %227 = call ptr @_ZNK3pir9IrMapping6LookupINS_5ValueEEENS_6detail16ExactlyOneIrTypeINSt11conditionalIXsr3std10is_pointerIT_EE5valueENSt11add_pointerINSt12remove_constINSt14remove_pointerIS6_E4typeEE4typeEE4typeES6_E4typeEJS2_PNS_5BlockEPNS_9OperationEEE4typeES6_(ptr noundef nonnull align 8 dereferenceable(168) %220, ptr %226)
  %228 = getelementptr inbounds %"class.pir::Value", ptr %50, i32 0, i32 0
  store ptr %227, ptr %228, align 8
  %229 = getelementptr inbounds %"class.pir::Value", ptr %50, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8
  call void @_ZN3pir9OpOperand10set_sourceENS_5ValueE(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr %230)
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  br label %231

231:                                              ; preds = %215
  %232 = load i32, ptr %48, align 4, !tbaa !15
  %233 = add i32 %232, 1
  store i32 %233, ptr %48, align 4, !tbaa !15
  br label %209, !llvm.loop !17

234:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #7
  store i32 0, ptr %52, align 4, !tbaa !15
  br label %235

235:                                              ; preds = %249, %234
  %236 = load i32, ptr %52, align 4, !tbaa !15
  %237 = load ptr, ptr %46, align 8, !tbaa !5
  %238 = call noundef i32 @_ZNK3pir9Operation11num_regionsEv(ptr noundef nonnull align 8 dereferenceable(144) %237)
  %239 = icmp ult i32 %236, %238
  br i1 %239, label %241, label %240

240:                                              ; preds = %235
  store i32 22, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #7
  br label %252

241:                                              ; preds = %235
  %242 = load ptr, ptr %46, align 8, !tbaa !5
  %243 = load i32, ptr %52, align 4, !tbaa !15
  %244 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3pir9Operation6regionEj(ptr noundef nonnull align 8 dereferenceable(144) %242, i32 noundef %243)
  %245 = load ptr, ptr %47, align 8, !tbaa !5
  %246 = load i32, ptr %52, align 4, !tbaa !15
  %247 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3pir9Operation6regionEj(ptr noundef nonnull align 8 dereferenceable(144) %245, i32 noundef %246)
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNK3pir6Region9CloneIntoERS0_RNS_9IrMappingE(ptr noundef nonnull align 8 dereferenceable(32) %244, ptr noundef nonnull align 8 dereferenceable(32) %247, ptr noundef nonnull align 8 dereferenceable(168) %248)
  br label %249

249:                                              ; preds = %241
  %250 = load i32, ptr %52, align 4, !tbaa !15
  %251 = add i32 %250, 1
  store i32 %251, ptr %52, align 4, !tbaa !15
  br label %235, !llvm.loop !18

252:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %253

253:                                              ; preds = %252
  %254 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #7
  br label %200, !llvm.loop !19

256:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  br label %257

257:                                              ; preds = %256
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir24PointerListConstIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  %259 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  br label %186, !llvm.loop !20

260:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %261

261:                                              ; preds = %260, %55
  ret void
}

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

declare ptr @_ZN3pir5Block6AddArgENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(120), ptr) #5

declare ptr @_ZNK3pir5Value4typeEv(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZNK3pir13BlockArgument10attributesB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

declare void @_ZN3pir5Value13set_attributeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9AttributeE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32), ptr) #5

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3pir12CloneOptionsC2Ebbb(ptr noundef nonnull align 1 dereferenceable(3), i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) unnamed_addr #3 align 2

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

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

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

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

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

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

declare void @_ZN3pir5Block9push_backEPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) #5

declare noundef ptr @_ZNK3pir9Operation5CloneERNS_9IrMappingENS_12CloneOptionsE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(168), i24) #5

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

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

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

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

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

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

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

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

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

declare void @_ZN3pir9OpOperand10set_sourceENS_5ValueE(ptr noundef nonnull align 8 dereferenceable(8), ptr) #5

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNK3pir9IrMapping6LookupINS_5ValueEEENS_6detail16ExactlyOneIrTypeINSt11conditionalIXsr3std10is_pointerIT_EE5valueENSt11add_pointerINSt12remove_constINSt14remove_pointerIS6_E4typeEE4typeEE4typeES6_E4typeEJS2_PNS_5BlockEPNS_9OperationEEE4typeES6_(ptr noundef nonnull align 8 dereferenceable(168), ptr) #0 align 2

declare ptr @_ZNK3pir9Operation14operand_sourceEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) #5

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

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3pir9Operation6regionEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) #5

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN3pir9Operation6regionEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }

!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 = !{i64 0, i64 8, !5}
!10 = !{i64 0, i64 1, !11, i64 1, i64 1, !11, i64 2, i64 1, !11}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}


; 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.pir::PointerListConstIterator" = type { %"struct.std::_List_const_iterator" }
%"struct.std::_List_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.pir::Value" = type { ptr }
%"class.pir::BlockArgument" = type { %"class.pir::Value" }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.pir::CloneOptions" = type { i8, i8, i8 }
%"class.pir::PointerListIterator" = type { %"struct.std::_List_iterator" }
%"struct.std::_List_iterator" = type { ptr }
%"class.pir::PointerListConstIterator.89" = type { %"struct.std::_List_const_iterator.90" }
%"struct.std::_List_const_iterator.90" = type { ptr }
%"class.pir::PointerListIterator.96" = type { %"struct.std::_List_iterator.97" }
%"struct.std::_List_iterator.97" = type { ptr }
%"class.pir::OpOperand" = type { ptr }

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3pir6Region9CloneIntoERS0_RNS_9IrMappingE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(168) %2) local_unnamed_addr #0 align 2 {
  %4 = alloca %"class.pir::PointerListConstIterator", align 8
  %5 = alloca %"class.pir::PointerListConstIterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.pir::Value", align 8
  %9 = alloca %"class.pir::BlockArgument", align 8
  %10 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %11 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %12 = alloca %"class.pir::CloneOptions", align 4
  %13 = alloca %"class.pir::PointerListConstIterator", align 8
  %14 = alloca %"class.pir::PointerListIterator", align 8
  %15 = alloca %"class.pir::PointerListConstIterator", align 8
  %16 = alloca %"class.pir::PointerListConstIterator.89", align 8
  %17 = alloca %"class.pir::PointerListConstIterator.89", align 8
  %18 = alloca %"class.pir::PointerListConstIterator", align 8
  %19 = alloca %"class.pir::PointerListIterator", align 8
  %20 = alloca %"class.pir::PointerListConstIterator", align 8
  %21 = alloca %"class.pir::PointerListIterator.96", align 8
  %22 = alloca %"class.pir::PointerListIterator.96", align 8
  %23 = alloca %"class.pir::PointerListIterator.96", align 8
  %24 = alloca %"class.pir::OpOperand", align 8
  %25 = tail call noundef zeroext i1 @_ZNK3pir6Region5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  br i1 %25, label %104, label %26

26:                                               ; preds = %3
  tail call void @_ZN3pir6Region5clearEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %27 = tail call ptr @_ZNK3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %27, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %28 = tail call ptr @_ZNK3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %28, ptr %5, align 8
  %29 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %29, label %.lr.ph57, label %._crit_edge58

._crit_edge58:                                    ; preds = %._crit_edge55, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %12) #6
  call void @_ZN3pir12CloneOptionsC2Ebbb(ptr noundef nonnull align 1 dereferenceable(3) %12, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %30 = call ptr @_ZNK3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %30, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %31 = call ptr @_ZN3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  store ptr %31, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %32 = call ptr @_ZNK3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %32, ptr %15, align 8
  %33 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %33, label %.lr.ph63, label %._crit_edge64

.lr.ph57:                                         ; preds = %26, %._crit_edge55
  %34 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %35 = call noalias noundef nonnull dereferenceable(120) ptr @_Znwm(i64 noundef 120) #7
  call void @_ZN3pir5BlockC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %35) #6
  call void @_ZN3pir9IrMapping3AddIPKNS_5BlockEPS2_EEvT_T0_(ptr noundef nonnull align 8 dereferenceable(168) %2, ptr noundef nonnull %34, ptr noundef nonnull %35)
  %36 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3pir5Block4argsEv(ptr noundef nonnull align 8 dereferenceable(120) %34)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %37 = call ptr @_ZNKSt6vectorIN3pir5ValueESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  store ptr %37, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %38 = call ptr @_ZNKSt6vectorIN3pir5ValueESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  store ptr %38, ptr %7, align 8
  %39 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %39, label %.lr.ph54, label %._crit_edge55

._crit_edge55:                                    ; preds = %._crit_edge, %.lr.ph57
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN3pir6Region9push_backEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull %35)
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir24PointerListConstIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %41 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %41, label %.lr.ph57, label %._crit_edge58

.lr.ph54:                                         ; preds = %.lr.ph57, %._crit_edge
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %43 = call ptr @_ZNK3pir5Value4typeEv(ptr noundef nonnull align 8 dereferenceable(8) %42)
  %44 = call ptr @_ZN3pir5Block6AddArgENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(120) %35, ptr %43)
  store ptr %44, ptr %8, align 8
  %.sroa.028.0.copyload = load ptr, ptr %42, align 8, !tbaa !5
  call void @_ZN3pir9IrMapping3AddINS_5ValueES2_EEvT_T0_(ptr noundef nonnull align 8 dereferenceable(168) %2, ptr %.sroa.028.0.copyload, ptr %44)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %45 = call ptr @_ZNK3pir5Value8dyn_castINS_13BlockArgumentEEET_v(ptr noundef nonnull align 8 dereferenceable(8) %42)
  store ptr %45, ptr %9, align 8
  %46 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK3pir13BlockArgument10attributesB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %47 = call ptr @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %46) #6
  store ptr %47, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %48 = call ptr @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %46) #6
  store ptr %48, ptr %11, align 8
  %49 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %49, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph54
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %51, label %.lr.ph54, label %._crit_edge55

.lr.ph:                                           ; preds = %.lr.ph54, %.lr.ph
  %52 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeEELb0ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %53 = getelementptr inbounds i8, ptr %52, i64 32
  %.sroa.021.0.copyload = load ptr, ptr %53, align 8, !tbaa !5
  call void @_ZN3pir5Value13set_attributeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9AttributeE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(32) %52, ptr %.sroa.021.0.copyload)
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeEELb0ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %55 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %55, label %.lr.ph, label %._crit_edge

.lr.ph63:                                         ; preds = %._crit_edge58, %._crit_edge61
  %56 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %57 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3pir19PointerListIteratorINS_5BlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %58 = call ptr @_ZNK3pir5Block5beginEv(ptr noundef nonnull align 8 dereferenceable(120) %56)
  store ptr %58, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %59 = call ptr @_ZNK3pir5Block3endEv(ptr noundef nonnull align 8 dereferenceable(120) %56)
  store ptr %59, ptr %17, align 8
  %60 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %60, label %.lr.ph60, label %._crit_edge61

._crit_edge61:                                    ; preds = %.lr.ph60, %.lr.ph63
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir24PointerListConstIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %63 = call ptr @_ZNK3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %63, ptr %15, align 8
  %64 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %64, label %.lr.ph63, label %._crit_edge64, !llvm.loop !9

.lr.ph60:                                         ; preds = %.lr.ph63, %.lr.ph60
  %65 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir24PointerListConstIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %.sroa.015.0.copyload = load i24, ptr %12, align 4
  %66 = call noundef ptr @_ZNK3pir9Operation5CloneERNS_9IrMappingENS_12CloneOptionsE(ptr noundef nonnull align 8 dereferenceable(144) %65, ptr noundef nonnull align 8 dereferenceable(168) %2, i24 %.sroa.015.0.copyload)
  call void @_ZN3pir5Block9push_backEPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(120) %57, ptr noundef %66)
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir24PointerListConstIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %68 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %68, label %.lr.ph60, label %._crit_edge61

._crit_edge64:                                    ; preds = %._crit_edge61, %._crit_edge58
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %69 = call ptr @_ZNK3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %69, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %70 = call ptr @_ZN3pir6Region5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  store ptr %70, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %71 = call ptr @_ZNK3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %71, ptr %20, align 8
  %72 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br i1 %72, label %.lr.ph75, label %._crit_edge76

.lr.ph75:                                         ; preds = %._crit_edge64, %._crit_edge73
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %73 = call noundef ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %74 = call ptr @_ZN3pir5Block5beginEv(ptr noundef nonnull align 8 dereferenceable(120) %73)
  store ptr %74, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %75 = call noundef ptr @_ZNK3pir19PointerListIteratorINS_5BlockEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %76 = call ptr @_ZN3pir5Block5beginEv(ptr noundef nonnull align 8 dereferenceable(120) %75)
  store ptr %76, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %77 = call noundef ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %78 = call ptr @_ZN3pir5Block3endEv(ptr noundef nonnull align 8 dereferenceable(120) %77)
  store ptr %78, ptr %23, align 8
  %79 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br i1 %79, label %.lr.ph72, label %._crit_edge73

.lr.ph72:                                         ; preds = %.lr.ph75, %._crit_edge70
  %80 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir19PointerListIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %81 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNK3pir19PointerListIteratorINS_9OperationEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  %82 = call noundef i32 @_ZNK3pir9Operation12num_operandsEv(ptr noundef nonnull align 8 dereferenceable(144) %80)
  %.not = icmp eq i32 %82, 0
  br i1 %.not, label %.preheader, label %.lr.ph67

.preheader:                                       ; preds = %.lr.ph67, %.lr.ph72
  %83 = call noundef i32 @_ZNK3pir9Operation11num_regionsEv(ptr noundef nonnull align 8 dereferenceable(144) %80)
  %.not77 = icmp eq i32 %83, 0
  br i1 %.not77, label %._crit_edge70, label %.lr.ph69

.lr.ph67:                                         ; preds = %.lr.ph72, %.lr.ph67
  %.05265 = phi i32 [ %87, %.lr.ph67 ], [ 0, %.lr.ph72 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  %84 = call ptr @_ZNK3pir9Operation7operandEj(ptr noundef nonnull align 8 dereferenceable(144) %81, i32 noundef %.05265)
  store ptr %84, ptr %24, align 8
  %85 = call ptr @_ZNK3pir9Operation14operand_sourceEj(ptr noundef nonnull align 8 dereferenceable(144) %80, i32 noundef %.05265)
  %86 = call ptr @_ZNK3pir9IrMapping6LookupINS_5ValueEEENS_6detail16ExactlyOneIrTypeINSt11conditionalIXsr3std10is_pointerIT_EE5valueENSt11add_pointerINSt12remove_constINSt14remove_pointerIS6_E4typeEE4typeEE4typeES6_E4typeEJS2_PNS_5BlockEPNS_9OperationEEE4typeES6_(ptr noundef nonnull align 8 dereferenceable(168) %2, ptr %85)
  call void @_ZN3pir9OpOperand10set_sourceENS_5ValueE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr %86)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  %87 = add nuw i32 %.05265, 1
  %88 = call noundef i32 @_ZNK3pir9Operation12num_operandsEv(ptr noundef nonnull align 8 dereferenceable(144) %80)
  %89 = icmp ult i32 %87, %88
  br i1 %89, label %.lr.ph67, label %.preheader, !llvm.loop !11

._crit_edge70:                                    ; preds = %.lr.ph69, %.preheader
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %92 = call noundef ptr @_ZNK3pir24PointerListConstIteratorINS_5BlockEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %93 = call ptr @_ZN3pir5Block3endEv(ptr noundef nonnull align 8 dereferenceable(120) %92)
  store ptr %93, ptr %23, align 8
  %94 = call noundef zeroext i1 @_ZNK3pir19PointerListIteratorINS_9OperationEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br i1 %94, label %.lr.ph72, label %._crit_edge73, !llvm.loop !12

.lr.ph69:                                         ; preds = %.preheader, %.lr.ph69
  %.068 = phi i32 [ %97, %.lr.ph69 ], [ 0, %.preheader ]
  %95 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3pir9Operation6regionEj(ptr noundef nonnull align 8 dereferenceable(144) %80, i32 noundef %.068)
  %96 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3pir9Operation6regionEj(ptr noundef nonnull align 8 dereferenceable(144) %81, i32 noundef %.068)
  call void @_ZNK3pir6Region9CloneIntoERS0_RNS_9IrMappingE(ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull align 8 dereferenceable(32) %96, ptr noundef nonnull align 8 dereferenceable(168) %2)
  %97 = add nuw i32 %.068, 1
  %98 = call noundef i32 @_ZNK3pir9Operation11num_regionsEv(ptr noundef nonnull align 8 dereferenceable(144) %80)
  %99 = icmp ult i32 %97, %98
  br i1 %99, label %.lr.ph69, label %._crit_edge70, !llvm.loop !13

._crit_edge73:                                    ; preds = %._crit_edge70, %.lr.ph75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir24PointerListConstIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_5BlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %102 = call ptr @_ZNK3pir6Region3endEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  store ptr %102, ptr %20, align 8
  %103 = call noundef zeroext i1 @_ZNK3pir24PointerListConstIteratorINS_5BlockEEneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br i1 %103, label %.lr.ph75, label %._crit_edge76, !llvm.loop !14

._crit_edge76:                                    ; preds = %._crit_edge73, %._crit_edge64
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  br label %104

104:                                              ; preds = %3, %._crit_edge76
  ret void
}

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3pir5ValueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

declare ptr @_ZN3pir5Block6AddArgENS_4TypeE(ptr noundef nonnull align 8 dereferenceable(120), ptr) local_unnamed_addr #5

declare ptr @_ZNK3pir5Value4typeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZNK3pir13BlockArgument10attributesB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3pir9AttributeEELb1EEESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

declare void @_ZN3pir5Value13set_attributeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_9AttributeE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32), ptr) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3pir12CloneOptionsC2Ebbb(ptr noundef nonnull align 1 dereferenceable(3), i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) unnamed_addr #3 align 2

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

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

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

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

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

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

declare void @_ZN3pir5Block9push_backEPNS_9OperationE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) local_unnamed_addr #5

declare noundef ptr @_ZNK3pir9Operation5CloneERNS_9IrMappingENS_12CloneOptionsE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(168), i24) local_unnamed_addr #5

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3pir9Operation12num_operandsEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3 align 2

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

declare void @_ZN3pir9OpOperand10set_sourceENS_5ValueE(ptr noundef nonnull align 8 dereferenceable(8), ptr) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNK3pir9IrMapping6LookupINS_5ValueEEENS_6detail16ExactlyOneIrTypeINSt11conditionalIXsr3std10is_pointerIT_EE5valueENSt11add_pointerINSt12remove_constINSt14remove_pointerIS6_E4typeEE4typeEE4typeES6_E4typeEJS2_PNS_5BlockEPNS_9OperationEEE4typeES6_(ptr noundef nonnull align 8 dereferenceable(168), ptr) local_unnamed_addr #0 align 2

declare ptr @_ZNK3pir9Operation14operand_sourceEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3pir9Operation11num_regionsEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3pir9Operation6regionEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN3pir9Operation6regionEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3pir19PointerListIteratorINS_9OperationEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nounwind }
attributes #7 = { builtin allocsize(0) }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


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