; LLVM IR from robotics-upo/Heuristic_path_planners :: include/voro++-0.4.6/src/cell.ll (ZN4voro16voronoicell_base20init_octahedron_baseEd)

; 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.voro::voronoicell_base" = type { ptr, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, double, double, double, double }

; 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
define dso_local void @_ZN4voro16voronoicell_base20init_octahedron_baseEd(ptr noundef nonnull align 8 dereferenceable(160) %0, double noundef %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  %7 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  store i32 0, ptr %5, align 4, !tbaa !11
  br label %8

8:                                                ; preds = %20, %2
  %9 = load i32, ptr %5, align 4, !tbaa !11
  %10 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 2
  %11 = load i32, ptr %10, align 4, !tbaa !13
  %12 = icmp slt i32 %9, %11
  br i1 %12, label %14, label %13

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

14:                                               ; preds = %8
  %15 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 11
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %17 = load i32, ptr %5, align 4, !tbaa !11
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds i32, ptr %16, i64 %18
  store i32 0, ptr %19, align 4, !tbaa !11
  br label %20

20:                                               ; preds = %14
  %21 = load i32, ptr %5, align 4, !tbaa !11
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %5, align 4, !tbaa !11
  br label %8, !llvm.loop !16

23:                                               ; preds = %13
  %24 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 6
  store i32 0, ptr %24, align 4, !tbaa !18
  %25 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 5
  store i32 6, ptr %25, align 8, !tbaa !19
  %26 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 11
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = getelementptr inbounds i32, ptr %27, i64 4
  store i32 6, ptr %28, align 4, !tbaa !11
  %29 = load double, ptr %4, align 8, !tbaa !9
  %30 = fmul double %29, 2.000000e+00
  store double %30, ptr %4, align 8, !tbaa !9
  %31 = load double, ptr %4, align 8, !tbaa !9
  %32 = fneg double %31
  %33 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %34 = load ptr, ptr %33, align 8, !tbaa !20
  store double %32, ptr %34, align 8, !tbaa !9
  %35 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %36 = load ptr, ptr %35, align 8, !tbaa !20
  %37 = getelementptr inbounds double, ptr %36, i64 1
  store double 0.000000e+00, ptr %37, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %39 = load ptr, ptr %38, align 8, !tbaa !20
  %40 = getelementptr inbounds double, ptr %39, i64 2
  store double 0.000000e+00, ptr %40, align 8, !tbaa !9
  %41 = load double, ptr %4, align 8, !tbaa !9
  %42 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %43 = load ptr, ptr %42, align 8, !tbaa !20
  %44 = getelementptr inbounds double, ptr %43, i64 3
  store double %41, ptr %44, align 8, !tbaa !9
  %45 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %46 = load ptr, ptr %45, align 8, !tbaa !20
  %47 = getelementptr inbounds double, ptr %46, i64 4
  store double 0.000000e+00, ptr %47, align 8, !tbaa !9
  %48 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %49 = load ptr, ptr %48, align 8, !tbaa !20
  %50 = getelementptr inbounds double, ptr %49, i64 5
  store double 0.000000e+00, ptr %50, align 8, !tbaa !9
  %51 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %52 = load ptr, ptr %51, align 8, !tbaa !20
  %53 = getelementptr inbounds double, ptr %52, i64 6
  store double 0.000000e+00, ptr %53, align 8, !tbaa !9
  %54 = load double, ptr %4, align 8, !tbaa !9
  %55 = fneg double %54
  %56 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %57 = load ptr, ptr %56, align 8, !tbaa !20
  %58 = getelementptr inbounds double, ptr %57, i64 7
  store double %55, ptr %58, align 8, !tbaa !9
  %59 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %60 = load ptr, ptr %59, align 8, !tbaa !20
  %61 = getelementptr inbounds double, ptr %60, i64 8
  store double 0.000000e+00, ptr %61, align 8, !tbaa !9
  %62 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %63 = load ptr, ptr %62, align 8, !tbaa !20
  %64 = getelementptr inbounds double, ptr %63, i64 9
  store double 0.000000e+00, ptr %64, align 8, !tbaa !9
  %65 = load double, ptr %4, align 8, !tbaa !9
  %66 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %67 = load ptr, ptr %66, align 8, !tbaa !20
  %68 = getelementptr inbounds double, ptr %67, i64 10
  store double %65, ptr %68, align 8, !tbaa !9
  %69 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %70 = load ptr, ptr %69, align 8, !tbaa !20
  %71 = getelementptr inbounds double, ptr %70, i64 11
  store double 0.000000e+00, ptr %71, align 8, !tbaa !9
  %72 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %73 = load ptr, ptr %72, align 8, !tbaa !20
  %74 = getelementptr inbounds double, ptr %73, i64 12
  store double 0.000000e+00, ptr %74, align 8, !tbaa !9
  %75 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %76 = load ptr, ptr %75, align 8, !tbaa !20
  %77 = getelementptr inbounds double, ptr %76, i64 13
  store double 0.000000e+00, ptr %77, align 8, !tbaa !9
  %78 = load double, ptr %4, align 8, !tbaa !9
  %79 = fneg double %78
  %80 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %81 = load ptr, ptr %80, align 8, !tbaa !20
  %82 = getelementptr inbounds double, ptr %81, i64 14
  store double %79, ptr %82, align 8, !tbaa !9
  %83 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %84 = load ptr, ptr %83, align 8, !tbaa !20
  %85 = getelementptr inbounds double, ptr %84, i64 15
  store double 0.000000e+00, ptr %85, align 8, !tbaa !9
  %86 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %87 = load ptr, ptr %86, align 8, !tbaa !20
  %88 = getelementptr inbounds double, ptr %87, i64 16
  store double 0.000000e+00, ptr %88, align 8, !tbaa !9
  %89 = load double, ptr %4, align 8, !tbaa !9
  %90 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 9
  %91 = load ptr, ptr %90, align 8, !tbaa !20
  %92 = getelementptr inbounds double, ptr %91, i64 17
  store double %89, ptr %92, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #2
  %93 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 12
  %94 = load ptr, ptr %93, align 8, !tbaa !21
  %95 = getelementptr inbounds ptr, ptr %94, i64 4
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  store ptr %96, ptr %6, align 8, !tbaa !5
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 2, ptr %97, align 4, !tbaa !11
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds i32, ptr %98, i64 1
  store i32 5, ptr %99, align 4, !tbaa !11
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds i32, ptr %100, i64 2
  store i32 3, ptr %101, align 4, !tbaa !11
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds i32, ptr %102, i64 3
  store i32 4, ptr %103, align 4, !tbaa !11
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds i32, ptr %104, i64 4
  store i32 0, ptr %105, align 4, !tbaa !11
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds i32, ptr %106, i64 5
  store i32 0, ptr %107, align 4, !tbaa !11
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds i32, ptr %108, i64 6
  store i32 0, ptr %109, align 4, !tbaa !11
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds i32, ptr %110, i64 7
  store i32 0, ptr %111, align 4, !tbaa !11
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds i32, ptr %112, i64 8
  store i32 0, ptr %113, align 4, !tbaa !11
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds i32, ptr %114, i64 9
  store i32 2, ptr %115, align 4, !tbaa !11
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds i32, ptr %116, i64 10
  store i32 4, ptr %117, align 4, !tbaa !11
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds i32, ptr %118, i64 11
  store i32 3, ptr %119, align 4, !tbaa !11
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds i32, ptr %120, i64 12
  store i32 5, ptr %121, align 4, !tbaa !11
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds i32, ptr %122, i64 13
  store i32 2, ptr %123, align 4, !tbaa !11
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds i32, ptr %124, i64 14
  store i32 2, ptr %125, align 4, !tbaa !11
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds i32, ptr %126, i64 15
  store i32 2, ptr %127, align 4, !tbaa !11
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds i32, ptr %128, i64 16
  store i32 2, ptr %129, align 4, !tbaa !11
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds i32, ptr %130, i64 17
  store i32 1, ptr %131, align 4, !tbaa !11
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds i32, ptr %132, i64 18
  store i32 0, ptr %133, align 4, !tbaa !11
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds i32, ptr %134, i64 19
  store i32 4, ptr %135, align 4, !tbaa !11
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds i32, ptr %136, i64 20
  store i32 1, ptr %137, align 4, !tbaa !11
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds i32, ptr %138, i64 21
  store i32 5, ptr %139, align 4, !tbaa !11
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds i32, ptr %140, i64 22
  store i32 0, ptr %141, align 4, !tbaa !11
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds i32, ptr %142, i64 23
  store i32 3, ptr %143, align 4, !tbaa !11
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds i32, ptr %144, i64 24
  store i32 0, ptr %145, align 4, !tbaa !11
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds i32, ptr %146, i64 25
  store i32 1, ptr %147, align 4, !tbaa !11
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds i32, ptr %148, i64 26
  store i32 2, ptr %149, align 4, !tbaa !11
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds i32, ptr %150, i64 27
  store i32 0, ptr %151, align 4, !tbaa !11
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = getelementptr inbounds i32, ptr %152, i64 28
  store i32 5, ptr %153, align 4, !tbaa !11
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds i32, ptr %154, i64 29
  store i32 1, ptr %155, align 4, !tbaa !11
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds i32, ptr %156, i64 30
  store i32 4, ptr %157, align 4, !tbaa !11
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds i32, ptr %158, i64 31
  store i32 2, ptr %159, align 4, !tbaa !11
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = getelementptr inbounds i32, ptr %160, i64 32
  store i32 3, ptr %161, align 4, !tbaa !11
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = getelementptr inbounds i32, ptr %162, i64 33
  store i32 2, ptr %163, align 4, !tbaa !11
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = getelementptr inbounds i32, ptr %164, i64 34
  store i32 1, ptr %165, align 4, !tbaa !11
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = getelementptr inbounds i32, ptr %166, i64 35
  store i32 3, ptr %167, align 4, !tbaa !11
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds i32, ptr %168, i64 36
  store i32 0, ptr %169, align 4, !tbaa !11
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds i32, ptr %170, i64 37
  store i32 3, ptr %171, align 4, !tbaa !11
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds i32, ptr %172, i64 38
  store i32 1, ptr %173, align 4, !tbaa !11
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds i32, ptr %174, i64 39
  store i32 2, ptr %175, align 4, !tbaa !11
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = getelementptr inbounds i32, ptr %176, i64 40
  store i32 3, ptr %177, align 4, !tbaa !11
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = getelementptr inbounds i32, ptr %178, i64 41
  store i32 3, ptr %179, align 4, !tbaa !11
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = getelementptr inbounds i32, ptr %180, i64 42
  store i32 1, ptr %181, align 4, !tbaa !11
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds i32, ptr %182, i64 43
  store i32 1, ptr %183, align 4, !tbaa !11
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds i32, ptr %184, i64 44
  store i32 4, ptr %185, align 4, !tbaa !11
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds i32, ptr %186, i64 45
  store i32 0, ptr %187, align 4, !tbaa !11
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = getelementptr inbounds i32, ptr %188, i64 46
  store i32 2, ptr %189, align 4, !tbaa !11
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = getelementptr inbounds i32, ptr %190, i64 47
  store i32 1, ptr %191, align 4, !tbaa !11
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = getelementptr inbounds i32, ptr %192, i64 48
  store i32 3, ptr %193, align 4, !tbaa !11
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = getelementptr inbounds i32, ptr %194, i64 49
  store i32 1, ptr %195, align 4, !tbaa !11
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds i32, ptr %196, i64 50
  store i32 3, ptr %197, align 4, !tbaa !11
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds i32, ptr %198, i64 51
  store i32 3, ptr %199, align 4, !tbaa !11
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds i32, ptr %200, i64 52
  store i32 1, ptr %201, align 4, !tbaa !11
  %202 = load ptr, ptr %6, align 8, !tbaa !5
  %203 = getelementptr inbounds i32, ptr %202, i64 53
  store i32 5, ptr %203, align 4, !tbaa !11
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 7
  %206 = load ptr, ptr %205, align 8, !tbaa !22
  store ptr %204, ptr %206, align 8, !tbaa !5
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds i32, ptr %207, i64 9
  %209 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 7
  %210 = load ptr, ptr %209, align 8, !tbaa !22
  %211 = getelementptr inbounds ptr, ptr %210, i64 1
  store ptr %208, ptr %211, align 8, !tbaa !5
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds i32, ptr %212, i64 18
  %214 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 7
  %215 = load ptr, ptr %214, align 8, !tbaa !22
  %216 = getelementptr inbounds ptr, ptr %215, i64 2
  store ptr %213, ptr %216, align 8, !tbaa !5
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds i32, ptr %217, i64 27
  %219 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 7
  %220 = load ptr, ptr %219, align 8, !tbaa !22
  %221 = getelementptr inbounds ptr, ptr %220, i64 3
  store ptr %218, ptr %221, align 8, !tbaa !5
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = getelementptr inbounds i32, ptr %222, i64 36
  %224 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 7
  %225 = load ptr, ptr %224, align 8, !tbaa !22
  %226 = getelementptr inbounds ptr, ptr %225, i64 4
  store ptr %223, ptr %226, align 8, !tbaa !5
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds i32, ptr %227, i64 45
  %229 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 7
  %230 = load ptr, ptr %229, align 8, !tbaa !22
  %231 = getelementptr inbounds ptr, ptr %230, i64 5
  store ptr %228, ptr %231, align 8, !tbaa !5
  %232 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 8
  %233 = load ptr, ptr %232, align 8, !tbaa !23
  %234 = getelementptr inbounds i32, ptr %233, i64 5
  store i32 4, ptr %234, align 4, !tbaa !11
  %235 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 8
  %236 = load ptr, ptr %235, align 8, !tbaa !23
  %237 = getelementptr inbounds i32, ptr %236, i64 4
  store i32 4, ptr %237, align 4, !tbaa !11
  %238 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 8
  %239 = load ptr, ptr %238, align 8, !tbaa !23
  %240 = getelementptr inbounds i32, ptr %239, i64 3
  store i32 4, ptr %240, align 4, !tbaa !11
  %241 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 8
  %242 = load ptr, ptr %241, align 8, !tbaa !23
  %243 = getelementptr inbounds i32, ptr %242, i64 2
  store i32 4, ptr %243, align 4, !tbaa !11
  %244 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 8
  %245 = load ptr, ptr %244, align 8, !tbaa !23
  %246 = getelementptr inbounds i32, ptr %245, i64 1
  store i32 4, ptr %246, align 4, !tbaa !11
  %247 = getelementptr inbounds %"class.voro::voronoicell_base", ptr %7, i32 0, i32 8
  %248 = load ptr, ptr %247, align 8, !tbaa !23
  store i32 4, ptr %248, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #2
  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 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 12}
!14 = !{!"_ZTSN4voro16voronoicell_baseE", !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !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, !12, i64 112, !12, i64 116, !6, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152}
!15 = !{!14, !6, i64 64}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!14, !12, i64 28}
!19 = !{!14, !12, i64 24}
!20 = !{!14, !6, i64 48}
!21 = !{!14, !6, i64 72}
!22 = !{!14, !6, i64 32}
!23 = !{!14, !6, i64 40}


; 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"

; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @_ZN4voro16voronoicell_base20init_octahedron_baseEd(ptr nocapture noundef nonnull align 8 dereferenceable(160) %0, double noundef %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 12
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = icmp sgt i32 %4, 0
  %6 = getelementptr inbounds i8, ptr %0, i64 64
  %7 = load ptr, ptr %6, align 8, !tbaa !12
  br i1 %5, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %2
  %8 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 0, ptr %8, align 4, !tbaa !13
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 6, ptr %9, align 8, !tbaa !14
  %10 = getelementptr inbounds i8, ptr %7, i64 16
  store i32 6, ptr %10, align 4, !tbaa !15
  %11 = fmul double %1, 2.000000e+00
  %12 = fneg double %11
  %13 = getelementptr inbounds i8, ptr %0, i64 48
  %14 = load ptr, ptr %13, align 8, !tbaa !16
  store double %12, ptr %14, align 8, !tbaa !17
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  %16 = getelementptr inbounds i8, ptr %14, i64 24
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, i8 0, i64 16, i1 false)
  store double %11, ptr %16, align 8, !tbaa !17
  %17 = getelementptr inbounds i8, ptr %14, i64 32
  %18 = getelementptr inbounds i8, ptr %14, i64 56
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %17, i8 0, i64 24, i1 false)
  store double %12, ptr %18, align 8, !tbaa !17
  %19 = getelementptr inbounds i8, ptr %14, i64 64
  %20 = getelementptr inbounds i8, ptr %14, i64 80
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false)
  store double %11, ptr %20, align 8, !tbaa !17
  %21 = getelementptr inbounds i8, ptr %14, i64 88
  %22 = getelementptr inbounds i8, ptr %14, i64 112
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %21, i8 0, i64 24, i1 false)
  store double %12, ptr %22, align 8, !tbaa !17
  %23 = getelementptr inbounds i8, ptr %14, i64 120
  %24 = getelementptr inbounds i8, ptr %14, i64 136
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false)
  store double %11, ptr %24, align 8, !tbaa !17
  %25 = getelementptr inbounds i8, ptr %0, i64 72
  %26 = load ptr, ptr %25, align 8, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %26, i64 32
  %28 = load ptr, ptr %27, align 8, !tbaa !19
  store <4 x i32> <i32 2, i32 5, i32 3, i32 4>, ptr %28, align 4, !tbaa !15
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  %30 = getelementptr inbounds i8, ptr %28, i64 36
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %29, i8 0, i64 20, i1 false)
  store <4 x i32> <i32 2, i32 4, i32 3, i32 5>, ptr %30, align 4, !tbaa !15
  %31 = getelementptr inbounds i8, ptr %28, i64 52
  store <4 x i32> <i32 2, i32 2, i32 2, i32 2>, ptr %31, align 4, !tbaa !15
  %32 = getelementptr inbounds i8, ptr %28, i64 68
  %33 = getelementptr inbounds i8, ptr %28, i64 72
  store <4 x i32> <i32 1, i32 0, i32 4, i32 1>, ptr %32, align 4, !tbaa !15
  %34 = getelementptr inbounds i8, ptr %28, i64 84
  store <4 x i32> <i32 5, i32 0, i32 3, i32 0>, ptr %34, align 4, !tbaa !15
  %35 = getelementptr inbounds i8, ptr %28, i64 100
  %36 = getelementptr inbounds i8, ptr %28, i64 108
  store <4 x i32> <i32 1, i32 2, i32 0, i32 5>, ptr %35, align 4, !tbaa !15
  %37 = getelementptr inbounds i8, ptr %28, i64 116
  store <4 x i32> <i32 1, i32 4, i32 2, i32 3>, ptr %37, align 4, !tbaa !15
  %38 = getelementptr inbounds i8, ptr %28, i64 132
  %39 = getelementptr inbounds i8, ptr %28, i64 144
  store <4 x i32> <i32 2, i32 1, i32 3, i32 0>, ptr %38, align 4, !tbaa !15
  %40 = getelementptr inbounds i8, ptr %28, i64 148
  store <4 x i32> <i32 3, i32 1, i32 2, i32 3>, ptr %40, align 4, !tbaa !15
  %41 = getelementptr inbounds i8, ptr %28, i64 164
  store <4 x i32> <i32 3, i32 1, i32 1, i32 4>, ptr %41, align 4, !tbaa !15
  %42 = getelementptr inbounds i8, ptr %28, i64 180
  store <4 x i32> <i32 0, i32 2, i32 1, i32 3>, ptr %42, align 4, !tbaa !15
  %43 = getelementptr inbounds i8, ptr %28, i64 196
  store <4 x i32> <i32 1, i32 3, i32 3, i32 1>, ptr %43, align 4, !tbaa !15
  %44 = getelementptr inbounds i8, ptr %28, i64 212
  store i32 5, ptr %44, align 4, !tbaa !15
  %45 = getelementptr inbounds i8, ptr %0, i64 32
  %46 = load ptr, ptr %45, align 8, !tbaa !20
  store ptr %28, ptr %46, align 8, !tbaa !19
  %47 = load ptr, ptr %45, align 8, !tbaa !20
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  store ptr %30, ptr %48, align 8, !tbaa !19
  %49 = load ptr, ptr %45, align 8, !tbaa !20
  %50 = getelementptr inbounds i8, ptr %49, i64 16
  store ptr %33, ptr %50, align 8, !tbaa !19
  %51 = load ptr, ptr %45, align 8, !tbaa !20
  %52 = getelementptr inbounds i8, ptr %51, i64 24
  store ptr %36, ptr %52, align 8, !tbaa !19
  %53 = load ptr, ptr %45, align 8, !tbaa !20
  %54 = getelementptr inbounds i8, ptr %53, i64 32
  store ptr %39, ptr %54, align 8, !tbaa !19
  %55 = load ptr, ptr %45, align 8, !tbaa !20
  %56 = getelementptr inbounds i8, ptr %55, i64 40
  store ptr %42, ptr %56, align 8, !tbaa !19
  %57 = getelementptr inbounds i8, ptr %0, i64 40
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = getelementptr inbounds i8, ptr %58, i64 20
  store i32 4, ptr %59, align 4, !tbaa !15
  %60 = getelementptr inbounds i8, ptr %58, i64 16
  store i32 4, ptr %60, align 4, !tbaa !15
  store <4 x i32> <i32 4, i32 4, i32 4, i32 4>, ptr %58, align 4, !tbaa !15
  ret void

.lr.ph:                                           ; preds = %2, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %2 ]
  %61 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv
  store i32 0, ptr %61, align 4, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %62 = load i32, ptr %3, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = icmp slt i64 %indvars.iv.next, %63
  br i1 %64, label %.lr.ph, label %._crit_edge, !llvm.loop !22
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) 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 nounwind willreturn memory(argmem: write) }

!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, !7, i64 12}
!6 = !{!"_ZTSN4voro16voronoicell_baseE", !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !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, !7, i64 112, !7, i64 116, !10, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!6, !10, i64 64}
!13 = !{!6, !7, i64 28}
!14 = !{!6, !7, i64 24}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !10, i64 48}
!17 = !{!11, !11, i64 0}
!18 = !{!6, !10, i64 72}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !10, i64 32}
!21 = !{!6, !10, i64 40}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass