; LLVM IR from aws/s2n-tls :: tests/unit (s2n_hash_all_algs_test)

; 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.s2n_debug_info = type { ptr, ptr }
%struct.s2n_result = type { i32 }
%struct.s2n_hash_state = type { ptr, i32, i8, i64, %union.anon }
%union.anon = type { %struct.s2n_hash_evp_digest }
%struct.s2n_hash_evp_digest = type { %struct.s2n_evp_digest, %struct.s2n_evp_digest }
%struct.s2n_evp_digest = type { ptr, ptr }
%struct.s2n_blob = type { ptr, i32, i32, i8 }

@input_data = external dso_local constant [100 x i8], align 16
@.str.8 = external hidden unnamed_addr constant [105 x i8], align 1
@_s2n_debug_info = external thread_local global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local global i32, align 4
@.str.9 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [105 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_hash_test_state(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
  %4 = alloca %struct.s2n_result, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca [5 x i64], align 16
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca %struct.s2n_hash_state, align 8
  %13 = alloca %struct.s2n_blob, align 8
  %14 = alloca [100 x i8], align 16
  %15 = alloca i8, align 1
  %16 = alloca [100 x i8], align 16
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #6
  call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 40, i1 false)
  %17 = getelementptr inbounds [5 x i64], ptr %8, i32 0, i32 0
  store i64 1, ptr %17, align 16
  %18 = getelementptr inbounds [5 x i64], ptr %8, i32 0, i32 2
  store i64 10, ptr %18, align 16
  %19 = getelementptr inbounds [5 x i64], ptr %8, i32 0, i32 3
  store i64 17, ptr %19, align 8
  %20 = getelementptr inbounds [5 x i64], ptr %8, i32 0, i32 4
  store i64 31, ptr %20, align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !11
  br label %21

21:                                               ; preds = %89, %3
  %22 = load i64, ptr %10, align 8, !tbaa !11
  %23 = icmp ult i64 %22, 5
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  store i32 2, ptr %11, align 4
  br label %92

25:                                               ; preds = %21
  br label %26

26:                                               ; preds = %25
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = load i64, ptr %9, align 8, !tbaa !11
  %29 = getelementptr inbounds i8, ptr @input_data, i64 %28
  %30 = load i64, ptr %10, align 8, !tbaa !11
  %31 = getelementptr inbounds [5 x i64], ptr %8, i64 0, i64 %30
  %32 = load i64, ptr %31, align 8, !tbaa !11
  %33 = trunc i64 %32 to i32
  %34 = call i32 @s2n_hash_update(ptr noundef %27, ptr noundef %29, i32 noundef %33)
  %35 = icmp sgt i32 %34, -1
  br i1 %35, label %38, label %36

36:                                               ; preds = %26
  %37 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %37, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %92

38:                                               ; preds = %26
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  %41 = load i64, ptr %10, align 8, !tbaa !11
  %42 = getelementptr inbounds [5 x i64], ptr %8, i64 0, i64 %41
  %43 = load i64, ptr %42, align 8, !tbaa !11
  %44 = load i64, ptr %9, align 8, !tbaa !11
  %45 = add i64 %44, %43
  store i64 %45, ptr %9, align 8, !tbaa !11
  br label %46

46:                                               ; preds = %40
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.s2n_hash_state, ptr %47, i32 0, i32 3
  %49 = load i64, ptr %48, align 8, !tbaa !15
  %50 = load i64, ptr %9, align 8, !tbaa !11
  %51 = icmp eq i64 %49, %50
  br i1 %51, label %86, label %52

52:                                               ; preds = %46
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  %55 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %56 = getelementptr inbounds %struct.s2n_debug_info, ptr %55, i32 0, i32 0
  store ptr @.str.8, ptr %56, align 8, !tbaa !17
  %57 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %58 = getelementptr inbounds %struct.s2n_debug_info, ptr %57, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8, !tbaa !17
  %60 = getelementptr inbounds i8, ptr %59, i64 21
  %61 = call ptr @strrchr(ptr noundef %60, i32 noundef 47) #7
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %70

63:                                               ; preds = %54
  %64 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %65 = getelementptr inbounds %struct.s2n_debug_info, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !17
  %67 = getelementptr inbounds i8, ptr %66, i64 21
  %68 = call ptr @strrchr(ptr noundef %67, i32 noundef 47) #7
  %69 = getelementptr inbounds i8, ptr %68, i64 1
  br label %75

70:                                               ; preds = %54
  %71 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %72 = getelementptr inbounds %struct.s2n_debug_info, ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8, !tbaa !17
  %74 = getelementptr inbounds i8, ptr %73, i64 21
  br label %75

75:                                               ; preds = %70, %63
  %76 = phi ptr [ %69, %63 ], [ %74, %70 ]
  %77 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %78 = getelementptr inbounds %struct.s2n_debug_info, ptr %77, i32 0, i32 1
  store ptr %76, ptr %78, align 8, !tbaa !19
  %79 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %79, align 4, !tbaa !9
  %80 = call i32 @s2n_calculate_stacktrace()
  br label %81

81:                                               ; preds = %75
  br label %82

82:                                               ; preds = %81
  %83 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %83, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %92

84:                                               ; No predecessors!
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85, %46
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  %90 = load i64, ptr %10, align 8, !tbaa !11
  %91 = add i64 %90, 1
  store i64 %91, ptr %10, align 8, !tbaa !11
  br label %21, !llvm.loop !20

92:                                               ; preds = %82, %36, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %93 = load i32, ptr %11, align 4
  switch i32 %93, label %151 [
    i32 2, label %94
  ]

94:                                               ; preds = %92
  br label %95

95:                                               ; preds = %94
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = load i64, ptr %9, align 8, !tbaa !11
  %98 = getelementptr inbounds i8, ptr @input_data, i64 %97
  %99 = load i64, ptr %9, align 8, !tbaa !11
  %100 = sub i64 100, %99
  %101 = trunc i64 %100 to i32
  %102 = call i32 @s2n_hash_update(ptr noundef %96, ptr noundef %98, i32 noundef %101)
  %103 = icmp sgt i32 %102, -1
  br i1 %103, label %106, label %104

104:                                              ; preds = %95
  %105 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %105, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %151

106:                                              ; preds = %95
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.s2n_hash_state, ptr %110, i32 0, i32 3
  %112 = load i64, ptr %111, align 8, !tbaa !15
  %113 = icmp eq i64 %112, 100
  br i1 %113, label %148, label %114

114:                                              ; preds = %109
  br label %115

115:                                              ; preds = %114
  br label %116

116:                                              ; preds = %115
  %117 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %118 = getelementptr inbounds %struct.s2n_debug_info, ptr %117, i32 0, i32 0
  store ptr @.str.9, ptr %118, align 8, !tbaa !17
  %119 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %120 = getelementptr inbounds %struct.s2n_debug_info, ptr %119, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8, !tbaa !17
  %122 = getelementptr inbounds i8, ptr %121, i64 21
  %123 = call ptr @strrchr(ptr noundef %122, i32 noundef 47) #7
  %124 = icmp ne ptr %123, null
  br i1 %124, label %125, label %132

125:                                              ; preds = %116
  %126 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %127 = getelementptr inbounds %struct.s2n_debug_info, ptr %126, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8, !tbaa !17
  %129 = getelementptr inbounds i8, ptr %128, i64 21
  %130 = call ptr @strrchr(ptr noundef %129, i32 noundef 47) #7
  %131 = getelementptr inbounds i8, ptr %130, i64 1
  br label %137

132:                                              ; preds = %116
  %133 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %134 = getelementptr inbounds %struct.s2n_debug_info, ptr %133, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !17
  %136 = getelementptr inbounds i8, ptr %135, i64 21
  br label %137

137:                                              ; preds = %132, %125
  %138 = phi ptr [ %131, %125 ], [ %136, %132 ]
  %139 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %140 = getelementptr inbounds %struct.s2n_debug_info, ptr %139, i32 0, i32 1
  store ptr %138, ptr %140, align 8, !tbaa !19
  %141 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %141, align 4, !tbaa !9
  %142 = call i32 @s2n_calculate_stacktrace()
  br label %143

143:                                              ; preds = %137
  br label %144

144:                                              ; preds = %143
  %145 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %145, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %151

146:                                              ; No predecessors!
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147, %109
  br label %149

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  store i32 0, ptr %11, align 4
  br label %151

151:                                              ; preds = %150, %144, %104, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #6
  %152 = load i32, ptr %11, align 4
  switch i32 %152, label %544 [
    i32 0, label %153
    i32 1, label %541
  ]

153:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 56, ptr %12) #6
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 56, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #6
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 100, ptr %14) #6
  call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 100, i1 false)
  br label %154

154:                                              ; preds = %153
  %155 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
  %156 = call i32 @s2n_blob_init(ptr noundef %13, ptr noundef %155, i32 noundef 100)
  %157 = icmp sgt i32 %156, -1
  br i1 %157, label %160, label %158

158:                                              ; preds = %154
  %159 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %159, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %270

160:                                              ; preds = %154
  br label %161

161:                                              ; preds = %160
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162
  %164 = call i32 @s2n_hash_new(ptr noundef %12)
  %165 = icmp sgt i32 %164, -1
  br i1 %165, label %168, label %166

166:                                              ; preds = %163
  %167 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %167, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %270

168:                                              ; preds = %163
  br label %169

169:                                              ; preds = %168
  br label %170

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170
  %172 = load ptr, ptr %5, align 8, !tbaa !5
  %173 = call i32 @s2n_hash_copy(ptr noundef %12, ptr noundef %172)
  %174 = icmp sgt i32 %173, -1
  br i1 %174, label %177, label %175

175:                                              ; preds = %171
  %176 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %176, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %270

177:                                              ; preds = %171
  br label %178

178:                                              ; preds = %177
  br label %179

179:                                              ; preds = %178
  br label %180

180:                                              ; preds = %179
  %181 = getelementptr inbounds %struct.s2n_hash_state, ptr %12, i32 0, i32 3
  %182 = load i64, ptr %181, align 8, !tbaa !15
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.s2n_hash_state, ptr %183, i32 0, i32 3
  %185 = load i64, ptr %184, align 8, !tbaa !15
  %186 = icmp eq i64 %182, %185
  br i1 %186, label %221, label %187

187:                                              ; preds = %180
  br label %188

188:                                              ; preds = %187
  br label %189

189:                                              ; preds = %188
  %190 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %191 = getelementptr inbounds %struct.s2n_debug_info, ptr %190, i32 0, i32 0
  store ptr @.str.10, ptr %191, align 8, !tbaa !17
  %192 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %193 = getelementptr inbounds %struct.s2n_debug_info, ptr %192, i32 0, i32 0
  %194 = load ptr, ptr %193, align 8, !tbaa !17
  %195 = getelementptr inbounds i8, ptr %194, i64 21
  %196 = call ptr @strrchr(ptr noundef %195, i32 noundef 47) #7
  %197 = icmp ne ptr %196, null
  br i1 %197, label %198, label %205

198:                                              ; preds = %189
  %199 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %200 = getelementptr inbounds %struct.s2n_debug_info, ptr %199, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8, !tbaa !17
  %202 = getelementptr inbounds i8, ptr %201, i64 21
  %203 = call ptr @strrchr(ptr noundef %202, i32 noundef 47) #7
  %204 = getelementptr inbounds i8, ptr %203, i64 1
  br label %210

205:                                              ; preds = %189
  %206 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %207 = getelementptr inbounds %struct.s2n_debug_info, ptr %206, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8, !tbaa !17
  %209 = getelementptr inbounds i8, ptr %208, i64 21
  br label %210

210:                                              ; preds = %205, %198
  %211 = phi ptr [ %204, %198 ], [ %209, %205 ]
  %212 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %213 = getelementptr inbounds %struct.s2n_debug_info, ptr %212, i32 0, i32 1
  store ptr %211, ptr %213, align 8, !tbaa !19
  %214 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %214, align 4, !tbaa !9
  %215 = call i32 @s2n_calculate_stacktrace()
  br label %216

216:                                              ; preds = %210
  br label %217

217:                                              ; preds = %216
  %218 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %218, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %270

219:                                              ; No predecessors!
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220, %180
  br label %222

222:                                              ; preds = %221
  br label %223

223:                                              ; preds = %222
  br label %224

224:                                              ; preds = %223
  %225 = getelementptr inbounds %struct.s2n_hash_state, ptr %12, i32 0, i32 2
  %226 = load i8, ptr %225, align 4, !tbaa !22
  %227 = zext i8 %226 to i32
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.s2n_hash_state, ptr %228, i32 0, i32 2
  %230 = load i8, ptr %229, align 4, !tbaa !22
  %231 = zext i8 %230 to i32
  %232 = icmp eq i32 %227, %231
  br i1 %232, label %267, label %233

233:                                              ; preds = %224
  br label %234

234:                                              ; preds = %233
  br label %235

235:                                              ; preds = %234
  %236 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %237 = getelementptr inbounds %struct.s2n_debug_info, ptr %236, i32 0, i32 0
  store ptr @.str.11, ptr %237, align 8, !tbaa !17
  %238 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %239 = getelementptr inbounds %struct.s2n_debug_info, ptr %238, i32 0, i32 0
  %240 = load ptr, ptr %239, align 8, !tbaa !17
  %241 = getelementptr inbounds i8, ptr %240, i64 21
  %242 = call ptr @strrchr(ptr noundef %241, i32 noundef 47) #7
  %243 = icmp ne ptr %242, null
  br i1 %243, label %244, label %251

244:                                              ; preds = %235
  %245 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %246 = getelementptr inbounds %struct.s2n_debug_info, ptr %245, i32 0, i32 0
  %247 = load ptr, ptr %246, align 8, !tbaa !17
  %248 = getelementptr inbounds i8, ptr %247, i64 21
  %249 = call ptr @strrchr(ptr noundef %248, i32 noundef 47) #7
  %250 = getelementptr inbounds i8, ptr %249, i64 1
  br label %256

251:                                              ; preds = %235
  %252 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %253 = getelementptr inbounds %struct.s2n_debug_info, ptr %252, i32 0, i32 0
  %254 = load ptr, ptr %253, align 8, !tbaa !17
  %255 = getelementptr inbounds i8, ptr %254, i64 21
  br label %256

256:                                              ; preds = %251, %244
  %257 = phi ptr [ %250, %244 ], [ %255, %251 ]
  %258 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %259 = getelementptr inbounds %struct.s2n_debug_info, ptr %258, i32 0, i32 1
  store ptr %257, ptr %259, align 8, !tbaa !19
  %260 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %260, align 4, !tbaa !9
  %261 = call i32 @s2n_calculate_stacktrace()
  br label %262

262:                                              ; preds = %256
  br label %263

263:                                              ; preds = %262
  %264 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %264, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %270

265:                                              ; No predecessors!
  br label %266

266:                                              ; preds = %265
  br label %267

267:                                              ; preds = %266, %224
  br label %268

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268
  store i32 0, ptr %11, align 4
  br label %270

270:                                              ; preds = %269, %263, %217, %175, %166, %158
  call void @llvm.lifetime.end.p0(i64 100, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  %271 = load i32, ptr %11, align 4
  switch i32 %271, label %540 [
    i32 0, label %272
  ]

272:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  store i8 0, ptr %15, align 1, !tbaa !23
  br label %273

273:                                              ; preds = %272
  %274 = load i32, ptr %6, align 4, !tbaa !9
  %275 = call i32 @s2n_hash_digest_size(i32 noundef %274, ptr noundef %15)
  %276 = icmp sgt i32 %275, -1
  br i1 %276, label %279, label %277

277:                                              ; preds = %273
  %278 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %278, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %528

279:                                              ; preds = %273
  br label %280

280:                                              ; preds = %279
  br label %281

281:                                              ; preds = %280
  %282 = load i8, ptr %15, align 1, !tbaa !23
  %283 = zext i8 %282 to i32
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.s2n_blob, ptr %284, i32 0, i32 1
  store i32 %283, ptr %285, align 8, !tbaa !24
  br label %286

286:                                              ; preds = %281
  %287 = load ptr, ptr %5, align 8, !tbaa !5
  %288 = load ptr, ptr %7, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.s2n_blob, ptr %288, i32 0, i32 0
  %290 = load ptr, ptr %289, align 8, !tbaa !26
  %291 = load i8, ptr %15, align 1, !tbaa !23
  %292 = zext i8 %291 to i32
  %293 = call i32 @s2n_hash_digest(ptr noundef %287, ptr noundef %290, i32 noundef %292)
  %294 = icmp sgt i32 %293, -1
  br i1 %294, label %297, label %295

295:                                              ; preds = %286
  %296 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %296, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %528

297:                                              ; preds = %286
  br label %298

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298
  br label %300

300:                                              ; preds = %299
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.s2n_hash_state, ptr %301, i32 0, i32 3
  %303 = load i64, ptr %302, align 8, !tbaa !15
  %304 = icmp eq i64 %303, 0
  br i1 %304, label %339, label %305

305:                                              ; preds = %300
  br label %306

306:                                              ; preds = %305
  br label %307

307:                                              ; preds = %306
  %308 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %309 = getelementptr inbounds %struct.s2n_debug_info, ptr %308, i32 0, i32 0
  store ptr @.str.12, ptr %309, align 8, !tbaa !17
  %310 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %311 = getelementptr inbounds %struct.s2n_debug_info, ptr %310, i32 0, i32 0
  %312 = load ptr, ptr %311, align 8, !tbaa !17
  %313 = getelementptr inbounds i8, ptr %312, i64 21
  %314 = call ptr @strrchr(ptr noundef %313, i32 noundef 47) #7
  %315 = icmp ne ptr %314, null
  br i1 %315, label %316, label %323

316:                                              ; preds = %307
  %317 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %318 = getelementptr inbounds %struct.s2n_debug_info, ptr %317, i32 0, i32 0
  %319 = load ptr, ptr %318, align 8, !tbaa !17
  %320 = getelementptr inbounds i8, ptr %319, i64 21
  %321 = call ptr @strrchr(ptr noundef %320, i32 noundef 47) #7
  %322 = getelementptr inbounds i8, ptr %321, i64 1
  br label %328

323:                                              ; preds = %307
  %324 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %325 = getelementptr inbounds %struct.s2n_debug_info, ptr %324, i32 0, i32 0
  %326 = load ptr, ptr %325, align 8, !tbaa !17
  %327 = getelementptr inbounds i8, ptr %326, i64 21
  br label %328

328:                                              ; preds = %323, %316
  %329 = phi ptr [ %322, %316 ], [ %327, %323 ]
  %330 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %331 = getelementptr inbounds %struct.s2n_debug_info, ptr %330, i32 0, i32 1
  store ptr %329, ptr %331, align 8, !tbaa !19
  %332 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %332, align 4, !tbaa !9
  %333 = call i32 @s2n_calculate_stacktrace()
  br label %334

334:                                              ; preds = %328
  br label %335

335:                                              ; preds = %334
  %336 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %336, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %528

337:                                              ; No predecessors!
  br label %338

338:                                              ; preds = %337
  br label %339

339:                                              ; preds = %338, %300
  br label %340

340:                                              ; preds = %339
  br label %341

341:                                              ; preds = %340
  br label %342

342:                                              ; preds = %341
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.s2n_hash_state, ptr %343, i32 0, i32 2
  %345 = load i8, ptr %344, align 4, !tbaa !22
  %346 = zext i8 %345 to i32
  %347 = icmp eq i32 %346, 0
  br i1 %347, label %382, label %348

348:                                              ; preds = %342
  br label %349

349:                                              ; preds = %348
  br label %350

350:                                              ; preds = %349
  %351 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %352 = getelementptr inbounds %struct.s2n_debug_info, ptr %351, i32 0, i32 0
  store ptr @.str.13, ptr %352, align 8, !tbaa !17
  %353 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %354 = getelementptr inbounds %struct.s2n_debug_info, ptr %353, i32 0, i32 0
  %355 = load ptr, ptr %354, align 8, !tbaa !17
  %356 = getelementptr inbounds i8, ptr %355, i64 21
  %357 = call ptr @strrchr(ptr noundef %356, i32 noundef 47) #7
  %358 = icmp ne ptr %357, null
  br i1 %358, label %359, label %366

359:                                              ; preds = %350
  %360 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %361 = getelementptr inbounds %struct.s2n_debug_info, ptr %360, i32 0, i32 0
  %362 = load ptr, ptr %361, align 8, !tbaa !17
  %363 = getelementptr inbounds i8, ptr %362, i64 21
  %364 = call ptr @strrchr(ptr noundef %363, i32 noundef 47) #7
  %365 = getelementptr inbounds i8, ptr %364, i64 1
  br label %371

366:                                              ; preds = %350
  %367 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %368 = getelementptr inbounds %struct.s2n_debug_info, ptr %367, i32 0, i32 0
  %369 = load ptr, ptr %368, align 8, !tbaa !17
  %370 = getelementptr inbounds i8, ptr %369, i64 21
  br label %371

371:                                              ; preds = %366, %359
  %372 = phi ptr [ %365, %359 ], [ %370, %366 ]
  %373 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %374 = getelementptr inbounds %struct.s2n_debug_info, ptr %373, i32 0, i32 1
  store ptr %372, ptr %374, align 8, !tbaa !19
  %375 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %375, align 4, !tbaa !9
  %376 = call i32 @s2n_calculate_stacktrace()
  br label %377

377:                                              ; preds = %371
  br label %378

378:                                              ; preds = %377
  %379 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %379, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %528

380:                                              ; No predecessors!
  br label %381

381:                                              ; preds = %380
  br label %382

382:                                              ; preds = %381, %342
  br label %383

383:                                              ; preds = %382
  br label %384

384:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 100, ptr %16) #6
  call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 100, i1 false)
  br label %385

385:                                              ; preds = %384
  %386 = getelementptr inbounds [100 x i8], ptr %16, i64 0, i64 0
  %387 = load i8, ptr %15, align 1, !tbaa !23
  %388 = zext i8 %387 to i32
  %389 = call i32 @s2n_hash_digest(ptr noundef %12, ptr noundef %386, i32 noundef %388)
  %390 = icmp sgt i32 %389, -1
  br i1 %390, label %393, label %391

391:                                              ; preds = %385
  %392 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %392, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %527

393:                                              ; preds = %385
  br label %394

394:                                              ; preds = %393
  br label %395

395:                                              ; preds = %394
  br label %396

396:                                              ; preds = %395
  %397 = load ptr, ptr %5, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.s2n_hash_state, ptr %397, i32 0, i32 3
  %399 = load i64, ptr %398, align 8, !tbaa !15
  %400 = icmp eq i64 %399, 0
  br i1 %400, label %435, label %401

401:                                              ; preds = %396
  br label %402

402:                                              ; preds = %401
  br label %403

403:                                              ; preds = %402
  %404 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %405 = getelementptr inbounds %struct.s2n_debug_info, ptr %404, i32 0, i32 0
  store ptr @.str.14, ptr %405, align 8, !tbaa !17
  %406 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %407 = getelementptr inbounds %struct.s2n_debug_info, ptr %406, i32 0, i32 0
  %408 = load ptr, ptr %407, align 8, !tbaa !17
  %409 = getelementptr inbounds i8, ptr %408, i64 21
  %410 = call ptr @strrchr(ptr noundef %409, i32 noundef 47) #7
  %411 = icmp ne ptr %410, null
  br i1 %411, label %412, label %419

412:                                              ; preds = %403
  %413 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %414 = getelementptr inbounds %struct.s2n_debug_info, ptr %413, i32 0, i32 0
  %415 = load ptr, ptr %414, align 8, !tbaa !17
  %416 = getelementptr inbounds i8, ptr %415, i64 21
  %417 = call ptr @strrchr(ptr noundef %416, i32 noundef 47) #7
  %418 = getelementptr inbounds i8, ptr %417, i64 1
  br label %424

419:                                              ; preds = %403
  %420 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %421 = getelementptr inbounds %struct.s2n_debug_info, ptr %420, i32 0, i32 0
  %422 = load ptr, ptr %421, align 8, !tbaa !17
  %423 = getelementptr inbounds i8, ptr %422, i64 21
  br label %424

424:                                              ; preds = %419, %412
  %425 = phi ptr [ %418, %412 ], [ %423, %419 ]
  %426 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %427 = getelementptr inbounds %struct.s2n_debug_info, ptr %426, i32 0, i32 1
  store ptr %425, ptr %427, align 8, !tbaa !19
  %428 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %428, align 4, !tbaa !9
  %429 = call i32 @s2n_calculate_stacktrace()
  br label %430

430:                                              ; preds = %424
  br label %431

431:                                              ; preds = %430
  %432 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %432, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %527

433:                                              ; No predecessors!
  br label %434

434:                                              ; preds = %433
  br label %435

435:                                              ; preds = %434, %396
  br label %436

436:                                              ; preds = %435
  br label %437

437:                                              ; preds = %436
  br label %438

438:                                              ; preds = %437
  %439 = load ptr, ptr %5, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.s2n_hash_state, ptr %439, i32 0, i32 2
  %441 = load i8, ptr %440, align 4, !tbaa !22
  %442 = zext i8 %441 to i32
  %443 = icmp eq i32 %442, 0
  br i1 %443, label %478, label %444

444:                                              ; preds = %438
  br label %445

445:                                              ; preds = %444
  br label %446

446:                                              ; preds = %445
  %447 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %448 = getelementptr inbounds %struct.s2n_debug_info, ptr %447, i32 0, i32 0
  store ptr @.str.15, ptr %448, align 8, !tbaa !17
  %449 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %450 = getelementptr inbounds %struct.s2n_debug_info, ptr %449, i32 0, i32 0
  %451 = load ptr, ptr %450, align 8, !tbaa !17
  %452 = getelementptr inbounds i8, ptr %451, i64 21
  %453 = call ptr @strrchr(ptr noundef %452, i32 noundef 47) #7
  %454 = icmp ne ptr %453, null
  br i1 %454, label %455, label %462

455:                                              ; preds = %446
  %456 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %457 = getelementptr inbounds %struct.s2n_debug_info, ptr %456, i32 0, i32 0
  %458 = load ptr, ptr %457, align 8, !tbaa !17
  %459 = getelementptr inbounds i8, ptr %458, i64 21
  %460 = call ptr @strrchr(ptr noundef %459, i32 noundef 47) #7
  %461 = getelementptr inbounds i8, ptr %460, i64 1
  br label %467

462:                                              ; preds = %446
  %463 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %464 = getelementptr inbounds %struct.s2n_debug_info, ptr %463, i32 0, i32 0
  %465 = load ptr, ptr %464, align 8, !tbaa !17
  %466 = getelementptr inbounds i8, ptr %465, i64 21
  br label %467

467:                                              ; preds = %462, %455
  %468 = phi ptr [ %461, %455 ], [ %466, %462 ]
  %469 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %470 = getelementptr inbounds %struct.s2n_debug_info, ptr %469, i32 0, i32 1
  store ptr %468, ptr %470, align 8, !tbaa !19
  %471 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %471, align 4, !tbaa !9
  %472 = call i32 @s2n_calculate_stacktrace()
  br label %473

473:                                              ; preds = %467
  br label %474

474:                                              ; preds = %473
  %475 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %475, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %527

476:                                              ; No predecessors!
  br label %477

477:                                              ; preds = %476
  br label %478

478:                                              ; preds = %477, %438
  br label %479

479:                                              ; preds = %478
  br label %480

480:                                              ; preds = %479
  br label %481

481:                                              ; preds = %480
  %482 = load ptr, ptr %7, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.s2n_blob, ptr %482, i32 0, i32 0
  %484 = load ptr, ptr %483, align 8, !tbaa !26
  %485 = getelementptr inbounds [100 x i8], ptr %16, i64 0, i64 0
  %486 = load i8, ptr %15, align 1, !tbaa !23
  %487 = zext i8 %486 to i64
  %488 = call i32 @memcmp(ptr noundef %484, ptr noundef %485, i64 noundef %487) #7
  %489 = icmp eq i32 %488, 0
  br i1 %489, label %524, label %490

490:                                              ; preds = %481
  br label %491

491:                                              ; preds = %490
  br label %492

492:                                              ; preds = %491
  %493 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %494 = getelementptr inbounds %struct.s2n_debug_info, ptr %493, i32 0, i32 0
  store ptr @.str.16, ptr %494, align 8, !tbaa !17
  %495 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %496 = getelementptr inbounds %struct.s2n_debug_info, ptr %495, i32 0, i32 0
  %497 = load ptr, ptr %496, align 8, !tbaa !17
  %498 = getelementptr inbounds i8, ptr %497, i64 21
  %499 = call ptr @strrchr(ptr noundef %498, i32 noundef 47) #7
  %500 = icmp ne ptr %499, null
  br i1 %500, label %501, label %508

501:                                              ; preds = %492
  %502 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %503 = getelementptr inbounds %struct.s2n_debug_info, ptr %502, i32 0, i32 0
  %504 = load ptr, ptr %503, align 8, !tbaa !17
  %505 = getelementptr inbounds i8, ptr %504, i64 21
  %506 = call ptr @strrchr(ptr noundef %505, i32 noundef 47) #7
  %507 = getelementptr inbounds i8, ptr %506, i64 1
  br label %513

508:                                              ; preds = %492
  %509 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %510 = getelementptr inbounds %struct.s2n_debug_info, ptr %509, i32 0, i32 0
  %511 = load ptr, ptr %510, align 8, !tbaa !17
  %512 = getelementptr inbounds i8, ptr %511, i64 21
  br label %513

513:                                              ; preds = %508, %501
  %514 = phi ptr [ %507, %501 ], [ %512, %508 ]
  %515 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  %516 = getelementptr inbounds %struct.s2n_debug_info, ptr %515, i32 0, i32 1
  store ptr %514, ptr %516, align 8, !tbaa !19
  %517 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %517, align 4, !tbaa !9
  %518 = call i32 @s2n_calculate_stacktrace()
  br label %519

519:                                              ; preds = %513
  br label %520

520:                                              ; preds = %519
  %521 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %521, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %527

522:                                              ; No predecessors!
  br label %523

523:                                              ; preds = %522
  br label %524

524:                                              ; preds = %523, %481
  br label %525

525:                                              ; preds = %524
  br label %526

526:                                              ; preds = %525
  store i32 0, ptr %11, align 4
  br label %527

527:                                              ; preds = %526, %520, %474, %431, %391
  call void @llvm.lifetime.end.p0(i64 100, ptr %16) #6
  br label %528

528:                                              ; preds = %527, %378, %335, %295, %277
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  %529 = load i32, ptr %11, align 4
  switch i32 %529, label %540 [
    i32 0, label %530
  ]

530:                                              ; preds = %528
  br label %531

531:                                              ; preds = %530
  %532 = call i32 @s2n_hash_free(ptr noundef %12)
  %533 = icmp sgt i32 %532, -1
  br i1 %533, label %536, label %534

534:                                              ; preds = %531
  %535 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 -1, ptr %535, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %540

536:                                              ; preds = %531
  br label %537

537:                                              ; preds = %536
  br label %538

538:                                              ; preds = %537
  %539 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  store i32 0, ptr %539, align 4, !tbaa !13
  store i32 1, ptr %11, align 4
  br label %540

540:                                              ; preds = %538, %534, %528, %270
  call void @llvm.lifetime.end.p0(i64 56, ptr %12) #6
  br label %541

541:                                              ; preds = %540, %151
  %542 = getelementptr inbounds %struct.s2n_result, ptr %4, i32 0, i32 0
  %543 = load i32, ptr %542, align 4
  ret i32 %543

544:                                              ; preds = %151
  unreachable
}

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #4

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strrchr(ptr noundef, i32 noundef) #5

declare i32 @s2n_calculate_stacktrace() #3

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

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

declare i32 @s2n_hash_new(ptr noundef) #3

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

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

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

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

declare i32 @s2n_hash_free(ptr noundef) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind willreturn memory(read) "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 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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, !10, i64 0}
!14 = !{!"", !10, i64 0}
!15 = !{!16, !12, i64 16}
!16 = !{!"s2n_hash_state", !6, i64 0, !10, i64 8, !7, i64 12, !12, i64 16, !7, i64 24}
!17 = !{!18, !6, i64 0}
!18 = !{!"s2n_debug_info", !6, i64 0, !6, i64 8}
!19 = !{!18, !6, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!16, !7, i64 12}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !10, i64 8}
!25 = !{!"s2n_blob", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!26 = !{!25, !6, 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.s2n_debug_info = type { ptr, ptr }
%struct.s2n_hash_state = type { ptr, i32, i8, i64, %union.anon }
%union.anon = type { %struct.s2n_hash_evp_digest }
%struct.s2n_hash_evp_digest = type { %struct.s2n_evp_digest, %struct.s2n_evp_digest }
%struct.s2n_evp_digest = type { ptr, ptr }
%struct.s2n_blob = type { ptr, i32, i32, i8 }

@input_data = external dso_local constant [100 x i8], align 16
@.str.8 = external hidden unnamed_addr constant [105 x i8], align 1
@_s2n_debug_info = external thread_local local_unnamed_addr global %struct.s2n_debug_info, align 8
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.9 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [105 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_hash_test_state(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
  %4 = alloca %struct.s2n_hash_state, align 8
  %5 = alloca %struct.s2n_blob, align 8
  %6 = alloca [100 x i8], align 16
  %7 = alloca i8, align 1
  %8 = alloca [100 x i8], align 16
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %10 = tail call i32 @s2n_hash_update(ptr noundef %0, ptr noundef nonnull @input_data, i32 noundef 1) #7
  %11 = icmp sgt i32 %10, -1
  br i1 %11, label %39, label %.thread58

12:                                               ; preds = %39
  %13 = tail call i32 @s2n_hash_update(ptr noundef nonnull %0, ptr noundef nonnull getelementptr inbounds (i8, ptr @input_data, i64 1), i32 noundef 0) #7
  %14 = icmp sgt i32 %13, -1
  br i1 %14, label %15, label %.thread58

15:                                               ; preds = %12
  %16 = load i64, ptr %9, align 8, !tbaa !5
  %17 = icmp eq i64 %16, 1
  br i1 %17, label %18, label %42

18:                                               ; preds = %15
  %19 = tail call i32 @s2n_hash_update(ptr noundef nonnull %0, ptr noundef nonnull getelementptr inbounds (i8, ptr @input_data, i64 1), i32 noundef 10) #7
  %20 = icmp sgt i32 %19, -1
  br i1 %20, label %21, label %.thread58

21:                                               ; preds = %18
  %22 = load i64, ptr %9, align 8, !tbaa !5
  %23 = icmp eq i64 %22, 11
  br i1 %23, label %24, label %42

24:                                               ; preds = %21
  %25 = tail call i32 @s2n_hash_update(ptr noundef nonnull %0, ptr noundef nonnull getelementptr inbounds (i8, ptr @input_data, i64 11), i32 noundef 17) #7
  %26 = icmp sgt i32 %25, -1
  br i1 %26, label %27, label %.thread58

27:                                               ; preds = %24
  %28 = load i64, ptr %9, align 8, !tbaa !5
  %29 = icmp eq i64 %28, 28
  br i1 %29, label %30, label %42

30:                                               ; preds = %27
  %31 = tail call i32 @s2n_hash_update(ptr noundef nonnull %0, ptr noundef nonnull getelementptr inbounds (i8, ptr @input_data, i64 28), i32 noundef 31) #7
  %32 = icmp sgt i32 %31, -1
  br i1 %32, label %33, label %.thread58

33:                                               ; preds = %30
  %34 = load i64, ptr %9, align 8, !tbaa !5
  %35 = icmp eq i64 %34, 59
  br i1 %35, label %36, label %42

36:                                               ; preds = %33
  %37 = tail call i32 @s2n_hash_update(ptr noundef nonnull %0, ptr noundef nonnull getelementptr inbounds (i8, ptr @input_data, i64 59), i32 noundef 41) #7
  %38 = icmp sgt i32 %37, -1
  br i1 %38, label %50, label %.thread58

39:                                               ; preds = %3
  %40 = load i64, ptr %9, align 8, !tbaa !5
  %41 = icmp eq i64 %40, 1
  br i1 %41, label %12, label %42

42:                                               ; preds = %33, %27, %21, %15, %39
  %43 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.8, ptr %43, align 8, !tbaa !12
  %44 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.8, i64 21), i32 noundef 47) #8
  %.not = icmp eq ptr %44, null
  %45 = getelementptr inbounds i8, ptr %44, i64 1
  %46 = select i1 %.not, ptr getelementptr inbounds (i8, ptr @.str.8, i64 21), ptr %45
  %47 = getelementptr inbounds i8, ptr %43, i64 8
  store ptr %46, ptr %47, align 8, !tbaa !14
  %48 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %48, align 4, !tbaa !15
  %49 = tail call i32 @s2n_calculate_stacktrace() #7
  br label %.thread58

50:                                               ; preds = %36
  %51 = load i64, ptr %9, align 8, !tbaa !5
  %52 = icmp eq i64 %51, 100
  br i1 %52, label %61, label %53

53:                                               ; preds = %50
  %54 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr @.str.9, ptr %54, align 8, !tbaa !12
  %55 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @.str.9, i64 21), i32 noundef 47) #8
  %.not44 = icmp eq ptr %55, null
  %56 = getelementptr inbounds i8, ptr %55, i64 1
  %57 = select i1 %.not44, ptr getelementptr inbounds (i8, ptr @.str.9, i64 21), ptr %56
  %58 = getelementptr inbounds i8, ptr %54, i64 8
  store ptr %57, ptr %58, align 8, !tbaa !14
  %59 = tail call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %59, align 4, !tbaa !15
  %60 = tail call i32 @s2n_calculate_stacktrace() #7
  br label %.thread58

61:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %4, i8 0, i64 56, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %5, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %6) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(100) %6, i8 0, i64 100, i1 false)
  %62 = call i32 @s2n_blob_init(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef 100) #7
  %63 = icmp sgt i32 %62, -1
  br i1 %63, label %64, label %.critedge

64:                                               ; preds = %61
  %65 = call i32 @s2n_hash_new(ptr noundef nonnull %4) #7
  %66 = icmp sgt i32 %65, -1
  br i1 %66, label %67, label %.critedge

67:                                               ; preds = %64
  %68 = call i32 @s2n_hash_copy(ptr noundef nonnull %4, ptr noundef nonnull %0) #7
  %69 = icmp sgt i32 %68, -1
  br i1 %69, label %70, label %.critedge

70:                                               ; preds = %67
  %71 = getelementptr inbounds i8, ptr %4, i64 16
  %72 = load i64, ptr %71, align 8, !tbaa !5
  %73 = load i64, ptr %9, align 8, !tbaa !5
  %74 = icmp eq i64 %72, %73
  br i1 %74, label %75, label %.critedge.sink.split

75:                                               ; preds = %70
  %76 = getelementptr inbounds i8, ptr %4, i64 12
  %77 = load i8, ptr %76, align 4, !tbaa !16
  %78 = getelementptr inbounds i8, ptr %0, i64 12
  %79 = load i8, ptr %78, align 4, !tbaa !16
  %80 = icmp eq i8 %77, %79
  br i1 %80, label %81, label %.critedge.sink.split

81:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  store i8 0, ptr %7, align 1, !tbaa !17
  %82 = call i32 @s2n_hash_digest_size(i32 noundef %1, ptr noundef nonnull %7) #7
  %83 = icmp sgt i32 %82, -1
  br i1 %83, label %84, label %.critedge53

84:                                               ; preds = %81
  %85 = load i8, ptr %7, align 1, !tbaa !17
  %86 = zext i8 %85 to i32
  %87 = getelementptr inbounds i8, ptr %2, i64 8
  store i32 %86, ptr %87, align 8, !tbaa !18
  %88 = load ptr, ptr %2, align 8, !tbaa !20
  %89 = call i32 @s2n_hash_digest(ptr noundef nonnull %0, ptr noundef %88, i32 noundef %86) #7
  %90 = icmp sgt i32 %89, -1
  br i1 %90, label %91, label %.critedge53

91:                                               ; preds = %84
  %92 = load i64, ptr %9, align 8, !tbaa !5
  %93 = icmp eq i64 %92, 0
  br i1 %93, label %94, label %.critedge53.sink.split

94:                                               ; preds = %91
  %95 = load i8, ptr %78, align 4, !tbaa !16
  %96 = icmp eq i8 %95, 0
  br i1 %96, label %97, label %.critedge53.sink.split

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %8) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(100) %8, i8 0, i64 100, i1 false)
  %98 = load i8, ptr %7, align 1, !tbaa !17
  %99 = zext i8 %98 to i32
  %100 = call i32 @s2n_hash_digest(ptr noundef nonnull %4, ptr noundef nonnull %8, i32 noundef %99) #7
  %101 = icmp sgt i32 %100, -1
  br i1 %101, label %102, label %.critedge55

102:                                              ; preds = %97
  %103 = load i64, ptr %9, align 8, !tbaa !5
  %104 = icmp eq i64 %103, 0
  br i1 %104, label %105, label %.critedge55.sink.split

105:                                              ; preds = %102
  %106 = load i8, ptr %78, align 4, !tbaa !16
  %107 = icmp eq i8 %106, 0
  br i1 %107, label %108, label %.critedge55.sink.split

108:                                              ; preds = %105
  %109 = load ptr, ptr %2, align 8, !tbaa !20
  %110 = load i8, ptr %7, align 1, !tbaa !17
  %111 = zext i8 %110 to i64
  %bcmp = call i32 @bcmp(ptr %109, ptr nonnull %8, i64 %111)
  %112 = icmp eq i32 %bcmp, 0
  br i1 %112, label %113, label %.critedge55.sink.split

113:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  %114 = call i32 @s2n_hash_free(ptr noundef nonnull %4) #7
  %.lobit = ashr i32 %114, 31
  br label %136

.critedge.sink.split:                             ; preds = %75, %70
  %.str.10.sink = phi ptr [ @.str.10, %70 ], [ @.str.11, %75 ]
  %.sink71 = phi ptr [ getelementptr inbounds (i8, ptr @.str.10, i64 21), %70 ], [ getelementptr inbounds (i8, ptr @.str.11, i64 21), %75 ]
  %115 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.10.sink, ptr %115, align 8, !tbaa !12
  %116 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink71, i32 noundef 47) #8
  %.not45 = icmp eq ptr %116, null
  %117 = getelementptr inbounds i8, ptr %116, i64 1
  %118 = select i1 %.not45, ptr %.sink71, ptr %117
  %119 = getelementptr inbounds i8, ptr %115, i64 8
  store ptr %118, ptr %119, align 8, !tbaa !14
  %120 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %120, align 4, !tbaa !15
  %121 = call i32 @s2n_calculate_stacktrace() #7
  br label %.critedge

.critedge:                                        ; preds = %.critedge.sink.split, %67, %64, %61
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %136

.critedge53.sink.split:                           ; preds = %94, %91
  %.str.12.sink = phi ptr [ @.str.12, %91 ], [ @.str.13, %94 ]
  %.sink77 = phi ptr [ getelementptr inbounds (i8, ptr @.str.12, i64 21), %91 ], [ getelementptr inbounds (i8, ptr @.str.13, i64 21), %94 ]
  %122 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.12.sink, ptr %122, align 8, !tbaa !12
  %123 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink77, i32 noundef 47) #8
  %.not47 = icmp eq ptr %123, null
  %124 = getelementptr inbounds i8, ptr %123, i64 1
  %125 = select i1 %.not47, ptr %.sink77, ptr %124
  %126 = getelementptr inbounds i8, ptr %122, i64 8
  store ptr %125, ptr %126, align 8, !tbaa !14
  %127 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %127, align 4, !tbaa !15
  %128 = call i32 @s2n_calculate_stacktrace() #7
  br label %.critedge53

.critedge53:                                      ; preds = %.critedge53.sink.split, %84, %81
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %136

.critedge55.sink.split:                           ; preds = %108, %105, %102
  %.str.14.sink = phi ptr [ @.str.14, %102 ], [ @.str.15, %105 ], [ @.str.16, %108 ]
  %.sink83 = phi ptr [ getelementptr inbounds (i8, ptr @.str.14, i64 21), %102 ], [ getelementptr inbounds (i8, ptr @.str.15, i64 21), %105 ], [ getelementptr inbounds (i8, ptr @.str.16, i64 21), %108 ]
  %129 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @_s2n_debug_info)
  store ptr %.str.14.sink, ptr %129, align 8, !tbaa !12
  %130 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %.sink83, i32 noundef 47) #8
  %.not49 = icmp eq ptr %130, null
  %131 = getelementptr inbounds i8, ptr %130, i64 1
  %132 = select i1 %.not49, ptr %.sink83, ptr %131
  %133 = getelementptr inbounds i8, ptr %129, i64 8
  store ptr %132, ptr %133, align 8, !tbaa !14
  %134 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 402653194, ptr %134, align 4, !tbaa !15
  %135 = call i32 @s2n_calculate_stacktrace() #7
  br label %.critedge55

.critedge55:                                      ; preds = %.critedge55.sink.split, %97
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %136

136:                                              ; preds = %.critedge55, %113, %.critedge53, %.critedge
  %.sroa.0.5 = phi i32 [ -1, %.critedge ], [ -1, %.critedge53 ], [ %.lobit, %113 ], [ -1, %.critedge55 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #7
  br label %.thread58

.thread58:                                        ; preds = %42, %36, %53, %30, %24, %18, %12, %3, %136
  %.sroa.0.6 = phi i32 [ %.sroa.0.5, %136 ], [ -1, %3 ], [ -1, %12 ], [ -1, %18 ], [ -1, %24 ], [ -1, %30 ], [ -1, %53 ], [ -1, %36 ], [ -1, %42 ]
  ret i32 %.sroa.0.6
}

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strrchr(ptr noundef, i32 noundef) local_unnamed_addr #5

declare i32 @s2n_calculate_stacktrace() local_unnamed_addr #3

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

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

declare i32 @s2n_hash_new(ptr noundef) local_unnamed_addr #3

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

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

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

declare i32 @s2n_hash_free(ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #6

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nofree nounwind willreturn memory(argmem: read) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

!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, !11, i64 16}
!6 = !{!"s2n_hash_state", !7, i64 0, !10, i64 8, !8, i64 12, !11, i64 16, !8, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"s2n_debug_info", !7, i64 0, !7, i64 8}
!14 = !{!13, !7, i64 8}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !8, i64 12}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !10, i64 8}
!19 = !{!"s2n_blob", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!20 = !{!19, !7, i64 0}


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