; LLVM IR from Tencent-RoboticsX/jbdl :: src/jbdl/experimental/qpoases/src/QProblem.ll (ZN7qpOASES8QProblem5clearEv)

; 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.qpOASES::QProblem" = type { %"class.qpOASES::QProblemB", i32, ptr, ptr, ptr, %"class.qpOASES::Constraints", ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.qpOASES::QProblemB" = type { ptr, i32, ptr, ptr, ptr, ptr, %"class.qpOASES::Bounds", ptr, i32, ptr, ptr, double, i32, i32, i32, i32, double, i32, ptr, double, double, i32, [4 x i8], %"class.qpOASES::Options", %"class.qpOASES::Flipper", %"struct.qpOASES::TabularOutput" }
%"class.qpOASES::Bounds" = type { %"class.qpOASES::SubjectTo", %"class.qpOASES::Indexlist", %"class.qpOASES::Indexlist" }
%"class.qpOASES::SubjectTo" = type { ptr, i32, ptr, ptr, i32, i32 }
%"class.qpOASES::Indexlist" = type <{ ptr, ptr, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.qpOASES::Options" = type <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, i32, [4 x i8], double, i32, [4 x i8], double, i32, [4 x i8], double, double, double, double, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.qpOASES::Flipper" = type { i32, i32, %"class.qpOASES::Bounds", %"class.qpOASES::Constraints", ptr, ptr, ptr }
%"struct.qpOASES::TabularOutput" = type { i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.qpOASES::Constraints" = type { %"class.qpOASES::SubjectTo", %"class.qpOASES::Indexlist", %"class.qpOASES::Indexlist" }

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN7qpOASES8QProblem5clearEv(ptr noundef nonnull align 8 dereferenceable(1064) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load ptr, ptr %2, align 8
  %4 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 1
  %5 = load i32, ptr %4, align 8, !tbaa !9
  %6 = icmp eq i32 %5, 1
  br i1 %6, label %7, label %21

7:                                                ; preds = %1
  %8 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 2
  %9 = load ptr, ptr %8, align 8, !tbaa !26
  %10 = icmp ne ptr %9, null
  br i1 %10, label %11, label %21

11:                                               ; preds = %7
  %12 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 2
  %13 = load ptr, ptr %12, align 8, !tbaa !26
  %14 = icmp eq ptr %13, null
  br i1 %14, label %19, label %15

15:                                               ; preds = %11
  %16 = load ptr, ptr %13, align 8, !tbaa !27
  %17 = getelementptr inbounds ptr, ptr %16, i64 1
  %18 = load ptr, ptr %17, align 8
  call void %18(ptr noundef nonnull align 8 dereferenceable(12) %13) #2
  br label %19

19:                                               ; preds = %15, %11
  %20 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 2
  store ptr null, ptr %20, align 8, !tbaa !26
  br label %21

21:                                               ; preds = %19, %7, %1
  %22 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 3
  %23 = load ptr, ptr %22, align 8, !tbaa !29
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %32

25:                                               ; preds = %21
  %26 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 3
  %27 = load ptr, ptr %26, align 8, !tbaa !29
  %28 = icmp eq ptr %27, null
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  call void @_ZdaPv(ptr noundef %27) #3
  br label %30

30:                                               ; preds = %29, %25
  %31 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 3
  store ptr null, ptr %31, align 8, !tbaa !29
  br label %32

32:                                               ; preds = %30, %21
  %33 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 4
  %34 = load ptr, ptr %33, align 8, !tbaa !30
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %43

36:                                               ; preds = %32
  %37 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 4
  %38 = load ptr, ptr %37, align 8, !tbaa !30
  %39 = icmp eq ptr %38, null
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  call void @_ZdaPv(ptr noundef %38) #3
  br label %41

41:                                               ; preds = %40, %36
  %42 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 4
  store ptr null, ptr %42, align 8, !tbaa !30
  br label %43

43:                                               ; preds = %41, %32
  %44 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 6
  %45 = load ptr, ptr %44, align 8, !tbaa !31
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %54

47:                                               ; preds = %43
  %48 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 6
  %49 = load ptr, ptr %48, align 8, !tbaa !31
  %50 = icmp eq ptr %49, null
  br i1 %50, label %52, label %51

51:                                               ; preds = %47
  call void @_ZdaPv(ptr noundef %49) #3
  br label %52

52:                                               ; preds = %51, %47
  %53 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 6
  store ptr null, ptr %53, align 8, !tbaa !31
  br label %54

54:                                               ; preds = %52, %43
  %55 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 7
  %56 = load ptr, ptr %55, align 8, !tbaa !32
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %65

58:                                               ; preds = %54
  %59 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 7
  %60 = load ptr, ptr %59, align 8, !tbaa !32
  %61 = icmp eq ptr %60, null
  br i1 %61, label %63, label %62

62:                                               ; preds = %58
  call void @_ZdaPv(ptr noundef %60) #3
  br label %63

63:                                               ; preds = %62, %58
  %64 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 7
  store ptr null, ptr %64, align 8, !tbaa !32
  br label %65

65:                                               ; preds = %63, %54
  %66 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 9
  %67 = load ptr, ptr %66, align 8, !tbaa !33
  %68 = icmp ne ptr %67, null
  br i1 %68, label %69, label %76

69:                                               ; preds = %65
  %70 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 9
  %71 = load ptr, ptr %70, align 8, !tbaa !33
  %72 = icmp eq ptr %71, null
  br i1 %72, label %74, label %73

73:                                               ; preds = %69
  call void @_ZdaPv(ptr noundef %71) #3
  br label %74

74:                                               ; preds = %73, %69
  %75 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 9
  store ptr null, ptr %75, align 8, !tbaa !33
  br label %76

76:                                               ; preds = %74, %65
  %77 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 10
  %78 = load ptr, ptr %77, align 8, !tbaa !34
  %79 = icmp ne ptr %78, null
  br i1 %79, label %80, label %87

80:                                               ; preds = %76
  %81 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 10
  %82 = load ptr, ptr %81, align 8, !tbaa !34
  %83 = icmp eq ptr %82, null
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  call void @_ZdaPv(ptr noundef %82) #3
  br label %85

85:                                               ; preds = %84, %80
  %86 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 10
  store ptr null, ptr %86, align 8, !tbaa !34
  br label %87

87:                                               ; preds = %85, %76
  %88 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 11
  %89 = load ptr, ptr %88, align 8, !tbaa !35
  %90 = icmp ne ptr %89, null
  br i1 %90, label %91, label %98

91:                                               ; preds = %87
  %92 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 11
  %93 = load ptr, ptr %92, align 8, !tbaa !35
  %94 = icmp eq ptr %93, null
  br i1 %94, label %96, label %95

95:                                               ; preds = %91
  call void @_ZdaPv(ptr noundef %93) #3
  br label %96

96:                                               ; preds = %95, %91
  %97 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 11
  store ptr null, ptr %97, align 8, !tbaa !35
  br label %98

98:                                               ; preds = %96, %87
  %99 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 13
  %100 = load ptr, ptr %99, align 8, !tbaa !36
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %109

102:                                              ; preds = %98
  %103 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 13
  %104 = load ptr, ptr %103, align 8, !tbaa !36
  %105 = icmp eq ptr %104, null
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  call void @_ZdaPv(ptr noundef %104) #3
  br label %107

107:                                              ; preds = %106, %102
  %108 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 13
  store ptr null, ptr %108, align 8, !tbaa !36
  br label %109

109:                                              ; preds = %107, %98
  %110 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 15
  %111 = load ptr, ptr %110, align 8, !tbaa !37
  %112 = icmp ne ptr %111, null
  br i1 %112, label %113, label %120

113:                                              ; preds = %109
  %114 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 15
  %115 = load ptr, ptr %114, align 8, !tbaa !37
  %116 = icmp eq ptr %115, null
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  call void @_ZdaPv(ptr noundef %115) #3
  br label %118

118:                                              ; preds = %117, %113
  %119 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 15
  store ptr null, ptr %119, align 8, !tbaa !37
  br label %120

120:                                              ; preds = %118, %109
  %121 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 16
  %122 = load ptr, ptr %121, align 8, !tbaa !38
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %131

124:                                              ; preds = %120
  %125 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 16
  %126 = load ptr, ptr %125, align 8, !tbaa !38
  %127 = icmp eq ptr %126, null
  br i1 %127, label %129, label %128

128:                                              ; preds = %124
  call void @_ZdaPv(ptr noundef %126) #3
  br label %129

129:                                              ; preds = %128, %124
  %130 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 16
  store ptr null, ptr %130, align 8, !tbaa !38
  br label %131

131:                                              ; preds = %129, %120
  %132 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 17
  %133 = load ptr, ptr %132, align 8, !tbaa !39
  %134 = icmp ne ptr %133, null
  br i1 %134, label %135, label %142

135:                                              ; preds = %131
  %136 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 17
  %137 = load ptr, ptr %136, align 8, !tbaa !39
  %138 = icmp eq ptr %137, null
  br i1 %138, label %140, label %139

139:                                              ; preds = %135
  call void @_ZdaPv(ptr noundef %137) #3
  br label %140

140:                                              ; preds = %139, %135
  %141 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 17
  store ptr null, ptr %141, align 8, !tbaa !39
  br label %142

142:                                              ; preds = %140, %131
  %143 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 14
  %144 = load ptr, ptr %143, align 8, !tbaa !40
  %145 = icmp ne ptr %144, null
  br i1 %145, label %146, label %153

146:                                              ; preds = %142
  %147 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 14
  %148 = load ptr, ptr %147, align 8, !tbaa !40
  %149 = icmp eq ptr %148, null
  br i1 %149, label %151, label %150

150:                                              ; preds = %146
  call void @_ZdaPv(ptr noundef %148) #3
  br label %151

151:                                              ; preds = %150, %146
  %152 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 14
  store ptr null, ptr %152, align 8, !tbaa !40
  br label %153

153:                                              ; preds = %151, %142
  %154 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 18
  %155 = load ptr, ptr %154, align 8, !tbaa !41
  %156 = icmp ne ptr %155, null
  br i1 %156, label %157, label %164

157:                                              ; preds = %153
  %158 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 18
  %159 = load ptr, ptr %158, align 8, !tbaa !41
  %160 = icmp eq ptr %159, null
  br i1 %160, label %162, label %161

161:                                              ; preds = %157
  call void @_ZdaPv(ptr noundef %159) #3
  br label %162

162:                                              ; preds = %161, %157
  %163 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 18
  store ptr null, ptr %163, align 8, !tbaa !41
  br label %164

164:                                              ; preds = %162, %153
  %165 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 19
  %166 = load ptr, ptr %165, align 8, !tbaa !42
  %167 = icmp ne ptr %166, null
  br i1 %167, label %168, label %175

168:                                              ; preds = %164
  %169 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 19
  %170 = load ptr, ptr %169, align 8, !tbaa !42
  %171 = icmp eq ptr %170, null
  br i1 %171, label %173, label %172

172:                                              ; preds = %168
  call void @_ZdaPv(ptr noundef %170) #3
  br label %173

173:                                              ; preds = %172, %168
  %174 = getelementptr inbounds %"class.qpOASES::QProblem", ptr %3, i32 0, i32 19
  store ptr null, ptr %174, align 8, !tbaa !42
  br label %175

175:                                              ; preds = %173, %164
  ret i32 0
}

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 = { nounwind }
attributes #3 = { 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, !12, i64 800}
!10 = !{!"_ZTSN7qpOASES8QProblemE", !11, i64 0, !12, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !24, i64 832, !6, i64 952, !6, i64 960, !15, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056}
!11 = !{!"_ZTSN7qpOASES9QProblemBE", !12, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !6, i64 168, !12, i64 176, !6, i64 184, !6, i64 192, !17, i64 200, !18, i64 208, !12, i64 212, !12, i64 216, !19, i64 220, !17, i64 224, !15, i64 232, !6, i64 240, !17, i64 248, !17, i64 256, !15, i64 264, !20, i64 272, !23, i64 496, !25, i64 768}
!12 = !{!"_ZTSN7qpOASES11BooleanTypeE", !7, i64 0}
!13 = !{!"_ZTSN7qpOASES6BoundsE", !14, i64 0, !16, i64 40, !16, i64 80}
!14 = !{!"_ZTSN7qpOASES9SubjectToE", !15, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !12, i64 36}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN7qpOASES9IndexlistE", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTSN7qpOASES14QProblemStatusE", !7, i64 0}
!19 = !{!"_ZTSN7qpOASES11HessianTypeE", !7, i64 0}
!20 = !{!"_ZTSN7qpOASES7OptionsE", !21, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !15, i64 28, !15, i64 32, !12, i64 36, !17, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !17, i64 120, !22, i64 128, !17, i64 136, !15, i64 144, !17, i64 152, !15, i64 160, !17, i64 168, !17, i64 176, !17, i64 184, !17, i64 192, !12, i64 200, !12, i64 204, !15, i64 208, !15, i64 212, !15, i64 216}
!21 = !{!"_ZTSN7qpOASES10PrintLevelE", !7, i64 0}
!22 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !7, i64 0}
!23 = !{!"_ZTSN7qpOASES7FlipperE", !15, i64 0, !15, i64 4, !13, i64 8, !24, i64 128, !6, i64 248, !6, i64 256, !6, i64 264}
!24 = !{!"_ZTSN7qpOASES11ConstraintsE", !14, i64 0, !16, i64 40, !16, i64 80}
!25 = !{!"_ZTSN7qpOASES13TabularOutputE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28}
!26 = !{!10, !6, i64 808}
!27 = !{!28, !28, i64 0}
!28 = !{!"vtable pointer", !8, i64 0}
!29 = !{!10, !6, i64 816}
!30 = !{!10, !6, i64 824}
!31 = !{!10, !6, i64 952}
!32 = !{!10, !6, i64 960}
!33 = !{!10, !6, i64 976}
!34 = !{!10, !6, i64 984}
!35 = !{!10, !6, i64 992}
!36 = !{!10, !6, i64 1008}
!37 = !{!10, !6, i64 1024}
!38 = !{!10, !6, i64 1032}
!39 = !{!10, !6, i64 1040}
!40 = !{!10, !6, i64 1016}
!41 = !{!10, !6, i64 1048}
!42 = !{!10, !6, i64 1056}


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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN7qpOASES8QProblem5clearEv(ptr nocapture noundef nonnull align 8 dereferenceable(1064) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 800
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = icmp eq i32 %3, 1
  br i1 %4, label %5, label %12

5:                                                ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 808
  %7 = load ptr, ptr %6, align 8, !tbaa !25
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %12, label %8

8:                                                ; preds = %5
  %9 = load ptr, ptr %7, align 8, !tbaa !26
  %10 = getelementptr inbounds i8, ptr %9, i64 8
  %11 = load ptr, ptr %10, align 8
  tail call void %11(ptr noundef nonnull align 8 dereferenceable(12) %7) #2
  store ptr null, ptr %6, align 8, !tbaa !25
  br label %12

12:                                               ; preds = %8, %5, %1
  %13 = getelementptr inbounds i8, ptr %0, i64 816
  %14 = load ptr, ptr %13, align 8, !tbaa !28
  %.not15 = icmp eq ptr %14, null
  br i1 %.not15, label %16, label %15

15:                                               ; preds = %12
  tail call void @_ZdaPv(ptr noundef nonnull %14) #3
  store ptr null, ptr %13, align 8, !tbaa !28
  br label %16

16:                                               ; preds = %15, %12
  %17 = getelementptr inbounds i8, ptr %0, i64 824
  %18 = load ptr, ptr %17, align 8, !tbaa !29
  %.not16 = icmp eq ptr %18, null
  br i1 %.not16, label %20, label %19

19:                                               ; preds = %16
  tail call void @_ZdaPv(ptr noundef nonnull %18) #3
  store ptr null, ptr %17, align 8, !tbaa !29
  br label %20

20:                                               ; preds = %19, %16
  %21 = getelementptr inbounds i8, ptr %0, i64 952
  %22 = load ptr, ptr %21, align 8, !tbaa !30
  %.not17 = icmp eq ptr %22, null
  br i1 %.not17, label %24, label %23

23:                                               ; preds = %20
  tail call void @_ZdaPv(ptr noundef nonnull %22) #3
  store ptr null, ptr %21, align 8, !tbaa !30
  br label %24

24:                                               ; preds = %23, %20
  %25 = getelementptr inbounds i8, ptr %0, i64 960
  %26 = load ptr, ptr %25, align 8, !tbaa !31
  %.not18 = icmp eq ptr %26, null
  br i1 %.not18, label %28, label %27

27:                                               ; preds = %24
  tail call void @_ZdaPv(ptr noundef nonnull %26) #3
  store ptr null, ptr %25, align 8, !tbaa !31
  br label %28

28:                                               ; preds = %27, %24
  %29 = getelementptr inbounds i8, ptr %0, i64 976
  %30 = load ptr, ptr %29, align 8, !tbaa !32
  %.not19 = icmp eq ptr %30, null
  br i1 %.not19, label %32, label %31

31:                                               ; preds = %28
  tail call void @_ZdaPv(ptr noundef nonnull %30) #3
  store ptr null, ptr %29, align 8, !tbaa !32
  br label %32

32:                                               ; preds = %31, %28
  %33 = getelementptr inbounds i8, ptr %0, i64 984
  %34 = load ptr, ptr %33, align 8, !tbaa !33
  %.not20 = icmp eq ptr %34, null
  br i1 %.not20, label %36, label %35

35:                                               ; preds = %32
  tail call void @_ZdaPv(ptr noundef nonnull %34) #3
  store ptr null, ptr %33, align 8, !tbaa !33
  br label %36

36:                                               ; preds = %35, %32
  %37 = getelementptr inbounds i8, ptr %0, i64 992
  %38 = load ptr, ptr %37, align 8, !tbaa !34
  %.not21 = icmp eq ptr %38, null
  br i1 %.not21, label %40, label %39

39:                                               ; preds = %36
  tail call void @_ZdaPv(ptr noundef nonnull %38) #3
  store ptr null, ptr %37, align 8, !tbaa !34
  br label %40

40:                                               ; preds = %39, %36
  %41 = getelementptr inbounds i8, ptr %0, i64 1008
  %42 = load ptr, ptr %41, align 8, !tbaa !35
  %.not22 = icmp eq ptr %42, null
  br i1 %.not22, label %44, label %43

43:                                               ; preds = %40
  tail call void @_ZdaPv(ptr noundef nonnull %42) #3
  store ptr null, ptr %41, align 8, !tbaa !35
  br label %44

44:                                               ; preds = %43, %40
  %45 = getelementptr inbounds i8, ptr %0, i64 1024
  %46 = load ptr, ptr %45, align 8, !tbaa !36
  %.not23 = icmp eq ptr %46, null
  br i1 %.not23, label %48, label %47

47:                                               ; preds = %44
  tail call void @_ZdaPv(ptr noundef nonnull %46) #3
  store ptr null, ptr %45, align 8, !tbaa !36
  br label %48

48:                                               ; preds = %47, %44
  %49 = getelementptr inbounds i8, ptr %0, i64 1032
  %50 = load ptr, ptr %49, align 8, !tbaa !37
  %.not24 = icmp eq ptr %50, null
  br i1 %.not24, label %52, label %51

51:                                               ; preds = %48
  tail call void @_ZdaPv(ptr noundef nonnull %50) #3
  store ptr null, ptr %49, align 8, !tbaa !37
  br label %52

52:                                               ; preds = %51, %48
  %53 = getelementptr inbounds i8, ptr %0, i64 1040
  %54 = load ptr, ptr %53, align 8, !tbaa !38
  %.not25 = icmp eq ptr %54, null
  br i1 %.not25, label %56, label %55

55:                                               ; preds = %52
  tail call void @_ZdaPv(ptr noundef nonnull %54) #3
  store ptr null, ptr %53, align 8, !tbaa !38
  br label %56

56:                                               ; preds = %55, %52
  %57 = getelementptr inbounds i8, ptr %0, i64 1016
  %58 = load ptr, ptr %57, align 8, !tbaa !39
  %.not26 = icmp eq ptr %58, null
  br i1 %.not26, label %60, label %59

59:                                               ; preds = %56
  tail call void @_ZdaPv(ptr noundef nonnull %58) #3
  store ptr null, ptr %57, align 8, !tbaa !39
  br label %60

60:                                               ; preds = %59, %56
  %61 = getelementptr inbounds i8, ptr %0, i64 1048
  %62 = load ptr, ptr %61, align 8, !tbaa !40
  %.not27 = icmp eq ptr %62, null
  br i1 %.not27, label %64, label %63

63:                                               ; preds = %60
  tail call void @_ZdaPv(ptr noundef nonnull %62) #3
  store ptr null, ptr %61, align 8, !tbaa !40
  br label %64

64:                                               ; preds = %63, %60
  %65 = getelementptr inbounds i8, ptr %0, i64 1056
  %66 = load ptr, ptr %65, align 8, !tbaa !41
  %.not28 = icmp eq ptr %66, null
  br i1 %.not28, label %68, label %67

67:                                               ; preds = %64
  tail call void @_ZdaPv(ptr noundef nonnull %66) #3
  store ptr null, ptr %65, align 8, !tbaa !41
  br label %68

68:                                               ; preds = %67, %64
  ret i32 0
}

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 = { nounwind }
attributes #3 = { 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, !8, i64 800}
!6 = !{!"_ZTSN7qpOASES8QProblemE", !7, i64 0, !8, i64 800, !11, i64 808, !11, i64 816, !11, i64 824, !23, i64 832, !11, i64 952, !11, i64 960, !14, i64 968, !11, i64 976, !11, i64 984, !11, i64 992, !11, i64 1000, !11, i64 1008, !11, i64 1016, !11, i64 1024, !11, i64 1032, !11, i64 1040, !11, i64 1048, !11, i64 1056}
!7 = !{!"_ZTSN7qpOASES9QProblemBE", !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !11, i64 168, !8, i64 176, !11, i64 184, !11, i64 192, !16, i64 200, !17, i64 208, !8, i64 212, !8, i64 216, !18, i64 220, !16, i64 224, !14, i64 232, !11, i64 240, !16, i64 248, !16, i64 256, !14, i64 264, !19, i64 272, !22, i64 496, !24, i64 768}
!8 = !{!"_ZTSN7qpOASES11BooleanTypeE", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTSN7qpOASES6BoundsE", !13, i64 0, !15, i64 40, !15, i64 80}
!13 = !{!"_ZTSN7qpOASES9SubjectToE", !14, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !8, i64 36}
!14 = !{!"int", !9, i64 0}
!15 = !{!"_ZTSN7qpOASES9IndexlistE", !11, i64 0, !11, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32}
!16 = !{!"double", !9, i64 0}
!17 = !{!"_ZTSN7qpOASES14QProblemStatusE", !9, i64 0}
!18 = !{!"_ZTSN7qpOASES11HessianTypeE", !9, i64 0}
!19 = !{!"_ZTSN7qpOASES7OptionsE", !20, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !14, i64 28, !14, i64 32, !8, i64 36, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !21, i64 128, !16, i64 136, !14, i64 144, !16, i64 152, !14, i64 160, !16, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !8, i64 200, !8, i64 204, !14, i64 208, !14, i64 212, !14, i64 216}
!20 = !{!"_ZTSN7qpOASES10PrintLevelE", !9, i64 0}
!21 = !{!"_ZTSN7qpOASES15SubjectToStatusE", !9, i64 0}
!22 = !{!"_ZTSN7qpOASES7FlipperE", !14, i64 0, !14, i64 4, !12, i64 8, !23, i64 128, !11, i64 248, !11, i64 256, !11, i64 264}
!23 = !{!"_ZTSN7qpOASES11ConstraintsE", !13, i64 0, !15, i64 40, !15, i64 80}
!24 = !{!"_ZTSN7qpOASES13TabularOutputE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28}
!25 = !{!6, !11, i64 808}
!26 = !{!27, !27, i64 0}
!27 = !{!"vtable pointer", !10, i64 0}
!28 = !{!6, !11, i64 816}
!29 = !{!6, !11, i64 824}
!30 = !{!6, !11, i64 952}
!31 = !{!6, !11, i64 960}
!32 = !{!6, !11, i64 976}
!33 = !{!6, !11, i64 984}
!34 = !{!6, !11, i64 992}
!35 = !{!6, !11, i64 1008}
!36 = !{!6, !11, i64 1024}
!37 = !{!6, !11, i64 1032}
!38 = !{!6, !11, i64 1040}
!39 = !{!6, !11, i64 1016}
!40 = !{!6, !11, i64 1048}
!41 = !{!6, !11, i64 1056}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass