; LLVM IR from simbody/simbody :: SimTKmath/Optimizers/src/IpOpt (IpTNLPAdapter)

; 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.SimTKIpopt::TNLPAdapter" = type { %"class.SimTKIpopt::NLP.base", %"class.SimTKIpopt::SmartPtr.6", %"class.SimTKIpopt::SmartPtr.7", double, double, i32, i32, double, double, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr.8", ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, %"class.SimTKIpopt::SmartPtr.9", %"class.SimTKIpopt::SmartPtr.10", %"class.SimTKIpopt::SmartPtr.9", %"class.SimTKIpopt::SmartPtr.10", %"class.SimTKIpopt::SmartPtr.9", %"class.SimTKIpopt::SmartPtr.10", %"class.SimTKIpopt::SmartPtr.10", %"class.SimTKIpopt::SmartPtr.9", %"class.SimTKIpopt::SmartPtr.10", %"class.SimTKIpopt::SmartPtr.9", ptr, ptr, ptr }
%"class.SimTKIpopt::NLP.base" = type { %"class.SimTKIpopt::ReferencedObject.base" }
%"class.SimTKIpopt::ReferencedObject.base" = type <{ ptr, i32 }>
%"class.SimTKIpopt::SmartPtr.6" = type { ptr }
%"class.SimTKIpopt::SmartPtr.7" = type { ptr }
%"class.SimTKIpopt::SmartPtr" = type { ptr }
%"class.SimTKIpopt::SmartPtr.5" = type { ptr }
%"class.SimTKIpopt::SmartPtr.8" = type { ptr }
%"class.SimTKIpopt::SmartPtr.10" = type { ptr }
%"class.SimTKIpopt::SmartPtr.9" = type { ptr }

@_ZTIN10SimTKIpopt9SymMatrixE = external constant ptr
@_ZTIN10SimTKIpopt10SymTMatrixE = external constant ptr

; 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: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #3

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter14update_local_xERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 8 dereferenceable(205)) #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter6Eval_hERKNS_6VectorEdS3_S3_RNS_9SymMatrixE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull align 8 dereferenceable(205) %1, double noundef %2, ptr noundef nonnull align 8 dereferenceable(205) %3, ptr noundef nonnull align 8 dereferenceable(205) %4, ptr noundef nonnull align 8 dereferenceable(80) %5) unnamed_addr #6 align 2 {
  %7 = alloca i1, align 1
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store double %2, ptr %10, align 8, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  %24 = load ptr, ptr %8, align 8
  %25 = load double, ptr %10, align 8, !tbaa !9
  %26 = fcmp oeq double %25, 0.000000e+00
  br i1 %26, label %27, label %60

27:                                               ; preds = %6
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %28)
  %30 = fcmp oeq double %29, 0.000000e+00
  br i1 %30, label %31, label %60

31:                                               ; preds = %27
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  %33 = call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %32)
  %34 = fcmp oeq double %33, 0.000000e+00
  br i1 %34, label %35, label %60

35:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %36 = load ptr, ptr %13, align 8, !tbaa !5
  %37 = icmp eq ptr %36, null
  br i1 %37, label %40, label %38

38:                                               ; preds = %35
  %39 = call ptr @__dynamic_cast(ptr %36, ptr @_ZTIN10SimTKIpopt9SymMatrixE, ptr @_ZTIN10SimTKIpopt10SymTMatrixE, i64 0) #9
  br label %41

40:                                               ; preds = %35
  br label %41

41:                                               ; preds = %40, %38
  %42 = phi ptr [ %39, %38 ], [ null, %40 ]
  store ptr %42, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  %44 = call noundef ptr @_ZN10SimTKIpopt10SymTMatrix6ValuesEv(ptr noundef nonnull align 8 dereferenceable(97) %43)
  store ptr %44, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %45

45:                                               ; preds = %56, %41
  %46 = load i32, ptr %16, align 4, !tbaa !11
  %47 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 19
  %48 = load i32, ptr %47, align 4, !tbaa !13
  %49 = icmp slt i32 %46, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %59

51:                                               ; preds = %45
  %52 = load ptr, ptr %15, align 8, !tbaa !5
  %53 = load i32, ptr %16, align 4, !tbaa !11
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds double, ptr %52, i64 %54
  store double 0.000000e+00, ptr %55, align 8, !tbaa !9
  br label %56

56:                                               ; preds = %51
  %57 = load i32, ptr %16, align 4, !tbaa !11
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %16, align 4, !tbaa !11
  br label %45, !llvm.loop !29

59:                                               ; preds = %50
  store i1 true, ptr %7, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %171

60:                                               ; preds = %31, %27, %6
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #9
  store i8 0, ptr %17, align 1, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #9
  store i8 0, ptr %18, align 1, !tbaa !31
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = call noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter14update_local_xERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(400) %24, ptr noundef nonnull align 8 dereferenceable(205) %61)
  br i1 %62, label %63, label %64

63:                                               ; preds = %60
  store i8 1, ptr %18, align 1, !tbaa !31
  br label %64

64:                                               ; preds = %63, %60
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #9
  store i8 0, ptr %19, align 1, !tbaa !31
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = call noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter19update_local_lambdaERKNS_6VectorES3_(ptr noundef nonnull align 8 dereferenceable(400) %24, ptr noundef nonnull align 8 dereferenceable(205) %65, ptr noundef nonnull align 8 dereferenceable(205) %66)
  br i1 %67, label %68, label %69

68:                                               ; preds = %64
  store i8 1, ptr %19, align 1, !tbaa !31
  br label %69

69:                                               ; preds = %68, %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = icmp eq ptr %70, null
  br i1 %71, label %74, label %72

72:                                               ; preds = %69
  %73 = call ptr @__dynamic_cast(ptr %70, ptr @_ZTIN10SimTKIpopt9SymMatrixE, ptr @_ZTIN10SimTKIpopt10SymTMatrixE, i64 0) #9
  br label %75

74:                                               ; preds = %69
  br label %75

75:                                               ; preds = %74, %72
  %76 = phi ptr [ %73, %72 ], [ null, %74 ]
  store ptr %76, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %77 = load ptr, ptr %20, align 8, !tbaa !5
  %78 = call noundef ptr @_ZN10SimTKIpopt10SymTMatrix6ValuesEv(ptr noundef nonnull align 8 dereferenceable(97) %77)
  store ptr %78, ptr %21, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 57
  %80 = load ptr, ptr %79, align 8, !tbaa !32
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %144

82:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %83 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 18
  %84 = load i32, ptr %83, align 8, !tbaa !33
  %85 = sext i32 %84 to i64
  %86 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %85, i64 8)
  %87 = extractvalue { i64, i1 } %86, 1
  %88 = extractvalue { i64, i1 } %86, 0
  %89 = select i1 %87, i64 -1, i64 %88
  %90 = call noalias noundef nonnull ptr @_Znam(i64 noundef %89) #10
  store ptr %90, ptr %22, align 8, !tbaa !5
  %91 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 1
  %92 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_4TNLPEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %91)
  %93 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 12
  %94 = load i32, ptr %93, align 8, !tbaa !34
  %95 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 36
  %96 = load ptr, ptr %95, align 8, !tbaa !35
  %97 = load i8, ptr %18, align 1, !tbaa !31, !range !36, !noundef !37
  %98 = trunc i8 %97 to i1
  %99 = load double, ptr %10, align 8, !tbaa !9
  %100 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 13
  %101 = load i32, ptr %100, align 4, !tbaa !38
  %102 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 37
  %103 = load ptr, ptr %102, align 8, !tbaa !39
  %104 = load i8, ptr %19, align 1, !tbaa !31, !range !36, !noundef !37
  %105 = trunc i8 %104 to i1
  %106 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 18
  %107 = load i32, ptr %106, align 8, !tbaa !33
  %108 = load ptr, ptr %22, align 8, !tbaa !5
  %109 = load ptr, ptr %92, align 8, !tbaa !40
  %110 = getelementptr inbounds ptr, ptr %109, i64 11
  %111 = load ptr, ptr %110, align 8
  %112 = call noundef zeroext i1 %111(ptr noundef nonnull align 8 dereferenceable(12) %92, i32 noundef %94, ptr noundef %96, i1 noundef zeroext %98, double noundef %99, i32 noundef %101, ptr noundef %103, i1 noundef zeroext %105, i32 noundef %107, ptr noundef null, ptr noundef null, ptr noundef %108)
  br i1 %112, label %113, label %139

113:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 0, ptr %23, align 4, !tbaa !11
  br label %114

114:                                              ; preds = %135, %113
  %115 = load i32, ptr %23, align 4, !tbaa !11
  %116 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 19
  %117 = load i32, ptr %116, align 4, !tbaa !13
  %118 = icmp slt i32 %115, %117
  br i1 %118, label %120, label %119

119:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %138

120:                                              ; preds = %114
  %121 = load ptr, ptr %22, align 8, !tbaa !5
  %122 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 57
  %123 = load ptr, ptr %122, align 8, !tbaa !32
  %124 = load i32, ptr %23, align 4, !tbaa !11
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds i32, ptr %123, i64 %125
  %127 = load i32, ptr %126, align 4, !tbaa !11
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds double, ptr %121, i64 %128
  %130 = load double, ptr %129, align 8, !tbaa !9
  %131 = load ptr, ptr %21, align 8, !tbaa !5
  %132 = load i32, ptr %23, align 4, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %131, i64 %133
  store double %130, ptr %134, align 8, !tbaa !9
  br label %135

135:                                              ; preds = %120
  %136 = load i32, ptr %23, align 4, !tbaa !11
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %23, align 4, !tbaa !11
  br label %114, !llvm.loop !42

138:                                              ; preds = %119
  store i8 1, ptr %17, align 1, !tbaa !31
  br label %139

139:                                              ; preds = %138, %82
  %140 = load ptr, ptr %22, align 8, !tbaa !5
  %141 = icmp eq ptr %140, null
  br i1 %141, label %143, label %142

142:                                              ; preds = %139
  call void @_ZdaPv(ptr noundef %140) #11
  br label %143

143:                                              ; preds = %142, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %168

144:                                              ; preds = %75
  %145 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 1
  %146 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_4TNLPEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %145)
  %147 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 12
  %148 = load i32, ptr %147, align 8, !tbaa !34
  %149 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 36
  %150 = load ptr, ptr %149, align 8, !tbaa !35
  %151 = load i8, ptr %18, align 1, !tbaa !31, !range !36, !noundef !37
  %152 = trunc i8 %151 to i1
  %153 = load double, ptr %10, align 8, !tbaa !9
  %154 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 13
  %155 = load i32, ptr %154, align 4, !tbaa !38
  %156 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 37
  %157 = load ptr, ptr %156, align 8, !tbaa !39
  %158 = load i8, ptr %19, align 1, !tbaa !31, !range !36, !noundef !37
  %159 = trunc i8 %158 to i1
  %160 = getelementptr inbounds %"class.SimTKIpopt::TNLPAdapter", ptr %24, i32 0, i32 18
  %161 = load i32, ptr %160, align 8, !tbaa !33
  %162 = load ptr, ptr %21, align 8, !tbaa !5
  %163 = load ptr, ptr %146, align 8, !tbaa !40
  %164 = getelementptr inbounds ptr, ptr %163, i64 11
  %165 = load ptr, ptr %164, align 8
  %166 = call noundef zeroext i1 %165(ptr noundef nonnull align 8 dereferenceable(12) %146, i32 noundef %148, ptr noundef %150, i1 noundef zeroext %152, double noundef %153, i32 noundef %155, ptr noundef %157, i1 noundef zeroext %159, i32 noundef %161, ptr noundef null, ptr noundef null, ptr noundef %162)
  %167 = zext i1 %166 to i8
  store i8 %167, ptr %17, align 1, !tbaa !31
  br label %168

168:                                              ; preds = %144, %143
  %169 = load i8, ptr %17, align 1, !tbaa !31, !range !36, !noundef !37
  %170 = trunc i8 %169 to i1
  store i1 %170, ptr %7, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  br label %171

171:                                              ; preds = %168, %59
  %172 = load i1, ptr %7, align 1
  ret i1 %172
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205)) #7 align 2

declare noundef ptr @_ZN10SimTKIpopt10SymTMatrix6ValuesEv(ptr noundef nonnull align 8 dereferenceable(97)) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter19update_local_lambdaERKNS_6VectorES3_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) #6 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { nounwind willreturn memory(read) }
attributes #6 = { 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 #7 = { 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 #8 = { "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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 108}
!14 = !{!"_ZTSN10SimTKIpopt11TNLPAdapterE", !15, i64 0, !17, i64 16, !18, i64 24, !10, i64 32, !10, i64 40, !19, i64 48, !20, i64 52, !10, i64 56, !10, i64 64, !21, i64 72, !21, i64 73, !22, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !23, i64 116, !24, i64 120, !24, i64 128, !24, i64 136, !24, i64 144, !25, i64 152, !24, i64 160, !25, i64 168, !24, i64 176, !25, i64 184, !24, i64 192, !25, i64 200, !25, i64 208, !25, i64 216, !26, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !12, i64 288, !27, i64 296, !28, i64 304, !27, i64 312, !28, i64 320, !27, i64 328, !28, i64 336, !28, i64 344, !27, i64 352, !28, i64 360, !27, i64 368, !6, i64 376, !6, i64 384, !6, i64 392}
!15 = !{!"_ZTSN10SimTKIpopt3NLPE", !16, i64 0}
!16 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !12, i64 8}
!17 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_4TNLPEEE", !6, i64 0}
!18 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !6, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt11TNLPAdapter26FixedVariableTreatmentEnumE", !7, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt11TNLPAdapter18DerivativeTestEnumE", !7, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"_ZTSN10SimTKIpopt24HessianApproximationTypeE", !7, i64 0}
!23 = !{!"_ZTSN10SimTKIpopt4TNLP14IndexStyleEnumE", !7, i64 0}
!24 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEE", !6, i64 0}
!25 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEE", !6, i64 0}
!26 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEEE", !6, i64 0}
!27 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_15ExpansionMatrixEEE", !6, i64 0}
!28 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_20ExpansionMatrixSpaceEEE", !6, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!21, !21, i64 0}
!32 = !{!14, !6, i64 384}
!33 = !{!14, !12, i64 104}
!34 = !{!14, !12, i64 80}
!35 = !{!14, !6, i64 232}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!14, !12, i64 84}
!39 = !{!14, !6, i64 240}
!40 = !{!41, !41, i64 0}
!41 = !{!"vtable pointer", !8, i64 0}
!42 = distinct !{!42, !30}


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

@_ZTIN10SimTKIpopt9SymMatrixE = external constant ptr
@_ZTIN10SimTKIpopt10SymTMatrixE = external constant ptr

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter14update_local_xERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter6Eval_hERKNS_6VectorEdS3_S3_RNS_9SymMatrixE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull align 8 dereferenceable(205) %1, double noundef %2, ptr noundef nonnull align 8 dereferenceable(205) %3, ptr noundef nonnull align 8 dereferenceable(205) %4, ptr noundef nonnull align 8 dereferenceable(80) %5) unnamed_addr #4 align 2 {
  %7 = fcmp oeq double %2, 0.000000e+00
  br i1 %7, label %8, label %22

8:                                                ; preds = %6
  %9 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %3)
  %10 = fcmp oeq double %9, 0.000000e+00
  br i1 %10, label %11, label %22

11:                                               ; preds = %8
  %12 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %4)
  %13 = fcmp oeq double %12, 0.000000e+00
  br i1 %13, label %14, label %22

14:                                               ; preds = %11
  %15 = tail call ptr @__dynamic_cast(ptr nonnull %5, ptr nonnull @_ZTIN10SimTKIpopt9SymMatrixE, ptr nonnull @_ZTIN10SimTKIpopt10SymTMatrixE, i64 0) #8
  %16 = tail call noundef ptr @_ZN10SimTKIpopt10SymTMatrix6ValuesEv(ptr noundef nonnull align 8 dereferenceable(97) %15)
  %17 = getelementptr inbounds i8, ptr %0, i64 108
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph39.preheader, label %.loopexit

.lr.ph39.preheader:                               ; preds = %14
  %20 = zext nneg i32 %18 to i64
  %21 = shl nuw nsw i64 %20, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 %21, i1 false), !tbaa !26
  br label %.loopexit

22:                                               ; preds = %11, %8, %6
  %23 = tail call noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter14update_local_xERKNS_6VectorE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull align 8 dereferenceable(205) %1)
  %24 = tail call noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter19update_local_lambdaERKNS_6VectorES3_(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull align 8 dereferenceable(205) %3, ptr noundef nonnull align 8 dereferenceable(205) %4)
  %25 = tail call ptr @__dynamic_cast(ptr nonnull %5, ptr nonnull @_ZTIN10SimTKIpopt9SymMatrixE, ptr nonnull @_ZTIN10SimTKIpopt10SymTMatrixE, i64 0) #8
  %26 = tail call noundef ptr @_ZN10SimTKIpopt10SymTMatrix6ValuesEv(ptr noundef nonnull align 8 dereferenceable(97) %25)
  %27 = getelementptr inbounds i8, ptr %0, i64 384
  %28 = load ptr, ptr %27, align 8, !tbaa !27
  %.not = icmp eq ptr %28, null
  br i1 %.not, label %88, label %29

29:                                               ; preds = %22
  %30 = getelementptr inbounds i8, ptr %0, i64 104
  %31 = load i32, ptr %30, align 8, !tbaa !28
  %32 = sext i32 %31 to i64
  %33 = icmp slt i32 %31, 0
  %34 = shl nsw i64 %32, 3
  %35 = select i1 %33, i64 -1, i64 %34
  %36 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %35) #9
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  %38 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_4TNLPEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
  %39 = getelementptr inbounds i8, ptr %0, i64 80
  %40 = load i32, ptr %39, align 8, !tbaa !29
  %41 = getelementptr inbounds i8, ptr %0, i64 232
  %42 = load ptr, ptr %41, align 8, !tbaa !30
  %43 = getelementptr inbounds i8, ptr %0, i64 84
  %44 = load i32, ptr %43, align 4, !tbaa !31
  %45 = getelementptr inbounds i8, ptr %0, i64 240
  %46 = load ptr, ptr %45, align 8, !tbaa !32
  %47 = load i32, ptr %30, align 8, !tbaa !28
  %48 = load ptr, ptr %38, align 8, !tbaa !33
  %49 = getelementptr inbounds i8, ptr %48, i64 88
  %50 = load ptr, ptr %49, align 8
  %51 = tail call noundef zeroext i1 %50(ptr noundef nonnull align 8 dereferenceable(12) %38, i32 noundef %40, ptr noundef %42, i1 noundef zeroext %23, double noundef %2, i32 noundef %44, ptr noundef %46, i1 noundef zeroext %24, i32 noundef %47, ptr noundef null, ptr noundef null, ptr noundef nonnull %36)
  br i1 %51, label %.preheader, label %.loopexit36

.preheader:                                       ; preds = %29
  %52 = getelementptr inbounds i8, ptr %0, i64 108
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = icmp sgt i32 %53, 0
  br i1 %54, label %.lr.ph, label %.loopexit36

.lr.ph:                                           ; preds = %.preheader
  %55 = load ptr, ptr %27, align 8, !tbaa !27
  %wide.trip.count = zext nneg i32 %53 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %56 = icmp ult i32 %53, 4
  br i1 %56, label %.loopexit36.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %57

57:                                               ; preds = %57, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %57 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %57 ]
  %58 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv
  %59 = load i32, ptr %58, align 4, !tbaa !35
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds double, ptr %36, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !26
  %63 = getelementptr inbounds double, ptr %26, i64 %indvars.iv
  store double %62, ptr %63, align 8, !tbaa !26
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %64 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv.next
  %65 = load i32, ptr %64, align 4, !tbaa !35
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds double, ptr %36, i64 %66
  %68 = load double, ptr %67, align 8, !tbaa !26
  %69 = getelementptr inbounds double, ptr %26, i64 %indvars.iv.next
  store double %68, ptr %69, align 8, !tbaa !26
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %70 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv.next.1
  %71 = load i32, ptr %70, align 4, !tbaa !35
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds double, ptr %36, i64 %72
  %74 = load double, ptr %73, align 8, !tbaa !26
  %75 = getelementptr inbounds double, ptr %26, i64 %indvars.iv.next.1
  store double %74, ptr %75, align 8, !tbaa !26
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %76 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv.next.2
  %77 = load i32, ptr %76, align 4, !tbaa !35
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds double, ptr %36, i64 %78
  %80 = load double, ptr %79, align 8, !tbaa !26
  %81 = getelementptr inbounds double, ptr %26, i64 %indvars.iv.next.2
  store double %80, ptr %81, align 8, !tbaa !26
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.loopexit36.loopexit.unr-lcssa, label %57, !llvm.loop !36

.loopexit36.loopexit.unr-lcssa:                   ; preds = %57, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %57 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit36, label %.epil.preheader

.epil.preheader:                                  ; preds = %.loopexit36.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %.loopexit36.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.loopexit36.loopexit.unr-lcssa ]
  %82 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv.epil
  %83 = load i32, ptr %82, align 4, !tbaa !35
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds double, ptr %36, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !26
  %87 = getelementptr inbounds double, ptr %26, i64 %indvars.iv.epil
  store double %86, ptr %87, align 8, !tbaa !26
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.loopexit36, label %.epil.preheader, !llvm.loop !38

.loopexit36:                                      ; preds = %.loopexit36.loopexit.unr-lcssa, %.epil.preheader, %.preheader, %29
  tail call void @_ZdaPv(ptr noundef nonnull %36) #10
  br label %.loopexit

88:                                               ; preds = %22
  %89 = getelementptr inbounds i8, ptr %0, i64 16
  %90 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_4TNLPEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %89)
  %91 = getelementptr inbounds i8, ptr %0, i64 80
  %92 = load i32, ptr %91, align 8, !tbaa !29
  %93 = getelementptr inbounds i8, ptr %0, i64 232
  %94 = load ptr, ptr %93, align 8, !tbaa !30
  %95 = getelementptr inbounds i8, ptr %0, i64 84
  %96 = load i32, ptr %95, align 4, !tbaa !31
  %97 = getelementptr inbounds i8, ptr %0, i64 240
  %98 = load ptr, ptr %97, align 8, !tbaa !32
  %99 = getelementptr inbounds i8, ptr %0, i64 104
  %100 = load i32, ptr %99, align 8, !tbaa !28
  %101 = load ptr, ptr %90, align 8, !tbaa !33
  %102 = getelementptr inbounds i8, ptr %101, i64 88
  %103 = load ptr, ptr %102, align 8
  %104 = tail call noundef zeroext i1 %103(ptr noundef nonnull align 8 dereferenceable(12) %90, i32 noundef %92, ptr noundef %94, i1 noundef zeroext %23, double noundef %2, i32 noundef %96, ptr noundef %98, i1 noundef zeroext %24, i32 noundef %100, ptr noundef null, ptr noundef null, ptr noundef %26)
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph39.preheader, %14, %.loopexit36, %88
  %.031 = phi i1 [ %51, %.loopexit36 ], [ %104, %88 ], [ true, %14 ], [ true, %.lr.ph39.preheader ]
  ret i1 %.031
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #5 align 2

declare noundef ptr @_ZN10SimTKIpopt10SymTMatrix6ValuesEv(ptr noundef nonnull align 8 dereferenceable(97)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SimTKIpopt11TNLPAdapter19update_local_lambdaERKNS_6VectorES3_(ptr noundef nonnull align 8 dereferenceable(400), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #4 align 2

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

attributes #0 = { nobuiltin nounwind "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 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 = { 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 nofree nounwind willreturn memory(read) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="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 #6 = { "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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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, !9, i64 108}
!6 = !{!"_ZTSN10SimTKIpopt11TNLPAdapterE", !7, i64 0, !12, i64 16, !14, i64 24, !15, i64 32, !15, i64 40, !16, i64 48, !17, i64 52, !15, i64 56, !15, i64 64, !18, i64 72, !18, i64 73, !19, i64 76, !9, i64 80, !9, i64 84, !9, i64 88, !9, i64 92, !9, i64 96, !9, i64 100, !9, i64 104, !9, i64 108, !9, i64 112, !20, i64 116, !21, i64 120, !21, i64 128, !21, i64 136, !21, i64 144, !22, i64 152, !21, i64 160, !22, i64 168, !21, i64 176, !22, i64 184, !21, i64 192, !22, i64 200, !22, i64 208, !22, i64 216, !23, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !9, i64 272, !9, i64 276, !9, i64 280, !9, i64 284, !9, i64 288, !24, i64 296, !25, i64 304, !24, i64 312, !25, i64 320, !24, i64 328, !25, i64 336, !25, i64 344, !24, i64 352, !25, i64 360, !24, i64 368, !13, i64 376, !13, i64 384, !13, i64 392}
!7 = !{!"_ZTSN10SimTKIpopt3NLPE", !8, i64 0}
!8 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !9, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_4TNLPEEE", !13, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !13, i64 0}
!15 = !{!"double", !10, i64 0}
!16 = !{!"_ZTSN10SimTKIpopt11TNLPAdapter26FixedVariableTreatmentEnumE", !10, i64 0}
!17 = !{!"_ZTSN10SimTKIpopt11TNLPAdapter18DerivativeTestEnumE", !10, i64 0}
!18 = !{!"bool", !10, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt24HessianApproximationTypeE", !10, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt4TNLP14IndexStyleEnumE", !10, i64 0}
!21 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEE", !13, i64 0}
!22 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEE", !13, i64 0}
!23 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEEE", !13, i64 0}
!24 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_15ExpansionMatrixEEE", !13, i64 0}
!25 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_20ExpansionMatrixSpaceEEE", !13, i64 0}
!26 = !{!15, !15, i64 0}
!27 = !{!6, !13, i64 384}
!28 = !{!6, !9, i64 104}
!29 = !{!6, !9, i64 80}
!30 = !{!6, !13, i64 232}
!31 = !{!6, !9, i64 84}
!32 = !{!6, !13, i64 240}
!33 = !{!34, !34, i64 0}
!34 = !{!"vtable pointer", !11, i64 0}
!35 = !{!9, !9, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.unroll.disable"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass