; LLVM IR from opset/openset :: src/result.ll (ZN7openset6result9ResultSet21setAccTypesFromMacrosERKNS_5query7Macro_sE)

; 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.__gnu_cxx::__normal_iterator.366" = type { ptr }
%"struct.openset::query::Macro_s" = type { %"struct.openset::query::Variables_S", %"class.std::vector.319", %"class.std::vector.319", %"class.std::vector.344", %"class.std::vector.349", %"class.std::vector.354", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.359", i8, %"class.std::__cxx11::basic_string", %"class.std::vector.364", %"class.std::unordered_set.200", i64, i64, i32, i64, %"class.std::__cxx11::basic_string", i8, i8, i8, i8, i8, i8, i8, i8, i8, i32 }
%"struct.openset::query::Variables_S" = type { %"class.std::vector.314", %"class.std::vector.314", %"class.std::vector.314", %"class.std::vector.319", %"class.std::vector.324", %"class.std::vector.329", %"class.std::vector.334", %"class.std::vector.339" }
%"class.std::vector.314" = type { %"struct.std::_Vector_base.315" }
%"struct.std::_Vector_base.315" = type { %"struct.std::_Vector_base<openset::query::Variable_s, std::allocator<openset::query::Variable_s>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::Variable_s, std::allocator<openset::query::Variable_s>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::Variable_s, std::allocator<openset::query::Variable_s>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::Variable_s, std::allocator<openset::query::Variable_s>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.324" = type { %"struct.std::_Vector_base.325" }
%"struct.std::_Vector_base.325" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.329" = type { %"struct.std::_Vector_base.330" }
%"struct.std::_Vector_base.330" = type { %"struct.std::_Vector_base<openset::query::Function_s, std::allocator<openset::query::Function_s>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::Function_s, std::allocator<openset::query::Function_s>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::Function_s, std::allocator<openset::query::Function_s>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::Function_s, std::allocator<openset::query::Function_s>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.334" = type { %"struct.std::_Vector_base.335" }
%"struct.std::_Vector_base.335" = type { %"struct.std::_Vector_base<openset::query::TextLiteral_s, std::allocator<openset::query::TextLiteral_s>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::TextLiteral_s, std::allocator<openset::query::TextLiteral_s>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::TextLiteral_s, std::allocator<openset::query::TextLiteral_s>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::TextLiteral_s, std::allocator<openset::query::TextLiteral_s>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.339" = type { %"struct.std::_Vector_base.340" }
%"struct.std::_Vector_base.340" = type { %"struct.std::_Vector_base<openset::query::Count_S, std::allocator<openset::query::Count_S>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::Count_S, std::allocator<openset::query::Count_S>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::Count_S, std::allocator<openset::query::Count_S>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::Count_S, std::allocator<openset::query::Count_S>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.319" = type { %"struct.std::_Vector_base.320" }
%"struct.std::_Vector_base.320" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.344" = type { %"struct.std::_Vector_base.345" }
%"struct.std::_Vector_base.345" = type { %"struct.std::_Vector_base<openset::query::Filter_s, std::allocator<openset::query::Filter_s>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::Filter_s, std::allocator<openset::query::Filter_s>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::Filter_s, std::allocator<openset::query::Filter_s>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::Filter_s, std::allocator<openset::query::Filter_s>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.349" = type { %"struct.std::_Vector_base.350" }
%"struct.std::_Vector_base.350" = type { %"struct.std::_Vector_base<openset::query::Instruction_s, std::allocator<openset::query::Instruction_s>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::Instruction_s, std::allocator<openset::query::Instruction_s>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::Instruction_s, std::allocator<openset::query::Instruction_s>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::Instruction_s, std::allocator<openset::query::Instruction_s>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.354" = type { %"struct.std::_Vector_base.355" }
%"struct.std::_Vector_base.355" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::vector<openset::query::HintOp_s>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::vector<openset::query::HintOp_s>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::vector<openset::query::HintOp_s>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::vector<openset::query::HintOp_s>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::vector<openset::query::HintOp_s>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::vector<openset::query::HintOp_s>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::vector<openset::query::HintOp_s>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::vector<openset::query::HintOp_s>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.359" = type { %"struct.std::_Vector_base.360" }
%"struct.std::_Vector_base.360" = type { %"struct.std::_Vector_base<openset::query::HintOp_s, std::allocator<openset::query::HintOp_s>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::HintOp_s, std::allocator<openset::query::HintOp_s>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::HintOp_s, std::allocator<openset::query::HintOp_s>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::HintOp_s, std::allocator<openset::query::HintOp_s>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.364" = type { %"struct.std::_Vector_base.365" }
%"struct.std::_Vector_base.365" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_set.200" = type { %"class.std::_Hashtable.201" }
%"class.std::_Hashtable.201" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.openset::result::ResultSet" = type { %"class.robin_hood::detail::unordered_map", %"class.std::vector", %class.HeapStack, i64, %class.CriticalSection, i8, %"class.robin_hood::detail::unordered_map.295", %"class.std::vector.302", %"class.std::vector.307" }
%"class.robin_hood::detail::unordered_map" = type { %"struct.robin_hood::detail::NodeAllocator", ptr, ptr, i64, i64, i64, i32, i32 }
%"struct.robin_hood::detail::NodeAllocator" = type { %"class.robin_hood::detail::BulkPoolAllocator" }
%"class.robin_hood::detail::BulkPoolAllocator" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<openset::result::RowKey, openset::result::Accumulator *>, std::allocator<std::pair<openset::result::RowKey, openset::result::Accumulator *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HeapStack = type { i64, i64, i64, i64, i64, ptr, ptr }
%class.CriticalSection = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.robin_hood::detail::unordered_map.295" = type { ptr, ptr, i64, i64, i64, i32, i32 }
%"class.std::vector.302" = type { %"struct.std::_Vector_base.303" }
%"struct.std::_Vector_base.303" = type { %"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::result::ResultTypes_e, std::allocator<openset::result::ResultTypes_e>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.307" = type { %"struct.std::_Vector_base.308" }
%"struct.std::_Vector_base.308" = type { %"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl" }
%"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl" = type { %"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl_data" }
%"struct.std::_Vector_base<openset::query::Modifiers_e, std::allocator<openset::query::Modifiers_e>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.openset::query::Variable_s" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, i32, i32, i32, i32, i8, i8, i8, i32, i32, i32, i32, i8, %class.cvar, %class.cvar }
%class.cvar = type { i8, %"union.cvar::dataUnion", %"union.cvar::dataUnion", %"class.std::__cxx11::basic_string", ptr, ptr, ptr, ptr }
%"union.cvar::dataUnion" = type { i64 }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7openset5query11Modifiers_eESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7openset6result9ResultSet21setAccTypesFromMacrosERKNS_5query7Macro_sE(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(600) %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.366", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.366", align 8
  %14 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %3, align 8
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.openset::query::Macro_s", ptr %16, i32 0, i32 0
  %18 = getelementptr inbounds %"struct.openset::query::Variables_S", ptr %17, i32 0, i32 2
  %19 = call noundef i64 @_ZNKSt6vectorIN7openset5query10Variable_sESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.openset::query::Macro_s", ptr %20, i32 0, i32 11
  %22 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  %23 = icmp ne i64 %22, 0
  br i1 %23, label %24, label %28

24:                                               ; preds = %2
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.openset::query::Macro_s", ptr %25, i32 0, i32 11
  %27 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #4
  br label %29

28:                                               ; preds = %2
  br label %29

29:                                               ; preds = %28, %24
  %30 = phi i64 [ %27, %24 ], [ 1, %28 ]
  %31 = mul i64 %19, %30
  %32 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 3
  store i64 %31, ptr %32, align 8, !tbaa !9
  %33 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %34 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 3
  %35 = load i64, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !34
  call void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  %36 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 8
  %37 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 3
  %38 = load i64, ptr %37, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !36
  call void @_ZNSt6vectorIN7openset5query11Modifiers_eESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %38, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 -1, ptr %7, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.openset::query::Macro_s", ptr %39, i32 0, i32 11
  %41 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #4
  %42 = icmp ne i64 %41, 0
  br i1 %42, label %43, label %47

43:                                               ; preds = %29
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.openset::query::Macro_s", ptr %44, i32 0, i32 11
  %46 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #4
  br label %48

47:                                               ; preds = %29
  br label %48

48:                                               ; preds = %47, %43
  %49 = phi i64 [ %46, %43 ], [ 1, %47 ]
  store i64 %49, ptr %8, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 0, ptr %9, align 8, !tbaa !39
  br label %50

50:                                               ; preds = %186, %48
  %51 = load i64, ptr %9, align 8, !tbaa !39
  %52 = load i64, ptr %8, align 8, !tbaa !39
  %53 = icmp ult i64 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %189

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.openset::query::Macro_s", ptr %56, i32 0, i32 0
  %58 = getelementptr inbounds %"struct.openset::query::Variables_S", ptr %57, i32 0, i32 2
  store ptr %58, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = call ptr @_ZNKSt6vectorIN7openset5query10Variable_sESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #4
  %61 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.366", ptr %12, i32 0, i32 0
  store ptr %60, ptr %61, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = call ptr @_ZNKSt6vectorIN7openset5query10Variable_sESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #4
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.366", ptr %13, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  br label %65

65:                                               ; preds = %183, %55
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7openset5query10Variable_sESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  br i1 %66, label %68, label %67

67:                                               ; preds = %65
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %185

68:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %69 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7openset5query10Variable_sESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  store ptr %69, ptr %14, align 8, !tbaa !5
  %70 = load i32, ptr %7, align 4, !tbaa !38
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %7, align 4, !tbaa !38
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.openset::query::Variable_s", ptr %72, i32 0, i32 4
  %74 = load i32, ptr %73, align 8, !tbaa !40
  %75 = icmp eq i32 %74, 7
  br i1 %75, label %76, label %107

76:                                               ; preds = %68
  %77 = load ptr, ptr %14, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.openset::query::Variable_s", ptr %77, i32 0, i32 18
  %79 = call noundef signext i8 @_ZNK4cvar6typeOfEv(ptr noundef nonnull align 8 dereferenceable(88) %78)
  switch i8 %79, label %101 [
    i8 0, label %80
    i8 1, label %80
    i8 2, label %85
    i8 3, label %85
    i8 4, label %90
    i8 5, label %95
    i8 6, label %100
    i8 7, label %100
    i8 8, label %100
    i8 9, label %100
  ]

80:                                               ; preds = %76, %76
  %81 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %82 = load i32, ptr %7, align 4, !tbaa !38
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %83) #4
  store i32 0, ptr %84, align 4, !tbaa !34
  br label %106

85:                                               ; preds = %76, %76
  %86 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %87 = load i32, ptr %7, align 4, !tbaa !38
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #4
  store i32 1, ptr %89, align 4, !tbaa !34
  br label %106

90:                                               ; preds = %76
  %91 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %92 = load i32, ptr %7, align 4, !tbaa !38
  %93 = sext i32 %92 to i64
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %93) #4
  store i32 3, ptr %94, align 4, !tbaa !34
  br label %106

95:                                               ; preds = %76
  %96 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %97 = load i32, ptr %7, align 4, !tbaa !38
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %98) #4
  store i32 2, ptr %99, align 4, !tbaa !34
  br label %106

100:                                              ; preds = %76, %76, %76, %76
  br label %101

101:                                              ; preds = %100, %76
  %102 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %103 = load i32, ptr %7, align 4, !tbaa !38
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %104) #4
  store i32 4, ptr %105, align 4, !tbaa !34
  br label %106

106:                                              ; preds = %101, %95, %90, %85, %80
  br label %175

107:                                              ; preds = %68
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.openset::query::Variable_s", ptr %108, i32 0, i32 4
  %110 = load i32, ptr %109, align 8, !tbaa !40
  %111 = icmp eq i32 %110, 6
  br i1 %111, label %112, label %143

112:                                              ; preds = %107
  %113 = load ptr, ptr %14, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.openset::query::Variable_s", ptr %113, i32 0, i32 9
  %115 = load i32, ptr %114, align 4, !tbaa !47
  switch i32 %115, label %137 [
    i32 1, label %116
    i32 2, label %121
    i32 3, label %126
    i32 4, label %131
    i32 0, label %136
  ]

116:                                              ; preds = %112
  %117 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %118 = load i32, ptr %7, align 4, !tbaa !38
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #4
  store i32 0, ptr %120, align 4, !tbaa !34
  br label %142

121:                                              ; preds = %112
  %122 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %123 = load i32, ptr %7, align 4, !tbaa !38
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124) #4
  store i32 1, ptr %125, align 4, !tbaa !34
  br label %142

126:                                              ; preds = %112
  %127 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %128 = load i32, ptr %7, align 4, !tbaa !38
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef %129) #4
  store i32 2, ptr %130, align 4, !tbaa !34
  br label %142

131:                                              ; preds = %112
  %132 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %133 = load i32, ptr %7, align 4, !tbaa !38
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %134) #4
  store i32 3, ptr %135, align 4, !tbaa !34
  br label %142

136:                                              ; preds = %112
  br label %137

137:                                              ; preds = %136, %112
  %138 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %139 = load i32, ptr %7, align 4, !tbaa !38
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %140) #4
  store i32 4, ptr %141, align 4, !tbaa !34
  br label %142

142:                                              ; preds = %137, %131, %126, %121, %116
  br label %174

143:                                              ; preds = %107
  %144 = load ptr, ptr %14, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.openset::query::Variable_s", ptr %144, i32 0, i32 9
  %146 = load i32, ptr %145, align 4, !tbaa !47
  switch i32 %146, label %168 [
    i32 1, label %147
    i32 2, label %152
    i32 3, label %157
    i32 4, label %162
    i32 0, label %167
  ]

147:                                              ; preds = %143
  %148 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %149 = load i32, ptr %7, align 4, !tbaa !38
  %150 = sext i32 %149 to i64
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %148, i64 noundef %150) #4
  store i32 0, ptr %151, align 4, !tbaa !34
  br label %173

152:                                              ; preds = %143
  %153 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %154 = load i32, ptr %7, align 4, !tbaa !38
  %155 = sext i32 %154 to i64
  %156 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %155) #4
  store i32 1, ptr %156, align 4, !tbaa !34
  br label %173

157:                                              ; preds = %143
  %158 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %159 = load i32, ptr %7, align 4, !tbaa !38
  %160 = sext i32 %159 to i64
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %158, i64 noundef %160) #4
  store i32 0, ptr %161, align 4, !tbaa !34
  br label %173

162:                                              ; preds = %143
  %163 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %164 = load i32, ptr %7, align 4, !tbaa !38
  %165 = sext i32 %164 to i64
  %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %163, i64 noundef %165) #4
  store i32 0, ptr %166, align 4, !tbaa !34
  br label %173

167:                                              ; preds = %143
  br label %168

168:                                              ; preds = %167, %143
  %169 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 7
  %170 = load i32, ptr %7, align 4, !tbaa !38
  %171 = sext i32 %170 to i64
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %171) #4
  store i32 0, ptr %172, align 4, !tbaa !34
  br label %173

173:                                              ; preds = %168, %162, %157, %152, %147
  br label %174

174:                                              ; preds = %173, %142
  br label %175

175:                                              ; preds = %174, %106
  %176 = load ptr, ptr %14, align 8, !tbaa !5
  %177 = getelementptr inbounds %"struct.openset::query::Variable_s", ptr %176, i32 0, i32 4
  %178 = load i32, ptr %177, align 8, !tbaa !40
  %179 = getelementptr inbounds %"class.openset::result::ResultSet", ptr %15, i32 0, i32 8
  %180 = load i32, ptr %7, align 4, !tbaa !38
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset5query11Modifiers_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %181) #4
  store i32 %178, ptr %182, align 4, !tbaa !36
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %183

183:                                              ; preds = %175
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7openset5query10Variable_sESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  br label %65

185:                                              ; preds = %67
  br label %186

186:                                              ; preds = %185
  %187 = load i64, ptr %9, align 8, !tbaa !39
  %188 = add nsw i64 %187, 1
  store i64 %188, ptr %9, align 8, !tbaa !39
  br label %50, !llvm.loop !48

189:                                              ; preds = %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !14, i64 144}
!10 = !{!"_ZTSN7openset6result9ResultSetE", !11, i64 0, !16, i64 64, !20, i64 88, !14, i64 144, !21, i64 152, !24, i64 153, !25, i64 160, !26, i64 208, !30, i64 232}
!11 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb0ELm80EN7openset6result6RowKeyEPNS3_11AccumulatorENS_4hashIS4_EESt8equal_toIS4_EEE", !12, i64 0, !6, i64 16, !6, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60}
!12 = !{!"_ZTSN10robin_hood6detail13NodeAllocatorINS_4pairIKN7openset6result6RowKeyEPNS4_11AccumulatorEEELm4ELm16384ELb0EEE", !13, i64 0}
!13 = !{!"_ZTSN10robin_hood6detail17BulkPoolAllocatorINS_4pairIKN7openset6result6RowKeyEPNS4_11AccumulatorEEELm4ELm16384EEE", !6, i64 0, !6, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTS9HeapStack", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !6, i64 40, !6, i64 48}
!21 = !{!"_ZTS15CriticalSection", !22, i64 0}
!22 = !{!"_ZTSSt6atomicIbE", !23, i64 0}
!23 = !{!"_ZTSSt13__atomic_baseIbE", !24, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb1ELm80ElPcNS_4hashIlEESt8equal_toIlEEE", !6, i64 0, !6, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !15, i64 44}
!26 = !{!"_ZTSSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIN7openset5query11Modifiers_eESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!35, !35, i64 0}
!35 = !{!"_ZTSN7openset6result13ResultTypes_eE", !7, i64 0}
!36 = !{!37, !37, i64 0}
!37 = !{!"_ZTSN7openset5query11Modifiers_eE", !7, i64 0}
!38 = !{!15, !15, i64 0}
!39 = !{!14, !14, i64 0}
!40 = !{!41, !37, i64 128}
!41 = !{!"_ZTSN7openset5query10Variable_sE", !42, i64 0, !42, i64 32, !42, i64 64, !42, i64 96, !37, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !44, i64 148, !24, i64 152, !24, i64 153, !24, i64 154, !15, i64 156, !15, i64 160, !15, i64 164, !15, i64 168, !24, i64 172, !45, i64 176, !45, i64 264}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !43, i64 0, !14, i64 8, !7, i64 16}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!44 = !{!"_ZTSN7openset2db15PropertyTypes_eE", !7, i64 0}
!45 = !{!"_ZTS4cvar", !46, i64 0, !7, i64 8, !7, i64 16, !42, i64 24, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80}
!46 = !{!"_ZTSN4cvar9valueTypeE", !7, i64 0}
!47 = !{!41, !44, i64 148}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}


; 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.__gnu_cxx::__normal_iterator.366" = type { ptr }

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

; 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 uwtable
declare dso_local void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7openset6result9ResultSet21setAccTypesFromMacrosERKNS_5query7Macro_sE(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(600) %1) local_unnamed_addr #1 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.366", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.366", align 8
  %7 = getelementptr inbounds i8, ptr %1, i64 48
  %8 = tail call noundef i64 @_ZNKSt6vectorIN7openset5query10Variable_sESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  %9 = getelementptr inbounds i8, ptr %1, i64 440
  %10 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %.not = icmp eq i64 %10, 0
  br i1 %.not, label %13, label %11

11:                                               ; preds = %2
  %12 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  br label %13

13:                                               ; preds = %2, %11
  %14 = phi i64 [ %12, %11 ], [ 1, %2 ]
  %15 = mul i64 %14, %8
  %16 = getelementptr inbounds i8, ptr %0, i64 144
  store i64 %15, ptr %16, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 208
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  store i32 0, ptr %3, align 4, !tbaa !33
  call void @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %15, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  %18 = getelementptr inbounds i8, ptr %0, i64 232
  %19 = load i64, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 0, ptr %4, align 4, !tbaa !35
  call void @_ZNSt6vectorIN7openset5query11Modifiers_eESaIS2_EE6resizeEmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %19, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  %20 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %.not36 = icmp eq i64 %20, 0
  br i1 %.not36, label %.lr.ph41.preheader, label %21

21:                                               ; preds = %13
  %22 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %.not43 = icmp eq i64 %22, 0
  br i1 %.not43, label %._crit_edge42, label %.lr.ph41.preheader

.lr.ph41.preheader:                               ; preds = %13, %21
  %23 = phi i64 [ %22, %21 ], [ 1, %13 ]
  br label %.lr.ph41

._crit_edge42:                                    ; preds = %._crit_edge, %21
  ret void

.lr.ph41:                                         ; preds = %.lr.ph41.preheader, %._crit_edge
  %.039 = phi i32 [ %.1.lcssa, %._crit_edge ], [ -1, %.lr.ph41.preheader ]
  %.03438 = phi i64 [ %29, %._crit_edge ], [ 0, %.lr.ph41.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %24 = call ptr @_ZNKSt6vectorIN7openset5query10Variable_sESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  store ptr %24, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %25 = call ptr @_ZNKSt6vectorIN7openset5query10Variable_sESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  store ptr %25, ptr %6, align 8
  %26 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7openset5query10Variable_sESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br i1 %26, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.lr.ph41
  %27 = sext i32 %.039 to i64
  br label %.lr.ph

._crit_edge.loopexit:                             ; preds = %64
  %28 = trunc nsw i64 %indvars.iv.next to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.lr.ph41
  %.1.lcssa = phi i32 [ %.039, %.lr.ph41 ], [ %28, %._crit_edge.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  %29 = add nuw i64 %.03438, 1
  %exitcond.not = icmp eq i64 %29, %23
  br i1 %exitcond.not, label %._crit_edge42, label %.lr.ph41, !llvm.loop !37

.lr.ph:                                           ; preds = %.lr.ph.preheader, %64
  %indvars.iv = phi i64 [ %27, %.lr.ph.preheader ], [ %indvars.iv.next, %64 ]
  %30 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7openset5query10Variable_sESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %31 = getelementptr inbounds i8, ptr %30, i64 128
  %32 = load i32, ptr %31, align 8, !tbaa !39
  switch i32 %32, label %55 [
    i32 7, label %33
    i32 6, label %46
  ]

33:                                               ; preds = %.lr.ph
  %34 = getelementptr inbounds i8, ptr %30, i64 176
  %35 = call noundef signext i8 @_ZNK4cvar6typeOfEv(ptr noundef nonnull align 8 dereferenceable(88) %34)
  switch i8 %35, label %44 [
    i8 0, label %36
    i8 1, label %36
    i8 2, label %38
    i8 3, label %38
    i8 4, label %40
    i8 5, label %42
  ]

36:                                               ; preds = %33, %33
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %indvars.iv.next) #4
  store i32 0, ptr %37, align 4, !tbaa !33
  br label %64

38:                                               ; preds = %33, %33
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %indvars.iv.next) #4
  store i32 1, ptr %39, align 4, !tbaa !33
  br label %64

40:                                               ; preds = %33
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %indvars.iv.next) #4
  store i32 3, ptr %41, align 4, !tbaa !33
  br label %64

42:                                               ; preds = %33
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %indvars.iv.next) #4
  store i32 2, ptr %43, align 4, !tbaa !33
  br label %64

44:                                               ; preds = %33
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %indvars.iv.next) #4
  store i32 4, ptr %45, align 4, !tbaa !33
  br label %64

46:                                               ; preds = %.lr.ph
  %47 = getelementptr inbounds i8, ptr %30, i64 148
  %48 = load i32, ptr %47, align 4, !tbaa !46
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %indvars.iv.next) #4
  switch i32 %48, label %54 [
    i32 1, label %50
    i32 2, label %51
    i32 3, label %52
    i32 4, label %53
  ]

50:                                               ; preds = %46
  store i32 0, ptr %49, align 4, !tbaa !33
  br label %64

51:                                               ; preds = %46
  store i32 1, ptr %49, align 4, !tbaa !33
  br label %64

52:                                               ; preds = %46
  store i32 2, ptr %49, align 4, !tbaa !33
  br label %64

53:                                               ; preds = %46
  store i32 3, ptr %49, align 4, !tbaa !33
  br label %64

54:                                               ; preds = %46
  store i32 4, ptr %49, align 4, !tbaa !33
  br label %64

55:                                               ; preds = %.lr.ph
  %56 = getelementptr inbounds i8, ptr %30, i64 148
  %57 = load i32, ptr %56, align 4, !tbaa !46
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset6result13ResultTypes_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %indvars.iv.next) #4
  switch i32 %57, label %63 [
    i32 1, label %59
    i32 2, label %60
    i32 3, label %61
    i32 4, label %62
  ]

59:                                               ; preds = %55
  store i32 0, ptr %58, align 4, !tbaa !33
  br label %64

60:                                               ; preds = %55
  store i32 1, ptr %58, align 4, !tbaa !33
  br label %64

61:                                               ; preds = %55
  store i32 0, ptr %58, align 4, !tbaa !33
  br label %64

62:                                               ; preds = %55
  store i32 0, ptr %58, align 4, !tbaa !33
  br label %64

63:                                               ; preds = %55
  store i32 0, ptr %58, align 4, !tbaa !33
  br label %64

64:                                               ; preds = %54, %53, %52, %51, %50, %63, %62, %61, %60, %59, %36, %38, %40, %42, %44
  %65 = load i32, ptr %31, align 8, !tbaa !39
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN7openset5query11Modifiers_eESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv.next) #4
  store i32 %65, ptr %66, align 4, !tbaa !35
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7openset5query10Variable_sESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %68 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7openset5query10Variable_sESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br i1 %68, label %.lr.ph, label %._crit_edge.loopexit
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7openset5query10Variable_sESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !13, i64 144}
!6 = !{!"_ZTSN7openset6result9ResultSetE", !7, i64 0, !15, i64 64, !19, i64 88, !13, i64 144, !20, i64 152, !23, i64 153, !24, i64 160, !25, i64 208, !29, i64 232}
!7 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb0ELm80EN7openset6result6RowKeyEPNS3_11AccumulatorENS_4hashIS4_EESt8equal_toIS4_EEE", !8, i64 0, !10, i64 16, !10, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60}
!8 = !{!"_ZTSN10robin_hood6detail13NodeAllocatorINS_4pairIKN7openset6result6RowKeyEPNS4_11AccumulatorEEELm4ELm16384ELb0EEE", !9, i64 0}
!9 = !{!"_ZTSN10robin_hood6detail17BulkPoolAllocatorINS_4pairIKN7openset6result6RowKeyEPNS4_11AccumulatorEEELm4ELm16384EEE", !10, i64 0, !10, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"long", !11, i64 0}
!14 = !{!"int", !11, i64 0}
!15 = !{!"_ZTSSt6vectorISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7openset6result6RowKeyEPNS2_11AccumulatorEESaIS6_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!19 = !{!"_ZTS9HeapStack", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !10, i64 40, !10, i64 48}
!20 = !{!"_ZTS15CriticalSection", !21, i64 0}
!21 = !{!"_ZTSSt6atomicIbE", !22, i64 0}
!22 = !{!"_ZTSSt13__atomic_baseIbE", !23, i64 0}
!23 = !{!"bool", !11, i64 0}
!24 = !{!"_ZTSN10robin_hood6detail13unordered_mapILb1ELm80ElPcNS_4hashIlEESt8equal_toIlEEE", !10, i64 0, !10, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !14, i64 44}
!25 = !{!"_ZTSSt6vectorIN7openset6result13ResultTypes_eESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN7openset6result13ResultTypes_eESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!29 = !{!"_ZTSSt6vectorIN7openset5query11Modifiers_eESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN7openset5query11Modifiers_eESaIS2_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!33 = !{!34, !34, i64 0}
!34 = !{!"_ZTSN7openset6result13ResultTypes_eE", !11, i64 0}
!35 = !{!36, !36, i64 0}
!36 = !{!"_ZTSN7openset5query11Modifiers_eE", !11, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!40, !36, i64 128}
!40 = !{!"_ZTSN7openset5query10Variable_sE", !41, i64 0, !41, i64 32, !41, i64 64, !41, i64 96, !36, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !43, i64 148, !23, i64 152, !23, i64 153, !23, i64 154, !14, i64 156, !14, i64 160, !14, i64 164, !14, i64 168, !23, i64 172, !44, i64 176, !44, i64 264}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !42, i64 0, !13, i64 8, !11, i64 16}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!43 = !{!"_ZTSN7openset2db15PropertyTypes_eE", !11, i64 0}
!44 = !{!"_ZTS4cvar", !45, i64 0, !11, i64 8, !11, i64 16, !41, i64 24, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80}
!45 = !{!"_ZTSN4cvar9valueTypeE", !11, i64 0}
!46 = !{!40, !43, i64 148}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass