; LLVM IR from MostafaTwfiq/C-DataStructures-And-Algorithms :: Unit Test/Tests/DataStructuresTests/LinkedListsTest/DoublyLinkedListTest (generalDoublyLinkedListTest)

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

%struct.DoublyLinkedListTestStruct = type { i32, ptr }

@.str = external hidden unnamed_addr constant [174 x i8], align 1
@__const.generalDoublyLinkedListTest.numbersStr = external hidden unnamed_addr constant [10 x [6 x i8]], align 16
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

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

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #2

declare void @doublyLinkedListAddAll(ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

declare ptr @doublyLinkedListInitialization(ptr noundef, ptr noundef) #3

declare void @CuAssertIntEquals_LineMsg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #3

declare void @destroyDoublyLinkedList(ptr noundef) #3

declare void @doublyLinkedListAddFirst(ptr noundef, ptr noundef) #3

declare ptr @doublyLinkedListGet(ptr noundef, i32 noundef) #3

declare void @doublyLinkedListAddLast(ptr noundef, ptr noundef) #3

declare void @doublyLinkedListDeleteFirst(ptr noundef) #3

declare void @doublyLinkedListDeleteLast(ptr noundef) #3

declare ptr @doublyLinkedListDeleteAtIndexWtoFr(ptr noundef, i32 noundef) #3

declare i32 @doublyLinkedListContains(ptr noundef, ptr noundef) #3

declare i32 @doublyLinkedListGetIndex(ptr noundef, ptr noundef) #3

declare ptr @doublyLinkedListGetItem(ptr noundef, ptr noundef) #3

declare void @CuAssertPtrEquals_LineMsg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @doublyLinkedListGetLength(ptr noundef) #3

declare i32 @doublyLinkedListIsEmpty(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @freeDoublyLinkedListStruct(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @doublyLinkedListTestStructComp(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @generalDoublyLinkedListTest(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca [10 x [6 x i8]], align 16
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %12 = call ptr @doublyLinkedListInitialization(ptr noundef @freeDoublyLinkedListStruct, ptr noundef @doublyLinkedListTestStructComp)
  store ptr %12, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 60, ptr %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.generalDoublyLinkedListTest.numbersStr, i64 60, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = call i32 @doublyLinkedListIsEmpty(ptr noundef %14)
  call void @CuAssertIntEquals_LineMsg(ptr noundef %13, ptr noundef @.str, i32 noundef 679, ptr noundef null, i32 noundef 1, i32 noundef %15)
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = call i32 @doublyLinkedListGetLength(ptr noundef %17)
  call void @CuAssertIntEquals_LineMsg(ptr noundef %16, ptr noundef @.str, i32 noundef 680, ptr noundef null, i32 noundef 0, i32 noundef %18)
  %19 = call noalias ptr @malloc(i64 noundef 16) #7
  store ptr %19, ptr %5, align 8, !tbaa !5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %20, i32 0, i32 0
  store i32 2, ptr %21, align 8, !tbaa !9
  %22 = call noalias ptr @malloc(i64 noundef 4) #7
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %23, i32 0, i32 1
  store ptr %22, ptr %24, align 8, !tbaa !12
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %25, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8, !tbaa !12
  %28 = call ptr @strcpy(ptr noundef %27, ptr noundef @.str.2) #6
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  call void @doublyLinkedListAddFirst(ptr noundef %29, ptr noundef %30)
  %31 = call noalias ptr @malloc(i64 noundef 16) #7
  store ptr %31, ptr %5, align 8, !tbaa !5
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %32, i32 0, i32 0
  store i32 1, ptr %33, align 8, !tbaa !9
  %34 = call noalias ptr @malloc(i64 noundef 4) #7
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %35, i32 0, i32 1
  store ptr %34, ptr %36, align 8, !tbaa !12
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %37, i32 0, i32 1
  %39 = load ptr, ptr %38, align 8, !tbaa !12
  %40 = call ptr @strcpy(ptr noundef %39, ptr noundef @.str.3) #6
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  call void @doublyLinkedListAddFirst(ptr noundef %41, ptr noundef %42)
  %43 = call noalias ptr @malloc(i64 noundef 16) #7
  store ptr %43, ptr %5, align 8, !tbaa !5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %44, i32 0, i32 0
  store i32 3, ptr %45, align 8, !tbaa !9
  %46 = call noalias ptr @malloc(i64 noundef 6) #7
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %47, i32 0, i32 1
  store ptr %46, ptr %48, align 8, !tbaa !12
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %49, i32 0, i32 1
  %51 = load ptr, ptr %50, align 8, !tbaa !12
  %52 = call ptr @strcpy(ptr noundef %51, ptr noundef @.str.4) #6
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  call void @doublyLinkedListAddLast(ptr noundef %53, ptr noundef %54)
  %55 = call noalias ptr @malloc(i64 noundef 16) #7
  store ptr %55, ptr %5, align 8, !tbaa !5
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %56, i32 0, i32 0
  store i32 4, ptr %57, align 8, !tbaa !9
  %58 = call noalias ptr @malloc(i64 noundef 5) #7
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %59, i32 0, i32 1
  store ptr %58, ptr %60, align 8, !tbaa !12
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %61, i32 0, i32 1
  %63 = load ptr, ptr %62, align 8, !tbaa !12
  %64 = call ptr @strcpy(ptr noundef %63, ptr noundef @.str.5) #6
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  call void @doublyLinkedListAddLast(ptr noundef %65, ptr noundef %66)
  %67 = call noalias ptr @malloc(i64 noundef 16) #7
  store ptr %67, ptr %5, align 8, !tbaa !5
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %68, i32 0, i32 0
  store i32 5, ptr %69, align 8, !tbaa !9
  %70 = call noalias ptr @malloc(i64 noundef 5) #7
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %71, i32 0, i32 1
  store ptr %70, ptr %72, align 8, !tbaa !12
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %73, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !12
  %76 = call ptr @strcpy(ptr noundef %75, ptr noundef @.str.6) #6
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  call void @doublyLinkedListAddLast(ptr noundef %77, ptr noundef %78)
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = call i32 @doublyLinkedListGetLength(ptr noundef %80)
  call void @CuAssertIntEquals_LineMsg(ptr noundef %79, ptr noundef @.str, i32 noundef 716, ptr noundef null, i32 noundef 5, i32 noundef %81)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %82 = call noalias ptr @malloc(i64 noundef 24) #7
  store ptr %82, ptr %6, align 8, !tbaa !5
  %83 = call noalias ptr @malloc(i64 noundef 16) #7
  store ptr %83, ptr %5, align 8, !tbaa !5
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %84, i32 0, i32 0
  store i32 6, ptr %85, align 8, !tbaa !9
  %86 = call noalias ptr @malloc(i64 noundef 4) #7
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %87, i32 0, i32 1
  store ptr %86, ptr %88, align 8, !tbaa !12
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %89, i32 0, i32 1
  %91 = load ptr, ptr %90, align 8, !tbaa !12
  %92 = call ptr @strcpy(ptr noundef %91, ptr noundef @.str.7) #6
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds ptr, ptr %94, i64 0
  store ptr %93, ptr %95, align 8, !tbaa !5
  %96 = call noalias ptr @malloc(i64 noundef 16) #7
  store ptr %96, ptr %5, align 8, !tbaa !5
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %97, i32 0, i32 0
  store i32 7, ptr %98, align 8, !tbaa !9
  %99 = call noalias ptr @malloc(i64 noundef 6) #7
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %100, i32 0, i32 1
  store ptr %99, ptr %101, align 8, !tbaa !12
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %102, i32 0, i32 1
  %104 = load ptr, ptr %103, align 8, !tbaa !12
  %105 = call ptr @strcpy(ptr noundef %104, ptr noundef @.str.8) #6
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds ptr, ptr %107, i64 1
  store ptr %106, ptr %108, align 8, !tbaa !5
  %109 = call noalias ptr @malloc(i64 noundef 16) #7
  store ptr %109, ptr %5, align 8, !tbaa !5
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %110, i32 0, i32 0
  store i32 8, ptr %111, align 8, !tbaa !9
  %112 = call noalias ptr @malloc(i64 noundef 6) #7
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %113, i32 0, i32 1
  store ptr %112, ptr %114, align 8, !tbaa !12
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %115, i32 0, i32 1
  %117 = load ptr, ptr %116, align 8, !tbaa !12
  %118 = call ptr @strcpy(ptr noundef %117, ptr noundef @.str.9) #6
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds ptr, ptr %120, i64 2
  store ptr %119, ptr %121, align 8, !tbaa !5
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  call void @doublyLinkedListAddAll(ptr noundef %122, ptr noundef %123, i32 noundef 3)
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = call i32 @doublyLinkedListGetLength(ptr noundef %125)
  call void @CuAssertIntEquals_LineMsg(ptr noundef %124, ptr noundef @.str, i32 noundef 741, ptr noundef null, i32 noundef 8, i32 noundef %126)
  %127 = load ptr, ptr %2, align 8, !tbaa !5
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = call i32 @doublyLinkedListIsEmpty(ptr noundef %128)
  call void @CuAssertIntEquals_LineMsg(ptr noundef %127, ptr noundef @.str, i32 noundef 742, ptr noundef null, i32 noundef 0, i32 noundef %129)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %130

130:                                              ; preds = %168, %1
  %131 = load i32, ptr %7, align 4, !tbaa !13
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = call i32 @doublyLinkedListGetLength(ptr noundef %132)
  %134 = icmp slt i32 %131, %133
  br i1 %134, label %136, label %135

135:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %171

136:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = load i32, ptr %7, align 4, !tbaa !13
  %139 = call ptr @doublyLinkedListGet(ptr noundef %137, i32 noundef %138)
  store ptr %139, ptr %8, align 8, !tbaa !5
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = load i32, ptr %7, align 4, !tbaa !13
  %142 = add nsw i32 %141, 1
  %143 = load ptr, ptr %8, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %143, i32 0, i32 0
  %145 = load i32, ptr %144, align 8, !tbaa !9
  call void @CuAssertIntEquals_LineMsg(ptr noundef %140, ptr noundef @.str, i32 noundef 746, ptr noundef null, i32 noundef %142, i32 noundef %145)
  %146 = load ptr, ptr %2, align 8, !tbaa !5
  %147 = load i32, ptr %7, align 4, !tbaa !13
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [10 x [6 x i8]], ptr %4, i64 0, i64 %148
  %150 = getelementptr inbounds [6 x i8], ptr %149, i64 0, i64 0
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %151, i32 0, i32 1
  %153 = load ptr, ptr %152, align 8, !tbaa !12
  call void @CuAssertStrEquals_LineMsg(ptr noundef %146, ptr noundef @.str, i32 noundef 747, ptr noundef null, ptr noundef %150, ptr noundef %153)
  %154 = load ptr, ptr %2, align 8, !tbaa !5
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = call i32 @doublyLinkedListContains(ptr noundef %155, ptr noundef %156)
  call void @CuAssertIntEquals_LineMsg(ptr noundef %154, ptr noundef @.str, i32 noundef 748, ptr noundef null, i32 noundef 1, i32 noundef %157)
  %158 = load ptr, ptr %2, align 8, !tbaa !5
  %159 = load i32, ptr %7, align 4, !tbaa !13
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = call i32 @doublyLinkedListGetIndex(ptr noundef %160, ptr noundef %161)
  call void @CuAssertIntEquals_LineMsg(ptr noundef %158, ptr noundef @.str, i32 noundef 749, ptr noundef null, i32 noundef %159, i32 noundef %162)
  %163 = load ptr, ptr %2, align 8, !tbaa !5
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = call ptr @doublyLinkedListGetItem(ptr noundef %165, ptr noundef %166)
  call void @CuAssertPtrEquals_LineMsg(ptr noundef %163, ptr noundef @.str, i32 noundef 750, ptr noundef null, ptr noundef %164, ptr noundef %167)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %168

168:                                              ; preds = %136
  %169 = load i32, ptr %7, align 4, !tbaa !13
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %7, align 4, !tbaa !13
  br label %130, !llvm.loop !14

171:                                              ; preds = %135
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  call void @doublyLinkedListDeleteFirst(ptr noundef %172)
  %173 = load ptr, ptr %3, align 8, !tbaa !5
  call void @doublyLinkedListDeleteLast(ptr noundef %173)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !13
  br label %174

174:                                              ; preds = %200, %171
  %175 = load i32, ptr %9, align 4, !tbaa !13
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = call i32 @doublyLinkedListGetLength(ptr noundef %176)
  %178 = icmp slt i32 %175, %177
  br i1 %178, label %180, label %179

179:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %203

180:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = load i32, ptr %9, align 4, !tbaa !13
  %183 = call ptr @doublyLinkedListDeleteAtIndexWtoFr(ptr noundef %181, i32 noundef %182)
  store ptr %183, ptr %11, align 8, !tbaa !5
  %184 = load ptr, ptr %2, align 8, !tbaa !5
  %185 = load i32, ptr %10, align 4, !tbaa !13
  %186 = add nsw i32 %185, 2
  %187 = load ptr, ptr %11, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %187, i32 0, i32 0
  %189 = load i32, ptr %188, align 8, !tbaa !9
  call void @CuAssertIntEquals_LineMsg(ptr noundef %184, ptr noundef @.str, i32 noundef 759, ptr noundef null, i32 noundef %186, i32 noundef %189)
  %190 = load ptr, ptr %2, align 8, !tbaa !5
  %191 = load i32, ptr %10, align 4, !tbaa !13
  %192 = add nsw i32 %191, 1
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [10 x [6 x i8]], ptr %4, i64 0, i64 %193
  %195 = getelementptr inbounds [6 x i8], ptr %194, i64 0, i64 0
  %196 = load ptr, ptr %11, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.DoublyLinkedListTestStruct, ptr %196, i32 0, i32 1
  %198 = load ptr, ptr %197, align 8, !tbaa !12
  call void @CuAssertStrEquals_LineMsg(ptr noundef %190, ptr noundef @.str, i32 noundef 760, ptr noundef null, ptr noundef %195, ptr noundef %198)
  %199 = load ptr, ptr %11, align 8, !tbaa !5
  call void @freeDoublyLinkedListStruct(ptr noundef %199)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %200

200:                                              ; preds = %180
  %201 = load i32, ptr %10, align 4, !tbaa !13
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %10, align 4, !tbaa !13
  br label %174, !llvm.loop !16

203:                                              ; preds = %179
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %204) #6
  %205 = load ptr, ptr %3, align 8, !tbaa !5
  call void @destroyDoublyLinkedList(ptr noundef %205)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 60, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

declare void @CuAssertStrEquals_LineMsg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"DoublyLinkedListTestStruct", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


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

@.str = external hidden unnamed_addr constant [174 x i8], align 1
@__const.generalDoublyLinkedListTest.numbersStr = external hidden unnamed_addr constant [10 x [6 x i8]], align 16
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #2

declare void @doublyLinkedListAddAll(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

declare ptr @doublyLinkedListInitialization(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @CuAssertIntEquals_LineMsg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @destroyDoublyLinkedList(ptr noundef) local_unnamed_addr #3

declare void @doublyLinkedListAddFirst(ptr noundef, ptr noundef) local_unnamed_addr #3

declare ptr @doublyLinkedListGet(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @doublyLinkedListAddLast(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @doublyLinkedListDeleteFirst(ptr noundef) local_unnamed_addr #3

declare void @doublyLinkedListDeleteLast(ptr noundef) local_unnamed_addr #3

declare ptr @doublyLinkedListDeleteAtIndexWtoFr(ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @doublyLinkedListContains(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @doublyLinkedListGetIndex(ptr noundef, ptr noundef) local_unnamed_addr #3

declare ptr @doublyLinkedListGetItem(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @CuAssertPtrEquals_LineMsg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @doublyLinkedListGetLength(ptr noundef) local_unnamed_addr #3

declare i32 @doublyLinkedListIsEmpty(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @freeDoublyLinkedListStruct(ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @doublyLinkedListTestStructComp(ptr noundef, ptr noundef) #5

; Function Attrs: nounwind uwtable
define dso_local void @generalDoublyLinkedListTest(ptr noundef %0) local_unnamed_addr #5 {
  %2 = alloca [10 x [6 x i8]], align 16
  %3 = tail call ptr @doublyLinkedListInitialization(ptr noundef nonnull @freeDoublyLinkedListStruct, ptr noundef nonnull @doublyLinkedListTestStructComp) #7
  call void @llvm.lifetime.start.p0(i64 60, ptr nonnull %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(60) %2, ptr noundef nonnull align 16 dereferenceable(60) @__const.generalDoublyLinkedListTest.numbersStr, i64 60, i1 false)
  %4 = tail call i32 @doublyLinkedListIsEmpty(ptr noundef %3) #7
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 679, ptr noundef null, i32 noundef 1, i32 noundef %4) #7
  %5 = tail call i32 @doublyLinkedListGetLength(ptr noundef %3) #7
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 680, ptr noundef null, i32 noundef 0, i32 noundef %5) #7
  %6 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  store i32 2, ptr %6, align 8, !tbaa !5
  %7 = tail call noalias dereferenceable_or_null(4) ptr @malloc(i64 noundef 4) #8
  %8 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %7, ptr %8, align 8, !tbaa !11
  %9 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.2) #7
  tail call void @doublyLinkedListAddFirst(ptr noundef %3, ptr noundef nonnull %6) #7
  %10 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  store i32 1, ptr %10, align 8, !tbaa !5
  %11 = tail call noalias dereferenceable_or_null(4) ptr @malloc(i64 noundef 4) #8
  %12 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %11, ptr %12, align 8, !tbaa !11
  %13 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.3) #7
  tail call void @doublyLinkedListAddFirst(ptr noundef %3, ptr noundef nonnull %10) #7
  %14 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  store i32 3, ptr %14, align 8, !tbaa !5
  %15 = tail call noalias dereferenceable_or_null(6) ptr @malloc(i64 noundef 6) #8
  %16 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr %15, ptr %16, align 8, !tbaa !11
  %17 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %15, ptr noundef nonnull dereferenceable(1) @.str.4) #7
  tail call void @doublyLinkedListAddLast(ptr noundef %3, ptr noundef nonnull %14) #7
  %18 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  store i32 4, ptr %18, align 8, !tbaa !5
  %19 = tail call noalias dereferenceable_or_null(5) ptr @malloc(i64 noundef 5) #8
  %20 = getelementptr inbounds i8, ptr %18, i64 8
  store ptr %19, ptr %20, align 8, !tbaa !11
  %21 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str.5) #7
  tail call void @doublyLinkedListAddLast(ptr noundef %3, ptr noundef nonnull %18) #7
  %22 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  store i32 5, ptr %22, align 8, !tbaa !5
  %23 = tail call noalias dereferenceable_or_null(5) ptr @malloc(i64 noundef 5) #8
  %24 = getelementptr inbounds i8, ptr %22, i64 8
  store ptr %23, ptr %24, align 8, !tbaa !11
  %25 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %23, ptr noundef nonnull dereferenceable(1) @.str.6) #7
  tail call void @doublyLinkedListAddLast(ptr noundef %3, ptr noundef nonnull %22) #7
  %26 = tail call i32 @doublyLinkedListGetLength(ptr noundef %3) #7
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 716, ptr noundef null, i32 noundef 5, i32 noundef %26) #7
  %27 = tail call noalias dereferenceable_or_null(24) ptr @malloc(i64 noundef 24) #8
  %28 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  store i32 6, ptr %28, align 8, !tbaa !5
  %29 = tail call noalias dereferenceable_or_null(4) ptr @malloc(i64 noundef 4) #8
  %30 = getelementptr inbounds i8, ptr %28, i64 8
  store ptr %29, ptr %30, align 8, !tbaa !11
  %31 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %29, ptr noundef nonnull dereferenceable(1) @.str.7) #7
  store ptr %28, ptr %27, align 8, !tbaa !12
  %32 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  store i32 7, ptr %32, align 8, !tbaa !5
  %33 = tail call noalias dereferenceable_or_null(6) ptr @malloc(i64 noundef 6) #8
  %34 = getelementptr inbounds i8, ptr %32, i64 8
  store ptr %33, ptr %34, align 8, !tbaa !11
  %35 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.8) #7
  %36 = getelementptr inbounds i8, ptr %27, i64 8
  store ptr %32, ptr %36, align 8, !tbaa !12
  %37 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  store i32 8, ptr %37, align 8, !tbaa !5
  %38 = tail call noalias dereferenceable_or_null(6) ptr @malloc(i64 noundef 6) #8
  %39 = getelementptr inbounds i8, ptr %37, i64 8
  store ptr %38, ptr %39, align 8, !tbaa !11
  %40 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %38, ptr noundef nonnull dereferenceable(1) @.str.9) #7
  %41 = getelementptr inbounds i8, ptr %27, i64 16
  store ptr %37, ptr %41, align 8, !tbaa !12
  tail call void @doublyLinkedListAddAll(ptr noundef %3, ptr noundef nonnull %27, i32 noundef 3) #7
  %42 = tail call i32 @doublyLinkedListGetLength(ptr noundef %3) #7
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 741, ptr noundef null, i32 noundef 8, i32 noundef %42) #7
  %43 = tail call i32 @doublyLinkedListIsEmpty(ptr noundef %3) #7
  tail call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 742, ptr noundef null, i32 noundef 0, i32 noundef %43) #7
  %44 = tail call i32 @doublyLinkedListGetLength(ptr noundef %3) #7
  %45 = icmp sgt i32 %44, 0
  br i1 %45, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %1
  call void @doublyLinkedListDeleteFirst(ptr noundef %3) #7
  call void @doublyLinkedListDeleteLast(ptr noundef %3) #7
  %46 = call i32 @doublyLinkedListGetLength(ptr noundef %3) #7
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %.lr.ph93, label %._crit_edge94

.lr.ph:                                           ; preds = %1, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %1 ]
  %48 = trunc nuw nsw i64 %indvars.iv to i32
  %49 = call ptr @doublyLinkedListGet(ptr noundef %3, i32 noundef %48) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %50 = load i32, ptr %49, align 8, !tbaa !5
  %51 = trunc nuw nsw i64 %indvars.iv.next to i32
  call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 746, ptr noundef null, i32 noundef %51, i32 noundef %50) #7
  %52 = getelementptr inbounds [10 x [6 x i8]], ptr %2, i64 0, i64 %indvars.iv
  %53 = getelementptr inbounds i8, ptr %49, i64 8
  %54 = load ptr, ptr %53, align 8, !tbaa !11
  call void @CuAssertStrEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 747, ptr noundef null, ptr noundef nonnull %52, ptr noundef %54) #7
  %55 = call i32 @doublyLinkedListContains(ptr noundef %3, ptr noundef nonnull %49) #7
  call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 748, ptr noundef null, i32 noundef 1, i32 noundef %55) #7
  %56 = call i32 @doublyLinkedListGetIndex(ptr noundef %3, ptr noundef nonnull %49) #7
  call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 749, ptr noundef null, i32 noundef %48, i32 noundef %56) #7
  %57 = call ptr @doublyLinkedListGetItem(ptr noundef %3, ptr noundef nonnull %49) #7
  call void @CuAssertPtrEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 750, ptr noundef null, ptr noundef nonnull %49, ptr noundef %57) #7
  %58 = call i32 @doublyLinkedListGetLength(ptr noundef %3) #7
  %59 = sext i32 %58 to i64
  %60 = icmp slt i64 %indvars.iv.next, %59
  br i1 %60, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge94:                                    ; preds = %.lr.ph93, %._crit_edge
  call void @free(ptr noundef %27) #7
  call void @destroyDoublyLinkedList(ptr noundef %3) #7
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %2) #7
  ret void

.lr.ph93:                                         ; preds = %._crit_edge, %.lr.ph93
  %indvars.iv96 = phi i64 [ %indvars.iv.next97, %.lr.ph93 ], [ 0, %._crit_edge ]
  %61 = call ptr @doublyLinkedListDeleteAtIndexWtoFr(ptr noundef %3, i32 noundef 0) #7
  %62 = load i32, ptr %61, align 8, !tbaa !5
  %63 = trunc i64 %indvars.iv96 to i32
  %64 = add i32 %63, 2
  call void @CuAssertIntEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 759, ptr noundef null, i32 noundef %64, i32 noundef %62) #7
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %65 = getelementptr inbounds [10 x [6 x i8]], ptr %2, i64 0, i64 %indvars.iv.next97
  %66 = getelementptr inbounds i8, ptr %61, i64 8
  %67 = load ptr, ptr %66, align 8, !tbaa !11
  call void @CuAssertStrEquals_LineMsg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 760, ptr noundef null, ptr noundef nonnull %65, ptr noundef %67) #7
  call void @freeDoublyLinkedListStruct(ptr noundef nonnull %61)
  %68 = call i32 @doublyLinkedListGetLength(ptr noundef %3) #7
  %69 = icmp sgt i32 %68, 0
  br i1 %69, label %.lr.ph93, label %._crit_edge94, !llvm.loop !15
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

declare void @CuAssertStrEquals_LineMsg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nofree nounwind willreturn memory(argmem: readwrite) "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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"DoublyLinkedListTestStruct", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass