; LLVM IR from quantumlib/Stim :: src/stim/gates/gate_data_pauli.ll (ZN4stim11GateDataMap19add_gate_data_pauliERb)

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

%"class.std::complex" = type { { float, float } }
%"struct.stim::Gate" = type { %"class.std::basic_string_view", i8, i8, i8, i16, %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.stim::FixedCapVector", %"class.stim::FixedCapVector.4", ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.stim::FixedCapVector" = type { %"struct.std::array.1", i64 }
%"struct.std::array.1" = type { [4 x %"class.stim::FixedCapVector.2"] }
%"class.stim::FixedCapVector.2" = type { %"struct.std::array.3", i64 }
%"struct.std::array.3" = type { [4 x %"class.std::complex"] }
%"class.stim::FixedCapVector.4" = type { %"struct.std::array.5", i64 }
%"struct.std::array.5" = type { [10 x ptr] }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::initializer_list.6" = type { ptr, i64 }
%"class.std::initializer_list.7" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [144 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [125 x i8], align 1
@_ZL1i = external hidden constant %"class.std::complex", align 4
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [146 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4stim11GateDataMap19add_gate_data_pauliERb(ptr noundef nonnull align 8 dereferenceable(38528) %0, ptr noundef nonnull align 1 dereferenceable(1) %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.stim::Gate", align 8
  %6 = alloca %"class.std::initializer_list", align 8
  %7 = alloca [2 x %"class.stim::FixedCapVector.2"], align 8
  %8 = alloca %"class.std::initializer_list.6", align 8
  %9 = alloca [2 x %"class.std::complex"], align 4
  %10 = alloca %"class.std::initializer_list.6", align 8
  %11 = alloca [2 x %"class.std::complex"], align 4
  %12 = alloca %"class.std::initializer_list.7", align 8
  %13 = alloca [2 x ptr], align 8
  %14 = alloca %"struct.stim::Gate", align 8
  %15 = alloca %"class.std::initializer_list", align 8
  %16 = alloca [2 x %"class.stim::FixedCapVector.2"], align 8
  %17 = alloca %"class.std::initializer_list.6", align 8
  %18 = alloca [2 x %"class.std::complex"], align 4
  %19 = alloca %"class.std::initializer_list.6", align 8
  %20 = alloca [2 x %"class.std::complex"], align 4
  %21 = alloca %"class.std::initializer_list.7", align 8
  %22 = alloca [2 x ptr], align 8
  %23 = alloca %"struct.stim::Gate", align 8
  %24 = alloca %"class.std::initializer_list", align 8
  %25 = alloca [2 x %"class.stim::FixedCapVector.2"], align 8
  %26 = alloca %"class.std::initializer_list.6", align 8
  %27 = alloca [2 x %"class.std::complex"], align 4
  %28 = alloca %"class.std::initializer_list.6", align 8
  %29 = alloca [2 x %"class.std::complex"], align 4
  %30 = alloca %"class.std::initializer_list.7", align 8
  %31 = alloca [2 x ptr], align 8
  %32 = alloca %"struct.stim::Gate", align 8
  %33 = alloca %"class.std::initializer_list", align 8
  %34 = alloca [2 x %"class.stim::FixedCapVector.2"], align 8
  %35 = alloca %"class.std::initializer_list.6", align 8
  %36 = alloca [2 x %"class.std::complex"], align 4
  %37 = alloca %"class.std::initializer_list.6", align 8
  %38 = alloca [2 x %"class.std::complex"], align 4
  %39 = alloca %"class.std::initializer_list.7", align 8
  %40 = alloca [2 x ptr], align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %41 = load ptr, ptr %3, align 8
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 320, ptr %5) #7
  %43 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 0
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef @.str) #7
  %44 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 1
  store i8 45, ptr %44, align 8, !tbaa !9
  %45 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 2
  store i8 45, ptr %45, align 1, !tbaa !19
  %46 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 3
  store i8 0, ptr %46, align 2, !tbaa !20
  %47 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 4
  store i16 -32767, ptr %47, align 4, !tbaa !21
  %48 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef @.str.1) #7
  %49 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef @.str.2) #7
  %50 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 80, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %51 = getelementptr inbounds %"class.std::complex", ptr %9, i64 1
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %51, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %52 = getelementptr inbounds %"class.std::initializer_list.6", ptr %8, i32 0, i32 0
  store ptr %9, ptr %52, align 8, !tbaa !22
  %53 = getelementptr inbounds %"class.std::initializer_list.6", ptr %8, i32 0, i32 1
  store i64 2, ptr %53, align 8, !tbaa !24
  %54 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8
  %56 = getelementptr inbounds { ptr, i64 }, ptr %8, i32 0, i32 1
  %57 = load i64, ptr %56, align 8
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr %55, i64 %57)
  %58 = getelementptr inbounds %"class.stim::FixedCapVector.2", ptr %7, i64 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %59 = getelementptr inbounds %"class.std::complex", ptr %11, i64 1
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %59, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %60 = getelementptr inbounds %"class.std::initializer_list.6", ptr %10, i32 0, i32 0
  store ptr %11, ptr %60, align 8, !tbaa !22
  %61 = getelementptr inbounds %"class.std::initializer_list.6", ptr %10, i32 0, i32 1
  store i64 2, ptr %61, align 8, !tbaa !24
  %62 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8
  %64 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %65 = load i64, ptr %64, align 8
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %58, ptr %63, i64 %65)
  %66 = getelementptr inbounds %"class.std::initializer_list", ptr %6, i32 0, i32 0
  store ptr %7, ptr %66, align 8, !tbaa !25
  %67 = getelementptr inbounds %"class.std::initializer_list", ptr %6, i32 0, i32 1
  store i64 2, ptr %67, align 8, !tbaa !27
  %68 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8
  %70 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 1
  %71 = load i64, ptr %70, align 8
  call void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168) %50, ptr %69, i64 %71)
  %72 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  store ptr @.str.3, ptr %13, align 8, !tbaa !5
  %73 = getelementptr inbounds ptr, ptr %13, i64 1
  store ptr @.str.4, ptr %73, align 8, !tbaa !5
  %74 = getelementptr inbounds %"class.std::initializer_list.7", ptr %12, i32 0, i32 0
  store ptr %13, ptr %74, align 8, !tbaa !28
  %75 = getelementptr inbounds %"class.std::initializer_list.7", ptr %12, i32 0, i32 1
  store i64 2, ptr %75, align 8, !tbaa !30
  %76 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8
  %78 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %79 = load i64, ptr %78, align 8
  call void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88) %72, ptr %77, i64 %79)
  %80 = getelementptr inbounds %"struct.stim::Gate", ptr %5, i32 0, i32 9
  store ptr @.str.5, ptr %80, align 8, !tbaa !31
  call void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528) %41, ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 8 dereferenceable(320) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 320, ptr %5) #7
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 320, ptr %14) #7
  %82 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 0
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef @.str.6) #7
  %83 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 1
  store i8 46, ptr %83, align 8, !tbaa !9
  %84 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 2
  store i8 46, ptr %84, align 1, !tbaa !19
  %85 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 3
  store i8 0, ptr %85, align 2, !tbaa !20
  %86 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 4
  store i16 -32767, ptr %86, align 4, !tbaa !21
  %87 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %87, ptr noundef @.str.1) #7
  %88 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %88, ptr noundef @.str.7) #7
  %89 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 80, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %90 = getelementptr inbounds %"class.std::complex", ptr %18, i64 1
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %90, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %91 = getelementptr inbounds %"class.std::initializer_list.6", ptr %17, i32 0, i32 0
  store ptr %18, ptr %91, align 8, !tbaa !22
  %92 = getelementptr inbounds %"class.std::initializer_list.6", ptr %17, i32 0, i32 1
  store i64 2, ptr %92, align 8, !tbaa !24
  %93 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8
  %95 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %96 = load i64, ptr %95, align 8
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr %94, i64 %96)
  %97 = getelementptr inbounds %"class.stim::FixedCapVector.2", ptr %16, i64 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %98 = getelementptr inbounds %"class.std::complex", ptr %20, i64 1
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %98, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %99 = getelementptr inbounds %"class.std::initializer_list.6", ptr %19, i32 0, i32 0
  store ptr %20, ptr %99, align 8, !tbaa !22
  %100 = getelementptr inbounds %"class.std::initializer_list.6", ptr %19, i32 0, i32 1
  store i64 2, ptr %100, align 8, !tbaa !24
  %101 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8
  %103 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %104 = load i64, ptr %103, align 8
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %97, ptr %102, i64 %104)
  %105 = getelementptr inbounds %"class.std::initializer_list", ptr %15, i32 0, i32 0
  store ptr %16, ptr %105, align 8, !tbaa !25
  %106 = getelementptr inbounds %"class.std::initializer_list", ptr %15, i32 0, i32 1
  store i64 2, ptr %106, align 8, !tbaa !27
  %107 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8
  %109 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %110 = load i64, ptr %109, align 8
  call void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168) %89, ptr %108, i64 %110)
  %111 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  store ptr @.str.3, ptr %22, align 8, !tbaa !5
  %112 = getelementptr inbounds ptr, ptr %22, i64 1
  store ptr @.str.8, ptr %112, align 8, !tbaa !5
  %113 = getelementptr inbounds %"class.std::initializer_list.7", ptr %21, i32 0, i32 0
  store ptr %22, ptr %113, align 8, !tbaa !28
  %114 = getelementptr inbounds %"class.std::initializer_list.7", ptr %21, i32 0, i32 1
  store i64 2, ptr %114, align 8, !tbaa !30
  %115 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8
  %117 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %118 = load i64, ptr %117, align 8
  call void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88) %111, ptr %116, i64 %118)
  %119 = getelementptr inbounds %"struct.stim::Gate", ptr %14, i32 0, i32 9
  store ptr @.str.9, ptr %119, align 8, !tbaa !31
  call void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528) %41, ptr noundef nonnull align 1 dereferenceable(1) %81, ptr noundef nonnull align 8 dereferenceable(320) %14)
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 320, ptr %14) #7
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 320, ptr %23) #7
  %121 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 0
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %121, ptr noundef @.str.10) #7
  %122 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 1
  store i8 47, ptr %122, align 8, !tbaa !9
  %123 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 2
  store i8 47, ptr %123, align 1, !tbaa !19
  %124 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 3
  store i8 0, ptr %124, align 2, !tbaa !20
  %125 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 4
  store i16 -32767, ptr %125, align 4, !tbaa !21
  %126 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %126, ptr noundef @.str.1) #7
  %127 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %127, ptr noundef @.str.11) #7
  %128 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 80, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %129 = getelementptr inbounds %"class.std::complex", ptr %27, i64 1
  %130 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) @_ZL1i)
  %131 = getelementptr inbounds %"class.std::complex", ptr %129, i32 0, i32 0
  store <2 x float> %130, ptr %131, align 4
  %132 = getelementptr inbounds %"class.std::initializer_list.6", ptr %26, i32 0, i32 0
  store ptr %27, ptr %132, align 8, !tbaa !22
  %133 = getelementptr inbounds %"class.std::initializer_list.6", ptr %26, i32 0, i32 1
  store i64 2, ptr %133, align 8, !tbaa !24
  %134 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8
  %136 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %137 = load i64, ptr %136, align 8
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr %135, i64 %137)
  %138 = getelementptr inbounds %"class.stim::FixedCapVector.2", ptr %25, i64 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 @_ZL1i, i64 8, i1 false), !tbaa.struct !32
  %139 = getelementptr inbounds %"class.std::complex", ptr %29, i64 1
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %139, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %140 = getelementptr inbounds %"class.std::initializer_list.6", ptr %28, i32 0, i32 0
  store ptr %29, ptr %140, align 8, !tbaa !22
  %141 = getelementptr inbounds %"class.std::initializer_list.6", ptr %28, i32 0, i32 1
  store i64 2, ptr %141, align 8, !tbaa !24
  %142 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %143 = load ptr, ptr %142, align 8
  %144 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %145 = load i64, ptr %144, align 8
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %138, ptr %143, i64 %145)
  %146 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 0
  store ptr %25, ptr %146, align 8, !tbaa !25
  %147 = getelementptr inbounds %"class.std::initializer_list", ptr %24, i32 0, i32 1
  store i64 2, ptr %147, align 8, !tbaa !27
  %148 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8
  %150 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %151 = load i64, ptr %150, align 8
  call void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168) %128, ptr %149, i64 %151)
  %152 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #7
  store ptr @.str.12, ptr %31, align 8, !tbaa !5
  %153 = getelementptr inbounds ptr, ptr %31, i64 1
  store ptr @.str.8, ptr %153, align 8, !tbaa !5
  %154 = getelementptr inbounds %"class.std::initializer_list.7", ptr %30, i32 0, i32 0
  store ptr %31, ptr %154, align 8, !tbaa !28
  %155 = getelementptr inbounds %"class.std::initializer_list.7", ptr %30, i32 0, i32 1
  store i64 2, ptr %155, align 8, !tbaa !30
  %156 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 0
  %157 = load ptr, ptr %156, align 8
  %158 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 1
  %159 = load i64, ptr %158, align 8
  call void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88) %152, ptr %157, i64 %159)
  %160 = getelementptr inbounds %"struct.stim::Gate", ptr %23, i32 0, i32 9
  store ptr @.str.13, ptr %160, align 8, !tbaa !31
  call void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528) %41, ptr noundef nonnull align 1 dereferenceable(1) %120, ptr noundef nonnull align 8 dereferenceable(320) %23)
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 320, ptr %23) #7
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 320, ptr %32) #7
  %162 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 0
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %162, ptr noundef @.str.14) #7
  %163 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 1
  store i8 48, ptr %163, align 8, !tbaa !9
  %164 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 2
  store i8 48, ptr %164, align 1, !tbaa !19
  %165 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 3
  store i8 0, ptr %165, align 2, !tbaa !20
  %166 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 4
  store i16 -32767, ptr %166, align 4, !tbaa !21
  %167 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %167, ptr noundef @.str.1) #7
  %168 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %168, ptr noundef @.str.15) #7
  %169 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 80, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %170 = getelementptr inbounds %"class.std::complex", ptr %36, i64 1
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %170, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %171 = getelementptr inbounds %"class.std::initializer_list.6", ptr %35, i32 0, i32 0
  store ptr %36, ptr %171, align 8, !tbaa !22
  %172 = getelementptr inbounds %"class.std::initializer_list.6", ptr %35, i32 0, i32 1
  store i64 2, ptr %172, align 8, !tbaa !24
  %173 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %174 = load ptr, ptr %173, align 8
  %175 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %176 = load i64, ptr %175, align 8
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr %174, i64 %176)
  %177 = getelementptr inbounds %"class.stim::FixedCapVector.2", ptr %34, i64 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #7
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %178 = getelementptr inbounds %"class.std::complex", ptr %38, i64 1
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %178, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %179 = getelementptr inbounds %"class.std::initializer_list.6", ptr %37, i32 0, i32 0
  store ptr %38, ptr %179, align 8, !tbaa !22
  %180 = getelementptr inbounds %"class.std::initializer_list.6", ptr %37, i32 0, i32 1
  store i64 2, ptr %180, align 8, !tbaa !24
  %181 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 0
  %182 = load ptr, ptr %181, align 8
  %183 = getelementptr inbounds { ptr, i64 }, ptr %37, i32 0, i32 1
  %184 = load i64, ptr %183, align 8
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %177, ptr %182, i64 %184)
  %185 = getelementptr inbounds %"class.std::initializer_list", ptr %33, i32 0, i32 0
  store ptr %34, ptr %185, align 8, !tbaa !25
  %186 = getelementptr inbounds %"class.std::initializer_list", ptr %33, i32 0, i32 1
  store i64 2, ptr %186, align 8, !tbaa !27
  %187 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8
  %189 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %190 = load i64, ptr %189, align 8
  call void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168) %169, ptr %188, i64 %190)
  %191 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #7
  store ptr @.str.12, ptr %40, align 8, !tbaa !5
  %192 = getelementptr inbounds ptr, ptr %40, i64 1
  store ptr @.str.4, ptr %192, align 8, !tbaa !5
  %193 = getelementptr inbounds %"class.std::initializer_list.7", ptr %39, i32 0, i32 0
  store ptr %40, ptr %193, align 8, !tbaa !28
  %194 = getelementptr inbounds %"class.std::initializer_list.7", ptr %39, i32 0, i32 1
  store i64 2, ptr %194, align 8, !tbaa !30
  %195 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %196 = load ptr, ptr %195, align 8
  %197 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %198 = load i64, ptr %197, align 8
  call void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88) %191, ptr %196, i64 %198)
  %199 = getelementptr inbounds %"struct.stim::Gate", ptr %32, i32 0, i32 9
  store ptr @.str.16, ptr %199, align 8, !tbaa !31
  call void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528) %41, ptr noundef nonnull align 1 dereferenceable(1) %161, ptr noundef nonnull align 8 dereferenceable(320) %32)
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 320, ptr %32) #7
  ret void
}

declare void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(320)) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168), ptr, i64) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88), ptr, i64) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8)) #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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, !13, i64 16}
!10 = !{!"_ZTSN4stim4GateE", !11, i64 0, !13, i64 16, !13, i64 17, !7, i64 18, !14, i64 20, !11, i64 24, !11, i64 40, !15, i64 56, !17, i64 224, !6, i64 312}
!11 = !{!"_ZTSSt17basic_string_viewIcSt11char_traitsIcEE", !12, i64 0, !6, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN4stim8GateTypeE", !7, i64 0}
!14 = !{!"_ZTSN4stim9GateFlagsE", !7, i64 0}
!15 = !{!"_ZTSN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEE", !16, i64 0, !12, i64 160}
!16 = !{!"_ZTSSt5arrayIN4stim14FixedCapVectorISt7complexIfELm4EEELm4EE", !7, i64 0}
!17 = !{!"_ZTSN4stim14FixedCapVectorIPKcLm10EEE", !18, i64 0, !12, i64 80}
!18 = !{!"_ZTSSt5arrayIPKcLm10EE", !7, i64 0}
!19 = !{!10, !13, i64 17}
!20 = !{!10, !7, i64 18}
!21 = !{!10, !14, i64 20}
!22 = !{!23, !6, i64 0}
!23 = !{!"_ZTSSt16initializer_listISt7complexIfEE", !6, i64 0, !12, i64 8}
!24 = !{!23, !12, i64 8}
!25 = !{!26, !6, i64 0}
!26 = !{!"_ZTSSt16initializer_listIN4stim14FixedCapVectorISt7complexIfELm4EEEE", !6, i64 0, !12, i64 8}
!27 = !{!26, !12, i64 8}
!28 = !{!29, !6, i64 0}
!29 = !{!"_ZTSSt16initializer_listIPKcE", !6, i64 0, !12, i64 8}
!30 = !{!29, !12, i64 8}
!31 = !{!10, !6, i64 312}
!32 = !{i64 0, i64 8, !33}
!33 = !{!7, !7, 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"

%"class.std::complex" = type { { float, float } }
%"struct.stim::Gate" = type { %"class.std::basic_string_view", i8, i8, i8, i16, %"class.std::basic_string_view", %"class.std::basic_string_view", %"class.stim::FixedCapVector", %"class.stim::FixedCapVector.4", ptr }
%"class.std::basic_string_view" = type { i64, ptr }
%"class.stim::FixedCapVector" = type { %"struct.std::array.1", i64 }
%"struct.std::array.1" = type { [4 x %"class.stim::FixedCapVector.2"] }
%"class.stim::FixedCapVector.2" = type { %"struct.std::array.3", i64 }
%"struct.std::array.3" = type { [4 x %"class.std::complex"] }
%"class.stim::FixedCapVector.4" = type { %"struct.std::array.5", i64 }
%"struct.std::array.5" = type { [10 x ptr] }

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [144 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [125 x i8], align 1
@_ZL1i = external hidden constant %"class.std::complex", align 4
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [146 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4stim11GateDataMap19add_gate_data_pauliERb(ptr noundef nonnull align 8 dereferenceable(38528) %0, ptr noundef nonnull align 1 dereferenceable(1) %1) local_unnamed_addr #0 align 2 {
  %3 = alloca %"struct.stim::Gate", align 8
  %4 = alloca [2 x %"class.stim::FixedCapVector.2"], align 8
  %5 = alloca [2 x %"class.std::complex"], align 4
  %6 = alloca [2 x %"class.std::complex"], align 4
  %7 = alloca [2 x ptr], align 8
  %8 = alloca %"struct.stim::Gate", align 8
  %9 = alloca [2 x %"class.stim::FixedCapVector.2"], align 8
  %10 = alloca [2 x %"class.std::complex"], align 4
  %11 = alloca [2 x %"class.std::complex"], align 4
  %12 = alloca [2 x ptr], align 8
  %13 = alloca %"struct.stim::Gate", align 8
  %14 = alloca [2 x %"class.stim::FixedCapVector.2"], align 8
  %15 = alloca [2 x %"class.std::complex"], align 4
  %16 = alloca [2 x %"class.std::complex"], align 8
  %17 = alloca [2 x ptr], align 8
  %18 = alloca %"struct.stim::Gate", align 8
  %19 = alloca [2 x %"class.stim::FixedCapVector.2"], align 8
  %20 = alloca [2 x %"class.std::complex"], align 4
  %21 = alloca [2 x %"class.std::complex"], align 4
  %22 = alloca [2 x ptr], align 8
  call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %3) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef @.str) #6
  %23 = getelementptr inbounds i8, ptr %3, i64 16
  store i8 45, ptr %23, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %3, i64 17
  store i8 45, ptr %24, align 1, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %3, i64 18
  store i8 0, ptr %25, align 2, !tbaa !19
  %26 = getelementptr inbounds i8, ptr %3, i64 20
  store i16 -32767, ptr %26, align 4, !tbaa !20
  %27 = getelementptr inbounds i8, ptr %3, i64 24
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef @.str.1) #6
  %28 = getelementptr inbounds i8, ptr %3, i64 40
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef @.str.2) #6
  %29 = getelementptr inbounds i8, ptr %3, i64 56
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %30 = getelementptr inbounds i8, ptr %5, i64 8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr nonnull %5, i64 2)
  %31 = getelementptr inbounds i8, ptr %4, i64 40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %32 = getelementptr inbounds i8, ptr %6, i64 8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %31, ptr nonnull %6, i64 2)
  call void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168) %29, ptr nonnull %4, i64 2)
  %33 = getelementptr inbounds i8, ptr %3, i64 224
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  store ptr @.str.3, ptr %7, align 8, !tbaa !21
  %34 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr @.str.4, ptr %34, align 8, !tbaa !21
  call void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88) %33, ptr nonnull %7, i64 2)
  %35 = getelementptr inbounds i8, ptr %3, i64 312
  store ptr @.str.5, ptr %35, align 8, !tbaa !22
  call void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528) %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull align 8 dereferenceable(320) %3)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %8) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef @.str.6) #6
  %36 = getelementptr inbounds i8, ptr %8, i64 16
  store i8 46, ptr %36, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %8, i64 17
  store i8 46, ptr %37, align 1, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %8, i64 18
  store i8 0, ptr %38, align 2, !tbaa !19
  %39 = getelementptr inbounds i8, ptr %8, i64 20
  store i16 -32767, ptr %39, align 4, !tbaa !20
  %40 = getelementptr inbounds i8, ptr %8, i64 24
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef @.str.1) #6
  %41 = getelementptr inbounds i8, ptr %8, i64 40
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef @.str.7) #6
  %42 = getelementptr inbounds i8, ptr %8, i64 56
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %43 = getelementptr inbounds i8, ptr %10, i64 8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr nonnull %10, i64 2)
  %44 = getelementptr inbounds i8, ptr %9, i64 40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %45 = getelementptr inbounds i8, ptr %11, i64 8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %45, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %44, ptr nonnull %11, i64 2)
  call void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168) %42, ptr nonnull %9, i64 2)
  %46 = getelementptr inbounds i8, ptr %8, i64 224
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  store ptr @.str.3, ptr %12, align 8, !tbaa !21
  %47 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr @.str.8, ptr %47, align 8, !tbaa !21
  call void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88) %46, ptr nonnull %12, i64 2)
  %48 = getelementptr inbounds i8, ptr %8, i64 312
  store ptr @.str.9, ptr %48, align 8, !tbaa !22
  call void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528) %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull align 8 dereferenceable(320) %8)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %13) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.10) #6
  %49 = getelementptr inbounds i8, ptr %13, i64 16
  store i8 47, ptr %49, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %13, i64 17
  store i8 47, ptr %50, align 1, !tbaa !18
  %51 = getelementptr inbounds i8, ptr %13, i64 18
  store i8 0, ptr %51, align 2, !tbaa !19
  %52 = getelementptr inbounds i8, ptr %13, i64 20
  store i16 -32767, ptr %52, align 4, !tbaa !20
  %53 = getelementptr inbounds i8, ptr %13, i64 24
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef @.str.1) #6
  %54 = getelementptr inbounds i8, ptr %13, i64 40
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef @.str.11) #6
  %55 = getelementptr inbounds i8, ptr %13, i64 56
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %56 = getelementptr inbounds i8, ptr %15, i64 8
  %57 = call <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8) @_ZL1i)
  store <2 x float> %57, ptr %56, align 4
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr nonnull %15, i64 2)
  %58 = getelementptr inbounds i8, ptr %14, i64 40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %59 = load i64, ptr @_ZL1i, align 4, !tbaa !23
  store i64 %59, ptr %16, align 8, !tbaa !23
  %60 = getelementptr inbounds i8, ptr %16, i64 8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %60, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %58, ptr nonnull %16, i64 2)
  call void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168) %55, ptr nonnull %14, i64 2)
  %61 = getelementptr inbounds i8, ptr %13, i64 224
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  store ptr @.str.12, ptr %17, align 8, !tbaa !21
  %62 = getelementptr inbounds i8, ptr %17, i64 8
  store ptr @.str.8, ptr %62, align 8, !tbaa !21
  call void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88) %61, ptr nonnull %17, i64 2)
  %63 = getelementptr inbounds i8, ptr %13, i64 312
  store ptr @.str.13, ptr %63, align 8, !tbaa !22
  call void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528) %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull align 8 dereferenceable(320) %13)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %18) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef @.str.14) #6
  %64 = getelementptr inbounds i8, ptr %18, i64 16
  store i8 48, ptr %64, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %18, i64 17
  store i8 48, ptr %65, align 1, !tbaa !18
  %66 = getelementptr inbounds i8, ptr %18, i64 18
  store i8 0, ptr %66, align 2, !tbaa !19
  %67 = getelementptr inbounds i8, ptr %18, i64 20
  store i16 -32767, ptr %67, align 4, !tbaa !20
  %68 = getelementptr inbounds i8, ptr %18, i64 24
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef @.str.1) #6
  %69 = getelementptr inbounds i8, ptr %18, i64 40
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef @.str.15) #6
  %70 = getelementptr inbounds i8, ptr %18, i64 56
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %71 = getelementptr inbounds i8, ptr %20, i64 8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %71, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr nonnull %20, i64 2)
  %72 = getelementptr inbounds i8, ptr %19, i64 40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #6
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %73 = getelementptr inbounds i8, ptr %21, i64 8
  call void @_ZNSt7complexIfEC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %73, float noundef -1.000000e+00, float noundef 0.000000e+00)
  call void @_ZN4stim14FixedCapVectorISt7complexIfELm4EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(40) %72, ptr nonnull %21, i64 2)
  call void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168) %70, ptr nonnull %19, i64 2)
  %74 = getelementptr inbounds i8, ptr %18, i64 224
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  store ptr @.str.12, ptr %22, align 8, !tbaa !21
  %75 = getelementptr inbounds i8, ptr %22, i64 8
  store ptr @.str.4, ptr %75, align 8, !tbaa !21
  call void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88) %74, ptr nonnull %22, i64 2)
  %76 = getelementptr inbounds i8, ptr %18, i64 312
  store ptr @.str.16, ptr %76, align 8, !tbaa !22
  call void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528) %0, ptr noundef nonnull align 1 dereferenceable(1) %1, ptr noundef nonnull align 8 dereferenceable(320) %18)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %18) #6
  ret void
}

declare void @_ZN4stim11GateDataMap8add_gateERbRKNS_4GateE(ptr noundef nonnull align 8 dereferenceable(38528), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(320)) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEC2ESt16initializer_listIS3_E(ptr noundef nonnull align 8 dereferenceable(168), ptr, i64) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4stim14FixedCapVectorIPKcLm10EEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(88), ptr, i64) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZStngIfESt7complexIT_ERKS2_(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #1 = { "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 #6 = { 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, !12, i64 16}
!6 = !{!"_ZTSN4stim4GateE", !7, i64 0, !12, i64 16, !12, i64 17, !9, i64 18, !13, i64 20, !7, i64 24, !7, i64 40, !14, i64 56, !16, i64 224, !11, i64 312}
!7 = !{!"_ZTSSt17basic_string_viewIcSt11char_traitsIcEE", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTSN4stim8GateTypeE", !9, i64 0}
!13 = !{!"_ZTSN4stim9GateFlagsE", !9, i64 0}
!14 = !{!"_ZTSN4stim14FixedCapVectorINS0_ISt7complexIfELm4EEELm4EEE", !15, i64 0, !8, i64 160}
!15 = !{!"_ZTSSt5arrayIN4stim14FixedCapVectorISt7complexIfELm4EEELm4EE", !9, i64 0}
!16 = !{!"_ZTSN4stim14FixedCapVectorIPKcLm10EEE", !17, i64 0, !8, i64 80}
!17 = !{!"_ZTSSt5arrayIPKcLm10EE", !9, i64 0}
!18 = !{!6, !12, i64 17}
!19 = !{!6, !9, i64 18}
!20 = !{!6, !13, i64 20}
!21 = !{!11, !11, i64 0}
!22 = !{!6, !11, i64 312}
!23 = !{!9, !9, i64 0}


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