; LLVM IR from Yinxiaoli/iros2015_folding :: src/folding_planner_cmake/project/2dregistration_v2 (mesh2d)

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

%struct.SVertexPair = type { ptr, ptr }
%"struct.std::pair.20" = type { %struct.SVertexPair, ptr }
%"struct.std::pair.18" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%struct.SHalfEdge = type { ptr, ptr, ptr, ptr, ptr, i32, i32, i8, i8 }
%struct.SMesh = type <{ %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::map", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<SVertex *, std::allocator<SVertex *>>::_Vector_impl" }
%"struct.std::_Vector_base<SVertex *, std::allocator<SVertex *>>::_Vector_impl" = type { %"struct.std::_Vector_base<SVertex *, std::allocator<SVertex *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SVertex *, std::allocator<SVertex *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<SHalfEdge *, std::allocator<SHalfEdge *>>::_Vector_impl" }
%"struct.std::_Vector_base<SHalfEdge *, std::allocator<SHalfEdge *>>::_Vector_impl" = type { %"struct.std::_Vector_base<SHalfEdge *, std::allocator<SHalfEdge *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SHalfEdge *, std::allocator<SHalfEdge *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<SFace *, std::allocator<SFace *>>::_Vector_impl" }
%"struct.std::_Vector_base<SFace *, std::allocator<SFace *>>::_Vector_impl" = type { %"struct.std::_Vector_base<SFace *, std::allocator<SFace *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SFace *, std::allocator<SFace *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<SVertexPair, std::pair<const SVertexPair, SHalfEdge *>, std::_Select1st<std::pair<const SVertexPair, SHalfEdge *>>, std::less<SVertexPair>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<SVertexPair, std::pair<const SVertexPair, SHalfEdge *>, std::_Select1st<std::pair<const SVertexPair, SHalfEdge *>>, std::less<SVertexPair>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.SFace = type { ptr, i32, i8, i8 }
%struct.SVertex = type { ptr, i8, i32, i8, i8 }

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z12findHalfEdgeP5SMeshP7SVertexS2_(ptr noundef, ptr noundef, ptr noundef) #0

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z7addFaceP5SMeshP7SVertexS2_S2_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %struct.SVertexPair, align 8
  %14 = alloca %struct.SVertexPair, align 8
  %15 = alloca %struct.SVertexPair, align 8
  %16 = alloca %"struct.std::pair.20", align 8
  %17 = alloca %"struct.std::pair.18", align 8
  %18 = alloca %"struct.std::pair.20", align 8
  %19 = alloca %"struct.std::pair.18", align 8
  %20 = alloca %"struct.std::pair.20", align 8
  %21 = alloca %"struct.std::pair.18", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %22 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #5
  store ptr %22, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %23 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #5
  store ptr %23, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %24 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #5
  store ptr %24, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %25 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #5
  store ptr %25, ptr %12, align 8, !tbaa !5
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.SHalfEdge, ptr %27, i32 0, i32 1
  store ptr %26, ptr %28, align 8, !tbaa !9
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.SHalfEdge, ptr %30, i32 0, i32 1
  store ptr %29, ptr %31, align 8, !tbaa !9
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.SHalfEdge, ptr %33, i32 0, i32 1
  store ptr %32, ptr %34, align 8, !tbaa !9
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.SHalfEdge, ptr %35, i32 0, i32 7
  store i8 1, ptr %36, align 8, !tbaa !13
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.SHalfEdge, ptr %37, i32 0, i32 7
  store i8 1, ptr %38, align 8, !tbaa !13
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.SHalfEdge, ptr %39, i32 0, i32 7
  store i8 1, ptr %40, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.SVertexPair, ptr %13, i32 0, i32 0
  store ptr %41, ptr %42, align 8, !tbaa !14
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.SVertexPair, ptr %13, i32 0, i32 1
  store ptr %43, ptr %44, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #4
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.SVertexPair, ptr %14, i32 0, i32 0
  store ptr %45, ptr %46, align 8, !tbaa !14
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.SVertexPair, ptr %14, i32 0, i32 1
  store ptr %47, ptr %48, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.SVertexPair, ptr %15, i32 0, i32 0
  store ptr %49, ptr %50, align 8, !tbaa !14
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.SVertexPair, ptr %15, i32 0, i32 1
  store ptr %51, ptr %52, align 8, !tbaa !16
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.SMesh, ptr %53, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #4
  call void @_ZNSt4pairI11SVertexPairP9SHalfEdgeEC2IRS0_RS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS8_S9_EEEbE4typeELb1EEEOS8_OS9_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %55 = call { ptr, i8 } @_ZNSt3mapI11SVertexPairP9SHalfEdgeSt4lessIS0_ESaISt4pairIKS0_S2_EEE6insertIS5_IS0_S2_EEENSt9enable_ifIXsr16is_constructibleIS7_T_EE5valueES5_ISt17_Rb_tree_iteratorIS7_EbEE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(48) %54, ptr noundef nonnull align 8 dereferenceable(24) %16)
  %56 = getelementptr inbounds { ptr, i8 }, ptr %17, i32 0, i32 0
  %57 = extractvalue { ptr, i8 } %55, 0
  store ptr %57, ptr %56, align 8
  %58 = getelementptr inbounds { ptr, i8 }, ptr %17, i32 0, i32 1
  %59 = extractvalue { ptr, i8 } %55, 1
  store i8 %59, ptr %58, align 8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #4
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.SMesh, ptr %60, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #4
  call void @_ZNSt4pairI11SVertexPairP9SHalfEdgeEC2IRS0_RS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS8_S9_EEEbE4typeELb1EEEOS8_OS9_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %62 = call { ptr, i8 } @_ZNSt3mapI11SVertexPairP9SHalfEdgeSt4lessIS0_ESaISt4pairIKS0_S2_EEE6insertIS5_IS0_S2_EEENSt9enable_ifIXsr16is_constructibleIS7_T_EE5valueES5_ISt17_Rb_tree_iteratorIS7_EbEE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef nonnull align 8 dereferenceable(24) %18)
  %63 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 0
  %64 = extractvalue { ptr, i8 } %62, 0
  store ptr %64, ptr %63, align 8
  %65 = getelementptr inbounds { ptr, i8 }, ptr %19, i32 0, i32 1
  %66 = extractvalue { ptr, i8 } %62, 1
  store i8 %66, ptr %65, align 8
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #4
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.SMesh, ptr %67, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #4
  call void @_ZNSt4pairI11SVertexPairP9SHalfEdgeEC2IRS0_RS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS8_S9_EEEbE4typeELb1EEEOS8_OS9_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %69 = call { ptr, i8 } @_ZNSt3mapI11SVertexPairP9SHalfEdgeSt4lessIS0_ESaISt4pairIKS0_S2_EEE6insertIS5_IS0_S2_EEENSt9enable_ifIXsr16is_constructibleIS7_T_EE5valueES5_ISt17_Rb_tree_iteratorIS7_EbEE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(48) %68, ptr noundef nonnull align 8 dereferenceable(24) %20)
  %70 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 0
  %71 = extractvalue { ptr, i8 } %69, 0
  store ptr %71, ptr %70, align 8
  %72 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 1
  %73 = extractvalue { ptr, i8 } %69, 1
  store i8 %73, ptr %72, align 8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #4
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.SHalfEdge, ptr %75, i32 0, i32 3
  store ptr %74, ptr %76, align 8, !tbaa !17
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.SHalfEdge, ptr %78, i32 0, i32 2
  store ptr %77, ptr %79, align 8, !tbaa !18
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.SHalfEdge, ptr %81, i32 0, i32 3
  store ptr %80, ptr %82, align 8, !tbaa !17
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.SHalfEdge, ptr %84, i32 0, i32 2
  store ptr %83, ptr %85, align 8, !tbaa !18
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.SHalfEdge, ptr %87, i32 0, i32 3
  store ptr %86, ptr %88, align 8, !tbaa !17
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.SHalfEdge, ptr %90, i32 0, i32 2
  store ptr %89, ptr %91, align 8, !tbaa !18
  %92 = load ptr, ptr %12, align 8, !tbaa !5
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.SHalfEdge, ptr %93, i32 0, i32 4
  store ptr %92, ptr %94, align 8, !tbaa !19
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.SHalfEdge, ptr %96, i32 0, i32 4
  store ptr %95, ptr %97, align 8, !tbaa !19
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.SHalfEdge, ptr %99, i32 0, i32 4
  store ptr %98, ptr %100, align 8, !tbaa !19
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load ptr, ptr %12, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.SFace, ptr %102, i32 0, i32 0
  store ptr %101, ptr %103, align 8, !tbaa !20
  %104 = load ptr, ptr %12, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.SFace, ptr %104, i32 0, i32 1
  store i32 0, ptr %105, align 8, !tbaa !22
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.SFace, ptr %106, i32 0, i32 2
  store i8 1, ptr %107, align 4, !tbaa !23
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.SVertex, ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8, !tbaa !24
  %111 = icmp eq ptr %110, null
  br i1 %111, label %112, label %116

112:                                              ; preds = %4
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.SVertex, ptr %114, i32 0, i32 0
  store ptr %113, ptr %115, align 8, !tbaa !24
  br label %116

116:                                              ; preds = %112, %4
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.SVertex, ptr %117, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !24
  %120 = icmp eq ptr %119, null
  br i1 %120, label %121, label %125

121:                                              ; preds = %116
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.SVertex, ptr %123, i32 0, i32 0
  store ptr %122, ptr %124, align 8, !tbaa !24
  br label %125

125:                                              ; preds = %121, %116
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.SVertex, ptr %126, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8, !tbaa !24
  %129 = icmp eq ptr %128, null
  br i1 %129, label %130, label %134

130:                                              ; preds = %125
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.SVertex, ptr %132, i32 0, i32 0
  store ptr %131, ptr %133, align 8, !tbaa !24
  br label %134

134:                                              ; preds = %130, %125
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = call noundef ptr @_Z12findHalfEdgeP5SMeshP7SVertexS2_(ptr noundef %135, ptr noundef %136, ptr noundef %137)
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.SHalfEdge, ptr %139, i32 0, i32 0
  store ptr %138, ptr %140, align 8, !tbaa !26
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.SHalfEdge, ptr %141, i32 0, i32 0
  %143 = load ptr, ptr %142, align 8, !tbaa !26
  %144 = icmp ne ptr %143, null
  br i1 %144, label %145, label %151

145:                                              ; preds = %134
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.SHalfEdge, ptr %147, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8, !tbaa !26
  %150 = getelementptr inbounds %struct.SHalfEdge, ptr %149, i32 0, i32 0
  store ptr %146, ptr %150, align 8, !tbaa !26
  br label %151

151:                                              ; preds = %145, %134
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = call noundef ptr @_Z12findHalfEdgeP5SMeshP7SVertexS2_(ptr noundef %152, ptr noundef %153, ptr noundef %154)
  %156 = load ptr, ptr %10, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.SHalfEdge, ptr %156, i32 0, i32 0
  store ptr %155, ptr %157, align 8, !tbaa !26
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.SHalfEdge, ptr %158, i32 0, i32 0
  %160 = load ptr, ptr %159, align 8, !tbaa !26
  %161 = icmp ne ptr %160, null
  br i1 %161, label %162, label %168

162:                                              ; preds = %151
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  %164 = load ptr, ptr %10, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.SHalfEdge, ptr %164, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8, !tbaa !26
  %167 = getelementptr inbounds %struct.SHalfEdge, ptr %166, i32 0, i32 0
  store ptr %163, ptr %167, align 8, !tbaa !26
  br label %168

168:                                              ; preds = %162, %151
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = call noundef ptr @_Z12findHalfEdgeP5SMeshP7SVertexS2_(ptr noundef %169, ptr noundef %170, ptr noundef %171)
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.SHalfEdge, ptr %173, i32 0, i32 0
  store ptr %172, ptr %174, align 8, !tbaa !26
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.SHalfEdge, ptr %175, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8, !tbaa !26
  %178 = icmp ne ptr %177, null
  br i1 %178, label %179, label %185

179:                                              ; preds = %168
  %180 = load ptr, ptr %11, align 8, !tbaa !5
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.SHalfEdge, ptr %181, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8, !tbaa !26
  %184 = getelementptr inbounds %struct.SHalfEdge, ptr %183, i32 0, i32 0
  store ptr %180, ptr %184, align 8, !tbaa !26
  br label %185

185:                                              ; preds = %179, %168
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.SMesh, ptr %186, i32 0, i32 1
  call void @_ZNSt6vectorIP9SHalfEdgeSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %187, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.SMesh, ptr %188, i32 0, i32 1
  call void @_ZNSt6vectorIP9SHalfEdgeSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %189, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %190 = load ptr, ptr %5, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.SMesh, ptr %190, i32 0, i32 1
  call void @_ZNSt6vectorIP9SHalfEdgeSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %191, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.SMesh, ptr %192, i32 0, i32 2
  call void @_ZNSt6vectorIP5SFaceSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %193, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %194 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret ptr %194
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapI11SVertexPairP9SHalfEdgeSt4lessIS0_ESaISt4pairIKS0_S2_EEE6insertIS5_IS0_S2_EEENSt9enable_ifIXsr16is_constructibleIS7_T_EE5valueES5_ISt17_Rb_tree_iteratorIS7_EbEE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTS9SHalfEdge", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !12, i64 48, !12, i64 49}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!10, !12, i64 48}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTS11SVertexPair", !6, i64 0, !6, i64 8}
!16 = !{!15, !6, i64 8}
!17 = !{!10, !6, i64 24}
!18 = !{!10, !6, i64 16}
!19 = !{!10, !6, i64 32}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTS5SFace", !6, i64 0, !11, i64 8, !12, i64 12, !12, i64 13}
!22 = !{!21, !11, i64 8}
!23 = !{!21, !12, i64 12}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTS7SVertex", !6, i64 0, !12, i64 8, !11, i64 12, !12, i64 16, !12, i64 17}
!26 = !{!10, !6, i64 0}


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

%struct.SVertexPair = type { ptr, ptr }
%"struct.std::pair.20" = type { %struct.SVertexPair, ptr }

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z12findHalfEdgeP5SMeshP7SVertexS2_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z7addFaceP5SMeshP7SVertexS2_S2_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct.SVertexPair, align 8
  %10 = alloca %struct.SVertexPair, align 8
  %11 = alloca %struct.SVertexPair, align 8
  %12 = alloca %"struct.std::pair.20", align 8
  %13 = alloca %"struct.std::pair.20", align 8
  %14 = alloca %"struct.std::pair.20", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %15 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #5
  store ptr %15, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %16 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #5
  store ptr %16, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %17 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #5
  store ptr %17, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %18 = tail call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #5
  store ptr %18, ptr %8, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %15, i64 8
  store ptr %2, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %16, i64 8
  store ptr %3, ptr %20, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %17, i64 8
  store ptr %1, ptr %21, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %15, i64 48
  store i8 1, ptr %22, align 8, !tbaa !13
  %23 = getelementptr inbounds i8, ptr %16, i64 48
  store i8 1, ptr %23, align 8, !tbaa !13
  %24 = getelementptr inbounds i8, ptr %17, i64 48
  store i8 1, ptr %24, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  store ptr %1, ptr %9, align 8, !tbaa !14
  %25 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %2, ptr %25, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  store ptr %2, ptr %10, align 8, !tbaa !14
  %26 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %3, ptr %26, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #4
  store ptr %3, ptr %11, align 8, !tbaa !14
  %27 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr %1, ptr %27, align 8, !tbaa !16
  %28 = getelementptr inbounds i8, ptr %0, i64 72
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  call void @_ZNSt4pairI11SVertexPairP9SHalfEdgeEC2IRS0_RS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS8_S9_EEEbE4typeELb1EEEOS8_OS9_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %29 = call { ptr, i8 } @_ZNSt3mapI11SVertexPairP9SHalfEdgeSt4lessIS0_ESaISt4pairIKS0_S2_EEE6insertIS5_IS0_S2_EEENSt9enable_ifIXsr16is_constructibleIS7_T_EE5valueES5_ISt17_Rb_tree_iteratorIS7_EbEE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(24) %12)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #4
  call void @_ZNSt4pairI11SVertexPairP9SHalfEdgeEC2IRS0_RS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS8_S9_EEEbE4typeELb1EEEOS8_OS9_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %30 = call { ptr, i8 } @_ZNSt3mapI11SVertexPairP9SHalfEdgeSt4lessIS0_ESaISt4pairIKS0_S2_EEE6insertIS5_IS0_S2_EEENSt9enable_ifIXsr16is_constructibleIS7_T_EE5valueES5_ISt17_Rb_tree_iteratorIS7_EbEE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #4
  call void @_ZNSt4pairI11SVertexPairP9SHalfEdgeEC2IRS0_RS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS8_S9_EEEbE4typeELb1EEEOS8_OS9_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %31 = call { ptr, i8 } @_ZNSt3mapI11SVertexPairP9SHalfEdgeSt4lessIS0_ESaISt4pairIKS0_S2_EEE6insertIS5_IS0_S2_EEENSt9enable_ifIXsr16is_constructibleIS7_T_EE5valueES5_ISt17_Rb_tree_iteratorIS7_EbEE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(24) %14)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #4
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i64 24
  store ptr %32, ptr %34, align 8, !tbaa !17
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %33, i64 16
  store ptr %35, ptr %36, align 8, !tbaa !18
  %37 = getelementptr inbounds i8, ptr %32, i64 24
  store ptr %35, ptr %37, align 8, !tbaa !17
  %38 = getelementptr inbounds i8, ptr %32, i64 16
  store ptr %33, ptr %38, align 8, !tbaa !18
  %39 = getelementptr inbounds i8, ptr %35, i64 24
  store ptr %33, ptr %39, align 8, !tbaa !17
  %40 = getelementptr inbounds i8, ptr %35, i64 16
  store ptr %32, ptr %40, align 8, !tbaa !18
  %41 = getelementptr inbounds i8, ptr %33, i64 32
  store ptr %18, ptr %41, align 8, !tbaa !19
  %42 = getelementptr inbounds i8, ptr %32, i64 32
  store ptr %18, ptr %42, align 8, !tbaa !19
  %43 = getelementptr inbounds i8, ptr %35, i64 32
  store ptr %18, ptr %43, align 8, !tbaa !19
  store ptr %33, ptr %18, align 8, !tbaa !20
  %44 = getelementptr inbounds i8, ptr %18, i64 8
  store i32 0, ptr %44, align 8, !tbaa !22
  %45 = getelementptr inbounds i8, ptr %18, i64 12
  store i8 1, ptr %45, align 4, !tbaa !23
  %46 = load ptr, ptr %1, align 8, !tbaa !24
  %47 = icmp eq ptr %46, null
  br i1 %47, label %48, label %49

48:                                               ; preds = %4
  store ptr %33, ptr %1, align 8, !tbaa !24
  br label %49

49:                                               ; preds = %48, %4
  %50 = load ptr, ptr %2, align 8, !tbaa !24
  %51 = icmp eq ptr %50, null
  br i1 %51, label %52, label %53

52:                                               ; preds = %49
  store ptr %32, ptr %2, align 8, !tbaa !24
  br label %53

53:                                               ; preds = %52, %49
  %54 = load ptr, ptr %3, align 8, !tbaa !24
  %55 = icmp eq ptr %54, null
  br i1 %55, label %56, label %57

56:                                               ; preds = %53
  store ptr %35, ptr %3, align 8, !tbaa !24
  br label %57

57:                                               ; preds = %56, %53
  %58 = call noundef ptr @_Z12findHalfEdgeP5SMeshP7SVertexS2_(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %1)
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %58, ptr %59, align 8, !tbaa !26
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = load ptr, ptr %60, align 8, !tbaa !26
  %.not = icmp eq ptr %61, null
  br i1 %.not, label %63, label %62

62:                                               ; preds = %57
  store ptr %60, ptr %61, align 8, !tbaa !26
  br label %63

63:                                               ; preds = %62, %57
  %64 = call noundef ptr @_Z12findHalfEdgeP5SMeshP7SVertexS2_(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %2)
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %64, ptr %65, align 8, !tbaa !26
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load ptr, ptr %66, align 8, !tbaa !26
  %.not37 = icmp eq ptr %67, null
  br i1 %.not37, label %69, label %68

68:                                               ; preds = %63
  store ptr %66, ptr %67, align 8, !tbaa !26
  br label %69

69:                                               ; preds = %68, %63
  %70 = call noundef ptr @_Z12findHalfEdgeP5SMeshP7SVertexS2_(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %3)
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %70, ptr %71, align 8, !tbaa !26
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = load ptr, ptr %72, align 8, !tbaa !26
  %.not38 = icmp eq ptr %73, null
  br i1 %.not38, label %75, label %74

74:                                               ; preds = %69
  store ptr %72, ptr %73, align 8, !tbaa !26
  br label %75

75:                                               ; preds = %74, %69
  %76 = getelementptr inbounds i8, ptr %0, i64 24
  call void @_ZNSt6vectorIP9SHalfEdgeSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @_ZNSt6vectorIP9SHalfEdgeSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @_ZNSt6vectorIP9SHalfEdgeSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %77 = getelementptr inbounds i8, ptr %0, i64 48
  call void @_ZNSt6vectorIP5SFaceSaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %77, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  ret ptr %78
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapI11SVertexPairP9SHalfEdgeSt4lessIS0_ESaISt4pairIKS0_S2_EEE6insertIS5_IS0_S2_EEENSt9enable_ifIXsr16is_constructibleIS7_T_EE5valueES5_ISt17_Rb_tree_iteratorIS7_EbEE4typeEOSD_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTS9SHalfEdge", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !12, i64 48, !12, i64 49}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!10, !12, i64 48}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTS11SVertexPair", !6, i64 0, !6, i64 8}
!16 = !{!15, !6, i64 8}
!17 = !{!10, !6, i64 24}
!18 = !{!10, !6, i64 16}
!19 = !{!10, !6, i64 32}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTS5SFace", !6, i64 0, !11, i64 8, !12, i64 12, !12, i64 13}
!22 = !{!21, !11, i64 8}
!23 = !{!21, !12, i64 12}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTS7SVertex", !6, i64 0, !12, i64 8, !11, i64 12, !12, i64 16, !12, i64 17}
!26 = !{!10, !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass