; LLVM IR from mhsitu/welding_robot :: coppeliaSim-client/common/stack/stackObject.ll (ZN12CStackObject18buildItemOntoStackEiPS_)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", ptr }

@simPushNullOntoStack = external global ptr, align 8
@simPushBoolOntoStack = external global ptr, align 8
@simPushDoubleOntoStack = external global ptr, align 8
@simPushStringOntoStack = external global ptr, align 8
@simPushTableOntoStack = external global ptr, align 8
@simPushDoubleTableOntoStack = external global ptr, align 8
@simPushInt32OntoStack = external global ptr, align 8
@simInsertDataIntoStackTable = external global ptr, align 8

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12CStackObject18buildItemOntoStackEiPS_(i32 noundef %0, ptr noundef %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator", align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  %16 = load ptr, ptr %4, align 8, !tbaa !9
  %17 = call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %16)
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %23

19:                                               ; preds = %2
  %20 = load ptr, ptr @simPushNullOntoStack, align 8, !tbaa !9
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = call noundef i32 %20(i32 noundef %21)
  br label %169

23:                                               ; preds = %2
  %24 = load ptr, ptr %4, align 8, !tbaa !9
  %25 = call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %24)
  %26 = icmp eq i32 %25, 2
  br i1 %26, label %27, label %34

27:                                               ; preds = %23
  %28 = load ptr, ptr @simPushBoolOntoStack, align 8, !tbaa !9
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = load ptr, ptr %4, align 8, !tbaa !9
  %31 = call noundef zeroext i1 @_ZN10CStackBool8getValueEv(ptr noundef nonnull align 8 dereferenceable(13) %30)
  %32 = zext i1 %31 to i8
  %33 = call noundef i32 %28(i32 noundef %29, i8 noundef zeroext %32)
  br label %168

34:                                               ; preds = %23
  %35 = load ptr, ptr %4, align 8, !tbaa !9
  %36 = call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %35)
  %37 = icmp eq i32 %36, 1
  br i1 %37, label %38, label %44

38:                                               ; preds = %34
  %39 = load ptr, ptr @simPushDoubleOntoStack, align 8, !tbaa !9
  %40 = load i32, ptr %3, align 4, !tbaa !5
  %41 = load ptr, ptr %4, align 8, !tbaa !9
  %42 = call noundef double @_ZN12CStackNumber8getValueEv(ptr noundef nonnull align 8 dereferenceable(24) %41)
  %43 = call noundef i32 %39(i32 noundef %40, double noundef %42)
  br label %167

44:                                               ; preds = %34
  %45 = load ptr, ptr %4, align 8, !tbaa !9
  %46 = call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %45)
  %47 = icmp eq i32 %46, 3
  br i1 %47, label %48, label %61

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #4
  %49 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN12CStackString8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %49)
  %50 = load ptr, ptr @simPushStringOntoStack, align 8, !tbaa !9
  %51 = load i32, ptr %3, align 4, !tbaa !5
  %52 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  %53 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  %54 = trunc i64 %53 to i32
  %55 = invoke noundef i32 %50(i32 noundef %51, ptr noundef %52, i32 noundef %54)
          to label %56 unwind label %57

56:                                               ; preds = %48
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #4
  br label %166

57:                                               ; preds = %48
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %6, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #4
  br label %170

61:                                               ; preds = %44
  %62 = load ptr, ptr %4, align 8, !tbaa !9
  %63 = call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %62)
  %64 = icmp eq i32 %63, 4
  br i1 %64, label %65, label %126

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %66 = load ptr, ptr %4, align 8, !tbaa !9
  store ptr %66, ptr %8, align 8, !tbaa !9
  %67 = load ptr, ptr %8, align 8, !tbaa !9
  %68 = call noundef i64 @_ZN11CStackArray7getSizeEv(ptr noundef nonnull align 8 dereferenceable(89) %67)
  %69 = icmp eq i64 %68, 0
  br i1 %69, label %70, label %74

70:                                               ; preds = %65
  %71 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !9
  %72 = load i32, ptr %3, align 4, !tbaa !5
  %73 = call noundef i32 %71(i32 noundef %72)
  br label %125

74:                                               ; preds = %65
  %75 = load ptr, ptr %8, align 8, !tbaa !9
  %76 = call noundef i64 @_ZN11CStackArray7getSizeEv(ptr noundef nonnull align 8 dereferenceable(89) %75)
  %77 = icmp ugt i64 %76, 0
  br i1 %77, label %78, label %124

78:                                               ; preds = %74
  %79 = load ptr, ptr %8, align 8, !tbaa !9
  %80 = call noundef zeroext i1 @_ZN11CStackArray13isNumberArrayEv(ptr noundef nonnull align 8 dereferenceable(89) %79)
  br i1 %80, label %81, label %92

81:                                               ; preds = %78
  %82 = load ptr, ptr @simPushDoubleTableOntoStack, align 8, !tbaa !9
  %83 = load i32, ptr %3, align 4, !tbaa !5
  %84 = load ptr, ptr %8, align 8, !tbaa !9
  %85 = call noundef ptr @_ZN11CStackArray10getDoublesEv(ptr noundef nonnull align 8 dereferenceable(89) %84)
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef 0)
  %87 = load ptr, ptr %8, align 8, !tbaa !9
  %88 = call noundef ptr @_ZN11CStackArray10getDoublesEv(ptr noundef nonnull align 8 dereferenceable(89) %87)
  %89 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %88) #4
  %90 = trunc i64 %89 to i32
  %91 = call noundef i32 %82(i32 noundef %83, ptr noundef %86, i32 noundef %90)
  br label %123

92:                                               ; preds = %78
  %93 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !9
  %94 = load i32, ptr %3, align 4, !tbaa !5
  %95 = call noundef i32 %93(i32 noundef %94)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %96 = load ptr, ptr %8, align 8, !tbaa !9
  %97 = call noundef ptr @_ZN11CStackArray10getObjectsEv(ptr noundef nonnull align 8 dereferenceable(89) %96)
  store ptr %97, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !11
  br label %98

98:                                               ; preds = %119, %92
  %99 = load i64, ptr %10, align 8, !tbaa !11
  %100 = load ptr, ptr %9, align 8, !tbaa !9
  %101 = call noundef i64 @_ZNKSt6vectorIP12CStackObjectSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #4
  %102 = icmp ult i64 %99, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %122

104:                                              ; preds = %98
  %105 = load ptr, ptr @simPushInt32OntoStack, align 8, !tbaa !9
  %106 = load i32, ptr %3, align 4, !tbaa !5
  %107 = load i64, ptr %10, align 8, !tbaa !11
  %108 = add i64 %107, 1
  %109 = trunc i64 %108 to i32
  %110 = call noundef i32 %105(i32 noundef %106, i32 noundef %109)
  %111 = load i32, ptr %3, align 4, !tbaa !5
  %112 = load ptr, ptr %9, align 8, !tbaa !9
  %113 = load i64, ptr %10, align 8, !tbaa !11
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12CStackObjectSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %113)
  %115 = load ptr, ptr %114, align 8, !tbaa !9
  call void @_ZN12CStackObject18buildItemOntoStackEiPS_(i32 noundef %111, ptr noundef %115)
  %116 = load ptr, ptr @simInsertDataIntoStackTable, align 8, !tbaa !9
  %117 = load i32, ptr %3, align 4, !tbaa !5
  %118 = call noundef i32 %116(i32 noundef %117)
  br label %119

119:                                              ; preds = %104
  %120 = load i64, ptr %10, align 8, !tbaa !11
  %121 = add i64 %120, 1
  store i64 %121, ptr %10, align 8, !tbaa !11
  br label %98, !llvm.loop !13

122:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %123

123:                                              ; preds = %122, %81
  br label %124

124:                                              ; preds = %123, %74
  br label %125

125:                                              ; preds = %124, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %165

126:                                              ; preds = %61
  %127 = load ptr, ptr %4, align 8, !tbaa !9
  %128 = call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %127)
  %129 = icmp eq i32 %128, 5
  br i1 %129, label %130, label %164

130:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %131 = load ptr, ptr %4, align 8, !tbaa !9
  store ptr %131, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %132 = load ptr, ptr %11, align 8, !tbaa !9
  %133 = call noundef ptr @_ZN9CStackMap16getKeyValuePairsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(160) %132)
  store ptr %133, ptr %12, align 8, !tbaa !9
  %134 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !9
  %135 = load i32, ptr %3, align 4, !tbaa !5
  %136 = call noundef i32 %134(i32 noundef %135)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %137 = load ptr, ptr %12, align 8, !tbaa !9
  %138 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectSt4lessIS5_ESaISt4pairIKS5_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %137) #4
  %139 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %13, i32 0, i32 0
  store ptr %138, ptr %139, align 8
  br label %140

140:                                              ; preds = %160, %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %141 = load ptr, ptr %12, align 8, !tbaa !9
  %142 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectSt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %141) #4
  %143 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %14, i32 0, i32 0
  store ptr %142, ptr %143, align 8
  %144 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br i1 %144, label %146, label %145

145:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %163

146:                                              ; preds = %140
  %147 = load ptr, ptr @simPushStringOntoStack, align 8, !tbaa !9
  %148 = load i32, ptr %3, align 4, !tbaa !5
  %149 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  %150 = getelementptr inbounds %"struct.std::pair", ptr %149, i32 0, i32 0
  %151 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %150) #4
  %152 = call noundef i32 %147(i32 noundef %148, ptr noundef %151, i32 noundef 0)
  %153 = load i32, ptr %3, align 4, !tbaa !5
  %154 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  %155 = getelementptr inbounds %"struct.std::pair", ptr %154, i32 0, i32 1
  %156 = load ptr, ptr %155, align 8, !tbaa !15
  call void @_ZN12CStackObject18buildItemOntoStackEiPS_(i32 noundef %153, ptr noundef %156)
  %157 = load ptr, ptr @simInsertDataIntoStackTable, align 8, !tbaa !9
  %158 = load i32, ptr %3, align 4, !tbaa !5
  %159 = call noundef i32 %157(i32 noundef %158)
  br label %160

160:                                              ; preds = %146
  %161 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #4
  %162 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %15, i32 0, i32 0
  store ptr %161, ptr %162, align 8
  br label %140, !llvm.loop !19

163:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %164

164:                                              ; preds = %163, %126
  br label %165

165:                                              ; preds = %164, %125
  br label %166

166:                                              ; preds = %165, %56
  br label %167

167:                                              ; preds = %166, %38
  br label %168

168:                                              ; preds = %167, %27
  br label %169

169:                                              ; preds = %168, %19
  ret void

170:                                              ; preds = %57
  %171 = load ptr, ptr %6, align 8
  %172 = load i32, ptr %7, align 4
  %173 = insertvalue { ptr, i32 } poison, ptr %171, 0
  %174 = insertvalue { ptr, i32 } %173, i32 %172, 1
  resume { ptr, i32 } %174
}

declare noundef zeroext i1 @_ZN10CStackBool8getValueEv(ptr noundef nonnull align 8 dereferenceable(13)) #2

declare noundef double @_ZN12CStackNumber8getValueEv(ptr noundef nonnull align 8 dereferenceable(24)) #2

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

declare void @_ZN12CStackString8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

declare i32 @__gxx_personality_v0(...)

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

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

declare noundef i64 @_ZN11CStackArray7getSizeEv(ptr noundef nonnull align 8 dereferenceable(89)) #2

declare noundef zeroext i1 @_ZN11CStackArray13isNumberArrayEv(ptr noundef nonnull align 8 dereferenceable(89)) #2

declare noundef ptr @_ZN11CStackArray10getDoublesEv(ptr noundef nonnull align 8 dereferenceable(89)) #2

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

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

declare noundef ptr @_ZN11CStackArray10getObjectsEv(ptr noundef nonnull align 8 dereferenceable(89)) #2

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

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

declare noundef ptr @_ZN9CStackMap16getKeyValuePairsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(160)) #2

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

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

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

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

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

attributes #0 = { 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 #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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !10, i64 32}
!16 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectE", !17, i64 0, !10, i64 32}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !12, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!19 = distinct !{!19, !14}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.std::_Rb_tree_iterator" = type { ptr }

@simPushNullOntoStack = external local_unnamed_addr global ptr, align 8
@simPushBoolOntoStack = external local_unnamed_addr global ptr, align 8
@simPushDoubleOntoStack = external local_unnamed_addr global ptr, align 8
@simPushStringOntoStack = external local_unnamed_addr global ptr, align 8
@simPushTableOntoStack = external local_unnamed_addr global ptr, align 8
@simPushDoubleTableOntoStack = external local_unnamed_addr global ptr, align 8
@simPushInt32OntoStack = external local_unnamed_addr global ptr, align 8
@simInsertDataIntoStackTable = external local_unnamed_addr global ptr, align 8

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12CStackObject18buildItemOntoStackEiPS_(i32 noundef %0, ptr noundef nonnull %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %5 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %6 = tail call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %1)
  %7 = icmp eq i32 %6, 0
  br i1 %7, label %8, label %11

8:                                                ; preds = %2
  %9 = load ptr, ptr @simPushNullOntoStack, align 8, !tbaa !5
  %10 = tail call noundef i32 %9(i32 noundef %0)
  br label %.loopexit

11:                                               ; preds = %2
  %12 = tail call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %1)
  %13 = icmp eq i32 %12, 2
  br i1 %13, label %14, label %19

14:                                               ; preds = %11
  %15 = load ptr, ptr @simPushBoolOntoStack, align 8, !tbaa !5
  %16 = tail call noundef zeroext i1 @_ZN10CStackBool8getValueEv(ptr noundef nonnull align 8 dereferenceable(13) %1)
  %17 = zext i1 %16 to i8
  %18 = tail call noundef i32 %15(i32 noundef %0, i8 noundef zeroext %17)
  br label %.loopexit

19:                                               ; preds = %11
  %20 = tail call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %1)
  %21 = icmp eq i32 %20, 1
  br i1 %21, label %22, label %26

22:                                               ; preds = %19
  %23 = load ptr, ptr @simPushDoubleOntoStack, align 8, !tbaa !5
  %24 = tail call noundef double @_ZN12CStackNumber8getValueEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %25 = tail call noundef i32 %23(i32 noundef %0, double noundef %24)
  br label %.loopexit

26:                                               ; preds = %19
  %27 = tail call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %1)
  %28 = icmp eq i32 %27, 3
  br i1 %28, label %29, label %38

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
  call void @_ZN12CStackString8getValueB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %30 = load ptr, ptr @simPushStringOntoStack, align 8, !tbaa !5
  %31 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  %32 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  %33 = trunc i64 %32 to i32
  %34 = invoke noundef i32 %30(i32 noundef %0, ptr noundef %31, i32 noundef %33)
          to label %35 unwind label %36

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

36:                                               ; preds = %29
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
  resume { ptr, i32 } %37

38:                                               ; preds = %26
  %39 = tail call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %1)
  %40 = icmp eq i32 %39, 4
  br i1 %40, label %41, label %74

41:                                               ; preds = %38
  %42 = tail call noundef i64 @_ZN11CStackArray7getSizeEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %43 = icmp eq i64 %42, 0
  br i1 %43, label %44, label %47

44:                                               ; preds = %41
  %45 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !5
  %46 = tail call noundef i32 %45(i32 noundef %0)
  br label %.loopexit

47:                                               ; preds = %41
  %48 = tail call noundef i64 @_ZN11CStackArray7getSizeEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %.not = icmp eq i64 %48, 0
  br i1 %.not, label %.loopexit, label %49

49:                                               ; preds = %47
  %50 = tail call noundef zeroext i1 @_ZN11CStackArray13isNumberArrayEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  br i1 %50, label %51, label %59

51:                                               ; preds = %49
  %52 = load ptr, ptr @simPushDoubleTableOntoStack, align 8, !tbaa !5
  %53 = tail call noundef ptr @_ZN11CStackArray10getDoublesEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %54 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef 0)
  %55 = tail call noundef ptr @_ZN11CStackArray10getDoublesEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %56 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #4
  %57 = trunc i64 %56 to i32
  %58 = tail call noundef i32 %52(i32 noundef %0, ptr noundef nonnull %54, i32 noundef %57)
  br label %.loopexit

59:                                               ; preds = %49
  %60 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !5
  %61 = tail call noundef i32 %60(i32 noundef %0)
  %62 = tail call noundef ptr @_ZN11CStackArray10getObjectsEv(ptr noundef nonnull align 8 dereferenceable(89) %1)
  %63 = tail call noundef i64 @_ZNKSt6vectorIP12CStackObjectSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #4
  %.not44 = icmp eq i64 %63, 0
  br i1 %.not44, label %.loopexit, label %.lr.ph43

.lr.ph43:                                         ; preds = %59, %.lr.ph43
  %.041 = phi i64 [ %65, %.lr.ph43 ], [ 0, %59 ]
  %64 = load ptr, ptr @simPushInt32OntoStack, align 8, !tbaa !5
  %65 = add nuw i64 %.041, 1
  %66 = trunc i64 %65 to i32
  %67 = tail call noundef i32 %64(i32 noundef %0, i32 noundef %66)
  %68 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP12CStackObjectSaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %.041)
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  tail call void @_ZN12CStackObject18buildItemOntoStackEiPS_(i32 noundef %0, ptr noundef %69)
  %70 = load ptr, ptr @simInsertDataIntoStackTable, align 8, !tbaa !5
  %71 = tail call noundef i32 %70(i32 noundef %0)
  %72 = tail call noundef i64 @_ZNKSt6vectorIP12CStackObjectSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #4
  %73 = icmp ult i64 %65, %72
  br i1 %73, label %.lr.ph43, label %.loopexit, !llvm.loop !9

74:                                               ; preds = %38
  %75 = tail call noundef i32 @_ZNK12CStackObject13getObjectTypeEv(ptr noundef nonnull align 8 dereferenceable(12) %1)
  %76 = icmp eq i32 %75, 5
  br i1 %76, label %77, label %.loopexit

77:                                               ; preds = %74
  %78 = tail call noundef ptr @_ZN9CStackMap16getKeyValuePairsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(160) %1)
  %79 = load ptr, ptr @simPushTableOntoStack, align 8, !tbaa !5
  %80 = tail call noundef i32 %79(i32 noundef %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %81 = tail call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectSt4lessIS5_ESaISt4pairIKS5_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %78) #4
  store ptr %81, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %82 = tail call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectSt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %78) #4
  store ptr %82, ptr %5, align 8
  %83 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br i1 %83, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br label %.loopexit

.lr.ph:                                           ; preds = %77, %.lr.ph
  %84 = load ptr, ptr @simPushStringOntoStack, align 8, !tbaa !5
  %85 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %86 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %85) #4
  %87 = call noundef i32 %84(i32 noundef %0, ptr noundef %86, i32 noundef 0)
  %88 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %89 = getelementptr inbounds i8, ptr %88, i64 32
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  call void @_ZN12CStackObject18buildItemOntoStackEiPS_(i32 noundef %0, ptr noundef %90)
  %91 = load ptr, ptr @simInsertDataIntoStackTable, align 8, !tbaa !5
  %92 = call noundef i32 %91(i32 noundef %0)
  %93 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %94 = call ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectSt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %78) #4
  store ptr %94, ptr %5, align 8
  %95 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectEESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br i1 %95, label %.lr.ph, label %._crit_edge, !llvm.loop !16

.loopexit:                                        ; preds = %.lr.ph43, %59, %44, %51, %47, %14, %35, %74, %._crit_edge, %22, %8
  ret void
}

declare noundef zeroext i1 @_ZN10CStackBool8getValueEv(ptr noundef nonnull align 8 dereferenceable(13)) local_unnamed_addr #2

declare noundef double @_ZN12CStackNumber8getValueEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

declare void @_ZN12CStackString8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

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

declare noundef i64 @_ZN11CStackArray7getSizeEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11CStackArray13isNumberArrayEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #2

declare noundef ptr @_ZN11CStackArray10getDoublesEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #2

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

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

declare noundef ptr @_ZN11CStackArray10getObjectsEv(ptr noundef nonnull align 8 dereferenceable(89)) local_unnamed_addr #2

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

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

declare noundef ptr @_ZN9CStackMap16getKeyValuePairsB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #2

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

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

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

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

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

attributes #0 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 32}
!12 = !{!"_ZTSSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEP12CStackObjectE", !13, i64 0, !6, i64 32}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !10}


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