; LLVM IR from jasonlmfong/Model-Modifier :: Model-Modifier/src/scene/surface (Surface)

; 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.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::__detail::_Node_iterator.4" = type { %"struct.std::__detail::_Node_iterator_base.5" }
%"struct.std::__detail::_Node_iterator_base.5" = type { ptr }
%"struct.std::__detail::_Node_iterator.20" = type { %"struct.std::__detail::_Node_iterator_base.21" }
%"struct.std::__detail::_Node_iterator_base.21" = type { ptr }
%"struct.std::pair.45" = type { float, i32 }
%"struct.std::pair.43" = type <{ %"struct.std::__detail::_Node_iterator.20", i8, [7 x i8] }>
%"struct.std::pair" = type { float, %"class.std::unordered_map.6" }
%"class.std::unordered_map.6" = type { %"class.std::_Hashtable.7" }
%"class.std::_Hashtable.7" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.std::pair.22" = type { float, %"class.std::unordered_map.24" }
%"class.std::unordered_map.24" = type { %"class.std::_Hashtable.25" }
%"class.std::_Hashtable.25" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::pair.38" = type { float, i32 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7Surface12getVertIndexEN3glm3vecILi3EfLNS0_9qualifierE0EEERSt6vectorIS3_SaIS3_EERSt13unordered_mapIfS8_IfS8_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEESA_SC_SaISD_ISE_SH_EEESA_SC_SaISD_ISE_SK_EEE(ptr noundef nonnull align 8 dereferenceable(152) %0, <2 x float> %1, float %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(56) %4) #0 align 2 {
  %6 = alloca i32, align 4
  %7 = alloca %"struct.glm::vec", align 4
  %8 = alloca { <2 x float>, float }, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %13 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %14 = alloca %"struct.std::__detail::_Node_iterator.4", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator.4", align 8
  %16 = alloca %"struct.std::__detail::_Node_iterator.20", align 8
  %17 = alloca %"struct.std::__detail::_Node_iterator.20", align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::pair.45", align 4
  %21 = alloca %"struct.std::pair.43", align 8
  %22 = getelementptr inbounds { <2 x float>, float }, ptr %8, i32 0, i32 0
  store <2 x float> %1, ptr %22, align 4
  %23 = getelementptr inbounds { <2 x float>, float }, ptr %8, i32 0, i32 1
  store float %2, ptr %23, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %8, i64 12, i1 false)
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %24 = load ptr, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.glm::vec", ptr %7, i32 0, i32 0
  %27 = call ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %25, ptr noundef nonnull align 4 dereferenceable(4) %26)
  %28 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %12, i32 0, i32 0
  %29 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %28, i32 0, i32 0
  store ptr %27, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = call ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %30) #5
  %32 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %13, i32 0, i32 0
  %33 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %32, i32 0, i32 0
  store ptr %31, ptr %33, align 8
  %34 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfSt13unordered_mapIfS3_IfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEES5_S7_SaIS1_IS2_SA_EEEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br i1 %34, label %35, label %73

35:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %36 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfSt13unordered_mapIfS3_IfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEES5_S7_SaIS1_IS2_SA_EEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %37 = getelementptr inbounds %"struct.std::pair", ptr %36, i32 0, i32 1
  %38 = getelementptr inbounds %"struct.glm::vec", ptr %7, i32 0, i32 1
  %39 = call ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %37, ptr noundef nonnull align 4 dereferenceable(4) %38)
  %40 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.4", ptr %14, i32 0, i32 0
  %41 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.5", ptr %40, i32 0, i32 0
  store ptr %39, ptr %41, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %42 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfSt13unordered_mapIfS3_IfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEES5_S7_SaIS1_IS2_SA_EEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %43 = getelementptr inbounds %"struct.std::pair", ptr %42, i32 0, i32 1
  %44 = call ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %43) #5
  %45 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.4", ptr %15, i32 0, i32 0
  %46 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.5", ptr %45, i32 0, i32 0
  store ptr %44, ptr %46, align 8
  %47 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEEELb0EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br i1 %47, label %48, label %69

48:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %49 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %50 = getelementptr inbounds %"struct.std::pair.22", ptr %49, i32 0, i32 1
  %51 = getelementptr inbounds %"struct.glm::vec", ptr %7, i32 0, i32 2
  %52 = call ptr @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %50, ptr noundef nonnull align 4 dereferenceable(4) %51)
  %53 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.20", ptr %16, i32 0, i32 0
  %54 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.21", ptr %53, i32 0, i32 0
  store ptr %52, ptr %54, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %55 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %56 = getelementptr inbounds %"struct.std::pair.22", ptr %55, i32 0, i32 1
  %57 = call ptr @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %56) #5
  %58 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.20", ptr %17, i32 0, i32 0
  %59 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.21", ptr %58, i32 0, i32 0
  store ptr %57, ptr %59, align 8
  %60 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfjELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br i1 %60, label %61, label %65

61:                                               ; preds = %48
  %62 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfjELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  %63 = getelementptr inbounds %"struct.std::pair.38", ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 4, !tbaa !9
  store i32 %64, ptr %6, align 4
  store i32 1, ptr %18, align 4
  br label %66

65:                                               ; preds = %48
  store i32 0, ptr %18, align 4
  br label %66

66:                                               ; preds = %65, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %67 = load i32, ptr %18, align 4
  switch i32 %67, label %70 [
    i32 0, label %68
  ]

68:                                               ; preds = %66
  br label %69

69:                                               ; preds = %68, %35
  store i32 0, ptr %18, align 4
  br label %70

70:                                               ; preds = %69, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %71 = load i32, ptr %18, align 4
  switch i32 %71, label %91 [
    i32 0, label %72
  ]

72:                                               ; preds = %70
  br label %73

73:                                               ; preds = %72, %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = call noundef i64 @_ZNKSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #5
  %76 = trunc i64 %75 to i32
  store i32 %76, ptr %19, align 4, !tbaa !13
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %77, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.glm::vec", ptr %7, i32 0, i32 0
  %80 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %78, ptr noundef nonnull align 4 dereferenceable(4) %79)
  %81 = getelementptr inbounds %"struct.glm::vec", ptr %7, i32 0, i32 1
  %82 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %80, ptr noundef nonnull align 4 dereferenceable(4) %81)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %83 = getelementptr inbounds %"struct.glm::vec", ptr %7, i32 0, i32 2
  %84 = call i64 @_ZSt9make_pairIRfRjESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4) %83, ptr noundef nonnull align 4 dereferenceable(4) %19)
  store i64 %84, ptr %20, align 4
  %85 = call { ptr, i8 } @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE6insertIS4_IfjEEENSt9enable_ifIXsr16is_constructibleIS6_OT_EE5valueES4_INSt8__detail14_Node_iteratorIS6_Lb0ELb0EEEbEE4typeESD_(ptr noundef nonnull align 8 dereferenceable(56) %82, ptr noundef nonnull align 4 dereferenceable(8) %20)
  %86 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 0
  %87 = extractvalue { ptr, i8 } %85, 0
  store ptr %87, ptr %86, align 8
  %88 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 1
  %89 = extractvalue { ptr, i8 } %85, 1
  store i8 %89, ptr %88, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  %90 = load i32, ptr %19, align 4, !tbaa !13
  store i32 %90, ptr %6, align 4
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %91

91:                                               ; preds = %73, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %92 = load i32, ptr %6, align 4
  ret i32 %92
}

; 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) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE6insertIS4_IfjEEENSt9enable_ifIXsr16is_constructibleIS6_OT_EE5valueES4_INSt8__detail14_Node_iteratorIS6_Lb0ELb0EEEbEE4typeESD_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRfRjESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 4}
!10 = !{!"_ZTSSt4pairIKfjE", !11, i64 0, !12, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, 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.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::__detail::_Node_iterator.4" = type { %"struct.std::__detail::_Node_iterator_base.5" }
%"struct.std::__detail::_Node_iterator_base.5" = type { ptr }
%"struct.std::__detail::_Node_iterator.20" = type { %"struct.std::__detail::_Node_iterator_base.21" }
%"struct.std::__detail::_Node_iterator_base.21" = type { ptr }
%"struct.std::pair.45" = type { float, i32 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7Surface12getVertIndexEN3glm3vecILi3EfLNS0_9qualifierE0EEERSt6vectorIS3_SaIS3_EERSt13unordered_mapIfS8_IfS8_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEESA_SC_SaISD_ISE_SH_EEESA_SC_SaISD_ISE_SK_EEE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(152) %0, <2 x float> %1, float %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(56) %4) local_unnamed_addr #0 align 2 {
  %6 = alloca %"struct.glm::vec", align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %8 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %9 = alloca %"struct.std::__detail::_Node_iterator.4", align 8
  %10 = alloca %"struct.std::__detail::_Node_iterator.4", align 8
  %11 = alloca %"struct.std::__detail::_Node_iterator.20", align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator.20", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::pair.45", align 8
  store <2 x float> %1, ptr %6, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  store float %2, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %15 = call ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
  store ptr %15, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %16 = call ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %4) #4
  store ptr %16, ptr %8, align 8
  %17 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfSt13unordered_mapIfS3_IfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEES5_S7_SaIS1_IS2_SA_EEEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  br i1 %17, label %18, label %39

18:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %19 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfSt13unordered_mapIfS3_IfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEES5_S7_SaIS1_IS2_SA_EEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %20 = getelementptr inbounds i8, ptr %19, i64 8
  %21 = getelementptr inbounds i8, ptr %6, i64 4
  %22 = call ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %20, ptr noundef nonnull align 4 dereferenceable(4) %21)
  store ptr %22, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %23 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfSt13unordered_mapIfS3_IfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEES5_S7_SaIS1_IS2_SA_EEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = call ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %24) #4
  store ptr %25, ptr %10, align 8
  %26 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEEELb0EEESE_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br i1 %26, label %27, label %.thread

.thread:                                          ; preds = %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  br label %39

27:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %28 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = call ptr @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56) %29, ptr noundef nonnull align 4 dereferenceable(4) %.sroa.2.0..sroa_idx)
  store ptr %30, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  %31 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = call ptr @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %32) #4
  store ptr %33, ptr %12, align 8
  %34 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfjELb0EEES6_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  br i1 %34, label %35, label %.thread14

.thread14:                                        ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  br label %39

35:                                               ; preds = %27
  %36 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKfjELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  %37 = getelementptr inbounds i8, ptr %36, i64 4
  %38 = load i32, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  br label %48

39:                                               ; preds = %.thread14, %.thread, %5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %40 = call noundef i64 @_ZNKSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  %41 = trunc i64 %40 to i32
  store i32 %41, ptr %13, align 4, !tbaa !11
  call void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(12) %6)
  %42 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %43 = getelementptr inbounds i8, ptr %6, i64 4
  %44 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef nonnull align 4 dereferenceable(4) %43)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %45 = call i64 @_ZSt9make_pairIRfRjESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 4 dereferenceable(4) %.sroa.2.0..sroa_idx, ptr noundef nonnull align 4 dereferenceable(4) %13)
  store i64 %45, ptr %14, align 8
  %46 = call { ptr, i8 } @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE6insertIS4_IfjEEENSt9enable_ifIXsr16is_constructibleIS6_OT_EE5valueES4_INSt8__detail14_Node_iteratorIS6_Lb0ELb0EEEbEE4typeESD_(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  %47 = load i32, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  br label %48

48:                                               ; preds = %35, %39
  %.3 = phi i32 [ %47, %39 ], [ %38, %35 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  ret i32 %.3
}

; 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 uwtable
declare dso_local ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfSt13unordered_mapIfS3_IfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEES5_S7_SaIS1_IS2_SA_EEEELb0EEESH_(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 ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaIS1_IS2_jEEEELb0EEESE_(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 ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE4findERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKfjELb0EEES6_(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 ptr @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3glm3vecILi3EfLNS0_9qualifierE0EEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIfS_IfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEES1_S3_SaIS4_IS5_SB_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIfS_IfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIfjSt4hashIfESt8equal_toIfESaISt4pairIKfjEEE6insertIS4_IfjEEENSt9enable_ifIXsr16is_constructibleIS6_OT_EE5valueES4_INSt8__detail14_Node_iteratorIS6_Lb0ELb0EEEbEE4typeESD_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !10, i64 4}
!6 = !{!"_ZTSSt4pairIKfjE", !7, i64 0, !10, i64 4}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass