; LLVM IR from cryspen/libcrux :: sys/hacl/c/src (Hacl_HPKE_Curve51_CP128_SHA256)

; 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.Hacl_Impl_HPKE_context_s_s = type { ptr, ptr, ptr, 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 uwtable
declare dso_local i32 @Hacl_HPKE_Curve51_CP128_SHA256_setupBaseR(ptr noundef byval(%struct.Hacl_Impl_HPKE_context_s_s) align 8, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @store64(ptr noundef, i64 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @__bswap_64(i64 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @Hacl_HPKE_Curve51_CP128_SHA256_openBase(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) #2 {
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca [32 x i8], align 16
  %21 = alloca [12 x i8], align 1
  %22 = alloca i64, align 8
  %23 = alloca [32 x i8], align 16
  %24 = alloca %struct.Hacl_Impl_HPKE_context_s_s, align 8
  %25 = alloca i32, align 4
  %26 = alloca [12 x i8], align 1
  %27 = alloca i64, align 8
  %28 = alloca [12 x i8], align 1
  %29 = alloca i32, align 4
  %30 = alloca i8, align 1
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = alloca i8, align 1
  %36 = alloca i8, align 1
  %37 = alloca i8, align 1
  %38 = alloca i8, align 1
  %39 = alloca i8, align 1
  %40 = alloca i8, align 1
  %41 = alloca i8, align 1
  %42 = alloca i8, align 1
  %43 = alloca i8, align 1
  %44 = alloca i8, align 1
  %45 = alloca i8, align 1
  %46 = alloca i8, align 1
  %47 = alloca i8, align 1
  %48 = alloca i8, align 1
  %49 = alloca i8, align 1
  %50 = alloca i8, align 1
  %51 = alloca i8, align 1
  %52 = alloca i8, align 1
  %53 = alloca i8, align 1
  %54 = alloca ptr, align 8
  %55 = alloca ptr, align 8
  %56 = alloca i32, align 4
  %57 = alloca i64, align 8
  %58 = alloca i32, align 4
  %59 = alloca i64, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store i32 %2, ptr %13, align 4, !tbaa !9
  store ptr %3, ptr %14, align 8, !tbaa !5
  store i32 %4, ptr %15, align 4, !tbaa !9
  store ptr %5, ptr %16, align 8, !tbaa !5
  store i32 %6, ptr %17, align 4, !tbaa !9
  store ptr %7, ptr %18, align 8, !tbaa !5
  store ptr %8, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #5
  call void @llvm.memset.p0.i64(ptr align 16 %20, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #5
  call void @llvm.memset.p0.i64(ptr align 1 %21, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  store i64 0, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #5
  call void @llvm.memset.p0.i64(ptr align 16 %23, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #5
  %60 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 0
  %61 = getelementptr inbounds [32 x i8], ptr %20, i64 0, i64 0
  store ptr %61, ptr %60, align 8, !tbaa !13
  %62 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %63 = getelementptr inbounds [12 x i8], ptr %21, i64 0, i64 0
  store ptr %63, ptr %62, align 8, !tbaa !15
  %64 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 2
  store ptr %22, ptr %64, align 8, !tbaa !16
  %65 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 3
  %66 = getelementptr inbounds [32 x i8], ptr %23, i64 0, i64 0
  store ptr %66, ptr %65, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  %69 = load i32, ptr %13, align 4, !tbaa !9
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  %71 = call i32 @Hacl_HPKE_Curve51_CP128_SHA256_setupBaseR(ptr noundef byval(%struct.Hacl_Impl_HPKE_context_s_s) align 8 %24, ptr noundef %67, ptr noundef %68, i32 noundef %69, ptr noundef %70)
  store i32 %71, ptr %25, align 4, !tbaa !9
  %72 = load i32, ptr %25, align 4, !tbaa !9
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %387

74:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #5
  call void @llvm.memset.p0.i64(ptr align 1 %26, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %75 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 2
  %76 = load ptr, ptr %75, align 8, !tbaa !16
  %77 = getelementptr inbounds i64, ptr %76, i64 0
  %78 = load i64, ptr %77, align 8, !tbaa !11
  store i64 %78, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #5
  call void @llvm.memset.p0.i64(ptr align 1 %28, i8 0, i64 12, i1 false)
  %79 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 0
  %80 = getelementptr inbounds i8, ptr %79, i64 4
  %81 = load i64, ptr %27, align 8, !tbaa !11
  %82 = call i64 @__bswap_64(i64 noundef %81)
  call void @store64(ptr noundef %80, i64 noundef %82)
  br label %83

83:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #5
  %84 = load i32, ptr %29, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %85
  %87 = load i8, ptr %86, align 1, !tbaa !18
  store i8 %87, ptr %30, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #5
  %88 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %89 = load ptr, ptr %88, align 8, !tbaa !15
  %90 = load i32, ptr %29, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds i8, ptr %89, i64 %91
  %93 = load i8, ptr %92, align 1, !tbaa !18
  store i8 %93, ptr %31, align 1, !tbaa !18
  %94 = load i8, ptr %30, align 1, !tbaa !18
  %95 = zext i8 %94 to i32
  %96 = load i8, ptr %31, align 1, !tbaa !18
  %97 = zext i8 %96 to i32
  %98 = xor i32 %95, %97
  %99 = trunc i32 %98 to i8
  %100 = load i32, ptr %29, align 4, !tbaa !9
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %101
  store i8 %99, ptr %102, align 1, !tbaa !18
  %103 = load i32, ptr %29, align 4, !tbaa !9
  %104 = add i32 %103, 1
  store i32 %104, ptr %29, align 4, !tbaa !9
  %105 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #5
  %106 = load i32, ptr %29, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %107
  %109 = load i8, ptr %108, align 1, !tbaa !18
  store i8 %109, ptr %32, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  %110 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !15
  %112 = load i32, ptr %29, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds i8, ptr %111, i64 %113
  %115 = load i8, ptr %114, align 1, !tbaa !18
  store i8 %115, ptr %33, align 1, !tbaa !18
  %116 = load i8, ptr %32, align 1, !tbaa !18
  %117 = zext i8 %116 to i32
  %118 = load i8, ptr %33, align 1, !tbaa !18
  %119 = zext i8 %118 to i32
  %120 = xor i32 %117, %119
  %121 = trunc i32 %120 to i8
  %122 = load i32, ptr %29, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %123
  store i8 %121, ptr %124, align 1, !tbaa !18
  %125 = load i32, ptr %29, align 4, !tbaa !9
  %126 = add i32 %125, 1
  store i32 %126, ptr %29, align 4, !tbaa !9
  %127 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #5
  %128 = load i32, ptr %29, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %129
  %131 = load i8, ptr %130, align 1, !tbaa !18
  store i8 %131, ptr %34, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #5
  %132 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %133 = load ptr, ptr %132, align 8, !tbaa !15
  %134 = load i32, ptr %29, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds i8, ptr %133, i64 %135
  %137 = load i8, ptr %136, align 1, !tbaa !18
  store i8 %137, ptr %35, align 1, !tbaa !18
  %138 = load i8, ptr %34, align 1, !tbaa !18
  %139 = zext i8 %138 to i32
  %140 = load i8, ptr %35, align 1, !tbaa !18
  %141 = zext i8 %140 to i32
  %142 = xor i32 %139, %141
  %143 = trunc i32 %142 to i8
  %144 = load i32, ptr %29, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %145
  store i8 %143, ptr %146, align 1, !tbaa !18
  %147 = load i32, ptr %29, align 4, !tbaa !9
  %148 = add i32 %147, 1
  store i32 %148, ptr %29, align 4, !tbaa !9
  %149 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #5
  %150 = load i32, ptr %29, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %151
  %153 = load i8, ptr %152, align 1, !tbaa !18
  store i8 %153, ptr %36, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #5
  %154 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %155 = load ptr, ptr %154, align 8, !tbaa !15
  %156 = load i32, ptr %29, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = getelementptr inbounds i8, ptr %155, i64 %157
  %159 = load i8, ptr %158, align 1, !tbaa !18
  store i8 %159, ptr %37, align 1, !tbaa !18
  %160 = load i8, ptr %36, align 1, !tbaa !18
  %161 = zext i8 %160 to i32
  %162 = load i8, ptr %37, align 1, !tbaa !18
  %163 = zext i8 %162 to i32
  %164 = xor i32 %161, %163
  %165 = trunc i32 %164 to i8
  %166 = load i32, ptr %29, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %167
  store i8 %165, ptr %168, align 1, !tbaa !18
  %169 = load i32, ptr %29, align 4, !tbaa !9
  %170 = add i32 %169, 1
  store i32 %170, ptr %29, align 4, !tbaa !9
  %171 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #5
  %172 = load i32, ptr %29, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %173
  %175 = load i8, ptr %174, align 1, !tbaa !18
  store i8 %175, ptr %38, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #5
  %176 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %177 = load ptr, ptr %176, align 8, !tbaa !15
  %178 = load i32, ptr %29, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds i8, ptr %177, i64 %179
  %181 = load i8, ptr %180, align 1, !tbaa !18
  store i8 %181, ptr %39, align 1, !tbaa !18
  %182 = load i8, ptr %38, align 1, !tbaa !18
  %183 = zext i8 %182 to i32
  %184 = load i8, ptr %39, align 1, !tbaa !18
  %185 = zext i8 %184 to i32
  %186 = xor i32 %183, %185
  %187 = trunc i32 %186 to i8
  %188 = load i32, ptr %29, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %189
  store i8 %187, ptr %190, align 1, !tbaa !18
  %191 = load i32, ptr %29, align 4, !tbaa !9
  %192 = add i32 %191, 1
  store i32 %192, ptr %29, align 4, !tbaa !9
  %193 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #5
  %194 = load i32, ptr %29, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %195
  %197 = load i8, ptr %196, align 1, !tbaa !18
  store i8 %197, ptr %40, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #5
  %198 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %199 = load ptr, ptr %198, align 8, !tbaa !15
  %200 = load i32, ptr %29, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = getelementptr inbounds i8, ptr %199, i64 %201
  %203 = load i8, ptr %202, align 1, !tbaa !18
  store i8 %203, ptr %41, align 1, !tbaa !18
  %204 = load i8, ptr %40, align 1, !tbaa !18
  %205 = zext i8 %204 to i32
  %206 = load i8, ptr %41, align 1, !tbaa !18
  %207 = zext i8 %206 to i32
  %208 = xor i32 %205, %207
  %209 = trunc i32 %208 to i8
  %210 = load i32, ptr %29, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %211
  store i8 %209, ptr %212, align 1, !tbaa !18
  %213 = load i32, ptr %29, align 4, !tbaa !9
  %214 = add i32 %213, 1
  store i32 %214, ptr %29, align 4, !tbaa !9
  %215 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #5
  %216 = load i32, ptr %29, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %217
  %219 = load i8, ptr %218, align 1, !tbaa !18
  store i8 %219, ptr %42, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #5
  %220 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %221 = load ptr, ptr %220, align 8, !tbaa !15
  %222 = load i32, ptr %29, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = getelementptr inbounds i8, ptr %221, i64 %223
  %225 = load i8, ptr %224, align 1, !tbaa !18
  store i8 %225, ptr %43, align 1, !tbaa !18
  %226 = load i8, ptr %42, align 1, !tbaa !18
  %227 = zext i8 %226 to i32
  %228 = load i8, ptr %43, align 1, !tbaa !18
  %229 = zext i8 %228 to i32
  %230 = xor i32 %227, %229
  %231 = trunc i32 %230 to i8
  %232 = load i32, ptr %29, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %233
  store i8 %231, ptr %234, align 1, !tbaa !18
  %235 = load i32, ptr %29, align 4, !tbaa !9
  %236 = add i32 %235, 1
  store i32 %236, ptr %29, align 4, !tbaa !9
  %237 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #5
  %238 = load i32, ptr %29, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %239
  %241 = load i8, ptr %240, align 1, !tbaa !18
  store i8 %241, ptr %44, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #5
  %242 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %243 = load ptr, ptr %242, align 8, !tbaa !15
  %244 = load i32, ptr %29, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = getelementptr inbounds i8, ptr %243, i64 %245
  %247 = load i8, ptr %246, align 1, !tbaa !18
  store i8 %247, ptr %45, align 1, !tbaa !18
  %248 = load i8, ptr %44, align 1, !tbaa !18
  %249 = zext i8 %248 to i32
  %250 = load i8, ptr %45, align 1, !tbaa !18
  %251 = zext i8 %250 to i32
  %252 = xor i32 %249, %251
  %253 = trunc i32 %252 to i8
  %254 = load i32, ptr %29, align 4, !tbaa !9
  %255 = zext i32 %254 to i64
  %256 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %255
  store i8 %253, ptr %256, align 1, !tbaa !18
  %257 = load i32, ptr %29, align 4, !tbaa !9
  %258 = add i32 %257, 1
  store i32 %258, ptr %29, align 4, !tbaa !9
  %259 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #5
  %260 = load i32, ptr %29, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %261
  %263 = load i8, ptr %262, align 1, !tbaa !18
  store i8 %263, ptr %46, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #5
  %264 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %265 = load ptr, ptr %264, align 8, !tbaa !15
  %266 = load i32, ptr %29, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = getelementptr inbounds i8, ptr %265, i64 %267
  %269 = load i8, ptr %268, align 1, !tbaa !18
  store i8 %269, ptr %47, align 1, !tbaa !18
  %270 = load i8, ptr %46, align 1, !tbaa !18
  %271 = zext i8 %270 to i32
  %272 = load i8, ptr %47, align 1, !tbaa !18
  %273 = zext i8 %272 to i32
  %274 = xor i32 %271, %273
  %275 = trunc i32 %274 to i8
  %276 = load i32, ptr %29, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %277
  store i8 %275, ptr %278, align 1, !tbaa !18
  %279 = load i32, ptr %29, align 4, !tbaa !9
  %280 = add i32 %279, 1
  store i32 %280, ptr %29, align 4, !tbaa !9
  %281 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #5
  %282 = load i32, ptr %29, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %283
  %285 = load i8, ptr %284, align 1, !tbaa !18
  store i8 %285, ptr %48, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #5
  %286 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %287 = load ptr, ptr %286, align 8, !tbaa !15
  %288 = load i32, ptr %29, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = getelementptr inbounds i8, ptr %287, i64 %289
  %291 = load i8, ptr %290, align 1, !tbaa !18
  store i8 %291, ptr %49, align 1, !tbaa !18
  %292 = load i8, ptr %48, align 1, !tbaa !18
  %293 = zext i8 %292 to i32
  %294 = load i8, ptr %49, align 1, !tbaa !18
  %295 = zext i8 %294 to i32
  %296 = xor i32 %293, %295
  %297 = trunc i32 %296 to i8
  %298 = load i32, ptr %29, align 4, !tbaa !9
  %299 = zext i32 %298 to i64
  %300 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %299
  store i8 %297, ptr %300, align 1, !tbaa !18
  %301 = load i32, ptr %29, align 4, !tbaa !9
  %302 = add i32 %301, 1
  store i32 %302, ptr %29, align 4, !tbaa !9
  %303 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #5
  %304 = load i32, ptr %29, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %305
  %307 = load i8, ptr %306, align 1, !tbaa !18
  store i8 %307, ptr %50, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #5
  %308 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %309 = load ptr, ptr %308, align 8, !tbaa !15
  %310 = load i32, ptr %29, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  %312 = getelementptr inbounds i8, ptr %309, i64 %311
  %313 = load i8, ptr %312, align 1, !tbaa !18
  store i8 %313, ptr %51, align 1, !tbaa !18
  %314 = load i8, ptr %50, align 1, !tbaa !18
  %315 = zext i8 %314 to i32
  %316 = load i8, ptr %51, align 1, !tbaa !18
  %317 = zext i8 %316 to i32
  %318 = xor i32 %315, %317
  %319 = trunc i32 %318 to i8
  %320 = load i32, ptr %29, align 4, !tbaa !9
  %321 = zext i32 %320 to i64
  %322 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %321
  store i8 %319, ptr %322, align 1, !tbaa !18
  %323 = load i32, ptr %29, align 4, !tbaa !9
  %324 = add i32 %323, 1
  store i32 %324, ptr %29, align 4, !tbaa !9
  %325 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #5
  %326 = load i32, ptr %29, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = getelementptr inbounds [12 x i8], ptr %28, i64 0, i64 %327
  %329 = load i8, ptr %328, align 1, !tbaa !18
  store i8 %329, ptr %52, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #5
  %330 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 1
  %331 = load ptr, ptr %330, align 8, !tbaa !15
  %332 = load i32, ptr %29, align 4, !tbaa !9
  %333 = zext i32 %332 to i64
  %334 = getelementptr inbounds i8, ptr %331, i64 %333
  %335 = load i8, ptr %334, align 1, !tbaa !18
  store i8 %335, ptr %53, align 1, !tbaa !18
  %336 = load i8, ptr %52, align 1, !tbaa !18
  %337 = zext i8 %336 to i32
  %338 = load i8, ptr %53, align 1, !tbaa !18
  %339 = zext i8 %338 to i32
  %340 = xor i32 %337, %339
  %341 = trunc i32 %340 to i8
  %342 = load i32, ptr %29, align 4, !tbaa !9
  %343 = zext i32 %342 to i64
  %344 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %343
  store i8 %341, ptr %344, align 1, !tbaa !18
  %345 = load i32, ptr %29, align 4, !tbaa !9
  %346 = add i32 %345, 1
  store i32 %346, ptr %29, align 4, !tbaa !9
  %347 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %348

348:                                              ; preds = %83
  br label %349

349:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  %350 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %350, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #5
  %351 = load ptr, ptr %18, align 8, !tbaa !5
  %352 = load i32, ptr %17, align 4, !tbaa !9
  %353 = zext i32 %352 to i64
  %354 = getelementptr inbounds i8, ptr %351, i64 %353
  %355 = getelementptr inbounds i8, ptr %354, i64 -16
  store ptr %355, ptr %55, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #5
  %356 = load ptr, ptr %19, align 8, !tbaa !5
  %357 = load ptr, ptr %54, align 8, !tbaa !5
  %358 = load i32, ptr %17, align 4, !tbaa !9
  %359 = sub i32 %358, 16
  %360 = load ptr, ptr %16, align 8, !tbaa !5
  %361 = load i32, ptr %15, align 4, !tbaa !9
  %362 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 0
  %363 = load ptr, ptr %362, align 8, !tbaa !13
  %364 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 0
  %365 = load ptr, ptr %55, align 8, !tbaa !5
  %366 = call i32 @Hacl_AEAD_Chacha20Poly1305_Simd128_decrypt(ptr noundef %356, ptr noundef %357, i32 noundef %359, ptr noundef %360, i32 noundef %361, ptr noundef %363, ptr noundef %364, ptr noundef %365)
  store i32 %366, ptr %56, align 4, !tbaa !9
  %367 = load i32, ptr %56, align 4, !tbaa !9
  %368 = icmp eq i32 %367, 0
  br i1 %368, label %369, label %385

369:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #5
  %370 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 2
  %371 = load ptr, ptr %370, align 8, !tbaa !16
  %372 = getelementptr inbounds i64, ptr %371, i64 0
  %373 = load i64, ptr %372, align 8, !tbaa !11
  store i64 %373, ptr %57, align 8, !tbaa !11
  %374 = load i64, ptr %57, align 8, !tbaa !11
  %375 = icmp eq i64 %374, -1
  br i1 %375, label %376, label %377

376:                                              ; preds = %369
  store i32 1, ptr %10, align 4
  store i32 1, ptr %58, align 4
  br label %384

377:                                              ; preds = %369
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #5
  %378 = load i64, ptr %57, align 8, !tbaa !11
  %379 = add i64 %378, 1
  store i64 %379, ptr %59, align 8, !tbaa !11
  %380 = load i64, ptr %59, align 8, !tbaa !11
  %381 = getelementptr inbounds %struct.Hacl_Impl_HPKE_context_s_s, ptr %24, i32 0, i32 2
  %382 = load ptr, ptr %381, align 8, !tbaa !16
  %383 = getelementptr inbounds i64, ptr %382, i64 0
  store i64 %380, ptr %383, align 8, !tbaa !11
  store i32 0, ptr %10, align 4
  store i32 1, ptr %58, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  br label %384

384:                                              ; preds = %377, %376
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #5
  br label %386

385:                                              ; preds = %349
  store i32 1, ptr %10, align 4
  store i32 1, ptr %58, align 4
  br label %386

386:                                              ; preds = %385, %384
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #5
  br label %388

387:                                              ; preds = %9
  store i32 1, ptr %10, align 4
  store i32 1, ptr %58, align 4
  br label %388

388:                                              ; preds = %387, %386
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  %389 = load i32, ptr %10, align 4
  ret i32 %389
}

declare i32 @Hacl_AEAD_Chacha20Poly1305_Simd128_decrypt(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #4

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

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

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


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

%struct.Hacl_Impl_HPKE_context_s_s = type { ptr, ptr, ptr, ptr }

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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: nounwind uwtable
declare dso_local i32 @Hacl_HPKE_Curve51_CP128_SHA256_setupBaseR(ptr noundef byval(%struct.Hacl_Impl_HPKE_context_s_s) align 8, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @store64(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @__bswap_64(i64 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @Hacl_HPKE_Curve51_CP128_SHA256_openBase(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #2 {
  %10 = alloca [32 x i8], align 16
  %11 = alloca [12 x i8], align 1
  %12 = alloca i64, align 8
  %13 = alloca [32 x i8], align 16
  %14 = alloca %struct.Hacl_Impl_HPKE_context_s_s, align 8
  %15 = alloca [12 x i8], align 8
  %16 = alloca [12 x i8], align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %10, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(12) %11, i8 0, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store i64 0, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %13, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #5
  store ptr %10, ptr %14, align 8, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr %11, ptr %17, align 8, !tbaa !12
  %18 = getelementptr inbounds i8, ptr %14, i64 16
  store ptr %12, ptr %18, align 8, !tbaa !13
  %19 = getelementptr inbounds i8, ptr %14, i64 24
  store ptr %13, ptr %19, align 8, !tbaa !14
  %20 = call i32 @Hacl_HPKE_Curve51_CP128_SHA256_setupBaseR(ptr noundef nonnull byval(%struct.Hacl_Impl_HPKE_context_s_s) align 8 %14, ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3)
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %51

22:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #5
  %23 = load ptr, ptr %18, align 8, !tbaa !13
  %24 = load i64, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %16, i8 0, i64 12, i1 false)
  %25 = getelementptr inbounds i8, ptr %16, i64 4
  %26 = call i64 @__bswap_64(i64 noundef %24)
  call void @store64(ptr noundef nonnull %25, i64 noundef %26)
  %27 = load ptr, ptr %17, align 8, !tbaa !12
  %28 = load <8 x i8>, ptr %16, align 8, !tbaa !15
  %29 = load <8 x i8>, ptr %27, align 1, !tbaa !15
  %30 = xor <8 x i8> %29, %28
  store <8 x i8> %30, ptr %15, align 8, !tbaa !15
  %31 = getelementptr inbounds i8, ptr %16, i64 8
  %32 = getelementptr inbounds i8, ptr %27, i64 8
  %33 = getelementptr inbounds i8, ptr %15, i64 8
  %34 = load <4 x i8>, ptr %31, align 8, !tbaa !15
  %35 = load <4 x i8>, ptr %32, align 1, !tbaa !15
  %36 = xor <4 x i8> %35, %34
  store <4 x i8> %36, ptr %33, align 8, !tbaa !15
  %37 = zext i32 %6 to i64
  %38 = getelementptr inbounds i8, ptr %7, i64 %37
  %39 = getelementptr inbounds i8, ptr %38, i64 -16
  %40 = add i32 %6, -16
  %41 = load ptr, ptr %14, align 8, !tbaa !9
  %42 = call i32 @Hacl_AEAD_Chacha20Poly1305_Simd128_decrypt(ptr noundef %8, ptr noundef %7, i32 noundef %40, ptr noundef %5, i32 noundef %4, ptr noundef %41, ptr noundef nonnull %15, ptr noundef nonnull %39) #5
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %50

44:                                               ; preds = %22
  %45 = load ptr, ptr %18, align 8, !tbaa !13
  %46 = load i64, ptr %45, align 8, !tbaa !5
  %47 = icmp eq i64 %46, -1
  br i1 %47, label %50, label %48

48:                                               ; preds = %44
  %49 = add nuw i64 %46, 1
  store i64 %49, ptr %45, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %22, %48, %44
  %.1 = phi i32 [ 0, %48 ], [ 1, %44 ], [ 1, %22 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #5
  br label %51

51:                                               ; preds = %9, %50
  %.2 = phi i32 [ %.1, %50 ], [ 1, %9 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  ret i32 %.2
}

declare i32 @Hacl_AEAD_Chacha20Poly1305_Simd128_decrypt(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass