; LLVM IR from Ubpa/USTC_CG :: Homeworks/6_MassSpring/documents/tetgen/src/TetGene (tetgen)

; 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.tetgenmesh::triface" = type <{ ptr, i32, [4 x i8] }>
%"class.tetgenmesh::face" = type <{ ptr, i32, [4 x i8] }>
%"class.tetgenmesh::arraypool" = type { i32, i32, i32, i32, i32, ptr, i64, i64 }
%class.tetgenmesh = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.tetgenmesh::triface", %"class.tetgenmesh::face", ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, [8 x [3 x [8 x i32]]], [8 x i32] }

@_ZN10tetgenmesh10facepivot1E = external dso_local global [12 x i32], align 16
@_ZN10tetgenmesh10facepivot2E = external dso_local global [12 x [12 x i32]], align 16

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh4bondERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh4fsymERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10tetgenmesh9sinfectedERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN10tetgenmesh8infectedERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh6encodeERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh8uninfectERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10tetgenmesh13restorecavityEPNS_9arraypoolES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #4 align 2 {
  %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 %"class.tetgenmesh::triface", align 8
  %13 = alloca %"class.tetgenmesh::triface", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.tetgenmesh::face", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %15)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %21

21:                                               ; preds = %93, %5
  %22 = load i32, ptr %18, align 4, !tbaa !9
  %23 = sext i32 %22 to i64
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %24, i32 0, i32 6
  %26 = load i64, ptr %25, align 8, !tbaa !11
  %27 = icmp slt i64 %23, %26
  br i1 %27, label %28, label %96

28:                                               ; preds = %21
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %29, i32 0, i32 5
  %31 = load ptr, ptr %30, align 8, !tbaa !14
  %32 = load i32, ptr %18, align 4, !tbaa !9
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %33, i32 0, i32 2
  %35 = load i32, ptr %34, align 8, !tbaa !15
  %36 = ashr i32 %32, %35
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds ptr, ptr %31, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = load i32, ptr %18, align 4, !tbaa !9
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %41, i32 0, i32 3
  %43 = load i32, ptr %42, align 4, !tbaa !16
  %44 = and i32 %40, %43
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !17
  %48 = mul nsw i32 %44, %47
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds i8, ptr %39, i64 %49
  store ptr %50, ptr %11, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %51, i32 0, i32 1
  store i32 0, ptr %52, align 8, !tbaa !18
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %53, i32 0, i32 1
  store i32 0, ptr %54, align 8, !tbaa !18
  br label %55

55:                                               ; preds = %66, %28
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %56, i32 0, i32 1
  %58 = load i32, ptr %57, align 8, !tbaa !18
  %59 = icmp slt i32 %58, 4
  br i1 %59, label %60, label %71

60:                                               ; preds = %55
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN10tetgenmesh4fsymERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %61, ptr noundef nonnull align 8 dereferenceable(12) %12)
  %62 = call noundef zeroext i1 @_ZN10tetgenmesh8infectedERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %12)
  br i1 %62, label %65, label %63

63:                                               ; preds = %60
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN10tetgenmesh4bondERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %64, ptr noundef nonnull align 8 dereferenceable(12) %12)
  br label %65

65:                                               ; preds = %63, %60
  br label %66

66:                                               ; preds = %65
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 8, !tbaa !18
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %68, align 8, !tbaa !18
  br label %55, !llvm.loop !20

71:                                               ; preds = %55
  %72 = load ptr, ptr %11, align 8, !tbaa !5
  %73 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %72, i32 0, i32 1
  store i32 0, ptr %73, align 8, !tbaa !18
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !22
  %77 = getelementptr inbounds ptr, ptr %76, i64 4
  store ptr %77, ptr %16, align 8, !tbaa !5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %89, %71
  %79 = load i32, ptr %19, align 4, !tbaa !9
  %80 = icmp slt i32 %79, 4
  br i1 %80, label %81, label %92

81:                                               ; preds = %78
  %82 = load ptr, ptr %16, align 8, !tbaa !5
  %83 = load i32, ptr %19, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds ptr, ptr %82, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = call noundef ptr @_ZN10tetgenmesh6encodeERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %87)
  call void @_ZN10tetgenmesh12setpoint2tetEPdPS0_(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef %86, ptr noundef %88)
  br label %89

89:                                               ; preds = %81
  %90 = load i32, ptr %19, align 4, !tbaa !9
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %19, align 4, !tbaa !9
  br label %78, !llvm.loop !23

92:                                               ; preds = %78
  br label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %18, align 4, !tbaa !9
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %18, align 4, !tbaa !9
  br label %21, !llvm.loop !24

96:                                               ; preds = %21
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %128, %96
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %100, i32 0, i32 6
  %102 = load i64, ptr %101, align 8, !tbaa !11
  %103 = icmp slt i64 %99, %102
  br i1 %103, label %104, label %131

104:                                              ; preds = %97
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %105, i32 0, i32 5
  %107 = load ptr, ptr %106, align 8, !tbaa !14
  %108 = load i32, ptr %18, align 4, !tbaa !9
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %109, i32 0, i32 2
  %111 = load i32, ptr %110, align 8, !tbaa !15
  %112 = ashr i32 %108, %111
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds ptr, ptr %107, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %117, i32 0, i32 3
  %119 = load i32, ptr %118, align 4, !tbaa !16
  %120 = and i32 %116, %119
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %121, i32 0, i32 0
  %123 = load i32, ptr %122, align 8, !tbaa !17
  %124 = mul nsw i32 %120, %123
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds i8, ptr %115, i64 %125
  store ptr %126, ptr %11, align 8, !tbaa !5
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN10tetgenmesh8uninfectERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %127)
  br label %128

128:                                              ; preds = %104
  %129 = load i32, ptr %18, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %18, align 4, !tbaa !9
  br label %97, !llvm.loop !25

131:                                              ; preds = %97
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %132, i32 0, i32 5
  %134 = load ptr, ptr %133, align 8, !tbaa !14
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %135, i32 0, i32 2
  %137 = load i32, ptr %136, align 8, !tbaa !15
  %138 = ashr i32 0, %137
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds ptr, ptr %134, i64 %139
  %141 = load ptr, ptr %140, align 8, !tbaa !5
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %142, i32 0, i32 3
  %144 = load i32, ptr %143, align 4, !tbaa !16
  %145 = and i32 0, %144
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %146, i32 0, i32 0
  %148 = load i32, ptr %147, align 8, !tbaa !17
  %149 = mul nsw i32 %145, %148
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds i8, ptr %141, i64 %150
  %152 = getelementptr inbounds %class.tetgenmesh, ptr %20, i32 0, i32 36
  %153 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %152, ptr noundef nonnull align 8 dereferenceable(12) %151)
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %154

154:                                              ; preds = %232, %131
  %155 = load i32, ptr %18, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %157, i32 0, i32 6
  %159 = load i64, ptr %158, align 8, !tbaa !11
  %160 = icmp slt i64 %156, %159
  br i1 %160, label %161, label %235

161:                                              ; preds = %154
  %162 = load ptr, ptr %10, align 8, !tbaa !5
  %163 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %162, i32 0, i32 5
  %164 = load ptr, ptr %163, align 8, !tbaa !14
  %165 = load i32, ptr %18, align 4, !tbaa !9
  %166 = load ptr, ptr %10, align 8, !tbaa !5
  %167 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %166, i32 0, i32 2
  %168 = load i32, ptr %167, align 8, !tbaa !15
  %169 = ashr i32 %165, %168
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds ptr, ptr %164, i64 %170
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  %173 = load i32, ptr %18, align 4, !tbaa !9
  %174 = load ptr, ptr %10, align 8, !tbaa !5
  %175 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %174, i32 0, i32 3
  %176 = load i32, ptr %175, align 4, !tbaa !16
  %177 = and i32 %173, %176
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %178, i32 0, i32 0
  %180 = load i32, ptr %179, align 8, !tbaa !17
  %181 = mul nsw i32 %177, %180
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds i8, ptr %172, i64 %182
  store ptr %183, ptr %14, align 8, !tbaa !5
  %184 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %184, ptr noundef nonnull align 8 dereferenceable(12) %15)
  %185 = getelementptr inbounds %"class.tetgenmesh::face", ptr %15, i32 0, i32 0
  %186 = load ptr, ptr %185, align 8, !tbaa !26
  %187 = getelementptr inbounds ptr, ptr %186, i64 3
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = icmp ne ptr %188, null
  br i1 %189, label %190, label %231

190:                                              ; preds = %161
  %191 = call noundef zeroext i1 @_ZN10tetgenmesh9sinfectedERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %15)
  br i1 %191, label %192, label %230

192:                                              ; preds = %190
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %15, ptr noundef nonnull align 8 dereferenceable(12) %12)
  %193 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %13, ptr noundef nonnull align 8 dereferenceable(12) %12)
  br label %194

194:                                              ; preds = %223, %192
  br label %195

195:                                              ; preds = %194
  call void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %13)
  %196 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %13, i32 0, i32 1
  %197 = load i32, ptr %196, align 8, !tbaa !18
  store i32 %197, ptr %17, align 4, !tbaa !9
  %198 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %13, i32 0, i32 0
  %199 = load ptr, ptr %198, align 8, !tbaa !22
  %200 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %13, i32 0, i32 1
  %201 = load i32, ptr %200, align 8, !tbaa !18
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %202
  %204 = load i32, ptr %203, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds ptr, ptr %199, i64 %205
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef %207, ptr noundef nonnull align 8 dereferenceable(12) %13)
  %208 = load i32, ptr %17, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %209
  %211 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %13, i32 0, i32 1
  %212 = load i32, ptr %211, align 8, !tbaa !18
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds [12 x i32], ptr %210, i64 0, i64 %213
  %215 = load i32, ptr %214, align 4, !tbaa !9
  %216 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %13, i32 0, i32 1
  store i32 %215, ptr %216, align 8, !tbaa !18
  %217 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %13, i32 0, i32 0
  %218 = load ptr, ptr %217, align 8, !tbaa !22
  %219 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %12, i32 0, i32 0
  %220 = load ptr, ptr %219, align 8, !tbaa !22
  %221 = icmp eq ptr %218, %220
  br i1 %221, label %222, label %223

222:                                              ; preds = %195
  br label %224

223:                                              ; preds = %195
  br label %194, !llvm.loop !28

224:                                              ; preds = %222
  %225 = getelementptr inbounds %class.tetgenmesh, ptr %20, i32 0, i32 6
  %226 = load ptr, ptr %225, align 8, !tbaa !29
  %227 = getelementptr inbounds %"class.tetgenmesh::face", ptr %15, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8, !tbaa !26
  call void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef %226, ptr noundef %228)
  %229 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef nonnull align 8 dereferenceable(12) %229)
  br label %230

230:                                              ; preds = %224, %190
  br label %231

231:                                              ; preds = %230, %161
  br label %232

232:                                              ; preds = %231
  %233 = load i32, ptr %18, align 4, !tbaa !9
  %234 = add nsw i32 %233, 1
  store i32 %234, ptr %18, align 4, !tbaa !9
  br label %154, !llvm.loop !32

235:                                              ; preds = %154
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %236

236:                                              ; preds = %269, %235
  %237 = load i32, ptr %18, align 4, !tbaa !9
  %238 = sext i32 %237 to i64
  %239 = load ptr, ptr %8, align 8, !tbaa !5
  %240 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %239, i32 0, i32 6
  %241 = load i64, ptr %240, align 8, !tbaa !11
  %242 = icmp slt i64 %238, %241
  br i1 %242, label %243, label %272

243:                                              ; preds = %236
  %244 = load ptr, ptr %8, align 8, !tbaa !5
  %245 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %244, i32 0, i32 5
  %246 = load ptr, ptr %245, align 8, !tbaa !14
  %247 = load i32, ptr %18, align 4, !tbaa !9
  %248 = load ptr, ptr %8, align 8, !tbaa !5
  %249 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %248, i32 0, i32 2
  %250 = load i32, ptr %249, align 8, !tbaa !15
  %251 = ashr i32 %247, %250
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds ptr, ptr %246, i64 %252
  %254 = load ptr, ptr %253, align 8, !tbaa !5
  %255 = load i32, ptr %18, align 4, !tbaa !9
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  %257 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %256, i32 0, i32 3
  %258 = load i32, ptr %257, align 4, !tbaa !16
  %259 = and i32 %255, %258
  %260 = load ptr, ptr %8, align 8, !tbaa !5
  %261 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %260, i32 0, i32 0
  %262 = load i32, ptr %261, align 8, !tbaa !17
  %263 = mul nsw i32 %259, %262
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds i8, ptr %254, i64 %264
  store ptr %265, ptr %11, align 8, !tbaa !5
  %266 = load ptr, ptr %11, align 8, !tbaa !5
  %267 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %266, i32 0, i32 0
  %268 = load ptr, ptr %267, align 8, !tbaa !22
  call void @_ZN10tetgenmesh18tetrahedrondeallocEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef %268)
  br label %269

269:                                              ; preds = %243
  %270 = load i32, ptr %18, align 4, !tbaa !9
  %271 = add nsw i32 %270, 1
  store i32 %271, ptr %18, align 4, !tbaa !9
  br label %236, !llvm.loop !33

272:                                              ; preds = %236
  %273 = load ptr, ptr %9, align 8, !tbaa !5
  %274 = icmp ne ptr %273, null
  br i1 %274, label %275, label %313

275:                                              ; preds = %272
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %276

276:                                              ; preds = %309, %275
  %277 = load i32, ptr %18, align 4, !tbaa !9
  %278 = sext i32 %277 to i64
  %279 = load ptr, ptr %9, align 8, !tbaa !5
  %280 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %279, i32 0, i32 6
  %281 = load i64, ptr %280, align 8, !tbaa !11
  %282 = icmp slt i64 %278, %281
  br i1 %282, label %283, label %312

283:                                              ; preds = %276
  %284 = load ptr, ptr %9, align 8, !tbaa !5
  %285 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %284, i32 0, i32 5
  %286 = load ptr, ptr %285, align 8, !tbaa !14
  %287 = load i32, ptr %18, align 4, !tbaa !9
  %288 = load ptr, ptr %9, align 8, !tbaa !5
  %289 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %288, i32 0, i32 2
  %290 = load i32, ptr %289, align 8, !tbaa !15
  %291 = ashr i32 %287, %290
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds ptr, ptr %286, i64 %292
  %294 = load ptr, ptr %293, align 8, !tbaa !5
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = load ptr, ptr %9, align 8, !tbaa !5
  %297 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %296, i32 0, i32 3
  %298 = load i32, ptr %297, align 4, !tbaa !16
  %299 = and i32 %295, %298
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = getelementptr inbounds %"class.tetgenmesh::arraypool", ptr %300, i32 0, i32 0
  %302 = load i32, ptr %301, align 8, !tbaa !17
  %303 = mul nsw i32 %299, %302
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds i8, ptr %294, i64 %304
  store ptr %305, ptr %11, align 8, !tbaa !5
  %306 = load ptr, ptr %11, align 8, !tbaa !5
  %307 = getelementptr inbounds %"class.tetgenmesh::triface", ptr %306, i32 0, i32 0
  %308 = load ptr, ptr %307, align 8, !tbaa !22
  call void @_ZN10tetgenmesh18tetrahedrondeallocEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %20, ptr noundef %308)
  br label %309

309:                                              ; preds = %283
  %310 = load i32, ptr %18, align 4, !tbaa !9
  %311 = add nsw i32 %310, 1
  store i32 %311, ptr %18, align 4, !tbaa !9
  br label %276, !llvm.loop !34

312:                                              ; preds = %276
  br label %313

313:                                              ; preds = %312, %272
  %314 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48) %314)
  %315 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48) %315)
  %316 = load ptr, ptr %9, align 8, !tbaa !5
  %317 = icmp ne ptr %316, null
  br i1 %317, label %318, label %320

318:                                              ; preds = %313
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48) %319)
  br label %320

320:                                              ; preds = %318, %313
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 32}
!12 = !{!"_ZTSN10tetgenmesh9arraypoolE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !13, i64 32, !13, i64 40}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 24}
!15 = !{!12, !10, i64 8}
!16 = !{!12, !10, i64 12}
!17 = !{!12, !10, i64 0}
!18 = !{!19, !10, i64 8}
!19 = !{!"_ZTSN10tetgenmesh7trifaceE", !6, i64 0, !10, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!19, !6, i64 0}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}
!26 = !{!27, !6, i64 0}
!27 = !{!"_ZTSN10tetgenmesh4faceE", !6, i64 0, !10, i64 8}
!28 = distinct !{!28, !21}
!29 = !{!30, !6, i64 48}
!30 = !{!"_ZTS10tetgenmesh", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !19, i64 288, !27, i64 304, !6, i64 320, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !13, i64 408, !13, i64 416, !31, i64 424, !31, i64 432, !31, i64 440, !31, i64 448, !31, i64 456, !31, i64 464, !31, i64 472, !31, i64 480, !31, i64 488, !31, i64 496, !31, i64 504, !31, i64 512, !31, i64 520, !31, i64 528, !31, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !13, i64 600, !13, i64 608, !13, i64 616, !13, i64 624, !13, i64 632, !13, i64 640, !13, i64 648, !13, i64 656, !13, i64 664, !13, i64 672, !13, i64 680, !13, i64 688, !13, i64 696, !13, i64 704, !13, i64 712, !13, i64 720, !13, i64 728, !7, i64 736, !7, i64 1504}
!31 = !{!"double", !7, i64 0}
!32 = distinct !{!32, !21}
!33 = distinct !{!33, !21}
!34 = distinct !{!34, !21}


; 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.tetgenmesh::triface" = type <{ ptr, i32, [4 x i8] }>
%"class.tetgenmesh::face" = type <{ ptr, i32, [4 x i8] }>

@_ZN10tetgenmesh10facepivot1E = external dso_local local_unnamed_addr global [12 x i32], align 16
@_ZN10tetgenmesh10facepivot2E = external dso_local local_unnamed_addr global [12 x [12 x i32]], align 16

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh12setpoint2tetEPdPS0_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh4bondERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10tetgenmesh4fsymERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef, ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10tetgenmesh6encodeERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh8uninfectERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10tetgenmesh13restorecavityEPNS_9arraypoolES1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #4 align 2 {
  %6 = alloca %"class.tetgenmesh::triface", align 8
  %7 = alloca %"class.tetgenmesh::triface", align 8
  %8 = alloca %"class.tetgenmesh::face", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %6)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZN10tetgenmesh7trifaceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @_ZN10tetgenmesh4faceC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %8)
  %9 = getelementptr inbounds i8, ptr %1, i64 32
  %10 = load i64, ptr %9, align 8, !tbaa !5
  %11 = icmp sgt i64 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %5
  %12 = getelementptr inbounds i8, ptr %1, i64 24
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = getelementptr inbounds i8, ptr %1, i64 12
  br label %19

.preheader78:                                     ; preds = %41
  %15 = icmp sgt i64 %55, 0
  br i1 %15, label %.lr.ph82, label %._crit_edge

.lr.ph82:                                         ; preds = %.preheader78
  %16 = getelementptr inbounds i8, ptr %1, i64 24
  %17 = getelementptr inbounds i8, ptr %1, i64 8
  %18 = getelementptr inbounds i8, ptr %1, i64 12
  br label %57

19:                                               ; preds = %.lr.ph, %41
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %41 ]
  %20 = load ptr, ptr %12, align 8, !tbaa !12
  %21 = load i32, ptr %13, align 8, !tbaa !13
  %22 = trunc nuw nsw i64 %indvars.iv to i32
  %23 = lshr i32 %22, %21
  %24 = zext nneg i32 %23 to i64
  %25 = getelementptr inbounds ptr, ptr %20, i64 %24
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  %27 = load i32, ptr %14, align 4, !tbaa !15
  %28 = and i32 %27, %22
  %29 = load i32, ptr %1, align 8, !tbaa !16
  %30 = mul nsw i32 %28, %29
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds i8, ptr %26, i64 %31
  %33 = getelementptr inbounds i8, ptr %32, i64 8
  store i32 0, ptr %33, align 8, !tbaa !17
  br label %34

34:                                               ; preds = %19, %37
  call void @_ZN10tetgenmesh4fsymERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %32, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %35 = call noundef zeroext i1 @_ZN10tetgenmesh8infectedERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %6)
  br i1 %35, label %37, label %36

36:                                               ; preds = %34
  call void @_ZN10tetgenmesh4bondERNS_7trifaceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %32, ptr noundef nonnull align 8 dereferenceable(12) %6)
  br label %37

37:                                               ; preds = %34, %36
  %38 = load i32, ptr %33, align 8, !tbaa !17
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %33, align 8, !tbaa !17
  %40 = icmp slt i32 %38, 3
  br i1 %40, label %34, label %41, !llvm.loop !19

41:                                               ; preds = %37
  store i32 0, ptr %33, align 8, !tbaa !17
  %42 = load ptr, ptr %32, align 8, !tbaa !21
  %43 = getelementptr inbounds i8, ptr %42, i64 32
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  %45 = call noundef ptr @_ZN10tetgenmesh6encodeERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %32)
  call void @_ZN10tetgenmesh12setpoint2tetEPdPS0_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %44, ptr noundef %45)
  %46 = getelementptr inbounds i8, ptr %42, i64 40
  %47 = load ptr, ptr %46, align 8, !tbaa !14
  %48 = call noundef ptr @_ZN10tetgenmesh6encodeERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %32)
  call void @_ZN10tetgenmesh12setpoint2tetEPdPS0_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %47, ptr noundef %48)
  %49 = getelementptr inbounds i8, ptr %42, i64 48
  %50 = load ptr, ptr %49, align 8, !tbaa !14
  %51 = call noundef ptr @_ZN10tetgenmesh6encodeERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %32)
  call void @_ZN10tetgenmesh12setpoint2tetEPdPS0_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %50, ptr noundef %51)
  %52 = getelementptr inbounds i8, ptr %42, i64 56
  %53 = load ptr, ptr %52, align 8, !tbaa !14
  %54 = call noundef ptr @_ZN10tetgenmesh6encodeERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %32)
  call void @_ZN10tetgenmesh12setpoint2tetEPdPS0_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %53, ptr noundef %54)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %55 = load i64, ptr %9, align 8, !tbaa !5
  %56 = icmp sgt i64 %55, %indvars.iv.next
  br i1 %56, label %19, label %.preheader78, !llvm.loop !22

57:                                               ; preds = %.lr.ph82, %57
  %indvars.iv94 = phi i64 [ 0, %.lr.ph82 ], [ %indvars.iv.next95, %57 ]
  %58 = load ptr, ptr %16, align 8, !tbaa !12
  %59 = load i32, ptr %17, align 8, !tbaa !13
  %60 = trunc nuw nsw i64 %indvars.iv94 to i32
  %61 = lshr i32 %60, %59
  %62 = zext nneg i32 %61 to i64
  %63 = getelementptr inbounds ptr, ptr %58, i64 %62
  %64 = load ptr, ptr %63, align 8, !tbaa !14
  %65 = load i32, ptr %18, align 4, !tbaa !15
  %66 = and i32 %65, %60
  %67 = load i32, ptr %1, align 8, !tbaa !16
  %68 = mul nsw i32 %66, %67
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i8, ptr %64, i64 %69
  call void @_ZN10tetgenmesh8uninfectERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %70)
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %71 = load i64, ptr %9, align 8, !tbaa !5
  %72 = icmp sgt i64 %71, %indvars.iv.next95
  br i1 %72, label %57, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %57, %5, %.preheader78
  %73 = getelementptr inbounds i8, ptr %1, i64 24
  %74 = load ptr, ptr %73, align 8, !tbaa !12
  %75 = load ptr, ptr %74, align 8, !tbaa !14
  %76 = getelementptr inbounds i8, ptr %0, i64 288
  %77 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %76, ptr noundef nonnull align 8 dereferenceable(12) %75)
  %78 = getelementptr inbounds i8, ptr %4, i64 32
  %79 = load i64, ptr %78, align 8, !tbaa !5
  %80 = icmp sgt i64 %79, 0
  br i1 %80, label %.lr.ph85, label %.preheader77

.lr.ph85:                                         ; preds = %._crit_edge
  %81 = getelementptr inbounds i8, ptr %4, i64 24
  %82 = getelementptr inbounds i8, ptr %4, i64 8
  %83 = getelementptr inbounds i8, ptr %4, i64 12
  %84 = getelementptr inbounds i8, ptr %7, i64 8
  %85 = getelementptr inbounds i8, ptr %0, i64 48
  br label %92

.preheader77:                                     ; preds = %132, %._crit_edge
  %86 = getelementptr inbounds i8, ptr %2, i64 32
  %87 = load i64, ptr %86, align 8, !tbaa !5
  %88 = icmp sgt i64 %87, 0
  br i1 %88, label %.lr.ph87, label %._crit_edge88

.lr.ph87:                                         ; preds = %.preheader77
  %89 = getelementptr inbounds i8, ptr %2, i64 24
  %90 = getelementptr inbounds i8, ptr %2, i64 8
  %91 = getelementptr inbounds i8, ptr %2, i64 12
  br label %135

92:                                               ; preds = %.lr.ph85, %132
  %indvars.iv97 = phi i64 [ 0, %.lr.ph85 ], [ %indvars.iv.next98, %132 ]
  %93 = load ptr, ptr %81, align 8, !tbaa !12
  %94 = load i32, ptr %82, align 8, !tbaa !13
  %95 = trunc nuw nsw i64 %indvars.iv97 to i32
  %96 = lshr i32 %95, %94
  %97 = zext nneg i32 %96 to i64
  %98 = getelementptr inbounds ptr, ptr %93, i64 %97
  %99 = load ptr, ptr %98, align 8, !tbaa !14
  %100 = load i32, ptr %83, align 4, !tbaa !15
  %101 = and i32 %100, %95
  %102 = load i32, ptr %4, align 8, !tbaa !16
  %103 = mul nsw i32 %101, %102
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds i8, ptr %99, i64 %104
  call void @_ZN10tetgenmesh7sspivotERNS_4faceES1_(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %105, ptr noundef nonnull align 8 dereferenceable(12) %8)
  %106 = load ptr, ptr %8, align 8, !tbaa !24
  %107 = getelementptr inbounds i8, ptr %106, i64 24
  %108 = load ptr, ptr %107, align 8, !tbaa !14
  %.not76 = icmp eq ptr %108, null
  br i1 %.not76, label %132, label %109

109:                                              ; preds = %92
  %110 = call noundef zeroext i1 @_ZN10tetgenmesh9sinfectedERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8)
  br i1 %110, label %111, label %132

111:                                              ; preds = %109
  call void @_ZN10tetgenmesh9sstpivot1ERNS_4faceERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %6)
  %112 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN10tetgenmesh7trifaceaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %7, ptr noundef nonnull align 8 dereferenceable(12) %6)
  br label %113

113:                                              ; preds = %113, %111
  call void @_ZN10tetgenmesh12tssdissolve1ERNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %7)
  %114 = load i32, ptr %84, align 8, !tbaa !17
  %115 = load ptr, ptr %7, align 8, !tbaa !21
  %116 = sext i32 %114 to i64
  %117 = getelementptr inbounds [12 x i32], ptr @_ZN10tetgenmesh10facepivot1E, i64 0, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !26
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds ptr, ptr %115, i64 %119
  %121 = load ptr, ptr %120, align 8, !tbaa !14
  call void @_ZN10tetgenmesh6decodeEPPdRNS_7trifaceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %121, ptr noundef nonnull align 8 dereferenceable(12) %7)
  %122 = load i32, ptr %84, align 8, !tbaa !17
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [12 x [12 x i32]], ptr @_ZN10tetgenmesh10facepivot2E, i64 0, i64 %116, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !26
  store i32 %125, ptr %84, align 8, !tbaa !17
  %126 = load ptr, ptr %7, align 8, !tbaa !21
  %127 = load ptr, ptr %6, align 8, !tbaa !21
  %128 = icmp eq ptr %126, %127
  br i1 %128, label %129, label %113, !llvm.loop !27

129:                                              ; preds = %113
  %130 = load ptr, ptr %85, align 8, !tbaa !28
  %131 = load ptr, ptr %8, align 8, !tbaa !24
  call void @_ZN10tetgenmesh16shellfacedeallocEPNS_10memorypoolEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %130, ptr noundef %131)
  call void @_ZN10tetgenmesh10ssdissolveERNS_4faceE(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef nonnull align 8 dereferenceable(12) %105)
  br label %132

132:                                              ; preds = %92, %129, %109
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %133 = load i64, ptr %78, align 8, !tbaa !5
  %134 = icmp sgt i64 %133, %indvars.iv.next98
  br i1 %134, label %92, label %.preheader77, !llvm.loop !31

135:                                              ; preds = %.lr.ph87, %135
  %indvars.iv100 = phi i64 [ 0, %.lr.ph87 ], [ %indvars.iv.next101, %135 ]
  %136 = load ptr, ptr %89, align 8, !tbaa !12
  %137 = load i32, ptr %90, align 8, !tbaa !13
  %138 = trunc nuw nsw i64 %indvars.iv100 to i32
  %139 = lshr i32 %138, %137
  %140 = zext nneg i32 %139 to i64
  %141 = getelementptr inbounds ptr, ptr %136, i64 %140
  %142 = load ptr, ptr %141, align 8, !tbaa !14
  %143 = load i32, ptr %91, align 4, !tbaa !15
  %144 = and i32 %143, %138
  %145 = load i32, ptr %2, align 8, !tbaa !16
  %146 = mul nsw i32 %144, %145
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds i8, ptr %142, i64 %147
  %149 = load ptr, ptr %148, align 8, !tbaa !21
  call void @_ZN10tetgenmesh18tetrahedrondeallocEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %149)
  %indvars.iv.next101 = add nuw nsw i64 %indvars.iv100, 1
  %150 = load i64, ptr %86, align 8, !tbaa !5
  %151 = icmp sgt i64 %150, %indvars.iv.next101
  br i1 %151, label %135, label %._crit_edge88, !llvm.loop !32

._crit_edge88:                                    ; preds = %135, %.preheader77
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %.critedge, label %.preheader

.preheader:                                       ; preds = %._crit_edge88
  %152 = getelementptr inbounds i8, ptr %3, i64 32
  %153 = load i64, ptr %152, align 8, !tbaa !5
  %154 = icmp sgt i64 %153, 0
  br i1 %154, label %.lr.ph90, label %._crit_edge91

.lr.ph90:                                         ; preds = %.preheader
  %155 = getelementptr inbounds i8, ptr %3, i64 24
  %156 = getelementptr inbounds i8, ptr %3, i64 8
  %157 = getelementptr inbounds i8, ptr %3, i64 12
  br label %158

158:                                              ; preds = %.lr.ph90, %158
  %indvars.iv103 = phi i64 [ 0, %.lr.ph90 ], [ %indvars.iv.next104, %158 ]
  %159 = load ptr, ptr %155, align 8, !tbaa !12
  %160 = load i32, ptr %156, align 8, !tbaa !13
  %161 = trunc nuw nsw i64 %indvars.iv103 to i32
  %162 = lshr i32 %161, %160
  %163 = zext nneg i32 %162 to i64
  %164 = getelementptr inbounds ptr, ptr %159, i64 %163
  %165 = load ptr, ptr %164, align 8, !tbaa !14
  %166 = load i32, ptr %157, align 4, !tbaa !15
  %167 = and i32 %166, %161
  %168 = load i32, ptr %3, align 8, !tbaa !16
  %169 = mul nsw i32 %167, %168
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds i8, ptr %165, i64 %170
  %172 = load ptr, ptr %171, align 8, !tbaa !21
  call void @_ZN10tetgenmesh18tetrahedrondeallocEPPPd(ptr noundef nonnull align 8 dereferenceable(1536) %0, ptr noundef %172)
  %indvars.iv.next104 = add nuw nsw i64 %indvars.iv103, 1
  %173 = load i64, ptr %152, align 8, !tbaa !5
  %174 = icmp sgt i64 %173, %indvars.iv.next104
  br i1 %174, label %158, label %._crit_edge91, !llvm.loop !33

._crit_edge91:                                    ; preds = %158, %.preheader
  call void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  br label %.critedge

.critedge:                                        ; preds = %._crit_edge88, %._crit_edge91
  %.sink106 = phi ptr [ %2, %._crit_edge91 ], [ %1, %._crit_edge88 ]
  %.sink = phi ptr [ %3, %._crit_edge91 ], [ %2, %._crit_edge88 ]
  call void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48) %.sink106)
  call void @_ZN10tetgenmesh9arraypool7restartEv(ptr noundef nonnull align 8 dereferenceable(48) %.sink)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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, !11, i64 32}
!6 = !{!"_ZTSN10tetgenmesh9arraypoolE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !11, i64 32, !11, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!6, !7, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !7, i64 8}
!18 = !{!"_ZTSN10tetgenmesh7trifaceE", !10, i64 0, !7, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!18, !10, i64 0}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = !{!25, !10, i64 0}
!25 = !{!"_ZTSN10tetgenmesh4faceE", !10, i64 0, !7, i64 8}
!26 = !{!7, !7, i64 0}
!27 = distinct !{!27, !20}
!28 = !{!29, !10, i64 48}
!29 = !{!"_ZTS10tetgenmesh", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !18, i64 288, !25, i64 304, !10, i64 320, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !11, i64 408, !11, i64 416, !30, i64 424, !30, i64 432, !30, i64 440, !30, i64 448, !30, i64 456, !30, i64 464, !30, i64 472, !30, i64 480, !30, i64 488, !30, i64 496, !30, i64 504, !30, i64 512, !30, i64 520, !30, i64 528, !30, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !11, i64 640, !11, i64 648, !11, i64 656, !11, i64 664, !11, i64 672, !11, i64 680, !11, i64 688, !11, i64 696, !11, i64 704, !11, i64 712, !11, i64 720, !11, i64 728, !8, i64 736, !8, i64 1504}
!30 = !{!"double", !8, i64 0}
!31 = distinct !{!31, !20}
!32 = distinct !{!32, !20}
!33 = distinct !{!33, !20}


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