; LLVM IR from NVIDIA/FasterTransformer :: src/fastertransformer/utils (Tensor)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::unordered_map.15" = type { %"class.std::_Hashtable.16" }
%"class.std::_Hashtable.16" = 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::initializer_list.36" = type { ptr, i64 }
%"struct.std::pair.37" = type { i32, %"class.std::__cxx11::basic_string" }
%"struct.std::hash.20" = type { i8 }
%"struct.std::equal_to.24" = type { i8 }
%"class.std::allocator.39" = type { i8 }
%"class.std::allocator.0" = type { i8 }

@__dso_handle = external hidden global i8
@.str.37 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11 = external hidden global %"class.std::unordered_map.15", align 8
@_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11 = external hidden global i64, align 8
@.str.50 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [230 x i8], align 1

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #0

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #0

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISE_EmRKS9_RKSB_RKSF_(ptr noundef nonnull align 8 dereferenceable(56), ptr, i64, i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(64) %1, i32 noundef %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::initializer_list.36", align 8
  %8 = alloca [14 x %"struct.std::pair.37"], align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i1, align 1
  %27 = alloca %"struct.std::hash.20", align 1
  %28 = alloca %"struct.std::equal_to.24", align 1
  %29 = alloca %"class.std::allocator.39", align 1
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.0", align 1
  %32 = alloca %"class.std::allocator.0", align 1
  %33 = alloca i1, align 1
  %34 = alloca i1, align 1
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8
  %36 = load atomic i8, ptr @_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11 acquire, align 8
  %37 = icmp eq i8 %36, 0
  br i1 %37, label %38, label %84, !prof !11

38:                                               ; preds = %3
  %39 = call i32 @__cxa_guard_acquire(ptr @_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11) #0
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %84

41:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 560, ptr %8) #0
  store i1 true, ptr %26, align 1
  store ptr %8, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #0
  store i32 0, ptr %10, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(2) @.str.50)
          to label %42 unwind label %96

42:                                               ; preds = %41
  %43 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 1
  store ptr %43, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #0
  store i32 1, ptr %13, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(2) @.str.37)
          to label %44 unwind label %100

44:                                               ; preds = %42
  %45 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 2
  store ptr %45, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #0
  store i32 13, ptr %14, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %45, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(2) @.str.38)
          to label %46 unwind label %104

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 3
  store ptr %47, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #0
  store i32 2, ptr %15, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %47, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(3) @.str.39)
          to label %48 unwind label %108

48:                                               ; preds = %46
  %49 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 4
  store ptr %49, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #0
  store i32 3, ptr %16, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %49, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(3) @.str.40)
          to label %50 unwind label %112

50:                                               ; preds = %48
  %51 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 5
  store ptr %51, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #0
  store i32 4, ptr %17, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %51, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(3) @.str.41)
          to label %52 unwind label %116

52:                                               ; preds = %50
  %53 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 6
  store ptr %53, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #0
  store i32 5, ptr %18, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %53, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 1 dereferenceable(3) @.str.42)
          to label %54 unwind label %120

54:                                               ; preds = %52
  %55 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 7
  store ptr %55, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #0
  store i32 6, ptr %19, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %55, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 1 dereferenceable(3) @.str.43)
          to label %56 unwind label %124

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 8
  store ptr %57, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #0
  store i32 7, ptr %20, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %57, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(3) @.str.44)
          to label %58 unwind label %128

58:                                               ; preds = %56
  %59 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 9
  store ptr %59, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #0
  store i32 8, ptr %21, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %59, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 1 dereferenceable(3) @.str.45)
          to label %60 unwind label %132

60:                                               ; preds = %58
  %61 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 10
  store ptr %61, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #0
  store i32 9, ptr %22, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %61, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 1 dereferenceable(3) @.str.46)
          to label %62 unwind label %136

62:                                               ; preds = %60
  %63 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 11
  store ptr %63, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #0
  store i32 10, ptr %23, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %63, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 1 dereferenceable(3) @.str.47)
          to label %64 unwind label %140

64:                                               ; preds = %62
  %65 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 12
  store ptr %65, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #0
  store i32 11, ptr %24, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %65, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 1 dereferenceable(3) @.str.48)
          to label %66 unwind label %144

66:                                               ; preds = %64
  %67 = getelementptr inbounds %"struct.std::pair.37", ptr %8, i64 13
  store ptr %67, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #0
  store i32 12, ptr %25, align 4, !tbaa !9
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %67, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(3) @.str.49)
          to label %68 unwind label %148

68:                                               ; preds = %66
  store i1 false, ptr %26, align 1
  %69 = getelementptr inbounds %"class.std::initializer_list.36", ptr %7, i32 0, i32 0
  store ptr %8, ptr %69, align 8, !tbaa !12
  %70 = getelementptr inbounds %"class.std::initializer_list.36", ptr %7, i32 0, i32 1
  store i64 14, ptr %70, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #0
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #0
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #0
  call void @_ZNSaISt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #0
  %71 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8
  %73 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %74 = load i64, ptr %73, align 8
  invoke void @_ZNSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISE_EmRKS9_RKSB_RKSF_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11, ptr %72, i64 %74, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %27, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %75 unwind label %152

75:                                               ; preds = %68
  call void @_ZNSt15__new_allocatorISt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #0
  %76 = getelementptr inbounds [14 x %"struct.std::pair.37"], ptr %8, i32 0, i32 0
  %77 = getelementptr inbounds %"struct.std::pair.37", ptr %76, i64 14
  br label %78

78:                                               ; preds = %78, %75
  %79 = phi ptr [ %77, %75 ], [ %80, %78 ]
  %80 = getelementptr inbounds %"struct.std::pair.37", ptr %79, i64 -1
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %80) #0
  %81 = icmp eq ptr %80, %76
  br i1 %81, label %82, label %78

82:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  call void @llvm.lifetime.end.p0(i64 560, ptr %8) #0
  %83 = call i32 @__cxa_atexit(ptr @_ZNSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEED2Ev, ptr @_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11) #0
  br label %84

84:                                               ; preds = %82, %38, %3
  %85 = load i32, ptr %6, align 4, !tbaa !9
  %86 = icmp eq i32 %85, 14
  br i1 %86, label %87, label %198

87:                                               ; preds = %84
  br label %88

88:                                               ; preds = %87
  %89 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN17fastertransformer6Logger9getLoggerEv()
  %90 = call noundef i32 @_ZNK17fastertransformer6Logger8getLevelEv(ptr noundef nonnull align 8 dereferenceable(88) %89)
  %91 = icmp sle i32 %90, 30
  br i1 %91, label %92, label %196

92:                                               ; preds = %88
  %93 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN17fastertransformer6Logger9getLoggerEv()
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #0
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #0
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @.str.51, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %94 unwind label %187

94:                                               ; preds = %92
  invoke void @_ZN17fastertransformer6Logger3logIJEEEvNS0_5LevelENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr noundef nonnull align 8 dereferenceable(88) %93, i32 noundef 30, ptr noundef %30)
          to label %95 unwind label %191

95:                                               ; preds = %94
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #0
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #0
  br label %196

96:                                               ; preds = %41
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %11, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %12, align 4
  br label %176

100:                                              ; preds = %42
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %11, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %12, align 4
  br label %175

104:                                              ; preds = %44
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %11, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %12, align 4
  br label %174

108:                                              ; preds = %46
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %11, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %12, align 4
  br label %173

112:                                              ; preds = %48
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %11, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %12, align 4
  br label %172

116:                                              ; preds = %50
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %11, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %12, align 4
  br label %171

120:                                              ; preds = %52
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %11, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %12, align 4
  br label %170

124:                                              ; preds = %54
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %11, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %12, align 4
  br label %169

128:                                              ; preds = %56
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %11, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %12, align 4
  br label %168

132:                                              ; preds = %58
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %11, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %12, align 4
  br label %167

136:                                              ; preds = %60
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %11, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %12, align 4
  br label %166

140:                                              ; preds = %62
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %11, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %12, align 4
  br label %165

144:                                              ; preds = %64
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %11, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %12, align 4
  br label %164

148:                                              ; preds = %66
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %11, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %12, align 4
  br label %163

152:                                              ; preds = %68
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %11, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %12, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #0
  %156 = getelementptr inbounds [14 x %"struct.std::pair.37"], ptr %8, i32 0, i32 0
  %157 = getelementptr inbounds %"struct.std::pair.37", ptr %156, i64 14
  br label %158

158:                                              ; preds = %158, %152
  %159 = phi ptr [ %157, %152 ], [ %160, %158 ]
  %160 = getelementptr inbounds %"struct.std::pair.37", ptr %159, i64 -1
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %160) #0
  %161 = icmp eq ptr %160, %156
  br i1 %161, label %162, label %158

162:                                              ; preds = %158
  br label %163

163:                                              ; preds = %162, %148
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #0
  br label %164

164:                                              ; preds = %163, %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #0
  br label %165

165:                                              ; preds = %164, %140
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #0
  br label %166

166:                                              ; preds = %165, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #0
  br label %167

167:                                              ; preds = %166, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #0
  br label %168

168:                                              ; preds = %167, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #0
  br label %169

169:                                              ; preds = %168, %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #0
  br label %170

170:                                              ; preds = %169, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #0
  br label %171

171:                                              ; preds = %170, %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #0
  br label %172

172:                                              ; preds = %171, %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #0
  br label %173

173:                                              ; preds = %172, %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #0
  br label %174

174:                                              ; preds = %173, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #0
  br label %175

175:                                              ; preds = %174, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #0
  br label %176

176:                                              ; preds = %175, %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  %177 = load i1, ptr %26, align 1
  br i1 %177, label %178, label %186

178:                                              ; preds = %176
  %179 = load ptr, ptr %9, align 8
  %180 = icmp eq ptr %8, %179
  br i1 %180, label %185, label %181

181:                                              ; preds = %181, %178
  %182 = phi ptr [ %179, %178 ], [ %183, %181 ]
  %183 = getelementptr inbounds %"struct.std::pair.37", ptr %182, i64 -1
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %183) #0
  %184 = icmp eq ptr %183, %8
  br i1 %184, label %185, label %181

185:                                              ; preds = %181, %178
  br label %186

186:                                              ; preds = %185, %176
  call void @llvm.lifetime.end.p0(i64 560, ptr %8) #0
  call void @__cxa_guard_abort(ptr @_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11) #0
  br label %222

187:                                              ; preds = %92
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %11, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %12, align 4
  br label %195

191:                                              ; preds = %94
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %11, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #0
  br label %195

195:                                              ; preds = %191, %187
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #0
  br label %222

196:                                              ; preds = %95, %88
  br label %197

197:                                              ; preds = %196
  br label %198

198:                                              ; preds = %197, %84
  %199 = call noundef i64 @_ZNKSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %200 = icmp ugt i64 %199, 0
  store i1 false, ptr %33, align 1
  store i1 false, ptr %34, align 1
  br i1 %200, label %201, label %203

201:                                              ; preds = %198
  %202 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE2atERSD_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %202)
  br label %205

203:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #0
  store i1 true, ptr %33, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #0
  store i1 true, ptr %34, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef @.str.50, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %204 unwind label %212

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204, %201
  %206 = load i1, ptr %34, align 1
  br i1 %206, label %207, label %208

207:                                              ; preds = %205
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #0
  br label %208

208:                                              ; preds = %207, %205
  %209 = load i1, ptr %33, align 1
  br i1 %209, label %210, label %211

210:                                              ; preds = %208
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #0
  br label %211

211:                                              ; preds = %210, %208
  ret void

212:                                              ; preds = %203
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %11, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %12, align 4
  %216 = load i1, ptr %34, align 1
  br i1 %216, label %217, label %218

217:                                              ; preds = %212
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #0
  br label %218

218:                                              ; preds = %217, %212
  %219 = load i1, ptr %33, align 1
  br i1 %219, label %220, label %221

220:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #0
  br label %221

221:                                              ; preds = %220, %218
  br label %222

222:                                              ; preds = %221, %195, %186
  %223 = load ptr, ptr %11, align 8
  %224 = load i32, ptr %12, align 4
  %225 = insertvalue { ptr, i32 } poison, ptr %223, 0
  %226 = insertvalue { ptr, i32 } %225, i32 %224, 1
  resume { ptr, i32 } %226
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(2)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(3)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17fastertransformer6Logger3logIJEEEvNS0_5LevelENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef) #3 align 2

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

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

!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 = !{!"_ZTSN17fastertransformer13datatype_enumE", !7, i64 0}
!11 = !{!"branch_weights", i32 1, i32 1048575}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSSt16initializer_listISt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 8}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::unordered_map.15" = type { %"class.std::_Hashtable.16" }
%"class.std::_Hashtable.16" = 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.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] }
%"struct.std::pair.37" = type { i32, %"class.std::__cxx11::basic_string" }
%"struct.std::hash.20" = type { i8 }
%"struct.std::equal_to.24" = type { i8 }
%"class.std::allocator.39" = type { i8 }
%"class.std::allocator.0" = type { i8 }

@__dso_handle = external hidden global i8
@.str.37 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11 = external hidden global %"class.std::unordered_map.15", align 8
@_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11 = external hidden global i64, align 8
@.str.50 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [230 x i8], align 1

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISE_EmRKS9_RKSB_RKSF_(ptr noundef nonnull align 8 dereferenceable(56), ptr, i64, i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(64) %1, i32 noundef %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca [14 x %"struct.std::pair.37"], align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::hash.20", align 1
  %21 = alloca %"struct.std::equal_to.24", align 1
  %22 = alloca %"class.std::allocator.39", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.0", align 1
  %25 = alloca %"class.std::allocator.0", align 1
  store i32 %2, ptr %4, align 4, !tbaa !5
  %26 = load atomic i8, ptr @_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11 acquire, align 8
  %27 = icmp eq i8 %26, 0
  br i1 %27, label %28, label %73, !prof !9

28:                                               ; preds = %3
  %29 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11) #5
  %.not55 = icmp eq i32 %29, 0
  br i1 %.not55, label %73, label %30

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 560, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(2) @.str.50)
          to label %31 unwind label %.thread

31:                                               ; preds = %30
  %32 = getelementptr inbounds i8, ptr %5, i64 40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 1, ptr %7, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %32, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(2) @.str.37)
          to label %33 unwind label %85

33:                                               ; preds = %31
  %34 = getelementptr inbounds i8, ptr %5, i64 80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 13, ptr %8, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(2) @.str.38)
          to label %35 unwind label %87

35:                                               ; preds = %33
  %36 = getelementptr inbounds i8, ptr %5, i64 120
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 2, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %36, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(3) @.str.39)
          to label %37 unwind label %89

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %5, i64 160
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 3, ptr %10, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %38, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(3) @.str.40)
          to label %39 unwind label %91

39:                                               ; preds = %37
  %40 = getelementptr inbounds i8, ptr %5, i64 200
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 4, ptr %11, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %40, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(3) @.str.41)
          to label %41 unwind label %93

41:                                               ; preds = %39
  %42 = getelementptr inbounds i8, ptr %5, i64 240
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  store i32 5, ptr %12, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %42, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(3) @.str.42)
          to label %43 unwind label %95

43:                                               ; preds = %41
  %44 = getelementptr inbounds i8, ptr %5, i64 280
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  store i32 6, ptr %13, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %44, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(3) @.str.43)
          to label %45 unwind label %97

45:                                               ; preds = %43
  %46 = getelementptr inbounds i8, ptr %5, i64 320
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  store i32 7, ptr %14, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %46, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(3) @.str.44)
          to label %47 unwind label %99

47:                                               ; preds = %45
  %48 = getelementptr inbounds i8, ptr %5, i64 360
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  store i32 8, ptr %15, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %48, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(3) @.str.45)
          to label %49 unwind label %101

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %5, i64 400
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  store i32 9, ptr %16, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %50, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(3) @.str.46)
          to label %51 unwind label %103

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %5, i64 440
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  store i32 10, ptr %17, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(3) @.str.47)
          to label %53 unwind label %105

53:                                               ; preds = %51
  %54 = getelementptr inbounds i8, ptr %5, i64 480
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #5
  store i32 11, ptr %18, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %54, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 1 dereferenceable(3) @.str.48)
          to label %55 unwind label %107

55:                                               ; preds = %53
  %56 = getelementptr inbounds i8, ptr %5, i64 520
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #5
  store i32 12, ptr %19, align 4, !tbaa !5
  invoke void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40) %56, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 1 dereferenceable(3) @.str.49)
          to label %57 unwind label %109

57:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #5
  call void @_ZNSaISt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  invoke void @_ZNSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEEC2ESt16initializer_listISE_EmRKS9_RKSB_RKSF_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11, ptr nonnull %5, i64 14, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %20, ptr noundef nonnull align 1 dereferenceable(1) %21, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %58 unwind label %.loopexit80.loopexit

58:                                               ; preds = %57
  call void @_ZNSt15__new_allocatorISt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  %59 = getelementptr inbounds i8, ptr %5, i64 520
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #5
  %60 = getelementptr inbounds i8, ptr %5, i64 480
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %60) #5
  %61 = getelementptr inbounds i8, ptr %5, i64 440
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %61) #5
  %62 = getelementptr inbounds i8, ptr %5, i64 400
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %62) #5
  %63 = getelementptr inbounds i8, ptr %5, i64 360
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %63) #5
  %64 = getelementptr inbounds i8, ptr %5, i64 320
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %64) #5
  %65 = getelementptr inbounds i8, ptr %5, i64 280
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %65) #5
  %66 = getelementptr inbounds i8, ptr %5, i64 240
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %66) #5
  %67 = getelementptr inbounds i8, ptr %5, i64 200
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %67) #5
  %68 = getelementptr inbounds i8, ptr %5, i64 160
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %68) #5
  %69 = getelementptr inbounds i8, ptr %5, i64 120
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %69) #5
  %70 = getelementptr inbounds i8, ptr %5, i64 80
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %70) #5
  %71 = getelementptr inbounds i8, ptr %5, i64 40
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %71) #5
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 560, ptr nonnull %5) #5
  %72 = call i32 @__cxa_atexit(ptr nonnull @_ZNSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEED2Ev, ptr nonnull @_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11, ptr nonnull @__dso_handle) #5
  call void @__cxa_guard_release(ptr nonnull @_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11) #5
  br label %73

73:                                               ; preds = %58, %28, %3
  %74 = load i32, ptr %4, align 4, !tbaa !5
  %75 = icmp eq i32 %74, 14
  br i1 %75, label %76, label %147

76:                                               ; preds = %73
  %77 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN17fastertransformer6Logger9getLoggerEv()
  %78 = call noundef i32 @_ZNK17fastertransformer6Logger8getLevelEv(ptr noundef nonnull align 8 dereferenceable(88) %77)
  %79 = icmp slt i32 %78, 31
  br i1 %79, label %80, label %147

80:                                               ; preds = %76
  %81 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN17fastertransformer6Logger9getLoggerEv()
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str.51, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %82 unwind label %142

82:                                               ; preds = %80
  invoke void @_ZN17fastertransformer6Logger3logIJEEEvNS0_5LevelENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr noundef nonnull align 8 dereferenceable(88) %81, i32 noundef 30, ptr noundef nonnull %23)
          to label %83 unwind label %144

83:                                               ; preds = %82
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #5
  br label %147

.thread:                                          ; preds = %30
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %.loopexit

85:                                               ; preds = %31
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %137

87:                                               ; preds = %33
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %136

89:                                               ; preds = %35
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %135

91:                                               ; preds = %37
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %134

93:                                               ; preds = %39
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %133

95:                                               ; preds = %41
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %132

97:                                               ; preds = %43
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %131

99:                                               ; preds = %45
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %130

101:                                              ; preds = %47
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %129

103:                                              ; preds = %49
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %128

105:                                              ; preds = %51
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %127

107:                                              ; preds = %53
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %126

109:                                              ; preds = %55
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit80

.loopexit80.loopexit:                             ; preds = %57
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  %112 = getelementptr inbounds i8, ptr %5, i64 520
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %112) #5
  %113 = getelementptr inbounds i8, ptr %5, i64 480
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %113) #5
  %114 = getelementptr inbounds i8, ptr %5, i64 440
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %114) #5
  %115 = getelementptr inbounds i8, ptr %5, i64 400
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %115) #5
  %116 = getelementptr inbounds i8, ptr %5, i64 360
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %116) #5
  %117 = getelementptr inbounds i8, ptr %5, i64 320
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %117) #5
  %118 = getelementptr inbounds i8, ptr %5, i64 280
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %118) #5
  %119 = getelementptr inbounds i8, ptr %5, i64 240
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %119) #5
  %120 = getelementptr inbounds i8, ptr %5, i64 200
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %120) #5
  %121 = getelementptr inbounds i8, ptr %5, i64 160
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %121) #5
  %122 = getelementptr inbounds i8, ptr %5, i64 120
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %122) #5
  %123 = getelementptr inbounds i8, ptr %5, i64 80
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %123) #5
  %124 = getelementptr inbounds i8, ptr %5, i64 40
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %124) #5
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #5
  br label %.loopexit80

.loopexit80:                                      ; preds = %.loopexit80.loopexit, %109
  %.pn = phi { ptr, i32 } [ %110, %109 ], [ %111, %.loopexit80.loopexit ]
  %125 = phi i1 [ false, %109 ], [ true, %.loopexit80.loopexit ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  br label %126

126:                                              ; preds = %.loopexit80, %107
  %.041 = phi ptr [ %56, %.loopexit80 ], [ %54, %107 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit80 ], [ %108, %107 ]
  %.1 = phi i1 [ %125, %.loopexit80 ], [ false, %107 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  br label %127

127:                                              ; preds = %126, %105
  %.142 = phi ptr [ %.041, %126 ], [ %52, %105 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %126 ], [ %106, %105 ]
  %.2 = phi i1 [ %.1, %126 ], [ false, %105 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  br label %128

128:                                              ; preds = %127, %103
  %.243 = phi ptr [ %.142, %127 ], [ %50, %103 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %127 ], [ %104, %103 ]
  %.3 = phi i1 [ %.2, %127 ], [ false, %103 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  br label %129

129:                                              ; preds = %128, %101
  %.344 = phi ptr [ %.243, %128 ], [ %48, %101 ]
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %128 ], [ %102, %101 ]
  %.4 = phi i1 [ %.3, %128 ], [ false, %101 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  br label %130

130:                                              ; preds = %129, %99
  %.445 = phi ptr [ %.344, %129 ], [ %46, %99 ]
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %129 ], [ %100, %99 ]
  %.5 = phi i1 [ %.4, %129 ], [ false, %99 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  br label %131

131:                                              ; preds = %130, %97
  %.546 = phi ptr [ %.445, %130 ], [ %44, %97 ]
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %130 ], [ %98, %97 ]
  %.6 = phi i1 [ %.5, %130 ], [ false, %97 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  br label %132

132:                                              ; preds = %131, %95
  %.647 = phi ptr [ %.546, %131 ], [ %42, %95 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %131 ], [ %96, %95 ]
  %.7 = phi i1 [ %.6, %131 ], [ false, %95 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  br label %133

133:                                              ; preds = %132, %93
  %.748 = phi ptr [ %.647, %132 ], [ %40, %93 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %132 ], [ %94, %93 ]
  %.8 = phi i1 [ %.7, %132 ], [ false, %93 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  br label %134

134:                                              ; preds = %133, %91
  %.849 = phi ptr [ %.748, %133 ], [ %38, %91 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %133 ], [ %92, %91 ]
  %.9 = phi i1 [ %.8, %133 ], [ false, %91 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %135

135:                                              ; preds = %134, %89
  %.950 = phi ptr [ %.849, %134 ], [ %36, %89 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %134 ], [ %90, %89 ]
  %.10 = phi i1 [ %.9, %134 ], [ false, %89 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %136

136:                                              ; preds = %135, %87
  %.1051 = phi ptr [ %.950, %135 ], [ %34, %87 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %135 ], [ %88, %87 ]
  %.11 = phi i1 [ %.10, %135 ], [ false, %87 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %137

137:                                              ; preds = %85, %136
  %.1152 = phi ptr [ %.1051, %136 ], [ %32, %85 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %136 ], [ %86, %85 ]
  %.12 = phi i1 [ %.11, %136 ], [ false, %85 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  %138 = icmp eq ptr %5, %.1152
  %or.cond = select i1 %.12, i1 true, i1 %138
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %137, %.preheader
  %139 = phi ptr [ %140, %.preheader ], [ %.1152, %137 ]
  %140 = getelementptr inbounds i8, ptr %139, i64 -40
  call void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %140) #5
  %141 = icmp eq ptr %140, %5
  br i1 %141, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %137
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn78 = phi { ptr, i32 } [ %84, %.thread ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %137 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 560, ptr nonnull %5) #5
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11) #5
  br label %155

142:                                              ; preds = %80
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %146

144:                                              ; preds = %82
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %146

146:                                              ; preds = %144, %142
  %.pn70 = phi { ptr, i32 } [ %145, %144 ], [ %143, %142 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #5
  br label %155

147:                                              ; preds = %83, %76, %73
  %148 = call noundef i64 @_ZNKSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %.not = icmp eq i64 %148, 0
  br i1 %.not, label %149, label %150

149:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull @.str.50, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %152 unwind label %153

150:                                              ; preds = %147
  %151 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt13unordered_mapIN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S7_EEE2atERSD_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZNK17fastertransformer6Tensor16getNumpyTypeDescB5cxx11ENS_13datatype_enumEE8type_mapB5cxx11, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %151)
  br label %.critedge

152:                                              ; preds = %149
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  br label %.critedge

.critedge:                                        ; preds = %150, %152
  ret void

153:                                              ; preds = %149
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #5
  br label %155

155:                                              ; preds = %153, %146, %.loopexit
  %.pn72 = phi { ptr, i32 } [ %154, %153 ], [ %.pn70, %146 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn78, %.loopexit ]
  resume { ptr, i32 } %.pn72
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(2)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairIKN17fastertransformer13datatype_enumENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IS1_RA3_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(3)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17fastertransformer6Logger3logIJEEEvNS0_5LevelENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEDpRKT_(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

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

attributes #0 = { nofree nounwind }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = { 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 = !{!"_ZTSN17fastertransformer13datatype_enumE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"branch_weights", i32 1, i32 1048575}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass