; LLVM IR from Aeternum-Veritas/Merry :: asm/src/codegen.ll (ZN4masm7CodeGen7cmp_varEPNS_7NodeMovE)

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

%"struct.masm::GenBinary" = type { %union.anon.84 }
%union.anon.84 = type { 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::__detail::_Node_iterator.119" = type { %"struct.std::__detail::_Node_iterator_base.120" }
%"struct.std::__detail::_Node_iterator_base.120" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.masm::NodeMov" = type <{ i32, [4 x i8], %"class.std::variant", i8, i8, [6 x i8] }>
%"class.std::variant" = type { %"struct.std::__detail::__variant::_Variant_base.base", [7 x i8] }
%"struct.std::__detail::__variant::_Variant_base.base" = type { %"struct.std::__detail::__variant::_Move_assign_base.base" }
%"struct.std::__detail::__variant::_Move_assign_base.base" = type { %"struct.std::__detail::__variant::_Copy_assign_base.base" }
%"struct.std::__detail::__variant::_Copy_assign_base.base" = type { %"struct.std::__detail::__variant::_Move_ctor_base.base" }
%"struct.std::__detail::__variant::_Move_ctor_base.base" = type { %"struct.std::__detail::__variant::_Copy_ctor_base.base" }
%"struct.std::__detail::__variant::_Copy_ctor_base.base" = type { %"struct.std::__detail::__variant::_Variant_storage.base" }
%"struct.std::__detail::__variant::_Variant_storage.base" = type <{ %"union.std::__detail::__variant::_Variadic_union", i8 }>
%"union.std::__detail::__variant::_Variadic_union" = type { %"struct.std::__detail::__variant::_Uninitialized", [28 x i8] }
%"struct.std::__detail::__variant::_Uninitialized" = type { i32 }
%"class.masm::CodeGen" = type { ptr, ptr, %"class.std::vector.79", ptr, ptr, %"class.std::vector.85", %"class.std::unordered_map.90", ptr, ptr }
%"class.std::vector.79" = type { %"struct.std::_Vector_base.80" }
%"struct.std::_Vector_base.80" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.85" = type { %"struct.std::_Vector_base.86" }
%"struct.std::_Vector_base.86" = type { %"struct.std::_Vector_base<masm::GenBinary, std::allocator<masm::GenBinary>>::_Vector_impl" }
%"struct.std::_Vector_base<masm::GenBinary, std::allocator<masm::GenBinary>>::_Vector_impl" = type { %"struct.std::_Vector_base<masm::GenBinary, std::allocator<masm::GenBinary>>::_Vector_impl_data" }
%"struct.std::_Vector_base<masm::GenBinary, std::allocator<masm::GenBinary>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.90" = type { %"class.std::_Hashtable.91" }
%"class.std::_Hashtable.91" = 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.121" = type { %"class.std::__cxx11::basic_string", i64 }
%struct.anon = type { i8, i8, i8, i8, i8, i8, i8, i8 }
%"struct.masm::SymbolTable" = type { %"class.std::unordered_map.34", %"class.std::unordered_map.34" }
%"class.std::unordered_map.34" = type { %"class.std::_Hashtable.35" }
%"class.std::_Hashtable.35" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::pair.48" = type { %"class.std::__cxx11::basic_string", %"struct.masm::Variable" }
%"struct.masm::Variable" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector", i8, i32, i64, i64, %"class.std::shared_ptr" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl" }
%"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl" = type { %"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl_data" }
%"struct.std::_Vector_base<masm::Token, std::allocator<masm::Token>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZSt3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJN4masm8RegisterES5_St6vectorINS6_5TokenESaIS9_EEEERT_RSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(33)) #3

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4masm7CodeGen7cmp_varEPNS_7NodeMovE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.masm::GenBinary", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator.119", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %"struct.std::__detail::_Node_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @_ZN4masm9GenBinaryC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #4
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %"struct.masm::NodeMov", ptr %13, i32 0, i32 2
  %15 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZSt3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJN4masm8RegisterES5_St6vectorINS6_5TokenESaIS9_EEEERT_RSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(33) %14)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %15)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %16 = getelementptr inbounds %"class.masm::CodeGen", ptr %12, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = invoke ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_mEEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %19 unwind label %47

19:                                               ; preds = %2
  %20 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.119", ptr %7, i32 0, i32 0
  %21 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.120", ptr %20, i32 0, i32 0
  store ptr %18, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %22 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %23 = getelementptr inbounds %"struct.std::pair.121", ptr %22, i32 0, i32 1
  %24 = load i64, ptr %23, align 8, !tbaa !25
  store i64 %24, ptr %10, align 8, !tbaa !29
  %25 = load i64, ptr %10, align 8, !tbaa !29
  %26 = and i64 %25, 281474976710655
  %27 = getelementptr inbounds %"struct.masm::GenBinary", ptr %5, i32 0, i32 0
  %28 = load i64, ptr %27, align 8, !tbaa !30
  %29 = or i64 %28, %26
  store i64 %29, ptr %27, align 8, !tbaa !30
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.masm::NodeMov", ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !31
  %33 = trunc i32 %32 to i8
  %34 = getelementptr inbounds %"struct.masm::GenBinary", ptr %5, i32 0, i32 0
  %35 = getelementptr inbounds %struct.anon, ptr %34, i32 0, i32 6
  store i8 %33, ptr %35, align 2, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %36 = getelementptr inbounds %"class.masm::CodeGen", ptr %12, i32 0, i32 8
  %37 = load ptr, ptr %36, align 8, !tbaa !42
  %38 = getelementptr inbounds %"struct.masm::SymbolTable", ptr %37, i32 0, i32 0
  %39 = invoke ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8VariableESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %40 unwind label %51

40:                                               ; preds = %19
  %41 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %11, i32 0, i32 0
  %42 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %41, i32 0, i32 0
  store ptr %39, ptr %42, align 8
  %43 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8VariableEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  %44 = getelementptr inbounds %"struct.std::pair.48", ptr %43, i32 0, i32 1
  %45 = getelementptr inbounds %"struct.masm::Variable", ptr %44, i32 0, i32 4
  %46 = load i32, ptr %45, align 4, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  switch i32 %46, label %67 [
    i32 0, label %55
    i32 7, label %55
    i32 6, label %55
    i32 1, label %58
    i32 8, label %58
    i32 2, label %61
    i32 4, label %61
    i32 9, label %61
    i32 3, label %64
    i32 5, label %64
    i32 10, label %64
  ]

47:                                               ; preds = %2
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %8, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %9, align 4
  br label %75

51:                                               ; preds = %19
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %8, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %74

55:                                               ; preds = %40, %40, %40
  %56 = getelementptr inbounds %"struct.masm::GenBinary", ptr %5, i32 0, i32 0
  %57 = getelementptr inbounds %struct.anon, ptr %56, i32 0, i32 7
  store i8 -71, ptr %57, align 1, !tbaa !30
  br label %67

58:                                               ; preds = %40, %40
  %59 = getelementptr inbounds %"struct.masm::GenBinary", ptr %5, i32 0, i32 0
  %60 = getelementptr inbounds %struct.anon, ptr %59, i32 0, i32 7
  store i8 -70, ptr %60, align 1, !tbaa !30
  br label %67

61:                                               ; preds = %40, %40, %40
  %62 = getelementptr inbounds %"struct.masm::GenBinary", ptr %5, i32 0, i32 0
  %63 = getelementptr inbounds %struct.anon, ptr %62, i32 0, i32 7
  store i8 -69, ptr %63, align 1, !tbaa !30
  br label %67

64:                                               ; preds = %40, %40, %40
  %65 = getelementptr inbounds %"struct.masm::GenBinary", ptr %5, i32 0, i32 0
  %66 = getelementptr inbounds %struct.anon, ptr %65, i32 0, i32 7
  store i8 -68, ptr %66, align 1, !tbaa !30
  br label %67

67:                                               ; preds = %64, %61, %58, %55, %40
  %68 = getelementptr inbounds %"class.masm::CodeGen", ptr %12, i32 0, i32 5
  invoke void @_ZNSt6vectorIN4masm9GenBinaryESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %69 unwind label %70

69:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void

70:                                               ; preds = %67
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, align 4
  br label %74

74:                                               ; preds = %70, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %75

75:                                               ; preds = %74, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %76

76:                                               ; preds = %75
  %77 = load ptr, ptr %8, align 8
  %78 = load i32, ptr %9, align 4
  %79 = insertvalue { ptr, i32 } poison, ptr %77, 0
  %80 = insertvalue { ptr, i32 } %79, i32 %78, 1
  resume { ptr, i32 } %80
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN4masm7CodeGenE", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 40, !6, i64 48, !15, i64 56, !19, i64 80, !6, i64 136, !6, i64 144}
!11 = !{!"_ZTSSt6vectorIhSaIhEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTSSt6vectorIN4masm9GenBinaryESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN4masm9GenBinaryESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN4masm9GenBinaryESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN4masm9GenBinaryESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt13unordered_mapImmSt4hashImESt8equal_toImESaISt4pairIKmmEEE", !20, i64 0}
!20 = !{!"_ZTSSt10_HashtableImSt4pairIKmmESaIS2_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !21, i64 8, !22, i64 16, !21, i64 24, !23, i64 32, !6, i64 48}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!23 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !24, i64 0, !21, i64 8}
!24 = !{!"float", !7, i64 0}
!25 = !{!26, !21, i64 32}
!26 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE", !27, i64 0, !21, i64 32}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !21, i64 8, !7, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!29 = !{!21, !21, i64 0}
!30 = !{!7, !7, i64 0}
!31 = !{!32, !33, i64 0}
!32 = !{!"_ZTSN4masm7NodeMovE", !33, i64 0, !34, i64 8, !41, i64 48, !41, i64 49}
!33 = !{!"_ZTSN4masm8RegisterE", !7, i64 0}
!34 = !{!"_ZTSSt7variantIJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS0_5TokenESaIS9_EEEE", !35, i64 0}
!35 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !36, i64 0}
!36 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !37, i64 0}
!37 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !38, i64 0}
!38 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !39, i64 0}
!39 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !40, i64 0}
!40 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !7, i64 0, !7, i64 32}
!41 = !{!"bool", !7, i64 0}
!42 = !{!10, !6, i64 144}
!43 = !{!44, !50, i64 124}
!44 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8VariableEE", !27, i64 0, !45, i64 32}
!45 = !{!"_ZTSN4masm8VariableE", !27, i64 0, !27, i64 32, !46, i64 64, !41, i64 88, !50, i64 92, !21, i64 96, !21, i64 104, !51, i64 112}
!46 = !{!"_ZTSSt6vectorIN4masm5TokenESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIN4masm5TokenESaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSN4masm8DataTypeE", !7, i64 0}
!51 = !{!"_ZTSSt10shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !52, i64 0}
!52 = !{!"_ZTSSt12__shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !53, i64 8}
!53 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}


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

%"struct.masm::GenBinary" = type { %union.anon.84 }
%union.anon.84 = type { 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::__detail::_Node_iterator.119" = type { %"struct.std::__detail::_Node_iterator_base.120" }
%"struct.std::__detail::_Node_iterator_base.120" = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@switch.table._ZN4masm7CodeGen7cmp_varEPNS_7NodeMovE = private unnamed_addr constant [11 x i8] c"\B9\BA\BB\BC\BB\BC\B9\B9\BA\BB\BC", align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZSt3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJN4masm8RegisterES5_St6vectorINS6_5TokenESaIS9_EEEERT_RSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4masm7CodeGen7cmp_varEPNS_7NodeMovE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.masm::GenBinary", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator.119", align 8
  %6 = alloca %"struct.std::__detail::_Node_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @_ZN4masm9GenBinaryC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZSt3getINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJN4masm8RegisterES5_St6vectorINS6_5TokenESaIS9_EEEERT_RSt7variantIJDpT0_EE(ptr noundef nonnull align 8 dereferenceable(33) %7)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %9 = load ptr, ptr %0, align 8, !tbaa !5
  %10 = invoke ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_mEEE4findERSB_(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %11 unwind label %29

11:                                               ; preds = %2
  store ptr %10, ptr %5, align 8
  %12 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %13 = getelementptr inbounds i8, ptr %12, i64 32
  %14 = load i64, ptr %13, align 8, !tbaa !24
  %15 = and i64 %14, 281474976710655
  %16 = load i64, ptr %3, align 8, !tbaa !28
  %17 = or i64 %16, %15
  store i64 %17, ptr %3, align 8, !tbaa !28
  %18 = load i32, ptr %1, align 8, !tbaa !29
  %19 = trunc i32 %18 to i8
  %20 = getelementptr inbounds i8, ptr %3, i64 6
  store i8 %19, ptr %20, align 2, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %21 = getelementptr inbounds i8, ptr %0, i64 144
  %22 = load ptr, ptr %21, align 8, !tbaa !40
  %23 = invoke ptr @_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8VariableESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S7_EEE4findERSD_(ptr noundef nonnull align 8 dereferenceable(56) %22, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %24 unwind label %31

24:                                               ; preds = %11
  store ptr %23, ptr %6, align 8
  %25 = call noundef ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8VariableEELb0ELb1EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  %26 = getelementptr inbounds i8, ptr %25, i64 124
  %27 = load i32, ptr %26, align 4, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  %28 = icmp ult i32 %27, 11
  br i1 %28, label %switch.lookup, label %35

29:                                               ; preds = %2
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %40

31:                                               ; preds = %11
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  br label %40

switch.lookup:                                    ; preds = %24
  %33 = zext nneg i32 %27 to i64
  %switch.gep = getelementptr inbounds [11 x i8], ptr @switch.table._ZN4masm7CodeGen7cmp_varEPNS_7NodeMovE, i64 0, i64 %33
  %switch.load = load i8, ptr %switch.gep, align 1
  %34 = getelementptr inbounds i8, ptr %3, i64 7
  store i8 %switch.load, ptr %34, align 1, !tbaa !28
  br label %35

35:                                               ; preds = %24, %switch.lookup
  %36 = getelementptr inbounds i8, ptr %0, i64 56
  invoke void @_ZNSt6vectorIN4masm9GenBinaryESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %37 unwind label %38

37:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret void

38:                                               ; preds = %35
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %40

40:                                               ; preds = %31, %38, %29
  %.pn.pn = phi { ptr, i32 } [ %30, %29 ], [ %39, %38 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn.pn
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN4masm7CodeGenE", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 40, !7, i64 48, !14, i64 56, !18, i64 80, !7, i64 136, !7, i64 144}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIhSaIhEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"_ZTSSt6vectorIN4masm9GenBinaryESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN4masm9GenBinaryESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN4masm9GenBinaryESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN4masm9GenBinaryESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!18 = !{!"_ZTSSt13unordered_mapImmSt4hashImESt8equal_toImESaISt4pairIKmmEEE", !19, i64 0}
!19 = !{!"_ZTSSt10_HashtableImSt4pairIKmmESaIS2_ENSt8__detail10_Select1stESt8equal_toImESt4hashImENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !20, i64 8, !21, i64 16, !20, i64 24, !22, i64 32, !7, i64 48}
!20 = !{!"long", !8, i64 0}
!21 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!22 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !23, i64 0, !20, i64 8}
!23 = !{!"float", !8, i64 0}
!24 = !{!25, !20, i64 32}
!25 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE", !26, i64 0, !20, i64 32}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !27, i64 0, !20, i64 8, !8, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!28 = !{!8, !8, i64 0}
!29 = !{!30, !31, i64 0}
!30 = !{!"_ZTSN4masm7NodeMovE", !31, i64 0, !32, i64 8, !39, i64 48, !39, i64 49}
!31 = !{!"_ZTSN4masm8RegisterE", !8, i64 0}
!32 = !{!"_ZTSSt7variantIJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS0_5TokenESaIS9_EEEE", !33, i64 0}
!33 = !{!"_ZTSNSt8__detail9__variant13_Variant_baseIJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !34, i64 0}
!34 = !{!"_ZTSNSt8__detail9__variant17_Move_assign_baseILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !35, i64 0}
!35 = !{!"_ZTSNSt8__detail9__variant17_Copy_assign_baseILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !36, i64 0}
!36 = !{!"_ZTSNSt8__detail9__variant15_Move_ctor_baseILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !37, i64 0}
!37 = !{!"_ZTSNSt8__detail9__variant15_Copy_ctor_baseILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !38, i64 0}
!38 = !{!"_ZTSNSt8__detail9__variant16_Variant_storageILb0EJN4masm8RegisterENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS2_5TokenESaISB_EEEEE", !8, i64 0, !8, i64 32}
!39 = !{!"bool", !8, i64 0}
!40 = !{!6, !7, i64 144}
!41 = !{!42, !48, i64 124}
!42 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4masm8VariableEE", !26, i64 0, !43, i64 32}
!43 = !{!"_ZTSN4masm8VariableE", !26, i64 0, !26, i64 32, !44, i64 64, !39, i64 88, !48, i64 92, !20, i64 96, !20, i64 104, !49, i64 112}
!44 = !{!"_ZTSSt6vectorIN4masm5TokenESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN4masm5TokenESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN4masm5TokenESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!48 = !{!"_ZTSN4masm8DataTypeE", !8, i64 0}
!49 = !{!"_ZTSSt10shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !50, i64 0}
!50 = !{!"_ZTSSt12__shared_ptrINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0, !51, i64 8}
!51 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass