; 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.42" = type { %"class.std::_Hashtable.43" }
%"class.std::_Hashtable.43" = 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::initializer_list.62" = type { ptr, i64 }
%"struct.std::pair.63" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"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::hash.47" = type { i8 }
%"struct.std::equal_to.50" = type { i8 }
%"class.std::allocator.65" = type { i8 }

@__dso_handle = external hidden global i8
@_ZZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11 = external hidden global %"class.std::unordered_map.42", align 8
@_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11 = external hidden global i64, align 8
@.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

; 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 uwtable
define dso_local noundef i32 @_ZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::initializer_list.62", align 8
  %4 = alloca [13 x %"struct.std::pair.63"], align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %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 i32, align 4
  %21 = alloca i1, align 1
  %22 = alloca %"struct.std::hash.47", align 1
  %23 = alloca %"struct.std::equal_to.50", align 1
  %24 = alloca %"class.std::allocator.65", align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %25 = load atomic i8, ptr @_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11 acquire, align 8
  %26 = icmp eq i8 %25, 0
  br i1 %26, label %27, label %71, !prof !9

27:                                               ; preds = %1
  %28 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11) #0
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %71

30:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 520, ptr %4) #0
  store i1 true, ptr %21, align 1
  store ptr %4, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #0
  store i32 1, ptr %6, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA2_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %4, ptr noundef nonnull align 1 dereferenceable(2) @.str.37, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %31 unwind label %74

31:                                               ; preds = %30
  %32 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 1
  store ptr %32, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #0
  store i32 13, ptr %9, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA2_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %32, ptr noundef nonnull align 1 dereferenceable(2) @.str.38, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %33 unwind label %78

33:                                               ; preds = %31
  %34 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 2
  store ptr %34, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #0
  store i32 2, ptr %10, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %34, ptr noundef nonnull align 1 dereferenceable(3) @.str.39, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %35 unwind label %82

35:                                               ; preds = %33
  %36 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 3
  store ptr %36, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #0
  store i32 3, ptr %11, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %36, ptr noundef nonnull align 1 dereferenceable(3) @.str.40, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %37 unwind label %86

37:                                               ; preds = %35
  %38 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 4
  store ptr %38, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #0
  store i32 4, ptr %12, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %38, ptr noundef nonnull align 1 dereferenceable(3) @.str.41, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %39 unwind label %90

39:                                               ; preds = %37
  %40 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 5
  store ptr %40, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #0
  store i32 5, ptr %13, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %40, ptr noundef nonnull align 1 dereferenceable(3) @.str.42, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %41 unwind label %94

41:                                               ; preds = %39
  %42 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 6
  store ptr %42, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #0
  store i32 6, ptr %14, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %42, ptr noundef nonnull align 1 dereferenceable(3) @.str.43, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %43 unwind label %98

43:                                               ; preds = %41
  %44 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 7
  store ptr %44, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #0
  store i32 7, ptr %15, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %44, ptr noundef nonnull align 1 dereferenceable(3) @.str.44, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %45 unwind label %102

45:                                               ; preds = %43
  %46 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 8
  store ptr %46, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #0
  store i32 8, ptr %16, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %46, ptr noundef nonnull align 1 dereferenceable(3) @.str.45, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %47 unwind label %106

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 9
  store ptr %48, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #0
  store i32 9, ptr %17, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %48, ptr noundef nonnull align 1 dereferenceable(3) @.str.46, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %49 unwind label %110

49:                                               ; preds = %47
  %50 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 10
  store ptr %50, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #0
  store i32 10, ptr %18, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %50, ptr noundef nonnull align 1 dereferenceable(3) @.str.47, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %51 unwind label %114

51:                                               ; preds = %49
  %52 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 11
  store ptr %52, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #0
  store i32 11, ptr %19, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %52, ptr noundef nonnull align 1 dereferenceable(3) @.str.48, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %53 unwind label %118

53:                                               ; preds = %51
  %54 = getelementptr inbounds %"struct.std::pair.63", ptr %4, i64 12
  store ptr %54, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #0
  store i32 12, ptr %20, align 4, !tbaa !10
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %54, ptr noundef nonnull align 1 dereferenceable(3) @.str.49, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %55 unwind label %122

55:                                               ; preds = %53
  store i1 false, ptr %21, align 1
  %56 = getelementptr inbounds %"class.std::initializer_list.62", ptr %3, i32 0, i32 0
  store ptr %4, ptr %56, align 8, !tbaa !12
  %57 = getelementptr inbounds %"class.std::initializer_list.62", ptr %3, i32 0, i32 1
  store i64 13, ptr %57, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #0
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #0
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #0
  call void @_ZNSaISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #0
  %58 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8
  %60 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 1
  %61 = load i64, ptr %60, align 8
  invoke void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEEC2ESt16initializer_listISE_EmRKS9_RKSB_RKSF_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11, ptr %59, i64 %61, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 1 dereferenceable(1) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %62 unwind label %126

62:                                               ; preds = %55
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #0
  %63 = getelementptr inbounds [13 x %"struct.std::pair.63"], ptr %4, i32 0, i32 0
  %64 = getelementptr inbounds %"struct.std::pair.63", ptr %63, i64 13
  br label %65

65:                                               ; preds = %65, %62
  %66 = phi ptr [ %64, %62 ], [ %67, %65 ]
  %67 = getelementptr inbounds %"struct.std::pair.63", ptr %66, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %67) #0
  %68 = icmp eq ptr %67, %63
  br i1 %68, label %69, label %65

69:                                               ; preds = %65
  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 %12) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #0
  call void @llvm.lifetime.end.p0(i64 520, ptr %4) #0
  %70 = call i32 @__cxa_atexit(ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEED2Ev, ptr @_ZZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11) #0
  br label %71

71:                                               ; preds = %69, %27, %1
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE2atERSD_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %0)
  %73 = load i32, ptr %72, align 4, !tbaa !10
  ret i32 %73

74:                                               ; preds = %30
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  br label %149

78:                                               ; preds = %31
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %7, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %8, align 4
  br label %148

82:                                               ; preds = %33
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %7, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %8, align 4
  br label %147

86:                                               ; preds = %35
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %7, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %8, align 4
  br label %146

90:                                               ; preds = %37
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %7, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %8, align 4
  br label %145

94:                                               ; preds = %39
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %7, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %8, align 4
  br label %144

98:                                               ; preds = %41
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %7, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %8, align 4
  br label %143

102:                                              ; preds = %43
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %7, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %8, align 4
  br label %142

106:                                              ; preds = %45
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %7, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %8, align 4
  br label %141

110:                                              ; preds = %47
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %7, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %8, align 4
  br label %140

114:                                              ; preds = %49
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %7, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %8, align 4
  br label %139

118:                                              ; preds = %51
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %7, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %8, align 4
  br label %138

122:                                              ; preds = %53
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  br label %137

126:                                              ; preds = %55
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %7, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #0
  %130 = getelementptr inbounds [13 x %"struct.std::pair.63"], ptr %4, i32 0, i32 0
  %131 = getelementptr inbounds %"struct.std::pair.63", ptr %130, i64 13
  br label %132

132:                                              ; preds = %132, %126
  %133 = phi ptr [ %131, %126 ], [ %134, %132 ]
  %134 = getelementptr inbounds %"struct.std::pair.63", ptr %133, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %134) #0
  %135 = icmp eq ptr %134, %130
  br i1 %135, label %136, label %132

136:                                              ; preds = %132
  br label %137

137:                                              ; preds = %136, %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #0
  br label %138

138:                                              ; preds = %137, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #0
  br label %139

139:                                              ; preds = %138, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #0
  br label %140

140:                                              ; preds = %139, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #0
  br label %141

141:                                              ; preds = %140, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #0
  br label %142

142:                                              ; preds = %141, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #0
  br label %143

143:                                              ; preds = %142, %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #0
  br label %144

144:                                              ; preds = %143, %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #0
  br label %145

145:                                              ; preds = %144, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #0
  br label %146

146:                                              ; preds = %145, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #0
  br label %147

147:                                              ; preds = %146, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  br label %148

148:                                              ; preds = %147, %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #0
  br label %149

149:                                              ; preds = %148, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #0
  %150 = load i1, ptr %21, align 1
  br i1 %150, label %151, label %159

151:                                              ; preds = %149
  %152 = load ptr, ptr %5, align 8
  %153 = icmp eq ptr %4, %152
  br i1 %153, label %158, label %154

154:                                              ; preds = %154, %151
  %155 = phi ptr [ %152, %151 ], [ %156, %154 ]
  %156 = getelementptr inbounds %"struct.std::pair.63", ptr %155, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %156) #0
  %157 = icmp eq ptr %156, %4
  br i1 %157, label %158, label %154

158:                                              ; preds = %154, %151
  br label %159

159:                                              ; preds = %158, %149
  call void @llvm.lifetime.end.p0(i64 520, ptr %4) #0
  call void @__cxa_guard_abort(ptr @_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11) #0
  br label %160

160:                                              ; preds = %159
  %161 = load ptr, ptr %7, align 8
  %162 = load i32, ptr %8, align 4
  %163 = insertvalue { ptr, i32 } poison, ptr %161, 0
  %164 = insertvalue { ptr, i32 } %163, i32 %162, 1
  resume { ptr, i32 } %164
}

; 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 dso_local void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA2_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 1 dereferenceable(2), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_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 #2 align 2

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

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

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

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

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"branch_weights", i32 1, i32 1048575}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTSN17fastertransformer13datatype_enumE", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSSt16initializer_listISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEE", !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.42" = type { %"class.std::_Hashtable.43" }
%"class.std::_Hashtable.43" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.std::pair.63" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"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::hash.47" = type { i8 }
%"struct.std::equal_to.50" = type { i8 }
%"class.std::allocator.65" = type { i8 }

@__dso_handle = external hidden global i8
@_ZZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11 = external hidden global %"class.std::unordered_map.42", align 8
@_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11 = external hidden global i64, align 8
@.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

; 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 uwtable
define dso_local noundef i32 @_ZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [13 x %"struct.std::pair.63"], align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %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 %"struct.std::hash.47", align 1
  %17 = alloca %"struct.std::equal_to.50", align 1
  %18 = alloca %"class.std::allocator.65", align 1
  %19 = load atomic i8, ptr @_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11 acquire, align 8
  %20 = icmp eq i8 %19, 0
  br i1 %20, label %21, label %63, !prof !5

21:                                               ; preds = %1
  %22 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11) #5
  %.not43 = icmp eq i32 %22, 0
  br i1 %.not43, label %63, label %23

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 1, ptr %3, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA2_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %2, ptr noundef nonnull align 1 dereferenceable(2) @.str.37, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %24 unwind label %.thread

24:                                               ; preds = %23
  %25 = getelementptr inbounds i8, ptr %2, i64 40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  store i32 13, ptr %4, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA2_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %25, ptr noundef nonnull align 1 dereferenceable(2) @.str.38, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %26 unwind label %67

26:                                               ; preds = %24
  %27 = getelementptr inbounds i8, ptr %2, i64 80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 2, ptr %5, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %27, ptr noundef nonnull align 1 dereferenceable(3) @.str.39, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %28 unwind label %69

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %2, i64 120
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 3, ptr %6, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %29, ptr noundef nonnull align 1 dereferenceable(3) @.str.40, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %30 unwind label %71

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %2, i64 160
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 4, ptr %7, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %31, ptr noundef nonnull align 1 dereferenceable(3) @.str.41, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %32 unwind label %73

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %2, i64 200
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 5, ptr %8, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %33, ptr noundef nonnull align 1 dereferenceable(3) @.str.42, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %34 unwind label %75

34:                                               ; preds = %32
  %35 = getelementptr inbounds i8, ptr %2, i64 240
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 6, ptr %9, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %35, ptr noundef nonnull align 1 dereferenceable(3) @.str.43, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %36 unwind label %77

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %2, i64 280
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 7, ptr %10, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %37, ptr noundef nonnull align 1 dereferenceable(3) @.str.44, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %38 unwind label %79

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %2, i64 320
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 8, ptr %11, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %39, ptr noundef nonnull align 1 dereferenceable(3) @.str.45, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %40 unwind label %81

40:                                               ; preds = %38
  %41 = getelementptr inbounds i8, ptr %2, i64 360
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  store i32 9, ptr %12, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %41, ptr noundef nonnull align 1 dereferenceable(3) @.str.46, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %42 unwind label %83

42:                                               ; preds = %40
  %43 = getelementptr inbounds i8, ptr %2, i64 400
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  store i32 10, ptr %13, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %43, ptr noundef nonnull align 1 dereferenceable(3) @.str.47, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %44 unwind label %85

44:                                               ; preds = %42
  %45 = getelementptr inbounds i8, ptr %2, i64 440
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  store i32 11, ptr %14, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %45, ptr noundef nonnull align 1 dereferenceable(3) @.str.48, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %46 unwind label %87

46:                                               ; preds = %44
  %47 = getelementptr inbounds i8, ptr %2, i64 480
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  store i32 12, ptr %15, align 4, !tbaa !6
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA3_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36) %47, ptr noundef nonnull align 1 dereferenceable(3) @.str.49, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %48 unwind label %89

48:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSaISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  invoke void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEEC2ESt16initializer_listISE_EmRKS9_RKSB_RKSF_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11, ptr nonnull %2, i64 13, i64 noundef 0, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %49 unwind label %.loopexit62.loopexit

49:                                               ; preds = %48
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  %50 = getelementptr inbounds i8, ptr %2, i64 480
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %50) #5
  %51 = getelementptr inbounds i8, ptr %2, i64 440
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %51) #5
  %52 = getelementptr inbounds i8, ptr %2, i64 400
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %52) #5
  %53 = getelementptr inbounds i8, ptr %2, i64 360
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %53) #5
  %54 = getelementptr inbounds i8, ptr %2, i64 320
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %54) #5
  %55 = getelementptr inbounds i8, ptr %2, i64 280
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %55) #5
  %56 = getelementptr inbounds i8, ptr %2, i64 240
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %56) #5
  %57 = getelementptr inbounds i8, ptr %2, i64 200
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %57) #5
  %58 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %58) #5
  %59 = getelementptr inbounds i8, ptr %2, i64 120
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %59) #5
  %60 = getelementptr inbounds i8, ptr %2, i64 80
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %60) #5
  %61 = getelementptr inbounds i8, ptr %2, i64 40
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %61) #5
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %2) #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 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %2) #5
  %62 = call i32 @__cxa_atexit(ptr nonnull @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEED2Ev, ptr nonnull @_ZZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11, ptr nonnull @__dso_handle) #5
  call void @__cxa_guard_release(ptr nonnull @_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11) #5
  br label %63

63:                                               ; preds = %49, %21, %1
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE2atERSD_(ptr noundef nonnull align 8 dereferenceable(56) @_ZZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %0)
  %65 = load i32, ptr %64, align 4, !tbaa !6
  ret i32 %65

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

67:                                               ; preds = %24
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %115

69:                                               ; preds = %26
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %114

71:                                               ; preds = %28
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %113

73:                                               ; preds = %30
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %112

75:                                               ; preds = %32
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %111

77:                                               ; preds = %34
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %110

79:                                               ; preds = %36
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %109

81:                                               ; preds = %38
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %108

83:                                               ; preds = %40
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %107

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

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

89:                                               ; preds = %46
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit62

.loopexit62.loopexit:                             ; preds = %48
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  %92 = getelementptr inbounds i8, ptr %2, i64 480
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %92) #5
  %93 = getelementptr inbounds i8, ptr %2, i64 440
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %93) #5
  %94 = getelementptr inbounds i8, ptr %2, i64 400
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %94) #5
  %95 = getelementptr inbounds i8, ptr %2, i64 360
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %95) #5
  %96 = getelementptr inbounds i8, ptr %2, i64 320
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %96) #5
  %97 = getelementptr inbounds i8, ptr %2, i64 280
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %97) #5
  %98 = getelementptr inbounds i8, ptr %2, i64 240
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %98) #5
  %99 = getelementptr inbounds i8, ptr %2, i64 200
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %99) #5
  %100 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %100) #5
  %101 = getelementptr inbounds i8, ptr %2, i64 120
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %101) #5
  %102 = getelementptr inbounds i8, ptr %2, i64 80
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %102) #5
  %103 = getelementptr inbounds i8, ptr %2, i64 40
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %103) #5
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %2) #5
  br label %.loopexit62

.loopexit62:                                      ; preds = %.loopexit62.loopexit, %89
  %.pn = phi { ptr, i32 } [ %90, %89 ], [ %91, %.loopexit62.loopexit ]
  %104 = phi i1 [ false, %89 ], [ true, %.loopexit62.loopexit ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  br label %105

105:                                              ; preds = %.loopexit62, %87
  %.030 = phi ptr [ %47, %.loopexit62 ], [ %45, %87 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit62 ], [ %88, %87 ]
  %.1 = phi i1 [ %104, %.loopexit62 ], [ false, %87 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  br label %106

106:                                              ; preds = %105, %85
  %.131 = phi ptr [ %.030, %105 ], [ %43, %85 ]
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %105 ], [ %86, %85 ]
  %.2 = phi i1 [ %.1, %105 ], [ false, %85 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  br label %107

107:                                              ; preds = %106, %83
  %.232 = phi ptr [ %.131, %106 ], [ %41, %83 ]
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %106 ], [ %84, %83 ]
  %.3 = phi i1 [ %.2, %106 ], [ false, %83 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  br label %108

108:                                              ; preds = %107, %81
  %.333 = phi ptr [ %.232, %107 ], [ %39, %81 ]
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %107 ], [ %82, %81 ]
  %.4 = phi i1 [ %.3, %107 ], [ false, %81 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  br label %109

109:                                              ; preds = %108, %79
  %.434 = phi ptr [ %.333, %108 ], [ %37, %79 ]
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %108 ], [ %80, %79 ]
  %.5 = phi i1 [ %.4, %108 ], [ false, %79 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %110

110:                                              ; preds = %109, %77
  %.535 = phi ptr [ %.434, %109 ], [ %35, %77 ]
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %109 ], [ %78, %77 ]
  %.6 = phi i1 [ %.5, %109 ], [ false, %77 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %111

111:                                              ; preds = %110, %75
  %.636 = phi ptr [ %.535, %110 ], [ %33, %75 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %110 ], [ %76, %75 ]
  %.7 = phi i1 [ %.6, %110 ], [ false, %75 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %112

112:                                              ; preds = %111, %73
  %.737 = phi ptr [ %.636, %111 ], [ %31, %73 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %111 ], [ %74, %73 ]
  %.8 = phi i1 [ %.7, %111 ], [ false, %73 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %113

113:                                              ; preds = %112, %71
  %.838 = phi ptr [ %.737, %112 ], [ %29, %71 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %112 ], [ %72, %71 ]
  %.9 = phi i1 [ %.8, %112 ], [ false, %71 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %114

114:                                              ; preds = %113, %69
  %.939 = phi ptr [ %.838, %113 ], [ %27, %69 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %113 ], [ %70, %69 ]
  %.10 = phi i1 [ %.9, %113 ], [ false, %69 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %115

115:                                              ; preds = %67, %114
  %.1040 = phi ptr [ %.939, %114 ], [ %25, %67 ]
  %.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, %114 ], [ %68, %67 ]
  %.11 = phi i1 [ %.10, %114 ], [ false, %67 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  %116 = icmp eq ptr %2, %.1040
  %or.cond = select i1 %.11, i1 true, i1 %116
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %115, %.preheader
  %117 = phi ptr [ %118, %.preheader ], [ %.1040, %115 ]
  %118 = getelementptr inbounds i8, ptr %117, i64 -40
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %118) #5
  %119 = icmp eq ptr %118, %2
  br i1 %119, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %115
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn61 = phi { ptr, i32 } [ %66, %.thread ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %115 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %2) #5
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZN17fastertransformer6Tensor17typeFromNumpyDescENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8type_mapB5cxx11) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn61
}

; 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 dso_local void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumEEC2IRA2_KcS8_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISF_SG_EEEbE4typeELb1EEEOSF_OSG_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 1 dereferenceable(2), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN17fastertransformer13datatype_enumESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_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 #2 align 2

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

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

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

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

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


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