; LLVM IR from ponylang/ponyc :: src/libponyc/pass (syntax)

; 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.pass_opt_t = type { i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i64, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.typecheck_t, ptr, ptr }
%struct.typecheck_t = type { ptr, %struct.typecheck_stats_t, ptr }
%struct.typecheck_stats_t = type { i64, i64, i64, i64 }

@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [75 x i8], align 1
@__func__.pass_syntax = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [58 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @pass_syntax(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = icmp ne ptr %10, null
  br i1 %11, label %12, label %13

12:                                               ; preds = %2
  br label %14

13:                                               ; preds = %2
  call void @ponyint_assert_fail(ptr noundef @.str, ptr noundef @.str.1, i64 noundef 1445, ptr noundef @__func__.pass_syntax)
  br label %14

14:                                               ; preds = %13, %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %16, ptr %5, align 8, !tbaa !5
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %14
  br label %21

20:                                               ; preds = %14
  call void @ponyint_assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i64 noundef 1447, ptr noundef @__func__.pass_syntax)
  br label %21

21:                                               ; preds = %20, %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = call i32 @ast_id(ptr noundef %22)
  store i32 %23, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  %24 = load i32, ptr %6, align 4, !tbaa !9
  switch i32 %24, label %183 [
    i32 23, label %25
    i32 71, label %29
    i32 74, label %33
    i32 75, label %37
    i32 76, label %41
    i32 77, label %45
    i32 73, label %49
    i32 72, label %53
    i32 152, label %57
    i32 17, label %61
    i32 150, label %65
    i32 151, label %69
    i32 122, label %73
    i32 142, label %77
    i32 143, label %81
    i32 63, label %85
    i32 106, label %89
    i32 103, label %93
    i32 104, label %93
    i32 105, label %97
    i32 127, label %97
    i32 85, label %101
    i32 84, label %101
    i32 86, label %105
    i32 163, label %109
    i32 109, label %113
    i32 70, label %117
    i32 174, label %121
    i32 155, label %125
    i32 69, label %129
    i32 128, label %133
    i32 91, label %137
    i32 92, label %137
    i32 93, label %137
    i32 94, label %137
    i32 95, label %137
    i32 96, label %137
    i32 79, label %141
    i32 80, label %141
    i32 78, label %145
    i32 89, label %149
    i32 97, label %153
    i32 98, label %153
    i32 99, label %153
    i32 100, label %153
    i32 101, label %153
    i32 205, label %157
    i32 168, label %161
    i32 167, label %161
    i32 64, label %173
    i32 81, label %179
  ]

25:                                               ; preds = %21
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call i32 @syntax_semi(ptr noundef %26, ptr noundef %27)
  store i32 %28, ptr %7, align 4, !tbaa !9
  br label %184

29:                                               ; preds = %21
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = call i32 @syntax_entity(ptr noundef %30, ptr noundef %31, i32 noundef 6)
  store i32 %32, ptr %7, align 4, !tbaa !9
  br label %184

33:                                               ; preds = %21
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = call i32 @syntax_entity(ptr noundef %34, ptr noundef %35, i32 noundef 3)
  store i32 %36, ptr %7, align 4, !tbaa !9
  br label %184

37:                                               ; preds = %21
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = call i32 @syntax_entity(ptr noundef %38, ptr noundef %39, i32 noundef 2)
  store i32 %40, ptr %7, align 4, !tbaa !9
  br label %184

41:                                               ; preds = %21
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = call i32 @syntax_entity(ptr noundef %42, ptr noundef %43, i32 noundef 1)
  store i32 %44, ptr %7, align 4, !tbaa !9
  br label %184

45:                                               ; preds = %21
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = call i32 @syntax_entity(ptr noundef %46, ptr noundef %47, i32 noundef 0)
  store i32 %48, ptr %7, align 4, !tbaa !9
  br label %184

49:                                               ; preds = %21
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = call i32 @syntax_entity(ptr noundef %50, ptr noundef %51, i32 noundef 4)
  store i32 %52, ptr %7, align 4, !tbaa !9
  br label %184

53:                                               ; preds = %21
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = call i32 @syntax_entity(ptr noundef %54, ptr noundef %55, i32 noundef 5)
  store i32 %56, ptr %7, align 4, !tbaa !9
  br label %184

57:                                               ; preds = %21
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = call i32 @syntax_thistype(ptr noundef %58, ptr noundef %59)
  store i32 %60, ptr %7, align 4, !tbaa !9
  br label %184

61:                                               ; preds = %21
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = call i32 @syntax_arrow(ptr noundef %62, ptr noundef %63)
  store i32 %64, ptr %7, align 4, !tbaa !9
  br label %184

65:                                               ; preds = %21
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = call i32 @syntax_tupletype(ptr noundef %66, ptr noundef %67)
  store i32 %68, ptr %7, align 4, !tbaa !9
  br label %184

69:                                               ; preds = %21
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = call i32 @syntax_nominal(ptr noundef %70, ptr noundef %71)
  store i32 %72, ptr %7, align 4, !tbaa !9
  br label %184

73:                                               ; preds = %21
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = call i32 @syntax_match(ptr noundef %74, ptr noundef %75)
  store i32 %76, ptr %7, align 4, !tbaa !9
  br label %184

77:                                               ; preds = %21
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = call i32 @syntax_ffi_decl(ptr noundef %78, ptr noundef %79)
  store i32 %80, ptr %7, align 4, !tbaa !9
  br label %184

81:                                               ; preds = %21
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = call i32 @syntax_ffi_call(ptr noundef %82, ptr noundef %83)
  store i32 %84, ptr %7, align 4, !tbaa !9
  br label %184

85:                                               ; preds = %21
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = call i32 @syntax_ellipsis(ptr noundef %86, ptr noundef %87)
  store i32 %88, ptr %7, align 4, !tbaa !9
  br label %184

89:                                               ; preds = %21
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = call i32 @syntax_consume(ptr noundef %90, ptr noundef %91)
  store i32 %92, ptr %7, align 4, !tbaa !9
  br label %184

93:                                               ; preds = %21, %21
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = call i32 @syntax_return(ptr noundef %94, ptr noundef %95, i64 noundef 1)
  store i32 %96, ptr %7, align 4, !tbaa !9
  br label %184

97:                                               ; preds = %21, %21
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = call i32 @syntax_return(ptr noundef %98, ptr noundef %99, i64 noundef 0)
  store i32 %100, ptr %7, align 4, !tbaa !9
  br label %184

101:                                              ; preds = %21, %21
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = call i32 @syntax_local(ptr noundef %102, ptr noundef %103)
  store i32 %104, ptr %7, align 4, !tbaa !9
  br label %184

105:                                              ; preds = %21
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = call i32 @syntax_embed(ptr noundef %106, ptr noundef %107)
  store i32 %108, ptr %7, align 4, !tbaa !9
  br label %184

109:                                              ; preds = %21
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = call i32 @syntax_type_param(ptr noundef %110, ptr noundef %111)
  store i32 %112, ptr %7, align 4, !tbaa !9
  br label %184

113:                                              ; preds = %21
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = call i32 @syntax_ifdef(ptr noundef %114, ptr noundef %115)
  store i32 %116, ptr %7, align 4, !tbaa !9
  br label %184

117:                                              ; preds = %21
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = call i32 @syntax_use(ptr noundef %118, ptr noundef %119)
  store i32 %120, ptr %7, align 4, !tbaa !9
  br label %184

121:                                              ; preds = %21
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = call i32 @syntax_lambda_capture(ptr noundef %122, ptr noundef %123)
  store i32 %124, ptr %7, align 4, !tbaa !9
  br label %184

125:                                              ; preds = %21
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = call i32 @syntax_barelambdatype(ptr noundef %126, ptr noundef %127)
  store i32 %128, ptr %7, align 4, !tbaa !9
  br label %184

129:                                              ; preds = %21
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = call i32 @syntax_compile_intrinsic(ptr noundef %130, ptr noundef %131)
  store i32 %132, ptr %7, align 4, !tbaa !9
  br label %184

133:                                              ; preds = %21
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = call i32 @syntax_compile_error(ptr noundef %134, ptr noundef %135)
  store i32 %136, ptr %7, align 4, !tbaa !9
  br label %184

137:                                              ; preds = %21, %21, %21, %21, %21, %21
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = call i32 @syntax_cap(ptr noundef %138, ptr noundef %139)
  store i32 %140, ptr %7, align 4, !tbaa !9
  br label %184

141:                                              ; preds = %21, %21
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = call i32 @syntax_lambda(ptr noundef %142, ptr noundef %143)
  store i32 %144, ptr %7, align 4, !tbaa !9
  br label %184

145:                                              ; preds = %21
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = call i32 @syntax_object(ptr noundef %146, ptr noundef %147)
  store i32 %148, ptr %7, align 4, !tbaa !9
  br label %184

149:                                              ; preds = %21
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = call i32 @syntax_fun(ptr noundef %150, ptr noundef %151)
  store i32 %152, ptr %7, align 4, !tbaa !9
  br label %184

153:                                              ; preds = %21, %21, %21, %21, %21
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = call i32 @syntax_cap_set(ptr noundef %154, ptr noundef %155)
  store i32 %156, ptr %7, align 4, !tbaa !9
  br label %184

157:                                              ; preds = %21
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = call i32 @syntax_annotation(ptr noundef %158, ptr noundef %159)
  store i32 %160, ptr %7, align 4, !tbaa !9
  br label %184

161:                                              ; preds = %21, %21
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.pass_opt_t, ptr %162, i32 0, i32 36
  %164 = getelementptr inbounds %struct.typecheck_t, ptr %163, i32 0, i32 2
  %165 = load ptr, ptr %164, align 8, !tbaa !11
  %166 = load ptr, ptr %5, align 8, !tbaa !5
  call void (ptr, ptr, ptr, ...) @ast_error(ptr noundef %165, ptr noundef %166, ptr noundef @.str.3)
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.pass_opt_t, ptr %167, i32 0, i32 36
  %169 = getelementptr inbounds %struct.typecheck_t, ptr %168, i32 0, i32 2
  %170 = load ptr, ptr %169, align 8, !tbaa !11
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = call ptr @ast_parent(ptr noundef %171)
  call void (ptr, ptr, ptr, ...) @ast_error_continue(ptr noundef %170, ptr noundef %172, ptr noundef @.str.4)
  store i32 2, ptr %7, align 4, !tbaa !9
  br label %184

173:                                              ; preds = %21
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.pass_opt_t, ptr %174, i32 0, i32 36
  %176 = getelementptr inbounds %struct.typecheck_t, ptr %175, i32 0, i32 2
  %177 = load ptr, ptr %176, align 8, !tbaa !11
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  call void (ptr, ptr, ptr, ...) @ast_error(ptr noundef %177, ptr noundef %178, ptr noundef @.str.5)
  store i32 2, ptr %7, align 4, !tbaa !9
  br label %184

179:                                              ; preds = %21
  %180 = load ptr, ptr %4, align 8, !tbaa !5
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  %182 = call i32 @syntax_as(ptr noundef %180, ptr noundef %181)
  store i32 %182, ptr %7, align 4, !tbaa !9
  br label %184

183:                                              ; preds = %21
  br label %184

184:                                              ; preds = %183, %179, %173, %161, %157, %153, %149, %145, %141, %137, %133, %129, %125, %121, %117, %113, %109, %105, %101, %97, %93, %89, %85, %81, %77, %73, %69, %65, %61, %57, %53, %49, %45, %41, %37, %33, %29, %25
  %185 = load i32, ptr %6, align 4, !tbaa !9
  %186 = call zeroext i1 @is_expr_infix(i32 noundef %185)
  br i1 %186, label %187, label %191

187:                                              ; preds = %184
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = call i32 @syntax_infix_expr(ptr noundef %188, ptr noundef %189)
  store i32 %190, ptr %7, align 4, !tbaa !9
  br label %191

191:                                              ; preds = %187, %184
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = call i32 @ast_checkflag(ptr noundef %192, i32 noundef 4096)
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %201

195:                                              ; preds = %191
  %196 = load ptr, ptr %4, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.pass_opt_t, ptr %196, i32 0, i32 36
  %198 = getelementptr inbounds %struct.typecheck_t, ptr %197, i32 0, i32 2
  %199 = load ptr, ptr %198, align 8, !tbaa !11
  %200 = load ptr, ptr %5, align 8, !tbaa !5
  call void (ptr, ptr, ptr, ...) @ast_error(ptr noundef %199, ptr noundef %200, ptr noundef @.str.6)
  store i32 2, ptr %7, align 4, !tbaa !9
  br label %201

201:                                              ; preds = %195, %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = call ptr @ast_annotation(ptr noundef %202)
  store ptr %203, ptr %8, align 8, !tbaa !5
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = icmp ne ptr %204, null
  br i1 %205, label %206, label %215

206:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = call i32 @ast_visit(ptr noundef %8, ptr noundef @pass_syntax, ptr noundef null, ptr noundef %207, i32 noundef 1)
  store i32 %208, ptr %9, align 4, !tbaa !9
  %209 = load i32, ptr %9, align 4, !tbaa !9
  %210 = load i32, ptr %7, align 4, !tbaa !9
  %211 = icmp ugt i32 %209, %210
  br i1 %211, label %212, label %214

212:                                              ; preds = %206
  %213 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %213, ptr %7, align 4, !tbaa !9
  br label %214

214:                                              ; preds = %212, %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %215

215:                                              ; preds = %214, %201
  %216 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret i32 %216
}

declare void @ponyint_assert_fail(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1

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

declare i32 @ast_id(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_semi(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_entity(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_thistype(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_arrow(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_tupletype(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_nominal(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_match(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_ffi_decl(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_ffi_call(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_ellipsis(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_consume(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_return(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_local(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_embed(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_type_param(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_ifdef(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_use(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_lambda_capture(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_barelambdatype(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_compile_intrinsic(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_compile_error(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_cap(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_lambda(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_object(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_fun(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_cap_set(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_annotation(ptr noundef, ptr noundef) #0

declare void @ast_error(ptr noundef, ptr noundef, ptr noundef, ...) #1

declare void @ast_error_continue(ptr noundef, ptr noundef, ptr noundef, ...) #1

declare ptr @ast_parent(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_as(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @is_expr_infix(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_infix_expr(ptr noundef, ptr noundef) #0

declare i32 @ast_checkflag(ptr noundef, i32 noundef) #1

declare ptr @ast_annotation(ptr noundef) #1

declare i32 @ast_visit(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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, !6, i64 216}
!12 = !{!"pass_opt_t", !10, i64 0, !10, i64 4, !13, i64 8, !13, i64 9, !13, i64 10, !13, i64 11, !13, i64 12, !13, i64 13, !13, i64 14, !13, i64 15, !13, i64 16, !13, i64 17, !13, i64 18, !13, i64 19, !13, i64 20, !13, i64 21, !10, i64 24, !14, i64 32, !13, i64 40, !13, i64 41, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !15, i64 176, !6, i64 224, !6, i64 232}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"typecheck_t", !6, i64 0, !16, i64 8, !6, i64 40}
!16 = !{!"typecheck_stats_t", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [75 x i8], align 1
@__func__.pass_syntax = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [58 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @pass_syntax(ptr noundef readonly %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %4, label %5

4:                                                ; preds = %2
  tail call void @ponyint_assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i64 noundef 1445, ptr noundef nonnull @__func__.pass_syntax) #4
  br label %5

5:                                                ; preds = %2, %4
  %6 = load ptr, ptr %0, align 8, !tbaa !5
  %.not93 = icmp eq ptr %6, null
  br i1 %.not93, label %7, label %8

7:                                                ; preds = %5
  tail call void @ponyint_assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i64 noundef 1447, ptr noundef nonnull @__func__.pass_syntax) #4
  br label %8

8:                                                ; preds = %5, %7
  %9 = tail call i32 @ast_id(ptr noundef %6) #4
  switch i32 %9, label %88 [
    i32 23, label %10
    i32 71, label %12
    i32 74, label %14
    i32 75, label %16
    i32 76, label %18
    i32 77, label %20
    i32 73, label %22
    i32 72, label %24
    i32 152, label %26
    i32 17, label %28
    i32 150, label %30
    i32 151, label %32
    i32 122, label %34
    i32 142, label %36
    i32 143, label %38
    i32 63, label %40
    i32 106, label %42
    i32 103, label %44
    i32 104, label %44
    i32 105, label %46
    i32 127, label %46
    i32 85, label %48
    i32 84, label %48
    i32 86, label %50
    i32 163, label %52
    i32 109, label %54
    i32 70, label %56
    i32 174, label %58
    i32 155, label %60
    i32 69, label %62
    i32 128, label %64
    i32 91, label %66
    i32 92, label %66
    i32 93, label %66
    i32 94, label %66
    i32 95, label %66
    i32 96, label %66
    i32 79, label %68
    i32 80, label %68
    i32 78, label %70
    i32 89, label %72
    i32 97, label %74
    i32 98, label %74
    i32 99, label %74
    i32 100, label %74
    i32 101, label %74
    i32 205, label %76
    i32 168, label %78
    i32 167, label %78
    i32 64, label %83
    i32 81, label %86
  ]

10:                                               ; preds = %8
  %11 = tail call i32 @syntax_semi(ptr noundef %1, ptr noundef %6)
  br label %88

12:                                               ; preds = %8
  %13 = tail call i32 @syntax_entity(ptr noundef %1, ptr noundef %6, i32 noundef 6)
  br label %88

14:                                               ; preds = %8
  %15 = tail call i32 @syntax_entity(ptr noundef %1, ptr noundef %6, i32 noundef 3)
  br label %88

16:                                               ; preds = %8
  %17 = tail call i32 @syntax_entity(ptr noundef %1, ptr noundef %6, i32 noundef 2)
  br label %88

18:                                               ; preds = %8
  %19 = tail call i32 @syntax_entity(ptr noundef %1, ptr noundef %6, i32 noundef 1)
  br label %88

20:                                               ; preds = %8
  %21 = tail call i32 @syntax_entity(ptr noundef %1, ptr noundef %6, i32 noundef 0)
  br label %88

22:                                               ; preds = %8
  %23 = tail call i32 @syntax_entity(ptr noundef %1, ptr noundef %6, i32 noundef 4)
  br label %88

24:                                               ; preds = %8
  %25 = tail call i32 @syntax_entity(ptr noundef %1, ptr noundef %6, i32 noundef 5)
  br label %88

26:                                               ; preds = %8
  %27 = tail call i32 @syntax_thistype(ptr noundef %1, ptr noundef %6)
  br label %88

28:                                               ; preds = %8
  %29 = tail call i32 @syntax_arrow(ptr noundef %1, ptr noundef %6)
  br label %88

30:                                               ; preds = %8
  %31 = tail call i32 @syntax_tupletype(ptr noundef %1, ptr noundef %6)
  br label %88

32:                                               ; preds = %8
  %33 = tail call i32 @syntax_nominal(ptr noundef %1, ptr noundef %6)
  br label %88

34:                                               ; preds = %8
  %35 = tail call i32 @syntax_match(ptr noundef %1, ptr noundef %6)
  br label %88

36:                                               ; preds = %8
  %37 = tail call i32 @syntax_ffi_decl(ptr noundef %1, ptr noundef %6)
  br label %88

38:                                               ; preds = %8
  %39 = tail call i32 @syntax_ffi_call(ptr noundef %1, ptr noundef %6)
  br label %88

40:                                               ; preds = %8
  %41 = tail call i32 @syntax_ellipsis(ptr noundef %1, ptr noundef %6)
  br label %88

42:                                               ; preds = %8
  %43 = tail call i32 @syntax_consume(ptr noundef %1, ptr noundef %6)
  br label %88

44:                                               ; preds = %8, %8
  %45 = tail call i32 @syntax_return(ptr noundef %1, ptr noundef %6, i64 noundef 1)
  br label %88

46:                                               ; preds = %8, %8
  %47 = tail call i32 @syntax_return(ptr noundef %1, ptr noundef %6, i64 noundef 0)
  br label %88

48:                                               ; preds = %8, %8
  %49 = tail call i32 @syntax_local(ptr noundef %1, ptr noundef %6)
  br label %88

50:                                               ; preds = %8
  %51 = tail call i32 @syntax_embed(ptr noundef %1, ptr noundef %6)
  br label %88

52:                                               ; preds = %8
  %53 = tail call i32 @syntax_type_param(ptr noundef %1, ptr noundef %6)
  br label %88

54:                                               ; preds = %8
  %55 = tail call i32 @syntax_ifdef(ptr noundef %1, ptr noundef %6)
  br label %88

56:                                               ; preds = %8
  %57 = tail call i32 @syntax_use(ptr noundef %1, ptr noundef %6)
  br label %88

58:                                               ; preds = %8
  %59 = tail call i32 @syntax_lambda_capture(ptr noundef %1, ptr noundef %6)
  br label %88

60:                                               ; preds = %8
  %61 = tail call i32 @syntax_barelambdatype(ptr noundef %1, ptr noundef %6)
  br label %88

62:                                               ; preds = %8
  %63 = tail call i32 @syntax_compile_intrinsic(ptr noundef %1, ptr noundef %6)
  br label %88

64:                                               ; preds = %8
  %65 = tail call i32 @syntax_compile_error(ptr noundef %1, ptr noundef %6)
  br label %88

66:                                               ; preds = %8, %8, %8, %8, %8, %8
  %67 = tail call i32 @syntax_cap(ptr noundef %1, ptr noundef %6)
  br label %88

68:                                               ; preds = %8, %8
  %69 = tail call i32 @syntax_lambda(ptr noundef %1, ptr noundef %6)
  br label %88

70:                                               ; preds = %8
  %71 = tail call i32 @syntax_object(ptr noundef %1, ptr noundef %6)
  br label %88

72:                                               ; preds = %8
  %73 = tail call i32 @syntax_fun(ptr noundef %1, ptr noundef %6)
  br label %88

74:                                               ; preds = %8, %8, %8, %8, %8
  %75 = tail call i32 @syntax_cap_set(ptr noundef %1, ptr noundef %6)
  br label %88

76:                                               ; preds = %8
  %77 = tail call i32 @syntax_annotation(ptr noundef %1, ptr noundef %6)
  br label %88

78:                                               ; preds = %8, %8
  %79 = getelementptr inbounds i8, ptr %1, i64 216
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  tail call void (ptr, ptr, ptr, ...) @ast_error(ptr noundef %80, ptr noundef %6, ptr noundef nonnull @.str.3) #4
  %81 = load ptr, ptr %79, align 8, !tbaa !9
  %82 = tail call ptr @ast_parent(ptr noundef %6) #4
  tail call void (ptr, ptr, ptr, ...) @ast_error_continue(ptr noundef %81, ptr noundef %82, ptr noundef nonnull @.str.4) #4
  br label %88

83:                                               ; preds = %8
  %84 = getelementptr inbounds i8, ptr %1, i64 216
  %85 = load ptr, ptr %84, align 8, !tbaa !9
  tail call void (ptr, ptr, ptr, ...) @ast_error(ptr noundef %85, ptr noundef %6, ptr noundef nonnull @.str.5) #4
  br label %88

86:                                               ; preds = %8
  %87 = tail call i32 @syntax_as(ptr noundef %1, ptr noundef %6)
  br label %88

88:                                               ; preds = %8, %86, %83, %78, %76, %74, %72, %70, %68, %66, %64, %62, %60, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10
  %.0 = phi i32 [ 0, %8 ], [ %87, %86 ], [ 2, %83 ], [ 2, %78 ], [ %77, %76 ], [ %75, %74 ], [ %73, %72 ], [ %71, %70 ], [ %69, %68 ], [ %67, %66 ], [ %65, %64 ], [ %63, %62 ], [ %61, %60 ], [ %59, %58 ], [ %57, %56 ], [ %55, %54 ], [ %53, %52 ], [ %51, %50 ], [ %49, %48 ], [ %47, %46 ], [ %45, %44 ], [ %43, %42 ], [ %41, %40 ], [ %39, %38 ], [ %37, %36 ], [ %35, %34 ], [ %33, %32 ], [ %31, %30 ], [ %29, %28 ], [ %27, %26 ], [ %25, %24 ], [ %23, %22 ], [ %21, %20 ], [ %19, %18 ], [ %17, %16 ], [ %15, %14 ], [ %13, %12 ], [ %11, %10 ]
  %89 = tail call zeroext i1 @is_expr_infix(i32 noundef %9)
  br i1 %89, label %90, label %92

90:                                               ; preds = %88
  %91 = tail call i32 @syntax_infix_expr(ptr noundef %1, ptr noundef %6)
  br label %92

92:                                               ; preds = %90, %88
  %.1 = phi i32 [ %91, %90 ], [ %.0, %88 ]
  %93 = tail call i32 @ast_checkflag(ptr noundef %6, i32 noundef 4096) #4
  %.not94 = icmp eq i32 %93, 0
  br i1 %.not94, label %97, label %94

94:                                               ; preds = %92
  %95 = getelementptr inbounds i8, ptr %1, i64 216
  %96 = load ptr, ptr %95, align 8, !tbaa !9
  tail call void (ptr, ptr, ptr, ...) @ast_error(ptr noundef %96, ptr noundef %6, ptr noundef nonnull @.str.6) #4
  br label %97

97:                                               ; preds = %94, %92
  %.2 = phi i32 [ 2, %94 ], [ %.1, %92 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %98 = tail call ptr @ast_annotation(ptr noundef %6) #4
  store ptr %98, ptr %3, align 8, !tbaa !5
  %.not95 = icmp eq ptr %98, null
  br i1 %.not95, label %101, label %99

99:                                               ; preds = %97
  %100 = call i32 @ast_visit(ptr noundef nonnull %3, ptr noundef nonnull @pass_syntax, ptr noundef null, ptr noundef %1, i32 noundef 1) #4
  %spec.select = call i32 @llvm.umax.i32(i32 %100, i32 %.2)
  br label %101

101:                                              ; preds = %99, %97
  %.4 = phi i32 [ %spec.select, %99 ], [ %.2, %97 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  ret i32 %.4
}

declare void @ponyint_assert_fail(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @ast_id(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_semi(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_entity(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_thistype(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_arrow(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_tupletype(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_nominal(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_match(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_ffi_decl(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_ffi_call(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_ellipsis(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_consume(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_return(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_local(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_embed(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_type_param(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_ifdef(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_use(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_lambda_capture(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_barelambdatype(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_compile_intrinsic(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_compile_error(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_cap(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_lambda(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_object(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_fun(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_cap_set(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_annotation(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @ast_error(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare void @ast_error_continue(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare ptr @ast_parent(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_as(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @is_expr_infix(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @syntax_infix_expr(ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @ast_checkflag(ptr noundef, i32 noundef) local_unnamed_addr #1

declare ptr @ast_annotation(ptr noundef) local_unnamed_addr #1

declare i32 @ast_visit(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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, !6, i64 216}
!10 = !{!"pass_opt_t", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 9, !12, i64 10, !12, i64 11, !12, i64 12, !12, i64 13, !12, i64 14, !12, i64 15, !12, i64 16, !12, i64 17, !12, i64 18, !12, i64 19, !12, i64 20, !12, i64 21, !11, i64 24, !13, i64 32, !12, i64 40, !12, i64 41, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !14, i64 176, !6, i64 224, !6, i64 232}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"typecheck_t", !6, i64 0, !15, i64 8, !6, i64 40}
!15 = !{!"typecheck_stats_t", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}


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