; LLVM IR from Razakhel/RaZ :: extern/openxr/src/loader (loader_logger)

; 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.AugmentedCallbackData = type { %"class.std::vector.64", %"class.std::vector.59", %struct.XrDebugUtilsMessengerCallbackDataEXT, ptr }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<XrDebugUtilsLabelEXT, std::allocator<XrDebugUtilsLabelEXT>>::_Vector_impl" }
%"struct.std::_Vector_base<XrDebugUtilsLabelEXT, std::allocator<XrDebugUtilsLabelEXT>>::_Vector_impl" = type { %"struct.std::_Vector_base<XrDebugUtilsLabelEXT, std::allocator<XrDebugUtilsLabelEXT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<XrDebugUtilsLabelEXT, std::allocator<XrDebugUtilsLabelEXT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<XrDebugUtilsObjectNameInfoEXT, std::allocator<XrDebugUtilsObjectNameInfoEXT>>::_Vector_impl" }
%"struct.std::_Vector_base<XrDebugUtilsObjectNameInfoEXT, std::allocator<XrDebugUtilsObjectNameInfoEXT>>::_Vector_impl" = type { %"struct.std::_Vector_base<XrDebugUtilsObjectNameInfoEXT, std::allocator<XrDebugUtilsObjectNameInfoEXT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<XrDebugUtilsObjectNameInfoEXT, std::allocator<XrDebugUtilsObjectNameInfoEXT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.XrDebugUtilsMessengerCallbackDataEXT = type { i32, ptr, ptr, ptr, ptr, i32, ptr, i32, ptr }
%"class.std::shared_lock" = type <{ ptr, i8, [7 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.LoaderLogger = type { %"class.std::shared_timed_mutex", %"class.std::vector.3", %"class.std::unordered_map", %class.DebugUtilsData }
%"class.std::shared_timed_mutex" = type { %"class.std::__shared_mutex_pthread" }
%"class.std::__shared_mutex_pthread" = type { %union.pthread_rwlock_t }
%union.pthread_rwlock_t = type { %struct.__pthread_rwlock_arch_t }
%struct.__pthread_rwlock_arch_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i8, [7 x i8], i64, i32 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::unique_ptr<LoaderLogRecorder>, std::allocator<std::unique_ptr<LoaderLogRecorder>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<LoaderLogRecorder>, std::allocator<std::unique_ptr<LoaderLogRecorder>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<LoaderLogRecorder>, std::allocator<std::unique_ptr<LoaderLogRecorder>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<LoaderLogRecorder>, std::allocator<std::unique_ptr<LoaderLogRecorder>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = 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 }
%class.DebugUtilsData = type { %"class.std::unordered_map.13", %class.ObjectInfoCollection }
%"class.std::unordered_map.13" = type { %"class.std::_Hashtable.14" }
%"class.std::_Hashtable.14" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.ObjectInfoCollection = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<XrSdkLogObjectInfo, std::allocator<XrSdkLogObjectInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<XrSdkLogObjectInfo, std::allocator<XrSdkLogObjectInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<XrSdkLogObjectInfo, std::allocator<XrSdkLogObjectInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<XrSdkLogObjectInfo, std::allocator<XrSdkLogObjectInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z48DebugUtilsSeveritiesToLoaderLogMessageSeveritiesm(i64 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z45DebugUtilsMessageTypesToLoaderLogMessageTypesm(i64 noundef) #1

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(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(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN12LoaderLogger20LogDebugUtilsMessageEmmPK36XrDebugUtilsMessengerCallbackDataEXT(ptr noundef nonnull align 8 dereferenceable(216) %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca %struct.AugmentedCallbackData, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::shared_lock", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store i64 %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %21 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 0, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %22 = load i64, ptr %6, align 8, !tbaa !9
  %23 = call noundef i64 @_Z48DebugUtilsSeveritiesToLoaderLogMessageSeveritiesm(i64 noundef %22)
  store i64 %23, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %24 = load i64, ptr %7, align 8, !tbaa !9
  %25 = call noundef i64 @_Z45DebugUtilsMessageTypesToLoaderLogMessageTypesm(i64 noundef %24)
  store i64 %25, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 128, ptr %12) #5
  call void @_ZN21AugmentedCallbackDataC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #5
  %26 = getelementptr inbounds %class.LoaderLogger, ptr %21, i32 0, i32 3
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZNK14DebugUtilsData16WrapCallbackDataEP21AugmentedCallbackDataPK36XrDebugUtilsMessengerCallbackDataEXT(ptr noundef nonnull align 8 dereferenceable(80) %26, ptr noundef %12, ptr noundef %27)
          to label %28 unwind label %41

28:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %29 = getelementptr inbounds %class.LoaderLogger, ptr %21, i32 0, i32 0
  invoke void @_ZNSt11shared_lockISt18shared_timed_mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %15, ptr noundef nonnull align 8 dereferenceable(56) %29)
          to label %30 unwind label %45

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %31 = getelementptr inbounds %class.LoaderLogger, ptr %21, i32 0, i32 1
  store ptr %31, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %32 = load ptr, ptr %16, align 8, !tbaa !5
  %33 = call ptr @_ZNSt6vectorISt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS1_EESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %34 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %33, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %35 = load ptr, ptr %16, align 8, !tbaa !5
  %36 = call ptr @_ZNSt6vectorISt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS1_EESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  br label %38

38:                                               ; preds = %101, %30
  %39 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  br i1 %39, label %49, label %40

40:                                               ; preds = %38
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %103

41:                                               ; preds = %4
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %13, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %14, align 4
  br label %107

45:                                               ; preds = %28
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %13, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %14, align 4
  br label %106

49:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  store ptr %50, ptr %20, align 8, !tbaa !5
  %51 = load ptr, ptr %20, align 8, !tbaa !5
  %52 = call noundef ptr @_ZNKSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #5
  %53 = invoke noundef i32 @_ZN17LoaderLogRecorder4TypeEv(ptr noundef nonnull align 8 dereferenceable(48) %52)
          to label %54 unwind label %75

54:                                               ; preds = %49
  %55 = icmp ne i32 %53, 3
  br i1 %55, label %74, label %56

56:                                               ; preds = %54
  %57 = load ptr, ptr %20, align 8, !tbaa !5
  %58 = call noundef ptr @_ZNKSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #5
  %59 = invoke noundef i64 @_ZN17LoaderLogRecorder17MessageSeveritiesEv(ptr noundef nonnull align 8 dereferenceable(48) %58)
          to label %60 unwind label %75

60:                                               ; preds = %56
  %61 = load i64, ptr %10, align 8, !tbaa !9
  %62 = and i64 %59, %61
  %63 = load i64, ptr %10, align 8, !tbaa !9
  %64 = icmp ne i64 %62, %63
  br i1 %64, label %74, label %65

65:                                               ; preds = %60
  %66 = load ptr, ptr %20, align 8, !tbaa !5
  %67 = call noundef ptr @_ZNKSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #5
  %68 = invoke noundef i64 @_ZN17LoaderLogRecorder12MessageTypesEv(ptr noundef nonnull align 8 dereferenceable(48) %67)
          to label %69 unwind label %75

69:                                               ; preds = %65
  %70 = load i64, ptr %11, align 8, !tbaa !9
  %71 = and i64 %68, %70
  %72 = load i64, ptr %11, align 8, !tbaa !9
  %73 = icmp ne i64 %71, %72
  br i1 %73, label %74, label %79

74:                                               ; preds = %69, %60, %54
  store i32 3, ptr %19, align 4
  br label %98

75:                                               ; preds = %79, %65, %56, %49
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %13, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %15) #5
  br label %106

79:                                               ; preds = %69
  %80 = load ptr, ptr %20, align 8, !tbaa !5
  %81 = call noundef ptr @_ZNKSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %80) #5
  %82 = load i64, ptr %6, align 8, !tbaa !9
  %83 = load i64, ptr %7, align 8, !tbaa !9
  %84 = getelementptr inbounds %struct.AugmentedCallbackData, ptr %12, i32 0, i32 3
  %85 = load ptr, ptr %84, align 8, !tbaa !13
  %86 = load ptr, ptr %81, align 8, !tbaa !26
  %87 = getelementptr inbounds ptr, ptr %86, i64 7
  %88 = load ptr, ptr %87, align 8
  %89 = invoke noundef zeroext i1 %88(ptr noundef nonnull align 8 dereferenceable(48) %81, i64 noundef %82, i64 noundef %83, ptr noundef %85)
          to label %90 unwind label %75

90:                                               ; preds = %79
  %91 = zext i1 %89 to i32
  %92 = load i8, ptr %9, align 1, !tbaa !11, !range !28, !noundef !29
  %93 = trunc i8 %92 to i1
  %94 = zext i1 %93 to i32
  %95 = or i32 %94, %91
  %96 = icmp ne i32 %95, 0
  %97 = zext i1 %96 to i8
  store i8 %97, ptr %9, align 1, !tbaa !11
  store i32 0, ptr %19, align 4
  br label %98

98:                                               ; preds = %90, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  %99 = load i32, ptr %19, align 4
  switch i32 %99, label %113 [
    i32 0, label %100
    i32 3, label %101
  ]

100:                                              ; preds = %98
  br label %101

101:                                              ; preds = %100, %98
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br label %38

103:                                              ; preds = %40
  %104 = load i8, ptr %9, align 1, !tbaa !11, !range !28, !noundef !29
  %105 = trunc i8 %104 to i1
  store i32 1, ptr %19, align 4
  call void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @_ZN21AugmentedCallbackDataD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  ret i1 %105

106:                                              ; preds = %75, %45
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  br label %107

107:                                              ; preds = %106, %41
  call void @_ZN21AugmentedCallbackDataD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  br label %108

108:                                              ; preds = %107
  %109 = load ptr, ptr %13, align 8
  %110 = load i32, ptr %14, align 4
  %111 = insertvalue { ptr, i32 } poison, ptr %109, 0
  %112 = insertvalue { ptr, i32 } %111, i32 %110, 1
  resume { ptr, i32 } %112

113:                                              ; preds = %98
  unreachable
}

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

declare void @_ZNK14DebugUtilsData16WrapCallbackDataEP21AugmentedCallbackDataPK36XrDebugUtilsMessengerCallbackDataEXT(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, ptr noundef) #4

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { "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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 120}
!14 = !{!"_ZTS21AugmentedCallbackData", !15, i64 0, !19, i64 24, !23, i64 48, !6, i64 120}
!15 = !{!"_ZTSSt6vectorI20XrDebugUtilsLabelEXTSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseI20XrDebugUtilsLabelEXTSaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI20XrDebugUtilsLabelEXTSaIS0_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI20XrDebugUtilsLabelEXTSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorI29XrDebugUtilsObjectNameInfoEXTSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseI29XrDebugUtilsObjectNameInfoEXTSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI29XrDebugUtilsObjectNameInfoEXTSaIS0_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI29XrDebugUtilsObjectNameInfoEXTSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTS36XrDebugUtilsMessengerCallbackDataEXT", !24, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !25, i64 40, !6, i64 48, !25, i64 56, !6, i64 64}
!24 = !{!"_ZTS15XrStructureType", !7, i64 0}
!25 = !{!"int", !7, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"vtable pointer", !8, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}


; 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.AugmentedCallbackData = type { %"class.std::vector.64", %"class.std::vector.59", %struct.XrDebugUtilsMessengerCallbackDataEXT, ptr }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<XrDebugUtilsLabelEXT, std::allocator<XrDebugUtilsLabelEXT>>::_Vector_impl" }
%"struct.std::_Vector_base<XrDebugUtilsLabelEXT, std::allocator<XrDebugUtilsLabelEXT>>::_Vector_impl" = type { %"struct.std::_Vector_base<XrDebugUtilsLabelEXT, std::allocator<XrDebugUtilsLabelEXT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<XrDebugUtilsLabelEXT, std::allocator<XrDebugUtilsLabelEXT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<XrDebugUtilsObjectNameInfoEXT, std::allocator<XrDebugUtilsObjectNameInfoEXT>>::_Vector_impl" }
%"struct.std::_Vector_base<XrDebugUtilsObjectNameInfoEXT, std::allocator<XrDebugUtilsObjectNameInfoEXT>>::_Vector_impl" = type { %"struct.std::_Vector_base<XrDebugUtilsObjectNameInfoEXT, std::allocator<XrDebugUtilsObjectNameInfoEXT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<XrDebugUtilsObjectNameInfoEXT, std::allocator<XrDebugUtilsObjectNameInfoEXT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.XrDebugUtilsMessengerCallbackDataEXT = type { i32, ptr, ptr, ptr, ptr, i32, ptr, i32, ptr }
%"class.std::shared_lock" = type <{ ptr, i8, [7 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z48DebugUtilsSeveritiesToLoaderLogMessageSeveritiesm(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z45DebugUtilsMessageTypesToLoaderLogMessageTypesm(i64 noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(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(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN12LoaderLogger20LogDebugUtilsMessageEmmPK36XrDebugUtilsMessengerCallbackDataEXT(ptr noundef nonnull align 8 dereferenceable(216) %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.AugmentedCallbackData, align 8
  %6 = alloca %"class.std::shared_lock", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = tail call noundef i64 @_Z48DebugUtilsSeveritiesToLoaderLogMessageSeveritiesm(i64 noundef %1)
  %10 = tail call noundef i64 @_Z45DebugUtilsMessageTypesToLoaderLogMessageTypesm(i64 noundef %2)
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %5) #5
  call void @_ZN21AugmentedCallbackDataC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %5) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 136
  invoke void @_ZNK14DebugUtilsData16WrapCallbackDataEP21AugmentedCallbackDataPK36XrDebugUtilsMessengerCallbackDataEXT(ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull %5, ptr noundef %3)
          to label %12 unwind label %19

12:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  invoke void @_ZNSt11shared_lockISt18shared_timed_mutexEC2ERS0_(ptr noundef nonnull align 8 dereferenceable(9) %6, ptr noundef nonnull align 8 dereferenceable(56) %0)
          to label %13 unwind label %21

13:                                               ; preds = %12
  %14 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %15 = call ptr @_ZNSt6vectorISt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS1_EESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  store ptr %15, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %16 = call ptr @_ZNSt6vectorISt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS1_EESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  store ptr %16, ptr %8, align 8
  %17 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %17, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %13
  %18 = getelementptr inbounds i8, ptr %5, i64 120
  br label %23

._crit_edge:                                      ; preds = %46, %13
  %.0.lcssa = phi i1 [ false, %13 ], [ %.1, %46 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @_ZN21AugmentedCallbackDataD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %5) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %5) #5
  ret i1 %.0.lcssa

19:                                               ; preds = %4
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %50

21:                                               ; preds = %12
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %49

23:                                               ; preds = %.lr.ph, %46
  %.028 = phi i1 [ false, %.lr.ph ], [ %.1, %46 ]
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %25 = call noundef ptr @_ZNKSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  %26 = call noundef i32 @_ZN17LoaderLogRecorder4TypeEv(ptr noundef nonnull align 8 dereferenceable(48) %25)
  %.not = icmp eq i32 %26, 3
  br i1 %.not, label %27, label %46

27:                                               ; preds = %23
  %28 = call noundef ptr @_ZNKSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  %29 = call noundef i64 @_ZN17LoaderLogRecorder17MessageSeveritiesEv(ptr noundef nonnull align 8 dereferenceable(48) %28)
  %30 = and i64 %29, %9
  %.not23 = icmp eq i64 %30, %9
  br i1 %.not23, label %31, label %46

31:                                               ; preds = %27
  %32 = call noundef ptr @_ZNKSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  %33 = call noundef i64 @_ZN17LoaderLogRecorder12MessageTypesEv(ptr noundef nonnull align 8 dereferenceable(48) %32)
  %34 = and i64 %33, %10
  %.not24 = icmp eq i64 %34, %10
  br i1 %.not24, label %37, label %46

35:                                               ; preds = %37
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @_ZNSt11shared_lockISt18shared_timed_mutexED2Ev(ptr noundef nonnull align 8 dereferenceable(9) %6) #5
  br label %49

37:                                               ; preds = %31
  %38 = call noundef ptr @_ZNKSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  %39 = load ptr, ptr %18, align 8, !tbaa !5
  %40 = load ptr, ptr %38, align 8, !tbaa !21
  %41 = getelementptr inbounds i8, ptr %40, i64 56
  %42 = load ptr, ptr %41, align 8
  %43 = invoke noundef zeroext i1 %42(ptr noundef nonnull align 8 dereferenceable(48) %38, i64 noundef %1, i64 noundef %2, ptr noundef %39)
          to label %44 unwind label %35

44:                                               ; preds = %37
  %45 = or i1 %.028, %43
  br label %46

46:                                               ; preds = %23, %27, %31, %44
  %.1 = phi i1 [ %45, %44 ], [ %.028, %31 ], [ %.028, %27 ], [ %.028, %23 ]
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %48 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrI17LoaderLogRecorderSt14default_deleteIS2_EESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %48, label %23, label %._crit_edge

49:                                               ; preds = %35, %21
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %50

50:                                               ; preds = %49, %19
  %.pn.pn = phi { ptr, i32 } [ %.pn, %49 ], [ %20, %19 ]
  call void @_ZN21AugmentedCallbackDataD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %5) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %5) #5
  resume { ptr, i32 } %.pn.pn
}

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

declare void @_ZNK14DebugUtilsData16WrapCallbackDataEP21AugmentedCallbackDataPK36XrDebugUtilsMessengerCallbackDataEXT(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { "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, !11, i64 120}
!6 = !{!"_ZTS21AugmentedCallbackData", !7, i64 0, !14, i64 24, !18, i64 48, !11, i64 120}
!7 = !{!"_ZTSSt6vectorI20XrDebugUtilsLabelEXTSaIS0_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseI20XrDebugUtilsLabelEXTSaIS0_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseI20XrDebugUtilsLabelEXTSaIS0_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseI20XrDebugUtilsLabelEXTSaIS0_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSSt6vectorI29XrDebugUtilsObjectNameInfoEXTSaIS0_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseI29XrDebugUtilsObjectNameInfoEXTSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseI29XrDebugUtilsObjectNameInfoEXTSaIS0_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI29XrDebugUtilsObjectNameInfoEXTSaIS0_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!"_ZTS36XrDebugUtilsMessengerCallbackDataEXT", !19, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !20, i64 40, !11, i64 48, !20, i64 56, !11, i64 64}
!19 = !{!"_ZTS15XrStructureType", !12, i64 0}
!20 = !{!"int", !12, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !13, i64 0}


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