IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/contrib/flex/extr_gen.c_gen_next_match.c'
source_filename = "AnghaBench/freebsd/contrib/flex/extr_gen.c_gen_next_match.c"
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"
@useecs = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [28 x i8] c"yy_ec[YY_SC_TO_UI(*yy_cp)] \00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"YY_SC_TO_UI(*yy_cp)\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"yy_ec[YY_SC_TO_UI(*++yy_cp)] \00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"YY_SC_TO_UI(*++yy_cp)\00", align 1
@fulltbl = dso_local local_unnamed_addr global i64 0, align 8
@gentables = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [66 x i8] c"while ( (yy_current_state = yy_nxt[yy_current_state][ %s ]) > 0 )\00", align 1
@.str.5 = private unnamed_addr constant [80 x i8] c"while ( (yy_current_state = yy_nxt[yy_current_state*YY_NXT_LOLEN + %s ]) > 0 )\00", align 1
@num_backing_up = dso_local local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"++yy_cp;\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"}\00", align 1
@.str.9 = private unnamed_addr constant [38 x i8] c"yy_current_state = -yy_current_state;\00", align 1
@fullspd = dso_local local_unnamed_addr global i64 0, align 8
@.str.10 = private unnamed_addr constant [46 x i8] c"yyconst struct yy_trans_info *yy_trans_info;\0A\00", align 1
@.str.11 = private unnamed_addr constant [15 x i8] c"YY_CHAR yy_c;\0A\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c"for ( yy_c = %s;\00", align 1
@.str.13 = private unnamed_addr constant [65 x i8] c" (yy_trans_info = &yy_current_state[(unsigned int) yy_c])->\00", align 1
@.str.14 = private unnamed_addr constant [19 x i8] c"yy_verify == yy_c;\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c" yy_c = %s )\00", align 1
@.str.16 = private unnamed_addr constant [43 x i8] c"yy_current_state += yy_trans_info->yy_nxt;\00", align 1
@.str.17 = private unnamed_addr constant [3 x i8] c"do\00", align 1
@interactive = dso_local local_unnamed_addr global i64 0, align 8
@.str.18 = private unnamed_addr constant [44 x i8] c"while ( yy_base[yy_current_state] != %d );\0A\00", align 1
@jambase = dso_local local_unnamed_addr global i32 0, align 4
@.str.19 = private unnamed_addr constant [35 x i8] c"while ( yy_current_state != %d );\0A\00", align 1
@jamstate = dso_local local_unnamed_addr global i32 0, align 4
@reject = dso_local local_unnamed_addr global i32 0, align 4
@.str.20 = private unnamed_addr constant [38 x i8] c"yy_cp = YY_G(yy_last_accepting_cpos);\00", align 1
@.str.21 = private unnamed_addr constant [50 x i8] c"yy_current_state = YY_G(yy_last_accepting_state);\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @gen_next_match() local_unnamed_addr #0 {
%1 = load i64, ptr @useecs, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
%3 = select i1 %2, ptr @.str.1, ptr @.str
%4 = select i1 %2, ptr @.str.3, ptr @.str.2
%5 = load i64, ptr @fulltbl, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %28, label %7
7: ; preds = %0
%8 = load i64, ptr @gentables, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, ptr @.str.5, ptr @.str.4
%11 = tail call i32 @indent_put2s(ptr noundef nonnull %10, ptr noundef nonnull %3) #2
%12 = tail call i32 (...) @indent_up() #2
%13 = load i64, ptr @num_backing_up, align 8, !tbaa !5
%14 = icmp sgt i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %7
%16 = tail call i32 @indent_puts(ptr noundef nonnull @.str.6) #2
%17 = tail call i32 (...) @gen_backing_up() #2
%18 = tail call i32 @outc(i8 noundef signext 10) #2
br label %19
19: ; preds = %15, %7
%20 = tail call i32 @indent_puts(ptr noundef nonnull @.str.7) #2
%21 = load i64, ptr @num_backing_up, align 8, !tbaa !5
%22 = icmp sgt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = tail call i32 @indent_puts(ptr noundef nonnull @.str.8) #2
br label %25
25: ; preds = %23, %19
%26 = tail call i32 (...) @indent_down() #2
%27 = tail call i32 @outc(i8 noundef signext 10) #2
br label %77
28: ; preds = %0
%29 = load i64, ptr @fullspd, align 8, !tbaa !5
%30 = icmp eq i64 %29, 0
br i1 %30, label %54, label %31
31: ; preds = %28
%32 = tail call i32 @indent_puts(ptr noundef nonnull @.str.6) #2
%33 = tail call i32 @indent_puts(ptr noundef nonnull @.str.10) #2
%34 = tail call i32 @indent_puts(ptr noundef nonnull @.str.11) #2
%35 = tail call i32 @indent_put2s(ptr noundef nonnull @.str.12, ptr noundef nonnull %3) #2
%36 = tail call i32 @indent_puts(ptr noundef nonnull @.str.13) #2
%37 = tail call i32 @indent_puts(ptr noundef nonnull @.str.14) #2
%38 = tail call i32 @indent_put2s(ptr noundef nonnull @.str.15, ptr noundef nonnull %4) #2
%39 = tail call i32 (...) @indent_up() #2
%40 = load i64, ptr @num_backing_up, align 8, !tbaa !5
%41 = icmp sgt i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %31
%43 = tail call i32 @indent_puts(ptr noundef nonnull @.str.6) #2
br label %44
44: ; preds = %42, %31
%45 = tail call i32 @indent_puts(ptr noundef nonnull @.str.16) #2
%46 = load i64, ptr @num_backing_up, align 8, !tbaa !5
%47 = icmp sgt i64 %46, 0
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = tail call i32 @outc(i8 noundef signext 10) #2
%50 = tail call i32 (...) @gen_backing_up() #2
%51 = tail call i32 @indent_puts(ptr noundef nonnull @.str.8) #2
br label %52
52: ; preds = %48, %44
%53 = tail call i32 (...) @indent_down() #2
br label %77
54: ; preds = %28
%55 = tail call i32 @indent_puts(ptr noundef nonnull @.str.17) #2
%56 = tail call i32 (...) @indent_up() #2
%57 = tail call i32 @indent_puts(ptr noundef nonnull @.str.6) #2
%58 = tail call i32 @gen_next_state(i32 noundef 0) #2
%59 = tail call i32 @indent_puts(ptr noundef nonnull @.str.7) #2
%60 = tail call i32 @indent_puts(ptr noundef nonnull @.str.8) #2
%61 = tail call i32 (...) @indent_down() #2
%62 = tail call i32 (...) @do_indent() #2
%63 = load i64, ptr @interactive, align 8, !tbaa !5
%64 = icmp eq i64 %63, 0
%65 = select i1 %64, ptr @.str.19, ptr @.str.18
%66 = load i32, ptr @jamstate, align 4
%67 = load i32, ptr @jambase, align 4
%68 = select i1 %64, i32 %66, i32 %67
%69 = tail call i32 @out_dec(ptr noundef nonnull %65, i32 noundef %68) #2
%70 = load i32, ptr @reject, align 4, !tbaa !9
%71 = icmp ne i32 %70, 0
%72 = load i64, ptr @interactive, align 8
%73 = icmp ne i64 %72, 0
%74 = select i1 %71, i1 true, i1 %73
br i1 %74, label %80, label %75
75: ; preds = %54
%76 = tail call i32 @indent_puts(ptr noundef nonnull @.str.20) #2
br label %77
77: ; preds = %25, %75, %52
%78 = phi ptr [ @.str.8, %52 ], [ @.str.21, %75 ], [ @.str.9, %25 ]
%79 = tail call i32 @indent_puts(ptr noundef nonnull %78) #2
br label %80
80: ; preds = %77, %54
ret void
}
declare i32 @indent_put2s(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @indent_up(...) local_unnamed_addr #1
declare i32 @indent_puts(ptr noundef) local_unnamed_addr #1
declare i32 @gen_backing_up(...) local_unnamed_addr #1
declare i32 @outc(i8 noundef signext) local_unnamed_addr #1
declare i32 @indent_down(...) local_unnamed_addr #1
declare i32 @gen_next_state(i32 noundef) local_unnamed_addr #1
declare i32 @do_indent(...) local_unnamed_addr #1
declare i32 @out_dec(ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/flex/extr_gen.c_gen_next_match.c'
source_filename = "AnghaBench/freebsd/contrib/flex/extr_gen.c_gen_next_match.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@useecs = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [28 x i8] c"yy_ec[YY_SC_TO_UI(*yy_cp)] \00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"YY_SC_TO_UI(*yy_cp)\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"yy_ec[YY_SC_TO_UI(*++yy_cp)] \00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"YY_SC_TO_UI(*++yy_cp)\00", align 1
@fulltbl = common local_unnamed_addr global i64 0, align 8
@gentables = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [66 x i8] c"while ( (yy_current_state = yy_nxt[yy_current_state][ %s ]) > 0 )\00", align 1
@.str.5 = private unnamed_addr constant [80 x i8] c"while ( (yy_current_state = yy_nxt[yy_current_state*YY_NXT_LOLEN + %s ]) > 0 )\00", align 1
@num_backing_up = common local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [2 x i8] c"{\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"++yy_cp;\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"}\00", align 1
@.str.9 = private unnamed_addr constant [38 x i8] c"yy_current_state = -yy_current_state;\00", align 1
@fullspd = common local_unnamed_addr global i64 0, align 8
@.str.10 = private unnamed_addr constant [46 x i8] c"yyconst struct yy_trans_info *yy_trans_info;\0A\00", align 1
@.str.11 = private unnamed_addr constant [15 x i8] c"YY_CHAR yy_c;\0A\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c"for ( yy_c = %s;\00", align 1
@.str.13 = private unnamed_addr constant [65 x i8] c" (yy_trans_info = &yy_current_state[(unsigned int) yy_c])->\00", align 1
@.str.14 = private unnamed_addr constant [19 x i8] c"yy_verify == yy_c;\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c" yy_c = %s )\00", align 1
@.str.16 = private unnamed_addr constant [43 x i8] c"yy_current_state += yy_trans_info->yy_nxt;\00", align 1
@.str.17 = private unnamed_addr constant [3 x i8] c"do\00", align 1
@interactive = common local_unnamed_addr global i64 0, align 8
@.str.18 = private unnamed_addr constant [44 x i8] c"while ( yy_base[yy_current_state] != %d );\0A\00", align 1
@jambase = common local_unnamed_addr global i32 0, align 4
@.str.19 = private unnamed_addr constant [35 x i8] c"while ( yy_current_state != %d );\0A\00", align 1
@jamstate = common local_unnamed_addr global i32 0, align 4
@reject = common local_unnamed_addr global i32 0, align 4
@.str.20 = private unnamed_addr constant [38 x i8] c"yy_cp = YY_G(yy_last_accepting_cpos);\00", align 1
@.str.21 = private unnamed_addr constant [50 x i8] c"yy_current_state = YY_G(yy_last_accepting_state);\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @gen_next_match() local_unnamed_addr #0 {
%1 = load i64, ptr @useecs, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
%3 = select i1 %2, ptr @.str.1, ptr @.str
%4 = select i1 %2, ptr @.str.3, ptr @.str.2
%5 = load i64, ptr @fulltbl, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %28, label %7
7: ; preds = %0
%8 = load i64, ptr @gentables, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
%10 = select i1 %9, ptr @.str.5, ptr @.str.4
%11 = tail call i32 @indent_put2s(ptr noundef nonnull %10, ptr noundef nonnull %3) #2
%12 = tail call i32 @indent_up() #2
%13 = load i64, ptr @num_backing_up, align 8, !tbaa !6
%14 = icmp sgt i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %7
%16 = tail call i32 @indent_puts(ptr noundef nonnull @.str.6) #2
%17 = tail call i32 @gen_backing_up() #2
%18 = tail call i32 @outc(i8 noundef signext 10) #2
br label %19
19: ; preds = %15, %7
%20 = tail call i32 @indent_puts(ptr noundef nonnull @.str.7) #2
%21 = load i64, ptr @num_backing_up, align 8, !tbaa !6
%22 = icmp sgt i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = tail call i32 @indent_puts(ptr noundef nonnull @.str.8) #2
br label %25
25: ; preds = %23, %19
%26 = tail call i32 @indent_down() #2
%27 = tail call i32 @outc(i8 noundef signext 10) #2
br label %77
28: ; preds = %0
%29 = load i64, ptr @fullspd, align 8, !tbaa !6
%30 = icmp eq i64 %29, 0
br i1 %30, label %54, label %31
31: ; preds = %28
%32 = tail call i32 @indent_puts(ptr noundef nonnull @.str.6) #2
%33 = tail call i32 @indent_puts(ptr noundef nonnull @.str.10) #2
%34 = tail call i32 @indent_puts(ptr noundef nonnull @.str.11) #2
%35 = tail call i32 @indent_put2s(ptr noundef nonnull @.str.12, ptr noundef nonnull %3) #2
%36 = tail call i32 @indent_puts(ptr noundef nonnull @.str.13) #2
%37 = tail call i32 @indent_puts(ptr noundef nonnull @.str.14) #2
%38 = tail call i32 @indent_put2s(ptr noundef nonnull @.str.15, ptr noundef nonnull %4) #2
%39 = tail call i32 @indent_up() #2
%40 = load i64, ptr @num_backing_up, align 8, !tbaa !6
%41 = icmp sgt i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %31
%43 = tail call i32 @indent_puts(ptr noundef nonnull @.str.6) #2
br label %44
44: ; preds = %42, %31
%45 = tail call i32 @indent_puts(ptr noundef nonnull @.str.16) #2
%46 = load i64, ptr @num_backing_up, align 8, !tbaa !6
%47 = icmp sgt i64 %46, 0
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = tail call i32 @outc(i8 noundef signext 10) #2
%50 = tail call i32 @gen_backing_up() #2
%51 = tail call i32 @indent_puts(ptr noundef nonnull @.str.8) #2
br label %52
52: ; preds = %48, %44
%53 = tail call i32 @indent_down() #2
br label %77
54: ; preds = %28
%55 = tail call i32 @indent_puts(ptr noundef nonnull @.str.17) #2
%56 = tail call i32 @indent_up() #2
%57 = tail call i32 @indent_puts(ptr noundef nonnull @.str.6) #2
%58 = tail call i32 @gen_next_state(i32 noundef 0) #2
%59 = tail call i32 @indent_puts(ptr noundef nonnull @.str.7) #2
%60 = tail call i32 @indent_puts(ptr noundef nonnull @.str.8) #2
%61 = tail call i32 @indent_down() #2
%62 = tail call i32 @do_indent() #2
%63 = load i64, ptr @interactive, align 8, !tbaa !6
%64 = icmp eq i64 %63, 0
%65 = select i1 %64, ptr @.str.19, ptr @.str.18
%66 = load i32, ptr @jamstate, align 4
%67 = load i32, ptr @jambase, align 4
%68 = select i1 %64, i32 %66, i32 %67
%69 = tail call i32 @out_dec(ptr noundef nonnull %65, i32 noundef %68) #2
%70 = load i32, ptr @reject, align 4, !tbaa !10
%71 = icmp ne i32 %70, 0
%72 = load i64, ptr @interactive, align 8
%73 = icmp ne i64 %72, 0
%74 = select i1 %71, i1 true, i1 %73
br i1 %74, label %80, label %75
75: ; preds = %54
%76 = tail call i32 @indent_puts(ptr noundef nonnull @.str.20) #2
br label %77
77: ; preds = %25, %75, %52
%78 = phi ptr [ @.str.8, %52 ], [ @.str.21, %75 ], [ @.str.9, %25 ]
%79 = tail call i32 @indent_puts(ptr noundef nonnull %78) #2
br label %80
80: ; preds = %77, %54
ret void
}
declare i32 @indent_put2s(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @indent_up(...) local_unnamed_addr #1
declare i32 @indent_puts(ptr noundef) local_unnamed_addr #1
declare i32 @gen_backing_up(...) local_unnamed_addr #1
declare i32 @outc(i8 noundef signext) local_unnamed_addr #1
declare i32 @indent_down(...) local_unnamed_addr #1
declare i32 @gen_next_state(i32 noundef) local_unnamed_addr #1
declare i32 @do_indent(...) local_unnamed_addr #1
declare i32 @out_dec(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| freebsd_contrib_flex_extr_gen.c_gen_next_match |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_diagnostics.c_mlx5_core_get_diagnostics_full.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_diagnostics.c_mlx5_core_get_diagnostics_full.c"
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.TYPE_6__ = type { i32, i32 }
%struct.TYPE_5__ = type { i32, i32 }
%struct.TYPE_4__ = type { ptr, ptr, ptr, ptr }
@debug = dso_local local_unnamed_addr global i32 0, align 4
@num_of_diagnostic_counters = dso_local local_unnamed_addr global i32 0, align 4
@query_diagnostic_counters_out = dso_local local_unnamed_addr global i32 0, align 4
@diagnostic_counter = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@diag_counter = dso_local local_unnamed_addr global ptr null, align 8
@mlx5_core_pci_diagnostics_table = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_CORE_PCI_DIAGNOSTICS_NUM = dso_local local_unnamed_addr global i32 0, align 4
@mlx5_core_general_diagnostics_table = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_CORE_GENERAL_DIAGNOSTICS_NUM = dso_local local_unnamed_addr global i32 0, align 4
@mpcnt_reg = dso_local local_unnamed_addr global i32 0, align 4
@grp = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_PCIE_PERFORMANCE_COUNTERS_GROUP = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_REG_MPCNT = dso_local local_unnamed_addr global i32 0, align 4
@counter_set = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4
@pcie_perf_counters = dso_local local_unnamed_addr global i32 0, align 4
@rx_errors = dso_local local_unnamed_addr global i32 0, align 4
@tx_errors = dso_local local_unnamed_addr global i32 0, align 4
@MLX5_PCIE_TIMERS_AND_STATES_COUNTERS_GROUP = dso_local local_unnamed_addr global i32 0, align 4
@pcie_timers_states = dso_local local_unnamed_addr global i32 0, align 4
@non_fatal_err_msg_sent = dso_local local_unnamed_addr global i32 0, align 4
@fatal_err_msg_sent = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mlx5_core_get_diagnostics_full(ptr noundef %0, ptr noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 {
%4 = load i32, ptr @debug, align 4, !tbaa !5
%5 = tail call i32 @MLX5_CAP_GEN(ptr noundef %0, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %118, label %7
7: ; preds = %3
%8 = load i32, ptr @num_of_diagnostic_counters, align 4, !tbaa !5
%9 = tail call i32 @MLX5_CAP_GEN(ptr noundef %0, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %118, label %11
11: ; preds = %7
%12 = load i32, ptr @query_diagnostic_counters_out, align 4, !tbaa !5
%13 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %12) #2
%14 = load i32, ptr @diagnostic_counter, align 4, !tbaa !5
%15 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %14) #2
%16 = mul nsw i32 %15, %9
%17 = add nsw i32 %16, %13
%18 = tail call ptr @mlx5_vzalloc(i32 noundef %17) #2
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %11
%21 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%22 = sub nsw i32 0, %21
br label %118
23: ; preds = %11
%24 = tail call i32 @mlx5_query_diagnostic_counters(ptr noundef %0, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %18, i32 noundef %17) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %56
26: ; preds = %23
%27 = icmp eq ptr %1, null
%28 = icmp eq ptr %2, null
%29 = zext i32 %9 to i64
br label %30
30: ; preds = %26, %53
%31 = phi i64 [ 0, %26 ], [ %54, %53 ]
%32 = load i32, ptr @query_diagnostic_counters_out, align 4, !tbaa !5
%33 = load ptr, ptr @diag_counter, align 8, !tbaa !9
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i64 %31, i32 1
%35 = load i32, ptr %34, align 4, !tbaa !11
%36 = tail call ptr @MLX5_GET(i32 noundef %32, ptr noundef nonnull %18, i32 noundef %35) #2
%37 = load i32, ptr @query_diagnostic_counters_out, align 4, !tbaa !5
%38 = load ptr, ptr @diag_counter, align 8, !tbaa !9
%39 = getelementptr inbounds %struct.TYPE_5__, ptr %38, i64 %31
%40 = load i32, ptr %39, align 4, !tbaa !13
%41 = tail call i32 @MLX5_GET64(i32 noundef %37, ptr noundef nonnull %18, i32 noundef %40) #2
br i1 %27, label %47, label %42
42: ; preds = %30
%43 = load i32, ptr @mlx5_core_pci_diagnostics_table, align 4, !tbaa !5
%44 = load i32, ptr %1, align 8, !tbaa !14
%45 = load i32, ptr @MLX5_CORE_PCI_DIAGNOSTICS_NUM, align 4, !tbaa !5
%46 = tail call i32 @mlx5_core_put_diag_counter(i32 noundef %43, i32 noundef %44, i32 noundef %45, ptr noundef %36, i32 noundef %41) #2
br label %47
47: ; preds = %42, %30
br i1 %28, label %53, label %48
48: ; preds = %47
%49 = load i32, ptr @mlx5_core_general_diagnostics_table, align 4, !tbaa !5
%50 = load i32, ptr %2, align 4, !tbaa !14
%51 = load i32, ptr @MLX5_CORE_GENERAL_DIAGNOSTICS_NUM, align 4, !tbaa !5
%52 = tail call i32 @mlx5_core_put_diag_counter(i32 noundef %49, i32 noundef %50, i32 noundef %51, ptr noundef %36, i32 noundef %41) #2
br label %53
53: ; preds = %48, %47
%54 = add nuw nsw i64 %31, 1
%55 = icmp eq i64 %54, %29
br i1 %55, label %56, label %30, !llvm.loop !15
56: ; preds = %53, %23
%57 = tail call i32 @kvfree(ptr noundef nonnull %18) #2
%58 = icmp eq ptr %1, null
br i1 %58, label %118, label %59
59: ; preds = %56
%60 = load i32, ptr @mpcnt_reg, align 4, !tbaa !5
%61 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %60) #2
%62 = load i32, ptr @mpcnt_reg, align 4, !tbaa !5
%63 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %62) #2
%64 = tail call ptr @mlx5_vzalloc(i32 noundef %61) #2
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %69
66: ; preds = %59
%67 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%68 = sub nsw i32 0, %67
br label %118
69: ; preds = %59
%70 = tail call ptr @mlx5_vzalloc(i32 noundef %63) #2
%71 = icmp eq ptr %70, null
br i1 %71, label %72, label %76
72: ; preds = %69
%73 = tail call i32 @kvfree(ptr noundef nonnull %64) #2
%74 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%75 = sub nsw i32 0, %74
br label %118
76: ; preds = %69
%77 = load i32, ptr @mpcnt_reg, align 4, !tbaa !5
%78 = load i32, ptr @grp, align 4, !tbaa !5
%79 = load i32, ptr @MLX5_PCIE_PERFORMANCE_COUNTERS_GROUP, align 4, !tbaa !5
%80 = tail call i32 @MLX5_SET(i32 noundef %77, ptr noundef nonnull %64, i32 noundef %78, i32 noundef %79) #2
%81 = load i32, ptr @MLX5_REG_MPCNT, align 4, !tbaa !5
%82 = tail call i32 @mlx5_core_access_reg(ptr noundef %0, ptr noundef nonnull %64, i32 noundef %61, ptr noundef nonnull %70, i32 noundef %63, i32 noundef %81, i32 noundef 0, i32 noundef 0) #2
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %96
84: ; preds = %76
%85 = load i32, ptr @mpcnt_reg, align 4, !tbaa !5
%86 = load i32, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @counter_set, i64 0, i32 1), align 4, !tbaa !17
%87 = tail call ptr @MLX5_ADDR_OF(i32 noundef %85, ptr noundef nonnull %70, i32 noundef %86) #2
%88 = load i32, ptr @pcie_perf_counters, align 4, !tbaa !5
%89 = load i32, ptr @rx_errors, align 4, !tbaa !5
%90 = tail call ptr @MLX5_GET(i32 noundef %88, ptr noundef %87, i32 noundef %89) #2
%91 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3
store ptr %90, ptr %91, align 8, !tbaa !14
%92 = load i32, ptr @pcie_perf_counters, align 4, !tbaa !5
%93 = load i32, ptr @tx_errors, align 4, !tbaa !5
%94 = tail call ptr @MLX5_GET(i32 noundef %92, ptr noundef %87, i32 noundef %93) #2
%95 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
store ptr %94, ptr %95, align 8, !tbaa !14
br label %96
96: ; preds = %84, %76
%97 = load i32, ptr @mpcnt_reg, align 4, !tbaa !5
%98 = load i32, ptr @grp, align 4, !tbaa !5
%99 = load i32, ptr @MLX5_PCIE_TIMERS_AND_STATES_COUNTERS_GROUP, align 4, !tbaa !5
%100 = tail call i32 @MLX5_SET(i32 noundef %97, ptr noundef nonnull %64, i32 noundef %98, i32 noundef %99) #2
%101 = load i32, ptr @MLX5_REG_MPCNT, align 4, !tbaa !5
%102 = tail call i32 @mlx5_core_access_reg(ptr noundef %0, ptr noundef nonnull %64, i32 noundef %61, ptr noundef nonnull %70, i32 noundef %63, i32 noundef %101, i32 noundef 0, i32 noundef 0) #2
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %115
104: ; preds = %96
%105 = load i32, ptr @mpcnt_reg, align 4, !tbaa !5
%106 = load i32, ptr @counter_set, align 4, !tbaa !19
%107 = tail call ptr @MLX5_ADDR_OF(i32 noundef %105, ptr noundef nonnull %70, i32 noundef %106) #2
%108 = load i32, ptr @pcie_timers_states, align 4, !tbaa !5
%109 = load i32, ptr @non_fatal_err_msg_sent, align 4, !tbaa !5
%110 = tail call ptr @MLX5_GET(i32 noundef %108, ptr noundef %107, i32 noundef %109) #2
%111 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
store ptr %110, ptr %111, align 8, !tbaa !14
%112 = load i32, ptr @pcie_timers_states, align 4, !tbaa !5
%113 = load i32, ptr @fatal_err_msg_sent, align 4, !tbaa !5
%114 = tail call ptr @MLX5_GET(i32 noundef %112, ptr noundef %107, i32 noundef %113) #2
store ptr %114, ptr %1, align 8, !tbaa !14
br label %115
115: ; preds = %104, %96
%116 = tail call i32 @kvfree(ptr noundef nonnull %64) #2
%117 = tail call i32 @kvfree(ptr noundef nonnull %70) #2
br label %118
118: ; preds = %56, %115, %7, %3, %72, %66, %20
%119 = phi i32 [ %22, %20 ], [ %68, %66 ], [ %75, %72 ], [ 0, %3 ], [ 0, %7 ], [ 0, %115 ], [ 0, %56 ]
ret i32 %119
}
declare i32 @MLX5_CAP_GEN(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_ST_SZ_BYTES(i32 noundef) local_unnamed_addr #1
declare ptr @mlx5_vzalloc(i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_query_diagnostic_counters(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @MLX5_GET(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_GET64(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_core_put_diag_counter(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kvfree(ptr noundef) local_unnamed_addr #1
declare i32 @MLX5_SET(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_core_access_reg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @MLX5_ADDR_OF(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"TYPE_5__", !6, i64 0, !6, i64 4}
!13 = !{!12, !6, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !6, i64 4}
!18 = !{!"TYPE_6__", !6, i64 0, !6, i64 4}
!19 = !{!18, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_diagnostics.c_mlx5_core_get_diagnostics_full.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_diagnostics.c_mlx5_core_get_diagnostics_full.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i32, i32 }
%struct.TYPE_5__ = type { i32, i32 }
@debug = common local_unnamed_addr global i32 0, align 4
@num_of_diagnostic_counters = common local_unnamed_addr global i32 0, align 4
@query_diagnostic_counters_out = common local_unnamed_addr global i32 0, align 4
@diagnostic_counter = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@diag_counter = common local_unnamed_addr global ptr null, align 8
@mlx5_core_pci_diagnostics_table = common local_unnamed_addr global i32 0, align 4
@MLX5_CORE_PCI_DIAGNOSTICS_NUM = common local_unnamed_addr global i32 0, align 4
@mlx5_core_general_diagnostics_table = common local_unnamed_addr global i32 0, align 4
@MLX5_CORE_GENERAL_DIAGNOSTICS_NUM = common local_unnamed_addr global i32 0, align 4
@mpcnt_reg = common local_unnamed_addr global i32 0, align 4
@grp = common local_unnamed_addr global i32 0, align 4
@MLX5_PCIE_PERFORMANCE_COUNTERS_GROUP = common local_unnamed_addr global i32 0, align 4
@MLX5_REG_MPCNT = common local_unnamed_addr global i32 0, align 4
@counter_set = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4
@pcie_perf_counters = common local_unnamed_addr global i32 0, align 4
@rx_errors = common local_unnamed_addr global i32 0, align 4
@tx_errors = common local_unnamed_addr global i32 0, align 4
@MLX5_PCIE_TIMERS_AND_STATES_COUNTERS_GROUP = common local_unnamed_addr global i32 0, align 4
@pcie_timers_states = common local_unnamed_addr global i32 0, align 4
@non_fatal_err_msg_sent = common local_unnamed_addr global i32 0, align 4
@fatal_err_msg_sent = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @mlx5_core_get_diagnostics_full(ptr noundef %0, ptr noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 {
%4 = load i32, ptr @debug, align 4, !tbaa !6
%5 = tail call i32 @MLX5_CAP_GEN(ptr noundef %0, i32 noundef %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %118, label %7
7: ; preds = %3
%8 = load i32, ptr @num_of_diagnostic_counters, align 4, !tbaa !6
%9 = tail call i32 @MLX5_CAP_GEN(ptr noundef %0, i32 noundef %8) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %118, label %11
11: ; preds = %7
%12 = load i32, ptr @query_diagnostic_counters_out, align 4, !tbaa !6
%13 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %12) #2
%14 = load i32, ptr @diagnostic_counter, align 4, !tbaa !6
%15 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %14) #2
%16 = mul nsw i32 %15, %9
%17 = add nsw i32 %16, %13
%18 = tail call ptr @mlx5_vzalloc(i32 noundef %17) #2
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %11
%21 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%22 = sub nsw i32 0, %21
br label %118
23: ; preds = %11
%24 = tail call i32 @mlx5_query_diagnostic_counters(ptr noundef %0, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %18, i32 noundef %17) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %56
26: ; preds = %23
%27 = icmp eq ptr %1, null
%28 = icmp eq ptr %2, null
%29 = zext i32 %9 to i64
br label %30
30: ; preds = %26, %53
%31 = phi i64 [ 0, %26 ], [ %54, %53 ]
%32 = load i32, ptr @query_diagnostic_counters_out, align 4, !tbaa !6
%33 = load ptr, ptr @diag_counter, align 8, !tbaa !10
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i64 %31, i32 1
%35 = load i32, ptr %34, align 4, !tbaa !12
%36 = tail call ptr @MLX5_GET(i32 noundef %32, ptr noundef nonnull %18, i32 noundef %35) #2
%37 = load i32, ptr @query_diagnostic_counters_out, align 4, !tbaa !6
%38 = load ptr, ptr @diag_counter, align 8, !tbaa !10
%39 = getelementptr inbounds %struct.TYPE_5__, ptr %38, i64 %31
%40 = load i32, ptr %39, align 4, !tbaa !14
%41 = tail call i32 @MLX5_GET64(i32 noundef %37, ptr noundef nonnull %18, i32 noundef %40) #2
br i1 %27, label %47, label %42
42: ; preds = %30
%43 = load i32, ptr @mlx5_core_pci_diagnostics_table, align 4, !tbaa !6
%44 = load i32, ptr %1, align 8, !tbaa !15
%45 = load i32, ptr @MLX5_CORE_PCI_DIAGNOSTICS_NUM, align 4, !tbaa !6
%46 = tail call i32 @mlx5_core_put_diag_counter(i32 noundef %43, i32 noundef %44, i32 noundef %45, ptr noundef %36, i32 noundef %41) #2
br label %47
47: ; preds = %42, %30
br i1 %28, label %53, label %48
48: ; preds = %47
%49 = load i32, ptr @mlx5_core_general_diagnostics_table, align 4, !tbaa !6
%50 = load i32, ptr %2, align 4, !tbaa !15
%51 = load i32, ptr @MLX5_CORE_GENERAL_DIAGNOSTICS_NUM, align 4, !tbaa !6
%52 = tail call i32 @mlx5_core_put_diag_counter(i32 noundef %49, i32 noundef %50, i32 noundef %51, ptr noundef %36, i32 noundef %41) #2
br label %53
53: ; preds = %48, %47
%54 = add nuw nsw i64 %31, 1
%55 = icmp eq i64 %54, %29
br i1 %55, label %56, label %30, !llvm.loop !16
56: ; preds = %53, %23
%57 = tail call i32 @kvfree(ptr noundef nonnull %18) #2
%58 = icmp eq ptr %1, null
br i1 %58, label %118, label %59
59: ; preds = %56
%60 = load i32, ptr @mpcnt_reg, align 4, !tbaa !6
%61 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %60) #2
%62 = load i32, ptr @mpcnt_reg, align 4, !tbaa !6
%63 = tail call i32 @MLX5_ST_SZ_BYTES(i32 noundef %62) #2
%64 = tail call ptr @mlx5_vzalloc(i32 noundef %61) #2
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %69
66: ; preds = %59
%67 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%68 = sub nsw i32 0, %67
br label %118
69: ; preds = %59
%70 = tail call ptr @mlx5_vzalloc(i32 noundef %63) #2
%71 = icmp eq ptr %70, null
br i1 %71, label %72, label %76
72: ; preds = %69
%73 = tail call i32 @kvfree(ptr noundef nonnull %64) #2
%74 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%75 = sub nsw i32 0, %74
br label %118
76: ; preds = %69
%77 = load i32, ptr @mpcnt_reg, align 4, !tbaa !6
%78 = load i32, ptr @grp, align 4, !tbaa !6
%79 = load i32, ptr @MLX5_PCIE_PERFORMANCE_COUNTERS_GROUP, align 4, !tbaa !6
%80 = tail call i32 @MLX5_SET(i32 noundef %77, ptr noundef nonnull %64, i32 noundef %78, i32 noundef %79) #2
%81 = load i32, ptr @MLX5_REG_MPCNT, align 4, !tbaa !6
%82 = tail call i32 @mlx5_core_access_reg(ptr noundef %0, ptr noundef nonnull %64, i32 noundef %61, ptr noundef nonnull %70, i32 noundef %63, i32 noundef %81, i32 noundef 0, i32 noundef 0) #2
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %96
84: ; preds = %76
%85 = load i32, ptr @mpcnt_reg, align 4, !tbaa !6
%86 = load i32, ptr getelementptr inbounds (i8, ptr @counter_set, i64 4), align 4, !tbaa !18
%87 = tail call ptr @MLX5_ADDR_OF(i32 noundef %85, ptr noundef nonnull %70, i32 noundef %86) #2
%88 = load i32, ptr @pcie_perf_counters, align 4, !tbaa !6
%89 = load i32, ptr @rx_errors, align 4, !tbaa !6
%90 = tail call ptr @MLX5_GET(i32 noundef %88, ptr noundef %87, i32 noundef %89) #2
%91 = getelementptr inbounds i8, ptr %1, i64 24
store ptr %90, ptr %91, align 8, !tbaa !15
%92 = load i32, ptr @pcie_perf_counters, align 4, !tbaa !6
%93 = load i32, ptr @tx_errors, align 4, !tbaa !6
%94 = tail call ptr @MLX5_GET(i32 noundef %92, ptr noundef %87, i32 noundef %93) #2
%95 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %94, ptr %95, align 8, !tbaa !15
br label %96
96: ; preds = %84, %76
%97 = load i32, ptr @mpcnt_reg, align 4, !tbaa !6
%98 = load i32, ptr @grp, align 4, !tbaa !6
%99 = load i32, ptr @MLX5_PCIE_TIMERS_AND_STATES_COUNTERS_GROUP, align 4, !tbaa !6
%100 = tail call i32 @MLX5_SET(i32 noundef %97, ptr noundef nonnull %64, i32 noundef %98, i32 noundef %99) #2
%101 = load i32, ptr @MLX5_REG_MPCNT, align 4, !tbaa !6
%102 = tail call i32 @mlx5_core_access_reg(ptr noundef %0, ptr noundef nonnull %64, i32 noundef %61, ptr noundef nonnull %70, i32 noundef %63, i32 noundef %101, i32 noundef 0, i32 noundef 0) #2
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %115
104: ; preds = %96
%105 = load i32, ptr @mpcnt_reg, align 4, !tbaa !6
%106 = load i32, ptr @counter_set, align 4, !tbaa !20
%107 = tail call ptr @MLX5_ADDR_OF(i32 noundef %105, ptr noundef nonnull %70, i32 noundef %106) #2
%108 = load i32, ptr @pcie_timers_states, align 4, !tbaa !6
%109 = load i32, ptr @non_fatal_err_msg_sent, align 4, !tbaa !6
%110 = tail call ptr @MLX5_GET(i32 noundef %108, ptr noundef %107, i32 noundef %109) #2
%111 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %110, ptr %111, align 8, !tbaa !15
%112 = load i32, ptr @pcie_timers_states, align 4, !tbaa !6
%113 = load i32, ptr @fatal_err_msg_sent, align 4, !tbaa !6
%114 = tail call ptr @MLX5_GET(i32 noundef %112, ptr noundef %107, i32 noundef %113) #2
store ptr %114, ptr %1, align 8, !tbaa !15
br label %115
115: ; preds = %104, %96
%116 = tail call i32 @kvfree(ptr noundef nonnull %64) #2
%117 = tail call i32 @kvfree(ptr noundef nonnull %70) #2
br label %118
118: ; preds = %56, %115, %7, %3, %72, %66, %20
%119 = phi i32 [ %22, %20 ], [ %68, %66 ], [ %75, %72 ], [ 0, %3 ], [ 0, %7 ], [ 0, %115 ], [ 0, %56 ]
ret i32 %119
}
declare i32 @MLX5_CAP_GEN(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_ST_SZ_BYTES(i32 noundef) local_unnamed_addr #1
declare ptr @mlx5_vzalloc(i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_query_diagnostic_counters(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @MLX5_GET(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MLX5_GET64(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_core_put_diag_counter(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kvfree(ptr noundef) local_unnamed_addr #1
declare i32 @MLX5_SET(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx5_core_access_reg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @MLX5_ADDR_OF(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"TYPE_5__", !7, i64 0, !7, i64 4}
!14 = !{!13, !7, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !7, i64 4}
!19 = !{!"TYPE_6__", !7, i64 0, !7, i64 4}
!20 = !{!19, !7, i64 0}
| freebsd_sys_dev_mlx5_mlx5_core_extr_mlx5_diagnostics.c_mlx5_core_get_diagnostics_full |
; ModuleID = 'AnghaBench/freebsd/sys/dev/altera/jtag_uart/extr_altera_jtag_uart_cons.c_aju_cons_readable.c'
source_filename = "AnghaBench/freebsd/sys/dev/altera/jtag_uart/extr_altera_jtag_uart_cons.c_aju_cons_readable.c"
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"
@aju_cons_buffer_valid = dso_local local_unnamed_addr global i32 0, align 4
@ALTERA_JTAG_UART_DATA_RVALID = dso_local local_unnamed_addr global i32 0, align 4
@ALTERA_JTAG_UART_DATA_DATA = dso_local local_unnamed_addr global i32 0, align 4
@aju_cons_buffer_data = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @aju_cons_readable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @aju_cons_readable() #0 {
%1 = tail call i32 (...) @AJU_CONSOLE_LOCK_ASSERT() #2
%2 = load i32, ptr @aju_cons_buffer_valid, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %12
4: ; preds = %0
%5 = tail call i32 (...) @aju_cons_data_read() #2
%6 = load i32, ptr @ALTERA_JTAG_UART_DATA_RVALID, align 4, !tbaa !5
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %4
store i32 1, ptr @aju_cons_buffer_valid, align 4, !tbaa !5
%10 = load i32, ptr @ALTERA_JTAG_UART_DATA_DATA, align 4, !tbaa !5
%11 = and i32 %10, %5
store i32 %11, ptr @aju_cons_buffer_data, align 4, !tbaa !5
br label %12
12: ; preds = %4, %0, %9
%13 = phi i32 [ 1, %9 ], [ 1, %0 ], [ 0, %4 ]
ret i32 %13
}
declare i32 @AJU_CONSOLE_LOCK_ASSERT(...) local_unnamed_addr #1
declare i32 @aju_cons_data_read(...) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/altera/jtag_uart/extr_altera_jtag_uart_cons.c_aju_cons_readable.c'
source_filename = "AnghaBench/freebsd/sys/dev/altera/jtag_uart/extr_altera_jtag_uart_cons.c_aju_cons_readable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@aju_cons_buffer_valid = common local_unnamed_addr global i32 0, align 4
@ALTERA_JTAG_UART_DATA_RVALID = common local_unnamed_addr global i32 0, align 4
@ALTERA_JTAG_UART_DATA_DATA = common local_unnamed_addr global i32 0, align 4
@aju_cons_buffer_data = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @aju_cons_readable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @aju_cons_readable() #0 {
%1 = tail call i32 @AJU_CONSOLE_LOCK_ASSERT() #2
%2 = load i32, ptr @aju_cons_buffer_valid, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %12
4: ; preds = %0
%5 = tail call i32 @aju_cons_data_read() #2
%6 = load i32, ptr @ALTERA_JTAG_UART_DATA_RVALID, align 4, !tbaa !6
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %4
store i32 1, ptr @aju_cons_buffer_valid, align 4, !tbaa !6
%10 = load i32, ptr @ALTERA_JTAG_UART_DATA_DATA, align 4, !tbaa !6
%11 = and i32 %10, %5
store i32 %11, ptr @aju_cons_buffer_data, align 4, !tbaa !6
br label %12
12: ; preds = %4, %0, %9
%13 = phi i32 [ 1, %9 ], [ 1, %0 ], [ 0, %4 ]
ret i32 %13
}
declare i32 @AJU_CONSOLE_LOCK_ASSERT(...) local_unnamed_addr #1
declare i32 @aju_cons_data_read(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_altera_jtag_uart_extr_altera_jtag_uart_cons.c_aju_cons_readable |
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_macio.c_pata_macio_port_start.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_macio.c_pata_macio_port_start.c"
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.ata_port = type { i64, i64, %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { ptr }
%struct.pata_macio_priv = type { i32, ptr, i32 }
@MAX_DCMDS = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Unable to allocate DMA command list\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pata_macio_port_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @pata_macio_port_start(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.ata_port, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.ata_port, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = icmp eq ptr %5, null
br i1 %6, label %20, label %7
7: ; preds = %1
%8 = load i32, ptr %3, align 8, !tbaa !13
%9 = load i32, ptr @MAX_DCMDS, align 4, !tbaa !16
%10 = shl i32 %9, 2
%11 = add i32 %10, 8
%12 = getelementptr inbounds %struct.pata_macio_priv, ptr %3, i64 0, i32 2
%13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16
%14 = tail call ptr @dmam_alloc_coherent(i32 noundef %8, i32 noundef %11, ptr noundef nonnull %12, i32 noundef %13) #3
%15 = getelementptr inbounds %struct.pata_macio_priv, ptr %3, i64 0, i32 1
store ptr %14, ptr %15, align 8, !tbaa !17
%16 = icmp eq ptr %14, null
br i1 %16, label %17, label %20
17: ; preds = %7
%18 = load i32, ptr %3, align 8, !tbaa !13
%19 = tail call i32 @dev_err(i32 noundef %18, ptr noundef nonnull @.str) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
br label %20
20: ; preds = %7, %17, %1
ret i32 0
}
declare ptr @dmam_alloc_coherent(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"ata_port", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!14, !15, i64 0}
!14 = !{!"pata_macio_priv", !15, i64 0, !11, i64 8, !15, i64 16}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_macio.c_pata_macio_port_start.c'
source_filename = "AnghaBench/linux/drivers/ata/extr_pata_macio.c_pata_macio_port_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_DCMDS = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Unable to allocate DMA command list\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pata_macio_port_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @pata_macio_port_start(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = icmp eq ptr %5, null
br i1 %6, label %20, label %7
7: ; preds = %1
%8 = load i32, ptr %3, align 8, !tbaa !14
%9 = load i32, ptr @MAX_DCMDS, align 4, !tbaa !17
%10 = shl i32 %9, 2
%11 = add i32 %10, 8
%12 = getelementptr inbounds i8, ptr %3, i64 16
%13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17
%14 = tail call ptr @dmam_alloc_coherent(i32 noundef %8, i32 noundef %11, ptr noundef nonnull %12, i32 noundef %13) #3
%15 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %14, ptr %15, align 8, !tbaa !18
%16 = icmp eq ptr %14, null
br i1 %16, label %17, label %20
17: ; preds = %7
%18 = load i32, ptr %3, align 8, !tbaa !14
%19 = tail call i32 @dev_err(i32 noundef %18, ptr noundef nonnull @.str) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
br label %20
20: ; preds = %7, %17, %1
ret i32 0
}
declare ptr @dmam_alloc_coherent(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"ata_port", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!15, !16, i64 0}
!15 = !{!"pata_macio_priv", !16, i64 0, !12, i64 8, !16, i64 16}
!16 = !{!"int", !9, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!15, !12, i64 8}
| linux_drivers_ata_extr_pata_macio.c_pata_macio_port_start |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_halbtcoutsrc_Write2Byte.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_halbtcoutsrc_Write2Byte.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @halbtcoutsrc_Write2Byte], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @halbtcoutsrc_Write2Byte(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @rtw_write16(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @rtw_write16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_halbtcoutsrc_Write2Byte.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_halbtcoutsrc_Write2Byte.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @halbtcoutsrc_Write2Byte], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @halbtcoutsrc_Write2Byte(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @rtw_write16(ptr noundef %4, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @rtw_write16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_staging_rtl8723bs_hal_extr_hal_btcoex.c_halbtcoutsrc_Write2Byte |
; ModuleID = 'AnghaBench/RetroArch/menu/drivers/extr_stripes.c_stripes_icon_get_id.c'
source_filename = "AnghaBench/RetroArch/menu/drivers/extr_stripes.c_stripes_icon_get_id.c"
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.TYPE_10__ = type { i32, %struct.TYPE_8__, i32 }
%struct.TYPE_8__ = type { ptr }
@STRIPES_TEXTURE_CORE_OPTIONS = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ADD_FAVORITE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RENAME = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_INPUT_REMAPPING_OPTIONS = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CHEAT_OPTIONS = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_DISK_OPTIONS = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SHADER_OPTIONS = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ACHIEVEMENT_LIST = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SAVESTATE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_LOADSTATE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_UNDO = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SCREENSHOT = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CLOSE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RELOAD = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RESUME = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_FOLDER = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RDB = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_FILE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_FAVORITE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_MUSIC = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ZIP = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_IMAGE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_MOVIE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CORE = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CURSOR = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RUN = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CORE_INFO = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SUBSETTING = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SETTING = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_WIFI = dso_local local_unnamed_addr global i64 0, align 8
@MENU_SETTINGS_CHEEVOS_START = dso_local local_unnamed_addr global i32 0, align 4
@MENU_SETTINGS_NETPLAY_ROOMS_START = dso_local local_unnamed_addr global i32 0, align 4
@STRIPES_TEXTURE_ROOM = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ROOM_LAN = dso_local local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ROOM_MITM = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @stripes_icon_get_id], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @stripes_icon_get_id(ptr noundef %0, ptr noundef readonly %1, ptr nocapture readnone %2, i32 noundef %3, i32 noundef %4, i32 %5) #0 {
switch i32 %3, label %107 [
i32 173, label %7
i32 166, label %7
i32 177, label %12
i32 176, label %12
i32 162, label %17
i32 164, label %17
i32 174, label %22
i32 175, label %27
i32 171, label %32
i32 155, label %37
i32 179, label %42
i32 178, label %47
i32 157, label %52
i32 167, label %57
i32 165, label %62
i32 153, label %62
i32 152, label %62
i32 154, label %67
i32 172, label %72
i32 161, label %77
i32 163, label %82
i32 160, label %87
i32 159, label %92
i32 158, label %92
i32 169, label %97
i32 170, label %97
i32 168, label %102
]
7: ; preds = %6, %6
%8 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = load i64, ptr @STRIPES_TEXTURE_CORE_OPTIONS, align 8, !tbaa !12
%11 = getelementptr inbounds i64, ptr %9, i64 %10
br label %266
12: ; preds = %6, %6
%13 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !5
%15 = load i64, ptr @STRIPES_TEXTURE_ADD_FAVORITE, align 8, !tbaa !12
%16 = getelementptr inbounds i64, ptr %14, i64 %15
br label %266
17: ; preds = %6, %6
%18 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%19 = load ptr, ptr %18, align 8, !tbaa !5
%20 = load i64, ptr @STRIPES_TEXTURE_RENAME, align 8, !tbaa !12
%21 = getelementptr inbounds i64, ptr %19, i64 %20
br label %266
22: ; preds = %6
%23 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%24 = load ptr, ptr %23, align 8, !tbaa !5
%25 = load i64, ptr @STRIPES_TEXTURE_INPUT_REMAPPING_OPTIONS, align 8, !tbaa !12
%26 = getelementptr inbounds i64, ptr %24, i64 %25
br label %266
27: ; preds = %6
%28 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !5
%30 = load i64, ptr @STRIPES_TEXTURE_CHEAT_OPTIONS, align 8, !tbaa !12
%31 = getelementptr inbounds i64, ptr %29, i64 %30
br label %266
32: ; preds = %6
%33 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !5
%35 = load i64, ptr @STRIPES_TEXTURE_DISK_OPTIONS, align 8, !tbaa !12
%36 = getelementptr inbounds i64, ptr %34, i64 %35
br label %266
37: ; preds = %6
%38 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%39 = load ptr, ptr %38, align 8, !tbaa !5
%40 = load i64, ptr @STRIPES_TEXTURE_SHADER_OPTIONS, align 8, !tbaa !12
%41 = getelementptr inbounds i64, ptr %39, i64 %40
br label %266
42: ; preds = %6
%43 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%44 = load ptr, ptr %43, align 8, !tbaa !5
%45 = load i64, ptr @STRIPES_TEXTURE_ACHIEVEMENT_LIST, align 8, !tbaa !12
%46 = getelementptr inbounds i64, ptr %44, i64 %45
br label %266
47: ; preds = %6
%48 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%49 = load ptr, ptr %48, align 8, !tbaa !5
%50 = load i64, ptr @STRIPES_TEXTURE_ACHIEVEMENT_LIST, align 8, !tbaa !12
%51 = getelementptr inbounds i64, ptr %49, i64 %50
br label %266
52: ; preds = %6
%53 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%54 = load ptr, ptr %53, align 8, !tbaa !5
%55 = load i64, ptr @STRIPES_TEXTURE_SAVESTATE, align 8, !tbaa !12
%56 = getelementptr inbounds i64, ptr %54, i64 %55
br label %266
57: ; preds = %6
%58 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%59 = load ptr, ptr %58, align 8, !tbaa !5
%60 = load i64, ptr @STRIPES_TEXTURE_LOADSTATE, align 8, !tbaa !12
%61 = getelementptr inbounds i64, ptr %59, i64 %60
br label %266
62: ; preds = %6, %6, %6
%63 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%64 = load ptr, ptr %63, align 8, !tbaa !5
%65 = load i64, ptr @STRIPES_TEXTURE_UNDO, align 8, !tbaa !12
%66 = getelementptr inbounds i64, ptr %64, i64 %65
br label %266
67: ; preds = %6
%68 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%69 = load ptr, ptr %68, align 8, !tbaa !5
%70 = load i64, ptr @STRIPES_TEXTURE_SCREENSHOT, align 8, !tbaa !12
%71 = getelementptr inbounds i64, ptr %69, i64 %70
br label %266
72: ; preds = %6
%73 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%74 = load ptr, ptr %73, align 8, !tbaa !5
%75 = load i64, ptr @STRIPES_TEXTURE_CLOSE, align 8, !tbaa !12
%76 = getelementptr inbounds i64, ptr %74, i64 %75
br label %266
77: ; preds = %6
%78 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%79 = load ptr, ptr %78, align 8, !tbaa !5
%80 = load i64, ptr @STRIPES_TEXTURE_RELOAD, align 8, !tbaa !12
%81 = getelementptr inbounds i64, ptr %79, i64 %80
br label %266
82: ; preds = %6
%83 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%84 = load ptr, ptr %83, align 8, !tbaa !5
%85 = load i64, ptr @STRIPES_TEXTURE_RENAME, align 8, !tbaa !12
%86 = getelementptr inbounds i64, ptr %84, i64 %85
br label %266
87: ; preds = %6
%88 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%89 = load ptr, ptr %88, align 8, !tbaa !5
%90 = load i64, ptr @STRIPES_TEXTURE_RESUME, align 8, !tbaa !12
%91 = getelementptr inbounds i64, ptr %89, i64 %90
br label %266
92: ; preds = %6, %6
%93 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%94 = load ptr, ptr %93, align 8, !tbaa !5
%95 = load i64, ptr @STRIPES_TEXTURE_SAVESTATE, align 8, !tbaa !12
%96 = getelementptr inbounds i64, ptr %94, i64 %95
br label %266
97: ; preds = %6, %6
%98 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%99 = load ptr, ptr %98, align 8, !tbaa !5
%100 = load i64, ptr @STRIPES_TEXTURE_FOLDER, align 8, !tbaa !12
%101 = getelementptr inbounds i64, ptr %99, i64 %100
br label %266
102: ; preds = %6
%103 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%104 = load ptr, ptr %103, align 8, !tbaa !5
%105 = load i64, ptr @STRIPES_TEXTURE_RDB, align 8, !tbaa !12
%106 = getelementptr inbounds i64, ptr %104, i64 %105
br label %266
107: ; preds = %6
switch i32 %4, label %261 [
i32 191, label %108
i32 184, label %113
i32 187, label %113
i32 180, label %118
i32 194, label %135
i32 185, label %140
i32 189, label %145
i32 188, label %145
i32 186, label %150
i32 193, label %155
i32 190, label %155
i32 182, label %160
i32 192, label %165
i32 183, label %170
i32 136, label %170
i32 146, label %175
i32 135, label %180
i32 138, label %185
i32 181, label %190
i32 143, label %190
i32 141, label %195
i32 156, label %195
i32 142, label %200
i32 145, label %205
i32 144, label %210
i32 140, label %215
i32 134, label %220
i32 139, label %225
i32 137, label %230
i32 147, label %235
i32 133, label %246
i32 151, label %251
i32 132, label %256
]
108: ; preds = %107
%109 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%110 = load ptr, ptr %109, align 8, !tbaa !5
%111 = load i64, ptr @STRIPES_TEXTURE_FOLDER, align 8, !tbaa !12
%112 = getelementptr inbounds i64, ptr %110, i64 %111
br label %266
113: ; preds = %107, %107
%114 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%115 = load ptr, ptr %114, align 8, !tbaa !5
%116 = load i64, ptr @STRIPES_TEXTURE_FILE, align 8, !tbaa !12
%117 = getelementptr inbounds i64, ptr %115, i64 %116
br label %266
118: ; preds = %107
%119 = icmp eq ptr %1, null
br i1 %119, label %120, label %266
120: ; preds = %118
%121 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
%122 = load i32, ptr %121, align 8, !tbaa !14
%123 = tail call i32 @stripes_get_system_tab(ptr noundef %0, i32 noundef %122) #2
%124 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%125 = load ptr, ptr %124, align 8, !tbaa !5
switch i32 %123, label %132 [
i32 131, label %126
i32 129, label %129
]
126: ; preds = %120
%127 = load i64, ptr @STRIPES_TEXTURE_FAVORITE, align 8, !tbaa !12
%128 = getelementptr inbounds i64, ptr %125, i64 %127
br label %266
129: ; preds = %120
%130 = load i64, ptr @STRIPES_TEXTURE_MUSIC, align 8, !tbaa !12
%131 = getelementptr inbounds i64, ptr %125, i64 %130
br label %266
132: ; preds = %120
%133 = load i64, ptr @STRIPES_TEXTURE_FILE, align 8, !tbaa !12
%134 = getelementptr inbounds i64, ptr %125, i64 %133
br label %266
135: ; preds = %107
%136 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%137 = load ptr, ptr %136, align 8, !tbaa !5
%138 = load i64, ptr @STRIPES_TEXTURE_ZIP, align 8, !tbaa !12
%139 = getelementptr inbounds i64, ptr %137, i64 %138
br label %266
140: ; preds = %107
%141 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%142 = load ptr, ptr %141, align 8, !tbaa !5
%143 = load i64, ptr @STRIPES_TEXTURE_MUSIC, align 8, !tbaa !12
%144 = getelementptr inbounds i64, ptr %142, i64 %143
br label %266
145: ; preds = %107, %107
%146 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%147 = load ptr, ptr %146, align 8, !tbaa !5
%148 = load i64, ptr @STRIPES_TEXTURE_IMAGE, align 8, !tbaa !12
%149 = getelementptr inbounds i64, ptr %147, i64 %148
br label %266
150: ; preds = %107
%151 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%152 = load ptr, ptr %151, align 8, !tbaa !5
%153 = load i64, ptr @STRIPES_TEXTURE_MOVIE, align 8, !tbaa !12
%154 = getelementptr inbounds i64, ptr %152, i64 %153
br label %266
155: ; preds = %107, %107
%156 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%157 = load ptr, ptr %156, align 8, !tbaa !5
%158 = load i64, ptr @STRIPES_TEXTURE_CORE, align 8, !tbaa !12
%159 = getelementptr inbounds i64, ptr %157, i64 %158
br label %266
160: ; preds = %107
%161 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%162 = load ptr, ptr %161, align 8, !tbaa !5
%163 = load i64, ptr @STRIPES_TEXTURE_RDB, align 8, !tbaa !12
%164 = getelementptr inbounds i64, ptr %162, i64 %163
br label %266
165: ; preds = %107
%166 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%167 = load ptr, ptr %166, align 8, !tbaa !5
%168 = load i64, ptr @STRIPES_TEXTURE_CURSOR, align 8, !tbaa !12
%169 = getelementptr inbounds i64, ptr %167, i64 %168
br label %266
170: ; preds = %107, %107
%171 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%172 = load ptr, ptr %171, align 8, !tbaa !5
%173 = load i64, ptr @STRIPES_TEXTURE_RUN, align 8, !tbaa !12
%174 = getelementptr inbounds i64, ptr %172, i64 %173
br label %266
175: ; preds = %107
%176 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%177 = load ptr, ptr %176, align 8, !tbaa !5
%178 = load i64, ptr @STRIPES_TEXTURE_CLOSE, align 8, !tbaa !12
%179 = getelementptr inbounds i64, ptr %177, i64 %178
br label %266
180: ; preds = %107
%181 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%182 = load ptr, ptr %181, align 8, !tbaa !5
%183 = load i64, ptr @STRIPES_TEXTURE_SAVESTATE, align 8, !tbaa !12
%184 = getelementptr inbounds i64, ptr %182, i64 %183
br label %266
185: ; preds = %107
%186 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%187 = load ptr, ptr %186, align 8, !tbaa !5
%188 = load i64, ptr @STRIPES_TEXTURE_LOADSTATE, align 8, !tbaa !12
%189 = getelementptr inbounds i64, ptr %187, i64 %188
br label %266
190: ; preds = %107, %107
%191 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%192 = load ptr, ptr %191, align 8, !tbaa !5
%193 = load i64, ptr @STRIPES_TEXTURE_CORE_INFO, align 8, !tbaa !12
%194 = getelementptr inbounds i64, ptr %192, i64 %193
br label %266
195: ; preds = %107, %107
%196 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%197 = load ptr, ptr %196, align 8, !tbaa !5
%198 = load i64, ptr @STRIPES_TEXTURE_CORE_OPTIONS, align 8, !tbaa !12
%199 = getelementptr inbounds i64, ptr %197, i64 %198
br label %266
200: ; preds = %107
%201 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%202 = load ptr, ptr %201, align 8, !tbaa !5
%203 = load i64, ptr @STRIPES_TEXTURE_INPUT_REMAPPING_OPTIONS, align 8, !tbaa !12
%204 = getelementptr inbounds i64, ptr %202, i64 %203
br label %266
205: ; preds = %107
%206 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%207 = load ptr, ptr %206, align 8, !tbaa !5
%208 = load i64, ptr @STRIPES_TEXTURE_CHEAT_OPTIONS, align 8, !tbaa !12
%209 = getelementptr inbounds i64, ptr %207, i64 %208
br label %266
210: ; preds = %107
%211 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%212 = load ptr, ptr %211, align 8, !tbaa !5
%213 = load i64, ptr @STRIPES_TEXTURE_DISK_OPTIONS, align 8, !tbaa !12
%214 = getelementptr inbounds i64, ptr %212, i64 %213
br label %266
215: ; preds = %107
%216 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%217 = load ptr, ptr %216, align 8, !tbaa !5
%218 = load i64, ptr @STRIPES_TEXTURE_SHADER_OPTIONS, align 8, !tbaa !12
%219 = getelementptr inbounds i64, ptr %217, i64 %218
br label %266
220: ; preds = %107
%221 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%222 = load ptr, ptr %221, align 8, !tbaa !5
%223 = load i64, ptr @STRIPES_TEXTURE_SCREENSHOT, align 8, !tbaa !12
%224 = getelementptr inbounds i64, ptr %222, i64 %223
br label %266
225: ; preds = %107
%226 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%227 = load ptr, ptr %226, align 8, !tbaa !5
%228 = load i64, ptr @STRIPES_TEXTURE_CLOSE, align 8, !tbaa !12
%229 = getelementptr inbounds i64, ptr %227, i64 %228
br label %266
230: ; preds = %107
%231 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%232 = load ptr, ptr %231, align 8, !tbaa !5
%233 = load i64, ptr @STRIPES_TEXTURE_RELOAD, align 8, !tbaa !12
%234 = getelementptr inbounds i64, ptr %232, i64 %233
br label %266
235: ; preds = %107
%236 = load i32, ptr %0, align 8, !tbaa !15
%237 = icmp eq i32 %236, 3
%238 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%239 = load ptr, ptr %238, align 8, !tbaa !5
br i1 %237, label %240, label %243
240: ; preds = %235
%241 = load i64, ptr @STRIPES_TEXTURE_SUBSETTING, align 8, !tbaa !12
%242 = getelementptr inbounds i64, ptr %239, i64 %241
br label %266
243: ; preds = %235
%244 = load i64, ptr @STRIPES_TEXTURE_SETTING, align 8, !tbaa !12
%245 = getelementptr inbounds i64, ptr %239, i64 %244
br label %266
246: ; preds = %107
%247 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%248 = load ptr, ptr %247, align 8, !tbaa !5
%249 = load i64, ptr @STRIPES_TEXTURE_SETTING, align 8, !tbaa !12
%250 = getelementptr inbounds i64, ptr %248, i64 %249
br label %266
251: ; preds = %107
%252 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%253 = load ptr, ptr %252, align 8, !tbaa !5
%254 = load i64, ptr @STRIPES_TEXTURE_CORE_INFO, align 8, !tbaa !12
%255 = getelementptr inbounds i64, ptr %253, i64 %254
br label %266
256: ; preds = %107
%257 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%258 = load ptr, ptr %257, align 8, !tbaa !5
%259 = load i64, ptr @STRIPES_TEXTURE_WIFI, align 8, !tbaa !12
%260 = getelementptr inbounds i64, ptr %258, i64 %259
br label %266
261: ; preds = %107
%262 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%263 = load ptr, ptr %262, align 8, !tbaa !5
%264 = load i64, ptr @STRIPES_TEXTURE_SUBSETTING, align 8, !tbaa !12
%265 = getelementptr inbounds i64, ptr %263, i64 %264
br label %266
266: ; preds = %118, %261, %256, %251, %246, %243, %240, %230, %225, %220, %215, %210, %205, %200, %195, %190, %185, %180, %175, %170, %165, %160, %155, %150, %145, %140, %135, %132, %129, %126, %113, %108, %102, %97, %92, %87, %82, %77, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%267 = phi ptr [ %265, %261 ], [ %260, %256 ], [ %255, %251 ], [ %250, %246 ], [ %242, %240 ], [ %245, %243 ], [ %234, %230 ], [ %229, %225 ], [ %224, %220 ], [ %219, %215 ], [ %214, %210 ], [ %209, %205 ], [ %204, %200 ], [ %199, %195 ], [ %194, %190 ], [ %189, %185 ], [ %184, %180 ], [ %179, %175 ], [ %174, %170 ], [ %169, %165 ], [ %164, %160 ], [ %159, %155 ], [ %154, %150 ], [ %149, %145 ], [ %144, %140 ], [ %139, %135 ], [ %134, %132 ], [ %131, %129 ], [ %128, %126 ], [ %117, %113 ], [ %112, %108 ], [ %106, %102 ], [ %101, %97 ], [ %96, %92 ], [ %91, %87 ], [ %86, %82 ], [ %81, %77 ], [ %76, %72 ], [ %71, %67 ], [ %66, %62 ], [ %61, %57 ], [ %56, %52 ], [ %51, %47 ], [ %46, %42 ], [ %41, %37 ], [ %36, %32 ], [ %31, %27 ], [ %26, %22 ], [ %21, %17 ], [ %16, %12 ], [ %11, %7 ], [ %1, %118 ]
%268 = load i64, ptr %267, align 8, !tbaa !12
ret i64 %268
}
declare i32 @stripes_get_system_tab(ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"TYPE_10__", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/menu/drivers/extr_stripes.c_stripes_icon_get_id.c'
source_filename = "AnghaBench/RetroArch/menu/drivers/extr_stripes.c_stripes_icon_get_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STRIPES_TEXTURE_CORE_OPTIONS = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ADD_FAVORITE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RENAME = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_INPUT_REMAPPING_OPTIONS = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CHEAT_OPTIONS = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_DISK_OPTIONS = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SHADER_OPTIONS = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ACHIEVEMENT_LIST = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SAVESTATE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_LOADSTATE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_UNDO = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SCREENSHOT = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CLOSE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RELOAD = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RESUME = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_FOLDER = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RDB = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_FILE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_FAVORITE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_MUSIC = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ZIP = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_IMAGE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_MOVIE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CORE = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CURSOR = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_RUN = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_CORE_INFO = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SUBSETTING = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_SETTING = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_WIFI = common local_unnamed_addr global i64 0, align 8
@MENU_SETTINGS_CHEEVOS_START = common local_unnamed_addr global i32 0, align 4
@MENU_SETTINGS_NETPLAY_ROOMS_START = common local_unnamed_addr global i32 0, align 4
@STRIPES_TEXTURE_ROOM = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ROOM_LAN = common local_unnamed_addr global i64 0, align 8
@STRIPES_TEXTURE_ROOM_MITM = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @stripes_icon_get_id], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @stripes_icon_get_id(ptr noundef %0, ptr noundef readonly %1, ptr nocapture readnone %2, i32 noundef %3, i32 noundef %4, i32 %5) #0 {
switch i32 %3, label %107 [
i32 173, label %7
i32 166, label %7
i32 177, label %12
i32 176, label %12
i32 162, label %17
i32 164, label %17
i32 174, label %22
i32 175, label %27
i32 171, label %32
i32 155, label %37
i32 179, label %42
i32 178, label %47
i32 157, label %52
i32 167, label %57
i32 165, label %62
i32 153, label %62
i32 152, label %62
i32 154, label %67
i32 172, label %72
i32 161, label %77
i32 163, label %82
i32 160, label %87
i32 159, label %92
i32 158, label %92
i32 169, label %97
i32 170, label %97
i32 168, label %102
]
7: ; preds = %6, %6
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = load i64, ptr @STRIPES_TEXTURE_CORE_OPTIONS, align 8, !tbaa !13
%11 = getelementptr inbounds i64, ptr %9, i64 %10
br label %266
12: ; preds = %6, %6
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !6
%15 = load i64, ptr @STRIPES_TEXTURE_ADD_FAVORITE, align 8, !tbaa !13
%16 = getelementptr inbounds i64, ptr %14, i64 %15
br label %266
17: ; preds = %6, %6
%18 = getelementptr inbounds i8, ptr %0, i64 8
%19 = load ptr, ptr %18, align 8, !tbaa !6
%20 = load i64, ptr @STRIPES_TEXTURE_RENAME, align 8, !tbaa !13
%21 = getelementptr inbounds i64, ptr %19, i64 %20
br label %266
22: ; preds = %6
%23 = getelementptr inbounds i8, ptr %0, i64 8
%24 = load ptr, ptr %23, align 8, !tbaa !6
%25 = load i64, ptr @STRIPES_TEXTURE_INPUT_REMAPPING_OPTIONS, align 8, !tbaa !13
%26 = getelementptr inbounds i64, ptr %24, i64 %25
br label %266
27: ; preds = %6
%28 = getelementptr inbounds i8, ptr %0, i64 8
%29 = load ptr, ptr %28, align 8, !tbaa !6
%30 = load i64, ptr @STRIPES_TEXTURE_CHEAT_OPTIONS, align 8, !tbaa !13
%31 = getelementptr inbounds i64, ptr %29, i64 %30
br label %266
32: ; preds = %6
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !6
%35 = load i64, ptr @STRIPES_TEXTURE_DISK_OPTIONS, align 8, !tbaa !13
%36 = getelementptr inbounds i64, ptr %34, i64 %35
br label %266
37: ; preds = %6
%38 = getelementptr inbounds i8, ptr %0, i64 8
%39 = load ptr, ptr %38, align 8, !tbaa !6
%40 = load i64, ptr @STRIPES_TEXTURE_SHADER_OPTIONS, align 8, !tbaa !13
%41 = getelementptr inbounds i64, ptr %39, i64 %40
br label %266
42: ; preds = %6
%43 = getelementptr inbounds i8, ptr %0, i64 8
%44 = load ptr, ptr %43, align 8, !tbaa !6
%45 = load i64, ptr @STRIPES_TEXTURE_ACHIEVEMENT_LIST, align 8, !tbaa !13
%46 = getelementptr inbounds i64, ptr %44, i64 %45
br label %266
47: ; preds = %6
%48 = getelementptr inbounds i8, ptr %0, i64 8
%49 = load ptr, ptr %48, align 8, !tbaa !6
%50 = load i64, ptr @STRIPES_TEXTURE_ACHIEVEMENT_LIST, align 8, !tbaa !13
%51 = getelementptr inbounds i64, ptr %49, i64 %50
br label %266
52: ; preds = %6
%53 = getelementptr inbounds i8, ptr %0, i64 8
%54 = load ptr, ptr %53, align 8, !tbaa !6
%55 = load i64, ptr @STRIPES_TEXTURE_SAVESTATE, align 8, !tbaa !13
%56 = getelementptr inbounds i64, ptr %54, i64 %55
br label %266
57: ; preds = %6
%58 = getelementptr inbounds i8, ptr %0, i64 8
%59 = load ptr, ptr %58, align 8, !tbaa !6
%60 = load i64, ptr @STRIPES_TEXTURE_LOADSTATE, align 8, !tbaa !13
%61 = getelementptr inbounds i64, ptr %59, i64 %60
br label %266
62: ; preds = %6, %6, %6
%63 = getelementptr inbounds i8, ptr %0, i64 8
%64 = load ptr, ptr %63, align 8, !tbaa !6
%65 = load i64, ptr @STRIPES_TEXTURE_UNDO, align 8, !tbaa !13
%66 = getelementptr inbounds i64, ptr %64, i64 %65
br label %266
67: ; preds = %6
%68 = getelementptr inbounds i8, ptr %0, i64 8
%69 = load ptr, ptr %68, align 8, !tbaa !6
%70 = load i64, ptr @STRIPES_TEXTURE_SCREENSHOT, align 8, !tbaa !13
%71 = getelementptr inbounds i64, ptr %69, i64 %70
br label %266
72: ; preds = %6
%73 = getelementptr inbounds i8, ptr %0, i64 8
%74 = load ptr, ptr %73, align 8, !tbaa !6
%75 = load i64, ptr @STRIPES_TEXTURE_CLOSE, align 8, !tbaa !13
%76 = getelementptr inbounds i64, ptr %74, i64 %75
br label %266
77: ; preds = %6
%78 = getelementptr inbounds i8, ptr %0, i64 8
%79 = load ptr, ptr %78, align 8, !tbaa !6
%80 = load i64, ptr @STRIPES_TEXTURE_RELOAD, align 8, !tbaa !13
%81 = getelementptr inbounds i64, ptr %79, i64 %80
br label %266
82: ; preds = %6
%83 = getelementptr inbounds i8, ptr %0, i64 8
%84 = load ptr, ptr %83, align 8, !tbaa !6
%85 = load i64, ptr @STRIPES_TEXTURE_RENAME, align 8, !tbaa !13
%86 = getelementptr inbounds i64, ptr %84, i64 %85
br label %266
87: ; preds = %6
%88 = getelementptr inbounds i8, ptr %0, i64 8
%89 = load ptr, ptr %88, align 8, !tbaa !6
%90 = load i64, ptr @STRIPES_TEXTURE_RESUME, align 8, !tbaa !13
%91 = getelementptr inbounds i64, ptr %89, i64 %90
br label %266
92: ; preds = %6, %6
%93 = getelementptr inbounds i8, ptr %0, i64 8
%94 = load ptr, ptr %93, align 8, !tbaa !6
%95 = load i64, ptr @STRIPES_TEXTURE_SAVESTATE, align 8, !tbaa !13
%96 = getelementptr inbounds i64, ptr %94, i64 %95
br label %266
97: ; preds = %6, %6
%98 = getelementptr inbounds i8, ptr %0, i64 8
%99 = load ptr, ptr %98, align 8, !tbaa !6
%100 = load i64, ptr @STRIPES_TEXTURE_FOLDER, align 8, !tbaa !13
%101 = getelementptr inbounds i64, ptr %99, i64 %100
br label %266
102: ; preds = %6
%103 = getelementptr inbounds i8, ptr %0, i64 8
%104 = load ptr, ptr %103, align 8, !tbaa !6
%105 = load i64, ptr @STRIPES_TEXTURE_RDB, align 8, !tbaa !13
%106 = getelementptr inbounds i64, ptr %104, i64 %105
br label %266
107: ; preds = %6
switch i32 %4, label %261 [
i32 191, label %108
i32 184, label %113
i32 187, label %113
i32 180, label %118
i32 194, label %135
i32 185, label %140
i32 189, label %145
i32 188, label %145
i32 186, label %150
i32 193, label %155
i32 190, label %155
i32 182, label %160
i32 192, label %165
i32 183, label %170
i32 136, label %170
i32 146, label %175
i32 135, label %180
i32 138, label %185
i32 181, label %190
i32 143, label %190
i32 141, label %195
i32 156, label %195
i32 142, label %200
i32 145, label %205
i32 144, label %210
i32 140, label %215
i32 134, label %220
i32 139, label %225
i32 137, label %230
i32 147, label %235
i32 133, label %246
i32 151, label %251
i32 132, label %256
]
108: ; preds = %107
%109 = getelementptr inbounds i8, ptr %0, i64 8
%110 = load ptr, ptr %109, align 8, !tbaa !6
%111 = load i64, ptr @STRIPES_TEXTURE_FOLDER, align 8, !tbaa !13
%112 = getelementptr inbounds i64, ptr %110, i64 %111
br label %266
113: ; preds = %107, %107
%114 = getelementptr inbounds i8, ptr %0, i64 8
%115 = load ptr, ptr %114, align 8, !tbaa !6
%116 = load i64, ptr @STRIPES_TEXTURE_FILE, align 8, !tbaa !13
%117 = getelementptr inbounds i64, ptr %115, i64 %116
br label %266
118: ; preds = %107
%119 = icmp eq ptr %1, null
br i1 %119, label %120, label %266
120: ; preds = %118
%121 = getelementptr inbounds i8, ptr %0, i64 16
%122 = load i32, ptr %121, align 8, !tbaa !15
%123 = tail call i32 @stripes_get_system_tab(ptr noundef %0, i32 noundef %122) #2
%124 = getelementptr inbounds i8, ptr %0, i64 8
%125 = load ptr, ptr %124, align 8, !tbaa !6
switch i32 %123, label %132 [
i32 131, label %126
i32 129, label %129
]
126: ; preds = %120
%127 = load i64, ptr @STRIPES_TEXTURE_FAVORITE, align 8, !tbaa !13
%128 = getelementptr inbounds i64, ptr %125, i64 %127
br label %266
129: ; preds = %120
%130 = load i64, ptr @STRIPES_TEXTURE_MUSIC, align 8, !tbaa !13
%131 = getelementptr inbounds i64, ptr %125, i64 %130
br label %266
132: ; preds = %120
%133 = load i64, ptr @STRIPES_TEXTURE_FILE, align 8, !tbaa !13
%134 = getelementptr inbounds i64, ptr %125, i64 %133
br label %266
135: ; preds = %107
%136 = getelementptr inbounds i8, ptr %0, i64 8
%137 = load ptr, ptr %136, align 8, !tbaa !6
%138 = load i64, ptr @STRIPES_TEXTURE_ZIP, align 8, !tbaa !13
%139 = getelementptr inbounds i64, ptr %137, i64 %138
br label %266
140: ; preds = %107
%141 = getelementptr inbounds i8, ptr %0, i64 8
%142 = load ptr, ptr %141, align 8, !tbaa !6
%143 = load i64, ptr @STRIPES_TEXTURE_MUSIC, align 8, !tbaa !13
%144 = getelementptr inbounds i64, ptr %142, i64 %143
br label %266
145: ; preds = %107, %107
%146 = getelementptr inbounds i8, ptr %0, i64 8
%147 = load ptr, ptr %146, align 8, !tbaa !6
%148 = load i64, ptr @STRIPES_TEXTURE_IMAGE, align 8, !tbaa !13
%149 = getelementptr inbounds i64, ptr %147, i64 %148
br label %266
150: ; preds = %107
%151 = getelementptr inbounds i8, ptr %0, i64 8
%152 = load ptr, ptr %151, align 8, !tbaa !6
%153 = load i64, ptr @STRIPES_TEXTURE_MOVIE, align 8, !tbaa !13
%154 = getelementptr inbounds i64, ptr %152, i64 %153
br label %266
155: ; preds = %107, %107
%156 = getelementptr inbounds i8, ptr %0, i64 8
%157 = load ptr, ptr %156, align 8, !tbaa !6
%158 = load i64, ptr @STRIPES_TEXTURE_CORE, align 8, !tbaa !13
%159 = getelementptr inbounds i64, ptr %157, i64 %158
br label %266
160: ; preds = %107
%161 = getelementptr inbounds i8, ptr %0, i64 8
%162 = load ptr, ptr %161, align 8, !tbaa !6
%163 = load i64, ptr @STRIPES_TEXTURE_RDB, align 8, !tbaa !13
%164 = getelementptr inbounds i64, ptr %162, i64 %163
br label %266
165: ; preds = %107
%166 = getelementptr inbounds i8, ptr %0, i64 8
%167 = load ptr, ptr %166, align 8, !tbaa !6
%168 = load i64, ptr @STRIPES_TEXTURE_CURSOR, align 8, !tbaa !13
%169 = getelementptr inbounds i64, ptr %167, i64 %168
br label %266
170: ; preds = %107, %107
%171 = getelementptr inbounds i8, ptr %0, i64 8
%172 = load ptr, ptr %171, align 8, !tbaa !6
%173 = load i64, ptr @STRIPES_TEXTURE_RUN, align 8, !tbaa !13
%174 = getelementptr inbounds i64, ptr %172, i64 %173
br label %266
175: ; preds = %107
%176 = getelementptr inbounds i8, ptr %0, i64 8
%177 = load ptr, ptr %176, align 8, !tbaa !6
%178 = load i64, ptr @STRIPES_TEXTURE_CLOSE, align 8, !tbaa !13
%179 = getelementptr inbounds i64, ptr %177, i64 %178
br label %266
180: ; preds = %107
%181 = getelementptr inbounds i8, ptr %0, i64 8
%182 = load ptr, ptr %181, align 8, !tbaa !6
%183 = load i64, ptr @STRIPES_TEXTURE_SAVESTATE, align 8, !tbaa !13
%184 = getelementptr inbounds i64, ptr %182, i64 %183
br label %266
185: ; preds = %107
%186 = getelementptr inbounds i8, ptr %0, i64 8
%187 = load ptr, ptr %186, align 8, !tbaa !6
%188 = load i64, ptr @STRIPES_TEXTURE_LOADSTATE, align 8, !tbaa !13
%189 = getelementptr inbounds i64, ptr %187, i64 %188
br label %266
190: ; preds = %107, %107
%191 = getelementptr inbounds i8, ptr %0, i64 8
%192 = load ptr, ptr %191, align 8, !tbaa !6
%193 = load i64, ptr @STRIPES_TEXTURE_CORE_INFO, align 8, !tbaa !13
%194 = getelementptr inbounds i64, ptr %192, i64 %193
br label %266
195: ; preds = %107, %107
%196 = getelementptr inbounds i8, ptr %0, i64 8
%197 = load ptr, ptr %196, align 8, !tbaa !6
%198 = load i64, ptr @STRIPES_TEXTURE_CORE_OPTIONS, align 8, !tbaa !13
%199 = getelementptr inbounds i64, ptr %197, i64 %198
br label %266
200: ; preds = %107
%201 = getelementptr inbounds i8, ptr %0, i64 8
%202 = load ptr, ptr %201, align 8, !tbaa !6
%203 = load i64, ptr @STRIPES_TEXTURE_INPUT_REMAPPING_OPTIONS, align 8, !tbaa !13
%204 = getelementptr inbounds i64, ptr %202, i64 %203
br label %266
205: ; preds = %107
%206 = getelementptr inbounds i8, ptr %0, i64 8
%207 = load ptr, ptr %206, align 8, !tbaa !6
%208 = load i64, ptr @STRIPES_TEXTURE_CHEAT_OPTIONS, align 8, !tbaa !13
%209 = getelementptr inbounds i64, ptr %207, i64 %208
br label %266
210: ; preds = %107
%211 = getelementptr inbounds i8, ptr %0, i64 8
%212 = load ptr, ptr %211, align 8, !tbaa !6
%213 = load i64, ptr @STRIPES_TEXTURE_DISK_OPTIONS, align 8, !tbaa !13
%214 = getelementptr inbounds i64, ptr %212, i64 %213
br label %266
215: ; preds = %107
%216 = getelementptr inbounds i8, ptr %0, i64 8
%217 = load ptr, ptr %216, align 8, !tbaa !6
%218 = load i64, ptr @STRIPES_TEXTURE_SHADER_OPTIONS, align 8, !tbaa !13
%219 = getelementptr inbounds i64, ptr %217, i64 %218
br label %266
220: ; preds = %107
%221 = getelementptr inbounds i8, ptr %0, i64 8
%222 = load ptr, ptr %221, align 8, !tbaa !6
%223 = load i64, ptr @STRIPES_TEXTURE_SCREENSHOT, align 8, !tbaa !13
%224 = getelementptr inbounds i64, ptr %222, i64 %223
br label %266
225: ; preds = %107
%226 = getelementptr inbounds i8, ptr %0, i64 8
%227 = load ptr, ptr %226, align 8, !tbaa !6
%228 = load i64, ptr @STRIPES_TEXTURE_CLOSE, align 8, !tbaa !13
%229 = getelementptr inbounds i64, ptr %227, i64 %228
br label %266
230: ; preds = %107
%231 = getelementptr inbounds i8, ptr %0, i64 8
%232 = load ptr, ptr %231, align 8, !tbaa !6
%233 = load i64, ptr @STRIPES_TEXTURE_RELOAD, align 8, !tbaa !13
%234 = getelementptr inbounds i64, ptr %232, i64 %233
br label %266
235: ; preds = %107
%236 = load i32, ptr %0, align 8, !tbaa !16
%237 = icmp eq i32 %236, 3
%238 = getelementptr inbounds i8, ptr %0, i64 8
%239 = load ptr, ptr %238, align 8, !tbaa !6
br i1 %237, label %240, label %243
240: ; preds = %235
%241 = load i64, ptr @STRIPES_TEXTURE_SUBSETTING, align 8, !tbaa !13
%242 = getelementptr inbounds i64, ptr %239, i64 %241
br label %266
243: ; preds = %235
%244 = load i64, ptr @STRIPES_TEXTURE_SETTING, align 8, !tbaa !13
%245 = getelementptr inbounds i64, ptr %239, i64 %244
br label %266
246: ; preds = %107
%247 = getelementptr inbounds i8, ptr %0, i64 8
%248 = load ptr, ptr %247, align 8, !tbaa !6
%249 = load i64, ptr @STRIPES_TEXTURE_SETTING, align 8, !tbaa !13
%250 = getelementptr inbounds i64, ptr %248, i64 %249
br label %266
251: ; preds = %107
%252 = getelementptr inbounds i8, ptr %0, i64 8
%253 = load ptr, ptr %252, align 8, !tbaa !6
%254 = load i64, ptr @STRIPES_TEXTURE_CORE_INFO, align 8, !tbaa !13
%255 = getelementptr inbounds i64, ptr %253, i64 %254
br label %266
256: ; preds = %107
%257 = getelementptr inbounds i8, ptr %0, i64 8
%258 = load ptr, ptr %257, align 8, !tbaa !6
%259 = load i64, ptr @STRIPES_TEXTURE_WIFI, align 8, !tbaa !13
%260 = getelementptr inbounds i64, ptr %258, i64 %259
br label %266
261: ; preds = %107
%262 = getelementptr inbounds i8, ptr %0, i64 8
%263 = load ptr, ptr %262, align 8, !tbaa !6
%264 = load i64, ptr @STRIPES_TEXTURE_SUBSETTING, align 8, !tbaa !13
%265 = getelementptr inbounds i64, ptr %263, i64 %264
br label %266
266: ; preds = %118, %261, %256, %251, %246, %243, %240, %230, %225, %220, %215, %210, %205, %200, %195, %190, %185, %180, %175, %170, %165, %160, %155, %150, %145, %140, %135, %132, %129, %126, %113, %108, %102, %97, %92, %87, %82, %77, %72, %67, %62, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%267 = phi ptr [ %265, %261 ], [ %260, %256 ], [ %255, %251 ], [ %250, %246 ], [ %242, %240 ], [ %245, %243 ], [ %234, %230 ], [ %229, %225 ], [ %224, %220 ], [ %219, %215 ], [ %214, %210 ], [ %209, %205 ], [ %204, %200 ], [ %199, %195 ], [ %194, %190 ], [ %189, %185 ], [ %184, %180 ], [ %179, %175 ], [ %174, %170 ], [ %169, %165 ], [ %164, %160 ], [ %159, %155 ], [ %154, %150 ], [ %149, %145 ], [ %144, %140 ], [ %139, %135 ], [ %134, %132 ], [ %131, %129 ], [ %128, %126 ], [ %117, %113 ], [ %112, %108 ], [ %106, %102 ], [ %101, %97 ], [ %96, %92 ], [ %91, %87 ], [ %86, %82 ], [ %81, %77 ], [ %76, %72 ], [ %71, %67 ], [ %66, %62 ], [ %61, %57 ], [ %56, %52 ], [ %51, %47 ], [ %46, %42 ], [ %41, %37 ], [ %36, %32 ], [ %31, %27 ], [ %26, %22 ], [ %21, %17 ], [ %16, %12 ], [ %11, %7 ], [ %1, %118 ]
%268 = load i64, ptr %267, align 8, !tbaa !13
ret i64 %268
}
declare i32 @stripes_get_system_tab(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"TYPE_10__", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 0}
| RetroArch_menu_drivers_extr_stripes.c_stripes_icon_get_id |
; ModuleID = 'AnghaBench/bitwise/ion/extr_ast.c_new_stmt_break.c'
source_filename = "AnghaBench/bitwise/ion/extr_ast.c_new_stmt_break.c"
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"
@STMT_BREAK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @new_stmt_break(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @STMT_BREAK, align 4, !tbaa !5
%3 = tail call ptr @new_stmt(i32 noundef %2, i32 noundef %0) #2
ret ptr %3
}
declare ptr @new_stmt(i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/bitwise/ion/extr_ast.c_new_stmt_break.c'
source_filename = "AnghaBench/bitwise/ion/extr_ast.c_new_stmt_break.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STMT_BREAK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @new_stmt_break(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @STMT_BREAK, align 4, !tbaa !6
%3 = tail call ptr @new_stmt(i32 noundef %2, i32 noundef %0) #2
ret ptr %3
}
declare ptr @new_stmt(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| bitwise_ion_extr_ast.c_new_stmt_break |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_device.h___hns_roce_qp_lookup.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_device.h___hns_roce_qp_lookup.c"
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.hns_roce_dev = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__hns_roce_qp_lookup], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @__hns_roce_qp_lookup(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.hns_roce_dev, ptr %0, i64 0, i32 1
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = add nsw i32 %4, -1
%6 = and i32 %5, %1
%7 = tail call ptr @xa_load(ptr noundef nonnull %3, i32 noundef %6) #2
ret ptr %7
}
declare ptr @xa_load(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"hns_roce_dev", !7, i64 0, !8, i64 4}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_device.h___hns_roce_qp_lookup.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hns/extr_hns_roce_device.h___hns_roce_qp_lookup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @__hns_roce_qp_lookup], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @__hns_roce_qp_lookup(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = add nsw i32 %4, -1
%6 = and i32 %5, %1
%7 = tail call ptr @xa_load(ptr noundef nonnull %3, i32 noundef %6) #2
ret ptr %7
}
declare ptr @xa_load(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"hns_roce_dev", !8, i64 0, !9, i64 4}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_infiniband_hw_hns_extr_hns_roce_device.h___hns_roce_qp_lookup |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/dvm/extr_tt.c_iwl_tt_exit.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/dvm/extr_tt.c_iwl_tt_exit.c"
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.iwl_tt_mgmt = type { ptr, ptr, i64, i32, i32 }
%struct.iwl_priv = type { %struct.iwl_tt_mgmt, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @iwl_tt_exit(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.iwl_tt_mgmt, ptr %0, i64 0, i32 4
%3 = tail call i32 @del_timer_sync(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds %struct.iwl_tt_mgmt, ptr %0, i64 0, i32 3
%5 = tail call i32 @del_timer_sync(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds %struct.iwl_priv, ptr %0, i64 0, i32 3
%7 = tail call i32 @cancel_work_sync(ptr noundef nonnull %6) #2
%8 = getelementptr inbounds %struct.iwl_priv, ptr %0, i64 0, i32 2
%9 = tail call i32 @cancel_work_sync(ptr noundef nonnull %8) #2
%10 = getelementptr inbounds %struct.iwl_priv, ptr %0, i64 0, i32 1
%11 = tail call i32 @cancel_work_sync(ptr noundef nonnull %10) #2
%12 = getelementptr inbounds %struct.iwl_tt_mgmt, ptr %0, i64 0, i32 2
%13 = load i64, ptr %12, align 8, !tbaa !5
%14 = icmp eq i64 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %1
%16 = getelementptr inbounds %struct.iwl_tt_mgmt, ptr %0, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = tail call i32 @kfree(ptr noundef %17) #2
store ptr null, ptr %16, align 8, !tbaa !13
%19 = load ptr, ptr %0, align 8, !tbaa !14
%20 = tail call i32 @kfree(ptr noundef %19) #2
store ptr null, ptr %0, align 8, !tbaa !14
br label %21
21: ; preds = %15, %1
ret void
}
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @cancel_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"iwl_priv", !7, i64 0, !12, i64 32, !12, i64 36, !12, i64 40}
!7 = !{!"iwl_tt_mgmt", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !12, i64 28}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/dvm/extr_tt.c_iwl_tt_exit.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/dvm/extr_tt.c_iwl_tt_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @iwl_tt_exit(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 28
%3 = tail call i32 @del_timer_sync(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = tail call i32 @del_timer_sync(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 40
%7 = tail call i32 @cancel_work_sync(ptr noundef nonnull %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 36
%9 = tail call i32 @cancel_work_sync(ptr noundef nonnull %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 32
%11 = tail call i32 @cancel_work_sync(ptr noundef nonnull %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 16
%13 = load i64, ptr %12, align 8, !tbaa !6
%14 = icmp eq i64 %13, 0
br i1 %14, label %21, label %15
15: ; preds = %1
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = tail call i32 @kfree(ptr noundef %17) #2
store ptr null, ptr %16, align 8, !tbaa !14
%19 = load ptr, ptr %0, align 8, !tbaa !15
%20 = tail call i32 @kfree(ptr noundef %19) #2
store ptr null, ptr %0, align 8, !tbaa !15
br label %21
21: ; preds = %15, %1
ret void
}
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @cancel_work_sync(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"iwl_priv", !8, i64 0, !13, i64 32, !13, i64 36, !13, i64 40}
!8 = !{!"iwl_tt_mgmt", !9, i64 0, !9, i64 8, !12, i64 16, !13, i64 24, !13, i64 28}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!8, !9, i64 8}
!15 = !{!8, !9, i64 0}
| fastsocket_kernel_drivers_net_wireless_iwlwifi_dvm_extr_tt.c_iwl_tt_exit |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_sys_process.c_stopevent.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_sys_process.c_stopevent.c"
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.proc = type { i32, i32, i32, i32, ptr, i32 }
@MA_OWNED = dso_local local_unnamed_addr global i32 0, align 4
@KTR_PTRACE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"stopevent: pid %d event %u val %u\00", align 1
@S_EXIT = dso_local local_unnamed_addr global i32 0, align 4
@PWAIT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"stopevent\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @stopevent(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @MA_OWNED, align 4, !tbaa !5
%5 = tail call i32 @PROC_LOCK_ASSERT(ptr noundef %0, i32 noundef %4) #2
store i32 1, ptr %0, align 8, !tbaa !9
%6 = load i32, ptr @KTR_PTRACE, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.proc, ptr %0, i64 0, i32 5
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = tail call i32 @CTR3(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %1, i32 noundef %2) #2
%10 = getelementptr inbounds %struct.proc, ptr %0, i64 0, i32 4
%11 = getelementptr inbounds %struct.proc, ptr %0, i64 0, i32 2
%12 = getelementptr inbounds %struct.proc, ptr %0, i64 0, i32 1
%13 = getelementptr inbounds %struct.proc, ptr %0, i64 0, i32 3
br label %14
14: ; preds = %18, %3
%15 = load i32, ptr @S_EXIT, align 4, !tbaa !5
%16 = icmp eq i32 %15, %1
br i1 %16, label %18, label %17
17: ; preds = %14
store i32 %2, ptr %12, align 4, !tbaa !13
br label %18
18: ; preds = %17, %14
store ptr null, ptr %10, align 8, !tbaa !14
store i32 %1, ptr %11, align 8, !tbaa !15
%19 = tail call i32 @wakeup(ptr noundef nonnull %11) #2
%20 = load i32, ptr @PWAIT, align 4, !tbaa !5
%21 = tail call i32 @msleep(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %20, ptr noundef nonnull @.str.1, i32 noundef 0) #2
%22 = load i32, ptr %0, align 8, !tbaa !9
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %14, !llvm.loop !16
24: ; preds = %18
ret void
}
declare i32 @PROC_LOCK_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CTR3(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"proc", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !6, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 24}
!13 = !{!10, !6, i64 4}
!14 = !{!10, !11, i64 16}
!15 = !{!10, !6, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_sys_process.c_stopevent.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_sys_process.c_stopevent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MA_OWNED = common local_unnamed_addr global i32 0, align 4
@KTR_PTRACE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"stopevent: pid %d event %u val %u\00", align 1
@S_EXIT = common local_unnamed_addr global i32 0, align 4
@PWAIT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"stopevent\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @stopevent(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @MA_OWNED, align 4, !tbaa !6
%5 = tail call i32 @PROC_LOCK_ASSERT(ptr noundef %0, i32 noundef %4) #2
store i32 1, ptr %0, align 8, !tbaa !10
%6 = load i32, ptr @KTR_PTRACE, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 24
%8 = load i32, ptr %7, align 8, !tbaa !13
%9 = tail call i32 @CTR3(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %8, i32 noundef %1, i32 noundef %2) #2
%10 = getelementptr inbounds i8, ptr %0, i64 16
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = getelementptr inbounds i8, ptr %0, i64 12
br label %14
14: ; preds = %18, %3
%15 = load i32, ptr @S_EXIT, align 4, !tbaa !6
%16 = icmp eq i32 %15, %1
br i1 %16, label %18, label %17
17: ; preds = %14
store i32 %2, ptr %12, align 4, !tbaa !14
br label %18
18: ; preds = %17, %14
store ptr null, ptr %10, align 8, !tbaa !15
store i32 %1, ptr %11, align 8, !tbaa !16
%19 = tail call i32 @wakeup(ptr noundef nonnull %11) #2
%20 = load i32, ptr @PWAIT, align 4, !tbaa !6
%21 = tail call i32 @msleep(ptr noundef nonnull %0, ptr noundef nonnull %13, i32 noundef %20, ptr noundef nonnull @.str.1, i32 noundef 0) #2
%22 = load i32, ptr %0, align 8, !tbaa !10
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %14, !llvm.loop !17
24: ; preds = %18
ret void
}
declare i32 @PROC_LOCK_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CTR3(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"proc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !7, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 24}
!14 = !{!11, !7, i64 4}
!15 = !{!11, !12, i64 16}
!16 = !{!11, !7, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_kern_extr_sys_process.c_stopevent |
; ModuleID = 'AnghaBench/sway/swaybar/extr_ipc.c_ipc_execute_binding.c'
source_filename = "AnghaBench/sway/swaybar/extr_ipc.c_ipc_execute_binding.c"
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.swaybar_binding = type { i32, i32, i32 }
@SWAY_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"Executing binding for button %u (release=%d): `%s`\00", align 1
@IPC_COMMAND = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ipc_execute_binding(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = load i32, ptr @SWAY_DEBUG, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.swaybar_binding, ptr %1, i64 0, i32 2
%6 = load i32, ptr %5, align 4, !tbaa !9
%7 = getelementptr inbounds %struct.swaybar_binding, ptr %1, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = load i32, ptr %1, align 4, !tbaa !12
%10 = tail call i32 @sway_log(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, i32 noundef %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%11 = load i32, ptr %1, align 4, !tbaa !12
%12 = tail call i32 @strlen(i32 noundef %11) #3
store i32 %12, ptr %3, align 4, !tbaa !5
%13 = load i32, ptr %0, align 4, !tbaa !13
%14 = load i32, ptr @IPC_COMMAND, align 4, !tbaa !5
%15 = load i32, ptr %1, align 4, !tbaa !12
%16 = call i32 @ipc_single_command(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef nonnull %3) #3
%17 = call i32 @free(i32 noundef %16) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
declare i32 @sway_log(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 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 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @free(i32 noundef) local_unnamed_addr #1
declare i32 @ipc_single_command(i32 noundef, i32 noundef, i32 noundef, ptr 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
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"swaybar_binding", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 4}
!12 = !{!10, !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"swaybar", !6, i64 0}
| ; ModuleID = 'AnghaBench/sway/swaybar/extr_ipc.c_ipc_execute_binding.c'
source_filename = "AnghaBench/sway/swaybar/extr_ipc.c_ipc_execute_binding.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SWAY_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"Executing binding for button %u (release=%d): `%s`\00", align 1
@IPC_COMMAND = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ipc_execute_binding(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = load i32, ptr @SWAY_DEBUG, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = getelementptr inbounds i8, ptr %1, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = load i32, ptr %1, align 4, !tbaa !13
%10 = tail call i32 @sway_log(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, i32 noundef %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%11 = load i32, ptr %1, align 4, !tbaa !13
%12 = tail call i32 @strlen(i32 noundef %11) #3
store i32 %12, ptr %3, align 4, !tbaa !6
%13 = load i32, ptr %0, align 4, !tbaa !14
%14 = load i32, ptr @IPC_COMMAND, align 4, !tbaa !6
%15 = load i32, ptr %1, align 4, !tbaa !13
%16 = call i32 @ipc_single_command(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef nonnull %3) #3
%17 = call i32 @free(i32 noundef %16) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
declare i32 @sway_log(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 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 @strlen(i32 noundef) local_unnamed_addr #1
declare i32 @free(i32 noundef) local_unnamed_addr #1
declare i32 @ipc_single_command(i32 noundef, i32 noundef, i32 noundef, ptr 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
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"swaybar_binding", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
!13 = !{!11, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"swaybar", !7, i64 0}
| sway_swaybar_extr_ipc.c_ipc_execute_binding |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/pnx4008/extr_sdum.c_dum_ch_setup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/pnx4008/extr_sdum.c_dum_ch_setup.c"
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.disp_window = type { i32, i32, i32, i32, i32, i32 }
%struct.dum_ch_setup = type { i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
@DISP_XMIN_L_REG = dso_local local_unnamed_addr global i32 0, align 4
@DISP_XMIN_H_REG = dso_local local_unnamed_addr global i32 0, align 4
@DISP_YMIN_REG = dso_local local_unnamed_addr global i32 0, align 4
@DISP_XMAX_L_REG = dso_local local_unnamed_addr global i32 0, align 4
@DISP_XMAX_H_REG = dso_local local_unnamed_addr global i32 0, align 4
@DISP_YMAX_REG = dso_local local_unnamed_addr global i32 0, align 4
@DISP_PIXEL_REG = dso_local local_unnamed_addr global i32 0, align 4
@DISP_1_REG = dso_local local_unnamed_addr global i32 0, align 4
@DISP_DUMMY1_REG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dum_ch_setup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dum_ch_setup(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.disp_window, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 12
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %2
%8 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 11
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 10
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = icmp eq i64 %13, 0
br i1 %14, label %33, label %15
15: ; preds = %11, %7, %2
%16 = tail call i32 @BIT(i32 noundef 1) #3
%17 = load i64, ptr %4, align 8, !tbaa !5
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = tail call i32 @BIT(i32 noundef 4) #3
br label %21
21: ; preds = %19, %15
%22 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 11
%23 = load i64, ptr %22, align 8, !tbaa !11
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = tail call i32 @BIT(i32 noundef 3) #3
br label %27
27: ; preds = %25, %21
%28 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 10
%29 = load i64, ptr %28, align 8, !tbaa !12
%30 = icmp eq i64 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %27
%32 = tail call i32 @BIT(i32 noundef 0) #3
br label %33
33: ; preds = %27, %31, %11
%34 = phi i1 [ false, %11 ], [ true, %31 ], [ true, %27 ]
%35 = tail call i32 @BIT(i32 noundef 3) #3
%36 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 2
%37 = load i32, ptr %36, align 8, !tbaa !13
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %59
39: ; preds = %33
%40 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 3
%41 = load i64, ptr %40, align 8, !tbaa !14
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %59
43: ; preds = %39
%44 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 4
%45 = load i64, ptr %44, align 8, !tbaa !15
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %59
47: ; preds = %43
%48 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 5
%49 = load i64, ptr %48, align 8, !tbaa !16
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %59
51: ; preds = %47
%52 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 6
%53 = load i64, ptr %52, align 8, !tbaa !17
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 7
%57 = load i64, ptr %56, align 8, !tbaa !18
%58 = icmp eq i64 %57, 0
br i1 %58, label %61, label %59
59: ; preds = %55, %51, %47, %43, %39, %33
%60 = tail call i32 @nof_bytes(ptr noundef nonnull %1) #3
br label %61
61: ; preds = %55, %59
%62 = getelementptr inbounds %struct.dum_ch_setup, ptr %1, i64 0, i32 9
%63 = load i64, ptr %62, align 8, !tbaa !19
%64 = icmp eq i64 %63, 0
br i1 %64, label %67, label %65
65: ; preds = %61
%66 = tail call i32 @BIT(i32 noundef 15) #3
br label %67
67: ; preds = %65, %61
%68 = call i32 @build_disp_window(ptr noundef nonnull %1, ptr noundef nonnull %3) #3
br i1 %34, label %73, label %69
69: ; preds = %67
%70 = load i32, ptr %1, align 8, !tbaa !20
%71 = load i32, ptr @DISP_XMIN_L_REG, align 4, !tbaa !21
%72 = call ptr @build_command(i32 noundef %70, i32 noundef %71, i32 noundef 153) #3
ret i32 poison
73: ; preds = %67
%74 = load i32, ptr %3, align 4, !tbaa !22
%75 = icmp eq i32 %74, %0
%76 = load i32, ptr %1, align 8, !tbaa !20
%77 = load i32, ptr @DISP_XMIN_L_REG, align 4, !tbaa !21
%78 = select i1 %75, i32 153, i32 %0
%79 = call ptr @build_command(i32 noundef %76, i32 noundef %77, i32 noundef %78) #3
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BIT(i32 noundef) local_unnamed_addr #2
declare i32 @nof_bytes(ptr noundef) local_unnamed_addr #2
declare i32 @build_disp_window(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @build_command(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 88}
!6 = !{!"dum_ch_setup", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 80}
!12 = !{!6, !10, i64 72}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !10, i64 16}
!15 = !{!6, !10, i64 24}
!16 = !{!6, !10, i64 32}
!17 = !{!6, !10, i64 40}
!18 = !{!6, !10, i64 48}
!19 = !{!6, !10, i64 64}
!20 = !{!6, !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !7, i64 0}
!23 = !{!"disp_window", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/pnx4008/extr_sdum.c_dum_ch_setup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/pnx4008/extr_sdum.c_dum_ch_setup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.disp_window = type { i32, i32, i32, i32, i32, i32 }
@DISP_XMIN_L_REG = common local_unnamed_addr global i32 0, align 4
@DISP_XMIN_H_REG = common local_unnamed_addr global i32 0, align 4
@DISP_YMIN_REG = common local_unnamed_addr global i32 0, align 4
@DISP_XMAX_L_REG = common local_unnamed_addr global i32 0, align 4
@DISP_XMAX_H_REG = common local_unnamed_addr global i32 0, align 4
@DISP_YMAX_REG = common local_unnamed_addr global i32 0, align 4
@DISP_PIXEL_REG = common local_unnamed_addr global i32 0, align 4
@DISP_1_REG = common local_unnamed_addr global i32 0, align 4
@DISP_DUMMY1_REG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dum_ch_setup], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal noundef i32 @dum_ch_setup(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.disp_window, align 4
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %1, i64 88
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 80
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %1, i64 72
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = icmp eq i64 %13, 0
br i1 %14, label %33, label %15
15: ; preds = %11, %7, %2
%16 = tail call i32 @BIT(i32 noundef 1) #3
%17 = load i64, ptr %4, align 8, !tbaa !6
%18 = icmp eq i64 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = tail call i32 @BIT(i32 noundef 4) #3
br label %21
21: ; preds = %19, %15
%22 = getelementptr inbounds i8, ptr %1, i64 80
%23 = load i64, ptr %22, align 8, !tbaa !12
%24 = icmp eq i64 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = tail call i32 @BIT(i32 noundef 3) #3
br label %27
27: ; preds = %25, %21
%28 = getelementptr inbounds i8, ptr %1, i64 72
%29 = load i64, ptr %28, align 8, !tbaa !13
%30 = icmp eq i64 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %27
%32 = tail call i32 @BIT(i32 noundef 0) #3
br label %33
33: ; preds = %11, %27, %31
%34 = phi i1 [ true, %31 ], [ true, %27 ], [ false, %11 ]
%35 = tail call i32 @BIT(i32 noundef 3) #3
%36 = getelementptr inbounds i8, ptr %1, i64 8
%37 = load i32, ptr %36, align 8, !tbaa !14
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %59
39: ; preds = %33
%40 = getelementptr inbounds i8, ptr %1, i64 16
%41 = load i64, ptr %40, align 8, !tbaa !15
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %59
43: ; preds = %39
%44 = getelementptr inbounds i8, ptr %1, i64 24
%45 = load i64, ptr %44, align 8, !tbaa !16
%46 = icmp eq i64 %45, 0
br i1 %46, label %47, label %59
47: ; preds = %43
%48 = getelementptr inbounds i8, ptr %1, i64 32
%49 = load i64, ptr %48, align 8, !tbaa !17
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %59
51: ; preds = %47
%52 = getelementptr inbounds i8, ptr %1, i64 40
%53 = load i64, ptr %52, align 8, !tbaa !18
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = getelementptr inbounds i8, ptr %1, i64 48
%57 = load i64, ptr %56, align 8, !tbaa !19
%58 = icmp eq i64 %57, 0
br i1 %58, label %61, label %59
59: ; preds = %55, %51, %47, %43, %39, %33
%60 = tail call i32 @nof_bytes(ptr noundef nonnull %1) #3
br label %61
61: ; preds = %55, %59
%62 = getelementptr inbounds i8, ptr %1, i64 64
%63 = load i64, ptr %62, align 8, !tbaa !20
%64 = icmp eq i64 %63, 0
br i1 %64, label %67, label %65
65: ; preds = %61
%66 = tail call i32 @BIT(i32 noundef 15) #3
br label %67
67: ; preds = %65, %61
%68 = call i32 @build_disp_window(ptr noundef nonnull %1, ptr noundef nonnull %3) #3
br i1 %34, label %73, label %69
69: ; preds = %67
%70 = load i32, ptr %1, align 8, !tbaa !21
%71 = load i32, ptr @DISP_XMIN_L_REG, align 4, !tbaa !22
%72 = call ptr @build_command(i32 noundef %70, i32 noundef %71, i32 noundef 153) #3
unreachable
73: ; preds = %67
%74 = load i32, ptr %3, align 4, !tbaa !23
%75 = icmp eq i32 %74, %0
%76 = load i32, ptr %1, align 8, !tbaa !21
%77 = load i32, ptr @DISP_XMIN_L_REG, align 4, !tbaa !22
br i1 %75, label %78, label %80
78: ; preds = %73
%79 = call ptr @build_command(i32 noundef %76, i32 noundef %77, i32 noundef 153) #3
unreachable
80: ; preds = %73
%81 = call ptr @build_command(i32 noundef %76, i32 noundef %77, i32 noundef %0) #3
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BIT(i32 noundef) local_unnamed_addr #2
declare i32 @nof_bytes(ptr noundef) local_unnamed_addr #2
declare i32 @build_disp_window(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @build_command(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 88}
!7 = !{!"dum_ch_setup", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 80}
!13 = !{!7, !11, i64 72}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !11, i64 16}
!16 = !{!7, !11, i64 24}
!17 = !{!7, !11, i64 32}
!18 = !{!7, !11, i64 40}
!19 = !{!7, !11, i64 48}
!20 = !{!7, !11, i64 64}
!21 = !{!7, !8, i64 0}
!22 = !{!8, !8, i64 0}
!23 = !{!24, !8, i64 0}
!24 = !{!"disp_window", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
| fastsocket_kernel_drivers_video_pnx4008_extr_sdum.c_dum_ch_setup |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_excsave2_Slot_inst_encode.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_excsave2_Slot_inst_encode.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @Opcode_xsr_excsave2_Slot_inst_encode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @Opcode_xsr_excsave2_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 {
store i32 6410752, ptr %0, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_excsave2_Slot_inst_encode.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_excsave2_Slot_inst_encode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @Opcode_xsr_excsave2_Slot_inst_encode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @Opcode_xsr_excsave2_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 {
store i32 6410752, ptr %0, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_xsr_excsave2_Slot_inst_encode |
; ModuleID = 'AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_fs.c_atf_fs_stat_is_owner_executable.c'
source_filename = "AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_fs.c_atf_fs_stat_is_owner_executable.c"
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"
@S_IXUSR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @atf_fs_stat_is_owner_executable(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @S_IXUSR, align 4, !tbaa !11
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_fs.c_atf_fs_stat_is_owner_executable.c'
source_filename = "AnghaBench/freebsd/contrib/atf/atf-c/detail/extr_fs.c_atf_fs_stat_is_owner_executable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@S_IXUSR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @atf_fs_stat_is_owner_executable(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @S_IXUSR, align 4, !tbaa !12
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
| freebsd_contrib_atf_atf-c_detail_extr_fs.c_atf_fs_stat_is_owner_executable |
; ModuleID = 'AnghaBench/linux/net/mac80211/extr_mesh.c_mesh_add_he_oper_ie.c'
source_filename = "AnghaBench/linux/net/mac80211/extr_mesh.c_mesh_add_he_oper_ie.c"
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"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_IFTYPE_MESH_POINT = dso_local local_unnamed_addr global i32 0, align 4
@NL80211_CHAN_WIDTH_20_NOHT = dso_local local_unnamed_addr global i64 0, align 8
@NL80211_CHAN_WIDTH_5 = dso_local local_unnamed_addr global i64 0, align 8
@NL80211_CHAN_WIDTH_10 = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mesh_add_he_oper_ie(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @ieee80211_get_sband(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !5
%7 = sub nsw i32 0, %6
br label %31
8: ; preds = %2
%9 = load i32, ptr @NL80211_IFTYPE_MESH_POINT, align 4, !tbaa !5
%10 = tail call ptr @ieee80211_get_he_iftype_cap(ptr noundef nonnull %3, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %31, label %12
12: ; preds = %8
%13 = load i64, ptr %0, align 8, !tbaa !9
%14 = load i64, ptr @NL80211_CHAN_WIDTH_20_NOHT, align 8, !tbaa !15
%15 = icmp eq i64 %13, %14
%16 = load i64, ptr @NL80211_CHAN_WIDTH_5, align 8
%17 = icmp eq i64 %13, %16
%18 = select i1 %15, i1 true, i1 %17
%19 = load i64, ptr @NL80211_CHAN_WIDTH_10, align 8
%20 = icmp eq i64 %13, %19
%21 = select i1 %18, i1 true, i1 %20
br i1 %21, label %31, label %22
22: ; preds = %12
%23 = tail call i32 @skb_tailroom(ptr noundef %1) #2
%24 = icmp ult i32 %23, 7
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%27 = sub nsw i32 0, %26
br label %31
28: ; preds = %22
%29 = tail call ptr @skb_put(ptr noundef %1, i32 noundef 7) #2
%30 = tail call i32 @ieee80211_ie_build_he_oper(ptr noundef %29) #2
br label %31
31: ; preds = %8, %12, %28, %25, %5
%32 = phi i32 [ %27, %25 ], [ 0, %28 ], [ %7, %5 ], [ 0, %12 ], [ 0, %8 ]
ret i32 %32
}
declare ptr @ieee80211_get_sband(ptr noundef) local_unnamed_addr #1
declare ptr @ieee80211_get_he_iftype_cap(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_tailroom(ptr noundef) local_unnamed_addr #1
declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_ie_build_he_oper(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !14, i64 0}
!10 = !{!"ieee80211_sub_if_data", !11, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/mac80211/extr_mesh.c_mesh_add_he_oper_ie.c'
source_filename = "AnghaBench/linux/net/mac80211/extr_mesh.c_mesh_add_he_oper_ie.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@NL80211_IFTYPE_MESH_POINT = common local_unnamed_addr global i32 0, align 4
@NL80211_CHAN_WIDTH_20_NOHT = common local_unnamed_addr global i64 0, align 8
@NL80211_CHAN_WIDTH_5 = common local_unnamed_addr global i64 0, align 8
@NL80211_CHAN_WIDTH_10 = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @mesh_add_he_oper_ie(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @ieee80211_get_sband(ptr noundef %0) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !6
%7 = sub nsw i32 0, %6
br label %31
8: ; preds = %2
%9 = load i32, ptr @NL80211_IFTYPE_MESH_POINT, align 4, !tbaa !6
%10 = tail call ptr @ieee80211_get_he_iftype_cap(ptr noundef nonnull %3, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %31, label %12
12: ; preds = %8
%13 = load i64, ptr %0, align 8, !tbaa !10
%14 = load i64, ptr @NL80211_CHAN_WIDTH_20_NOHT, align 8, !tbaa !16
%15 = icmp eq i64 %13, %14
%16 = load i64, ptr @NL80211_CHAN_WIDTH_5, align 8
%17 = icmp eq i64 %13, %16
%18 = select i1 %15, i1 true, i1 %17
%19 = load i64, ptr @NL80211_CHAN_WIDTH_10, align 8
%20 = icmp eq i64 %13, %19
%21 = select i1 %18, i1 true, i1 %20
br i1 %21, label %31, label %22
22: ; preds = %12
%23 = tail call i32 @skb_tailroom(ptr noundef %1) #2
%24 = icmp ult i32 %23, 7
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%27 = sub nsw i32 0, %26
br label %31
28: ; preds = %22
%29 = tail call ptr @skb_put(ptr noundef %1, i32 noundef 7) #2
%30 = tail call i32 @ieee80211_ie_build_he_oper(ptr noundef %29) #2
br label %31
31: ; preds = %8, %12, %28, %25, %5
%32 = phi i32 [ %27, %25 ], [ 0, %28 ], [ %7, %5 ], [ 0, %12 ], [ 0, %8 ]
ret i32 %32
}
declare ptr @ieee80211_get_sband(ptr noundef) local_unnamed_addr #1
declare ptr @ieee80211_get_he_iftype_cap(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_tailroom(ptr noundef) local_unnamed_addr #1
declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ieee80211_ie_build_he_oper(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !15, i64 0}
!11 = !{!"ieee80211_sub_if_data", !12, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!15, !15, i64 0}
| linux_net_mac80211_extr_mesh.c_mesh_add_he_oper_ie |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_ptp.h_mlxsw_sp1_ptp_got_timestamp.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_ptp.h_mlxsw_sp1_ptp_got_timestamp.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_sp1_ptp_got_timestamp], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @mlxsw_sp1_ptp_got_timestamp(ptr nocapture readnone %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_ptp.h_mlxsw_sp1_ptp_got_timestamp.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_ptp.h_mlxsw_sp1_ptp_got_timestamp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @mlxsw_sp1_ptp_got_timestamp], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @mlxsw_sp1_ptp_got_timestamp(ptr nocapture readnone %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6) #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_ptp.h_mlxsw_sp1_ptp_got_timestamp |
; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_htmldoc.c_htmldoc_qi.c'
source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_htmldoc.c_htmldoc_qi.c"
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.TYPE_7__ = type { i32, i32, i32, i32, i32, i32, i32, i32, %struct.TYPE_6__, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_6__ = type { i32 }
@IID_IUnknown = dso_local global i32 0, align 4
@IID_IDispatch = dso_local global i32 0, align 4
@IID_IDispatchEx = dso_local global i32 0, align 4
@IID_IHTMLDocument = dso_local global i32 0, align 4
@IID_IHTMLDocument2 = dso_local global i32 0, align 4
@IID_IHTMLDocument3 = dso_local global i32 0, align 4
@IID_IHTMLDocument4 = dso_local global i32 0, align 4
@IID_IHTMLDocument5 = dso_local global i32 0, align 4
@IID_IHTMLDocument6 = dso_local global i32 0, align 4
@IID_IHTMLDocument7 = dso_local global i32 0, align 4
@IID_IPersist = dso_local global i32 0, align 4
@IID_IPersistMoniker = dso_local global i32 0, align 4
@IID_IPersistFile = dso_local global i32 0, align 4
@IID_IMonikerProp = dso_local global i32 0, align 4
@IID_IOleObject = dso_local global i32 0, align 4
@IID_IOleDocument = dso_local global i32 0, align 4
@IID_IOleDocumentView = dso_local global i32 0, align 4
@IID_IOleInPlaceActiveObject = dso_local global i32 0, align 4
@IID_IViewObject = dso_local global i32 0, align 4
@IID_IViewObject2 = dso_local global i32 0, align 4
@IID_IViewObjectEx = dso_local global i32 0, align 4
@IID_IOleWindow = dso_local global i32 0, align 4
@IID_IOleInPlaceObject = dso_local global i32 0, align 4
@IID_IOleInPlaceObjectWindowless = dso_local global i32 0, align 4
@IID_IServiceProvider = dso_local global i32 0, align 4
@IID_IOleCommandTarget = dso_local global i32 0, align 4
@IID_IOleControl = dso_local global i32 0, align 4
@IID_IHlinkTarget = dso_local global i32 0, align 4
@IID_IConnectionPointContainer = dso_local global i32 0, align 4
@IID_IPersistStreamInit = dso_local global i32 0, align 4
@DIID_DispHTMLDocument = dso_local global i32 0, align 4
@IID_ISupportErrorInfo = dso_local global i32 0, align 4
@IID_IPersistHistory = dso_local global i32 0, align 4
@IID_IObjectWithSite = dso_local global i32 0, align 4
@IID_IOleContainer = dso_local global i32 0, align 4
@IID_IObjectSafety = dso_local global i32 0, align 4
@IID_IProvideClassInfo = dso_local global i32 0, align 4
@CLSID_CMarkup = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"(%p)->(CLSID_CMarkup %p)\0A\00", align 1
@IID_IRunnableObject = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"(%p)->(IID_IRunnableObject %p) returning NULL\0A\00", align 1
@IID_IPersistPropertyBag = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [51 x i8] c"(%p)->(IID_IPersistPropertyBag %p) returning NULL\0A\00", align 1
@IID_IMarshal = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [40 x i8] c"(%p)->(IID_IMarshal %p) returning NULL\0A\00", align 1
@IID_IExternalConnection = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [51 x i8] c"(%p)->(IID_IExternalConnection %p) returning NULL\0A\00", align 1
@IID_IStdMarshalInfo = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [47 x i8] c"(%p)->(IID_IStdMarshalInfo %p) returning NULL\0A\00", align 1
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @htmldoc_qi], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @htmldoc_qi(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
store ptr null, ptr %2, align 8, !tbaa !5
%4 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IUnknown, i32 noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6
br label %218
8: ; preds = %3
%9 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IDispatch, i32 noundef %1) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 27
br label %218
13: ; preds = %8
%14 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IDispatchEx, i32 noundef %1) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 27
br label %218
18: ; preds = %13
%19 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument, i32 noundef %1) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6
br label %218
23: ; preds = %18
%24 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument2, i32 noundef %1) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6
br label %218
28: ; preds = %23
%29 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument3, i32 noundef %1) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %33, label %31
31: ; preds = %28
%32 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 26
br label %218
33: ; preds = %28
%34 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument4, i32 noundef %1) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %33
%37 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 25
br label %218
38: ; preds = %33
%39 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument5, i32 noundef %1) #2
%40 = icmp eq i64 %39, 0
br i1 %40, label %43, label %41
41: ; preds = %38
%42 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 24
br label %218
43: ; preds = %38
%44 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument6, i32 noundef %1) #2
%45 = icmp eq i64 %44, 0
br i1 %45, label %48, label %46
46: ; preds = %43
%47 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 23
br label %218
48: ; preds = %43
%49 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument7, i32 noundef %1) #2
%50 = icmp eq i64 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %48
%52 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 22
br label %218
53: ; preds = %48
%54 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersist, i32 noundef %1) #2
%55 = icmp eq i64 %54, 0
br i1 %55, label %58, label %56
56: ; preds = %53
%57 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 20
br label %218
58: ; preds = %53
%59 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistMoniker, i32 noundef %1) #2
%60 = icmp eq i64 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %58
%62 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 21
br label %218
63: ; preds = %58
%64 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistFile, i32 noundef %1) #2
%65 = icmp eq i64 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 20
br label %218
68: ; preds = %63
%69 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IMonikerProp, i32 noundef %1) #2
%70 = icmp eq i64 %69, 0
br i1 %70, label %73, label %71
71: ; preds = %68
%72 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 19
br label %218
73: ; preds = %68
%74 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleObject, i32 noundef %1) #2
%75 = icmp eq i64 %74, 0
br i1 %75, label %78, label %76
76: ; preds = %73
%77 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 18
br label %218
78: ; preds = %73
%79 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleDocument, i32 noundef %1) #2
%80 = icmp eq i64 %79, 0
br i1 %80, label %83, label %81
81: ; preds = %78
%82 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 17
br label %218
83: ; preds = %78
%84 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleDocumentView, i32 noundef %1) #2
%85 = icmp eq i64 %84, 0
br i1 %85, label %88, label %86
86: ; preds = %83
%87 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 16
br label %218
88: ; preds = %83
%89 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleInPlaceActiveObject, i32 noundef %1) #2
%90 = icmp eq i64 %89, 0
br i1 %90, label %93, label %91
91: ; preds = %88
%92 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 14
br label %218
93: ; preds = %88
%94 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IViewObject, i32 noundef %1) #2
%95 = icmp eq i64 %94, 0
br i1 %95, label %98, label %96
96: ; preds = %93
%97 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 15
br label %218
98: ; preds = %93
%99 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IViewObject2, i32 noundef %1) #2
%100 = icmp eq i64 %99, 0
br i1 %100, label %103, label %101
101: ; preds = %98
%102 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 15
br label %218
103: ; preds = %98
%104 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IViewObjectEx, i32 noundef %1) #2
%105 = icmp eq i64 %104, 0
br i1 %105, label %108, label %106
106: ; preds = %103
%107 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 15
br label %218
108: ; preds = %103
%109 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleWindow, i32 noundef %1) #2
%110 = icmp eq i64 %109, 0
br i1 %110, label %113, label %111
111: ; preds = %108
%112 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 14
br label %218
113: ; preds = %108
%114 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleInPlaceObject, i32 noundef %1) #2
%115 = icmp eq i64 %114, 0
br i1 %115, label %118, label %116
116: ; preds = %113
%117 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 13
br label %218
118: ; preds = %113
%119 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleInPlaceObjectWindowless, i32 noundef %1) #2
%120 = icmp eq i64 %119, 0
br i1 %120, label %123, label %121
121: ; preds = %118
%122 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 13
br label %218
123: ; preds = %118
%124 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IServiceProvider, i32 noundef %1) #2
%125 = icmp eq i64 %124, 0
br i1 %125, label %128, label %126
126: ; preds = %123
%127 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 12
br label %218
128: ; preds = %123
%129 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleCommandTarget, i32 noundef %1) #2
%130 = icmp eq i64 %129, 0
br i1 %130, label %133, label %131
131: ; preds = %128
%132 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 11
br label %218
133: ; preds = %128
%134 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleControl, i32 noundef %1) #2
%135 = icmp eq i64 %134, 0
br i1 %135, label %138, label %136
136: ; preds = %133
%137 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 10
br label %218
138: ; preds = %133
%139 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHlinkTarget, i32 noundef %1) #2
%140 = icmp eq i64 %139, 0
br i1 %140, label %143, label %141
141: ; preds = %138
%142 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 9
br label %218
143: ; preds = %138
%144 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IConnectionPointContainer, i32 noundef %1) #2
%145 = icmp eq i64 %144, 0
br i1 %145, label %148, label %146
146: ; preds = %143
%147 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 8
br label %218
148: ; preds = %143
%149 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistStreamInit, i32 noundef %1) #2
%150 = icmp eq i64 %149, 0
br i1 %150, label %153, label %151
151: ; preds = %148
%152 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 7
br label %218
153: ; preds = %148
%154 = tail call i64 @IsEqualGUID(ptr noundef nonnull @DIID_DispHTMLDocument, i32 noundef %1) #2
%155 = icmp eq i64 %154, 0
br i1 %155, label %158, label %156
156: ; preds = %153
%157 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 6
br label %218
158: ; preds = %153
%159 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_ISupportErrorInfo, i32 noundef %1) #2
%160 = icmp eq i64 %159, 0
br i1 %160, label %163, label %161
161: ; preds = %158
%162 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 5
br label %218
163: ; preds = %158
%164 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistHistory, i32 noundef %1) #2
%165 = icmp eq i64 %164, 0
br i1 %165, label %168, label %166
166: ; preds = %163
%167 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
br label %218
168: ; preds = %163
%169 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IObjectWithSite, i32 noundef %1) #2
%170 = icmp eq i64 %169, 0
br i1 %170, label %173, label %171
171: ; preds = %168
%172 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
br label %218
173: ; preds = %168
%174 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleContainer, i32 noundef %1) #2
%175 = icmp eq i64 %174, 0
br i1 %175, label %178, label %176
176: ; preds = %173
%177 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
br label %218
178: ; preds = %173
%179 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IObjectSafety, i32 noundef %1) #2
%180 = icmp eq i64 %179, 0
br i1 %180, label %183, label %181
181: ; preds = %178
%182 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
br label %218
183: ; preds = %178
%184 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IProvideClassInfo, i32 noundef %1) #2
%185 = icmp eq i64 %184, 0
br i1 %185, label %186, label %216
186: ; preds = %183
%187 = tail call i64 @IsEqualGUID(ptr noundef nonnull @CLSID_CMarkup, i32 noundef %1) #2
%188 = icmp eq i64 %187, 0
br i1 %188, label %191, label %189
189: ; preds = %186
%190 = tail call i32 @FIXME(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !5
br label %223
191: ; preds = %186
%192 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IRunnableObject, i32 noundef %1) #2
%193 = icmp eq i64 %192, 0
br i1 %193, label %196, label %194
194: ; preds = %191
%195 = tail call i32 @TRACE(ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !5
br label %223
196: ; preds = %191
%197 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistPropertyBag, i32 noundef %1) #2
%198 = icmp eq i64 %197, 0
br i1 %198, label %201, label %199
199: ; preds = %196
%200 = tail call i32 @TRACE(ptr noundef nonnull @.str.2, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !5
br label %223
201: ; preds = %196
%202 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IMarshal, i32 noundef %1) #2
%203 = icmp eq i64 %202, 0
br i1 %203, label %206, label %204
204: ; preds = %201
%205 = tail call i32 @TRACE(ptr noundef nonnull @.str.3, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !5
br label %223
206: ; preds = %201
%207 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IExternalConnection, i32 noundef %1) #2
%208 = icmp eq i64 %207, 0
br i1 %208, label %211, label %209
209: ; preds = %206
%210 = tail call i32 @TRACE(ptr noundef nonnull @.str.4, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !5
br label %223
211: ; preds = %206
%212 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IStdMarshalInfo, i32 noundef %1) #2
%213 = icmp eq i64 %212, 0
br i1 %213, label %223, label %214
214: ; preds = %211
%215 = tail call i32 @TRACE(ptr noundef nonnull @.str.5, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !5
br label %223
216: ; preds = %183
store ptr %0, ptr %2, align 8, !tbaa !5
%217 = icmp eq ptr %0, null
br i1 %217, label %223, label %220
218: ; preds = %11, %21, %31, %41, %51, %61, %71, %81, %91, %101, %111, %121, %131, %141, %151, %161, %171, %181, %176, %166, %156, %146, %136, %126, %116, %106, %96, %86, %76, %66, %56, %46, %36, %26, %16, %6
%219 = phi ptr [ %7, %6 ], [ %17, %16 ], [ %27, %26 ], [ %37, %36 ], [ %47, %46 ], [ %57, %56 ], [ %67, %66 ], [ %77, %76 ], [ %87, %86 ], [ %97, %96 ], [ %107, %106 ], [ %117, %116 ], [ %127, %126 ], [ %137, %136 ], [ %147, %146 ], [ %157, %156 ], [ %167, %166 ], [ %177, %176 ], [ %182, %181 ], [ %172, %171 ], [ %162, %161 ], [ %152, %151 ], [ %142, %141 ], [ %132, %131 ], [ %122, %121 ], [ %112, %111 ], [ %102, %101 ], [ %92, %91 ], [ %82, %81 ], [ %72, %71 ], [ %62, %61 ], [ %52, %51 ], [ %42, %41 ], [ %32, %31 ], [ %22, %21 ], [ %12, %11 ]
store ptr %219, ptr %2, align 8, !tbaa !5
br label %220
220: ; preds = %218, %216
%221 = phi ptr [ %0, %216 ], [ %219, %218 ]
%222 = tail call i32 @IUnknown_AddRef(ptr noundef nonnull %221) #2
br label %223
223: ; preds = %194, %204, %214, %209, %199, %189, %216, %220, %211
%224 = phi ptr [ @FALSE, %211 ], [ @TRUE, %220 ], [ @TRUE, %216 ], [ @TRUE, %189 ], [ @TRUE, %199 ], [ @TRUE, %209 ], [ @TRUE, %214 ], [ @TRUE, %204 ], [ @TRUE, %194 ]
%225 = load i32, ptr %224, align 4, !tbaa !9
ret i32 %225
}
declare i64 @IsEqualGUID(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FIXME(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @TRACE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IUnknown_AddRef(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_htmldoc.c_htmldoc_qi.c'
source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_htmldoc.c_htmldoc_qi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IID_IUnknown = common global i32 0, align 4
@IID_IDispatch = common global i32 0, align 4
@IID_IDispatchEx = common global i32 0, align 4
@IID_IHTMLDocument = common global i32 0, align 4
@IID_IHTMLDocument2 = common global i32 0, align 4
@IID_IHTMLDocument3 = common global i32 0, align 4
@IID_IHTMLDocument4 = common global i32 0, align 4
@IID_IHTMLDocument5 = common global i32 0, align 4
@IID_IHTMLDocument6 = common global i32 0, align 4
@IID_IHTMLDocument7 = common global i32 0, align 4
@IID_IPersist = common global i32 0, align 4
@IID_IPersistMoniker = common global i32 0, align 4
@IID_IPersistFile = common global i32 0, align 4
@IID_IMonikerProp = common global i32 0, align 4
@IID_IOleObject = common global i32 0, align 4
@IID_IOleDocument = common global i32 0, align 4
@IID_IOleDocumentView = common global i32 0, align 4
@IID_IOleInPlaceActiveObject = common global i32 0, align 4
@IID_IViewObject = common global i32 0, align 4
@IID_IViewObject2 = common global i32 0, align 4
@IID_IViewObjectEx = common global i32 0, align 4
@IID_IOleWindow = common global i32 0, align 4
@IID_IOleInPlaceObject = common global i32 0, align 4
@IID_IOleInPlaceObjectWindowless = common global i32 0, align 4
@IID_IServiceProvider = common global i32 0, align 4
@IID_IOleCommandTarget = common global i32 0, align 4
@IID_IOleControl = common global i32 0, align 4
@IID_IHlinkTarget = common global i32 0, align 4
@IID_IConnectionPointContainer = common global i32 0, align 4
@IID_IPersistStreamInit = common global i32 0, align 4
@DIID_DispHTMLDocument = common global i32 0, align 4
@IID_ISupportErrorInfo = common global i32 0, align 4
@IID_IPersistHistory = common global i32 0, align 4
@IID_IObjectWithSite = common global i32 0, align 4
@IID_IOleContainer = common global i32 0, align 4
@IID_IObjectSafety = common global i32 0, align 4
@IID_IProvideClassInfo = common global i32 0, align 4
@CLSID_CMarkup = common global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"(%p)->(CLSID_CMarkup %p)\0A\00", align 1
@IID_IRunnableObject = common global i32 0, align 4
@.str.1 = private unnamed_addr constant [47 x i8] c"(%p)->(IID_IRunnableObject %p) returning NULL\0A\00", align 1
@IID_IPersistPropertyBag = common global i32 0, align 4
@.str.2 = private unnamed_addr constant [51 x i8] c"(%p)->(IID_IPersistPropertyBag %p) returning NULL\0A\00", align 1
@IID_IMarshal = common global i32 0, align 4
@.str.3 = private unnamed_addr constant [40 x i8] c"(%p)->(IID_IMarshal %p) returning NULL\0A\00", align 1
@IID_IExternalConnection = common global i32 0, align 4
@.str.4 = private unnamed_addr constant [51 x i8] c"(%p)->(IID_IExternalConnection %p) returning NULL\0A\00", align 1
@IID_IStdMarshalInfo = common global i32 0, align 4
@.str.5 = private unnamed_addr constant [47 x i8] c"(%p)->(IID_IStdMarshalInfo %p) returning NULL\0A\00", align 1
@FALSE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @htmldoc_qi], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @htmldoc_qi(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
store ptr null, ptr %2, align 8, !tbaa !6
%4 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IUnknown, i32 noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %146
6: ; preds = %3
%7 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IDispatch, i32 noundef %1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %146
9: ; preds = %6
%10 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IDispatchEx, i32 noundef %1) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %146
12: ; preds = %9
%13 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument, i32 noundef %1) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %146
15: ; preds = %12
%16 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument2, i32 noundef %1) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %146
18: ; preds = %15
%19 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument3, i32 noundef %1) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %146
21: ; preds = %18
%22 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument4, i32 noundef %1) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %146
24: ; preds = %21
%25 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument5, i32 noundef %1) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %146
27: ; preds = %24
%28 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument6, i32 noundef %1) #2
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %146
30: ; preds = %27
%31 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHTMLDocument7, i32 noundef %1) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %146
33: ; preds = %30
%34 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersist, i32 noundef %1) #2
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %146
36: ; preds = %33
%37 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistMoniker, i32 noundef %1) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %146
39: ; preds = %36
%40 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistFile, i32 noundef %1) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %146
42: ; preds = %39
%43 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IMonikerProp, i32 noundef %1) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %146
45: ; preds = %42
%46 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleObject, i32 noundef %1) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %146
48: ; preds = %45
%49 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleDocument, i32 noundef %1) #2
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %146
51: ; preds = %48
%52 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleDocumentView, i32 noundef %1) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %146
54: ; preds = %51
%55 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleInPlaceActiveObject, i32 noundef %1) #2
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %146
57: ; preds = %54
%58 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IViewObject, i32 noundef %1) #2
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %146
60: ; preds = %57
%61 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IViewObject2, i32 noundef %1) #2
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %146
63: ; preds = %60
%64 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IViewObjectEx, i32 noundef %1) #2
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %146
66: ; preds = %63
%67 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleWindow, i32 noundef %1) #2
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %146
69: ; preds = %66
%70 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleInPlaceObject, i32 noundef %1) #2
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %146
72: ; preds = %69
%73 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleInPlaceObjectWindowless, i32 noundef %1) #2
%74 = icmp eq i64 %73, 0
br i1 %74, label %75, label %146
75: ; preds = %72
%76 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IServiceProvider, i32 noundef %1) #2
%77 = icmp eq i64 %76, 0
br i1 %77, label %78, label %146
78: ; preds = %75
%79 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleCommandTarget, i32 noundef %1) #2
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %146
81: ; preds = %78
%82 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleControl, i32 noundef %1) #2
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %146
84: ; preds = %81
%85 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IHlinkTarget, i32 noundef %1) #2
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %146
87: ; preds = %84
%88 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IConnectionPointContainer, i32 noundef %1) #2
%89 = icmp eq i64 %88, 0
br i1 %89, label %90, label %146
90: ; preds = %87
%91 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistStreamInit, i32 noundef %1) #2
%92 = icmp eq i64 %91, 0
br i1 %92, label %93, label %146
93: ; preds = %90
%94 = tail call i64 @IsEqualGUID(ptr noundef nonnull @DIID_DispHTMLDocument, i32 noundef %1) #2
%95 = icmp eq i64 %94, 0
br i1 %95, label %96, label %146
96: ; preds = %93
%97 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_ISupportErrorInfo, i32 noundef %1) #2
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %146
99: ; preds = %96
%100 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistHistory, i32 noundef %1) #2
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %146
102: ; preds = %99
%103 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IObjectWithSite, i32 noundef %1) #2
%104 = icmp eq i64 %103, 0
br i1 %104, label %105, label %146
105: ; preds = %102
%106 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IOleContainer, i32 noundef %1) #2
%107 = icmp eq i64 %106, 0
br i1 %107, label %108, label %146
108: ; preds = %105
%109 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IObjectSafety, i32 noundef %1) #2
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %146
111: ; preds = %108
%112 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IProvideClassInfo, i32 noundef %1) #2
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %144
114: ; preds = %111
%115 = tail call i64 @IsEqualGUID(ptr noundef nonnull @CLSID_CMarkup, i32 noundef %1) #2
%116 = icmp eq i64 %115, 0
br i1 %116, label %119, label %117
117: ; preds = %114
%118 = tail call i32 @FIXME(ptr noundef nonnull @.str, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !6
br label %152
119: ; preds = %114
%120 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IRunnableObject, i32 noundef %1) #2
%121 = icmp eq i64 %120, 0
br i1 %121, label %124, label %122
122: ; preds = %119
%123 = tail call i32 @TRACE(ptr noundef nonnull @.str.1, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !6
br label %152
124: ; preds = %119
%125 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IPersistPropertyBag, i32 noundef %1) #2
%126 = icmp eq i64 %125, 0
br i1 %126, label %129, label %127
127: ; preds = %124
%128 = tail call i32 @TRACE(ptr noundef nonnull @.str.2, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !6
br label %152
129: ; preds = %124
%130 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IMarshal, i32 noundef %1) #2
%131 = icmp eq i64 %130, 0
br i1 %131, label %134, label %132
132: ; preds = %129
%133 = tail call i32 @TRACE(ptr noundef nonnull @.str.3, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !6
br label %152
134: ; preds = %129
%135 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IExternalConnection, i32 noundef %1) #2
%136 = icmp eq i64 %135, 0
br i1 %136, label %139, label %137
137: ; preds = %134
%138 = tail call i32 @TRACE(ptr noundef nonnull @.str.4, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !6
br label %152
139: ; preds = %134
%140 = tail call i64 @IsEqualGUID(ptr noundef nonnull @IID_IStdMarshalInfo, i32 noundef %1) #2
%141 = icmp eq i64 %140, 0
br i1 %141, label %152, label %142
142: ; preds = %139
%143 = tail call i32 @TRACE(ptr noundef nonnull @.str.5, ptr noundef %0, ptr noundef nonnull %2) #2
store ptr null, ptr %2, align 8, !tbaa !6
br label %152
144: ; preds = %111
store ptr %0, ptr %2, align 8, !tbaa !6
%145 = icmp eq ptr %0, null
br i1 %145, label %152, label %149
146: ; preds = %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %3
%147 = phi i64 [ 24, %3 ], [ 108, %6 ], [ 108, %9 ], [ 24, %12 ], [ 24, %15 ], [ 104, %18 ], [ 100, %21 ], [ 96, %24 ], [ 92, %27 ], [ 88, %30 ], [ 80, %33 ], [ 84, %36 ], [ 80, %39 ], [ 76, %42 ], [ 72, %45 ], [ 68, %48 ], [ 64, %51 ], [ 56, %54 ], [ 60, %57 ], [ 60, %60 ], [ 60, %63 ], [ 56, %66 ], [ 52, %69 ], [ 52, %72 ], [ 48, %75 ], [ 44, %78 ], [ 40, %81 ], [ 36, %84 ], [ 32, %87 ], [ 28, %90 ], [ 24, %93 ], [ 20, %96 ], [ 16, %99 ], [ 12, %102 ], [ 8, %105 ], [ 4, %108 ]
%148 = getelementptr inbounds i8, ptr %0, i64 %147
store ptr %148, ptr %2, align 8, !tbaa !6
br label %149
149: ; preds = %146, %144
%150 = phi ptr [ %0, %144 ], [ %148, %146 ]
%151 = tail call i32 @IUnknown_AddRef(ptr noundef nonnull %150) #2
br label %152
152: ; preds = %122, %132, %142, %137, %127, %117, %144, %149, %139
%153 = phi ptr [ @FALSE, %139 ], [ @TRUE, %149 ], [ @TRUE, %144 ], [ @TRUE, %117 ], [ @TRUE, %127 ], [ @TRUE, %137 ], [ @TRUE, %142 ], [ @TRUE, %132 ], [ @TRUE, %122 ]
%154 = load i32, ptr %153, align 4, !tbaa !10
ret i32 %154
}
declare i64 @IsEqualGUID(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FIXME(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @TRACE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IUnknown_AddRef(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| reactos_dll_win32_mshtml_extr_htmldoc.c_htmldoc_qi |
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_matrix.c_invert_matrix.c'
source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_matrix.c_invert_matrix.c"
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"
@Identity = dso_local local_unnamed_addr global ptr null, align 8
@m11 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m12 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m13 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m14 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m21 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m22 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m23 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m24 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m31 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m32 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m33 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m34 = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@m41 = dso_local local_unnamed_addr global i32 0, align 4
@m42 = dso_local local_unnamed_addr global i32 0, align 4
@m43 = dso_local local_unnamed_addr global i32 0, align 4
@m44 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @invert_matrix], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @invert_matrix(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca [16 x float], align 16
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #5
%4 = getelementptr inbounds float, ptr %0, i64 3
%5 = load float, ptr %4, align 4, !tbaa !5
%6 = fcmp une float %5, 0.000000e+00
br i1 %6, label %19, label %7
7: ; preds = %2
%8 = getelementptr inbounds float, ptr %0, i64 7
%9 = load float, ptr %8, align 4, !tbaa !5
%10 = fcmp une float %9, 0.000000e+00
br i1 %10, label %19, label %11
11: ; preds = %7
%12 = getelementptr inbounds float, ptr %0, i64 11
%13 = load float, ptr %12, align 4, !tbaa !5
%14 = fcmp une float %13, 0.000000e+00
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = getelementptr inbounds float, ptr %0, i64 15
%17 = load float, ptr %16, align 4, !tbaa !5
%18 = fcmp une float %17, 1.000000e+00
br i1 %18, label %19, label %21
19: ; preds = %15, %11, %7, %2
%20 = tail call i32 @invert_matrix_general(ptr noundef nonnull %0, ptr noundef %1) #5
br label %131
21: ; preds = %15
%22 = getelementptr inbounds float, ptr %0, i64 5
%23 = load float, ptr %22, align 4, !tbaa !5
%24 = getelementptr inbounds float, ptr %0, i64 10
%25 = load float, ptr %24, align 4, !tbaa !5
%26 = getelementptr inbounds float, ptr %0, i64 9
%27 = load float, ptr %26, align 4, !tbaa !5
%28 = getelementptr inbounds float, ptr %0, i64 6
%29 = load float, ptr %28, align 4, !tbaa !5
%30 = getelementptr inbounds float, ptr %0, i64 2
%31 = load float, ptr %30, align 4, !tbaa !5
%32 = getelementptr inbounds float, ptr %0, i64 1
%33 = load float, ptr %32, align 4, !tbaa !5
%34 = insertelement <2 x float> poison, float %27, i64 0
%35 = insertelement <2 x float> %34, float %33, i64 1
%36 = fneg <2 x float> %35
%37 = insertelement <2 x float> poison, float %29, i64 0
%38 = insertelement <2 x float> %37, float %25, i64 1
%39 = fmul <2 x float> %38, %36
%40 = insertelement <2 x float> poison, float %23, i64 0
%41 = insertelement <2 x float> %40, float %27, i64 1
%42 = insertelement <2 x float> poison, float %25, i64 0
%43 = insertelement <2 x float> %42, float %31, i64 1
%44 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %41, <2 x float> %43, <2 x float> %39)
%45 = fneg float %23
%46 = fmul float %31, %45
%47 = tail call float @llvm.fmuladd.f32(float %33, float %29, float %46)
%48 = load float, ptr %0, align 4, !tbaa !5
%49 = getelementptr inbounds float, ptr %0, i64 4
%50 = load float, ptr %49, align 4, !tbaa !5
%51 = extractelement <2 x float> %44, i64 1
%52 = fmul float %51, %50
%53 = extractelement <2 x float> %44, i64 0
%54 = tail call float @llvm.fmuladd.f32(float %48, float %53, float %52)
%55 = getelementptr inbounds float, ptr %0, i64 8
%56 = load float, ptr %55, align 4, !tbaa !5
%57 = tail call float @llvm.fmuladd.f32(float %56, float %47, float %54)
%58 = fcmp oeq float %57, 0.000000e+00
br i1 %58, label %59, label %62
59: ; preds = %21
%60 = load ptr, ptr @Identity, align 8, !tbaa !9
%61 = tail call i32 @MEMCPY(ptr noundef %1, ptr noundef %60, i32 noundef 64) #5
br label %131
62: ; preds = %21
%63 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 2
%64 = fdiv float 1.000000e+00, %57
%65 = insertelement <2 x float> poison, float %64, i64 0
%66 = shufflevector <2 x float> %65, <2 x float> poison, <2 x i32> zeroinitializer
%67 = fmul <2 x float> %44, %66
store <2 x float> %67, ptr %3, align 16, !tbaa !5
%68 = fmul float %47, %64
store float %68, ptr %63, align 8, !tbaa !5
%69 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 3
store float 0.000000e+00, ptr %69, align 4, !tbaa !5
%70 = fmul float %50, %64
%71 = getelementptr inbounds float, ptr %0, i64 12
%72 = load float, ptr %71, align 4, !tbaa !5
%73 = fmul float %64, %72
%74 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 4
%75 = insertelement <2 x float> poison, float %56, i64 0
%76 = insertelement <2 x float> %75, float %48, i64 1
%77 = fmul <2 x float> %76, %66
%78 = shufflevector <2 x float> %77, <2 x float> poison, <2 x i32> <i32 poison, i32 0>
%79 = insertelement <2 x float> %78, float %70, i64 0
%80 = fneg <2 x float> %79
%81 = fmul <2 x float> %43, %80
%82 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %77, <2 x float> %38, <2 x float> %81)
store <2 x float> %82, ptr %74, align 16, !tbaa !5
%83 = extractelement <2 x float> %77, i64 1
%84 = fneg float %83
%85 = fmul float %29, %84
%86 = tail call float @llvm.fmuladd.f32(float %70, float %31, float %85)
%87 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 6
store float %86, ptr %87, align 8, !tbaa !5
%88 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 7
store float 0.000000e+00, ptr %88, align 4, !tbaa !5
%89 = extractelement <2 x float> %36, i64 1
%90 = fmul float %70, %89
%91 = tail call float @llvm.fmuladd.f32(float %83, float %23, float %90)
%92 = extractelement <2 x float> %77, i64 0
%93 = fmul float %92, %89
%94 = tail call float @llvm.fmuladd.f32(float %83, float %27, float %93)
%95 = fmul float %92, %45
%96 = tail call float @llvm.fmuladd.f32(float %70, float %27, float %95)
%97 = getelementptr inbounds float, ptr %0, i64 13
%98 = load float, ptr %97, align 4, !tbaa !5
%99 = fmul float %73, %45
%100 = tail call float @llvm.fmuladd.f32(float %70, float %98, float %99)
%101 = extractelement <2 x float> %36, i64 0
%102 = fmul float %73, %101
%103 = tail call float @llvm.fmuladd.f32(float %92, float %98, float %102)
%104 = fneg float %98
%105 = fmul float %83, %104
%106 = tail call float @llvm.fmuladd.f32(float %73, float %33, float %105)
%107 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 8
store float %96, ptr %107, align 16, !tbaa !5
%108 = fneg float %94
%109 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 9
store float %108, ptr %109, align 4, !tbaa !5
%110 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 10
store float %91, ptr %110, align 8, !tbaa !5
%111 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 11
store float 0.000000e+00, ptr %111, align 4, !tbaa !5
%112 = fneg float %25
%113 = fmul float %100, %112
%114 = tail call float @llvm.fmuladd.f32(float %29, float %103, float %113)
%115 = getelementptr inbounds float, ptr %0, i64 14
%116 = load float, ptr %115, align 4, !tbaa !5
%117 = tail call float @llvm.fmuladd.f32(float %116, float %96, float %114)
%118 = fneg float %117
%119 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 12
store float %118, ptr %119, align 16, !tbaa !5
%120 = fmul float %25, %106
%121 = tail call float @llvm.fmuladd.f32(float %31, float %103, float %120)
%122 = tail call float @llvm.fmuladd.f32(float %116, float %94, float %121)
%123 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 13
store float %122, ptr %123, align 4, !tbaa !5
%124 = fmul float %29, %106
%125 = tail call float @llvm.fmuladd.f32(float %31, float %100, float %124)
%126 = tail call float @llvm.fmuladd.f32(float %116, float %91, float %125)
%127 = fneg float %126
%128 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 14
store float %127, ptr %128, align 8, !tbaa !5
%129 = getelementptr inbounds [16 x float], ptr %3, i64 0, i64 15
store float 1.000000e+00, ptr %129, align 4, !tbaa !5
%130 = call i32 @MEMCPY(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 64) #5
br label %131
131: ; preds = %59, %62, %19
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #5
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @invert_matrix_general(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare i32 @MEMCPY(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #4
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_matrix.c_invert_matrix.c'
source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_matrix.c_invert_matrix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Identity = common local_unnamed_addr global ptr null, align 8
@m11 = common local_unnamed_addr global float 0.000000e+00, align 4
@m12 = common local_unnamed_addr global float 0.000000e+00, align 4
@m13 = common local_unnamed_addr global float 0.000000e+00, align 4
@m14 = common local_unnamed_addr global float 0.000000e+00, align 4
@m21 = common local_unnamed_addr global float 0.000000e+00, align 4
@m22 = common local_unnamed_addr global float 0.000000e+00, align 4
@m23 = common local_unnamed_addr global float 0.000000e+00, align 4
@m24 = common local_unnamed_addr global float 0.000000e+00, align 4
@m31 = common local_unnamed_addr global float 0.000000e+00, align 4
@m32 = common local_unnamed_addr global float 0.000000e+00, align 4
@m33 = common local_unnamed_addr global float 0.000000e+00, align 4
@m34 = common local_unnamed_addr global float 0.000000e+00, align 4
@m41 = common local_unnamed_addr global i32 0, align 4
@m42 = common local_unnamed_addr global i32 0, align 4
@m43 = common local_unnamed_addr global i32 0, align 4
@m44 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @invert_matrix], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @invert_matrix(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca [16 x float], align 4
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
%4 = getelementptr inbounds i8, ptr %0, i64 12
%5 = load float, ptr %4, align 4, !tbaa !6
%6 = fcmp une float %5, 0.000000e+00
br i1 %6, label %19, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %0, i64 28
%9 = load float, ptr %8, align 4, !tbaa !6
%10 = fcmp une float %9, 0.000000e+00
br i1 %10, label %19, label %11
11: ; preds = %7
%12 = getelementptr inbounds i8, ptr %0, i64 44
%13 = load float, ptr %12, align 4, !tbaa !6
%14 = fcmp une float %13, 0.000000e+00
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %0, i64 60
%17 = load float, ptr %16, align 4, !tbaa !6
%18 = fcmp une float %17, 1.000000e+00
br i1 %18, label %19, label %21
19: ; preds = %15, %11, %7, %2
%20 = tail call i32 @invert_matrix_general(ptr noundef nonnull %0, ptr noundef %1) #4
br label %121
21: ; preds = %15
%22 = getelementptr inbounds i8, ptr %0, i64 20
%23 = load float, ptr %22, align 4, !tbaa !6
%24 = getelementptr inbounds i8, ptr %0, i64 40
%25 = load float, ptr %24, align 4, !tbaa !6
%26 = getelementptr inbounds i8, ptr %0, i64 36
%27 = load float, ptr %26, align 4, !tbaa !6
%28 = getelementptr inbounds i8, ptr %0, i64 24
%29 = load float, ptr %28, align 4, !tbaa !6
%30 = fneg float %27
%31 = fmul float %29, %30
%32 = tail call float @llvm.fmuladd.f32(float %23, float %25, float %31)
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load float, ptr %33, align 4, !tbaa !6
%35 = getelementptr inbounds i8, ptr %0, i64 4
%36 = load float, ptr %35, align 4, !tbaa !6
%37 = fneg float %36
%38 = fmul float %25, %37
%39 = tail call float @llvm.fmuladd.f32(float %27, float %34, float %38)
%40 = fneg float %23
%41 = fmul float %34, %40
%42 = tail call float @llvm.fmuladd.f32(float %36, float %29, float %41)
%43 = load float, ptr %0, align 4, !tbaa !6
%44 = getelementptr inbounds i8, ptr %0, i64 16
%45 = load float, ptr %44, align 4, !tbaa !6
%46 = fmul float %39, %45
%47 = tail call float @llvm.fmuladd.f32(float %43, float %32, float %46)
%48 = getelementptr inbounds i8, ptr %0, i64 32
%49 = load float, ptr %48, align 4, !tbaa !6
%50 = tail call float @llvm.fmuladd.f32(float %49, float %42, float %47)
%51 = fcmp oeq float %50, 0.000000e+00
br i1 %51, label %52, label %55
52: ; preds = %21
%53 = load ptr, ptr @Identity, align 8, !tbaa !10
%54 = tail call i32 @MEMCPY(ptr noundef %1, ptr noundef %53, i32 noundef 64) #4
br label %121
55: ; preds = %21
%56 = getelementptr inbounds i8, ptr %3, i64 8
%57 = getelementptr inbounds i8, ptr %3, i64 4
%58 = fdiv float 1.000000e+00, %50
%59 = fmul float %32, %58
store float %59, ptr %3, align 4, !tbaa !6
%60 = fmul float %39, %58
store float %60, ptr %57, align 4, !tbaa !6
%61 = fmul float %42, %58
store float %61, ptr %56, align 4, !tbaa !6
%62 = getelementptr inbounds i8, ptr %3, i64 12
store float 0.000000e+00, ptr %62, align 4, !tbaa !6
%63 = fmul float %43, %58
%64 = fmul float %45, %58
%65 = fmul float %49, %58
%66 = getelementptr inbounds i8, ptr %0, i64 48
%67 = load float, ptr %66, align 4, !tbaa !6
%68 = fmul float %58, %67
%69 = fneg float %64
%70 = fmul float %25, %69
%71 = tail call float @llvm.fmuladd.f32(float %65, float %29, float %70)
%72 = getelementptr inbounds i8, ptr %3, i64 16
store float %71, ptr %72, align 4, !tbaa !6
%73 = fneg float %65
%74 = fmul float %34, %73
%75 = tail call float @llvm.fmuladd.f32(float %63, float %25, float %74)
%76 = getelementptr inbounds i8, ptr %3, i64 20
store float %75, ptr %76, align 4, !tbaa !6
%77 = fneg float %63
%78 = fmul float %29, %77
%79 = tail call float @llvm.fmuladd.f32(float %64, float %34, float %78)
%80 = getelementptr inbounds i8, ptr %3, i64 24
store float %79, ptr %80, align 4, !tbaa !6
%81 = getelementptr inbounds i8, ptr %3, i64 28
store float 0.000000e+00, ptr %81, align 4, !tbaa !6
%82 = fmul float %64, %37
%83 = tail call float @llvm.fmuladd.f32(float %63, float %23, float %82)
%84 = fmul float %65, %37
%85 = tail call float @llvm.fmuladd.f32(float %63, float %27, float %84)
%86 = fmul float %65, %40
%87 = tail call float @llvm.fmuladd.f32(float %64, float %27, float %86)
%88 = getelementptr inbounds i8, ptr %0, i64 52
%89 = load float, ptr %88, align 4, !tbaa !6
%90 = fmul float %68, %40
%91 = tail call float @llvm.fmuladd.f32(float %64, float %89, float %90)
%92 = fmul float %68, %30
%93 = tail call float @llvm.fmuladd.f32(float %65, float %89, float %92)
%94 = fneg float %89
%95 = fmul float %63, %94
%96 = tail call float @llvm.fmuladd.f32(float %68, float %36, float %95)
%97 = getelementptr inbounds i8, ptr %3, i64 32
store float %87, ptr %97, align 4, !tbaa !6
%98 = fneg float %85
%99 = getelementptr inbounds i8, ptr %3, i64 36
store float %98, ptr %99, align 4, !tbaa !6
%100 = getelementptr inbounds i8, ptr %3, i64 40
store float %83, ptr %100, align 4, !tbaa !6
%101 = getelementptr inbounds i8, ptr %3, i64 44
store float 0.000000e+00, ptr %101, align 4, !tbaa !6
%102 = fneg float %25
%103 = fmul float %91, %102
%104 = tail call float @llvm.fmuladd.f32(float %29, float %93, float %103)
%105 = getelementptr inbounds i8, ptr %0, i64 56
%106 = load float, ptr %105, align 4, !tbaa !6
%107 = tail call float @llvm.fmuladd.f32(float %106, float %87, float %104)
%108 = fneg float %107
%109 = getelementptr inbounds i8, ptr %3, i64 48
store float %108, ptr %109, align 4, !tbaa !6
%110 = fmul float %25, %96
%111 = tail call float @llvm.fmuladd.f32(float %34, float %93, float %110)
%112 = tail call float @llvm.fmuladd.f32(float %106, float %85, float %111)
%113 = getelementptr inbounds i8, ptr %3, i64 52
store float %112, ptr %113, align 4, !tbaa !6
%114 = fmul float %29, %96
%115 = tail call float @llvm.fmuladd.f32(float %34, float %91, float %114)
%116 = tail call float @llvm.fmuladd.f32(float %106, float %83, float %115)
%117 = fneg float %116
%118 = getelementptr inbounds i8, ptr %3, i64 56
store float %117, ptr %118, align 4, !tbaa !6
%119 = getelementptr inbounds i8, ptr %3, i64 60
store float 1.000000e+00, ptr %119, align 4, !tbaa !6
%120 = call i32 @MEMCPY(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 64) #4
br label %121
121: ; preds = %52, %55, %19
call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @invert_matrix_general(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare i32 @MEMCPY(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| reactos_dll_opengl_mesa_extr_matrix.c_invert_matrix |
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_harddog_user.c_ping_watchdog.c'
source_filename = "AnghaBench/linux/arch/um/drivers/extr_harddog_user.c_ping_watchdog.c"
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 = private unnamed_addr constant [50 x i8] c"ping_watchdog - write failed, ret = %d, err = %d\0A\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @ping_watchdog(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i8, align 1
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #3
store i8 10, ptr %2, align 1, !tbaa !5
%3 = call i32 @write(i32 noundef %0, ptr noundef nonnull %2, i32 noundef 1) #3
%4 = icmp eq i32 %3, 1
br i1 %4, label %12, label %5
5: ; preds = %1
%6 = load i32, ptr @errno, align 4, !tbaa !8
%7 = call i32 @printk(ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %6) #3
%8 = icmp slt i32 %3, 0
br i1 %8, label %12, label %9
9: ; preds = %5
%10 = load i32, ptr @EIO, align 4, !tbaa !8
%11 = sub nsw i32 0, %10
br label %12
12: ; preds = %1, %5, %9
%13 = phi i32 [ %11, %9 ], [ %3, %5 ], [ 1, %1 ]
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #3
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_harddog_user.c_ping_watchdog.c'
source_filename = "AnghaBench/linux/arch/um/drivers/extr_harddog_user.c_ping_watchdog.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [50 x i8] c"ping_watchdog - write failed, ret = %d, err = %d\0A\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ping_watchdog(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i8, align 1
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #3
store i8 10, ptr %2, align 1, !tbaa !6
%3 = call i32 @write(i32 noundef %0, ptr noundef nonnull %2, i32 noundef 1) #3
%4 = icmp eq i32 %3, 1
br i1 %4, label %12, label %5
5: ; preds = %1
%6 = load i32, ptr @errno, align 4, !tbaa !9
%7 = call i32 @printk(ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %6) #3
%8 = icmp slt i32 %3, 0
br i1 %8, label %12, label %9
9: ; preds = %5
%10 = load i32, ptr @EIO, align 4, !tbaa !9
%11 = sub nsw i32 0, %10
br label %12
12: ; preds = %1, %5, %9
%13 = phi i32 [ %11, %9 ], [ %3, %5 ], [ 1, %1 ]
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #3
ret i32 %13
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| linux_arch_um_drivers_extr_harddog_user.c_ping_watchdog |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/extr_core.c_bcmring_timer_interrupt.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/extr_core.c_bcmring_timer_interrupt.c"
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.clock_event_device = type { ptr }
@timer0_clockevent = dso_local global %struct.clock_event_device zeroinitializer, align 8
@TIMER0_VA_BASE = dso_local local_unnamed_addr global i64 0, align 8
@TIMER_INTCLR = dso_local local_unnamed_addr global i64 0, align 8
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcmring_timer_interrupt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bcmring_timer_interrupt(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i64, ptr @TIMER0_VA_BASE, align 8, !tbaa !5
%4 = load i64, ptr @TIMER_INTCLR, align 8, !tbaa !5
%5 = add nsw i64 %4, %3
%6 = tail call i32 @writel(i32 noundef 1, i64 noundef %5) #2
%7 = load ptr, ptr @timer0_clockevent, align 8, !tbaa !9
%8 = tail call i32 %7(ptr noundef nonnull @timer0_clockevent) #2
%9 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !12
ret i32 %9
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"clock_event_device", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/extr_core.c_bcmring_timer_interrupt.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/extr_core.c_bcmring_timer_interrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.clock_event_device = type { ptr }
@timer0_clockevent = common global %struct.clock_event_device zeroinitializer, align 8
@TIMER0_VA_BASE = common local_unnamed_addr global i64 0, align 8
@TIMER_INTCLR = common local_unnamed_addr global i64 0, align 8
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bcmring_timer_interrupt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bcmring_timer_interrupt(i32 %0, ptr nocapture readnone %1) #0 {
%3 = load i64, ptr @TIMER0_VA_BASE, align 8, !tbaa !6
%4 = load i64, ptr @TIMER_INTCLR, align 8, !tbaa !6
%5 = add nsw i64 %4, %3
%6 = tail call i32 @writel(i32 noundef 1, i64 noundef %5) #2
%7 = load ptr, ptr @timer0_clockevent, align 8, !tbaa !10
%8 = tail call i32 %7(ptr noundef nonnull @timer0_clockevent) #2
%9 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !13
ret i32 %9
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"clock_event_device", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| fastsocket_kernel_arch_arm_mach-bcmring_extr_core.c_bcmring_timer_interrupt |
; ModuleID = 'AnghaBench/hashcat/src/extr_convert.c_uppercase.c'
source_filename = "AnghaBench/hashcat/src/extr_convert.c_uppercase.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @uppercase(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %4, label %5
4: ; preds = %5, %2
ret void
5: ; preds = %2, %5
%6 = phi i64 [ %11, %5 ], [ 0, %2 ]
%7 = getelementptr inbounds i64, ptr %0, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = trunc i64 %8 to i32
%10 = tail call i64 @toupper(i32 noundef %9) #2
store i64 %10, ptr %7, align 8, !tbaa !5
%11 = add nuw i64 %6, 1
%12 = icmp eq i64 %11, %1
br i1 %12, label %4, label %5, !llvm.loop !9
}
declare i64 @toupper(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/hashcat/src/extr_convert.c_uppercase.c'
source_filename = "AnghaBench/hashcat/src/extr_convert.c_uppercase.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @uppercase(ptr nocapture noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %4, label %5
4: ; preds = %5, %2
ret void
5: ; preds = %2, %5
%6 = phi i64 [ %11, %5 ], [ 0, %2 ]
%7 = getelementptr inbounds i64, ptr %0, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = trunc i64 %8 to i32
%10 = tail call i64 @toupper(i32 noundef %9) #2
store i64 %10, ptr %7, align 8, !tbaa !6
%11 = add nuw i64 %6, 1
%12 = icmp eq i64 %11, %1
br i1 %12, label %4, label %5, !llvm.loop !10
}
declare i64 @toupper(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| hashcat_src_extr_convert.c_uppercase |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_ia64-gen.c_print_dis_table.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_ia64-gen.c_print_dis_table.c"
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.disent = type { i32, i32, i32, ptr, ptr }
@disinsntable = dso_local local_unnamed_addr global ptr null, align 8
@insn_list_len = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"0x%02x, \00", align 1
@insn_list = dso_local local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [23 x i8] c"{ 0x%x, %d, %d, %d },\0A\00", align 1
@str = private unnamed_addr constant [34 x i8] c"static const char dis_table[] = {\00", align 1
@str.7 = private unnamed_addr constant [5 x i8] c"\0A};\0A\00", align 1
@str.8 = private unnamed_addr constant [56 x i8] c"static const struct ia64_dis_names ia64_dis_names[] = {\00", align 1
@str.9 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_dis_table], section "llvm.metadata"
; Function Attrs: nofree nounwind uwtable
define internal void @print_dis_table() #0 {
%1 = load ptr, ptr @disinsntable, align 8, !tbaa !5
%2 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%3 = load i32, ptr @insn_list_len, align 4, !tbaa !9
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %27
5: ; preds = %0
%6 = load ptr, ptr @insn_list, align 8, !tbaa !5
%7 = load i32, ptr %6, align 4, !tbaa !9
%8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %7)
%9 = load i32, ptr @insn_list_len, align 4, !tbaa !9
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %27
11: ; preds = %5, %18
%12 = phi i64 [ %23, %18 ], [ 1, %5 ]
%13 = trunc i64 %12 to i32
%14 = urem i32 %13, 12
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = tail call i32 @putchar(i32 10)
br label %18
18: ; preds = %16, %11
%19 = load ptr, ptr @insn_list, align 8, !tbaa !5
%20 = getelementptr inbounds i32, ptr %19, i64 %12
%21 = load i32, ptr %20, align 4, !tbaa !9
%22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %21)
%23 = add nuw nsw i64 %12, 1
%24 = load i32, ptr @insn_list_len, align 4, !tbaa !9
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %23, %25
br i1 %26, label %11, label %27, !llvm.loop !11
27: ; preds = %18, %5, %0
%28 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.7)
%29 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.8)
%30 = icmp eq ptr %1, null
br i1 %30, label %51, label %31
31: ; preds = %27, %47
%32 = phi ptr [ %49, %47 ], [ %1, %27 ]
br label %33
33: ; preds = %31, %33
%34 = phi ptr [ %32, %31 ], [ %45, %33 ]
%35 = load i32, ptr %34, align 8, !tbaa !14
%36 = getelementptr inbounds %struct.disent, ptr %34, i64 0, i32 1
%37 = load i32, ptr %36, align 4, !tbaa !16
%38 = getelementptr inbounds %struct.disent, ptr %34, i64 0, i32 4
%39 = load ptr, ptr %38, align 8, !tbaa !17
%40 = icmp ne ptr %39, null
%41 = zext i1 %40 to i32
%42 = getelementptr inbounds %struct.disent, ptr %34, i64 0, i32 2
%43 = load i32, ptr %42, align 8, !tbaa !18
%44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %35, i32 noundef %37, i32 noundef %41, i32 noundef %43)
%45 = load ptr, ptr %38, align 8, !tbaa !17
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %33, !llvm.loop !19
47: ; preds = %33
%48 = getelementptr inbounds %struct.disent, ptr %32, i64 0, i32 3
%49 = load ptr, ptr %48, align 8, !tbaa !20
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %31, !llvm.loop !21
51: ; preds = %47, %27
%52 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.9)
ret void
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #2
attributes #0 = { nofree 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = distinct !{!11, !12, !13}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.peeled.count", i32 1}
!14 = !{!15, !10, i64 0}
!15 = !{!"disent", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!15, !10, i64 4}
!17 = !{!15, !6, i64 24}
!18 = !{!15, !10, i64 8}
!19 = distinct !{!19, !12}
!20 = !{!15, !6, i64 16}
!21 = distinct !{!21, !12}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_ia64-gen.c_print_dis_table.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_ia64-gen.c_print_dis_table.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@disinsntable = common local_unnamed_addr global ptr null, align 8
@insn_list_len = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"0x%02x, \00", align 1
@insn_list = common local_unnamed_addr global ptr null, align 8
@.str.5 = private unnamed_addr constant [23 x i8] c"{ 0x%x, %d, %d, %d },\0A\00", align 1
@str = private unnamed_addr constant [34 x i8] c"static const char dis_table[] = {\00", align 1
@str.7 = private unnamed_addr constant [5 x i8] c"\0A};\0A\00", align 1
@str.8 = private unnamed_addr constant [56 x i8] c"static const struct ia64_dis_names ia64_dis_names[] = {\00", align 1
@str.9 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_dis_table], section "llvm.metadata"
; Function Attrs: nofree nounwind ssp uwtable(sync)
define internal void @print_dis_table() #0 {
%1 = load ptr, ptr @disinsntable, align 8, !tbaa !6
%2 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%3 = load i32, ptr @insn_list_len, align 4, !tbaa !10
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %27
5: ; preds = %0
%6 = load ptr, ptr @insn_list, align 8, !tbaa !6
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %7)
%9 = load i32, ptr @insn_list_len, align 4, !tbaa !10
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %27
11: ; preds = %5, %18
%12 = phi i64 [ %23, %18 ], [ 1, %5 ]
%13 = trunc nuw nsw i64 %12 to i32
%14 = urem i32 %13, 12
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = tail call i32 @putchar(i32 10)
br label %18
18: ; preds = %16, %11
%19 = load ptr, ptr @insn_list, align 8, !tbaa !6
%20 = getelementptr inbounds i32, ptr %19, i64 %12
%21 = load i32, ptr %20, align 4, !tbaa !10
%22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %21)
%23 = add nuw nsw i64 %12, 1
%24 = load i32, ptr @insn_list_len, align 4, !tbaa !10
%25 = sext i32 %24 to i64
%26 = icmp slt i64 %23, %25
br i1 %26, label %11, label %27, !llvm.loop !12
27: ; preds = %18, %5, %0
%28 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.7)
%29 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.8)
%30 = icmp eq ptr %1, null
br i1 %30, label %51, label %31
31: ; preds = %27, %47
%32 = phi ptr [ %49, %47 ], [ %1, %27 ]
br label %33
33: ; preds = %31, %33
%34 = phi ptr [ %32, %31 ], [ %45, %33 ]
%35 = load i32, ptr %34, align 8, !tbaa !15
%36 = getelementptr inbounds i8, ptr %34, i64 4
%37 = load i32, ptr %36, align 4, !tbaa !17
%38 = getelementptr inbounds i8, ptr %34, i64 24
%39 = load ptr, ptr %38, align 8, !tbaa !18
%40 = icmp ne ptr %39, null
%41 = zext i1 %40 to i32
%42 = getelementptr inbounds i8, ptr %34, i64 8
%43 = load i32, ptr %42, align 8, !tbaa !19
%44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %35, i32 noundef %37, i32 noundef %41, i32 noundef %43)
%45 = load ptr, ptr %38, align 8, !tbaa !18
%46 = icmp eq ptr %45, null
br i1 %46, label %47, label %33, !llvm.loop !20
47: ; preds = %33
%48 = getelementptr inbounds i8, ptr %32, i64 16
%49 = load ptr, ptr %48, align 8, !tbaa !21
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %31, !llvm.loop !22
51: ; preds = %47, %27
%52 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.9)
ret void
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #2
attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13, !14}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!"llvm.loop.peeled.count", i32 1}
!15 = !{!16, !11, i64 0}
!16 = !{!"disent", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !7, i64 24}
!17 = !{!16, !11, i64 4}
!18 = !{!16, !7, i64 24}
!19 = !{!16, !11, i64 8}
!20 = distinct !{!20, !13}
!21 = !{!16, !7, i64 16}
!22 = distinct !{!22, !13}
| freebsd_contrib_binutils_opcodes_extr_ia64-gen.c_print_dis_table |
; ModuleID = 'AnghaBench/reactos/sdk/tools/rgenstat/extr_rgenstat.c_is_whitespace.c'
source_filename = "AnghaBench/reactos/sdk/tools/rgenstat/extr_rgenstat.c_is_whitespace.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_whitespace], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @is_whitespace(i8 noundef signext %0) #0 {
%2 = icmp eq i8 %0, 32
%3 = icmp eq i8 %0, 9
%4 = or i1 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/sdk/tools/rgenstat/extr_rgenstat.c_is_whitespace.c'
source_filename = "AnghaBench/reactos/sdk/tools/rgenstat/extr_rgenstat.c_is_whitespace.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @is_whitespace], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 2) i32 @is_whitespace(i8 noundef signext %0) #0 {
%2 = icmp eq i8 %0, 32
%3 = icmp eq i8 %0, 9
%4 = or i1 %2, %3
%5 = zext i1 %4 to i32
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_sdk_tools_rgenstat_extr_rgenstat.c_is_whitespace |
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_omap.c_mmc_omap_release_slot.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_omap.c_mmc_omap_release_slot.c"
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.mmc_omap_slot = type { ptr, ptr, ptr }
%struct.mmc_omap_host = type { i32, i32, i32, ptr, i32, i32, ptr, ptr, ptr, i32 }
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mmc_omap_release_slot], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mmc_omap_release_slot(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.mmc_omap_slot, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = icmp eq ptr %6, null
%8 = zext i1 %7 to i32
%9 = tail call i32 @BUG_ON(i32 noundef %8) #2
%10 = icmp eq i32 %1, 0
%11 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 9
br i1 %10, label %19, label %12
12: ; preds = %2
%13 = load i64, ptr @jiffies, align 8, !tbaa !13
%14 = load i32, ptr @HZ, align 4, !tbaa !15
%15 = sdiv i32 %14, 10
%16 = sext i32 %15 to i64
%17 = add nsw i64 %13, %16
%18 = tail call i32 @mod_timer(ptr noundef nonnull %11, i64 noundef %17) #2
br label %23
19: ; preds = %2
%20 = tail call i32 @del_timer(ptr noundef nonnull %11) #2
%21 = tail call i32 @mmc_omap_fclk_offdelay(ptr noundef nonnull %0) #2
%22 = tail call i32 @mmc_omap_fclk_enable(ptr noundef nonnull %4, i32 noundef 0) #2
br label %23
23: ; preds = %19, %12
%24 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 1
%25 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %24, i64 noundef undef) #2
%26 = load i32, ptr %4, align 8, !tbaa !16
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %64
28: ; preds = %23
%29 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 8
%30 = load ptr, ptr %29, align 8, !tbaa !17
%31 = zext nneg i32 %26 to i64
br label %32
32: ; preds = %28, %61
%33 = phi i64 [ 0, %28 ], [ %62, %61 ]
%34 = getelementptr inbounds ptr, ptr %30, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !18
%36 = icmp eq ptr %35, null
br i1 %36, label %61, label %37
37: ; preds = %32
%38 = getelementptr inbounds %struct.mmc_omap_slot, ptr %35, i64 0, i32 1
%39 = load ptr, ptr %38, align 8, !tbaa !19
%40 = icmp eq ptr %39, null
br i1 %40, label %61, label %41
41: ; preds = %37
%42 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 6
%43 = load ptr, ptr %42, align 8, !tbaa !20
%44 = icmp ne ptr %43, null
%45 = zext i1 %44 to i32
%46 = tail call i32 @BUG_ON(i32 noundef %45) #2
%47 = load ptr, ptr %29, align 8, !tbaa !17
%48 = getelementptr inbounds ptr, ptr %47, i64 %33
%49 = load ptr, ptr %48, align 8, !tbaa !18
%50 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 7
%51 = load ptr, ptr %50, align 8, !tbaa !21
%52 = icmp eq ptr %49, %51
%53 = zext i1 %52 to i32
%54 = tail call i32 @BUG_ON(i32 noundef %53) #2
store ptr %49, ptr %42, align 8, !tbaa !20
%55 = load ptr, ptr %49, align 8, !tbaa !22
store ptr %55, ptr %5, align 8, !tbaa !10
%56 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %24, i64 noundef undef) #2
%57 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 5
%58 = load i32, ptr %57, align 4, !tbaa !23
%59 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 4
%60 = tail call i32 @queue_work(i32 noundef %58, ptr noundef nonnull %59) #2
br label %68
61: ; preds = %37, %32
%62 = add nuw nsw i64 %33, 1
%63 = icmp eq i64 %62, %31
br i1 %63, label %64, label %32, !llvm.loop !24
64: ; preds = %61, %23
store ptr null, ptr %5, align 8, !tbaa !10
%65 = getelementptr inbounds %struct.mmc_omap_host, ptr %4, i64 0, i32 2
%66 = tail call i32 @wake_up(ptr noundef nonnull %65) #2
%67 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %24, i64 noundef undef) #2
br label %68
68: ; preds = %41, %64
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @mmc_omap_fclk_offdelay(ptr noundef) local_unnamed_addr #1
declare i32 @mmc_omap_fclk_enable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wake_up(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"mmc_omap_slot", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"mmc_omap_host", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 16, !12, i64 24, !12, i64 28, !7, i64 32, !7, i64 40, !7, i64 48, !12, i64 56}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!12, !12, i64 0}
!16 = !{!11, !12, i64 0}
!17 = !{!11, !7, i64 48}
!18 = !{!7, !7, i64 0}
!19 = !{!6, !7, i64 8}
!20 = !{!11, !7, i64 32}
!21 = !{!11, !7, i64 40}
!22 = !{!6, !7, i64 0}
!23 = !{!11, !12, i64 28}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_omap.c_mmc_omap_release_slot.c'
source_filename = "AnghaBench/linux/drivers/mmc/host/extr_omap.c_mmc_omap_release_slot.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
@HZ = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mmc_omap_release_slot], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mmc_omap_release_slot(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = icmp eq ptr %6, null
%8 = zext i1 %7 to i32
%9 = tail call i32 @BUG_ON(i32 noundef %8) #2
%10 = icmp eq i32 %1, 0
%11 = getelementptr inbounds i8, ptr %4, i64 56
br i1 %10, label %19, label %12
12: ; preds = %2
%13 = load i64, ptr @jiffies, align 8, !tbaa !14
%14 = load i32, ptr @HZ, align 4, !tbaa !16
%15 = sdiv i32 %14, 10
%16 = sext i32 %15 to i64
%17 = add nsw i64 %13, %16
%18 = tail call i32 @mod_timer(ptr noundef nonnull %11, i64 noundef %17) #2
br label %23
19: ; preds = %2
%20 = tail call i32 @del_timer(ptr noundef nonnull %11) #2
%21 = tail call i32 @mmc_omap_fclk_offdelay(ptr noundef nonnull %0) #2
%22 = tail call i32 @mmc_omap_fclk_enable(ptr noundef nonnull %4, i32 noundef 0) #2
br label %23
23: ; preds = %19, %12
%24 = getelementptr inbounds i8, ptr %4, i64 4
%25 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %24, i64 noundef undef) #2
%26 = load i32, ptr %4, align 8, !tbaa !17
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %64
28: ; preds = %23
%29 = getelementptr inbounds i8, ptr %4, i64 48
%30 = load ptr, ptr %29, align 8, !tbaa !18
%31 = zext nneg i32 %26 to i64
br label %32
32: ; preds = %28, %61
%33 = phi i64 [ 0, %28 ], [ %62, %61 ]
%34 = getelementptr inbounds ptr, ptr %30, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !19
%36 = icmp eq ptr %35, null
br i1 %36, label %61, label %37
37: ; preds = %32
%38 = getelementptr inbounds i8, ptr %35, i64 8
%39 = load ptr, ptr %38, align 8, !tbaa !20
%40 = icmp eq ptr %39, null
br i1 %40, label %61, label %41
41: ; preds = %37
%42 = getelementptr inbounds i8, ptr %4, i64 32
%43 = load ptr, ptr %42, align 8, !tbaa !21
%44 = icmp ne ptr %43, null
%45 = zext i1 %44 to i32
%46 = tail call i32 @BUG_ON(i32 noundef %45) #2
%47 = load ptr, ptr %29, align 8, !tbaa !18
%48 = getelementptr inbounds ptr, ptr %47, i64 %33
%49 = load ptr, ptr %48, align 8, !tbaa !19
%50 = getelementptr inbounds i8, ptr %4, i64 40
%51 = load ptr, ptr %50, align 8, !tbaa !22
%52 = icmp eq ptr %49, %51
%53 = zext i1 %52 to i32
%54 = tail call i32 @BUG_ON(i32 noundef %53) #2
store ptr %49, ptr %42, align 8, !tbaa !21
%55 = load ptr, ptr %49, align 8, !tbaa !23
store ptr %55, ptr %5, align 8, !tbaa !11
%56 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %24, i64 noundef undef) #2
%57 = getelementptr inbounds i8, ptr %4, i64 28
%58 = load i32, ptr %57, align 4, !tbaa !24
%59 = getelementptr inbounds i8, ptr %4, i64 24
%60 = tail call i32 @queue_work(i32 noundef %58, ptr noundef nonnull %59) #2
br label %68
61: ; preds = %37, %32
%62 = add nuw nsw i64 %33, 1
%63 = icmp eq i64 %62, %31
br i1 %63, label %64, label %32, !llvm.loop !25
64: ; preds = %61, %23
store ptr null, ptr %5, align 8, !tbaa !11
%65 = getelementptr inbounds i8, ptr %4, i64 8
%66 = tail call i32 @wake_up(ptr noundef nonnull %65) #2
%67 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %24, i64 noundef undef) #2
br label %68
68: ; preds = %41, %64
ret void
}
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @del_timer(ptr noundef) local_unnamed_addr #1
declare i32 @mmc_omap_fclk_offdelay(ptr noundef) local_unnamed_addr #1
declare i32 @mmc_omap_fclk_enable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wake_up(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"mmc_omap_slot", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 16}
!12 = !{!"mmc_omap_host", !13, i64 0, !13, i64 4, !13, i64 8, !8, i64 16, !13, i64 24, !13, i64 28, !8, i64 32, !8, i64 40, !8, i64 48, !13, i64 56}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !13, i64 0}
!18 = !{!12, !8, i64 48}
!19 = !{!8, !8, i64 0}
!20 = !{!7, !8, i64 8}
!21 = !{!12, !8, i64 32}
!22 = !{!12, !8, i64 40}
!23 = !{!7, !8, i64 0}
!24 = !{!12, !13, i64 28}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
| linux_drivers_mmc_host_extr_omap.c_mmc_omap_release_slot |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/tw5864/extr_tw5864-video.c_tw5864_md_metric_from_mvd.c'
source_filename = "AnghaBench/linux/drivers/media/pci/tw5864/extr_tw5864-video.c_tw5864_md_metric_from_mvd.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @tw5864_md_metric_from_mvd], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i32 @tw5864_md_metric_from_mvd(i32 noundef %0) #0 {
%2 = lshr i32 %0, 10
%3 = and i32 %0, 15
%4 = and i32 %2, 15
%5 = add nuw nsw i32 %4, %3
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/tw5864/extr_tw5864-video.c_tw5864_md_metric_from_mvd.c'
source_filename = "AnghaBench/linux/drivers/media/pci/tw5864/extr_tw5864-video.c_tw5864_md_metric_from_mvd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @tw5864_md_metric_from_mvd], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal range(i32 0, 31) i32 @tw5864_md_metric_from_mvd(i32 noundef %0) #0 {
%2 = lshr i32 %0, 10
%3 = and i32 %0, 15
%4 = and i32 %2, 15
%5 = add nuw nsw i32 %4, %3
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_media_pci_tw5864_extr_tw5864-video.c_tw5864_md_metric_from_mvd |
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/extr_xxxwin.c_ui_destroy_cursor.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/extr_xxxwin.c_ui_destroy_cursor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @ui_destroy_cursor(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/extr_xxxwin.c_ui_destroy_cursor.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/extr_xxxwin.c_ui_destroy_cursor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @ui_destroy_cursor(ptr nocapture noundef readnone %0) local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_modules_rosapps_applications_net_tsclient_rdesktop_uiports_extr_xxxwin.c_ui_destroy_cursor |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/sparc/extr_amd7930.c_amd7930_enable_ints.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/sparc/extr_amd7930.c_amd7930_enable_ints.c"
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.snd_amd7930 = type { i32, i64 }
@AMR_INIT = dso_local local_unnamed_addr global i32 0, align 4
@AMD7930_CR = dso_local local_unnamed_addr global i64 0, align 8
@AM_INIT_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@AMD7930_DR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @amd7930_enable_ints], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @amd7930_enable_ints(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%3 = load i32, ptr @AMR_INIT, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.snd_amd7930, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !9
%6 = load i64, ptr @AMD7930_CR, align 8, !tbaa !12
%7 = add nsw i64 %6, %5
%8 = tail call i32 @sbus_writeb(i32 noundef %3, i64 noundef %7) #2
%9 = load i32, ptr @AM_INIT_ACTIVE, align 4, !tbaa !5
%10 = load i64, ptr %4, align 8, !tbaa !9
%11 = load i64, ptr @AMD7930_DR, align 8, !tbaa !12
%12 = add nsw i64 %11, %10
%13 = tail call i32 @sbus_writeb(i32 noundef %9, i64 noundef %12) #2
%14 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @sbus_writeb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"snd_amd7930", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/sparc/extr_amd7930.c_amd7930_enable_ints.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/sparc/extr_amd7930.c_amd7930_enable_ints.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AMR_INIT = common local_unnamed_addr global i32 0, align 4
@AMD7930_CR = common local_unnamed_addr global i64 0, align 8
@AM_INIT_ACTIVE = common local_unnamed_addr global i32 0, align 4
@AMD7930_DR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @amd7930_enable_ints], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @amd7930_enable_ints(ptr noundef %0) #0 {
%2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%3 = load i32, ptr @AMR_INIT, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = load i64, ptr @AMD7930_CR, align 8, !tbaa !13
%7 = add nsw i64 %6, %5
%8 = tail call i32 @sbus_writeb(i32 noundef %3, i64 noundef %7) #2
%9 = load i32, ptr @AM_INIT_ACTIVE, align 4, !tbaa !6
%10 = load i64, ptr %4, align 8, !tbaa !10
%11 = load i64, ptr @AMD7930_DR, align 8, !tbaa !13
%12 = add nsw i64 %11, %10
%13 = tail call i32 @sbus_writeb(i32 noundef %9, i64 noundef %12) #2
%14 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
ret void
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @sbus_writeb(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"snd_amd7930", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
| fastsocket_kernel_sound_sparc_extr_amd7930.c_amd7930_enable_ints |
; ModuleID = 'AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_iport_port_show.c'
source_filename = "AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_iport_port_show.c"
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.se_lun_acl = type { i32, ptr }
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @target_stat_iport_port_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @target_stat_iport_port_show(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @iport_to_lacl(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.se_lun_acl, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 (...) @rcu_read_lock() #2
%7 = load i32, ptr %3, align 8, !tbaa !11
%8 = tail call ptr @target_nacl_find_deve(ptr noundef %5, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = tail call i32 (...) @rcu_read_unlock() #2
%12 = load i32, ptr @ENODEV, align 4, !tbaa !12
%13 = sub nsw i32 0, %12
br label %22
14: ; preds = %2
%15 = load ptr, ptr %5, align 8, !tbaa !13
%16 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12
%17 = load ptr, ptr %15, align 8, !tbaa !15
%18 = load ptr, ptr %17, align 8, !tbaa !17
%19 = tail call i32 %18(ptr noundef nonnull %15) #2
%20 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %19) #2
%21 = tail call i32 (...) @rcu_read_unlock() #2
br label %22
22: ; preds = %14, %10
%23 = phi i32 [ %20, %14 ], [ %13, %10 ]
ret i32 %23
}
declare ptr @iport_to_lacl(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_read_lock(...) local_unnamed_addr #1
declare ptr @target_nacl_find_deve(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rcu_read_unlock(...) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"se_lun_acl", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"se_node_acl", !10, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"se_portal_group", !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_2__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_iport_port_show.c'
source_filename = "AnghaBench/linux/drivers/target/extr_target_core_stat.c_target_stat_iport_port_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @target_stat_iport_port_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @target_stat_iport_port_show(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @iport_to_lacl(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @rcu_read_lock() #2
%7 = load i32, ptr %3, align 8, !tbaa !12
%8 = tail call ptr @target_nacl_find_deve(ptr noundef %5, i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = tail call i32 @rcu_read_unlock() #2
%12 = load i32, ptr @ENODEV, align 4, !tbaa !13
%13 = sub nsw i32 0, %12
br label %22
14: ; preds = %2
%15 = load ptr, ptr %5, align 8, !tbaa !14
%16 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !13
%17 = load ptr, ptr %15, align 8, !tbaa !16
%18 = load ptr, ptr %17, align 8, !tbaa !18
%19 = tail call i32 %18(ptr noundef nonnull %15) #2
%20 = tail call i32 @snprintf(ptr noundef %1, i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %19) #2
%21 = tail call i32 @rcu_read_unlock() #2
br label %22
22: ; preds = %14, %10
%23 = phi i32 [ %20, %14 ], [ %13, %10 ]
ret i32 %23
}
declare ptr @iport_to_lacl(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_read_lock(...) local_unnamed_addr #1
declare ptr @target_nacl_find_deve(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rcu_read_unlock(...) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"se_lun_acl", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"se_node_acl", !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"se_portal_group", !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_2__", !11, i64 0}
| linux_drivers_target_extr_target_core_stat.c_target_stat_iport_port_show |
; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_blk-settings.c_blk_limits_io_opt.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_blk-settings.c_blk_limits_io_opt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @blk_limits_io_opt(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"queue_limits", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/block/extr_blk-settings.c_blk_limits_io_opt.c'
source_filename = "AnghaBench/fastsocket/kernel/block/extr_blk-settings.c_blk_limits_io_opt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @blk_limits_io_opt(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"queue_limits", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_block_extr_blk-settings.c_blk_limits_io_opt |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas/extr_main.c_command_timer_fn.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas/extr_main.c_command_timer_fn.c"
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.lbs_private = type { i32, i32, i32, ptr }
@LBS_DEB_CMD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"command 0x%04x timed out\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @command_timer_fn], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @command_timer_fn(i64 noundef %0) #0 {
%2 = inttoptr i64 %0 to ptr
%3 = load i32, ptr @LBS_DEB_CMD, align 4, !tbaa !5
%4 = tail call i32 @lbs_deb_enter(i32 noundef %3) #2
%5 = getelementptr inbounds %struct.lbs_private, ptr %2, i64 0, i32 1
%6 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %5, i64 noundef undef) #2
%7 = getelementptr inbounds %struct.lbs_private, ptr %2, i64 0, i32 3
%8 = load ptr, ptr %7, align 8, !tbaa !9
%9 = icmp eq ptr %8, null
br i1 %9, label %17, label %10
10: ; preds = %1
%11 = load ptr, ptr %8, align 8, !tbaa !12
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = tail call i32 @le16_to_cpu(i32 noundef %12) #2
%14 = tail call i32 @lbs_pr_info(ptr noundef nonnull @.str, i32 noundef %13) #2
store i32 1, ptr %2, align 8, !tbaa !16
%15 = getelementptr inbounds %struct.lbs_private, ptr %2, i64 0, i32 2
%16 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %15) #2
br label %17
17: ; preds = %1, %10
%18 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %5, i64 noundef undef) #2
%19 = load i32, ptr @LBS_DEB_CMD, align 4, !tbaa !5
%20 = tail call i32 @lbs_deb_leave(i32 noundef %19) #2
ret void
}
declare i32 @lbs_deb_enter(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lbs_pr_info(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lbs_deb_leave(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"lbs_private", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_4__", !11, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"TYPE_3__", !6, i64 0}
!16 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas/extr_main.c_command_timer_fn.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas/extr_main.c_command_timer_fn.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LBS_DEB_CMD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"command 0x%04x timed out\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @command_timer_fn], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @command_timer_fn(i64 noundef %0) #0 {
%2 = inttoptr i64 %0 to ptr
%3 = load i32, ptr @LBS_DEB_CMD, align 4, !tbaa !6
%4 = tail call i32 @lbs_deb_enter(i32 noundef %3) #2
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %5, i64 noundef undef) #2
%7 = getelementptr inbounds i8, ptr %2, i64 16
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %17, label %10
10: ; preds = %1
%11 = load ptr, ptr %8, align 8, !tbaa !13
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = tail call i32 @le16_to_cpu(i32 noundef %12) #2
%14 = tail call i32 @lbs_pr_info(ptr noundef nonnull @.str, i32 noundef %13) #2
store i32 1, ptr %2, align 8, !tbaa !17
%15 = getelementptr inbounds i8, ptr %2, i64 8
%16 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %15) #2
br label %17
17: ; preds = %1, %10
%18 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %5, i64 noundef undef) #2
%19 = load i32, ptr @LBS_DEB_CMD, align 4, !tbaa !6
%20 = tail call i32 @lbs_deb_leave(i32 noundef %19) #2
ret void
}
declare i32 @lbs_deb_enter(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lbs_pr_info(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @lbs_deb_leave(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"lbs_private", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_4__", !12, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0}
!17 = !{!11, !7, i64 0}
| fastsocket_kernel_drivers_net_wireless_libertas_extr_main.c_command_timer_fn |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/debugger/extr_dbdisply.c_AcpiDbDisplayArguments.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/debugger/extr_dbdisply.c_AcpiDbDisplayArguments.c"
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"
@AcpiGbl_CurrentWalkList = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"There is no method currently executing\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @AcpiDbDisplayArguments() local_unnamed_addr #0 {
%1 = load i32, ptr @AcpiGbl_CurrentWalkList, align 4, !tbaa !5
%2 = tail call ptr @AcpiDsGetCurrentWalkState(i32 noundef %1) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = tail call i32 @AcpiOsPrintf(ptr noundef nonnull @.str) #2
br label %8
6: ; preds = %0
%7 = tail call i32 @AcpiDbDecodeArguments(ptr noundef nonnull %2) #2
br label %8
8: ; preds = %6, %4
ret void
}
declare ptr @AcpiDsGetCurrentWalkState(i32 noundef) local_unnamed_addr #1
declare i32 @AcpiOsPrintf(ptr noundef) local_unnamed_addr #1
declare i32 @AcpiDbDecodeArguments(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/components/debugger/extr_dbdisply.c_AcpiDbDisplayArguments.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/components/debugger/extr_dbdisply.c_AcpiDbDisplayArguments.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AcpiGbl_CurrentWalkList = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"There is no method currently executing\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @AcpiDbDisplayArguments() local_unnamed_addr #0 {
%1 = load i32, ptr @AcpiGbl_CurrentWalkList, align 4, !tbaa !6
%2 = tail call ptr @AcpiDsGetCurrentWalkState(i32 noundef %1) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = tail call i32 @AcpiOsPrintf(ptr noundef nonnull @.str) #2
br label %8
6: ; preds = %0
%7 = tail call i32 @AcpiDbDecodeArguments(ptr noundef nonnull %2) #2
br label %8
8: ; preds = %6, %4
ret void
}
declare ptr @AcpiDsGetCurrentWalkState(i32 noundef) local_unnamed_addr #1
declare i32 @AcpiOsPrintf(ptr noundef) local_unnamed_addr #1
declare i32 @AcpiDbDecodeArguments(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_contrib_dev_acpica_components_debugger_extr_dbdisply.c_AcpiDbDisplayArguments |
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_devres.c_devm_regulator_match_notifier.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_devres.c_devm_regulator_match_notifier.c"
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.regulator_notifier_match = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @devm_regulator_match_notifier], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @devm_regulator_match_notifier(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = load i64, ptr %2, align 8, !tbaa !5
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %14
7: ; preds = %3
%8 = getelementptr inbounds %struct.regulator_notifier_match, ptr %1, i64 0, i32 1
%9 = load i64, ptr %8, align 8, !tbaa !10
%10 = getelementptr inbounds %struct.regulator_notifier_match, ptr %2, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !10
%12 = icmp eq i64 %9, %11
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %7, %3
%15 = phi i32 [ 0, %3 ], [ %13, %7 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"regulator_notifier_match", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_devres.c_devm_regulator_match_notifier.c'
source_filename = "AnghaBench/linux/drivers/regulator/extr_devres.c_devm_regulator_match_notifier.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @devm_regulator_match_notifier], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @devm_regulator_match_notifier(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = load i64, ptr %2, align 8, !tbaa !6
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %14
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds i8, ptr %2, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !11
%12 = icmp eq i64 %9, %11
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %7, %3
%15 = phi i32 [ 0, %3 ], [ %13, %7 ]
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"regulator_notifier_match", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
| linux_drivers_regulator_extr_devres.c_devm_regulator_match_notifier |
; ModuleID = 'AnghaBench/citus/src/backend/distributed/planner/extr_multi_logical_optimizer.c_ApplyExtendedOpNodes.c'
source_filename = "AnghaBench/citus/src/backend/distributed/planner/extr_multi_logical_optimizer.c_ApplyExtendedOpNodes.c"
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"
@MultiCollect = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ApplyExtendedOpNodes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ApplyExtendedOpNodes(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @ParentNode(ptr noundef %0) #2
%5 = tail call ptr @ChildNode(ptr noundef %0) #2
%6 = tail call ptr @ChildNode(ptr noundef %5) #2
%7 = load i32, ptr @MultiCollect, align 4, !tbaa !5
%8 = tail call i32 @CitusIsA(ptr noundef %5, i32 noundef %7) #2
%9 = tail call i32 @Assert(i32 noundef %8) #2
%10 = tail call i32 @UnaryOperator(ptr noundef %4) #2
%11 = tail call i32 @Assert(i32 noundef %10) #2
%12 = tail call i32 @SetChild(ptr noundef %4, ptr noundef %1) #2
%13 = tail call i32 @SetChild(ptr noundef %1, ptr noundef %5) #2
%14 = tail call i32 @SetChild(ptr noundef %5, ptr noundef %2) #2
%15 = tail call i32 @SetChild(ptr noundef %2, ptr noundef %6) #2
%16 = tail call i32 @pfree(ptr noundef %0) #2
ret void
}
declare ptr @ParentNode(ptr noundef) local_unnamed_addr #1
declare ptr @ChildNode(ptr noundef) local_unnamed_addr #1
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare i32 @CitusIsA(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UnaryOperator(ptr noundef) local_unnamed_addr #1
declare i32 @SetChild(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pfree(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/citus/src/backend/distributed/planner/extr_multi_logical_optimizer.c_ApplyExtendedOpNodes.c'
source_filename = "AnghaBench/citus/src/backend/distributed/planner/extr_multi_logical_optimizer.c_ApplyExtendedOpNodes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MultiCollect = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ApplyExtendedOpNodes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ApplyExtendedOpNodes(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @ParentNode(ptr noundef %0) #2
%5 = tail call ptr @ChildNode(ptr noundef %0) #2
%6 = tail call ptr @ChildNode(ptr noundef %5) #2
%7 = load i32, ptr @MultiCollect, align 4, !tbaa !6
%8 = tail call i32 @CitusIsA(ptr noundef %5, i32 noundef %7) #2
%9 = tail call i32 @Assert(i32 noundef %8) #2
%10 = tail call i32 @UnaryOperator(ptr noundef %4) #2
%11 = tail call i32 @Assert(i32 noundef %10) #2
%12 = tail call i32 @SetChild(ptr noundef %4, ptr noundef %1) #2
%13 = tail call i32 @SetChild(ptr noundef %1, ptr noundef %5) #2
%14 = tail call i32 @SetChild(ptr noundef %5, ptr noundef %2) #2
%15 = tail call i32 @SetChild(ptr noundef %2, ptr noundef %6) #2
%16 = tail call i32 @pfree(ptr noundef %0) #2
ret void
}
declare ptr @ParentNode(ptr noundef) local_unnamed_addr #1
declare ptr @ChildNode(ptr noundef) local_unnamed_addr #1
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare i32 @CitusIsA(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UnaryOperator(ptr noundef) local_unnamed_addr #1
declare i32 @SetChild(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| citus_src_backend_distributed_planner_extr_multi_logical_optimizer.c_ApplyExtendedOpNodes |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_normalize.c_config_input.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_normalize.c_config_input.c"
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.TYPE_15__ = type { i32, ptr }
%struct.TYPE_13__ = type { i32, i32, i32, ptr, ptr, ptr, i32, i32 }
%struct.TYPE_11__ = type { ptr }
%struct.TYPE_12__ = type { ptr }
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @config_input], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @config_input(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr %0, align 8, !tbaa !13
%6 = tail call ptr @av_pix_fmt_desc_get(i32 noundef %5) #2
%7 = getelementptr inbounds %struct.TYPE_13__, ptr %4, i64 0, i32 7
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = load i32, ptr %0, align 8, !tbaa !13
%10 = tail call i32 @ff_fill_rgba_map(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr %6, align 4, !tbaa !16
%12 = getelementptr inbounds %struct.TYPE_13__, ptr %4, i64 0, i32 6
store i32 %11, ptr %12, align 8, !tbaa !18
%13 = tail call i32 @av_get_padded_bits_per_pixel(ptr noundef nonnull %6) #2
%14 = ashr i32 %13, 3
store i32 %14, ptr %4, align 8, !tbaa !19
%15 = getelementptr inbounds %struct.TYPE_13__, ptr %4, i64 0, i32 2
%16 = load i32, ptr %15, align 8, !tbaa !20
%17 = add nsw i32 %16, 1
%18 = getelementptr inbounds %struct.TYPE_13__, ptr %4, i64 0, i32 1
store i32 %17, ptr %18, align 4, !tbaa !21
%19 = mul nsw i32 %17, 6
%20 = tail call ptr @av_malloc(i32 noundef %19) #2
%21 = getelementptr inbounds %struct.TYPE_13__, ptr %4, i64 0, i32 3
store ptr %20, ptr %21, align 8, !tbaa !22
%22 = icmp eq ptr %20, null
br i1 %22, label %43, label %23
23: ; preds = %1
%24 = load i32, ptr %18, align 4, !tbaa !21
%25 = getelementptr inbounds %struct.TYPE_13__, ptr %4, i64 0, i32 5
%26 = load ptr, ptr %25, align 8, !tbaa !23
%27 = getelementptr inbounds %struct.TYPE_13__, ptr %4, i64 0, i32 4
%28 = load ptr, ptr %27, align 8, !tbaa !24
%29 = sext i32 %24 to i64
store ptr %20, ptr %26, align 8, !tbaa !25
%30 = getelementptr inbounds i32, ptr %20, i64 %29
store ptr %30, ptr %28, align 8, !tbaa !27
%31 = shl nsw i64 %29, 1
%32 = getelementptr inbounds i32, ptr %20, i64 %31
%33 = getelementptr inbounds %struct.TYPE_11__, ptr %26, i64 1
store ptr %32, ptr %33, align 8, !tbaa !25
%34 = mul nsw i64 %29, 3
%35 = getelementptr inbounds i32, ptr %20, i64 %34
%36 = getelementptr inbounds %struct.TYPE_12__, ptr %28, i64 1
store ptr %35, ptr %36, align 8, !tbaa !27
%37 = shl nsw i64 %29, 2
%38 = getelementptr inbounds i32, ptr %20, i64 %37
%39 = getelementptr inbounds %struct.TYPE_11__, ptr %26, i64 2
store ptr %38, ptr %39, align 8, !tbaa !25
%40 = mul nsw i64 %29, 5
%41 = getelementptr inbounds i32, ptr %20, i64 %40
%42 = getelementptr inbounds %struct.TYPE_12__, ptr %28, i64 2
store ptr %41, ptr %42, align 8, !tbaa !27
br label %46
43: ; preds = %1
%44 = load i32, ptr @ENOMEM, align 4, !tbaa !29
%45 = tail call i32 @AVERROR(i32 noundef %44) #2
br label %46
46: ; preds = %23, %43
%47 = phi i32 [ %45, %43 ], [ 0, %23 ]
ret i32 %47
}
declare ptr @av_pix_fmt_desc_get(i32 noundef) local_unnamed_addr #1
declare i32 @ff_fill_rgba_map(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_get_padded_bits_per_pixel(ptr noundef) local_unnamed_addr #1
declare ptr @av_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_15__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_10__", !10, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !7, i64 44}
!15 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 44}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_14__", !7, i64 0}
!18 = !{!15, !7, i64 40}
!19 = !{!15, !7, i64 0}
!20 = !{!15, !7, i64 8}
!21 = !{!15, !7, i64 4}
!22 = !{!15, !10, i64 16}
!23 = !{!15, !10, i64 32}
!24 = !{!15, !10, i64 24}
!25 = !{!26, !10, i64 0}
!26 = !{!"TYPE_11__", !10, i64 0}
!27 = !{!28, !10, i64 0}
!28 = !{!"TYPE_12__", !10, i64 0}
!29 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_normalize.c_config_input.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_normalize.c_config_input.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @config_input], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @config_input(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i32, ptr %0, align 8, !tbaa !14
%6 = tail call ptr @av_pix_fmt_desc_get(i32 noundef %5) #2
%7 = getelementptr inbounds i8, ptr %4, i64 44
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = load i32, ptr %0, align 8, !tbaa !14
%10 = tail call i32 @ff_fill_rgba_map(i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr %6, align 4, !tbaa !17
%12 = getelementptr inbounds i8, ptr %4, i64 40
store i32 %11, ptr %12, align 8, !tbaa !19
%13 = tail call i32 @av_get_padded_bits_per_pixel(ptr noundef nonnull %6) #2
%14 = ashr i32 %13, 3
store i32 %14, ptr %4, align 8, !tbaa !20
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = load i32, ptr %15, align 8, !tbaa !21
%17 = add nsw i32 %16, 1
%18 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %17, ptr %18, align 4, !tbaa !22
%19 = mul nsw i32 %17, 6
%20 = tail call ptr @av_malloc(i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %4, i64 16
store ptr %20, ptr %21, align 8, !tbaa !23
%22 = icmp eq ptr %20, null
br i1 %22, label %43, label %23
23: ; preds = %1
%24 = load i32, ptr %18, align 4, !tbaa !22
%25 = getelementptr inbounds i8, ptr %4, i64 32
%26 = load ptr, ptr %25, align 8, !tbaa !24
%27 = getelementptr inbounds i8, ptr %4, i64 24
%28 = load ptr, ptr %27, align 8, !tbaa !25
%29 = sext i32 %24 to i64
store ptr %20, ptr %26, align 8, !tbaa !26
%30 = getelementptr inbounds i32, ptr %20, i64 %29
store ptr %30, ptr %28, align 8, !tbaa !28
%31 = shl nsw i64 %29, 3
%32 = getelementptr inbounds i8, ptr %20, i64 %31
%33 = getelementptr inbounds i8, ptr %26, i64 8
store ptr %32, ptr %33, align 8, !tbaa !26
%34 = mul nsw i64 %29, 12
%35 = getelementptr inbounds i8, ptr %20, i64 %34
%36 = getelementptr inbounds i8, ptr %28, i64 8
store ptr %35, ptr %36, align 8, !tbaa !28
%37 = shl nsw i64 %29, 4
%38 = getelementptr inbounds i8, ptr %20, i64 %37
%39 = getelementptr inbounds i8, ptr %26, i64 16
store ptr %38, ptr %39, align 8, !tbaa !26
%40 = mul nsw i64 %29, 20
%41 = getelementptr inbounds i8, ptr %20, i64 %40
%42 = getelementptr inbounds i8, ptr %28, i64 16
store ptr %41, ptr %42, align 8, !tbaa !28
br label %46
43: ; preds = %1
%44 = load i32, ptr @ENOMEM, align 4, !tbaa !30
%45 = tail call i32 @AVERROR(i32 noundef %44) #2
br label %46
46: ; preds = %23, %43
%47 = phi i32 [ %45, %43 ], [ 0, %23 ]
ret i32 %47
}
declare ptr @av_pix_fmt_desc_get(i32 noundef) local_unnamed_addr #1
declare i32 @ff_fill_rgba_map(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @av_get_padded_bits_per_pixel(ptr noundef) local_unnamed_addr #1
declare ptr @av_malloc(i32 noundef) local_unnamed_addr #1
declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_15__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_10__", !11, i64 0}
!14 = !{!7, !8, i64 0}
!15 = !{!16, !8, i64 44}
!16 = !{!"TYPE_13__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !8, i64 40, !8, i64 44}
!17 = !{!18, !8, i64 0}
!18 = !{!"TYPE_14__", !8, i64 0}
!19 = !{!16, !8, i64 40}
!20 = !{!16, !8, i64 0}
!21 = !{!16, !8, i64 8}
!22 = !{!16, !8, i64 4}
!23 = !{!16, !11, i64 16}
!24 = !{!16, !11, i64 32}
!25 = !{!16, !11, i64 24}
!26 = !{!27, !11, i64 0}
!27 = !{!"TYPE_11__", !11, i64 0}
!28 = !{!29, !11, i64 0}
!29 = !{!"TYPE_12__", !11, i64 0}
!30 = !{!8, !8, i64 0}
| FFmpeg_libavfilter_extr_vf_normalize.c_config_input |
; ModuleID = 'AnghaBench/linux/drivers/net/fddi/skfp/extr_fplustm.c_formac_online.c'
source_filename = "AnghaBench/linux/drivers/net/fddi/skfp/extr_fplustm.c_formac_online.c"
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"
@FM_MDREG1 = dso_local local_unnamed_addr global i32 0, align 4
@FM_MONLINE = dso_local local_unnamed_addr global i32 0, align 4
@FM_SELRA = dso_local local_unnamed_addr global i32 0, align 4
@MDR1INIT = dso_local local_unnamed_addr global i32 0, align 4
@FM_MMODE = dso_local local_unnamed_addr global i32 0, align 4
@FM_ADDRX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @formac_online], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @formac_online(ptr noundef %0) #0 {
%2 = tail call i32 @enable_formac(ptr noundef %0) #2
%3 = load i32, ptr @FM_MDREG1, align 4, !tbaa !5
%4 = tail call i32 @FM_A(i32 noundef %3) #2
%5 = load i32, ptr @FM_MONLINE, align 4, !tbaa !5
%6 = load i32, ptr @FM_SELRA, align 4, !tbaa !5
%7 = load i32, ptr @MDR1INIT, align 4, !tbaa !5
%8 = load i32, ptr %0, align 4, !tbaa !9
%9 = or i32 %5, %7
%10 = or i32 %9, %8
%11 = or i32 %10, %6
%12 = load i32, ptr @FM_MMODE, align 4, !tbaa !5
%13 = load i32, ptr @FM_ADDRX, align 4, !tbaa !5
%14 = or i32 %12, %13
%15 = or i32 %14, %6
%16 = tail call i32 @SETMASK(i32 noundef %4, i32 noundef %11, i32 noundef %15) #2
ret void
}
declare i32 @enable_formac(ptr noundef) local_unnamed_addr #1
declare i32 @SETMASK(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FM_A(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"s_smc", !11, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/fddi/skfp/extr_fplustm.c_formac_online.c'
source_filename = "AnghaBench/linux/drivers/net/fddi/skfp/extr_fplustm.c_formac_online.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FM_MDREG1 = common local_unnamed_addr global i32 0, align 4
@FM_MONLINE = common local_unnamed_addr global i32 0, align 4
@FM_SELRA = common local_unnamed_addr global i32 0, align 4
@MDR1INIT = common local_unnamed_addr global i32 0, align 4
@FM_MMODE = common local_unnamed_addr global i32 0, align 4
@FM_ADDRX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @formac_online], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @formac_online(ptr noundef %0) #0 {
%2 = tail call i32 @enable_formac(ptr noundef %0) #2
%3 = load i32, ptr @FM_MDREG1, align 4, !tbaa !6
%4 = tail call i32 @FM_A(i32 noundef %3) #2
%5 = load i32, ptr @FM_MONLINE, align 4, !tbaa !6
%6 = load i32, ptr @FM_SELRA, align 4, !tbaa !6
%7 = load i32, ptr @MDR1INIT, align 4, !tbaa !6
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = or i32 %5, %7
%10 = or i32 %9, %8
%11 = or i32 %10, %6
%12 = load i32, ptr @FM_MMODE, align 4, !tbaa !6
%13 = load i32, ptr @FM_ADDRX, align 4, !tbaa !6
%14 = or i32 %12, %13
%15 = or i32 %14, %6
%16 = tail call i32 @SETMASK(i32 noundef %4, i32 noundef %11, i32 noundef %15) #2
ret void
}
declare i32 @enable_formac(ptr noundef) local_unnamed_addr #1
declare i32 @SETMASK(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FM_A(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"s_smc", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
| linux_drivers_net_fddi_skfp_extr_fplustm.c_formac_online |
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_cartridge.c_set_bank_MEGA_4096.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_cartridge.c_set_bank_MEGA_4096.c"
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.TYPE_2__ = type { i32, i64 }
@active_cart = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_bank_MEGA_4096], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @set_bank_MEGA_4096() #0 {
%1 = load ptr, ptr @active_cart, align 8, !tbaa !5
%2 = load i32, ptr %1, align 8, !tbaa !9
%3 = icmp eq i32 %2, 255
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = tail call i32 (...) @MEMORY_Cart809fDisable() #2
%6 = tail call i32 (...) @MEMORY_CartA0bfDisable() #2
br label %18
7: ; preds = %0
%8 = tail call i32 (...) @MEMORY_Cart809fEnable() #2
%9 = tail call i32 (...) @MEMORY_CartA0bfEnable() #2
%10 = load ptr, ptr @active_cart, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = load i32, ptr %10, align 8, !tbaa !9
%14 = shl nsw i32 %13, 14
%15 = sext i32 %14 to i64
%16 = add nsw i64 %12, %15
%17 = tail call i32 @MEMORY_CopyROM(i32 noundef 32768, i32 noundef 49151, i64 noundef %16) #2
br label %18
18: ; preds = %7, %4
ret void
}
declare i32 @MEMORY_Cart809fDisable(...) local_unnamed_addr #1
declare i32 @MEMORY_CartA0bfDisable(...) local_unnamed_addr #1
declare i32 @MEMORY_Cart809fEnable(...) local_unnamed_addr #1
declare i32 @MEMORY_CartA0bfEnable(...) local_unnamed_addr #1
declare i32 @MEMORY_CopyROM(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0, !12, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_cartridge.c_set_bank_MEGA_4096.c'
source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_cartridge.c_set_bank_MEGA_4096.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@active_cart = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @set_bank_MEGA_4096], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @set_bank_MEGA_4096() #0 {
%1 = load ptr, ptr @active_cart, align 8, !tbaa !6
%2 = load i32, ptr %1, align 8, !tbaa !10
%3 = icmp eq i32 %2, 255
br i1 %3, label %4, label %7
4: ; preds = %0
%5 = tail call i32 @MEMORY_Cart809fDisable() #2
%6 = tail call i32 @MEMORY_CartA0bfDisable() #2
br label %18
7: ; preds = %0
%8 = tail call i32 @MEMORY_Cart809fEnable() #2
%9 = tail call i32 @MEMORY_CartA0bfEnable() #2
%10 = load ptr, ptr @active_cart, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = load i32, ptr %10, align 8, !tbaa !10
%14 = shl nsw i32 %13, 14
%15 = sext i32 %14 to i64
%16 = add nsw i64 %12, %15
%17 = tail call i32 @MEMORY_CopyROM(i32 noundef 32768, i32 noundef 49151, i64 noundef %16) #2
br label %18
18: ; preds = %7, %4
ret void
}
declare i32 @MEMORY_Cart809fDisable(...) local_unnamed_addr #1
declare i32 @MEMORY_CartA0bfDisable(...) local_unnamed_addr #1
declare i32 @MEMORY_Cart809fEnable(...) local_unnamed_addr #1
declare i32 @MEMORY_CartA0bfEnable(...) local_unnamed_addr #1
declare i32 @MEMORY_CopyROM(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 8}
| Provenance_Cores_Atari800_atari800-src_extr_cartridge.c_set_bank_MEGA_4096 |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_3990_erp.c_dasd_3990_erp_action_5.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_3990_erp.c_dasd_3990_erp_action_5.c"
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.dasd_ccw_req = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dasd_3990_erp_action_5], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal noundef ptr @dasd_3990_erp_action_5(ptr noundef returned writeonly %0) #0 {
store i32 10, ptr %0, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.dasd_ccw_req, ptr %0, i64 0, i32 1
store ptr @dasd_3990_erp_action_5, ptr %2, align 8, !tbaa !11
ret ptr %0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"dasd_ccw_req", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_3990_erp.c_dasd_3990_erp_action_5.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_3990_erp.c_dasd_3990_erp_action_5.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @dasd_3990_erp_action_5], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal noundef ptr @dasd_3990_erp_action_5(ptr noundef returned writeonly %0) #0 {
store i32 10, ptr %0, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %0, i64 8
store ptr @dasd_3990_erp_action_5, ptr %2, align 8, !tbaa !12
ret ptr %0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"dasd_ccw_req", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
| fastsocket_kernel_drivers_s390_block_extr_dasd_3990_erp.c_dasd_3990_erp_action_5 |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/aspeed/extr_aspeed_gfx_drv.c_aspeed_gfx_setup_mode_config.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/aspeed/extr_aspeed_gfx_drv.c_aspeed_gfx_setup_mode_config.c"
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.TYPE_2__ = type { i32, i32, ptr, i64, i64 }
@aspeed_gfx_mode_config_funcs = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @aspeed_gfx_setup_mode_config], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @aspeed_gfx_setup_mode_config(ptr noundef %0) #0 {
%2 = tail call i32 @drm_mode_config_init(ptr noundef %0) #3
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
store i32 800, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
store i32 600, ptr %4, align 4, !tbaa !13
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
store ptr @aspeed_gfx_mode_config_funcs, ptr %5, align 8, !tbaa !14
ret void
}
declare i32 @drm_mode_config_init(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"drm_device", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !12, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!6, !8, i64 4}
!14 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/aspeed/extr_aspeed_gfx_drv.c_aspeed_gfx_setup_mode_config.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/aspeed/extr_aspeed_gfx_drv.c_aspeed_gfx_setup_mode_config.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@aspeed_gfx_mode_config_funcs = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @aspeed_gfx_setup_mode_config], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @aspeed_gfx_setup_mode_config(ptr noundef %0) #0 {
%2 = tail call i32 @drm_mode_config_init(ptr noundef %0) #3
%3 = getelementptr inbounds i8, ptr %0, i64 16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
store <2 x i32> <i32 800, i32 600>, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
store ptr @aspeed_gfx_mode_config_funcs, ptr %4, align 8, !tbaa !10
ret void
}
declare i32 @drm_mode_config_init(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"drm_device", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !13, i64 8, !14, i64 16, !14, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"long", !8, i64 0}
| linux_drivers_gpu_drm_aspeed_extr_aspeed_gfx_drv.c_aspeed_gfx_setup_mode_config |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_irq_32.c_handler_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_irq_32.c_handler_irq.c"
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.TYPE_3__ = type { i32, ptr }
%struct.irqaction = type { ptr, i32, ptr }
@sparc_irq = dso_local local_unnamed_addr global ptr null, align 8
@SPARC_IRQ_INPROGRESS = dso_local local_unnamed_addr global i32 0, align 4
@sparc_cpu_model = dso_local local_unnamed_addr global i64 0, align 8
@sun4m = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @handler_irq(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @smp_processor_id() #2
%4 = tail call ptr @set_irq_regs(ptr noundef %1) #2
%5 = tail call i32 (...) @irq_enter() #2
%6 = tail call i32 @disable_pil_irq(i32 noundef %0) #2
%7 = load ptr, ptr @sparc_irq, align 8, !tbaa !5
%8 = sext i32 %0 to i64
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %8
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %8, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !9
%12 = load i32, ptr @SPARC_IRQ_INPROGRESS, align 4, !tbaa !12
%13 = load i32, ptr %9, align 8, !tbaa !13
%14 = or i32 %13, %12
store i32 %14, ptr %9, align 8, !tbaa !13
%15 = tail call ptr @kstat_cpu(i32 noundef %3) #2
%16 = getelementptr inbounds i32, ptr %15, i64 %8
%17 = load i32, ptr %16, align 4, !tbaa !12
%18 = add nsw i32 %17, 1
store i32 %18, ptr %16, align 4, !tbaa !12
br label %19
19: ; preds = %30, %2
%20 = phi ptr [ %11, %2 ], [ %35, %30 ]
%21 = icmp eq ptr %20, null
br i1 %21, label %26, label %22
22: ; preds = %19
%23 = getelementptr inbounds %struct.irqaction, ptr %20, i64 0, i32 2
%24 = load ptr, ptr %23, align 8, !tbaa !14
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %30
26: ; preds = %22, %19
%27 = tail call i32 @unexpected_irq(i32 noundef %0, ptr noundef null, ptr noundef %1) #2
%28 = getelementptr inbounds %struct.irqaction, ptr %20, i64 0, i32 2
%29 = load ptr, ptr %28, align 8, !tbaa !14
br label %30
30: ; preds = %26, %22
%31 = phi ptr [ %29, %26 ], [ %24, %22 ]
%32 = getelementptr inbounds %struct.irqaction, ptr %20, i64 0, i32 1
%33 = load i32, ptr %32, align 8, !tbaa !16
%34 = tail call i32 %31(i32 noundef %0, i32 noundef %33) #2
%35 = load ptr, ptr %20, align 8, !tbaa !17
%36 = icmp eq ptr %35, null
br i1 %36, label %37, label %19, !llvm.loop !18
37: ; preds = %30
%38 = load i32, ptr @SPARC_IRQ_INPROGRESS, align 4, !tbaa !12
%39 = xor i32 %38, -1
%40 = load ptr, ptr @sparc_irq, align 8, !tbaa !5
%41 = getelementptr inbounds %struct.TYPE_3__, ptr %40, i64 %8
%42 = load i32, ptr %41, align 8, !tbaa !13
%43 = and i32 %42, %39
store i32 %43, ptr %41, align 8, !tbaa !13
%44 = tail call i32 @enable_pil_irq(i32 noundef %0) #2
%45 = tail call i32 (...) @irq_exit() #2
%46 = tail call ptr @set_irq_regs(ptr noundef %4) #2
ret void
}
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare ptr @set_irq_regs(ptr noundef) local_unnamed_addr #1
declare i32 @irq_enter(...) local_unnamed_addr #1
declare i32 @disable_pil_irq(i32 noundef) local_unnamed_addr #1
declare ptr @kstat_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @unexpected_irq(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @enable_pil_irq(i32 noundef) local_unnamed_addr #1
declare i32 @irq_exit(...) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 8}
!10 = !{!"TYPE_3__", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 0}
!14 = !{!15, !6, i64 16}
!15 = !{!"irqaction", !6, i64 0, !11, i64 8, !6, i64 16}
!16 = !{!15, !11, i64 8}
!17 = !{!15, !6, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_irq_32.c_handler_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_irq_32.c_handler_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, ptr }
@sparc_irq = common local_unnamed_addr global ptr null, align 8
@SPARC_IRQ_INPROGRESS = common local_unnamed_addr global i32 0, align 4
@sparc_cpu_model = common local_unnamed_addr global i64 0, align 8
@sun4m = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @handler_irq(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @smp_processor_id() #2
%4 = tail call ptr @set_irq_regs(ptr noundef %1) #2
%5 = tail call i32 @irq_enter() #2
%6 = tail call i32 @disable_pil_irq(i32 noundef %0) #2
%7 = load ptr, ptr @sparc_irq, align 8, !tbaa !6
%8 = sext i32 %0 to i64
%9 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %8
%10 = getelementptr inbounds i8, ptr %9, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !10
%12 = load i32, ptr @SPARC_IRQ_INPROGRESS, align 4, !tbaa !13
%13 = load i32, ptr %9, align 8, !tbaa !14
%14 = or i32 %13, %12
store i32 %14, ptr %9, align 8, !tbaa !14
%15 = tail call i64 @kstat_cpu(i32 noundef %3) #2
%16 = inttoptr i64 %15 to ptr
%17 = getelementptr inbounds i32, ptr %16, i64 %8
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = add nsw i32 %18, 1
store i32 %19, ptr %17, align 4, !tbaa !13
br label %20
20: ; preds = %31, %2
%21 = phi ptr [ %11, %2 ], [ %36, %31 ]
%22 = icmp eq ptr %21, null
br i1 %22, label %27, label %23
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %21, i64 16
%25 = load ptr, ptr %24, align 8, !tbaa !15
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %31
27: ; preds = %23, %20
%28 = tail call i32 @unexpected_irq(i32 noundef %0, ptr noundef null, ptr noundef %1) #2
%29 = getelementptr inbounds i8, ptr %21, i64 16
%30 = load ptr, ptr %29, align 8, !tbaa !15
br label %31
31: ; preds = %27, %23
%32 = phi ptr [ %30, %27 ], [ %25, %23 ]
%33 = getelementptr inbounds i8, ptr %21, i64 8
%34 = load i32, ptr %33, align 8, !tbaa !17
%35 = tail call i32 %32(i32 noundef %0, i32 noundef %34) #2
%36 = load ptr, ptr %21, align 8, !tbaa !18
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %20, !llvm.loop !19
38: ; preds = %31
%39 = load i32, ptr @SPARC_IRQ_INPROGRESS, align 4, !tbaa !13
%40 = xor i32 %39, -1
%41 = load ptr, ptr @sparc_irq, align 8, !tbaa !6
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %41, i64 %8
%43 = load i32, ptr %42, align 8, !tbaa !14
%44 = and i32 %43, %40
store i32 %44, ptr %42, align 8, !tbaa !14
%45 = tail call i32 @enable_pil_irq(i32 noundef %0) #2
%46 = tail call i32 @irq_exit() #2
%47 = tail call ptr @set_irq_regs(ptr noundef %4) #2
ret void
}
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare ptr @set_irq_regs(ptr noundef) local_unnamed_addr #1
declare i32 @irq_enter(...) local_unnamed_addr #1
declare i32 @disable_pil_irq(i32 noundef) local_unnamed_addr #1
declare i64 @kstat_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @unexpected_irq(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @enable_pil_irq(i32 noundef) local_unnamed_addr #1
declare i32 @irq_exit(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_3__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!16, !7, i64 16}
!16 = !{!"irqaction", !7, i64 0, !12, i64 8, !7, i64 16}
!17 = !{!16, !12, i64 8}
!18 = !{!16, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_arch_sparc_kernel_extr_irq_32.c_handler_irq |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_file.c_create_io_inherit_block.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_file.c_create_io_inherit_block.c"
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.TYPE_3__ = type { ptr, i32 }
@create_io_inherit_block.block = internal global [1024 x i32] zeroinitializer, align 16
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_io_inherit_block], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @create_io_inherit_block(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = ptrtoint ptr %2 to i64
store ptr @create_io_inherit_block.block, ptr %0, align 8, !tbaa !5
%5 = zext i32 %1 to i64
%6 = mul i32 %1, 5
%7 = add i32 %6, 4
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
store i32 %7, ptr %8, align 8, !tbaa !11
%9 = getelementptr inbounds i32, ptr getelementptr inbounds ([1024 x i32], ptr @create_io_inherit_block.block, i64 0, i64 4), i64 %5
store i32 %1, ptr @create_io_inherit_block.block, align 16, !tbaa !12
%10 = icmp eq i32 %1, 0
br i1 %10, label %79, label %11
11: ; preds = %3
%12 = icmp ult i32 %1, 20
br i1 %12, label %38, label %13
13: ; preds = %11
%14 = shl nuw nsw i64 %5, 2
%15 = add i64 %14, add (i64 ptrtoint (ptr @create_io_inherit_block.block to i64), i64 16)
%16 = sub i64 %15, %4
%17 = icmp ult i64 %16, 32
%18 = add i64 %4, -16
%19 = sub i64 %18, ptrtoint (ptr @create_io_inherit_block.block to i64)
%20 = icmp ult i64 %19, 32
%21 = or i1 %17, %20
br i1 %21, label %38, label %22
22: ; preds = %13
%23 = and i64 %5, 4294967288
br label %24
24: ; preds = %24, %22
%25 = phi i64 [ 0, %22 ], [ %34, %24 ]
%26 = getelementptr inbounds i32, ptr getelementptr inbounds ([1024 x i32], ptr @create_io_inherit_block.block, i64 0, i64 4), i64 %25
%27 = getelementptr inbounds i32, ptr %26, i64 4
store <4 x i32> <i32 129, i32 129, i32 129, i32 129>, ptr %26, align 16, !tbaa !12
store <4 x i32> <i32 129, i32 129, i32 129, i32 129>, ptr %27, align 16, !tbaa !12
%28 = getelementptr inbounds i32, ptr %2, i64 %25
%29 = getelementptr inbounds i32, ptr %28, i64 4
%30 = load <4 x i32>, ptr %28, align 4, !tbaa !12
%31 = load <4 x i32>, ptr %29, align 4, !tbaa !12
%32 = getelementptr inbounds i32, ptr %9, i64 %25
%33 = getelementptr inbounds i32, ptr %32, i64 4
store <4 x i32> %30, ptr %32, align 4, !tbaa !12
store <4 x i32> %31, ptr %33, align 4, !tbaa !12
%34 = add nuw i64 %25, 8
%35 = icmp eq i64 %34, %23
br i1 %35, label %36, label %24, !llvm.loop !13
36: ; preds = %24
%37 = icmp eq i64 %23, %5
br i1 %37, label %79, label %38
38: ; preds = %13, %11, %36
%39 = phi i64 [ 0, %13 ], [ 0, %11 ], [ %23, %36 ]
%40 = and i64 %5, 3
%41 = icmp eq i64 %40, 0
br i1 %41, label %52, label %42
42: ; preds = %38, %42
%43 = phi i64 [ %49, %42 ], [ %39, %38 ]
%44 = phi i64 [ %50, %42 ], [ 0, %38 ]
%45 = getelementptr inbounds i32, ptr getelementptr inbounds ([1024 x i32], ptr @create_io_inherit_block.block, i64 0, i64 4), i64 %43
store i32 129, ptr %45, align 4, !tbaa !12
%46 = getelementptr inbounds i32, ptr %2, i64 %43
%47 = load i32, ptr %46, align 4, !tbaa !12
%48 = getelementptr inbounds i32, ptr %9, i64 %43
store i32 %47, ptr %48, align 4, !tbaa !12
%49 = add nuw nsw i64 %43, 1
%50 = add i64 %44, 1
%51 = icmp eq i64 %50, %40
br i1 %51, label %52, label %42, !llvm.loop !17
52: ; preds = %42, %38
%53 = phi i64 [ %39, %38 ], [ %49, %42 ]
%54 = sub nsw i64 %39, %5
%55 = icmp ugt i64 %54, -4
br i1 %55, label %79, label %56
56: ; preds = %52, %56
%57 = phi i64 [ %77, %56 ], [ %53, %52 ]
%58 = getelementptr inbounds i32, ptr getelementptr inbounds ([1024 x i32], ptr @create_io_inherit_block.block, i64 0, i64 4), i64 %57
store i32 129, ptr %58, align 4, !tbaa !12
%59 = getelementptr inbounds i32, ptr %2, i64 %57
%60 = load i32, ptr %59, align 4, !tbaa !12
%61 = getelementptr inbounds i32, ptr %9, i64 %57
store i32 %60, ptr %61, align 4, !tbaa !12
%62 = add nuw nsw i64 %57, 1
%63 = getelementptr inbounds i32, ptr getelementptr inbounds ([1024 x i32], ptr @create_io_inherit_block.block, i64 0, i64 4), i64 %62
store i32 129, ptr %63, align 4, !tbaa !12
%64 = getelementptr inbounds i32, ptr %2, i64 %62
%65 = load i32, ptr %64, align 4, !tbaa !12
%66 = getelementptr inbounds i32, ptr %9, i64 %62
store i32 %65, ptr %66, align 4, !tbaa !12
%67 = add nuw nsw i64 %57, 2
%68 = getelementptr inbounds i32, ptr getelementptr inbounds ([1024 x i32], ptr @create_io_inherit_block.block, i64 0, i64 4), i64 %67
store i32 129, ptr %68, align 4, !tbaa !12
%69 = getelementptr inbounds i32, ptr %2, i64 %67
%70 = load i32, ptr %69, align 4, !tbaa !12
%71 = getelementptr inbounds i32, ptr %9, i64 %67
store i32 %70, ptr %71, align 4, !tbaa !12
%72 = add nuw nsw i64 %57, 3
%73 = getelementptr inbounds i32, ptr getelementptr inbounds ([1024 x i32], ptr @create_io_inherit_block.block, i64 0, i64 4), i64 %72
store i32 129, ptr %73, align 4, !tbaa !12
%74 = getelementptr inbounds i32, ptr %2, i64 %72
%75 = load i32, ptr %74, align 4, !tbaa !12
%76 = getelementptr inbounds i32, ptr %9, i64 %72
store i32 %75, ptr %76, align 4, !tbaa !12
%77 = add nuw nsw i64 %57, 4
%78 = icmp eq i64 %77, %5
br i1 %78, label %79, label %56, !llvm.loop !19
79: ; preds = %52, %56, %36, %3
ret void
}
attributes #0 = { nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !14, !15}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_file.c_create_io_inherit_block.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/msvcrt/extr_file.c_create_io_inherit_block.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@create_io_inherit_block.block = internal global [1024 x i32] zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @create_io_inherit_block], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @create_io_inherit_block(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = ptrtoint ptr %2 to i64
store ptr @create_io_inherit_block.block, ptr %0, align 8, !tbaa !6
%5 = zext i32 %1 to i64
%6 = mul i32 %1, 5
%7 = add i32 %6, 4
%8 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %7, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds i32, ptr getelementptr inbounds (i8, ptr @create_io_inherit_block.block, i64 16), i64 %5
store i32 %1, ptr @create_io_inherit_block.block, align 4, !tbaa !13
%10 = icmp eq i32 %1, 0
br i1 %10, label %56, label %11
11: ; preds = %3
%12 = icmp ult i32 %1, 16
br i1 %12, label %46, label %13
13: ; preds = %11
%14 = shl nuw nsw i64 %5, 2
%15 = add i64 %14, add (i64 ptrtoint (ptr @create_io_inherit_block.block to i64), i64 16)
%16 = sub i64 %15, %4
%17 = icmp ult i64 %16, 64
%18 = add i64 %4, -16
%19 = sub i64 %18, ptrtoint (ptr @create_io_inherit_block.block to i64)
%20 = icmp ult i64 %19, 64
%21 = or i1 %17, %20
br i1 %21, label %46, label %22
22: ; preds = %13
%23 = and i64 %5, 4294967280
br label %24
24: ; preds = %24, %22
%25 = phi i64 [ 0, %22 ], [ %42, %24 ]
%26 = getelementptr inbounds i32, ptr getelementptr inbounds (i8, ptr @create_io_inherit_block.block, i64 16), i64 %25
%27 = getelementptr inbounds i8, ptr %26, i64 16
%28 = getelementptr inbounds i8, ptr %26, i64 32
%29 = getelementptr inbounds i8, ptr %26, i64 48
store <4 x i32> <i32 129, i32 129, i32 129, i32 129>, ptr %26, align 4, !tbaa !13
store <4 x i32> <i32 129, i32 129, i32 129, i32 129>, ptr %27, align 4, !tbaa !13
store <4 x i32> <i32 129, i32 129, i32 129, i32 129>, ptr %28, align 4, !tbaa !13
store <4 x i32> <i32 129, i32 129, i32 129, i32 129>, ptr %29, align 4, !tbaa !13
%30 = getelementptr inbounds i32, ptr %2, i64 %25
%31 = getelementptr inbounds i8, ptr %30, i64 16
%32 = getelementptr inbounds i8, ptr %30, i64 32
%33 = getelementptr inbounds i8, ptr %30, i64 48
%34 = load <4 x i32>, ptr %30, align 4, !tbaa !13
%35 = load <4 x i32>, ptr %31, align 4, !tbaa !13
%36 = load <4 x i32>, ptr %32, align 4, !tbaa !13
%37 = load <4 x i32>, ptr %33, align 4, !tbaa !13
%38 = getelementptr inbounds i32, ptr %9, i64 %25
%39 = getelementptr inbounds i8, ptr %38, i64 16
%40 = getelementptr inbounds i8, ptr %38, i64 32
%41 = getelementptr inbounds i8, ptr %38, i64 48
store <4 x i32> %34, ptr %38, align 4, !tbaa !13
store <4 x i32> %35, ptr %39, align 4, !tbaa !13
store <4 x i32> %36, ptr %40, align 4, !tbaa !13
store <4 x i32> %37, ptr %41, align 4, !tbaa !13
%42 = add nuw i64 %25, 16
%43 = icmp eq i64 %42, %23
br i1 %43, label %44, label %24, !llvm.loop !14
44: ; preds = %24
%45 = icmp eq i64 %23, %5
br i1 %45, label %56, label %46
46: ; preds = %44, %13, %11
%47 = phi i64 [ 0, %13 ], [ 0, %11 ], [ %23, %44 ]
br label %48
48: ; preds = %46, %48
%49 = phi i64 [ %54, %48 ], [ %47, %46 ]
%50 = getelementptr inbounds i32, ptr getelementptr inbounds (i8, ptr @create_io_inherit_block.block, i64 16), i64 %49
store i32 129, ptr %50, align 4, !tbaa !13
%51 = getelementptr inbounds i32, ptr %2, i64 %49
%52 = load i32, ptr %51, align 4, !tbaa !13
%53 = getelementptr inbounds i32, ptr %9, i64 %49
store i32 %52, ptr %53, align 4, !tbaa !13
%54 = add nuw nsw i64 %49, 1
%55 = icmp eq i64 %54, %5
br i1 %55, label %56, label %48, !llvm.loop !18
56: ; preds = %48, %44, %3
ret void
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !15, !16}
| reactos_modules_rostests_winetests_msvcrt_extr_file.c_create_io_inherit_block |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_crtc.c_drm_crtc_cleanup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_crtc.c_drm_crtc_cleanup.c"
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.drm_crtc = type { i32, i32, ptr, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @drm_crtc_cleanup(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.drm_crtc, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.drm_crtc, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i32 @kfree(ptr noundef %5) #2
store ptr null, ptr %4, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.drm_crtc, ptr %0, i64 0, i32 1
%8 = tail call i32 @drm_mode_object_put(ptr noundef %3, ptr noundef nonnull %7) #2
%9 = tail call i32 @list_del(ptr noundef %0) #2
%10 = load i32, ptr %3, align 4, !tbaa !12
%11 = add nsw i32 %10, -1
store i32 %11, ptr %3, align 4, !tbaa !12
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mode_object_put(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"drm_crtc", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"drm_device", !14, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_crtc.c_drm_crtc_cleanup.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_crtc.c_drm_crtc_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @drm_crtc_cleanup(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 16
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = tail call i32 @kfree(ptr noundef %5) #2
store ptr null, ptr %4, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = tail call i32 @drm_mode_object_put(ptr noundef %3, ptr noundef nonnull %7) #2
%9 = tail call i32 @list_del(ptr noundef %0) #2
%10 = load i32, ptr %3, align 4, !tbaa !13
%11 = add nsw i32 %10, -1
store i32 %11, ptr %3, align 4, !tbaa !13
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @drm_mode_object_put(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"drm_crtc", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"drm_device", !15, i64 0}
!15 = !{!"TYPE_2__", !8, i64 0}
| fastsocket_kernel_drivers_gpu_drm_extr_drm_crtc.c_drm_crtc_cleanup |
; ModuleID = 'AnghaBench/postgres/src/bin/initdb/extr_findtimezone.c_pg_TZDIR.c'
source_filename = "AnghaBench/postgres/src/bin/initdb/extr_findtimezone.c_pg_TZDIR.c"
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"
@tzdirpath = dso_local local_unnamed_addr global ptr null, align 8
@SYSTEMTZDIR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @pg_TZDIR], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal ptr @pg_TZDIR() #0 {
%1 = load ptr, ptr @tzdirpath, align 8, !tbaa !5
ret ptr %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/postgres/src/bin/initdb/extr_findtimezone.c_pg_TZDIR.c'
source_filename = "AnghaBench/postgres/src/bin/initdb/extr_findtimezone.c_pg_TZDIR.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tzdirpath = common local_unnamed_addr global ptr null, align 8
@SYSTEMTZDIR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @pg_TZDIR], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal ptr @pg_TZDIR() #0 {
%1 = load ptr, ptr @tzdirpath, align 8, !tbaa !6
ret ptr %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| postgres_src_bin_initdb_extr_findtimezone.c_pg_TZDIR |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bce/extr_if_bce.c_bce_ifmedia_sts_rphy.c'
source_filename = "AnghaBench/freebsd/sys/dev/bce/extr_if_bce.c_bce_ifmedia_sts_rphy.c"
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.bce_softc = type { i32, ptr }
%struct.ifmediareq = type { i32, i32 }
@IFM_AVALID = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ETHER = dso_local local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS_LINK_UP = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@IFM_NONE = dso_local local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS_SPEED_MASK = dso_local local_unnamed_addr global i32 0, align 4
@IFM_10_T = dso_local local_unnamed_addr global i32 0, align 4
@IFM_HDX = dso_local local_unnamed_addr global i32 0, align 4
@IFM_FDX = dso_local local_unnamed_addr global i32 0, align 4
@IFM_100_TX = dso_local local_unnamed_addr global i32 0, align 4
@BCE_PHY_REMOTE_PORT_FIBER_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@IFM_1000_T = dso_local local_unnamed_addr global i32 0, align 4
@IFM_1000_SX = dso_local local_unnamed_addr global i32 0, align 4
@IFM_2500_SX = dso_local local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS_RX_FC_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ETH_RXPAUSE = dso_local local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS_TX_FC_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@IFM_ETH_TXPAUSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bce_ifmedia_sts_rphy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bce_ifmedia_sts_rphy(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.bce_softc, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = tail call i32 @BCE_LOCK_ASSERT(ptr noundef %0) #2
%6 = load i32, ptr @IFM_AVALID, align 4, !tbaa !11
%7 = getelementptr inbounds %struct.ifmediareq, ptr %1, i64 0, i32 1
store i32 %6, ptr %7, align 4, !tbaa !12
%8 = load i32, ptr @IFM_ETHER, align 4, !tbaa !11
store i32 %8, ptr %1, align 4, !tbaa !14
%9 = load i32, ptr @BCE_LINK_STATUS, align 4, !tbaa !11
%10 = tail call i32 @bce_shmem_rd(ptr noundef %0, i32 noundef %9) #2
%11 = load i32, ptr @BCE_LINK_STATUS_LINK_UP, align 4, !tbaa !11
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %2
%15 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !11
%16 = load i32, ptr %7, align 4, !tbaa !12
%17 = or i32 %16, %15
store i32 %17, ptr %7, align 4, !tbaa !12
%18 = load i32, ptr @BCE_LINK_STATUS_SPEED_MASK, align 4, !tbaa !11
%19 = and i32 %18, %10
switch i32 %19, label %102 [
i32 130, label %24
i32 131, label %30
i32 132, label %36
i32 133, label %42
i32 134, label %48
i32 135, label %60
i32 128, label %72
i32 129, label %87
]
20: ; preds = %2
%21 = load i32, ptr @IFM_NONE, align 4, !tbaa !11
%22 = load i32, ptr %1, align 4, !tbaa !14
%23 = or i32 %22, %21
store i32 %23, ptr %1, align 4, !tbaa !14
store ptr null, ptr %4, align 8, !tbaa !15
br label %125
24: ; preds = %14
%25 = load i32, ptr @IFM_10_T, align 4, !tbaa !11
%26 = load i32, ptr @IFM_HDX, align 4, !tbaa !11
%27 = or i32 %26, %25
%28 = load i32, ptr %1, align 4, !tbaa !14
%29 = or i32 %27, %28
br label %106
30: ; preds = %14
%31 = load i32, ptr @IFM_10_T, align 4, !tbaa !11
%32 = load i32, ptr @IFM_FDX, align 4, !tbaa !11
%33 = or i32 %32, %31
%34 = load i32, ptr %1, align 4, !tbaa !14
%35 = or i32 %33, %34
br label %106
36: ; preds = %14
%37 = load i32, ptr @IFM_100_TX, align 4, !tbaa !11
%38 = load i32, ptr @IFM_HDX, align 4, !tbaa !11
%39 = or i32 %38, %37
%40 = load i32, ptr %1, align 4, !tbaa !14
%41 = or i32 %39, %40
br label %106
42: ; preds = %14
%43 = load i32, ptr @IFM_100_TX, align 4, !tbaa !11
%44 = load i32, ptr @IFM_FDX, align 4, !tbaa !11
%45 = or i32 %44, %43
%46 = load i32, ptr %1, align 4, !tbaa !14
%47 = or i32 %45, %46
br label %106
48: ; preds = %14
%49 = load i32, ptr %0, align 8, !tbaa !17
%50 = load i32, ptr @BCE_PHY_REMOTE_PORT_FIBER_FLAG, align 4, !tbaa !11
%51 = and i32 %50, %49
%52 = icmp eq i32 %51, 0
%53 = load i32, ptr @IFM_HDX, align 4, !tbaa !11
%54 = load i32, ptr %1, align 4, !tbaa !14
%55 = load i32, ptr @IFM_1000_T, align 4
%56 = load i32, ptr @IFM_1000_SX, align 4
%57 = select i1 %52, i32 %55, i32 %56
%58 = or i32 %53, %57
%59 = or i32 %58, %54
br label %106
60: ; preds = %14
%61 = load i32, ptr %0, align 8, !tbaa !17
%62 = load i32, ptr @BCE_PHY_REMOTE_PORT_FIBER_FLAG, align 4, !tbaa !11
%63 = and i32 %62, %61
%64 = icmp eq i32 %63, 0
%65 = load i32, ptr @IFM_FDX, align 4, !tbaa !11
%66 = load i32, ptr %1, align 4, !tbaa !14
%67 = load i32, ptr @IFM_1000_T, align 4
%68 = load i32, ptr @IFM_1000_SX, align 4
%69 = select i1 %64, i32 %67, i32 %68
%70 = or i32 %65, %69
%71 = or i32 %70, %66
br label %106
72: ; preds = %14
%73 = load i32, ptr %0, align 8, !tbaa !17
%74 = load i32, ptr @BCE_PHY_REMOTE_PORT_FIBER_FLAG, align 4, !tbaa !11
%75 = and i32 %74, %73
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %81
77: ; preds = %72
%78 = load i32, ptr @IFM_NONE, align 4, !tbaa !11
%79 = load i32, ptr %1, align 4, !tbaa !14
%80 = or i32 %79, %78
store i32 %80, ptr %1, align 4, !tbaa !14
br label %125
81: ; preds = %72
%82 = load i32, ptr @IFM_2500_SX, align 4, !tbaa !11
%83 = load i32, ptr @IFM_HDX, align 4, !tbaa !11
%84 = or i32 %83, %82
%85 = load i32, ptr %1, align 4, !tbaa !14
%86 = or i32 %84, %85
br label %106
87: ; preds = %14
%88 = load i32, ptr %0, align 8, !tbaa !17
%89 = load i32, ptr @BCE_PHY_REMOTE_PORT_FIBER_FLAG, align 4, !tbaa !11
%90 = and i32 %89, %88
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %96
92: ; preds = %87
%93 = load i32, ptr @IFM_NONE, align 4, !tbaa !11
%94 = load i32, ptr %1, align 4, !tbaa !14
%95 = or i32 %94, %93
store i32 %95, ptr %1, align 4, !tbaa !14
br label %125
96: ; preds = %87
%97 = load i32, ptr @IFM_2500_SX, align 4, !tbaa !11
%98 = load i32, ptr @IFM_FDX, align 4, !tbaa !11
%99 = or i32 %98, %97
%100 = load i32, ptr %1, align 4, !tbaa !14
%101 = or i32 %99, %100
br label %106
102: ; preds = %14
%103 = load i32, ptr @IFM_NONE, align 4, !tbaa !11
%104 = load i32, ptr %1, align 4, !tbaa !14
%105 = or i32 %104, %103
store i32 %105, ptr %1, align 4, !tbaa !14
br label %125
106: ; preds = %96, %81, %60, %48, %42, %36, %30, %24
%107 = phi i32 [ %101, %96 ], [ %86, %81 ], [ %71, %60 ], [ %59, %48 ], [ %47, %42 ], [ %41, %36 ], [ %35, %30 ], [ %29, %24 ]
%108 = phi i64 [ 2500, %96 ], [ 2500, %81 ], [ 1000, %60 ], [ 1000, %48 ], [ 100, %42 ], [ 100, %36 ], [ 10, %30 ], [ 10, %24 ]
store i32 %107, ptr %1, align 4, !tbaa !14
%109 = tail call ptr @IF_Mbps(i64 noundef %108) #2
store ptr %109, ptr %4, align 8, !tbaa !15
%110 = load i32, ptr @BCE_LINK_STATUS_RX_FC_ENABLED, align 4, !tbaa !11
%111 = and i32 %110, %10
%112 = icmp eq i32 %111, 0
br i1 %112, label %117, label %113
113: ; preds = %106
%114 = load i32, ptr @IFM_ETH_RXPAUSE, align 4, !tbaa !11
%115 = load i32, ptr %1, align 4, !tbaa !14
%116 = or i32 %115, %114
store i32 %116, ptr %1, align 4, !tbaa !14
br label %117
117: ; preds = %113, %106
%118 = load i32, ptr @BCE_LINK_STATUS_TX_FC_ENABLED, align 4, !tbaa !11
%119 = and i32 %118, %10
%120 = icmp eq i32 %119, 0
br i1 %120, label %125, label %121
121: ; preds = %117
%122 = load i32, ptr @IFM_ETH_TXPAUSE, align 4, !tbaa !11
%123 = load i32, ptr %1, align 4, !tbaa !14
%124 = or i32 %123, %122
store i32 %124, ptr %1, align 4, !tbaa !14
br label %125
125: ; preds = %117, %121, %102, %92, %77, %20
ret void
}
declare i32 @BCE_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @bce_shmem_rd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @IF_Mbps(i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"bce_softc", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 4}
!13 = !{!"ifmediareq", !7, i64 0, !7, i64 4}
!14 = !{!13, !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"ifnet", !10, i64 0}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bce/extr_if_bce.c_bce_ifmedia_sts_rphy.c'
source_filename = "AnghaBench/freebsd/sys/dev/bce/extr_if_bce.c_bce_ifmedia_sts_rphy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IFM_AVALID = common local_unnamed_addr global i32 0, align 4
@IFM_ETHER = common local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS = common local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS_LINK_UP = common local_unnamed_addr global i32 0, align 4
@IFM_ACTIVE = common local_unnamed_addr global i32 0, align 4
@IFM_NONE = common local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS_SPEED_MASK = common local_unnamed_addr global i32 0, align 4
@IFM_10_T = common local_unnamed_addr global i32 0, align 4
@IFM_HDX = common local_unnamed_addr global i32 0, align 4
@IFM_FDX = common local_unnamed_addr global i32 0, align 4
@IFM_100_TX = common local_unnamed_addr global i32 0, align 4
@BCE_PHY_REMOTE_PORT_FIBER_FLAG = common local_unnamed_addr global i32 0, align 4
@IFM_1000_T = common local_unnamed_addr global i32 0, align 4
@IFM_1000_SX = common local_unnamed_addr global i32 0, align 4
@IFM_2500_SX = common local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS_RX_FC_ENABLED = common local_unnamed_addr global i32 0, align 4
@IFM_ETH_RXPAUSE = common local_unnamed_addr global i32 0, align 4
@BCE_LINK_STATUS_TX_FC_ENABLED = common local_unnamed_addr global i32 0, align 4
@IFM_ETH_TXPAUSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bce_ifmedia_sts_rphy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bce_ifmedia_sts_rphy(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = tail call i32 @BCE_LOCK_ASSERT(ptr noundef %0) #2
%6 = load i32, ptr @IFM_AVALID, align 4, !tbaa !12
%7 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %6, ptr %7, align 4, !tbaa !13
%8 = load i32, ptr @IFM_ETHER, align 4, !tbaa !12
store i32 %8, ptr %1, align 4, !tbaa !15
%9 = load i32, ptr @BCE_LINK_STATUS, align 4, !tbaa !12
%10 = tail call i32 @bce_shmem_rd(ptr noundef %0, i32 noundef %9) #2
%11 = load i32, ptr @BCE_LINK_STATUS_LINK_UP, align 4, !tbaa !12
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %2
%15 = load i32, ptr @IFM_ACTIVE, align 4, !tbaa !12
%16 = load i32, ptr %7, align 4, !tbaa !13
%17 = or i32 %16, %15
store i32 %17, ptr %7, align 4, !tbaa !13
%18 = load i32, ptr @BCE_LINK_STATUS_SPEED_MASK, align 4, !tbaa !12
%19 = and i32 %18, %10
switch i32 %19, label %102 [
i32 130, label %24
i32 131, label %30
i32 132, label %36
i32 133, label %42
i32 134, label %48
i32 135, label %60
i32 128, label %72
i32 129, label %87
]
20: ; preds = %2
%21 = load i32, ptr @IFM_NONE, align 4, !tbaa !12
%22 = load i32, ptr %1, align 4, !tbaa !15
%23 = or i32 %22, %21
store i32 %23, ptr %1, align 4, !tbaa !15
store ptr null, ptr %4, align 8, !tbaa !16
br label %125
24: ; preds = %14
%25 = load i32, ptr @IFM_10_T, align 4, !tbaa !12
%26 = load i32, ptr @IFM_HDX, align 4, !tbaa !12
%27 = or i32 %26, %25
%28 = load i32, ptr %1, align 4, !tbaa !15
%29 = or i32 %27, %28
br label %106
30: ; preds = %14
%31 = load i32, ptr @IFM_10_T, align 4, !tbaa !12
%32 = load i32, ptr @IFM_FDX, align 4, !tbaa !12
%33 = or i32 %32, %31
%34 = load i32, ptr %1, align 4, !tbaa !15
%35 = or i32 %33, %34
br label %106
36: ; preds = %14
%37 = load i32, ptr @IFM_100_TX, align 4, !tbaa !12
%38 = load i32, ptr @IFM_HDX, align 4, !tbaa !12
%39 = or i32 %38, %37
%40 = load i32, ptr %1, align 4, !tbaa !15
%41 = or i32 %39, %40
br label %106
42: ; preds = %14
%43 = load i32, ptr @IFM_100_TX, align 4, !tbaa !12
%44 = load i32, ptr @IFM_FDX, align 4, !tbaa !12
%45 = or i32 %44, %43
%46 = load i32, ptr %1, align 4, !tbaa !15
%47 = or i32 %45, %46
br label %106
48: ; preds = %14
%49 = load i32, ptr %0, align 8, !tbaa !18
%50 = load i32, ptr @BCE_PHY_REMOTE_PORT_FIBER_FLAG, align 4, !tbaa !12
%51 = and i32 %50, %49
%52 = icmp eq i32 %51, 0
%53 = load i32, ptr @IFM_HDX, align 4, !tbaa !12
%54 = load i32, ptr %1, align 4, !tbaa !15
%55 = load i32, ptr @IFM_1000_T, align 4
%56 = load i32, ptr @IFM_1000_SX, align 4
%57 = select i1 %52, i32 %55, i32 %56
%58 = or i32 %53, %57
%59 = or i32 %58, %54
br label %106
60: ; preds = %14
%61 = load i32, ptr %0, align 8, !tbaa !18
%62 = load i32, ptr @BCE_PHY_REMOTE_PORT_FIBER_FLAG, align 4, !tbaa !12
%63 = and i32 %62, %61
%64 = icmp eq i32 %63, 0
%65 = load i32, ptr @IFM_FDX, align 4, !tbaa !12
%66 = load i32, ptr %1, align 4, !tbaa !15
%67 = load i32, ptr @IFM_1000_T, align 4
%68 = load i32, ptr @IFM_1000_SX, align 4
%69 = select i1 %64, i32 %67, i32 %68
%70 = or i32 %65, %69
%71 = or i32 %70, %66
br label %106
72: ; preds = %14
%73 = load i32, ptr %0, align 8, !tbaa !18
%74 = load i32, ptr @BCE_PHY_REMOTE_PORT_FIBER_FLAG, align 4, !tbaa !12
%75 = and i32 %74, %73
%76 = icmp eq i32 %75, 0
br i1 %76, label %77, label %81
77: ; preds = %72
%78 = load i32, ptr @IFM_NONE, align 4, !tbaa !12
%79 = load i32, ptr %1, align 4, !tbaa !15
%80 = or i32 %79, %78
store i32 %80, ptr %1, align 4, !tbaa !15
br label %125
81: ; preds = %72
%82 = load i32, ptr @IFM_2500_SX, align 4, !tbaa !12
%83 = load i32, ptr @IFM_HDX, align 4, !tbaa !12
%84 = or i32 %83, %82
%85 = load i32, ptr %1, align 4, !tbaa !15
%86 = or i32 %84, %85
br label %106
87: ; preds = %14
%88 = load i32, ptr %0, align 8, !tbaa !18
%89 = load i32, ptr @BCE_PHY_REMOTE_PORT_FIBER_FLAG, align 4, !tbaa !12
%90 = and i32 %89, %88
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %96
92: ; preds = %87
%93 = load i32, ptr @IFM_NONE, align 4, !tbaa !12
%94 = load i32, ptr %1, align 4, !tbaa !15
%95 = or i32 %94, %93
store i32 %95, ptr %1, align 4, !tbaa !15
br label %125
96: ; preds = %87
%97 = load i32, ptr @IFM_2500_SX, align 4, !tbaa !12
%98 = load i32, ptr @IFM_FDX, align 4, !tbaa !12
%99 = or i32 %98, %97
%100 = load i32, ptr %1, align 4, !tbaa !15
%101 = or i32 %99, %100
br label %106
102: ; preds = %14
%103 = load i32, ptr @IFM_NONE, align 4, !tbaa !12
%104 = load i32, ptr %1, align 4, !tbaa !15
%105 = or i32 %104, %103
store i32 %105, ptr %1, align 4, !tbaa !15
br label %125
106: ; preds = %96, %81, %60, %48, %42, %36, %30, %24
%107 = phi i32 [ %101, %96 ], [ %86, %81 ], [ %71, %60 ], [ %59, %48 ], [ %47, %42 ], [ %41, %36 ], [ %35, %30 ], [ %29, %24 ]
%108 = phi i64 [ 2500, %96 ], [ 2500, %81 ], [ 1000, %60 ], [ 1000, %48 ], [ 100, %42 ], [ 100, %36 ], [ 10, %30 ], [ 10, %24 ]
store i32 %107, ptr %1, align 4, !tbaa !15
%109 = tail call ptr @IF_Mbps(i64 noundef %108) #2
store ptr %109, ptr %4, align 8, !tbaa !16
%110 = load i32, ptr @BCE_LINK_STATUS_RX_FC_ENABLED, align 4, !tbaa !12
%111 = and i32 %110, %10
%112 = icmp eq i32 %111, 0
br i1 %112, label %117, label %113
113: ; preds = %106
%114 = load i32, ptr @IFM_ETH_RXPAUSE, align 4, !tbaa !12
%115 = load i32, ptr %1, align 4, !tbaa !15
%116 = or i32 %115, %114
store i32 %116, ptr %1, align 4, !tbaa !15
br label %117
117: ; preds = %113, %106
%118 = load i32, ptr @BCE_LINK_STATUS_TX_FC_ENABLED, align 4, !tbaa !12
%119 = and i32 %118, %10
%120 = icmp eq i32 %119, 0
br i1 %120, label %125, label %121
121: ; preds = %117
%122 = load i32, ptr @IFM_ETH_TXPAUSE, align 4, !tbaa !12
%123 = load i32, ptr %1, align 4, !tbaa !15
%124 = or i32 %123, %122
store i32 %124, ptr %1, align 4, !tbaa !15
br label %125
125: ; preds = %117, %121, %102, %92, %77, %20
ret void
}
declare i32 @BCE_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @bce_shmem_rd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @IF_Mbps(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"bce_softc", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 4}
!14 = !{!"ifmediareq", !8, i64 0, !8, i64 4}
!15 = !{!14, !8, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"ifnet", !11, i64 0}
!18 = !{!7, !8, i64 0}
| freebsd_sys_dev_bce_extr_if_bce.c_bce_ifmedia_sts_rphy |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_printer.c_set_printer_interface.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_printer.c_set_printer_interface.c"
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.printer_dev = type { ptr, ptr, ptr, ptr, i32 }
%struct.TYPE_3__ = type { i32, ptr }
@hs_ep_in_desc = dso_local global i32 0, align 4
@fs_ep_in_desc = dso_local global i32 0, align 4
@hs_ep_out_desc = dso_local global i32 0, align 4
@fs_ep_out_desc = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"enable %s --> %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_printer_interface], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @set_printer_interface(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.printer_dev, ptr %0, i64 0, i32 4
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = tail call ptr @ep_desc(i32 noundef %3, ptr noundef nonnull @hs_ep_in_desc, ptr noundef nonnull @fs_ep_in_desc) #3
%5 = getelementptr inbounds %struct.printer_dev, ptr %0, i64 0, i32 1
store ptr %4, ptr %5, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.printer_dev, ptr %0, i64 0, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 0, i32 1
store ptr %0, ptr %8, align 8, !tbaa !13
%9 = load i32, ptr %2, align 8, !tbaa !5
%10 = tail call ptr @ep_desc(i32 noundef %9, ptr noundef nonnull @hs_ep_out_desc, ptr noundef nonnull @fs_ep_out_desc) #3
store ptr %10, ptr %0, align 8, !tbaa !15
%11 = getelementptr inbounds %struct.printer_dev, ptr %0, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !16
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i64 0, i32 1
store ptr %0, ptr %13, align 8, !tbaa !13
%14 = load ptr, ptr %6, align 8, !tbaa !12
%15 = load ptr, ptr %5, align 8, !tbaa !11
%16 = tail call i32 @usb_ep_enable(ptr noundef %14, ptr noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %1
%19 = load ptr, ptr %11, align 8, !tbaa !16
%20 = load ptr, ptr %0, align 8, !tbaa !15
%21 = tail call i32 @usb_ep_enable(ptr noundef %19, ptr noundef %20) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %32, label %23
23: ; preds = %18, %1
%24 = phi i32 [ %16, %1 ], [ %21, %18 ]
%25 = load ptr, ptr %6, align 8, !tbaa !12
%26 = load i32, ptr %25, align 8, !tbaa !17
%27 = tail call i32 @DBG(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %26, i32 noundef %24) #3
%28 = load ptr, ptr %6, align 8, !tbaa !12
%29 = tail call i32 @usb_ep_disable(ptr noundef %28) #3
%30 = load ptr, ptr %11, align 8, !tbaa !16
%31 = tail call i32 @usb_ep_disable(ptr noundef %30) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
br label %32
32: ; preds = %18, %23
%33 = phi i32 [ %24, %23 ], [ 0, %18 ]
ret i32 %33
}
declare ptr @ep_desc(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_ep_enable(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DBG(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_ep_disable(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 32}
!6 = !{!"printer_dev", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 24}
!13 = !{!14, !7, i64 8}
!14 = !{!"TYPE_3__", !10, i64 0, !7, i64 8}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !7, i64 16}
!17 = !{!14, !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_printer.c_set_printer_interface.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_printer.c_set_printer_interface.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@hs_ep_in_desc = common global i32 0, align 4
@fs_ep_in_desc = common global i32 0, align 4
@hs_ep_out_desc = common global i32 0, align 4
@fs_ep_out_desc = common global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"enable %s --> %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @set_printer_interface], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @set_printer_interface(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 32
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = tail call ptr @ep_desc(i32 noundef %3, ptr noundef nonnull @hs_ep_in_desc, ptr noundef nonnull @fs_ep_in_desc) #3
%5 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %4, ptr %5, align 8, !tbaa !12
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %7, i64 8
store ptr %0, ptr %8, align 8, !tbaa !14
%9 = load i32, ptr %2, align 8, !tbaa !6
%10 = tail call ptr @ep_desc(i32 noundef %9, ptr noundef nonnull @hs_ep_out_desc, ptr noundef nonnull @fs_ep_out_desc) #3
store ptr %10, ptr %0, align 8, !tbaa !16
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !17
%13 = getelementptr inbounds i8, ptr %12, i64 8
store ptr %0, ptr %13, align 8, !tbaa !14
%14 = load ptr, ptr %6, align 8, !tbaa !13
%15 = load ptr, ptr %5, align 8, !tbaa !12
%16 = tail call i32 @usb_ep_enable(ptr noundef %14, ptr noundef %15) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %23
18: ; preds = %1
%19 = load ptr, ptr %11, align 8, !tbaa !17
%20 = load ptr, ptr %0, align 8, !tbaa !16
%21 = tail call i32 @usb_ep_enable(ptr noundef %19, ptr noundef %20) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %32, label %23
23: ; preds = %18, %1
%24 = phi i32 [ %16, %1 ], [ %21, %18 ]
%25 = load ptr, ptr %6, align 8, !tbaa !13
%26 = load i32, ptr %25, align 8, !tbaa !18
%27 = tail call i32 @DBG(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %26, i32 noundef %24) #3
%28 = load ptr, ptr %6, align 8, !tbaa !13
%29 = tail call i32 @usb_ep_disable(ptr noundef %28) #3
%30 = load ptr, ptr %11, align 8, !tbaa !17
%31 = tail call i32 @usb_ep_disable(ptr noundef %30) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
br label %32
32: ; preds = %18, %23
%33 = phi i32 [ %24, %23 ], [ 0, %18 ]
ret i32 %33
}
declare ptr @ep_desc(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_ep_enable(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @DBG(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_ep_disable(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 32}
!7 = !{!"printer_dev", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 24}
!14 = !{!15, !8, i64 8}
!15 = !{!"TYPE_3__", !11, i64 0, !8, i64 8}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !8, i64 16}
!18 = !{!15, !11, i64 0}
| fastsocket_kernel_drivers_usb_gadget_extr_printer.c_set_printer_interface |
; ModuleID = 'AnghaBench/macvim/src/extr_edit.c_ins_del.c'
source_filename = "AnghaBench/macvim/src/extr_edit.c_ins_del.c"
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"
@FAIL = dso_local local_unnamed_addr global i64 0, align 8
@NUL = dso_local local_unnamed_addr global i64 0, align 8
@curwin = dso_local local_unnamed_addr global ptr null, align 8
@BS_EOL = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global ptr null, align 8
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@did_ai = dso_local local_unnamed_addr global ptr null, align 8
@K_DEL = dso_local local_unnamed_addr global i32 0, align 4
@can_si = dso_local local_unnamed_addr global ptr null, align 8
@can_si_back = dso_local local_unnamed_addr global ptr null, align 8
@did_si = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ins_del], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ins_del() #0 {
%1 = tail call i64 (...) @stop_arrow() #2
%2 = load i64, ptr @FAIL, align 8, !tbaa !5
%3 = icmp eq i64 %1, %2
br i1 %3, label %35, label %4
4: ; preds = %0
%5 = tail call i64 (...) @gchar_cursor() #2
%6 = load i64, ptr @NUL, align 8, !tbaa !5
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %4
%9 = load ptr, ptr @curwin, align 8, !tbaa !9
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = load i32, ptr @BS_EOL, align 4, !tbaa !15
%12 = tail call i32 @can_bs(i32 noundef %11) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %8
%15 = load ptr, ptr @FALSE, align 8, !tbaa !9
%16 = load i32, ptr @TRUE, align 4, !tbaa !15
%17 = tail call i64 @do_join(i32 noundef 2, ptr noundef %15, i32 noundef %16, ptr noundef %15, ptr noundef %15) #2
%18 = load i64, ptr @FAIL, align 8, !tbaa !5
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %14, %8
%21 = tail call i32 (...) @vim_beep() #2
br label %31
22: ; preds = %14
%23 = load ptr, ptr @curwin, align 8, !tbaa !9
store i32 %10, ptr %23, align 4, !tbaa !11
br label %31
24: ; preds = %4
%25 = load ptr, ptr @FALSE, align 8, !tbaa !9
%26 = tail call i64 @del_char(ptr noundef %25) #2
%27 = load i64, ptr @FAIL, align 8, !tbaa !5
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = tail call i32 (...) @vim_beep() #2
br label %31
31: ; preds = %24, %29, %20, %22
%32 = load ptr, ptr @FALSE, align 8, !tbaa !9
store ptr %32, ptr @did_ai, align 8, !tbaa !9
%33 = load i32, ptr @K_DEL, align 4, !tbaa !15
%34 = tail call i32 @AppendCharToRedobuff(i32 noundef %33) #2
br label %35
35: ; preds = %0, %31
ret void
}
declare i64 @stop_arrow(...) local_unnamed_addr #1
declare i64 @gchar_cursor(...) local_unnamed_addr #1
declare i32 @can_bs(i32 noundef) local_unnamed_addr #1
declare i64 @do_join(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vim_beep(...) local_unnamed_addr #1
declare i64 @del_char(ptr noundef) local_unnamed_addr #1
declare i32 @AppendCharToRedobuff(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !14, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/macvim/src/extr_edit.c_ins_del.c'
source_filename = "AnghaBench/macvim/src/extr_edit.c_ins_del.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FAIL = common local_unnamed_addr global i64 0, align 8
@NUL = common local_unnamed_addr global i64 0, align 8
@curwin = common local_unnamed_addr global ptr null, align 8
@BS_EOL = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global ptr null, align 8
@TRUE = common local_unnamed_addr global i32 0, align 4
@did_ai = common local_unnamed_addr global ptr null, align 8
@K_DEL = common local_unnamed_addr global i32 0, align 4
@can_si = common local_unnamed_addr global ptr null, align 8
@can_si_back = common local_unnamed_addr global ptr null, align 8
@did_si = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ins_del], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ins_del() #0 {
%1 = tail call i64 @stop_arrow() #2
%2 = load i64, ptr @FAIL, align 8, !tbaa !6
%3 = icmp eq i64 %1, %2
br i1 %3, label %35, label %4
4: ; preds = %0
%5 = tail call i64 @gchar_cursor() #2
%6 = load i64, ptr @NUL, align 8, !tbaa !6
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %4
%9 = load ptr, ptr @curwin, align 8, !tbaa !10
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = load i32, ptr @BS_EOL, align 4, !tbaa !16
%12 = tail call i32 @can_bs(i32 noundef %11) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %8
%15 = load ptr, ptr @FALSE, align 8, !tbaa !10
%16 = load i32, ptr @TRUE, align 4, !tbaa !16
%17 = tail call i64 @do_join(i32 noundef 2, ptr noundef %15, i32 noundef %16, ptr noundef %15, ptr noundef %15) #2
%18 = load i64, ptr @FAIL, align 8, !tbaa !6
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %14, %8
%21 = tail call i32 @vim_beep() #2
br label %31
22: ; preds = %14
%23 = load ptr, ptr @curwin, align 8, !tbaa !10
store i32 %10, ptr %23, align 4, !tbaa !12
br label %31
24: ; preds = %4
%25 = load ptr, ptr @FALSE, align 8, !tbaa !10
%26 = tail call i64 @del_char(ptr noundef %25) #2
%27 = load i64, ptr @FAIL, align 8, !tbaa !6
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = tail call i32 @vim_beep() #2
br label %31
31: ; preds = %24, %29, %20, %22
%32 = load ptr, ptr @FALSE, align 8, !tbaa !10
store ptr %32, ptr @did_ai, align 8, !tbaa !10
%33 = load i32, ptr @K_DEL, align 4, !tbaa !16
%34 = tail call i32 @AppendCharToRedobuff(i32 noundef %33) #2
br label %35
35: ; preds = %0, %31
ret void
}
declare i64 @stop_arrow(...) local_unnamed_addr #1
declare i64 @gchar_cursor(...) local_unnamed_addr #1
declare i32 @can_bs(i32 noundef) local_unnamed_addr #1
declare i64 @do_join(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vim_beep(...) local_unnamed_addr #1
declare i64 @del_char(ptr noundef) local_unnamed_addr #1
declare i32 @AppendCharToRedobuff(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !15, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}
| macvim_src_extr_edit.c_ins_del |
; ModuleID = 'AnghaBench/vlc/modules/access/http/extr_h2output.c_vlc_h2_frame_send.c'
source_filename = "AnghaBench/vlc/modules/access/http/extr_h2output.c_vlc_h2_frame_send.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @vlc_h2_frame_send], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vlc_h2_frame_send(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @vlc_h2_frame_size(ptr noundef %1) #2
%4 = tail call i32 @vlc_cleanup_push(ptr noundef nonnull @free, ptr noundef %1) #2
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = tail call i64 @vlc_https_send(ptr noundef %0, i32 noundef %5, i64 noundef %3) #2
%7 = tail call i32 (...) @vlc_cleanup_pop() #2
%8 = tail call i32 @free(ptr noundef nonnull %1) #2
%9 = icmp ne i64 %6, %3
%10 = sext i1 %9 to i32
ret i32 %10
}
declare i64 @vlc_h2_frame_size(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_cleanup_push(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) #1
declare i64 @vlc_https_send(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @vlc_cleanup_pop(...) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vlc_h2_frame", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/vlc/modules/access/http/extr_h2output.c_vlc_h2_frame_send.c'
source_filename = "AnghaBench/vlc/modules/access/http/extr_h2output.c_vlc_h2_frame_send.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @vlc_h2_frame_send], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @vlc_h2_frame_send(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @vlc_h2_frame_size(ptr noundef %1) #2
%4 = tail call i32 @vlc_cleanup_push(ptr noundef nonnull @free, ptr noundef %1) #2
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = tail call i64 @vlc_https_send(ptr noundef %0, i32 noundef %5, i64 noundef %3) #2
%7 = tail call i32 @vlc_cleanup_pop() #2
%8 = tail call i32 @free(ptr noundef nonnull %1) #2
%9 = icmp ne i64 %6, %3
%10 = sext i1 %9 to i32
ret i32 %10
}
declare i64 @vlc_h2_frame_size(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_cleanup_push(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) #1
declare i64 @vlc_https_send(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @vlc_cleanup_pop(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vlc_h2_frame", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| vlc_modules_access_http_extr_h2output.c_vlc_h2_frame_send |
; ModuleID = 'AnghaBench/freebsd/sys/mips/mips/extr_pm_machdep.c_set_mcontext.c'
source_filename = "AnghaBench/freebsd/sys/mips/mips/extr_pm_machdep.c_set_mcontext.c"
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.thread = type { %struct.TYPE_4__, ptr }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.trapframe = type { i32, i32, i32, i32, i32 }
@MDTD_FPUSED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @set_mcontext(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.thread, ptr %0, i64 0, i32 1
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 6
%5 = load ptr, ptr %3, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.trapframe, ptr %5, i64 0, i32 4
%7 = tail call i32 @bcopy(ptr noundef nonnull %4, ptr noundef nonnull %6, i32 noundef 4) #2
%8 = load i32, ptr %1, align 4, !tbaa !12
%9 = load i32, ptr @MDTD_FPUSED, align 4, !tbaa !14
%10 = and i32 %9, %8
store i32 %10, ptr %0, align 8, !tbaa !15
%11 = icmp eq i32 %8, 0
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 5
%14 = load ptr, ptr %3, align 8, !tbaa !5
%15 = getelementptr inbounds %struct.trapframe, ptr %14, i64 0, i32 3
%16 = tail call i32 @bcopy(ptr noundef nonnull %13, ptr noundef nonnull %15, i32 noundef 4) #2
br label %17
17: ; preds = %12, %2
%18 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 4
%19 = load i32, ptr %18, align 4, !tbaa !16
%20 = load ptr, ptr %3, align 8, !tbaa !5
%21 = getelementptr inbounds %struct.trapframe, ptr %20, i64 0, i32 2
store i32 %19, ptr %21, align 4, !tbaa !17
%22 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2
%23 = load <2 x i32>, ptr %22, align 4, !tbaa !14
store <2 x i32> %23, ptr %20, align 4, !tbaa !14
%24 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !19
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
store i32 %25, ptr %26, align 4, !tbaa !20
ret i32 0
}
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"thread", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24}
!14 = !{!8, !8, i64 0}
!15 = !{!6, !8, i64 0}
!16 = !{!13, !8, i64 16}
!17 = !{!18, !8, i64 8}
!18 = !{!"trapframe", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!19 = !{!13, !8, i64 4}
!20 = !{!6, !8, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/mips/mips/extr_pm_machdep.c_set_mcontext.c'
source_filename = "AnghaBench/freebsd/sys/mips/mips/extr_pm_machdep.c_set_mcontext.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MDTD_FPUSED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @set_mcontext(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = getelementptr inbounds i8, ptr %1, i64 24
%5 = load ptr, ptr %3, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 16
%7 = tail call i32 @bcopy(ptr noundef nonnull %4, ptr noundef nonnull %6, i32 noundef 4) #2
%8 = load i32, ptr %1, align 4, !tbaa !13
%9 = load i32, ptr @MDTD_FPUSED, align 4, !tbaa !15
%10 = and i32 %9, %8
store i32 %10, ptr %0, align 8, !tbaa !16
%11 = icmp eq i32 %8, 0
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %1, i64 20
%14 = load ptr, ptr %3, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 12
%16 = tail call i32 @bcopy(ptr noundef nonnull %13, ptr noundef nonnull %15, i32 noundef 4) #2
br label %17
17: ; preds = %12, %2
%18 = getelementptr inbounds i8, ptr %1, i64 16
%19 = load i32, ptr %18, align 4, !tbaa !17
%20 = load ptr, ptr %3, align 8, !tbaa !6
%21 = getelementptr inbounds i8, ptr %20, i64 8
store i32 %19, ptr %21, align 4, !tbaa !18
%22 = getelementptr inbounds i8, ptr %1, i64 8
%23 = load <2 x i32>, ptr %22, align 4, !tbaa !15
store <2 x i32> %23, ptr %20, align 4, !tbaa !15
%24 = getelementptr inbounds i8, ptr %1, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !20
%26 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %25, ptr %26, align 4, !tbaa !21
ret i32 0
}
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"thread", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !9, i64 0}
!14 = !{!"TYPE_5__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20, !9, i64 24}
!15 = !{!9, !9, i64 0}
!16 = !{!7, !9, i64 0}
!17 = !{!14, !9, i64 16}
!18 = !{!19, !9, i64 8}
!19 = !{!"trapframe", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16}
!20 = !{!14, !9, i64 4}
!21 = !{!7, !9, i64 4}
| freebsd_sys_mips_mips_extr_pm_machdep.c_set_mcontext |
; ModuleID = 'AnghaBench/linux/arch/mips/kernel/extr_process.c_exit_thread.c'
source_filename = "AnghaBench/linux/arch/mips/kernel/extr_process.c_exit_thread.c"
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"
@current = dso_local local_unnamed_addr global ptr null, align 8
@PF_KTHREAD = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @exit_thread(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @current, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !9
%4 = load i32, ptr @PF_KTHREAD, align 4, !tbaa !12
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = tail call i32 @dsemul_thread_cleanup(ptr noundef %0) #2
br label %9
9: ; preds = %7, %1
ret void
}
declare i32 @dsemul_thread_cleanup(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/mips/kernel/extr_process.c_exit_thread.c'
source_filename = "AnghaBench/linux/arch/mips/kernel/extr_process.c_exit_thread.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current = common local_unnamed_addr global ptr null, align 8
@PF_KTHREAD = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @exit_thread(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @current, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = load i32, ptr @PF_KTHREAD, align 4, !tbaa !13
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = tail call i32 @dsemul_thread_cleanup(ptr noundef %0) #2
br label %9
9: ; preds = %7, %1
ret void
}
declare i32 @dsemul_thread_cleanup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| linux_arch_mips_kernel_extr_process.c_exit_thread |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_check_card.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_check_card.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mspro_block_check_card], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mspro_block_check_card(ptr noundef %0) #0 {
%2 = tail call ptr @memstick_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = icmp eq i32 %3, 1
%5 = zext i1 %4 to i32
ret i32 %5
}
declare ptr @memstick_get_drvdata(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mspro_block_data", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_check_card.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/memstick/core/extr_mspro_block.c_mspro_block_check_card.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @mspro_block_check_card], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @mspro_block_check_card(ptr noundef %0) #0 {
%2 = tail call ptr @memstick_get_drvdata(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = icmp eq i32 %3, 1
%5 = zext i1 %4 to i32
ret i32 %5
}
declare ptr @memstick_get_drvdata(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mspro_block_data", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_memstick_core_extr_mspro_block.c_mspro_block_check_card |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_file_contents.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_file_contents.c"
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.TYPE_7__ = type { ptr, ptr, ptr, ptr }
@txn_body_get_file_contents = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @base_file_contents], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @base_file_contents(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = tail call ptr @apr_pcalloc(ptr noundef %3, i32 noundef 32) #2
%6 = getelementptr inbounds %struct.TYPE_7__, ptr %5, i64 0, i32 3
store ptr %1, ptr %6, align 8, !tbaa !5
store ptr %2, ptr %5, align 8, !tbaa !10
%7 = getelementptr inbounds %struct.TYPE_7__, ptr %5, i64 0, i32 2
store ptr %3, ptr %7, align 8, !tbaa !11
%8 = load i32, ptr %1, align 4, !tbaa !12
%9 = load i32, ptr @txn_body_get_file_contents, align 4, !tbaa !15
%10 = load i32, ptr @FALSE, align 4, !tbaa !15
%11 = tail call i32 @svn_fs_base__retry_txn(i32 noundef %8, i32 noundef %9, ptr noundef nonnull %5, i32 noundef %10, ptr noundef %3) #2
%12 = tail call i32 @SVN_ERR(i32 noundef %11) #2
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %5, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !16
store ptr %14, ptr %0, align 8, !tbaa !17
%15 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !17
ret ptr %15
}
declare ptr @apr_pcalloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @svn_fs_base__retry_txn(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!6, !7, i64 8}
!17 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_file_contents.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_file_contents.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@txn_body_get_file_contents = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @base_file_contents], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @base_file_contents(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = tail call ptr @apr_pcalloc(ptr noundef %3, i32 noundef 32) #2
%6 = getelementptr inbounds i8, ptr %5, i64 24
store ptr %1, ptr %6, align 8, !tbaa !6
store ptr %2, ptr %5, align 8, !tbaa !11
%7 = getelementptr inbounds i8, ptr %5, i64 16
store ptr %3, ptr %7, align 8, !tbaa !12
%8 = load i32, ptr %1, align 4, !tbaa !13
%9 = load i32, ptr @txn_body_get_file_contents, align 4, !tbaa !16
%10 = load i32, ptr @FALSE, align 4, !tbaa !16
%11 = tail call i32 @svn_fs_base__retry_txn(i32 noundef %8, i32 noundef %9, ptr noundef nonnull %5, i32 noundef %10, ptr noundef %3) #2
%12 = tail call i32 @SVN_ERR(i32 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %5, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !17
store ptr %14, ptr %0, align 8, !tbaa !18
%15 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !18
ret ptr %15
}
declare ptr @apr_pcalloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @svn_fs_base__retry_txn(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!7, !8, i64 16}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!7, !8, i64 8}
!18 = !{!8, !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_fs_base_extr_tree.c_base_file_contents |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/bcm63xx/extr_timer.c_bcm63xx_timer_register.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/bcm63xx/extr_timer.c_bcm63xx_timer_register.c"
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.TYPE_2__ = type { ptr, ptr }
@BCM63XX_TIMER_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@timer_data_lock = dso_local global i32 0, align 4
@timer_data = dso_local local_unnamed_addr global ptr null, align 8
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @bcm63xx_timer_register(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @BCM63XX_TIMER_COUNT, align 4, !tbaa !5
%5 = icmp sgt i32 %4, %0
%6 = icmp ne ptr %1, null
%7 = and i1 %6, %5
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr @EINVAL, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %27
11: ; preds = %3
%12 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @timer_data_lock, i64 noundef undef) #2
%13 = load ptr, ptr @timer_data, align 8, !tbaa !9
%14 = sext i32 %0 to i64
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !11
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %11
%19 = load i32, ptr @EBUSY, align 4, !tbaa !5
%20 = sub nsw i32 0, %19
br label %24
21: ; preds = %11
store ptr %1, ptr %15, align 8, !tbaa !11
%22 = load ptr, ptr @timer_data, align 8, !tbaa !9
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %14, i32 1
store ptr %2, ptr %23, align 8, !tbaa !13
br label %24
24: ; preds = %21, %18
%25 = phi i32 [ %20, %18 ], [ 0, %21 ]
%26 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @timer_data_lock, i64 noundef undef) #2
br label %27
27: ; preds = %24, %8
%28 = phi i32 [ %25, %24 ], [ %10, %8 ]
ret i32 %28
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/bcm63xx/extr_timer.c_bcm63xx_timer_register.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/mips/bcm63xx/extr_timer.c_bcm63xx_timer_register.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, ptr }
@BCM63XX_TIMER_COUNT = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@timer_data_lock = common global i32 0, align 4
@timer_data = common local_unnamed_addr global ptr null, align 8
@EBUSY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @bcm63xx_timer_register(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @BCM63XX_TIMER_COUNT, align 4, !tbaa !6
%5 = icmp sgt i32 %4, %0
%6 = icmp ne ptr %1, null
%7 = and i1 %6, %5
br i1 %7, label %11, label %8
8: ; preds = %3
%9 = load i32, ptr @EINVAL, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %27
11: ; preds = %3
%12 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @timer_data_lock, i64 noundef undef) #2
%13 = load ptr, ptr @timer_data, align 8, !tbaa !10
%14 = sext i32 %0 to i64
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !12
%17 = icmp eq ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %11
%19 = load i32, ptr @EBUSY, align 4, !tbaa !6
%20 = sub nsw i32 0, %19
br label %24
21: ; preds = %11
store ptr %1, ptr %15, align 8, !tbaa !12
%22 = load ptr, ptr @timer_data, align 8, !tbaa !10
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i64 %14, i32 1
store ptr %2, ptr %23, align 8, !tbaa !14
br label %24
24: ; preds = %21, %18
%25 = phi i32 [ %20, %18 ], [ 0, %21 ]
%26 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @timer_data_lock, i64 noundef undef) #2
br label %27
27: ; preds = %24, %8
%28 = phi i32 [ %25, %24 ], [ %10, %8 ]
ret i32 %28
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
| fastsocket_kernel_arch_mips_bcm63xx_extr_timer.c_bcm63xx_timer_register |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_config_rx_mode.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_config_rx_mode.c"
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.bnx2x_rx_mode_ramrod_params = type { ptr, i32 }
%struct.TYPE_2__ = type { ptr, ptr }
@RAMROD_COMP_WAIT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @bnx2x_config_rx_mode(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = tail call i32 %4(ptr noundef %0, ptr noundef nonnull %1) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %17, label %7
7: ; preds = %2
%8 = load i32, ptr @RAMROD_COMP_WAIT, align 4, !tbaa !13
%9 = getelementptr inbounds %struct.bnx2x_rx_mode_ramrod_params, ptr %1, i64 0, i32 1
%10 = tail call i64 @test_bit(i32 noundef %8, ptr noundef nonnull %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %7
%13 = load ptr, ptr %1, align 8, !tbaa !5
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 0, i32 1
%15 = load ptr, ptr %14, align 8, !tbaa !14
%16 = tail call i32 %15(ptr noundef %0, ptr noundef nonnull %1) #2
br label %17
17: ; preds = %12, %7, %2
%18 = phi i32 [ %5, %2 ], [ %5, %7 ], [ %16, %12 ]
ret i32 %18
}
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bnx2x_rx_mode_ramrod_params", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0, !7, i64 8}
!13 = !{!10, !10, i64 0}
!14 = !{!12, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_config_rx_mode.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_config_rx_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RAMROD_COMP_WAIT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @bnx2x_config_rx_mode(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = tail call i32 %4(ptr noundef %0, ptr noundef nonnull %1) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %20, label %7
7: ; preds = %2
%8 = load i32, ptr @RAMROD_COMP_WAIT, align 4, !tbaa !14
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = tail call i64 @test_bit(i32 noundef %8, ptr noundef nonnull %9) #2
%11 = icmp eq i64 %10, 0
br i1 %11, label %18, label %12
12: ; preds = %7
%13 = load ptr, ptr %1, align 8, !tbaa !6
%14 = getelementptr inbounds i8, ptr %13, i64 8
%15 = load ptr, ptr %14, align 8, !tbaa !15
%16 = tail call i32 %15(ptr noundef %0, ptr noundef nonnull %1) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %12, %7
%19 = phi i32 [ 0, %12 ], [ %5, %7 ]
br label %20
20: ; preds = %12, %2, %18
%21 = phi i32 [ %19, %18 ], [ %5, %2 ], [ %16, %12 ]
ret i32 %21
}
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bnx2x_rx_mode_ramrod_params", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0, !8, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!13, !8, i64 8}
| linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_sp.c_bnx2x_config_rx_mode |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_mac80211-ops.c_ath5k_get_stats.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_mac80211-ops.c_ath5k_get_stats.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ath5k_get_stats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ath5k_get_stats(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @ath5k_hw_update_mib_counters(ptr noundef %3) #2
%5 = load <4 x i32>, ptr %3, align 4, !tbaa !10
store <4 x i32> %5, ptr %1, align 4, !tbaa !10
ret i32 0
}
declare i32 @ath5k_hw_update_mib_counters(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ieee80211_hw", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_mac80211-ops.c_ath5k_get_stats.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_mac80211-ops.c_ath5k_get_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ath5k_get_stats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ath5k_get_stats(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @ath5k_hw_update_mib_counters(ptr noundef %3) #2
%5 = load <4 x i32>, ptr %3, align 4, !tbaa !11
store <4 x i32> %5, ptr %1, align 4, !tbaa !11
ret i32 0
}
declare i32 @ath5k_hw_update_mib_counters(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ieee80211_hw", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_net_wireless_ath_ath5k_extr_mac80211-ops.c_ath5k_get_stats |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_solib-sunos.c_sunos_clear_solib.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_solib-sunos.c_sunos_clear_solib.c"
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"
@debug_base = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @sunos_clear_solib], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable
define internal void @sunos_clear_solib() #0 {
store i64 0, ptr @debug_base, align 8, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_solib-sunos.c_sunos_clear_solib.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_solib-sunos.c_sunos_clear_solib.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@debug_base = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @sunos_clear_solib], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal void @sunos_clear_solib() #0 {
store i64 0, ptr @debug_base, align 8, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_gdb_gdb_extr_solib-sunos.c_sunos_clear_solib |
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/udc/extr_renesas_usb3.c_usb3_irq_epc_pipe0_bfrdy.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/udc/extr_renesas_usb3.c_usb3_irq_epc_pipe0_bfrdy.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @usb3_irq_epc_pipe0_bfrdy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @usb3_irq_epc_pipe0_bfrdy(ptr noundef %0) #0 {
%2 = tail call ptr @usb3_get_ep(ptr noundef %0, i32 noundef 0) #2
%3 = tail call ptr @usb3_get_request(ptr noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @usb3_p0_xfer(ptr noundef %2, ptr noundef nonnull %3) #2
br label %7
7: ; preds = %1, %5
ret void
}
declare ptr @usb3_get_ep(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @usb3_get_request(ptr noundef) local_unnamed_addr #1
declare i32 @usb3_p0_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/udc/extr_renesas_usb3.c_usb3_irq_epc_pipe0_bfrdy.c'
source_filename = "AnghaBench/linux/drivers/usb/gadget/udc/extr_renesas_usb3.c_usb3_irq_epc_pipe0_bfrdy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @usb3_irq_epc_pipe0_bfrdy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @usb3_irq_epc_pipe0_bfrdy(ptr noundef %0) #0 {
%2 = tail call ptr @usb3_get_ep(ptr noundef %0, i32 noundef 0) #2
%3 = tail call ptr @usb3_get_request(ptr noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i32 @usb3_p0_xfer(ptr noundef %2, ptr noundef nonnull %3) #2
br label %7
7: ; preds = %1, %5
ret void
}
declare ptr @usb3_get_ep(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @usb3_get_request(ptr noundef) local_unnamed_addr #1
declare i32 @usb3_p0_xfer(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_usb_gadget_udc_extr_renesas_usb3.c_usb3_irq_epc_pipe0_bfrdy |
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_hotkey.c_HOTKEY_LButtonDown.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_hotkey.c_HOTKEY_LButtonDown.c"
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"
@GWL_STYLE = dso_local local_unnamed_addr global i32 0, align 4
@WS_DISABLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @HOTKEY_LButtonDown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @HOTKEY_LButtonDown(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @GWL_STYLE, align 4, !tbaa !10
%4 = tail call i32 @GetWindowLongW(i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @WS_DISABLED, align 4, !tbaa !10
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = tail call i32 @SetFocus(i32 noundef %9) #2
br label %11
11: ; preds = %8, %1
ret i32 0
}
declare i32 @GetWindowLongW(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SetFocus(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_hotkey.c_HOTKEY_LButtonDown.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_hotkey.c_HOTKEY_LButtonDown.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GWL_STYLE = common local_unnamed_addr global i32 0, align 4
@WS_DISABLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @HOTKEY_LButtonDown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @HOTKEY_LButtonDown(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @GWL_STYLE, align 4, !tbaa !11
%4 = tail call i32 @GetWindowLongW(i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @WS_DISABLED, align 4, !tbaa !11
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = tail call i32 @SetFocus(i32 noundef %9) #2
br label %11
11: ; preds = %8, %1
ret i32 0
}
declare i32 @GetWindowLongW(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SetFocus(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| reactos_dll_win32_comctl32_extr_hotkey.c_HOTKEY_LButtonDown |
; ModuleID = 'AnghaBench/kphp-kdb/photo/extr_photo-data.c_user_unloaded_free.c'
source_filename = "AnghaBench/kphp-kdb/photo/extr_photo-data.c_user_unloaded_free.c"
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.TYPE_4__ = type { i32, i32, i32, i32 }
@data_free_foreach = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @user_unloaded_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @user_free_changes(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%4 = tail call i32 @lookup_free(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%6 = tail call i32 @set_int_free(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%8 = load i32, ptr @data_free_foreach, align 4, !tbaa !5
%9 = tail call i32 @map_int_vptr_foreach(ptr noundef nonnull %7, i32 noundef %8) #2
%10 = tail call i32 @map_int_vptr_free(ptr noundef nonnull %7) #2
%11 = tail call i32 @data_free(ptr noundef %0) #2
ret void
}
declare i32 @user_free_changes(ptr noundef) local_unnamed_addr #1
declare i32 @lookup_free(ptr noundef) local_unnamed_addr #1
declare i32 @set_int_free(ptr noundef) local_unnamed_addr #1
declare i32 @map_int_vptr_foreach(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @map_int_vptr_free(ptr noundef) local_unnamed_addr #1
declare i32 @data_free(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/kphp-kdb/photo/extr_photo-data.c_user_unloaded_free.c'
source_filename = "AnghaBench/kphp-kdb/photo/extr_photo-data.c_user_unloaded_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@data_free_foreach = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @user_unloaded_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @user_free_changes(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %0, i64 12
%4 = tail call i32 @lookup_free(ptr noundef nonnull %3) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = tail call i32 @set_int_free(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr @data_free_foreach, align 4, !tbaa !6
%9 = tail call i32 @map_int_vptr_foreach(ptr noundef nonnull %7, i32 noundef %8) #2
%10 = tail call i32 @map_int_vptr_free(ptr noundef nonnull %7) #2
%11 = tail call i32 @data_free(ptr noundef %0) #2
ret void
}
declare i32 @user_free_changes(ptr noundef) local_unnamed_addr #1
declare i32 @lookup_free(ptr noundef) local_unnamed_addr #1
declare i32 @set_int_free(ptr noundef) local_unnamed_addr #1
declare i32 @map_int_vptr_foreach(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @map_int_vptr_free(ptr noundef) local_unnamed_addr #1
declare i32 @data_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| kphp-kdb_photo_extr_photo-data.c_user_unloaded_free |
; ModuleID = 'AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5_pas.c_adsp_load.c'
source_filename = "AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5_pas.c_adsp_load.c"
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.rproc = type { i32, i64 }
%struct.qcom_adsp = type { i32, i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @adsp_load], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @adsp_load(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.rproc, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds %struct.qcom_adsp, ptr %5, i64 0, i32 5
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = load i32, ptr %0, align 8, !tbaa !13
%9 = getelementptr inbounds %struct.qcom_adsp, ptr %5, i64 0, i32 4
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = getelementptr inbounds %struct.qcom_adsp, ptr %5, i64 0, i32 3
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = getelementptr inbounds %struct.qcom_adsp, ptr %5, i64 0, i32 2
%14 = load i32, ptr %13, align 4, !tbaa !16
%15 = getelementptr inbounds %struct.qcom_adsp, ptr %5, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !17
%17 = tail call i32 @qcom_mdt_load(i32 noundef %7, ptr noundef %1, i32 noundef %8, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16, ptr noundef %5) #2
ret i32 %17
}
declare i32 @qcom_mdt_load(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"rproc", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !7, i64 20}
!12 = !{!"qcom_adsp", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!13 = !{!6, !7, i64 0}
!14 = !{!12, !7, i64 16}
!15 = !{!12, !7, i64 12}
!16 = !{!12, !7, i64 8}
!17 = !{!12, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5_pas.c_adsp_load.c'
source_filename = "AnghaBench/linux/drivers/remoteproc/extr_qcom_q6v5_pas.c_adsp_load.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @adsp_load], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @adsp_load(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds i8, ptr %5, i64 20
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = load i32, ptr %0, align 8, !tbaa !14
%9 = getelementptr inbounds i8, ptr %5, i64 16
%10 = load i32, ptr %9, align 4, !tbaa !15
%11 = getelementptr inbounds i8, ptr %5, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !16
%13 = getelementptr inbounds i8, ptr %5, i64 8
%14 = load i32, ptr %13, align 4, !tbaa !17
%15 = getelementptr inbounds i8, ptr %5, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !18
%17 = tail call i32 @qcom_mdt_load(i32 noundef %7, ptr noundef %1, i32 noundef %8, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16, ptr noundef %5) #2
ret i32 %17
}
declare i32 @qcom_mdt_load(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"rproc", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!13, !8, i64 20}
!13 = !{!"qcom_adsp", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!14 = !{!7, !8, i64 0}
!15 = !{!13, !8, i64 16}
!16 = !{!13, !8, i64 12}
!17 = !{!13, !8, i64 8}
!18 = !{!13, !8, i64 4}
| linux_drivers_remoteproc_extr_qcom_q6v5_pas.c_adsp_load |
; ModuleID = 'AnghaBench/linux/sound/ppc/extr_snd_ps3.c_snd_ps3_pcm_pointer.c'
source_filename = "AnghaBench/linux/sound/ppc/extr_snd_ps3.c_snd_ps3_pcm_pointer.c"
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.snd_ps3_card_info = type { i32, ptr, ptr }
@SND_PS3_CH_L = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ps3_pcm_pointer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_ps3_pcm_pointer(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = tail call i32 @spin_lock(ptr noundef %2) #2
%4 = getelementptr inbounds %struct.snd_ps3_card_info, ptr %2, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i64, ptr @SND_PS3_CH_L, align 8, !tbaa !11
%7 = getelementptr inbounds i64, ptr %5, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.snd_ps3_card_info, ptr %2, i64 0, i32 1
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = getelementptr inbounds i64, ptr %10, i64 %6
%12 = load i64, ptr %11, align 8, !tbaa !11
%13 = sub nsw i64 %8, %12
%14 = tail call i32 @spin_unlock(ptr noundef %2) #2
%15 = load i32, ptr %0, align 4, !tbaa !14
%16 = shl i64 %13, 1
%17 = tail call i32 @bytes_to_frames(i32 noundef %15, i64 noundef %16) #2
ret i32 %17
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @bytes_to_frames(i32 noundef, i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"snd_ps3_card_info", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !7, i64 0}
!15 = !{!"snd_pcm_substream", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/ppc/extr_snd_ps3.c_snd_ps3_pcm_pointer.c'
source_filename = "AnghaBench/linux/sound/ppc/extr_snd_ps3.c_snd_ps3_pcm_pointer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SND_PS3_CH_L = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_ps3_pcm_pointer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_ps3_pcm_pointer(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = tail call i32 @spin_lock(ptr noundef %2) #2
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i64, ptr @SND_PS3_CH_L, align 8, !tbaa !12
%7 = getelementptr inbounds i64, ptr %5, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %2, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = getelementptr inbounds i64, ptr %10, i64 %6
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = sub nsw i64 %8, %12
%14 = tail call i32 @spin_unlock(ptr noundef %2) #2
%15 = load i32, ptr %0, align 4, !tbaa !15
%16 = shl i64 %13, 1
%17 = tail call i32 @bytes_to_frames(i32 noundef %15, i64 noundef %16) #2
ret i32 %17
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @bytes_to_frames(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"snd_ps3_card_info", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!16, !8, i64 0}
!16 = !{!"snd_pcm_substream", !8, i64 0}
| linux_sound_ppc_extr_snd_ps3.c_snd_ps3_pcm_pointer |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_svndiff.c_send_simple_insertion_window.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_svndiff.c_send_simple_insertion_window.c"
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.TYPE_7__ = type { i64, i64, ptr, i64, ptr }
%struct.TYPE_5__ = type { i64, i64, i64 }
%struct.encoder_baton = type { i32, i32, i64 }
%struct.TYPE_6__ = type { i64, ptr }
@SVNDIFF_HEADER_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@SVN__MAX_ENCODED_UINT_LEN = dso_local local_unnamed_addr global i32 0, align 4
@MAX_INSTRUCTION_LEN = dso_local local_unnamed_addr global i32 0, align 4
@svn_txdelta_new = dso_local local_unnamed_addr global i64 0, align 8
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @send_simple_insertion_window], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @send_simple_insertion_window(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = load i32, ptr @SVNDIFF_HEADER_SIZE, align 4, !tbaa !5
%6 = load i32, ptr @SVN__MAX_ENCODED_UINT_LEN, align 4, !tbaa !5
%7 = mul nsw i32 %6, 5
%8 = add nsw i32 %7, %5
%9 = load i32, ptr @MAX_INSTRUCTION_LEN, align 4, !tbaa !5
%10 = add nsw i32 %8, %9
%11 = zext i32 %10 to i64
%12 = alloca i8, i64 %11, align 16
%13 = zext i32 %9 to i64
%14 = alloca i8, i64 %13, align 16
%15 = ptrtoint ptr %14 to i64
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%16 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
%17 = load ptr, ptr %16, align 8, !tbaa !9
%18 = load i64, ptr %17, align 8, !tbaa !13
store i64 %18, ptr %4, align 8, !tbaa !15
%19 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = load i64, ptr %20, align 8, !tbaa !17
%22 = load i64, ptr @svn_txdelta_new, align 8, !tbaa !15
%23 = icmp eq i64 %21, %22
%24 = zext i1 %23 to i32
%25 = tail call i32 @assert(i32 noundef %24) #3
%26 = load ptr, ptr %19, align 8, !tbaa !16
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %26, i64 0, i32 1
%28 = load i64, ptr %27, align 8, !tbaa !19
%29 = load i64, ptr %0, align 8, !tbaa !20
%30 = icmp eq i64 %28, %29
%31 = zext i1 %30 to i32
%32 = tail call i32 @assert(i32 noundef %31) #3
%33 = load ptr, ptr %19, align 8, !tbaa !16
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %33, i64 0, i32 2
%35 = load i64, ptr %34, align 8, !tbaa !21
%36 = icmp eq i64 %35, 0
%37 = zext i1 %36 to i32
%38 = tail call i32 @assert(i32 noundef %37) #3
%39 = getelementptr inbounds %struct.encoder_baton, ptr %1, i64 0, i32 2
%40 = load i64, ptr %39, align 8, !tbaa !22
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %52
42: ; preds = %2
%43 = load i64, ptr @TRUE, align 8, !tbaa !15
store i64 %43, ptr %39, align 8, !tbaa !22
%44 = getelementptr inbounds %struct.encoder_baton, ptr %1, i64 0, i32 1
%45 = load i32, ptr %44, align 4, !tbaa !24
%46 = tail call i32 @get_svndiff_header(i32 noundef %45) #3
%47 = load i32, ptr @SVNDIFF_HEADER_SIZE, align 4, !tbaa !5
%48 = call i32 @memcpy(ptr noundef nonnull %12, i32 noundef %46, i32 noundef %47) #3
%49 = load i32, ptr @SVNDIFF_HEADER_SIZE, align 4, !tbaa !5
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %12, i64 %50
br label %52
52: ; preds = %2, %42
%53 = phi ptr [ %51, %42 ], [ %12, %2 ]
%54 = load i64, ptr %0, align 8, !tbaa !20
%55 = icmp ult i64 %54, 64
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = trunc i64 %54 to i8
%58 = or disjoint i8 %57, -128
store i8 %58, ptr %14, align 16, !tbaa !25
br label %65
59: ; preds = %52
store i8 -128, ptr %14, align 16, !tbaa !25
%60 = getelementptr inbounds i8, ptr %14, i64 1
%61 = call ptr @svn__encode_uint(ptr noundef nonnull %60, i64 noundef %54) #3
%62 = ptrtoint ptr %61 to i64
%63 = ptrtoint ptr %14 to i64
%64 = sub i64 %62, %63
br label %65
65: ; preds = %59, %56
%66 = phi i64 [ 1, %56 ], [ %64, %59 ]
%67 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
%68 = load i64, ptr %67, align 8, !tbaa !26
%69 = call ptr @svn__encode_uint(ptr noundef nonnull %53, i64 noundef %68) #3
%70 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%71 = load i64, ptr %70, align 8, !tbaa !27
%72 = call ptr @svn__encode_uint(ptr noundef %69, i64 noundef %71) #3
%73 = load i64, ptr %0, align 8, !tbaa !20
%74 = call ptr @svn__encode_uint(ptr noundef %72, i64 noundef %73) #3
%75 = trunc i64 %66 to i8
store i8 %75, ptr %74, align 1, !tbaa !25
%76 = getelementptr inbounds i8, ptr %74, i64 1
%77 = call ptr @svn__encode_uint(ptr noundef nonnull %76, i64 noundef %18) #3
%78 = icmp eq i64 %66, 0
br i1 %78, label %152, label %79
79: ; preds = %65
%80 = ptrtoint ptr %77 to i64
%81 = icmp ult i64 %66, 8
%82 = sub i64 %80, %15
%83 = icmp ult i64 %82, 32
%84 = select i1 %81, i1 true, i1 %83
br i1 %84, label %116, label %85
85: ; preds = %79
%86 = icmp ult i64 %66, 32
br i1 %86, label %104, label %87
87: ; preds = %85
%88 = and i64 %66, -32
br label %89
89: ; preds = %89, %87
%90 = phi i64 [ 0, %87 ], [ %97, %89 ]
%91 = getelementptr inbounds i8, ptr %14, i64 %90
%92 = getelementptr inbounds i8, ptr %91, i64 16
%93 = load <16 x i8>, ptr %91, align 16, !tbaa !25
%94 = load <16 x i8>, ptr %92, align 16, !tbaa !25
%95 = getelementptr inbounds i8, ptr %77, i64 %90
%96 = getelementptr inbounds i8, ptr %95, i64 16
store <16 x i8> %93, ptr %95, align 1, !tbaa !25
store <16 x i8> %94, ptr %96, align 1, !tbaa !25
%97 = add nuw i64 %90, 32
%98 = icmp eq i64 %97, %88
br i1 %98, label %99, label %89, !llvm.loop !28
99: ; preds = %89
%100 = icmp eq i64 %66, %88
br i1 %100, label %152, label %101
101: ; preds = %99
%102 = and i64 %66, 24
%103 = icmp eq i64 %102, 0
br i1 %103, label %116, label %104
104: ; preds = %85, %101
%105 = phi i64 [ %88, %101 ], [ 0, %85 ]
%106 = and i64 %66, -8
br label %107
107: ; preds = %107, %104
%108 = phi i64 [ %105, %104 ], [ %112, %107 ]
%109 = getelementptr inbounds i8, ptr %14, i64 %108
%110 = load <8 x i8>, ptr %109, align 8, !tbaa !25
%111 = getelementptr inbounds i8, ptr %77, i64 %108
store <8 x i8> %110, ptr %111, align 1, !tbaa !25
%112 = add nuw i64 %108, 8
%113 = icmp eq i64 %112, %106
br i1 %113, label %114, label %107, !llvm.loop !32
114: ; preds = %107
%115 = icmp eq i64 %66, %106
br i1 %115, label %152, label %116
116: ; preds = %79, %101, %114
%117 = phi i64 [ 0, %79 ], [ %88, %101 ], [ %106, %114 ]
%118 = and i64 %66, 3
%119 = icmp eq i64 %118, 0
br i1 %119, label %129, label %120
120: ; preds = %116, %120
%121 = phi i64 [ %126, %120 ], [ %117, %116 ]
%122 = phi i64 [ %127, %120 ], [ 0, %116 ]
%123 = getelementptr inbounds i8, ptr %14, i64 %121
%124 = load i8, ptr %123, align 1, !tbaa !25
%125 = getelementptr inbounds i8, ptr %77, i64 %121
store i8 %124, ptr %125, align 1, !tbaa !25
%126 = add nuw i64 %121, 1
%127 = add i64 %122, 1
%128 = icmp eq i64 %127, %118
br i1 %128, label %129, label %120, !llvm.loop !33
129: ; preds = %120, %116
%130 = phi i64 [ %117, %116 ], [ %126, %120 ]
%131 = sub i64 %117, %66
%132 = icmp ugt i64 %131, -4
br i1 %132, label %152, label %133
133: ; preds = %129, %133
%134 = phi i64 [ %150, %133 ], [ %130, %129 ]
%135 = getelementptr inbounds i8, ptr %14, i64 %134
%136 = load i8, ptr %135, align 1, !tbaa !25
%137 = getelementptr inbounds i8, ptr %77, i64 %134
store i8 %136, ptr %137, align 1, !tbaa !25
%138 = add nuw i64 %134, 1
%139 = getelementptr inbounds i8, ptr %14, i64 %138
%140 = load i8, ptr %139, align 1, !tbaa !25
%141 = getelementptr inbounds i8, ptr %77, i64 %138
store i8 %140, ptr %141, align 1, !tbaa !25
%142 = add nuw i64 %134, 2
%143 = getelementptr inbounds i8, ptr %14, i64 %142
%144 = load i8, ptr %143, align 1, !tbaa !25
%145 = getelementptr inbounds i8, ptr %77, i64 %142
store i8 %144, ptr %145, align 1, !tbaa !25
%146 = add nuw i64 %134, 3
%147 = getelementptr inbounds i8, ptr %14, i64 %146
%148 = load i8, ptr %147, align 1, !tbaa !25
%149 = getelementptr inbounds i8, ptr %77, i64 %146
store i8 %148, ptr %149, align 1, !tbaa !25
%150 = add nuw i64 %134, 4
%151 = icmp eq i64 %150, %66
br i1 %151, label %152, label %133, !llvm.loop !35
152: ; preds = %129, %133, %99, %114, %65
%153 = ptrtoint ptr %77 to i64
%154 = ptrtoint ptr %12 to i64
%155 = sub i64 %66, %154
%156 = add i64 %155, %153
store i64 %156, ptr %3, align 8, !tbaa !15
%157 = load i32, ptr %1, align 8, !tbaa !36
%158 = call i32 @svn_stream_write(i32 noundef %157, ptr noundef nonnull %12, ptr noundef nonnull %3) #3
%159 = call i32 @SVN_ERR(i32 noundef %158) #3
%160 = icmp eq i64 %18, 0
br i1 %160, label %168, label %161
161: ; preds = %152
%162 = load i32, ptr %1, align 8, !tbaa !36
%163 = load ptr, ptr %16, align 8, !tbaa !9
%164 = getelementptr inbounds %struct.TYPE_6__, ptr %163, i64 0, i32 1
%165 = load ptr, ptr %164, align 8, !tbaa !37
%166 = call i32 @svn_stream_write(i32 noundef %162, ptr noundef %165, ptr noundef nonnull %4) #3
%167 = call i32 @SVN_ERR(i32 noundef %166) #3
br label %168
168: ; preds = %161, %152
%169 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !38
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %169
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_svndiff_header(i32 noundef) local_unnamed_addr #2
declare ptr @svn__encode_uint(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_stream_write(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 16}
!10 = !{!"TYPE_7__", !11, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !12, i64 32}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_6__", !11, i64 0, !12, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !12, i64 32}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_5__", !11, i64 0, !11, i64 8, !11, i64 16}
!19 = !{!18, !11, i64 8}
!20 = !{!10, !11, i64 0}
!21 = !{!18, !11, i64 16}
!22 = !{!23, !11, i64 8}
!23 = !{!"encoder_baton", !6, i64 0, !6, i64 4, !11, i64 8}
!24 = !{!23, !6, i64 4}
!25 = !{!7, !7, i64 0}
!26 = !{!10, !11, i64 24}
!27 = !{!10, !11, i64 8}
!28 = distinct !{!28, !29, !30, !31}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!"llvm.loop.isvectorized", i32 1}
!31 = !{!"llvm.loop.unroll.runtime.disable"}
!32 = distinct !{!32, !29, !30, !31}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.unroll.disable"}
!35 = distinct !{!35, !29, !30}
!36 = !{!23, !6, i64 0}
!37 = !{!14, !12, i64 8}
!38 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_svndiff.c_send_simple_insertion_window.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_delta/extr_svndiff.c_send_simple_insertion_window.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVNDIFF_HEADER_SIZE = common local_unnamed_addr global i32 0, align 4
@SVN__MAX_ENCODED_UINT_LEN = common local_unnamed_addr global i32 0, align 4
@MAX_INSTRUCTION_LEN = common local_unnamed_addr global i32 0, align 4
@svn_txdelta_new = common local_unnamed_addr global i64 0, align 8
@TRUE = common local_unnamed_addr global i64 0, align 8
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @send_simple_insertion_window], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @send_simple_insertion_window(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = load i32, ptr @SVNDIFF_HEADER_SIZE, align 4, !tbaa !6
%6 = load i32, ptr @SVN__MAX_ENCODED_UINT_LEN, align 4, !tbaa !6
%7 = mul nsw i32 %6, 5
%8 = add nsw i32 %7, %5
%9 = load i32, ptr @MAX_INSTRUCTION_LEN, align 4, !tbaa !6
%10 = add nsw i32 %8, %9
%11 = zext i32 %10 to i64
%12 = alloca i8, i64 %11, align 1
%13 = zext i32 %9 to i64
%14 = alloca i8, i64 %13, align 1
%15 = ptrtoint ptr %14 to i64
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%16 = getelementptr inbounds i8, ptr %0, i64 16
%17 = load ptr, ptr %16, align 8, !tbaa !10
%18 = load i64, ptr %17, align 8, !tbaa !14
store i64 %18, ptr %4, align 8, !tbaa !16
%19 = getelementptr inbounds i8, ptr %0, i64 32
%20 = load ptr, ptr %19, align 8, !tbaa !17
%21 = load i64, ptr %20, align 8, !tbaa !18
%22 = load i64, ptr @svn_txdelta_new, align 8, !tbaa !16
%23 = icmp eq i64 %21, %22
%24 = zext i1 %23 to i32
%25 = tail call i32 @assert(i32 noundef %24) #3
%26 = load ptr, ptr %19, align 8, !tbaa !17
%27 = getelementptr inbounds i8, ptr %26, i64 8
%28 = load i64, ptr %27, align 8, !tbaa !20
%29 = load i64, ptr %0, align 8, !tbaa !21
%30 = icmp eq i64 %28, %29
%31 = zext i1 %30 to i32
%32 = tail call i32 @assert(i32 noundef %31) #3
%33 = load ptr, ptr %19, align 8, !tbaa !17
%34 = getelementptr inbounds i8, ptr %33, i64 16
%35 = load i64, ptr %34, align 8, !tbaa !22
%36 = icmp eq i64 %35, 0
%37 = zext i1 %36 to i32
%38 = tail call i32 @assert(i32 noundef %37) #3
%39 = getelementptr inbounds i8, ptr %1, i64 8
%40 = load i64, ptr %39, align 8, !tbaa !23
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %52
42: ; preds = %2
%43 = load i64, ptr @TRUE, align 8, !tbaa !16
store i64 %43, ptr %39, align 8, !tbaa !23
%44 = getelementptr inbounds i8, ptr %1, i64 4
%45 = load i32, ptr %44, align 4, !tbaa !25
%46 = tail call i32 @get_svndiff_header(i32 noundef %45) #3
%47 = load i32, ptr @SVNDIFF_HEADER_SIZE, align 4, !tbaa !6
%48 = call i32 @memcpy(ptr noundef nonnull %12, i32 noundef %46, i32 noundef %47) #3
%49 = load i32, ptr @SVNDIFF_HEADER_SIZE, align 4, !tbaa !6
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %12, i64 %50
br label %52
52: ; preds = %2, %42
%53 = phi ptr [ %51, %42 ], [ %12, %2 ]
%54 = load i64, ptr %0, align 8, !tbaa !21
%55 = icmp ult i64 %54, 64
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = trunc nuw i64 %54 to i8
%58 = or disjoint i8 %57, -128
store i8 %58, ptr %14, align 1, !tbaa !26
br label %65
59: ; preds = %52
store i8 -128, ptr %14, align 1, !tbaa !26
%60 = getelementptr inbounds i8, ptr %14, i64 1
%61 = call ptr @svn__encode_uint(ptr noundef nonnull %60, i64 noundef %54) #3
%62 = ptrtoint ptr %61 to i64
%63 = ptrtoint ptr %14 to i64
%64 = sub i64 %62, %63
br label %65
65: ; preds = %59, %56
%66 = phi i64 [ 1, %56 ], [ %64, %59 ]
%67 = getelementptr inbounds i8, ptr %0, i64 24
%68 = load i64, ptr %67, align 8, !tbaa !27
%69 = call ptr @svn__encode_uint(ptr noundef nonnull %53, i64 noundef %68) #3
%70 = getelementptr inbounds i8, ptr %0, i64 8
%71 = load i64, ptr %70, align 8, !tbaa !28
%72 = call ptr @svn__encode_uint(ptr noundef %69, i64 noundef %71) #3
%73 = load i64, ptr %0, align 8, !tbaa !21
%74 = call ptr @svn__encode_uint(ptr noundef %72, i64 noundef %73) #3
%75 = trunc i64 %66 to i8
store i8 %75, ptr %74, align 1, !tbaa !26
%76 = getelementptr inbounds i8, ptr %74, i64 1
%77 = call ptr @svn__encode_uint(ptr noundef nonnull %76, i64 noundef %18) #3
%78 = icmp eq i64 %66, 0
br i1 %78, label %131, label %79
79: ; preds = %65
%80 = ptrtoint ptr %77 to i64
%81 = icmp ult i64 %66, 8
%82 = sub i64 %80, %15
%83 = icmp ult i64 %82, 64
%84 = select i1 %81, i1 true, i1 %83
br i1 %84, label %122, label %85
85: ; preds = %79
%86 = icmp ult i64 %66, 64
br i1 %86, label %110, label %87
87: ; preds = %85
%88 = and i64 %66, -64
br label %89
89: ; preds = %89, %87
%90 = phi i64 [ 0, %87 ], [ %103, %89 ]
%91 = getelementptr inbounds i8, ptr %14, i64 %90
%92 = getelementptr inbounds i8, ptr %91, i64 16
%93 = getelementptr inbounds i8, ptr %91, i64 32
%94 = getelementptr inbounds i8, ptr %91, i64 48
%95 = load <16 x i8>, ptr %91, align 1, !tbaa !26
%96 = load <16 x i8>, ptr %92, align 1, !tbaa !26
%97 = load <16 x i8>, ptr %93, align 1, !tbaa !26
%98 = load <16 x i8>, ptr %94, align 1, !tbaa !26
%99 = getelementptr inbounds i8, ptr %77, i64 %90
%100 = getelementptr inbounds i8, ptr %99, i64 16
%101 = getelementptr inbounds i8, ptr %99, i64 32
%102 = getelementptr inbounds i8, ptr %99, i64 48
store <16 x i8> %95, ptr %99, align 1, !tbaa !26
store <16 x i8> %96, ptr %100, align 1, !tbaa !26
store <16 x i8> %97, ptr %101, align 1, !tbaa !26
store <16 x i8> %98, ptr %102, align 1, !tbaa !26
%103 = add nuw i64 %90, 64
%104 = icmp eq i64 %103, %88
br i1 %104, label %105, label %89, !llvm.loop !29
105: ; preds = %89
%106 = icmp eq i64 %66, %88
br i1 %106, label %131, label %107
107: ; preds = %105
%108 = and i64 %66, 56
%109 = icmp eq i64 %108, 0
br i1 %109, label %122, label %110
110: ; preds = %85, %107
%111 = phi i64 [ %88, %107 ], [ 0, %85 ]
%112 = and i64 %66, -8
br label %113
113: ; preds = %113, %110
%114 = phi i64 [ %111, %110 ], [ %118, %113 ]
%115 = getelementptr inbounds i8, ptr %14, i64 %114
%116 = load <8 x i8>, ptr %115, align 1, !tbaa !26
%117 = getelementptr inbounds i8, ptr %77, i64 %114
store <8 x i8> %116, ptr %117, align 1, !tbaa !26
%118 = add nuw i64 %114, 8
%119 = icmp eq i64 %118, %112
br i1 %119, label %120, label %113, !llvm.loop !33
120: ; preds = %113
%121 = icmp eq i64 %66, %112
br i1 %121, label %131, label %122
122: ; preds = %120, %79, %107
%123 = phi i64 [ 0, %79 ], [ %88, %107 ], [ %112, %120 ]
br label %124
124: ; preds = %122, %124
%125 = phi i64 [ %129, %124 ], [ %123, %122 ]
%126 = getelementptr inbounds i8, ptr %14, i64 %125
%127 = load i8, ptr %126, align 1, !tbaa !26
%128 = getelementptr inbounds i8, ptr %77, i64 %125
store i8 %127, ptr %128, align 1, !tbaa !26
%129 = add nuw i64 %125, 1
%130 = icmp eq i64 %129, %66
br i1 %130, label %131, label %124, !llvm.loop !34
131: ; preds = %124, %105, %120, %65
%132 = ptrtoint ptr %77 to i64
%133 = ptrtoint ptr %12 to i64
%134 = sub i64 %66, %133
%135 = add i64 %134, %132
store i64 %135, ptr %3, align 8, !tbaa !16
%136 = load i32, ptr %1, align 8, !tbaa !35
%137 = call i32 @svn_stream_write(i32 noundef %136, ptr noundef nonnull %12, ptr noundef nonnull %3) #3
%138 = call i32 @SVN_ERR(i32 noundef %137) #3
%139 = icmp eq i64 %18, 0
br i1 %139, label %147, label %140
140: ; preds = %131
%141 = load i32, ptr %1, align 8, !tbaa !35
%142 = load ptr, ptr %16, align 8, !tbaa !10
%143 = getelementptr inbounds i8, ptr %142, i64 8
%144 = load ptr, ptr %143, align 8, !tbaa !36
%145 = call i32 @svn_stream_write(i32 noundef %141, ptr noundef %144, ptr noundef nonnull %4) #3
%146 = call i32 @SVN_ERR(i32 noundef %145) #3
br label %147
147: ; preds = %140, %131
%148 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !37
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %148
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert(i32 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_svndiff_header(i32 noundef) local_unnamed_addr #2
declare ptr @svn__encode_uint(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_stream_write(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 16}
!11 = !{!"TYPE_7__", !12, i64 0, !12, i64 8, !13, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_6__", !12, i64 0, !13, i64 8}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !13, i64 32}
!18 = !{!19, !12, i64 0}
!19 = !{!"TYPE_5__", !12, i64 0, !12, i64 8, !12, i64 16}
!20 = !{!19, !12, i64 8}
!21 = !{!11, !12, i64 0}
!22 = !{!19, !12, i64 16}
!23 = !{!24, !12, i64 8}
!24 = !{!"encoder_baton", !7, i64 0, !7, i64 4, !12, i64 8}
!25 = !{!24, !7, i64 4}
!26 = !{!8, !8, i64 0}
!27 = !{!11, !12, i64 24}
!28 = !{!11, !12, i64 8}
!29 = distinct !{!29, !30, !31, !32}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!"llvm.loop.isvectorized", i32 1}
!32 = !{!"llvm.loop.unroll.runtime.disable"}
!33 = distinct !{!33, !30, !31, !32}
!34 = distinct !{!34, !30, !31}
!35 = !{!24, !7, i64 0}
!36 = !{!15, !13, i64 8}
!37 = !{!13, !13, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_delta_extr_svndiff.c_send_simple_insertion_window |
; ModuleID = 'AnghaBench/git/extr_apply.c_prepare_symlink_changes.c'
source_filename = "AnghaBench/git/extr_apply.c_prepare_symlink_changes.c"
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.patch = type { i64, i32, i64, i64, i64, i32, ptr }
@APPLY_SYMLINK_GOES_AWAY = dso_local local_unnamed_addr global i32 0, align 4
@APPLY_SYMLINK_IN_RESULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @prepare_symlink_changes], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @prepare_symlink_changes(ptr noundef %0, ptr noundef readonly %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %42, label %4
4: ; preds = %2, %38
%5 = phi ptr [ %40, %38 ], [ %1, %2 ]
%6 = getelementptr inbounds %struct.patch, ptr %5, i64 0, i32 2
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = icmp eq i64 %7, 0
br i1 %8, label %26, label %9
9: ; preds = %4
%10 = getelementptr inbounds %struct.patch, ptr %5, i64 0, i32 5
%11 = load i32, ptr %10, align 8, !tbaa !12
%12 = tail call i64 @S_ISLNK(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %26, label %14
14: ; preds = %9
%15 = getelementptr inbounds %struct.patch, ptr %5, i64 0, i32 4
%16 = load i64, ptr %15, align 8, !tbaa !13
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = getelementptr inbounds %struct.patch, ptr %5, i64 0, i32 3
%20 = load i64, ptr %19, align 8, !tbaa !14
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %18, %14
%23 = load i64, ptr %6, align 8, !tbaa !5
%24 = load i32, ptr @APPLY_SYMLINK_GOES_AWAY, align 4, !tbaa !15
%25 = tail call i32 @register_symlink_changes(ptr noundef %0, i64 noundef %23, i32 noundef %24) #2
br label %26
26: ; preds = %22, %18, %9, %4
%27 = load i64, ptr %5, align 8, !tbaa !16
%28 = icmp eq i64 %27, 0
br i1 %28, label %38, label %29
29: ; preds = %26
%30 = getelementptr inbounds %struct.patch, ptr %5, i64 0, i32 1
%31 = load i32, ptr %30, align 8, !tbaa !17
%32 = tail call i64 @S_ISLNK(i32 noundef %31) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %29
%35 = load i64, ptr %5, align 8, !tbaa !16
%36 = load i32, ptr @APPLY_SYMLINK_IN_RESULT, align 4, !tbaa !15
%37 = tail call i32 @register_symlink_changes(ptr noundef %0, i64 noundef %35, i32 noundef %36) #2
br label %38
38: ; preds = %26, %29, %34
%39 = getelementptr inbounds %struct.patch, ptr %5, i64 0, i32 6
%40 = load ptr, ptr %39, align 8, !tbaa !18
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %4, !llvm.loop !19
42: ; preds = %38, %2
ret void
}
declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #1
declare i32 @register_symlink_changes(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"patch", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 40}
!13 = !{!6, !7, i64 32}
!14 = !{!6, !7, i64 24}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!6, !10, i64 8}
!18 = !{!6, !11, i64 48}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/git/extr_apply.c_prepare_symlink_changes.c'
source_filename = "AnghaBench/git/extr_apply.c_prepare_symlink_changes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@APPLY_SYMLINK_GOES_AWAY = common local_unnamed_addr global i32 0, align 4
@APPLY_SYMLINK_IN_RESULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @prepare_symlink_changes], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @prepare_symlink_changes(ptr noundef %0, ptr noundef readonly %1) #0 {
%3 = icmp eq ptr %1, null
br i1 %3, label %42, label %4
4: ; preds = %2, %38
%5 = phi ptr [ %40, %38 ], [ %1, %2 ]
%6 = getelementptr inbounds i8, ptr %5, i64 16
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = icmp eq i64 %7, 0
br i1 %8, label %26, label %9
9: ; preds = %4
%10 = getelementptr inbounds i8, ptr %5, i64 40
%11 = load i32, ptr %10, align 8, !tbaa !13
%12 = tail call i64 @S_ISLNK(i32 noundef %11) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %26, label %14
14: ; preds = %9
%15 = getelementptr inbounds i8, ptr %5, i64 32
%16 = load i64, ptr %15, align 8, !tbaa !14
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = getelementptr inbounds i8, ptr %5, i64 24
%20 = load i64, ptr %19, align 8, !tbaa !15
%21 = icmp eq i64 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %18, %14
%23 = load i64, ptr %6, align 8, !tbaa !6
%24 = load i32, ptr @APPLY_SYMLINK_GOES_AWAY, align 4, !tbaa !16
%25 = tail call i32 @register_symlink_changes(ptr noundef %0, i64 noundef %23, i32 noundef %24) #2
br label %26
26: ; preds = %22, %18, %9, %4
%27 = load i64, ptr %5, align 8, !tbaa !17
%28 = icmp eq i64 %27, 0
br i1 %28, label %38, label %29
29: ; preds = %26
%30 = getelementptr inbounds i8, ptr %5, i64 8
%31 = load i32, ptr %30, align 8, !tbaa !18
%32 = tail call i64 @S_ISLNK(i32 noundef %31) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %29
%35 = load i64, ptr %5, align 8, !tbaa !17
%36 = load i32, ptr @APPLY_SYMLINK_IN_RESULT, align 4, !tbaa !16
%37 = tail call i32 @register_symlink_changes(ptr noundef %0, i64 noundef %35, i32 noundef %36) #2
br label %38
38: ; preds = %26, %29, %34
%39 = getelementptr inbounds i8, ptr %5, i64 48
%40 = load ptr, ptr %39, align 8, !tbaa !19
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %4, !llvm.loop !20
42: ; preds = %38, %2
ret void
}
declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #1
declare i32 @register_symlink_changes(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"patch", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !11, i64 40, !12, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !11, i64 40}
!14 = !{!7, !8, i64 32}
!15 = !{!7, !8, i64 24}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!7, !11, i64 8}
!19 = !{!7, !12, i64 48}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| git_extr_apply.c_prepare_symlink_changes |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_svn_ra__register_editor_shim_callbacks.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_svn_ra__register_editor_shim_callbacks.c"
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"
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_ra__register_editor_shim_callbacks(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = tail call i32 %4(ptr noundef nonnull %0, ptr noundef %1) #2
%6 = tail call i32 @SVN_ERR(i32 noundef %5) #2
%7 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !12
ret ptr %7
}
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_svn_ra__register_editor_shim_callbacks.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_ra_loader.c_svn_ra__register_editor_shim_callbacks.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_ra__register_editor_shim_callbacks(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = tail call i32 %4(ptr noundef nonnull %0, ptr noundef %1) #2
%6 = tail call i32 @SVN_ERR(i32 noundef %5) #2
%7 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !13
ret ptr %7
}
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0}
!13 = !{!8, !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_ra_extr_ra_loader.c_svn_ra__register_editor_shim_callbacks |
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_tuntap.c_tunpoll.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if_tuntap.c_tunpoll.c"
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 = private unnamed_addr constant [9 x i8] c"tunpoll\0A\00", align 1
@POLLIN = dso_local local_unnamed_addr global i32 0, align 4
@POLLRDNORM = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"tunpoll q=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"tunpoll waiting\0A\00", align 1
@POLLOUT = dso_local local_unnamed_addr global i32 0, align 4
@POLLWRNORM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tunpoll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @tunpoll(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call ptr @TUN2IFP(ptr noundef %4) #2
%6 = tail call i32 (ptr, ptr, ...) @TUNDEBUG(ptr noundef %5, ptr noundef nonnull @.str) #2
%7 = load i32, ptr @POLLIN, align 4, !tbaa !10
%8 = load i32, ptr @POLLRDNORM, align 4, !tbaa !10
%9 = or i32 %8, %7
%10 = and i32 %9, %1
%11 = icmp eq i32 %10, 0
br i1 %11, label %29, label %12
12: ; preds = %3
%13 = tail call i32 @IFQ_LOCK(ptr noundef %5) #2
%14 = tail call i32 @IFQ_IS_EMPTY(ptr noundef %5) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i32, ptr %5, align 4, !tbaa !12
%18 = tail call i32 (ptr, ptr, ...) @TUNDEBUG(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, i32 noundef %17) #2
%19 = load i32, ptr @POLLIN, align 4, !tbaa !10
%20 = load i32, ptr @POLLRDNORM, align 4, !tbaa !10
%21 = or i32 %20, %19
%22 = and i32 %21, %1
br label %26
23: ; preds = %12
%24 = tail call i32 (ptr, ptr, ...) @TUNDEBUG(ptr noundef %5, ptr noundef nonnull @.str.2) #2
%25 = tail call i32 @selrecord(ptr noundef %2, ptr noundef %4) #2
br label %26
26: ; preds = %23, %16
%27 = phi i32 [ 0, %23 ], [ %22, %16 ]
%28 = tail call i32 @IFQ_UNLOCK(ptr noundef %5) #2
br label %29
29: ; preds = %26, %3
%30 = phi i32 [ %27, %26 ], [ 0, %3 ]
%31 = load i32, ptr @POLLOUT, align 4, !tbaa !10
%32 = load i32, ptr @POLLWRNORM, align 4, !tbaa !10
%33 = or i32 %32, %31
%34 = and i32 %33, %1
%35 = or i32 %34, %30
ret i32 %35
}
declare ptr @TUN2IFP(ptr noundef) local_unnamed_addr #1
declare i32 @TUNDEBUG(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @IFQ_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @IFQ_IS_EMPTY(ptr noundef) local_unnamed_addr #1
declare i32 @selrecord(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IFQ_UNLOCK(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"cdev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"ifnet", !14, i64 0}
!14 = !{!"TYPE_4__", !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_tuntap.c_tunpoll.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if_tuntap.c_tunpoll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [9 x i8] c"tunpoll\0A\00", align 1
@POLLIN = common local_unnamed_addr global i32 0, align 4
@POLLRDNORM = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"tunpoll q=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"tunpoll waiting\0A\00", align 1
@POLLOUT = common local_unnamed_addr global i32 0, align 4
@POLLWRNORM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tunpoll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @tunpoll(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call ptr @TUN2IFP(ptr noundef %4) #2
%6 = tail call i32 (ptr, ptr, ...) @TUNDEBUG(ptr noundef %5, ptr noundef nonnull @.str) #2
%7 = load i32, ptr @POLLIN, align 4, !tbaa !11
%8 = load i32, ptr @POLLRDNORM, align 4, !tbaa !11
%9 = or i32 %8, %7
%10 = and i32 %9, %1
%11 = icmp eq i32 %10, 0
br i1 %11, label %29, label %12
12: ; preds = %3
%13 = tail call i32 @IFQ_LOCK(ptr noundef %5) #2
%14 = tail call i32 @IFQ_IS_EMPTY(ptr noundef %5) #2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i32, ptr %5, align 4, !tbaa !13
%18 = tail call i32 (ptr, ptr, ...) @TUNDEBUG(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, i32 noundef %17) #2
%19 = load i32, ptr @POLLIN, align 4, !tbaa !11
%20 = load i32, ptr @POLLRDNORM, align 4, !tbaa !11
%21 = or i32 %20, %19
%22 = and i32 %21, %1
br label %26
23: ; preds = %12
%24 = tail call i32 (ptr, ptr, ...) @TUNDEBUG(ptr noundef %5, ptr noundef nonnull @.str.2) #2
%25 = tail call i32 @selrecord(ptr noundef %2, ptr noundef %4) #2
br label %26
26: ; preds = %23, %16
%27 = phi i32 [ 0, %23 ], [ %22, %16 ]
%28 = tail call i32 @IFQ_UNLOCK(ptr noundef %5) #2
br label %29
29: ; preds = %26, %3
%30 = phi i32 [ %27, %26 ], [ 0, %3 ]
%31 = load i32, ptr @POLLOUT, align 4, !tbaa !11
%32 = load i32, ptr @POLLWRNORM, align 4, !tbaa !11
%33 = or i32 %32, %31
%34 = and i32 %33, %1
%35 = or i32 %34, %30
ret i32 %35
}
declare ptr @TUN2IFP(ptr noundef) local_unnamed_addr #1
declare i32 @TUNDEBUG(ptr noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @IFQ_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @IFQ_IS_EMPTY(ptr noundef) local_unnamed_addr #1
declare i32 @selrecord(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @IFQ_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"cdev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"ifnet", !15, i64 0}
!15 = !{!"TYPE_4__", !12, i64 0}
| freebsd_sys_net_extr_if_tuntap.c_tunpoll |
; ModuleID = 'AnghaBench/freebsd/contrib/flex/extr_buf.c_buf_m4_undefine.c'
source_filename = "AnghaBench/freebsd/contrib/flex/extr_buf.c_buf_m4_undefine.c"
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 = private unnamed_addr constant [28 x i8] c"m4_undefine( [[%s]])m4_dnl\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Allocation of buffer for m4 undef failed\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @buf_m4_undefine(ptr noundef returned %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = tail call i32 @strlen(ptr noundef nonnull @.str) #3
%5 = tail call i32 @strlen(ptr noundef %1) #3
%6 = add i32 %4, 2
%7 = add i32 %6, %5
%8 = sext i32 %7 to i64
%9 = tail call i64 @flex_alloc(i64 noundef %8) #3
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %3, align 8, !tbaa !5
%11 = icmp eq i64 %9, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = tail call i32 @_(ptr noundef nonnull @.str.1) #3
%14 = tail call i32 @flexfatal(i32 noundef %13) #3
br label %15
15: ; preds = %12, %2
%16 = tail call i32 @snprintf(ptr noundef %10, i64 noundef %8, ptr noundef nonnull @.str, ptr noundef %1) #3
%17 = call i32 @buf_append(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 1) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @flex_alloc(i64 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @flexfatal(i32 noundef) local_unnamed_addr #2
declare i32 @_(ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @buf_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/flex/extr_buf.c_buf_m4_undefine.c'
source_filename = "AnghaBench/freebsd/contrib/flex/extr_buf.c_buf_m4_undefine.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [28 x i8] c"m4_undefine( [[%s]])m4_dnl\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"Allocation of buffer for m4 undef failed\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @buf_m4_undefine(ptr noundef returned %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = tail call i32 @strlen(ptr noundef nonnull @.str) #3
%5 = tail call i32 @strlen(ptr noundef %1) #3
%6 = add i32 %4, 2
%7 = add i32 %6, %5
%8 = sext i32 %7 to i64
%9 = tail call i64 @flex_alloc(i64 noundef %8) #3
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %3, align 8, !tbaa !6
%11 = icmp eq i64 %9, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = tail call i32 @_(ptr noundef nonnull @.str.1) #3
%14 = tail call i32 @flexfatal(i32 noundef %13) #3
br label %15
15: ; preds = %12, %2
%16 = tail call i32 @snprintf(ptr noundef %10, i64 noundef %8, ptr noundef nonnull @.str, ptr noundef %1) #3
%17 = call i32 @buf_append(ptr noundef %0, ptr noundef nonnull %3, i32 noundef 1) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %0
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @flex_alloc(i64 noundef) local_unnamed_addr #2
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @flexfatal(i32 noundef) local_unnamed_addr #2
declare i32 @_(ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @buf_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_flex_extr_buf.c_buf_m4_undefine |
; ModuleID = 'AnghaBench/linux/drivers/misc/eeprom/extr_eeprom_93xx46.c_select_assert.c'
source_filename = "AnghaBench/linux/drivers/misc/eeprom/extr_eeprom_93xx46.c_select_assert.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @select_assert], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @select_assert(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = tail call i32 @gpiod_set_value_cansleep(i32 noundef %3, i32 noundef 1) #2
ret void
}
declare i32 @gpiod_set_value_cansleep(i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"eeprom_93xx46_dev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/eeprom/extr_eeprom_93xx46.c_select_assert.c'
source_filename = "AnghaBench/linux/drivers/misc/eeprom/extr_eeprom_93xx46.c_select_assert.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @select_assert], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @select_assert(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !11
%4 = tail call i32 @gpiod_set_value_cansleep(i32 noundef %3, i32 noundef 1) #2
ret void
}
declare i32 @gpiod_set_value_cansleep(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"eeprom_93xx46_dev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| linux_drivers_misc_eeprom_extr_eeprom_93xx46.c_select_assert |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_dsp_pipeline.c_attr_show_args.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_dsp_pipeline.c_attr_show_args.c"
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.mISDN_dsp_element = type { i32, ptr }
%struct.TYPE_2__ = type { ptr, ptr, i32 }
@.str = private unnamed_addr constant [40 x i8] c"Name: %s\0A%s%s%sDescription: %s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Default: \00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @attr_show_args], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @attr_show_args(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
store i8 0, ptr %2, align 1, !tbaa !5
%5 = load i32, ptr %4, align 8, !tbaa !8
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %30
7: ; preds = %3
%8 = getelementptr inbounds %struct.mISDN_dsp_element, ptr %4, i64 0, i32 1
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ 0, %7 ], [ %26, %9 ]
%11 = phi ptr [ %2, %7 ], [ %25, %9 ]
%12 = load ptr, ptr %8, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !15
%17 = icmp eq ptr %16, null
%18 = select i1 %17, ptr @.str.2, ptr @.str.1
%19 = select i1 %17, ptr @.str.2, ptr %16
%20 = select i1 %17, ptr @.str.2, ptr @.str.3
%21 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10, i32 2
%22 = load i32, ptr %21, align 8, !tbaa !16
%23 = tail call i32 @sprintf(ptr noundef %11, ptr noundef nonnull @.str, ptr noundef %14, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20, i32 noundef %22) #2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %11, i64 %24
%26 = add nuw nsw i64 %10, 1
%27 = load i32, ptr %4, align 8, !tbaa !8
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %26, %28
br i1 %29, label %9, label %30, !llvm.loop !17
30: ; preds = %9, %3
%31 = phi ptr [ %2, %3 ], [ %25, %9 ]
%32 = ptrtoint ptr %31 to i64
%33 = ptrtoint ptr %2 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
ret i32 %35
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"mISDN_dsp_element", !10, i64 0, !11, i64 8}
!10 = !{!"int", !6, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = !{!9, !11, i64 8}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_2__", !11, i64 0, !11, i64 8, !10, i64 16}
!15 = !{!14, !11, i64 8}
!16 = !{!14, !10, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_dsp_pipeline.c_attr_show_args.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_dsp_pipeline.c_attr_show_args.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, ptr, i32 }
@.str = private unnamed_addr constant [40 x i8] c"Name: %s\0A%s%s%sDescription: %s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Default: \00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @attr_show_args], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @attr_show_args(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
store i8 0, ptr %2, align 1, !tbaa !6
%5 = load i32, ptr %4, align 8, !tbaa !9
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %30
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %4, i64 8
br label %9
9: ; preds = %7, %9
%10 = phi i64 [ 0, %7 ], [ %26, %9 ]
%11 = phi ptr [ %2, %7 ], [ %25, %9 ]
%12 = load ptr, ptr %8, align 8, !tbaa !13
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = getelementptr inbounds i8, ptr %13, i64 8
%16 = load ptr, ptr %15, align 8, !tbaa !16
%17 = icmp eq ptr %16, null
%18 = select i1 %17, ptr @.str.2, ptr @.str.1
%19 = select i1 %17, ptr @.str.2, ptr %16
%20 = select i1 %17, ptr @.str.2, ptr @.str.3
%21 = getelementptr inbounds i8, ptr %13, i64 16
%22 = load i32, ptr %21, align 8, !tbaa !17
%23 = tail call i32 @sprintf(ptr noundef %11, ptr noundef nonnull @.str, ptr noundef %14, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20, i32 noundef %22) #2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %11, i64 %24
%26 = add nuw nsw i64 %10, 1
%27 = load i32, ptr %4, align 8, !tbaa !9
%28 = sext i32 %27 to i64
%29 = icmp slt i64 %26, %28
br i1 %29, label %9, label %30, !llvm.loop !18
30: ; preds = %9, %3
%31 = phi ptr [ %2, %3 ], [ %25, %9 ]
%32 = ptrtoint ptr %31 to i64
%33 = ptrtoint ptr %2 to i64
%34 = sub i64 %32, %33
%35 = trunc i64 %34 to i32
ret i32 %35
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"mISDN_dsp_element", !11, i64 0, !12, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_2__", !12, i64 0, !12, i64 8, !11, i64 16}
!16 = !{!15, !12, i64 8}
!17 = !{!15, !11, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_isdn_mISDN_extr_dsp_pipeline.c_attr_show_args |
; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscQueryOnMetric.c'
source_filename = "AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscQueryOnMetric.c"
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.TYPE_3__ = type { i32, i64 }
@TSDB_QUERY_TYPE_STABLE_QUERY = dso_local local_unnamed_addr global i32 0, align 4
@TSDB_MSG_TYPE_QUERY = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @tscQueryOnMetric(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @TSDB_QUERY_TYPE_STABLE_QUERY, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, %3
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = load i64, ptr @TSDB_MSG_TYPE_QUERY, align 8, !tbaa !13
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %6, %1
%13 = phi i32 [ 0, %1 ], [ %11, %6 ]
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscQueryOnMetric.c'
source_filename = "AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscQueryOnMetric.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TSDB_QUERY_TYPE_STABLE_QUERY = common local_unnamed_addr global i32 0, align 4
@TSDB_MSG_TYPE_QUERY = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 2) i32 @tscQueryOnMetric(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @TSDB_QUERY_TYPE_STABLE_QUERY, align 4, !tbaa !12
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, %3
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = load i64, ptr @TSDB_MSG_TYPE_QUERY, align 8, !tbaa !14
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %6, %1
%13 = phi i32 [ 0, %1 ], [ %11, %6 ]
ret i32 %13
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!11, !11, i64 0}
| TDengine_src_client_src_extr_tscUtil.c_tscQueryOnMetric |
; ModuleID = 'AnghaBench/freebsd/sys/dev/an/extr_if_an_pci.c_an_resume_pci.c'
source_filename = "AnghaBench/freebsd/sys/dev/an/extr_if_an_pci.c_an_resume_pci.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @an_resume_pci], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @an_resume_pci(i32 noundef %0) #0 {
%2 = tail call i32 @an_resume(i32 noundef %0) #2
ret i32 0
}
declare i32 @an_resume(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/an/extr_if_an_pci.c_an_resume_pci.c'
source_filename = "AnghaBench/freebsd/sys/dev/an/extr_if_an_pci.c_an_resume_pci.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @an_resume_pci], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @an_resume_pci(i32 noundef %0) #0 {
%2 = tail call i32 @an_resume(i32 noundef %0) #2
ret i32 0
}
declare i32 @an_resume(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_an_extr_if_an_pci.c_an_resume_pci |
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_tx.c_ieee80211_tx_query_agg_cap.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_tx.c_ieee80211_tx_query_agg_cap.c"
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.ieee80211_device = type { i64, i32, ptr, ptr }
%struct.sk_buff = type { i32, i64 }
%struct.TYPE_8__ = type { i32, i32, i32, i32, i32, i64, i32, i32 }
%struct.tx_ts_record = type { i32, i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { %struct.TYPE_6__, i32 }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
%struct.cb_desc = type { i32, i32, i32 }
@TX_DIR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"===>can't get TS\0A\00", align 1
@IW_MODE_INFRA = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ieee80211_tx_query_agg_cap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ieee80211_tx_query_agg_cap(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca ptr, align 8
%5 = getelementptr inbounds %struct.ieee80211_device, ptr %0, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !12
%7 = getelementptr inbounds %struct.sk_buff, ptr %1, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 7
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = icmp eq i32 %11, 0
br i1 %12, label %82, label %13
13: ; preds = %3
%14 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 6
%15 = load i32, ptr %14, align 8, !tbaa !17
%16 = icmp eq i32 %15, 0
br i1 %16, label %82, label %17
17: ; preds = %13
%18 = tail call i32 @IsQoSDataFrame(i64 noundef %8) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %82, label %20
20: ; preds = %17
%21 = load i32, ptr %9, align 4, !tbaa !18
%22 = tail call i64 @is_multicast_ether_addr(i32 noundef %21) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %82
24: ; preds = %20
%25 = getelementptr inbounds %struct.ieee80211_device, ptr %0, i64 0, i32 2
%26 = load ptr, ptr %25, align 8, !tbaa !20
%27 = getelementptr inbounds %struct.ieee80211_device, ptr %0, i64 0, i32 1
%28 = load i32, ptr %27, align 8, !tbaa !21
%29 = tail call i32 %26(i32 noundef %28) #3
%30 = icmp eq i32 %29, 0
br i1 %30, label %82, label %31
31: ; preds = %24
%32 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 5
%33 = load i64, ptr %32, align 8, !tbaa !22
%34 = icmp eq i64 %33, 0
br i1 %34, label %73, label %35
35: ; preds = %31
%36 = load i32, ptr %9, align 4, !tbaa !18
%37 = load i32, ptr %1, align 8, !tbaa !23
%38 = load i32, ptr @TX_DIR, align 4, !tbaa !24
%39 = call i32 @GetTs(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %36, i32 noundef %37, i32 noundef %38, i32 noundef 1) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = call i32 @printk(ptr noundef nonnull @.str) #3
br label %82
43: ; preds = %35
%44 = load ptr, ptr %4, align 8, !tbaa !12
%45 = getelementptr inbounds %struct.tx_ts_record, ptr %44, i64 0, i32 2
%46 = getelementptr inbounds %struct.tx_ts_record, ptr %44, i64 0, i32 2, i32 1
%47 = load i32, ptr %46, align 4, !tbaa !25
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %43
%50 = call i32 @TsStartAddBaProcess(ptr noundef nonnull %0, ptr noundef nonnull %44) #3
br label %73
51: ; preds = %43
%52 = load i32, ptr %44, align 4, !tbaa !30
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %64
54: ; preds = %51
%55 = load i32, ptr %45, align 4, !tbaa !31
%56 = getelementptr inbounds %struct.tx_ts_record, ptr %44, i64 0, i32 1
%57 = load i32, ptr %56, align 4, !tbaa !32
%58 = add nsw i32 %57, 1
%59 = srem i32 %58, 4096
%60 = call i64 @SN_LESS(i32 noundef %55, i32 noundef %59) #3
%61 = icmp eq i64 %60, 0
br i1 %61, label %73, label %62
62: ; preds = %54
%63 = load ptr, ptr %4, align 8, !tbaa !12
store i32 1, ptr %63, align 4, !tbaa !30
br label %64
64: ; preds = %51, %62
%65 = load i64, ptr %0, align 8, !tbaa !33
%66 = load i64, ptr @IW_MODE_INFRA, align 8, !tbaa !34
%67 = icmp eq i64 %65, %66
br i1 %67, label %68, label %73
68: ; preds = %64
store i32 1, ptr %2, align 4, !tbaa !35
%69 = getelementptr inbounds %struct.cb_desc, ptr %2, i64 0, i32 1
%70 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 3
%71 = load <2 x i32>, ptr %70, align 4, !tbaa !24
%72 = shufflevector <2 x i32> %71, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
store <2 x i32> %72, ptr %69, align 4, !tbaa !24
br label %73
73: ; preds = %31, %68, %64, %54, %49
%74 = load i32, ptr %6, align 8, !tbaa !37
switch i32 %74, label %82 [
i32 129, label %79
i32 128, label %75
]
75: ; preds = %73
store i32 1, ptr %2, align 4, !tbaa !35
%76 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 1
%77 = getelementptr inbounds %struct.cb_desc, ptr %2, i64 0, i32 1
%78 = load <2 x i32>, ptr %76, align 4, !tbaa !24
store <2 x i32> %78, ptr %77, align 4, !tbaa !24
br label %82
79: ; preds = %73
store i32 0, ptr %2, align 4, !tbaa !35
%80 = getelementptr inbounds %struct.cb_desc, ptr %2, i64 0, i32 2
store i32 0, ptr %80, align 4, !tbaa !38
%81 = getelementptr inbounds %struct.cb_desc, ptr %2, i64 0, i32 1
store i32 0, ptr %81, align 4, !tbaa !39
br label %82
82: ; preds = %75, %79, %73, %24, %20, %17, %3, %13, %41
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IsQoSDataFrame(i64 noundef) local_unnamed_addr #2
declare i64 @is_multicast_ether_addr(i32 noundef) local_unnamed_addr #2
declare i32 @GetTs(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printk(ptr noundef) local_unnamed_addr #2
declare i32 @TsStartAddBaProcess(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @SN_LESS(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 24}
!6 = !{!"ieee80211_device", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"sk_buff", !10, i64 0, !7, i64 8}
!15 = !{!16, !10, i64 36}
!16 = !{!"TYPE_8__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !10, i64 32, !10, i64 36}
!17 = !{!16, !10, i64 32}
!18 = !{!19, !10, i64 0}
!19 = !{!"rtl_80211_hdr_1addr", !10, i64 0}
!20 = !{!6, !11, i64 16}
!21 = !{!6, !10, i64 8}
!22 = !{!16, !7, i64 24}
!23 = !{!14, !10, i64 0}
!24 = !{!10, !10, i64 0}
!25 = !{!26, !10, i64 12}
!26 = !{!"tx_ts_record", !10, i64 0, !10, i64 4, !27, i64 8}
!27 = !{!"TYPE_7__", !28, i64 0, !10, i64 4}
!28 = !{!"TYPE_6__", !29, i64 0}
!29 = !{!"TYPE_5__", !10, i64 0}
!30 = !{!26, !10, i64 0}
!31 = !{!26, !10, i64 8}
!32 = !{!26, !10, i64 4}
!33 = !{!6, !7, i64 0}
!34 = !{!7, !7, i64 0}
!35 = !{!36, !10, i64 0}
!36 = !{!"cb_desc", !10, i64 0, !10, i64 4, !10, i64 8}
!37 = !{!16, !10, i64 0}
!38 = !{!36, !10, i64 8}
!39 = !{!36, !10, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_tx.c_ieee80211_tx_query_agg_cap.c'
source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_ieee80211_tx.c_ieee80211_tx_query_agg_cap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TX_DIR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"===>can't get TS\0A\00", align 1
@IW_MODE_INFRA = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ieee80211_tx_query_agg_cap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ieee80211_tx_query_agg_cap(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca ptr, align 8
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !13
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = inttoptr i64 %8 to ptr
%10 = getelementptr inbounds i8, ptr %6, i64 36
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = icmp eq i32 %11, 0
br i1 %12, label %81, label %13
13: ; preds = %3
%14 = getelementptr inbounds i8, ptr %6, i64 32
%15 = load i32, ptr %14, align 8, !tbaa !18
%16 = icmp eq i32 %15, 0
br i1 %16, label %81, label %17
17: ; preds = %13
%18 = tail call i32 @IsQoSDataFrame(i64 noundef %8) #3
%19 = icmp eq i32 %18, 0
br i1 %19, label %81, label %20
20: ; preds = %17
%21 = load i32, ptr %9, align 4, !tbaa !19
%22 = tail call i64 @is_multicast_ether_addr(i32 noundef %21) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %81
24: ; preds = %20
%25 = getelementptr inbounds i8, ptr %0, i64 16
%26 = load ptr, ptr %25, align 8, !tbaa !21
%27 = getelementptr inbounds i8, ptr %0, i64 8
%28 = load i32, ptr %27, align 8, !tbaa !22
%29 = tail call i32 %26(i32 noundef %28) #3
%30 = icmp eq i32 %29, 0
br i1 %30, label %81, label %31
31: ; preds = %24
%32 = getelementptr inbounds i8, ptr %6, i64 24
%33 = load i64, ptr %32, align 8, !tbaa !23
%34 = icmp eq i64 %33, 0
br i1 %34, label %73, label %35
35: ; preds = %31
%36 = load i32, ptr %9, align 4, !tbaa !19
%37 = load i32, ptr %1, align 8, !tbaa !24
%38 = load i32, ptr @TX_DIR, align 4, !tbaa !25
%39 = call i32 @GetTs(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %36, i32 noundef %37, i32 noundef %38, i32 noundef 1) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = call i32 @printk(ptr noundef nonnull @.str) #3
br label %81
43: ; preds = %35
%44 = load ptr, ptr %4, align 8, !tbaa !13
%45 = getelementptr inbounds i8, ptr %44, i64 8
%46 = getelementptr inbounds i8, ptr %44, i64 12
%47 = load i32, ptr %46, align 4, !tbaa !26
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %43
%50 = call i32 @TsStartAddBaProcess(ptr noundef nonnull %0, ptr noundef nonnull %44) #3
br label %73
51: ; preds = %43
%52 = load i32, ptr %44, align 4, !tbaa !31
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %64
54: ; preds = %51
%55 = load i32, ptr %45, align 4, !tbaa !32
%56 = getelementptr inbounds i8, ptr %44, i64 4
%57 = load i32, ptr %56, align 4, !tbaa !33
%58 = add nsw i32 %57, 1
%59 = srem i32 %58, 4096
%60 = call i64 @SN_LESS(i32 noundef %55, i32 noundef %59) #3
%61 = icmp eq i64 %60, 0
br i1 %61, label %73, label %62
62: ; preds = %54
%63 = load ptr, ptr %4, align 8, !tbaa !13
store i32 1, ptr %63, align 4, !tbaa !31
br label %64
64: ; preds = %51, %62
%65 = load i64, ptr %0, align 8, !tbaa !34
%66 = load i64, ptr @IW_MODE_INFRA, align 8, !tbaa !35
%67 = icmp eq i64 %65, %66
br i1 %67, label %68, label %73
68: ; preds = %64
store i32 1, ptr %2, align 4, !tbaa !36
%69 = getelementptr inbounds i8, ptr %2, i64 4
%70 = getelementptr inbounds i8, ptr %6, i64 12
%71 = load <2 x i32>, ptr %70, align 4, !tbaa !25
%72 = shufflevector <2 x i32> %71, <2 x i32> poison, <2 x i32> <i32 1, i32 0>
store <2 x i32> %72, ptr %69, align 4, !tbaa !25
br label %73
73: ; preds = %31, %68, %64, %54, %49
%74 = load i32, ptr %6, align 8, !tbaa !38
switch i32 %74, label %81 [
i32 129, label %79
i32 128, label %75
]
75: ; preds = %73
store i32 1, ptr %2, align 4, !tbaa !36
%76 = getelementptr inbounds i8, ptr %6, i64 4
%77 = getelementptr inbounds i8, ptr %2, i64 4
%78 = load <2 x i32>, ptr %76, align 4, !tbaa !25
store <2 x i32> %78, ptr %77, align 4, !tbaa !25
br label %81
79: ; preds = %73
%80 = getelementptr inbounds i8, ptr %2, i64 8
store i32 0, ptr %80, align 4, !tbaa !39
store <2 x i32> zeroinitializer, ptr %2, align 4, !tbaa !25
br label %81
81: ; preds = %75, %79, %73, %24, %20, %17, %3, %13, %41
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @IsQoSDataFrame(i64 noundef) local_unnamed_addr #2
declare i64 @is_multicast_ether_addr(i32 noundef) local_unnamed_addr #2
declare i32 @GetTs(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printk(ptr noundef) local_unnamed_addr #2
declare i32 @TsStartAddBaProcess(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @SN_LESS(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 24}
!7 = !{!"ieee80211_device", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !8, i64 8}
!15 = !{!"sk_buff", !11, i64 0, !8, i64 8}
!16 = !{!17, !11, i64 36}
!17 = !{!"TYPE_8__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !8, i64 24, !11, i64 32, !11, i64 36}
!18 = !{!17, !11, i64 32}
!19 = !{!20, !11, i64 0}
!20 = !{!"rtl_80211_hdr_1addr", !11, i64 0}
!21 = !{!7, !12, i64 16}
!22 = !{!7, !11, i64 8}
!23 = !{!17, !8, i64 24}
!24 = !{!15, !11, i64 0}
!25 = !{!11, !11, i64 0}
!26 = !{!27, !11, i64 12}
!27 = !{!"tx_ts_record", !11, i64 0, !11, i64 4, !28, i64 8}
!28 = !{!"TYPE_7__", !29, i64 0, !11, i64 4}
!29 = !{!"TYPE_6__", !30, i64 0}
!30 = !{!"TYPE_5__", !11, i64 0}
!31 = !{!27, !11, i64 0}
!32 = !{!27, !11, i64 8}
!33 = !{!27, !11, i64 4}
!34 = !{!7, !8, i64 0}
!35 = !{!8, !8, i64 0}
!36 = !{!37, !11, i64 0}
!37 = !{!"cb_desc", !11, i64 0, !11, i64 4, !11, i64 8}
!38 = !{!17, !11, i64 0}
!39 = !{!37, !11, i64 8}
| linux_drivers_staging_rtl8192u_ieee80211_extr_ieee80211_tx.c_ieee80211_tx_query_agg_cap |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_gpio-fan.c_fan_alarm_irq_handler.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_gpio-fan.c_fan_alarm_irq_handler.c"
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"
@IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fan_alarm_irq_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fan_alarm_irq_handler(i32 %0, ptr noundef %1) #0 {
%3 = tail call i32 @schedule_work(ptr noundef %1) #2
%4 = load i32, ptr @IRQ_NONE, align 4, !tbaa !5
ret i32 %4
}
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_gpio-fan.c_fan_alarm_irq_handler.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_gpio-fan.c_fan_alarm_irq_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQ_NONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fan_alarm_irq_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fan_alarm_irq_handler(i32 %0, ptr noundef %1) #0 {
%3 = tail call i32 @schedule_work(ptr noundef %1) #2
%4 = load i32, ptr @IRQ_NONE, align 4, !tbaa !6
ret i32 %4
}
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_hwmon_extr_gpio-fan.c_fan_alarm_irq_handler |
; ModuleID = 'AnghaBench/vlc/modules/control/dbus/extr_dbus_root.c_MarshalDesktopEntry.c'
source_filename = "AnghaBench/vlc/modules/control/dbus/extr_dbus_root.c_MarshalDesktopEntry.c"
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"
@PACKAGE = dso_local local_unnamed_addr global ptr null, align 8
@DBUS_TYPE_STRING = dso_local local_unnamed_addr global i32 0, align 4
@VLC_ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @MarshalDesktopEntry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @MarshalDesktopEntry(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = tail call i32 @VLC_UNUSED(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%5 = load ptr, ptr @PACKAGE, align 8, !tbaa !5
store ptr %5, ptr %3, align 8, !tbaa !5
%6 = load i32, ptr @DBUS_TYPE_STRING, align 4, !tbaa !9
%7 = call i32 @dbus_message_iter_append_basic(ptr noundef %1, i32 noundef %6, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @VLC_ENOMEM, align 4
%10 = load i32, ptr @VLC_SUCCESS, align 4
%11 = select i1 %8, i32 %9, i32 %10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %11
}
declare i32 @VLC_UNUSED(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 @dbus_message_iter_append_basic(ptr noundef, i32 noundef, ptr 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
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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}
| ; ModuleID = 'AnghaBench/vlc/modules/control/dbus/extr_dbus_root.c_MarshalDesktopEntry.c'
source_filename = "AnghaBench/vlc/modules/control/dbus/extr_dbus_root.c_MarshalDesktopEntry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PACKAGE = common local_unnamed_addr global ptr null, align 8
@DBUS_TYPE_STRING = common local_unnamed_addr global i32 0, align 4
@VLC_ENOMEM = common local_unnamed_addr global i32 0, align 4
@VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @MarshalDesktopEntry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @MarshalDesktopEntry(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = tail call i32 @VLC_UNUSED(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%5 = load ptr, ptr @PACKAGE, align 8, !tbaa !6
store ptr %5, ptr %3, align 8, !tbaa !6
%6 = load i32, ptr @DBUS_TYPE_STRING, align 4, !tbaa !10
%7 = call i32 @dbus_message_iter_append_basic(ptr noundef %1, i32 noundef %6, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, 0
%9 = load i32, ptr @VLC_ENOMEM, align 4
%10 = load i32, ptr @VLC_SUCCESS, align 4
%11 = select i1 %8, i32 %9, i32 %10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %11
}
declare i32 @VLC_UNUSED(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 @dbus_message_iter_append_basic(ptr noundef, i32 noundef, ptr 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
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| vlc_modules_control_dbus_extr_dbus_root.c_MarshalDesktopEntry |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_bgmc.c_ff_bgmc_decode.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_bgmc.c_ff_bgmc_decode.c"
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"
@LUT_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@FREQ_BITS = dso_local local_unnamed_addr global i32 0, align 4
@LUT_BITS = dso_local local_unnamed_addr global i32 0, align 4
@cf_table = dso_local local_unnamed_addr global ptr null, align 8
@HALF = dso_local local_unnamed_addr global i32 0, align 4
@FIRST_QTR = dso_local local_unnamed_addr global i32 0, align 4
@THIRD_QTR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ff_bgmc_decode(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef %5, ptr nocapture noundef %6, ptr nocapture noundef %7, ptr noundef %8, ptr noundef %9) local_unnamed_addr #0 {
%11 = tail call ptr @bgmc_lut_getp(ptr noundef %8, ptr noundef %9, i32 noundef %3) #2
%12 = load i32, ptr %5, align 4, !tbaa !5
%13 = load i32, ptr %6, align 4, !tbaa !5
%14 = load i32, ptr %7, align 4, !tbaa !5
%15 = load i32, ptr @LUT_SIZE, align 4, !tbaa !5
%16 = mul i32 %15, %4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %11, i64 %17
%19 = icmp eq i32 %1, 0
br i1 %19, label %114, label %20
20: ; preds = %10
%21 = zext i32 %4 to i64
%22 = shl nuw i32 1, %3
br label %23
23: ; preds = %20, %110
%24 = phi ptr [ %2, %20 ], [ %111, %110 ]
%25 = phi i32 [ 0, %20 ], [ %112, %110 ]
%26 = phi i32 [ %14, %20 ], [ %81, %110 ]
%27 = phi i32 [ %13, %20 ], [ %80, %110 ]
%28 = phi i32 [ %12, %20 ], [ %79, %110 ]
%29 = sub i32 %28, %27
%30 = add i32 %29, 1
%31 = sub i32 %26, %27
%32 = add i32 %31, 1
%33 = load i32, ptr @FREQ_BITS, align 4, !tbaa !5
%34 = shl i32 %32, %33
%35 = add i32 %34, -1
%36 = udiv i32 %35, %30
%37 = load i32, ptr @LUT_BITS, align 4, !tbaa !5
%38 = sub i32 %33, %37
%39 = lshr i32 %36, %38
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %18, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !5
%43 = shl i32 %42, %3
%44 = load ptr, ptr @cf_table, align 8, !tbaa !9
%45 = getelementptr inbounds ptr, ptr %44, i64 %21
%46 = load ptr, ptr %45, align 8, !tbaa !9
%47 = zext i32 %43 to i64
%48 = getelementptr inbounds i32, ptr %46, i64 %47
%49 = load i32, ptr %48, align 4, !tbaa !5
%50 = icmp ugt i32 %49, %36
br i1 %50, label %51, label %58
51: ; preds = %23, %51
%52 = phi i32 [ %53, %51 ], [ %43, %23 ]
%53 = add i32 %52, %22
%54 = zext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %46, i64 %54
%56 = load i32, ptr %55, align 4, !tbaa !5
%57 = icmp ugt i32 %56, %36
br i1 %57, label %51, label %58, !llvm.loop !11
58: ; preds = %51, %23
%59 = phi i32 [ %43, %23 ], [ %53, %51 ]
%60 = lshr i32 %59, %3
%61 = add i32 %60, -1
%62 = shl i32 %61, %3
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %46, i64 %63
%65 = load i32, ptr %64, align 4, !tbaa !5
%66 = mul i32 %65, %30
%67 = shl nsw i32 -1, %33
%68 = add i32 %66, %67
%69 = lshr i32 %68, %33
%70 = add i32 %69, %27
%71 = shl i32 %60, %3
%72 = zext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %46, i64 %72
%74 = load i32, ptr %73, align 4, !tbaa !5
%75 = mul i32 %74, %30
%76 = lshr i32 %75, %33
%77 = add i32 %76, %27
br label %78
78: ; preds = %100, %58
%79 = phi i32 [ %70, %58 ], [ %106, %100 ]
%80 = phi i32 [ %77, %58 ], [ %104, %100 ]
%81 = phi i32 [ %26, %58 ], [ %109, %100 ]
%82 = load i32, ptr @HALF, align 4, !tbaa !5
%83 = icmp ult i32 %79, %82
br i1 %83, label %100, label %84
84: ; preds = %78
%85 = icmp ult i32 %80, %82
br i1 %85, label %90, label %86
86: ; preds = %84
%87 = sub i32 %81, %82
%88 = sub i32 %80, %82
%89 = sub i32 %79, %82
br label %100
90: ; preds = %84
%91 = load i32, ptr @FIRST_QTR, align 4, !tbaa !5
%92 = icmp uge i32 %80, %91
%93 = load i32, ptr @THIRD_QTR, align 4
%94 = icmp ult i32 %79, %93
%95 = select i1 %92, i1 %94, i1 false
br i1 %95, label %96, label %110
96: ; preds = %90
%97 = sub i32 %81, %91
%98 = sub i32 %80, %91
%99 = sub i32 %79, %91
br label %100
100: ; preds = %86, %96, %78
%101 = phi i32 [ %89, %86 ], [ %99, %96 ], [ %79, %78 ]
%102 = phi i32 [ %88, %86 ], [ %98, %96 ], [ %80, %78 ]
%103 = phi i32 [ %87, %86 ], [ %97, %96 ], [ %81, %78 ]
%104 = shl i32 %102, 1
%105 = shl i32 %101, 1
%106 = or disjoint i32 %105, 1
%107 = shl i32 %103, 1
%108 = tail call i32 @get_bits1(ptr noundef %0) #2
%109 = add i32 %107, %108
br label %78
110: ; preds = %90
%111 = getelementptr inbounds i32, ptr %24, i64 1
store i32 %61, ptr %24, align 4, !tbaa !5
%112 = add nuw i32 %25, 1
%113 = icmp eq i32 %112, %1
br i1 %113, label %114, label %23, !llvm.loop !13
114: ; preds = %110, %10
%115 = phi i32 [ %12, %10 ], [ %79, %110 ]
%116 = phi i32 [ %13, %10 ], [ %80, %110 ]
%117 = phi i32 [ %14, %10 ], [ %81, %110 ]
store i32 %115, ptr %5, align 4, !tbaa !5
store i32 %116, ptr %6, align 4, !tbaa !5
store i32 %117, ptr %7, align 4, !tbaa !5
ret void
}
declare ptr @bgmc_lut_getp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_bits1(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_bgmc.c_ff_bgmc_decode.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_bgmc.c_ff_bgmc_decode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LUT_SIZE = common local_unnamed_addr global i32 0, align 4
@FREQ_BITS = common local_unnamed_addr global i32 0, align 4
@LUT_BITS = common local_unnamed_addr global i32 0, align 4
@cf_table = common local_unnamed_addr global ptr null, align 8
@HALF = common local_unnamed_addr global i32 0, align 4
@FIRST_QTR = common local_unnamed_addr global i32 0, align 4
@THIRD_QTR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ff_bgmc_decode(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef %5, ptr nocapture noundef %6, ptr nocapture noundef %7, ptr noundef %8, ptr noundef %9) local_unnamed_addr #0 {
%11 = tail call ptr @bgmc_lut_getp(ptr noundef %8, ptr noundef %9, i32 noundef %3) #2
%12 = load i32, ptr %5, align 4, !tbaa !6
%13 = load i32, ptr %6, align 4, !tbaa !6
%14 = load i32, ptr %7, align 4, !tbaa !6
%15 = load i32, ptr @LUT_SIZE, align 4, !tbaa !6
%16 = mul i32 %15, %4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %11, i64 %17
%19 = icmp eq i32 %1, 0
br i1 %19, label %114, label %20
20: ; preds = %10
%21 = zext i32 %4 to i64
%22 = shl nuw i32 1, %3
br label %23
23: ; preds = %20, %110
%24 = phi ptr [ %2, %20 ], [ %111, %110 ]
%25 = phi i32 [ 0, %20 ], [ %112, %110 ]
%26 = phi i32 [ %14, %20 ], [ %81, %110 ]
%27 = phi i32 [ %13, %20 ], [ %80, %110 ]
%28 = phi i32 [ %12, %20 ], [ %79, %110 ]
%29 = sub i32 %28, %27
%30 = add i32 %29, 1
%31 = sub i32 %26, %27
%32 = add i32 %31, 1
%33 = load i32, ptr @FREQ_BITS, align 4, !tbaa !6
%34 = shl i32 %32, %33
%35 = add i32 %34, -1
%36 = udiv i32 %35, %30
%37 = load i32, ptr @LUT_BITS, align 4, !tbaa !6
%38 = sub i32 %33, %37
%39 = lshr i32 %36, %38
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %18, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !6
%43 = shl i32 %42, %3
%44 = load ptr, ptr @cf_table, align 8, !tbaa !10
%45 = getelementptr inbounds ptr, ptr %44, i64 %21
%46 = load ptr, ptr %45, align 8, !tbaa !10
%47 = zext i32 %43 to i64
%48 = getelementptr inbounds i32, ptr %46, i64 %47
%49 = load i32, ptr %48, align 4, !tbaa !6
%50 = icmp ugt i32 %49, %36
br i1 %50, label %51, label %58
51: ; preds = %23, %51
%52 = phi i32 [ %53, %51 ], [ %43, %23 ]
%53 = add i32 %52, %22
%54 = zext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %46, i64 %54
%56 = load i32, ptr %55, align 4, !tbaa !6
%57 = icmp ugt i32 %56, %36
br i1 %57, label %51, label %58, !llvm.loop !12
58: ; preds = %51, %23
%59 = phi i32 [ %43, %23 ], [ %53, %51 ]
%60 = lshr i32 %59, %3
%61 = add i32 %60, -1
%62 = shl i32 %61, %3
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %46, i64 %63
%65 = load i32, ptr %64, align 4, !tbaa !6
%66 = mul i32 %65, %30
%67 = shl nsw i32 -1, %33
%68 = add i32 %66, %67
%69 = lshr i32 %68, %33
%70 = add i32 %69, %27
%71 = shl i32 %60, %3
%72 = zext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %46, i64 %72
%74 = load i32, ptr %73, align 4, !tbaa !6
%75 = mul i32 %74, %30
%76 = lshr i32 %75, %33
%77 = add i32 %76, %27
br label %78
78: ; preds = %100, %58
%79 = phi i32 [ %70, %58 ], [ %106, %100 ]
%80 = phi i32 [ %77, %58 ], [ %104, %100 ]
%81 = phi i32 [ %26, %58 ], [ %109, %100 ]
%82 = load i32, ptr @HALF, align 4, !tbaa !6
%83 = icmp ult i32 %79, %82
br i1 %83, label %100, label %84
84: ; preds = %78
%85 = icmp ult i32 %80, %82
br i1 %85, label %90, label %86
86: ; preds = %84
%87 = sub i32 %81, %82
%88 = sub i32 %80, %82
%89 = sub i32 %79, %82
br label %100
90: ; preds = %84
%91 = load i32, ptr @FIRST_QTR, align 4, !tbaa !6
%92 = icmp uge i32 %80, %91
%93 = load i32, ptr @THIRD_QTR, align 4
%94 = icmp ult i32 %79, %93
%95 = select i1 %92, i1 %94, i1 false
br i1 %95, label %96, label %110
96: ; preds = %90
%97 = sub i32 %81, %91
%98 = sub i32 %80, %91
%99 = sub i32 %79, %91
br label %100
100: ; preds = %86, %96, %78
%101 = phi i32 [ %89, %86 ], [ %99, %96 ], [ %79, %78 ]
%102 = phi i32 [ %88, %86 ], [ %98, %96 ], [ %80, %78 ]
%103 = phi i32 [ %87, %86 ], [ %97, %96 ], [ %81, %78 ]
%104 = shl i32 %102, 1
%105 = shl i32 %101, 1
%106 = or disjoint i32 %105, 1
%107 = shl i32 %103, 1
%108 = tail call i32 @get_bits1(ptr noundef %0) #2
%109 = add i32 %107, %108
br label %78
110: ; preds = %90
%111 = getelementptr inbounds i8, ptr %24, i64 4
store i32 %61, ptr %24, align 4, !tbaa !6
%112 = add nuw i32 %25, 1
%113 = icmp eq i32 %112, %1
br i1 %113, label %114, label %23, !llvm.loop !14
114: ; preds = %110, %10
%115 = phi i32 [ %12, %10 ], [ %79, %110 ]
%116 = phi i32 [ %13, %10 ], [ %80, %110 ]
%117 = phi i32 [ %14, %10 ], [ %81, %110 ]
store i32 %115, ptr %5, align 4, !tbaa !6
store i32 %116, ptr %6, align 4, !tbaa !6
store i32 %117, ptr %7, align 4, !tbaa !6
ret void
}
declare ptr @bgmc_lut_getp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_bits1(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| FFmpeg_libavcodec_extr_bgmc.c_ff_bgmc_decode |
; ModuleID = 'AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalFlagsFixed.c'
source_filename = "AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalFlagsFixed.c"
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"
@SKIPPED = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"Testing for correct handling of GMEM_FIXED memory\00", align 1
@GMEM_FIXED = dso_local local_unnamed_addr global i32 0, align 4
@MEM_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"Allocation handle: \00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Testing initial allocation\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Testing for non-discarded and lock of 0\00", align 1
@GMEM_LOCKCOUNT = dso_local local_unnamed_addr global i32 0, align 4
@PASSED = dso_local local_unnamed_addr global i32 0, align 4
@FAILED = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [22 x i8] c"Pointer from handle: \00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Testing after a lock\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"GlobalAlloc failed!\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @TestGlobalFlagsFixed() local_unnamed_addr #0 {
%1 = load i32, ptr @SKIPPED, align 4, !tbaa !5
%2 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str) #2
%3 = load i32, ptr @GMEM_FIXED, align 4, !tbaa !5
%4 = load i32, ptr @MEM_BLOCK_SIZE, align 4, !tbaa !5
%5 = tail call i64 @GlobalAlloc(i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %38, label %7
7: ; preds = %0
%8 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.1) #2
%9 = tail call i32 @OUTPUT_Handle(i64 noundef %5) #2
%10 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.2) #2
%11 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.3) #2
%12 = tail call i32 @GlobalFlags(i64 noundef %5) #2
%13 = load i32, ptr @GMEM_LOCKCOUNT, align 4, !tbaa !5
%14 = or i32 %13, 65280
%15 = and i32 %14, %12
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @PASSED, align 4
%18 = load i32, ptr @FAILED, align 4
%19 = select i1 %16, i32 %17, i32 %18
%20 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %19) #2
%21 = tail call i32 @OUTPUT_Result(i32 noundef %20) #2
%22 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.4) #2
%23 = tail call i64 @GlobalLock(i64 noundef %5) #2
%24 = tail call i32 @OUTPUT_Handle(i64 noundef %23) #2
%25 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.5) #2
%26 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.3) #2
%27 = tail call i32 @GlobalFlags(i64 noundef %5) #2
%28 = load i32, ptr @GMEM_LOCKCOUNT, align 4, !tbaa !5
%29 = or i32 %28, 65280
%30 = and i32 %29, %27
%31 = icmp eq i32 %30, 0
%32 = load i32, ptr @PASSED, align 4
%33 = load i32, ptr @FAILED, align 4
%34 = select i1 %31, i32 %32, i32 %33
%35 = tail call i32 @TEST_CombineStatus(i32 noundef %20, i32 noundef %34) #2
%36 = tail call i32 @OUTPUT_Result(i32 noundef %35) #2
%37 = tail call i32 @GlobalFree(i64 noundef %5) #2
br label %42
38: ; preds = %0
%39 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.6) #2
%40 = load i32, ptr @FAILED, align 4, !tbaa !5
%41 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %40) #2
br label %42
42: ; preds = %38, %7
%43 = phi i32 [ %35, %7 ], [ %41, %38 ]
ret i32 %43
}
declare i32 @OUTPUT_Line(ptr noundef) local_unnamed_addr #1
declare i64 @GlobalAlloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OUTPUT_Handle(i64 noundef) local_unnamed_addr #1
declare i32 @GlobalFlags(i64 noundef) local_unnamed_addr #1
declare i32 @TEST_CombineStatus(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OUTPUT_Result(i32 noundef) local_unnamed_addr #1
declare i64 @GlobalLock(i64 noundef) local_unnamed_addr #1
declare i32 @GlobalFree(i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalFlagsFixed.c'
source_filename = "AnghaBench/reactos/modules/rostests/tests/global_mem/extr_global_mem.c_TestGlobalFlagsFixed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SKIPPED = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"Testing for correct handling of GMEM_FIXED memory\00", align 1
@GMEM_FIXED = common local_unnamed_addr global i32 0, align 4
@MEM_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"Allocation handle: \00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Testing initial allocation\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Testing for non-discarded and lock of 0\00", align 1
@GMEM_LOCKCOUNT = common local_unnamed_addr global i32 0, align 4
@PASSED = common local_unnamed_addr global i32 0, align 4
@FAILED = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [22 x i8] c"Pointer from handle: \00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Testing after a lock\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"GlobalAlloc failed!\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @TestGlobalFlagsFixed() local_unnamed_addr #0 {
%1 = load i32, ptr @SKIPPED, align 4, !tbaa !6
%2 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str) #2
%3 = load i32, ptr @GMEM_FIXED, align 4, !tbaa !6
%4 = load i32, ptr @MEM_BLOCK_SIZE, align 4, !tbaa !6
%5 = tail call i64 @GlobalAlloc(i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %38, label %7
7: ; preds = %0
%8 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.1) #2
%9 = tail call i32 @OUTPUT_Handle(i64 noundef %5) #2
%10 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.2) #2
%11 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.3) #2
%12 = tail call i32 @GlobalFlags(i64 noundef %5) #2
%13 = load i32, ptr @GMEM_LOCKCOUNT, align 4, !tbaa !6
%14 = or i32 %13, 65280
%15 = and i32 %14, %12
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @PASSED, align 4
%18 = load i32, ptr @FAILED, align 4
%19 = select i1 %16, i32 %17, i32 %18
%20 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %19) #2
%21 = tail call i32 @OUTPUT_Result(i32 noundef %20) #2
%22 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.4) #2
%23 = tail call i64 @GlobalLock(i64 noundef %5) #2
%24 = tail call i32 @OUTPUT_Handle(i64 noundef %23) #2
%25 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.5) #2
%26 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.3) #2
%27 = tail call i32 @GlobalFlags(i64 noundef %5) #2
%28 = load i32, ptr @GMEM_LOCKCOUNT, align 4, !tbaa !6
%29 = or i32 %28, 65280
%30 = and i32 %29, %27
%31 = icmp eq i32 %30, 0
%32 = load i32, ptr @PASSED, align 4
%33 = load i32, ptr @FAILED, align 4
%34 = select i1 %31, i32 %32, i32 %33
%35 = tail call i32 @TEST_CombineStatus(i32 noundef %20, i32 noundef %34) #2
%36 = tail call i32 @OUTPUT_Result(i32 noundef %35) #2
%37 = tail call i32 @GlobalFree(i64 noundef %5) #2
br label %42
38: ; preds = %0
%39 = tail call i32 @OUTPUT_Line(ptr noundef nonnull @.str.6) #2
%40 = load i32, ptr @FAILED, align 4, !tbaa !6
%41 = tail call i32 @TEST_CombineStatus(i32 noundef %1, i32 noundef %40) #2
br label %42
42: ; preds = %38, %7
%43 = phi i32 [ %35, %7 ], [ %41, %38 ]
ret i32 %43
}
declare i32 @OUTPUT_Line(ptr noundef) local_unnamed_addr #1
declare i64 @GlobalAlloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OUTPUT_Handle(i64 noundef) local_unnamed_addr #1
declare i32 @GlobalFlags(i64 noundef) local_unnamed_addr #1
declare i32 @TEST_CombineStatus(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @OUTPUT_Result(i32 noundef) local_unnamed_addr #1
declare i64 @GlobalLock(i64 noundef) local_unnamed_addr #1
declare i32 @GlobalFree(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| reactos_modules_rostests_tests_global_mem_extr_global_mem.c_TestGlobalFlagsFixed |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250.h_serial_dl_write.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250.h_serial_dl_write.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @serial_dl_write], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @serial_dl_write(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 %3(ptr noundef nonnull %0, i32 noundef %1) #1
ret void
}
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"uart_8250_port", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250.h_serial_dl_write.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250.h_serial_dl_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @serial_dl_write], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @serial_dl_write(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 %3(ptr noundef nonnull %0, i32 noundef %1) #1
ret void
}
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"uart_8250_port", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_tty_serial_8250_extr_8250.h_serial_dl_write |
; ModuleID = 'AnghaBench/tmux/extr_screen-redraw.c_screen_redraw_pane.c'
source_filename = "AnghaBench/tmux/extr_screen-redraw.c_screen_redraw_pane.c"
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.screen_redraw_ctx = type { i32 }
%struct.client = type { i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @screen_redraw_pane(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.screen_redraw_ctx, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.client, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = tail call i32 @window_pane_visible(ptr noundef %1) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %7
%11 = call i32 @screen_redraw_set_context(ptr noundef nonnull %0, ptr noundef nonnull %3) #3
%12 = call i32 @screen_redraw_draw_pane(ptr noundef nonnull %3, ptr noundef %1) #3
%13 = call i32 @tty_reset(ptr noundef nonnull %0) #3
br label %14
14: ; preds = %2, %7, %10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @window_pane_visible(ptr noundef) local_unnamed_addr #2
declare i32 @screen_redraw_set_context(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @screen_redraw_draw_pane(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tty_reset(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"client", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/tmux/extr_screen-redraw.c_screen_redraw_pane.c'
source_filename = "AnghaBench/tmux/extr_screen-redraw.c_screen_redraw_pane.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.screen_redraw_ctx = type { i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define void @screen_redraw_pane(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.screen_redraw_ctx, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = tail call i32 @window_pane_visible(ptr noundef %1) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %7
%11 = call i32 @screen_redraw_set_context(ptr noundef nonnull %0, ptr noundef nonnull %3) #3
%12 = call i32 @screen_redraw_draw_pane(ptr noundef nonnull %3, ptr noundef %1) #3
%13 = call i32 @tty_reset(ptr noundef nonnull %0) #3
br label %14
14: ; preds = %2, %7, %10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @window_pane_visible(ptr noundef) local_unnamed_addr #2
declare i32 @screen_redraw_set_context(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @screen_redraw_draw_pane(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tty_reset(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"client", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
| tmux_extr_screen-redraw.c_screen_redraw_pane |
; ModuleID = 'AnghaBench/linux/drivers/staging/speakup/extr_main.c_say_prev_line.c'
source_filename = "AnghaBench/linux/drivers/staging/speakup/extr_main.c_say_prev_line.c"
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"
@spk_parked = dso_local local_unnamed_addr global i32 0, align 4
@spk_y = dso_local local_unnamed_addr global i64 0, align 8
@edge_top = dso_local local_unnamed_addr global i32 0, align 4
@spk_pos = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @say_prev_line], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @say_prev_line(ptr noundef %0) #0 {
%2 = load i32, ptr @spk_parked, align 4, !tbaa !5
%3 = or i32 %2, 1
store i32 %3, ptr @spk_parked, align 4, !tbaa !5
%4 = load i64, ptr @spk_y, align 8, !tbaa !9
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @edge_top, align 4, !tbaa !5
%8 = tail call i32 @announce_edge(ptr noundef %0, i32 noundef %7) #2
br label %16
9: ; preds = %1
%10 = add nsw i64 %4, -1
store i64 %10, ptr @spk_y, align 8, !tbaa !9
%11 = load i64, ptr %0, align 8, !tbaa !11
%12 = load i32, ptr @spk_pos, align 4, !tbaa !5
%13 = trunc i64 %11 to i32
%14 = sub i32 %12, %13
store i32 %14, ptr @spk_pos, align 4, !tbaa !5
%15 = tail call i32 @say_line(ptr noundef nonnull %0) #2
br label %16
16: ; preds = %9, %6
ret void
}
declare i32 @announce_edge(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @say_line(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"vc_data", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/speakup/extr_main.c_say_prev_line.c'
source_filename = "AnghaBench/linux/drivers/staging/speakup/extr_main.c_say_prev_line.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@spk_parked = common local_unnamed_addr global i32 0, align 4
@spk_y = common local_unnamed_addr global i64 0, align 8
@edge_top = common local_unnamed_addr global i32 0, align 4
@spk_pos = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @say_prev_line], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @say_prev_line(ptr noundef %0) #0 {
%2 = load i32, ptr @spk_parked, align 4, !tbaa !6
%3 = or i32 %2, 1
store i32 %3, ptr @spk_parked, align 4, !tbaa !6
%4 = load i64, ptr @spk_y, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @edge_top, align 4, !tbaa !6
%8 = tail call i32 @announce_edge(ptr noundef %0, i32 noundef %7) #2
br label %16
9: ; preds = %1
%10 = add nsw i64 %4, -1
store i64 %10, ptr @spk_y, align 8, !tbaa !10
%11 = load i64, ptr %0, align 8, !tbaa !12
%12 = load i32, ptr @spk_pos, align 4, !tbaa !6
%13 = trunc i64 %11 to i32
%14 = sub i32 %12, %13
store i32 %14, ptr @spk_pos, align 4, !tbaa !6
%15 = tail call i32 @say_line(ptr noundef nonnull %0) #2
br label %16
16: ; preds = %9, %6
ret void
}
declare i32 @announce_edge(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @say_line(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"vc_data", !11, i64 0}
| linux_drivers_staging_speakup_extr_main.c_say_prev_line |
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/sunxi/extr_pinctrl-sun50i-h6-r.c_sun50i_h6_r_pinctrl_probe.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/sunxi/extr_pinctrl-sun50i-h6-r.c_sun50i_h6_r_pinctrl_probe.c"
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"
@sun50i_h6_r_pinctrl_data = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sun50i_h6_r_pinctrl_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sun50i_h6_r_pinctrl_probe(ptr noundef %0) #0 {
%2 = tail call i32 @sunxi_pinctrl_init(ptr noundef %0, ptr noundef nonnull @sun50i_h6_r_pinctrl_data) #2
ret i32 %2
}
declare i32 @sunxi_pinctrl_init(ptr noundef, ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/pinctrl/sunxi/extr_pinctrl-sun50i-h6-r.c_sun50i_h6_r_pinctrl_probe.c'
source_filename = "AnghaBench/linux/drivers/pinctrl/sunxi/extr_pinctrl-sun50i-h6-r.c_sun50i_h6_r_pinctrl_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sun50i_h6_r_pinctrl_data = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sun50i_h6_r_pinctrl_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sun50i_h6_r_pinctrl_probe(ptr noundef %0) #0 {
%2 = tail call i32 @sunxi_pinctrl_init(ptr noundef %0, ptr noundef nonnull @sun50i_h6_r_pinctrl_data) #2
ret i32 %2
}
declare i32 @sunxi_pinctrl_init(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_pinctrl_sunxi_extr_pinctrl-sun50i-h6-r.c_sun50i_h6_r_pinctrl_probe |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_f75375s.c_set_pwm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_f75375s.c_set_pwm.c"
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.f75375_data = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_pwm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i64 @set_pwm(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef returned %3) #0 {
%5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call ptr @to_i2c_client(ptr noundef %0) #2
%8 = tail call ptr @i2c_get_clientdata(ptr noundef %7) #2
%9 = tail call i32 @simple_strtoul(ptr noundef %2, ptr noundef null, i32 noundef 10) #2
%10 = tail call i32 @mutex_lock(ptr noundef %8) #2
%11 = tail call i32 @SENSORS_LIMIT(i32 noundef %9, i32 noundef 0, i32 noundef 255) #2
%12 = getelementptr inbounds %struct.f75375_data, ptr %8, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !10
%14 = sext i32 %6 to i64
%15 = getelementptr inbounds i32, ptr %13, i64 %14
store i32 %11, ptr %15, align 4, !tbaa !13
%16 = tail call i32 @F75375_REG_FAN_PWM_DUTY(i32 noundef %6) #2
%17 = load ptr, ptr %12, align 8, !tbaa !10
%18 = getelementptr inbounds i32, ptr %17, i64 %14
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = tail call i32 @f75375_write8(ptr noundef %7, i32 noundef %16, i32 noundef %19) #2
%21 = tail call i32 @mutex_unlock(ptr noundef %8) #2
ret i64 %3
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @to_i2c_client(ptr noundef) local_unnamed_addr #1
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @SENSORS_LIMIT(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @f75375_write8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @F75375_REG_FAN_PWM_DUTY(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"f75375_data", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_f75375s.c_set_pwm.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_f75375s.c_set_pwm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @set_pwm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i64 @set_pwm(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef returned %3) #0 {
%5 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call ptr @to_i2c_client(ptr noundef %0) #2
%8 = tail call ptr @i2c_get_clientdata(ptr noundef %7) #2
%9 = tail call i32 @simple_strtoul(ptr noundef %2, ptr noundef null, i32 noundef 10) #2
%10 = tail call i32 @mutex_lock(ptr noundef %8) #2
%11 = tail call i32 @SENSORS_LIMIT(i32 noundef %9, i32 noundef 0, i32 noundef 255) #2
%12 = getelementptr inbounds i8, ptr %8, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = sext i32 %6 to i64
%15 = getelementptr inbounds i32, ptr %13, i64 %14
store i32 %11, ptr %15, align 4, !tbaa !14
%16 = tail call i32 @F75375_REG_FAN_PWM_DUTY(i32 noundef %6) #2
%17 = load ptr, ptr %12, align 8, !tbaa !11
%18 = getelementptr inbounds i32, ptr %17, i64 %14
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = tail call i32 @f75375_write8(ptr noundef %7, i32 noundef %16, i32 noundef %19) #2
%21 = tail call i32 @mutex_unlock(ptr noundef %8) #2
ret i64 %3
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @to_i2c_client(ptr noundef) local_unnamed_addr #1
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @simple_strtoul(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @SENSORS_LIMIT(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @f75375_write8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @F75375_REG_FAN_PWM_DUTY(i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"f75375_data", !8, i64 0, !13, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_hwmon_extr_f75375s.c_set_pwm |
; ModuleID = 'AnghaBench/esp-idf/components/driver/extr_spi_master.c_spi_bus_free.c'
source_filename = "AnghaBench/esp-idf/components/driver/extr_spi_master.c_spi_bus_free.c"
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.TYPE_4__ = type { i64, i32, %struct.TYPE_5__, i32, i32, ptr }
%struct.TYPE_5__ = type { ptr, ptr }
@SPI_HOST = dso_local local_unnamed_addr global i64 0, align 8
@VSPI_HOST = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"invalid host\00", align 1
@ESP_ERR_INVALID_ARG = dso_local local_unnamed_addr global i32 0, align 4
@spihost = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"host not in use\00", align 1
@ESP_ERR_INVALID_STATE = dso_local local_unnamed_addr global i32 0, align 4
@NO_CS = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"not all CSses freed\00", align 1
@ESP_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @spi_bus_free(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @SPI_HOST, align 8, !tbaa !5
%3 = icmp ule i64 %2, %0
%4 = load i64, ptr @VSPI_HOST, align 8
%5 = icmp uge i64 %4, %0
%6 = select i1 %3, i1 %5, i1 false
%7 = zext i1 %6 to i32
%8 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !9
%9 = tail call i32 @SPI_CHECK(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = load ptr, ptr @spihost, align 8, !tbaa !11
%11 = getelementptr inbounds ptr, ptr %10, i64 %0
%12 = load ptr, ptr %11, align 8, !tbaa !11
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = load i32, ptr @ESP_ERR_INVALID_STATE, align 4, !tbaa !9
%16 = tail call i32 @SPI_CHECK(i32 noundef %14, ptr noundef nonnull @.str.1, i32 noundef %15) #2
%17 = load i32, ptr @NO_CS, align 4, !tbaa !9
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %36
19: ; preds = %1, %19
%20 = phi i64 [ %32, %19 ], [ 0, %1 ]
%21 = load ptr, ptr @spihost, align 8, !tbaa !11
%22 = getelementptr inbounds ptr, ptr %21, i64 %0
%23 = load ptr, ptr %22, align 8, !tbaa !11
%24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 0, i32 5
%25 = load ptr, ptr %24, align 8, !tbaa !13
%26 = getelementptr inbounds i32, ptr %25, i64 %20
%27 = tail call ptr @atomic_load(ptr noundef %26) #2
%28 = icmp eq ptr %27, null
%29 = zext i1 %28 to i32
%30 = load i32, ptr @ESP_ERR_INVALID_STATE, align 4, !tbaa !9
%31 = tail call i32 @SPI_CHECK(i32 noundef %29, ptr noundef nonnull @.str.2, i32 noundef %30) #2
%32 = add nuw nsw i64 %20, 1
%33 = load i32, ptr @NO_CS, align 4, !tbaa !9
%34 = sext i32 %33 to i64
%35 = icmp slt i64 %32, %34
br i1 %35, label %19, label %36, !llvm.loop !16
36: ; preds = %19, %1
%37 = load ptr, ptr @spihost, align 8, !tbaa !11
%38 = getelementptr inbounds ptr, ptr %37, i64 %0
%39 = load ptr, ptr %38, align 8, !tbaa !11
%40 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 0, i32 4
%41 = tail call i32 @spicommon_bus_free_io_cfg(ptr noundef nonnull %40) #2
%42 = load ptr, ptr @spihost, align 8, !tbaa !11
%43 = getelementptr inbounds ptr, ptr %42, i64 %0
%44 = load ptr, ptr %43, align 8, !tbaa !11
%45 = load i64, ptr %44, align 8, !tbaa !18
%46 = icmp sgt i64 %45, 0
br i1 %46, label %47, label %52
47: ; preds = %36
%48 = tail call i32 @spicommon_dma_chan_free(i64 noundef %45) #2
%49 = load ptr, ptr @spihost, align 8, !tbaa !11
%50 = getelementptr inbounds ptr, ptr %49, i64 %0
%51 = load ptr, ptr %50, align 8, !tbaa !11
br label %52
52: ; preds = %47, %36
%53 = phi ptr [ %51, %47 ], [ %44, %36 ]
%54 = getelementptr inbounds %struct.TYPE_4__, ptr %53, i64 0, i32 2
%55 = tail call i32 @spi_hal_deinit(ptr noundef nonnull %54) #2
%56 = load ptr, ptr @spihost, align 8, !tbaa !11
%57 = getelementptr inbounds ptr, ptr %56, i64 %0
%58 = load ptr, ptr %57, align 8, !tbaa !11
%59 = getelementptr inbounds %struct.TYPE_4__, ptr %58, i64 0, i32 2, i32 1
%60 = load ptr, ptr %59, align 8, !tbaa !19
%61 = tail call i32 @free(ptr noundef %60) #2
%62 = load ptr, ptr @spihost, align 8, !tbaa !11
%63 = getelementptr inbounds ptr, ptr %62, i64 %0
%64 = load ptr, ptr %63, align 8, !tbaa !11
%65 = getelementptr inbounds %struct.TYPE_4__, ptr %64, i64 0, i32 2
%66 = load ptr, ptr %65, align 8, !tbaa !20
%67 = tail call i32 @free(ptr noundef %66) #2
%68 = load ptr, ptr @spihost, align 8, !tbaa !11
%69 = getelementptr inbounds ptr, ptr %68, i64 %0
%70 = load ptr, ptr %69, align 8, !tbaa !11
%71 = getelementptr inbounds %struct.TYPE_4__, ptr %70, i64 0, i32 1
%72 = load i32, ptr %71, align 8, !tbaa !21
%73 = tail call i32 @esp_intr_free(i32 noundef %72) #2
%74 = tail call i32 @spicommon_periph_free(i64 noundef %0) #2
%75 = load ptr, ptr @spihost, align 8, !tbaa !11
%76 = getelementptr inbounds ptr, ptr %75, i64 %0
%77 = load ptr, ptr %76, align 8, !tbaa !11
%78 = tail call i32 @free(ptr noundef %77) #2
%79 = load ptr, ptr @spihost, align 8, !tbaa !11
%80 = getelementptr inbounds ptr, ptr %79, i64 %0
store ptr null, ptr %80, align 8, !tbaa !11
%81 = load i32, ptr @ESP_OK, align 4, !tbaa !9
ret i32 %81
}
declare i32 @SPI_CHECK(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @atomic_load(ptr noundef) local_unnamed_addr #1
declare i32 @spicommon_bus_free_io_cfg(ptr noundef) local_unnamed_addr #1
declare i32 @spicommon_dma_chan_free(i64 noundef) local_unnamed_addr #1
declare i32 @spi_hal_deinit(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @esp_intr_free(i32 noundef) local_unnamed_addr #1
declare i32 @spicommon_periph_free(i64 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !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 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 40}
!14 = !{!"TYPE_4__", !6, i64 0, !10, i64 8, !15, i64 16, !10, i64 32, !10, i64 36, !12, i64 40}
!15 = !{!"TYPE_5__", !12, i64 0, !12, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!14, !6, i64 0}
!19 = !{!14, !12, i64 24}
!20 = !{!14, !12, i64 16}
!21 = !{!14, !10, i64 8}
| ; ModuleID = 'AnghaBench/esp-idf/components/driver/extr_spi_master.c_spi_bus_free.c'
source_filename = "AnghaBench/esp-idf/components/driver/extr_spi_master.c_spi_bus_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SPI_HOST = common local_unnamed_addr global i64 0, align 8
@VSPI_HOST = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [13 x i8] c"invalid host\00", align 1
@ESP_ERR_INVALID_ARG = common local_unnamed_addr global i32 0, align 4
@spihost = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [16 x i8] c"host not in use\00", align 1
@ESP_ERR_INVALID_STATE = common local_unnamed_addr global i32 0, align 4
@NO_CS = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"not all CSses freed\00", align 1
@ESP_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @spi_bus_free(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @SPI_HOST, align 8, !tbaa !6
%3 = icmp ule i64 %2, %0
%4 = load i64, ptr @VSPI_HOST, align 8
%5 = icmp uge i64 %4, %0
%6 = select i1 %3, i1 %5, i1 false
%7 = zext i1 %6 to i32
%8 = load i32, ptr @ESP_ERR_INVALID_ARG, align 4, !tbaa !10
%9 = tail call i32 @SPI_CHECK(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %8) #2
%10 = load ptr, ptr @spihost, align 8, !tbaa !12
%11 = getelementptr inbounds ptr, ptr %10, i64 %0
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = icmp ne ptr %12, null
%14 = zext i1 %13 to i32
%15 = load i32, ptr @ESP_ERR_INVALID_STATE, align 4, !tbaa !10
%16 = tail call i32 @SPI_CHECK(i32 noundef %14, ptr noundef nonnull @.str.1, i32 noundef %15) #2
%17 = load i32, ptr @NO_CS, align 4, !tbaa !10
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %36
19: ; preds = %1, %19
%20 = phi i64 [ %32, %19 ], [ 0, %1 ]
%21 = load ptr, ptr @spihost, align 8, !tbaa !12
%22 = getelementptr inbounds ptr, ptr %21, i64 %0
%23 = load ptr, ptr %22, align 8, !tbaa !12
%24 = getelementptr inbounds i8, ptr %23, i64 40
%25 = load ptr, ptr %24, align 8, !tbaa !14
%26 = getelementptr inbounds i32, ptr %25, i64 %20
%27 = tail call ptr @atomic_load(ptr noundef %26) #2
%28 = icmp eq ptr %27, null
%29 = zext i1 %28 to i32
%30 = load i32, ptr @ESP_ERR_INVALID_STATE, align 4, !tbaa !10
%31 = tail call i32 @SPI_CHECK(i32 noundef %29, ptr noundef nonnull @.str.2, i32 noundef %30) #2
%32 = add nuw nsw i64 %20, 1
%33 = load i32, ptr @NO_CS, align 4, !tbaa !10
%34 = sext i32 %33 to i64
%35 = icmp slt i64 %32, %34
br i1 %35, label %19, label %36, !llvm.loop !17
36: ; preds = %19, %1
%37 = load ptr, ptr @spihost, align 8, !tbaa !12
%38 = getelementptr inbounds ptr, ptr %37, i64 %0
%39 = load ptr, ptr %38, align 8, !tbaa !12
%40 = getelementptr inbounds i8, ptr %39, i64 36
%41 = tail call i32 @spicommon_bus_free_io_cfg(ptr noundef nonnull %40) #2
%42 = load ptr, ptr @spihost, align 8, !tbaa !12
%43 = getelementptr inbounds ptr, ptr %42, i64 %0
%44 = load ptr, ptr %43, align 8, !tbaa !12
%45 = load i64, ptr %44, align 8, !tbaa !19
%46 = icmp sgt i64 %45, 0
br i1 %46, label %47, label %52
47: ; preds = %36
%48 = tail call i32 @spicommon_dma_chan_free(i64 noundef %45) #2
%49 = load ptr, ptr @spihost, align 8, !tbaa !12
%50 = getelementptr inbounds ptr, ptr %49, i64 %0
%51 = load ptr, ptr %50, align 8, !tbaa !12
br label %52
52: ; preds = %47, %36
%53 = phi ptr [ %51, %47 ], [ %44, %36 ]
%54 = getelementptr inbounds i8, ptr %53, i64 16
%55 = tail call i32 @spi_hal_deinit(ptr noundef nonnull %54) #2
%56 = load ptr, ptr @spihost, align 8, !tbaa !12
%57 = getelementptr inbounds ptr, ptr %56, i64 %0
%58 = load ptr, ptr %57, align 8, !tbaa !12
%59 = getelementptr inbounds i8, ptr %58, i64 24
%60 = load ptr, ptr %59, align 8, !tbaa !20
%61 = tail call i32 @free(ptr noundef %60) #2
%62 = load ptr, ptr @spihost, align 8, !tbaa !12
%63 = getelementptr inbounds ptr, ptr %62, i64 %0
%64 = load ptr, ptr %63, align 8, !tbaa !12
%65 = getelementptr inbounds i8, ptr %64, i64 16
%66 = load ptr, ptr %65, align 8, !tbaa !21
%67 = tail call i32 @free(ptr noundef %66) #2
%68 = load ptr, ptr @spihost, align 8, !tbaa !12
%69 = getelementptr inbounds ptr, ptr %68, i64 %0
%70 = load ptr, ptr %69, align 8, !tbaa !12
%71 = getelementptr inbounds i8, ptr %70, i64 8
%72 = load i32, ptr %71, align 8, !tbaa !22
%73 = tail call i32 @esp_intr_free(i32 noundef %72) #2
%74 = tail call i32 @spicommon_periph_free(i64 noundef %0) #2
%75 = load ptr, ptr @spihost, align 8, !tbaa !12
%76 = getelementptr inbounds ptr, ptr %75, i64 %0
%77 = load ptr, ptr %76, align 8, !tbaa !12
%78 = tail call i32 @free(ptr noundef %77) #2
%79 = load ptr, ptr @spihost, align 8, !tbaa !12
%80 = getelementptr inbounds ptr, ptr %79, i64 %0
store ptr null, ptr %80, align 8, !tbaa !12
%81 = load i32, ptr @ESP_OK, align 4, !tbaa !10
ret i32 %81
}
declare i32 @SPI_CHECK(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @atomic_load(ptr noundef) local_unnamed_addr #1
declare i32 @spicommon_bus_free_io_cfg(ptr noundef) local_unnamed_addr #1
declare i32 @spicommon_dma_chan_free(i64 noundef) local_unnamed_addr #1
declare i32 @spi_hal_deinit(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @esp_intr_free(i32 noundef) local_unnamed_addr #1
declare i32 @spicommon_periph_free(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 40}
!15 = !{!"TYPE_4__", !7, i64 0, !11, i64 8, !16, i64 16, !11, i64 32, !11, i64 36, !13, i64 40}
!16 = !{!"TYPE_5__", !13, i64 0, !13, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!15, !7, i64 0}
!20 = !{!15, !13, i64 24}
!21 = !{!15, !13, i64 16}
!22 = !{!15, !11, i64 8}
| esp-idf_components_driver_extr_spi_master.c_spi_bus_free |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ctau/extr_ctau.c_cte_in2.c'
source_filename = "AnghaBench/freebsd/sys/dev/ctau/extr_ctau.c_cte_in2.c"
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"
@E1CS2_SCC = dso_local local_unnamed_addr global i8 0, align 1
; Function Attrs: nounwind uwtable
define dso_local zeroext i8 @cte_in2(i32 noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 {
%3 = tail call i32 @E1CS2(i32 noundef %0) #2
%4 = load i8, ptr @E1CS2_SCC, align 1, !tbaa !5
%5 = lshr i8 %1, 4
%6 = or i8 %4, %5
%7 = tail call i32 @outb(i32 noundef %3, i8 noundef zeroext %6) #2
%8 = tail call i32 @E1DAT(i32 noundef %0) #2
%9 = and i8 %1, 15
%10 = tail call i32 @outb(i32 noundef %8, i8 noundef zeroext %9) #2
%11 = tail call i32 @E1DAT(i32 noundef %0) #2
%12 = tail call zeroext i8 @inb(i32 noundef %11) #2
ret i8 %12
}
declare i32 @outb(i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
declare i32 @E1CS2(i32 noundef) local_unnamed_addr #1
declare i32 @E1DAT(i32 noundef) local_unnamed_addr #1
declare zeroext i8 @inb(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ctau/extr_ctau.c_cte_in2.c'
source_filename = "AnghaBench/freebsd/sys/dev/ctau/extr_ctau.c_cte_in2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@E1CS2_SCC = common local_unnamed_addr global i8 0, align 1
; Function Attrs: nounwind ssp uwtable(sync)
define zeroext i8 @cte_in2(i32 noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 {
%3 = tail call i32 @E1CS2(i32 noundef %0) #2
%4 = load i8, ptr @E1CS2_SCC, align 1, !tbaa !6
%5 = lshr i8 %1, 4
%6 = or i8 %4, %5
%7 = tail call i32 @outb(i32 noundef %3, i8 noundef zeroext %6) #2
%8 = tail call i32 @E1DAT(i32 noundef %0) #2
%9 = and i8 %1, 15
%10 = tail call i32 @outb(i32 noundef %8, i8 noundef zeroext %9) #2
%11 = tail call i32 @E1DAT(i32 noundef %0) #2
%12 = tail call zeroext i8 @inb(i32 noundef %11) #2
ret i8 %12
}
declare i32 @outb(i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
declare i32 @E1CS2(i32 noundef) local_unnamed_addr #1
declare i32 @E1DAT(i32 noundef) local_unnamed_addr #1
declare zeroext i8 @inb(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_ctau_extr_ctau.c_cte_in2 |
; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_multiplex.c_multiplexSync.c'
source_filename = "AnghaBench/sqlcipher/src/extr_test_multiplex.c_multiplexSync.c"
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.TYPE_11__ = type { i32, ptr }
%struct.TYPE_9__ = type { ptr }
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @multiplexSync], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @multiplexSync(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10
%5 = load i32, ptr %3, align 8, !tbaa !12
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %31
7: ; preds = %2
%8 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 1
br label %9
9: ; preds = %7, %25
%10 = phi i32 [ %5, %7 ], [ %26, %25 ]
%11 = phi i64 [ 0, %7 ], [ %28, %25 ]
%12 = phi i32 [ %4, %7 ], [ %27, %25 ]
%13 = load ptr, ptr %8, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.TYPE_9__, ptr %13, i64 %11
%15 = load ptr, ptr %14, align 8, !tbaa !15
%16 = icmp eq ptr %15, null
br i1 %16, label %25, label %17
17: ; preds = %9
%18 = load ptr, ptr %15, align 8, !tbaa !17
%19 = load ptr, ptr %18, align 8, !tbaa !19
%20 = tail call i32 %19(ptr noundef nonnull %15, i32 noundef %1) #1
%21 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10
%22 = icmp eq i32 %20, %21
%23 = select i1 %22, i32 %12, i32 %20
%24 = load i32, ptr %3, align 8, !tbaa !12
br label %25
25: ; preds = %17, %9
%26 = phi i32 [ %24, %17 ], [ %10, %9 ]
%27 = phi i32 [ %23, %17 ], [ %12, %9 ]
%28 = add nuw nsw i64 %11, 1
%29 = sext i32 %26 to i64
%30 = icmp slt i64 %28, %29
br i1 %30, label %9, label %31, !llvm.loop !21
31: ; preds = %25, %2
%32 = phi i32 [ %4, %2 ], [ %27, %25 ]
ret i32 %32
}
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_12__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_11__", !11, i64 0, !7, i64 8}
!14 = !{!13, !7, i64 8}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_9__", !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_10__", !7, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_8__", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/sqlcipher/src/extr_test_multiplex.c_multiplexSync.c'
source_filename = "AnghaBench/sqlcipher/src/extr_test_multiplex.c_multiplexSync.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_9__ = type { ptr }
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @multiplexSync], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @multiplexSync(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !11
%5 = load i32, ptr %3, align 8, !tbaa !13
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %31
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %3, i64 8
br label %9
9: ; preds = %7, %25
%10 = phi i32 [ %5, %7 ], [ %26, %25 ]
%11 = phi i64 [ 0, %7 ], [ %28, %25 ]
%12 = phi i32 [ %4, %7 ], [ %27, %25 ]
%13 = load ptr, ptr %8, align 8, !tbaa !15
%14 = getelementptr inbounds %struct.TYPE_9__, ptr %13, i64 %11
%15 = load ptr, ptr %14, align 8, !tbaa !16
%16 = icmp eq ptr %15, null
br i1 %16, label %25, label %17
17: ; preds = %9
%18 = load ptr, ptr %15, align 8, !tbaa !18
%19 = load ptr, ptr %18, align 8, !tbaa !20
%20 = tail call i32 %19(ptr noundef nonnull %15, i32 noundef %1) #1
%21 = load i32, ptr @SQLITE_OK, align 4, !tbaa !11
%22 = icmp eq i32 %20, %21
%23 = select i1 %22, i32 %12, i32 %20
%24 = load i32, ptr %3, align 8, !tbaa !13
br label %25
25: ; preds = %17, %9
%26 = phi i32 [ %24, %17 ], [ %10, %9 ]
%27 = phi i32 [ %23, %17 ], [ %12, %9 ]
%28 = add nuw nsw i64 %11, 1
%29 = sext i32 %26 to i64
%30 = icmp slt i64 %28, %29
br i1 %30, label %9, label %31, !llvm.loop !22
31: ; preds = %25, %2
%32 = phi i32 [ %4, %2 ], [ %27, %25 ]
ret i32 %32
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_12__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_11__", !12, i64 0, !8, i64 8}
!15 = !{!14, !8, i64 8}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_9__", !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_10__", !8, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"TYPE_8__", !8, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| sqlcipher_src_extr_test_multiplex.c_multiplexSync |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixgbe/extr_if_ixv.c_ixv_if_local_timer.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixgbe/extr_if_ixv.c_ixv_if_local_timer.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixv_if_local_timer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ixv_if_local_timer(i32 noundef %0, i64 noundef %1) #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @iflib_admin_intr_deferred(i32 noundef %0) #2
br label %6
6: ; preds = %2, %4
ret void
}
declare i32 @iflib_admin_intr_deferred(i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ixgbe/extr_if_ixv.c_ixv_if_local_timer.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixgbe/extr_if_ixv.c_ixv_if_local_timer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @ixv_if_local_timer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ixv_if_local_timer(i32 noundef %0, i64 noundef %1) #0 {
%3 = icmp eq i64 %1, 0
br i1 %3, label %4, label %6
4: ; preds = %2
%5 = tail call i32 @iflib_admin_intr_deferred(i32 noundef %0) #2
br label %6
6: ; preds = %2, %4
ret void
}
declare i32 @iflib_admin_intr_deferred(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_ixgbe_extr_if_ixv.c_ixv_if_local_timer |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v2_4.c_sdma_v2_4_enable.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v2_4.c_sdma_v2_4_enable.c"
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"
@mmSDMA0_F32_CNTL = dso_local local_unnamed_addr global i64 0, align 8
@sdma_offsets = dso_local local_unnamed_addr global ptr null, align 8
@SDMA0_F32_CNTL = dso_local local_unnamed_addr global i32 0, align 4
@HALT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sdma_v2_4_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sdma_v2_4_enable(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = tail call i32 @sdma_v2_4_gfx_stop(ptr noundef %0) #2
%6 = tail call i32 @sdma_v2_4_rlc_stop(ptr noundef %0) #2
br label %7
7: ; preds = %4, %2
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %33
10: ; preds = %7
%11 = zext i1 %3 to i32
br label %12
12: ; preds = %10, %12
%13 = phi i64 [ %29, %12 ], [ 0, %10 ]
%14 = load i64, ptr @mmSDMA0_F32_CNTL, align 8, !tbaa !11
%15 = load ptr, ptr @sdma_offsets, align 8, !tbaa !13
%16 = getelementptr inbounds i64, ptr %15, i64 %13
%17 = load i64, ptr %16, align 8, !tbaa !11
%18 = add nsw i64 %17, %14
%19 = tail call i32 @RREG32(i64 noundef %18) #2
%20 = load i32, ptr @SDMA0_F32_CNTL, align 4, !tbaa !15
%21 = load i32, ptr @HALT, align 4, !tbaa !15
%22 = tail call i32 @REG_SET_FIELD(i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %11) #2
%23 = load i64, ptr @mmSDMA0_F32_CNTL, align 8, !tbaa !11
%24 = load ptr, ptr @sdma_offsets, align 8, !tbaa !13
%25 = getelementptr inbounds i64, ptr %24, i64 %13
%26 = load i64, ptr %25, align 8, !tbaa !11
%27 = add nsw i64 %26, %23
%28 = tail call i32 @WREG32(i64 noundef %27, i32 noundef %22) #2
%29 = add nuw nsw i64 %13, 1
%30 = load i32, ptr %0, align 4, !tbaa !5
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %12, label %33, !llvm.loop !16
33: ; preds = %12, %7
ret void
}
declare i32 @sdma_v2_4_gfx_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sdma_v2_4_rlc_stop(ptr noundef) local_unnamed_addr #1
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WREG32(i64 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"amdgpu_device", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v2_4.c_sdma_v2_4_enable.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v2_4.c_sdma_v2_4_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mmSDMA0_F32_CNTL = common local_unnamed_addr global i64 0, align 8
@sdma_offsets = common local_unnamed_addr global ptr null, align 8
@SDMA0_F32_CNTL = common local_unnamed_addr global i32 0, align 4
@HALT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sdma_v2_4_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sdma_v2_4_enable(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = tail call i32 @sdma_v2_4_gfx_stop(ptr noundef %0) #2
%6 = tail call i32 @sdma_v2_4_rlc_stop(ptr noundef %0) #2
br label %7
7: ; preds = %4, %2
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %33
10: ; preds = %7
%11 = zext i1 %3 to i32
br label %12
12: ; preds = %10, %12
%13 = phi i64 [ %29, %12 ], [ 0, %10 ]
%14 = load i64, ptr @mmSDMA0_F32_CNTL, align 8, !tbaa !12
%15 = load ptr, ptr @sdma_offsets, align 8, !tbaa !14
%16 = getelementptr inbounds i64, ptr %15, i64 %13
%17 = load i64, ptr %16, align 8, !tbaa !12
%18 = add nsw i64 %17, %14
%19 = tail call i32 @RREG32(i64 noundef %18) #2
%20 = load i32, ptr @SDMA0_F32_CNTL, align 4, !tbaa !16
%21 = load i32, ptr @HALT, align 4, !tbaa !16
%22 = tail call i32 @REG_SET_FIELD(i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %11) #2
%23 = load i64, ptr @mmSDMA0_F32_CNTL, align 8, !tbaa !12
%24 = load ptr, ptr @sdma_offsets, align 8, !tbaa !14
%25 = getelementptr inbounds i64, ptr %24, i64 %13
%26 = load i64, ptr %25, align 8, !tbaa !12
%27 = add nsw i64 %26, %23
%28 = tail call i32 @WREG32(i64 noundef %27, i32 noundef %22) #2
%29 = add nuw nsw i64 %13, 1
%30 = load i32, ptr %0, align 4, !tbaa !6
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %12, label %33, !llvm.loop !17
33: ; preds = %12, %7
ret void
}
declare i32 @sdma_v2_4_gfx_stop(ptr noundef) local_unnamed_addr #1
declare i32 @sdma_v2_4_rlc_stop(ptr noundef) local_unnamed_addr #1
declare i32 @RREG32(i64 noundef) local_unnamed_addr #1
declare i32 @REG_SET_FIELD(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WREG32(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"amdgpu_device", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !10, i64 0}
!16 = !{!9, !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| linux_drivers_gpu_drm_amd_amdgpu_extr_sdma_v2_4.c_sdma_v2_4_enable |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_device_isoc_enter.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_device_isoc_enter.c"
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.usb_xfer = type { i32, ptr, i64, ptr }
%struct.TYPE_4__ = type { i32, i32 }
@.str = private unnamed_addr constant [28 x i8] c"xfer=%p next=%d nframes=%d\0A\00", align 1
@SOTG_FRAME_NUM = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_FRAME_NUM_SOFR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"start next=%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @saf1761_otg_device_isoc_enter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @saf1761_otg_device_isoc_enter(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.usb_xfer, ptr %0, i64 0, i32 3
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = tail call ptr @SAF1761_OTG_BUS2SC(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.usb_xfer, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !14
%8 = load i32, ptr %7, align 4, !tbaa !15
%9 = load i32, ptr %0, align 8, !tbaa !17
%10 = tail call i32 (i32, ptr, ...) @DPRINTFN(i32 noundef 6, ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @SOTG_FRAME_NUM, align 4, !tbaa !18
%12 = tail call i32 @SAF1761_READ_LE_4(ptr noundef %5, i32 noundef %11) #2
%13 = load ptr, ptr %6, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %13, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !19
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @SOTG_FRAME_NUM_SOFR_MASK, align 4, !tbaa !18
br i1 %16, label %24, label %18
18: ; preds = %1
%19 = load i32, ptr %13, align 4, !tbaa !15
%20 = sub nsw i32 %12, %19
%21 = and i32 %20, %17
%22 = load i32, ptr %0, align 8, !tbaa !17
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %31
24: ; preds = %18, %1
%25 = add nsw i32 %12, 3
%26 = and i32 %17, %25
store i32 %26, ptr %13, align 4, !tbaa !15
store i32 1, ptr %14, align 4, !tbaa !19
%27 = tail call i32 (i32, ptr, ...) @DPRINTFN(i32 noundef 3, ptr noundef nonnull @.str.1, i32 noundef %26) #2
%28 = load ptr, ptr %6, align 8, !tbaa !14
%29 = load i32, ptr %28, align 4, !tbaa !15
%30 = load i32, ptr @SOTG_FRAME_NUM_SOFR_MASK, align 4, !tbaa !18
br label %31
31: ; preds = %24, %18
%32 = phi i32 [ %30, %24 ], [ %17, %18 ]
%33 = phi i32 [ %29, %24 ], [ %19, %18 ]
%34 = sub nsw i32 %33, %12
%35 = and i32 %34, %32
%36 = tail call i64 @usb_isoc_time_expand(ptr noundef %5, i32 noundef %12) #2
%37 = sext i32 %35 to i64
%38 = add nsw i64 %36, %37
%39 = load i32, ptr %0, align 8, !tbaa !17
%40 = sext i32 %39 to i64
%41 = add nsw i64 %38, %40
%42 = getelementptr inbounds %struct.usb_xfer, ptr %0, i64 0, i32 2
store i64 %41, ptr %42, align 8, !tbaa !20
%43 = load ptr, ptr %6, align 8, !tbaa !14
%44 = load i32, ptr %43, align 4, !tbaa !15
%45 = add nsw i32 %44, %39
store i32 %45, ptr %43, align 4, !tbaa !15
%46 = tail call i32 @saf1761_otg_setup_standard_chain(ptr noundef nonnull %0) #2
ret void
}
declare ptr @SAF1761_OTG_BUS2SC(i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTFN(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @SAF1761_READ_LE_4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @usb_isoc_time_expand(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @saf1761_otg_setup_standard_chain(ptr noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"usb_xfer", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!17 = !{!6, !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!16, !7, i64 4}
!20 = !{!6, !11, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_device_isoc_enter.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_device_isoc_enter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [28 x i8] c"xfer=%p next=%d nframes=%d\0A\00", align 1
@SOTG_FRAME_NUM = common local_unnamed_addr global i32 0, align 4
@SOTG_FRAME_NUM_SOFR_MASK = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"start next=%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @saf1761_otg_device_isoc_enter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @saf1761_otg_device_isoc_enter(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !13
%5 = tail call ptr @SAF1761_OTG_BUS2SC(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !15
%8 = load i32, ptr %7, align 4, !tbaa !16
%9 = load i32, ptr %0, align 8, !tbaa !18
%10 = tail call i32 (i32, ptr, ...) @DPRINTFN(i32 noundef 6, ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %8, i32 noundef %9) #2
%11 = load i32, ptr @SOTG_FRAME_NUM, align 4, !tbaa !19
%12 = tail call i32 @SAF1761_READ_LE_4(ptr noundef %5, i32 noundef %11) #2
%13 = load ptr, ptr %6, align 8, !tbaa !15
%14 = getelementptr inbounds i8, ptr %13, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !20
%16 = icmp eq i32 %15, 0
%17 = load i32, ptr @SOTG_FRAME_NUM_SOFR_MASK, align 4, !tbaa !19
br i1 %16, label %24, label %18
18: ; preds = %1
%19 = load i32, ptr %13, align 4, !tbaa !16
%20 = sub nsw i32 %12, %19
%21 = and i32 %20, %17
%22 = load i32, ptr %0, align 8, !tbaa !18
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %31
24: ; preds = %18, %1
%25 = add nsw i32 %12, 3
%26 = and i32 %17, %25
store i32 %26, ptr %13, align 4, !tbaa !16
store i32 1, ptr %14, align 4, !tbaa !20
%27 = tail call i32 (i32, ptr, ...) @DPRINTFN(i32 noundef 3, ptr noundef nonnull @.str.1, i32 noundef %26) #2
%28 = load ptr, ptr %6, align 8, !tbaa !15
%29 = load i32, ptr %28, align 4, !tbaa !16
%30 = load i32, ptr @SOTG_FRAME_NUM_SOFR_MASK, align 4, !tbaa !19
br label %31
31: ; preds = %24, %18
%32 = phi i32 [ %30, %24 ], [ %17, %18 ]
%33 = phi i32 [ %29, %24 ], [ %19, %18 ]
%34 = sub nsw i32 %33, %12
%35 = and i32 %34, %32
%36 = tail call i64 @usb_isoc_time_expand(ptr noundef %5, i32 noundef %12) #2
%37 = sext i32 %35 to i64
%38 = add nsw i64 %36, %37
%39 = load i32, ptr %0, align 8, !tbaa !18
%40 = sext i32 %39 to i64
%41 = add nsw i64 %38, %40
%42 = getelementptr inbounds i8, ptr %0, i64 16
store i64 %41, ptr %42, align 8, !tbaa !21
%43 = load ptr, ptr %6, align 8, !tbaa !15
%44 = load i32, ptr %43, align 4, !tbaa !16
%45 = add nsw i32 %44, %39
store i32 %45, ptr %43, align 4, !tbaa !16
%46 = tail call i32 @saf1761_otg_setup_standard_chain(ptr noundef nonnull %0) #2
ret void
}
declare ptr @SAF1761_OTG_BUS2SC(i32 noundef) local_unnamed_addr #1
declare i32 @DPRINTFN(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @SAF1761_READ_LE_4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @usb_isoc_time_expand(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @saf1761_otg_setup_standard_chain(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"usb_xfer", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_3__", !8, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!18 = !{!7, !8, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!17, !8, i64 4}
!21 = !{!7, !12, i64 16}
| freebsd_sys_dev_usb_controller_extr_saf1761_otg.c_saf1761_otg_device_isoc_enter |
; ModuleID = 'AnghaBench/linux/arch/sh/kernel/extr_ptrace_32.c_user_disable_single_step.c'
source_filename = "AnghaBench/linux/arch/sh/kernel/extr_ptrace_32.c_user_disable_single_step.c"
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"
@TIF_SINGLESTEP = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @user_disable_single_step(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @TIF_SINGLESTEP, align 4, !tbaa !5
%3 = tail call i32 @clear_tsk_thread_flag(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @clear_tsk_thread_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/sh/kernel/extr_ptrace_32.c_user_disable_single_step.c'
source_filename = "AnghaBench/linux/arch/sh/kernel/extr_ptrace_32.c_user_disable_single_step.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIF_SINGLESTEP = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @user_disable_single_step(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @TIF_SINGLESTEP, align 4, !tbaa !6
%3 = tail call i32 @clear_tsk_thread_flag(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @clear_tsk_thread_flag(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_sh_kernel_extr_ptrace_32.c_user_disable_single_step |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_write_rx_ctl.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_write_rx_ctl.c"
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.TYPE_4__ = type { i32, i32, i64 }
%struct.i40e_hw = type { %struct.TYPE_4__, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
@I40E_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@I40E_MAC_X722 = dso_local local_unnamed_addr global i64 0, align 8
@I40E_AQ_RC_EAGAIN = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @i40e_write_rx_ctl(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = icmp slt i32 %8, 5
br i1 %9, label %34, label %10
10: ; preds = %3, %6
%11 = getelementptr inbounds %struct.i40e_hw, ptr %0, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = load i64, ptr @I40E_MAC_X722, align 8, !tbaa !15
%14 = icmp eq i64 %12, %13
br i1 %14, label %34, label %15
15: ; preds = %10
%16 = tail call i32 @i40e_aq_rx_ctl_write_register(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef null) #2
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = load i64, ptr @I40E_AQ_RC_EAGAIN, align 8, !tbaa !15
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %31
21: ; preds = %15, %21
%22 = phi i32 [ %24, %21 ], [ 5, %15 ]
%23 = tail call i32 @i40e_msec_delay(i32 noundef 1) #2
%24 = add nsw i32 %22, -1
%25 = tail call i32 @i40e_aq_rx_ctl_write_register(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef null) #2
%26 = load i64, ptr %17, align 8, !tbaa !16
%27 = load i64, ptr @I40E_AQ_RC_EAGAIN, align 8, !tbaa !15
%28 = icmp eq i64 %26, %27
%29 = icmp ne i32 %24, 0
%30 = select i1 %28, i1 %29, i1 false
br i1 %30, label %21, label %31
31: ; preds = %21, %15
%32 = phi i32 [ %16, %15 ], [ %25, %21 ]
%33 = icmp eq i32 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %6, %10, %31
%35 = tail call i32 @wr32(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2
br label %36
36: ; preds = %31, %34
ret void
}
declare i32 @i40e_aq_rx_ctl_write_register(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @i40e_msec_delay(i32 noundef) local_unnamed_addr #1
declare i32 @wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"i40e_hw", !7, i64 0, !12, i64 16}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"TYPE_3__", !11, i64 0}
!13 = !{!6, !8, i64 4}
!14 = !{!6, !11, i64 16}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_write_rx_ctl.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_i40e_common.c_i40e_write_rx_ctl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I40E_SUCCESS = common local_unnamed_addr global i32 0, align 4
@I40E_MAC_X722 = common local_unnamed_addr global i64 0, align 8
@I40E_AQ_RC_EAGAIN = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @i40e_write_rx_ctl(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %10
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = icmp slt i32 %8, 5
br i1 %9, label %51, label %10
10: ; preds = %3, %6
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = load i64, ptr @I40E_MAC_X722, align 8, !tbaa !16
%14 = icmp eq i64 %12, %13
br i1 %14, label %51, label %15
15: ; preds = %10
%16 = tail call i32 @i40e_aq_rx_ctl_write_register(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef null) #2
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !17
%19 = load i64, ptr @I40E_AQ_RC_EAGAIN, align 8, !tbaa !16
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %48
21: ; preds = %15
%22 = tail call i32 @i40e_msec_delay(i32 noundef 1) #2
%23 = tail call i32 @i40e_aq_rx_ctl_write_register(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef null) #2
%24 = load i64, ptr %17, align 8, !tbaa !17
%25 = load i64, ptr @I40E_AQ_RC_EAGAIN, align 8, !tbaa !16
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %48
27: ; preds = %21
%28 = tail call i32 @i40e_msec_delay(i32 noundef 1) #2
%29 = tail call i32 @i40e_aq_rx_ctl_write_register(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef null) #2
%30 = load i64, ptr %17, align 8, !tbaa !17
%31 = load i64, ptr @I40E_AQ_RC_EAGAIN, align 8, !tbaa !16
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %48
33: ; preds = %27
%34 = tail call i32 @i40e_msec_delay(i32 noundef 1) #2
%35 = tail call i32 @i40e_aq_rx_ctl_write_register(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef null) #2
%36 = load i64, ptr %17, align 8, !tbaa !17
%37 = load i64, ptr @I40E_AQ_RC_EAGAIN, align 8, !tbaa !16
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %48
39: ; preds = %33
%40 = tail call i32 @i40e_msec_delay(i32 noundef 1) #2
%41 = tail call i32 @i40e_aq_rx_ctl_write_register(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef null) #2
%42 = load i64, ptr %17, align 8, !tbaa !17
%43 = load i64, ptr @I40E_AQ_RC_EAGAIN, align 8, !tbaa !16
%44 = icmp eq i64 %42, %43
br i1 %44, label %45, label %48
45: ; preds = %39
%46 = tail call i32 @i40e_msec_delay(i32 noundef 1) #2
%47 = tail call i32 @i40e_aq_rx_ctl_write_register(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, ptr noundef null) #2
br label %48
48: ; preds = %21, %27, %33, %39, %45, %15
%49 = phi i32 [ %16, %15 ], [ %23, %21 ], [ %29, %27 ], [ %35, %33 ], [ %41, %39 ], [ %47, %45 ]
%50 = icmp eq i32 %49, 0
br i1 %50, label %53, label %51
51: ; preds = %6, %10, %48
%52 = tail call i32 @wr32(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2
br label %53
53: ; preds = %48, %51
ret void
}
declare i32 @i40e_aq_rx_ctl_write_register(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @i40e_msec_delay(i32 noundef) local_unnamed_addr #1
declare i32 @wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"i40e_hw", !8, i64 0, !13, i64 16}
!8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"TYPE_3__", !12, i64 0}
!14 = !{!7, !9, i64 4}
!15 = !{!7, !12, i64 16}
!16 = !{!12, !12, i64 0}
!17 = !{!7, !12, i64 8}
| freebsd_sys_dev_ixl_extr_i40e_common.c_i40e_write_rx_ctl |
; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_et.c_vmbus_et_intr.c'
source_filename = "AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_et.c_vmbus_et_intr.c"
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.TYPE_3__ = type { i32, ptr, i64 }
%struct.thread = type { i32, ptr }
@vmbus_et = dso_local global %struct.TYPE_3__ zeroinitializer, align 8
@curthread = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @vmbus_et_intr(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @vmbus_et, i64 0, i32 2), align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %15, label %4
4: ; preds = %1
%5 = load ptr, ptr @curthread, align 8, !tbaa !12
%6 = load i32, ptr %5, align 8, !tbaa !13
%7 = add nsw i32 %6, 1
store i32 %7, ptr %5, align 8, !tbaa !13
%8 = getelementptr inbounds %struct.thread, ptr %5, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !15
store ptr %0, ptr %8, align 8, !tbaa !15
%10 = load ptr, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @vmbus_et, i64 0, i32 1), align 8, !tbaa !16
%11 = load i32, ptr @vmbus_et, align 8, !tbaa !17
%12 = tail call i32 %10(ptr noundef nonnull @vmbus_et, i32 noundef %11) #1
store ptr %9, ptr %8, align 8, !tbaa !15
%13 = load i32, ptr %5, align 8, !tbaa !13
%14 = add nsw i32 %13, -1
store i32 %14, ptr %5, align 8, !tbaa !13
br label %15
15: ; preds = %4, %1
ret void
}
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"thread", !7, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = !{!6, !10, i64 8}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_et.c_vmbus_et_intr.c'
source_filename = "AnghaBench/freebsd/sys/dev/hyperv/vmbus/extr_vmbus_et.c_vmbus_et_intr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, ptr, i64 }
@vmbus_et = common global %struct.TYPE_3__ zeroinitializer, align 8
@curthread = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @vmbus_et_intr(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr getelementptr inbounds (i8, ptr @vmbus_et, i64 16), align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %15, label %4
4: ; preds = %1
%5 = load ptr, ptr @curthread, align 8, !tbaa !13
%6 = load i32, ptr %5, align 8, !tbaa !14
%7 = add nsw i32 %6, 1
store i32 %7, ptr %5, align 8, !tbaa !14
%8 = getelementptr inbounds i8, ptr %5, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !16
store ptr %0, ptr %8, align 8, !tbaa !16
%10 = load ptr, ptr getelementptr inbounds (i8, ptr @vmbus_et, i64 8), align 8, !tbaa !17
%11 = load i32, ptr @vmbus_et, align 8, !tbaa !18
%12 = tail call i32 %10(ptr noundef nonnull @vmbus_et, i32 noundef %11) #1
store ptr %9, ptr %8, align 8, !tbaa !16
%13 = load i32, ptr %5, align 8, !tbaa !14
%14 = add nsw i32 %13, -1
store i32 %14, ptr %5, align 8, !tbaa !14
br label %15
15: ; preds = %4, %1
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"thread", !8, i64 0, !11, i64 8}
!16 = !{!15, !11, i64 8}
!17 = !{!7, !11, i64 8}
!18 = !{!7, !8, i64 0}
| freebsd_sys_dev_hyperv_vmbus_extr_vmbus_et.c_vmbus_et_intr |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/hs60/v2/keymaps/default/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/hs60/v2/keymaps/default/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @matrix_scan_user() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }
!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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/hs60/v2/keymaps/default/extr_keymap.c_matrix_scan_user.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/hs60/v2/keymaps/default/extr_keymap.c_matrix_scan_user.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define void @matrix_scan_user() local_unnamed_addr #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_hs60_v2_keymaps_default_extr_keymap.c_matrix_scan_user |
; ModuleID = 'AnghaBench/lz4/tests/extr_fullbench.c_local_LZ4_decompress_fast_usingDict_prefix.c'
source_filename = "AnghaBench/lz4/tests/extr_fullbench.c_local_LZ4_decompress_fast_usingDict_prefix.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @local_LZ4_decompress_fast_usingDict_prefix], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @local_LZ4_decompress_fast_usingDict_prefix(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef returned %3) #0 {
%5 = getelementptr inbounds i8, ptr %1, i64 -65536
%6 = tail call i32 @LZ4_decompress_fast_usingDict(ptr noundef %0, ptr noundef %1, i32 noundef %3, ptr noundef nonnull %5, i32 noundef 65536) #2
ret i32 %3
}
declare i32 @LZ4_decompress_fast_usingDict(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/lz4/tests/extr_fullbench.c_local_LZ4_decompress_fast_usingDict_prefix.c'
source_filename = "AnghaBench/lz4/tests/extr_fullbench.c_local_LZ4_decompress_fast_usingDict_prefix.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @local_LZ4_decompress_fast_usingDict_prefix], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @local_LZ4_decompress_fast_usingDict_prefix(ptr noundef %0, ptr noundef %1, i32 %2, i32 noundef returned %3) #0 {
%5 = getelementptr inbounds i8, ptr %1, i64 -65536
%6 = tail call i32 @LZ4_decompress_fast_usingDict(ptr noundef %0, ptr noundef %1, i32 noundef %3, ptr noundef nonnull %5, i32 noundef 65536) #2
ret i32 %3
}
declare i32 @LZ4_decompress_fast_usingDict(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| lz4_tests_extr_fullbench.c_local_LZ4_decompress_fast_usingDict_prefix |
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_combo.c_COMBO_Init.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_combo.c_COMBO_Init.c"
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.TYPE_3__ = type { i32, i32 }
@hComboBmp = dso_local local_unnamed_addr global i64 0, align 8
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@OBM_COMBO = dso_local local_unnamed_addr global i32 0, align 4
@CBitHeight = dso_local local_unnamed_addr global i32 0, align 4
@CBitWidth = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"combo bitmap [%i,%i]\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @COMBO_Init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @COMBO_Init() #0 {
%1 = alloca %struct.TYPE_3__, align 4
%2 = alloca i32, align 4
%3 = load i64, ptr @hComboBmp, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %0
%6 = load i32, ptr @TRUE, align 4, !tbaa !9
br label %33
7: ; preds = %0
%8 = tail call i32 @CreateCompatibleDC(i32 noundef 0) #3
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr @FALSE, align 4, !tbaa !9
br i1 %9, label %33, label %11
11: ; preds = %7
%12 = load i32, ptr @OBM_COMBO, align 4, !tbaa !9
%13 = tail call i32 @MAKEINTRESOURCEW(i32 noundef %12) #3
%14 = tail call i64 @LoadBitmapW(i32 noundef 0, i32 noundef %13) #3
store i64 %14, ptr @hComboBmp, align 8, !tbaa !5
%15 = icmp eq i64 %14, 0
br i1 %15, label %30, label %16
16: ; preds = %11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%17 = call i32 @GetObjectW(i64 noundef %14, i32 noundef 8, ptr noundef nonnull %1) #3
%18 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !11
store i32 %19, ptr @CBitHeight, align 4, !tbaa !9
%20 = load i32, ptr %1, align 4, !tbaa !13
store i32 %20, ptr @CBitWidth, align 4, !tbaa !9
%21 = call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %20, i32 noundef %19) #3
%22 = load i64, ptr @hComboBmp, align 8, !tbaa !5
%23 = call i64 @SelectObject(i32 noundef %8, i64 noundef %22) #3
%24 = load i32, ptr @CBitWidth, align 4, !tbaa !9
%25 = load i32, ptr @CBitHeight, align 4, !tbaa !9
%26 = call i32 @SetRect(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 0, i32 noundef %24, i32 noundef %25) #3
%27 = call i32 @InvertRect(i32 noundef %8, ptr noundef nonnull %2) #3
%28 = call i64 @SelectObject(i32 noundef %8, i64 noundef %23) #3
%29 = load i32, ptr @TRUE, align 4, !tbaa !9
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
br label %30
30: ; preds = %16, %11
%31 = phi i32 [ %29, %16 ], [ %10, %11 ]
%32 = call i32 @DeleteDC(i32 noundef %8) #3
br label %33
33: ; preds = %7, %30, %5
%34 = phi i32 [ %6, %5 ], [ %31, %30 ], [ %10, %7 ]
ret i32 %34
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @CreateCompatibleDC(i32 noundef) local_unnamed_addr #2
declare i64 @LoadBitmapW(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MAKEINTRESOURCEW(i32 noundef) local_unnamed_addr #2
declare i32 @GetObjectW(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @SelectObject(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @SetRect(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @InvertRect(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @DeleteDC(i32 noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !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, !10, i64 4}
!12 = !{!"TYPE_3__", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_combo.c_COMBO_Init.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_combo.c_COMBO_Init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32, i32 }
@hComboBmp = common local_unnamed_addr global i64 0, align 8
@TRUE = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@OBM_COMBO = common local_unnamed_addr global i32 0, align 4
@CBitHeight = common local_unnamed_addr global i32 0, align 4
@CBitWidth = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"combo bitmap [%i,%i]\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @COMBO_Init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @COMBO_Init() #0 {
%1 = alloca %struct.TYPE_3__, align 4
%2 = alloca i32, align 4
%3 = load i64, ptr @hComboBmp, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %0
%6 = load i32, ptr @TRUE, align 4, !tbaa !10
br label %33
7: ; preds = %0
%8 = tail call i32 @CreateCompatibleDC(i32 noundef 0) #3
%9 = icmp eq i32 %8, 0
%10 = load i32, ptr @FALSE, align 4, !tbaa !10
br i1 %9, label %33, label %11
11: ; preds = %7
%12 = load i32, ptr @OBM_COMBO, align 4, !tbaa !10
%13 = tail call i32 @MAKEINTRESOURCEW(i32 noundef %12) #3
%14 = tail call i64 @LoadBitmapW(i32 noundef 0, i32 noundef %13) #3
store i64 %14, ptr @hComboBmp, align 8, !tbaa !6
%15 = icmp eq i64 %14, 0
br i1 %15, label %30, label %16
16: ; preds = %11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%17 = call i32 @GetObjectW(i64 noundef %14, i32 noundef 8, ptr noundef nonnull %1) #3
%18 = getelementptr inbounds i8, ptr %1, i64 4
%19 = load i32, ptr %18, align 4, !tbaa !12
store i32 %19, ptr @CBitHeight, align 4, !tbaa !10
%20 = load i32, ptr %1, align 4, !tbaa !14
store i32 %20, ptr @CBitWidth, align 4, !tbaa !10
%21 = call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %20, i32 noundef %19) #3
%22 = load i64, ptr @hComboBmp, align 8, !tbaa !6
%23 = call i64 @SelectObject(i32 noundef %8, i64 noundef %22) #3
%24 = load i32, ptr @CBitWidth, align 4, !tbaa !10
%25 = load i32, ptr @CBitHeight, align 4, !tbaa !10
%26 = call i32 @SetRect(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 0, i32 noundef %24, i32 noundef %25) #3
%27 = call i32 @InvertRect(i32 noundef %8, ptr noundef nonnull %2) #3
%28 = call i64 @SelectObject(i32 noundef %8, i64 noundef %23) #3
%29 = load i32, ptr @TRUE, align 4, !tbaa !10
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
br label %30
30: ; preds = %16, %11
%31 = phi i32 [ %29, %16 ], [ %10, %11 ]
%32 = call i32 @DeleteDC(i32 noundef %8) #3
br label %33
33: ; preds = %7, %30, %5
%34 = phi i32 [ %6, %5 ], [ %31, %30 ], [ %10, %7 ]
ret i32 %34
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @CreateCompatibleDC(i32 noundef) local_unnamed_addr #2
declare i64 @LoadBitmapW(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @MAKEINTRESOURCEW(i32 noundef) local_unnamed_addr #2
declare i32 @GetObjectW(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @TRACE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @SelectObject(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @SetRect(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @InvertRect(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @DeleteDC(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"TYPE_3__", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 0}
| reactos_dll_win32_comctl32_extr_combo.c_COMBO_Init |
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_watchdog.c_wd_smp_unlock.c'
source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_watchdog.c_wd_smp_unlock.c"
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"
@__wd_smp_lock = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wd_smp_unlock], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @wd_smp_unlock(ptr nocapture noundef readonly %0) #0 {
%2 = tail call i32 @clear_bit_unlock(i32 noundef 0, ptr noundef nonnull @__wd_smp_lock) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @raw_local_irq_restore(i64 noundef %3) #2
ret void
}
declare i32 @clear_bit_unlock(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @raw_local_irq_restore(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_watchdog.c_wd_smp_unlock.c'
source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_watchdog.c_wd_smp_unlock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__wd_smp_lock = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wd_smp_unlock], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @wd_smp_unlock(ptr nocapture noundef readonly %0) #0 {
%2 = tail call i32 @clear_bit_unlock(i32 noundef 0, ptr noundef nonnull @__wd_smp_lock) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @raw_local_irq_restore(i64 noundef %3) #2
ret void
}
declare i32 @clear_bit_unlock(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @raw_local_irq_restore(i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_powerpc_kernel_extr_watchdog.c_wd_smp_unlock |
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/extr_png.c_png_product2.c'
source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/extr_png.c_png_product2.c"
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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @png_product2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @png_product2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i64 @png_muldiv(ptr noundef nonnull %3, i32 noundef %0, i32 noundef %1, i32 noundef 100000) #3
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr %3, align 4
%7 = select i1 %5, i32 0, i32 %6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @png_muldiv(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/extr_png.c_png_product2.c'
source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/extr_png.c_png_product2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @png_product2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @png_product2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i64 @png_muldiv(ptr noundef nonnull %3, i32 noundef %0, i32 noundef %1, i32 noundef 100000) #3
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr %3, align 4
%7 = select i1 %5, i32 0, i32 %6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @png_muldiv(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| Provenance_Cores_Mupen64Plus_png_extr_png.c_png_product2 |
; ModuleID = 'AnghaBench/linux/drivers/phy/marvell/extr_phy-mvebu-cp110-comphy.c_mvebu_comphy_set_mode.c'
source_filename = "AnghaBench/linux/drivers/phy/marvell/extr_phy-mvebu-cp110-comphy.c_mvebu_comphy_set_mode.c"
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.mvebu_comphy_lane = type { i32, i32, i32, i32 }
@PHY_INTERFACE_MODE_1000BASEX = dso_local local_unnamed_addr global i32 0, align 4
@PHY_INTERFACE_MODE_SGMII = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@PHY_MODE_PCIE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mvebu_comphy_set_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mvebu_comphy_set_mode(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @phy_get_drvdata(ptr noundef %0) #2
%5 = load i32, ptr @PHY_INTERFACE_MODE_1000BASEX, align 4, !tbaa !5
%6 = icmp eq i32 %5, %2
%7 = load i32, ptr @PHY_INTERFACE_MODE_SGMII, align 4
%8 = select i1 %6, i32 %7, i32 %2
%9 = getelementptr inbounds %struct.mvebu_comphy_lane, ptr %4, i64 0, i32 3
%10 = load i32, ptr %9, align 4, !tbaa !9
%11 = getelementptr inbounds %struct.mvebu_comphy_lane, ptr %4, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !11
%13 = tail call i64 @mvebu_comphy_get_fw_mode(i32 noundef %10, i32 noundef %12, i32 noundef %1, i32 noundef %8) #2
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = load i32, ptr @EINVAL, align 4, !tbaa !5
%17 = sub nsw i32 0, %16
br label %25
18: ; preds = %3
store i32 %1, ptr %4, align 4, !tbaa !12
%19 = getelementptr inbounds %struct.mvebu_comphy_lane, ptr %4, i64 0, i32 1
%20 = load i32, ptr @PHY_MODE_PCIE, align 4, !tbaa !5
%21 = icmp eq i32 %20, %1
%22 = icmp eq i32 %8, 0
%23 = and i1 %22, %21
%24 = select i1 %23, i32 1, i32 %8
store i32 %24, ptr %19, align 4
br label %25
25: ; preds = %18, %15
%26 = phi i32 [ %17, %15 ], [ 0, %18 ]
ret i32 %26
}
declare ptr @phy_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i64 @mvebu_comphy_get_fw_mode(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 12}
!10 = !{!"mvebu_comphy_lane", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/phy/marvell/extr_phy-mvebu-cp110-comphy.c_mvebu_comphy_set_mode.c'
source_filename = "AnghaBench/linux/drivers/phy/marvell/extr_phy-mvebu-cp110-comphy.c_mvebu_comphy_set_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PHY_INTERFACE_MODE_1000BASEX = common local_unnamed_addr global i32 0, align 4
@PHY_INTERFACE_MODE_SGMII = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@PHY_MODE_PCIE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mvebu_comphy_set_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @mvebu_comphy_set_mode(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @phy_get_drvdata(ptr noundef %0) #2
%5 = load i32, ptr @PHY_INTERFACE_MODE_1000BASEX, align 4, !tbaa !6
%6 = icmp eq i32 %5, %2
%7 = load i32, ptr @PHY_INTERFACE_MODE_SGMII, align 4
%8 = select i1 %6, i32 %7, i32 %2
%9 = getelementptr inbounds i8, ptr %4, i64 12
%10 = load i32, ptr %9, align 4, !tbaa !10
%11 = getelementptr inbounds i8, ptr %4, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i64 @mvebu_comphy_get_fw_mode(i32 noundef %10, i32 noundef %12, i32 noundef %1, i32 noundef %8) #2
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %18
15: ; preds = %3
%16 = load i32, ptr @EINVAL, align 4, !tbaa !6
%17 = sub nsw i32 0, %16
br label %25
18: ; preds = %3
store i32 %1, ptr %4, align 4, !tbaa !13
%19 = getelementptr inbounds i8, ptr %4, i64 4
%20 = load i32, ptr @PHY_MODE_PCIE, align 4, !tbaa !6
%21 = icmp eq i32 %20, %1
%22 = icmp eq i32 %8, 0
%23 = and i1 %22, %21
%24 = select i1 %23, i32 1, i32 %8
store i32 %24, ptr %19, align 4
br label %25
25: ; preds = %18, %15
%26 = phi i32 [ %17, %15 ], [ 0, %18 ]
ret i32 %26
}
declare ptr @phy_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i64 @mvebu_comphy_get_fw_mode(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 12}
!11 = !{!"mvebu_comphy_lane", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 0}
| linux_drivers_phy_marvell_extr_phy-mvebu-cp110-comphy.c_mvebu_comphy_set_mode |
; ModuleID = 'AnghaBench/linux/drivers/base/extr_bus.c_bus_for_each_dev.c'
source_filename = "AnghaBench/linux/drivers/base/extr_bus.c_bus_for_each_dev.c"
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.klist_iter = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @bus_for_each_dev(ptr noundef readonly %0, ptr noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = alloca %struct.klist_iter, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = icmp eq ptr %0, null
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %7, %4
%11 = load i32, ptr @EINVAL, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %29
13: ; preds = %7
%14 = icmp eq ptr %1, null
br i1 %14, label %17, label %15
15: ; preds = %13
%16 = load ptr, ptr %1, align 8, !tbaa !12
br label %17
17: ; preds = %13, %15
%18 = phi ptr [ %16, %15 ], [ null, %13 ]
%19 = call i32 @klist_iter_init_node(ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef %18) #3
br label %20
20: ; preds = %17, %23
%21 = call ptr @next_device(ptr noundef nonnull %5) #3
%22 = icmp eq ptr %21, null
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = call i32 %3(ptr noundef nonnull %21, ptr noundef %2) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %20, label %26, !llvm.loop !14
26: ; preds = %23, %20
%27 = phi i32 [ %24, %23 ], [ 0, %20 ]
%28 = call i32 @klist_iter_exit(ptr noundef nonnull %5) #3
br label %29
29: ; preds = %26, %10
%30 = phi i32 [ %27, %26 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @klist_iter_init_node(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @next_device(ptr noundef) local_unnamed_addr #2
declare i32 @klist_iter_exit(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bus_type", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"device", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/base/extr_bus.c_bus_for_each_dev.c'
source_filename = "AnghaBench/linux/drivers/base/extr_bus.c_bus_for_each_dev.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.klist_iter = type { i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @bus_for_each_dev(ptr noundef readonly %0, ptr noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = alloca %struct.klist_iter, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%6 = icmp eq ptr %0, null
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %7, %4
%11 = load i32, ptr @EINVAL, align 4, !tbaa !11
%12 = sub nsw i32 0, %11
br label %29
13: ; preds = %7
%14 = icmp eq ptr %1, null
br i1 %14, label %17, label %15
15: ; preds = %13
%16 = load ptr, ptr %1, align 8, !tbaa !13
br label %17
17: ; preds = %13, %15
%18 = phi ptr [ %16, %15 ], [ null, %13 ]
%19 = call i32 @klist_iter_init_node(ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef %18) #3
br label %20
20: ; preds = %17, %23
%21 = call ptr @next_device(ptr noundef nonnull %5) #3
%22 = icmp eq ptr %21, null
br i1 %22, label %26, label %23
23: ; preds = %20
%24 = call i32 %3(ptr noundef nonnull %21, ptr noundef %2) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %20, label %26, !llvm.loop !15
26: ; preds = %23, %20
%27 = phi i32 [ %24, %23 ], [ 0, %20 ]
%28 = call i32 @klist_iter_exit(ptr noundef nonnull %5) #3
br label %29
29: ; preds = %26, %10
%30 = phi i32 [ %27, %26 ], [ %12, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %30
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @klist_iter_init_node(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @next_device(ptr noundef) local_unnamed_addr #2
declare i32 @klist_iter_exit(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bus_type", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"device", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| linux_drivers_base_extr_bus.c_bus_for_each_dev |
; ModuleID = 'AnghaBench/vlc/modules/audio_filter/extr_equalizer.c_PresetCallback.c'
source_filename = "AnghaBench/vlc/modules/audio_filter/extr_equalizer.c_PresetCallback.c"
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.TYPE_10__ = type { ptr, i32, i32 }
@NB_PRESETS = dso_local local_unnamed_addr global i32 0, align 4
@eqz_preset_10b = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [32 x i8] c"equalizer preset '%s' not found\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"full list:\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c" - '%s'\00", align 1
@VLC_EGENERIC = dso_local local_unnamed_addr global i32 0, align 4
@EQZ_BANDS_MAX = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [15 x i8] c"%s %lld.%07llu\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@VLC_ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [17 x i8] c"equalizer-preamp\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"equalizer-bands\00", align 1
@VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @PresetCallback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @PresetCallback(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr %3, ptr nocapture readnone %4) #0 {
%6 = alloca ptr, align 8
%7 = load i32, ptr @NB_PRESETS, align 4, !tbaa !5
%8 = icmp eq i32 %7, 0
br i1 %8, label %52, label %14
9: ; preds = %14
%10 = add nuw nsw i64 %15, 1
%11 = load i32, ptr @NB_PRESETS, align 4, !tbaa !5
%12 = zext i32 %11 to i64
%13 = icmp ult i64 %10, %12
br i1 %13, label %14, label %52, !llvm.loop !9
14: ; preds = %5, %9
%15 = phi i64 [ %10, %9 ], [ 0, %5 ]
%16 = load ptr, ptr @eqz_preset_10b, align 8, !tbaa !11
%17 = getelementptr inbounds %struct.TYPE_10__, ptr %16, i64 %15, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !13
%19 = tail call i32 @strcasecmp(i32 noundef %18, ptr noundef %3) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %9
21: ; preds = %14
%22 = load ptr, ptr @eqz_preset_10b, align 8, !tbaa !11
%23 = getelementptr inbounds %struct.TYPE_10__, ptr %22, i64 %15
%24 = icmp eq ptr %22, null
br i1 %24, label %52, label %25
25: ; preds = %21
%26 = load i32, ptr @EQZ_BANDS_MAX, align 4, !tbaa !5
%27 = icmp eq i32 %26, 0
br i1 %27, label %98, label %28
28: ; preds = %25
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%29 = load ptr, ptr %23, align 8, !tbaa !15
%30 = load float, ptr %29, align 4, !tbaa !16
%31 = fmul float %30, 1.000000e+07
%32 = tail call i32 @lroundf(float noundef %31) #3
%33 = tail call i64 @lldiv(i32 noundef %32, i32 noundef 10000000) #3
%34 = trunc i64 %33 to i32
%35 = lshr i64 %33, 32
%36 = trunc i64 %35 to i32
%37 = call i32 @asprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef %36, i32 noundef %34) #3
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %40
39: ; preds = %28
store ptr null, ptr %6, align 8, !tbaa !11
br label %40
40: ; preds = %39, %28
%41 = call i32 @free(ptr noundef null) #3
%42 = load ptr, ptr %6, align 8, !tbaa !11
%43 = icmp eq ptr %42, null
%44 = zext i1 %43 to i32
%45 = call i64 @unlikely(i32 noundef %44) #3
%46 = icmp eq i64 %45, 0
%47 = load i32, ptr @VLC_ENOMEM, align 4
%48 = load ptr, ptr %6, align 8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
br i1 %46, label %49, label %106
49: ; preds = %40
%50 = load i32, ptr @EQZ_BANDS_MAX, align 4, !tbaa !5
%51 = icmp ugt i32 %50, 1
br i1 %51, label %74, label %98
52: ; preds = %9, %5, %21
%53 = tail call i32 @msg_Err(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %3) #3
%54 = tail call i32 (ptr, ptr, ...) @msg_Info(ptr noundef %0, ptr noundef nonnull @.str.1) #3
%55 = load i32, ptr @NB_PRESETS, align 4, !tbaa !5
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %59, %52
%58 = load i32, ptr @VLC_EGENERIC, align 4, !tbaa !5
br label %106
59: ; preds = %52, %59
%60 = phi i64 [ %65, %59 ], [ 0, %52 ]
%61 = load ptr, ptr @eqz_preset_10b, align 8, !tbaa !11
%62 = getelementptr inbounds %struct.TYPE_10__, ptr %61, i64 %60, i32 2
%63 = load i32, ptr %62, align 4, !tbaa !13
%64 = tail call i32 (ptr, ptr, ...) @msg_Info(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %63) #3
%65 = add nuw nsw i64 %60, 1
%66 = load i32, ptr @NB_PRESETS, align 4, !tbaa !5
%67 = zext i32 %66 to i64
%68 = icmp ult i64 %65, %67
br i1 %68, label %59, label %57, !llvm.loop !18
69: ; preds = %89
%70 = add nuw nsw i64 %75, 1
%71 = load i32, ptr @EQZ_BANDS_MAX, align 4, !tbaa !5
%72 = zext i32 %71 to i64
%73 = icmp ult i64 %70, %72
br i1 %73, label %74, label %98, !llvm.loop !19
74: ; preds = %49, %69
%75 = phi i64 [ %70, %69 ], [ 1, %49 ]
%76 = phi ptr [ %97, %69 ], [ %48, %49 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%77 = load ptr, ptr %23, align 8, !tbaa !15
%78 = getelementptr inbounds float, ptr %77, i64 %75
%79 = load float, ptr %78, align 4, !tbaa !16
%80 = fmul float %79, 1.000000e+07
%81 = call i32 @lroundf(float noundef %80) #3
%82 = call i64 @lldiv(i32 noundef %81, i32 noundef 10000000) #3
%83 = trunc i64 %82 to i32
%84 = lshr i64 %82, 32
%85 = trunc i64 %84 to i32
%86 = call i32 @asprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.3, ptr noundef %76, i32 noundef %85, i32 noundef %83) #3
%87 = icmp eq i32 %86, -1
br i1 %87, label %88, label %89
88: ; preds = %74
store ptr null, ptr %6, align 8, !tbaa !11
br label %89
89: ; preds = %88, %74
%90 = call i32 @free(ptr noundef %76) #3
%91 = load ptr, ptr %6, align 8, !tbaa !11
%92 = icmp eq ptr %91, null
%93 = zext i1 %92 to i32
%94 = call i64 @unlikely(i32 noundef %93) #3
%95 = icmp eq i64 %94, 0
%96 = load i32, ptr @VLC_ENOMEM, align 4
%97 = load ptr, ptr %6, align 8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
br i1 %95, label %69, label %106
98: ; preds = %69, %49, %25
%99 = phi ptr [ null, %25 ], [ %48, %49 ], [ %97, %69 ]
%100 = getelementptr inbounds %struct.TYPE_10__, ptr %22, i64 %15, i32 1
%101 = load i32, ptr %100, align 8, !tbaa !21
%102 = call i32 @var_SetFloat(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %101) #3
%103 = call i32 @var_SetString(ptr noundef %0, ptr noundef nonnull @.str.6, ptr noundef %99) #3
%104 = call i32 @free(ptr noundef %99) #3
%105 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !5
br label %106
106: ; preds = %89, %40, %98, %57
%107 = phi i32 [ %58, %57 ], [ %105, %98 ], [ %47, %40 ], [ %96, %89 ]
ret i32 %107
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @strcasecmp(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @msg_Err(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @msg_Info(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @lldiv(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lroundf(float noundef) local_unnamed_addr #2
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i32 @var_SetFloat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @var_SetString(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 12}
!14 = !{!"TYPE_10__", !12, i64 0, !6, i64 8, !6, i64 12}
!15 = !{!14, !12, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10, !20}
!20 = !{!"llvm.loop.peeled.count", i32 1}
!21 = !{!14, !6, i64 8}
| ; ModuleID = 'AnghaBench/vlc/modules/audio_filter/extr_equalizer.c_PresetCallback.c'
source_filename = "AnghaBench/vlc/modules/audio_filter/extr_equalizer.c_PresetCallback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_10__ = type { ptr, i32, i32 }
@NB_PRESETS = common local_unnamed_addr global i32 0, align 4
@eqz_preset_10b = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [32 x i8] c"equalizer preset '%s' not found\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"full list:\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c" - '%s'\00", align 1
@VLC_EGENERIC = common local_unnamed_addr global i32 0, align 4
@EQZ_BANDS_MAX = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [15 x i8] c"%s %lld.%07llu\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@VLC_ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [17 x i8] c"equalizer-preamp\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"equalizer-bands\00", align 1
@VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @PresetCallback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @PresetCallback(ptr noundef %0, ptr nocapture readnone %1, i64 %2, i64 %3, ptr nocapture readnone %4) #0 {
%6 = alloca ptr, align 8
%7 = inttoptr i64 %3 to ptr
%8 = load i32, ptr @NB_PRESETS, align 4, !tbaa !6
%9 = icmp eq i32 %8, 0
br i1 %9, label %53, label %15
10: ; preds = %15
%11 = add nuw nsw i64 %16, 1
%12 = load i32, ptr @NB_PRESETS, align 4, !tbaa !6
%13 = zext i32 %12 to i64
%14 = icmp ult i64 %11, %13
br i1 %14, label %15, label %53, !llvm.loop !10
15: ; preds = %5, %10
%16 = phi i64 [ %11, %10 ], [ 0, %5 ]
%17 = load ptr, ptr @eqz_preset_10b, align 8, !tbaa !12
%18 = getelementptr inbounds %struct.TYPE_10__, ptr %17, i64 %16, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = tail call i32 @strcasecmp(i32 noundef %19, ptr noundef %7) #3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %10
22: ; preds = %15
%23 = load ptr, ptr @eqz_preset_10b, align 8, !tbaa !12
%24 = getelementptr inbounds %struct.TYPE_10__, ptr %23, i64 %16
%25 = icmp eq ptr %23, null
br i1 %25, label %53, label %26
26: ; preds = %22
%27 = load i32, ptr @EQZ_BANDS_MAX, align 4, !tbaa !6
%28 = icmp eq i32 %27, 0
br i1 %28, label %99, label %29
29: ; preds = %26
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%30 = load ptr, ptr %24, align 8, !tbaa !16
%31 = load float, ptr %30, align 4, !tbaa !17
%32 = fmul float %31, 1.000000e+07
%33 = tail call i32 @lroundf(float noundef %32) #3
%34 = tail call i64 @lldiv(i32 noundef %33, i32 noundef 10000000) #3
%35 = trunc i64 %34 to i32
%36 = lshr i64 %34, 32
%37 = trunc nuw i64 %36 to i32
%38 = call i32 @asprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef %37, i32 noundef %35) #3
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %41
40: ; preds = %29
store ptr null, ptr %6, align 8, !tbaa !12
br label %41
41: ; preds = %40, %29
%42 = call i32 @free(ptr noundef null) #3
%43 = load ptr, ptr %6, align 8, !tbaa !12
%44 = icmp eq ptr %43, null
%45 = zext i1 %44 to i32
%46 = call i64 @unlikely(i32 noundef %45) #3
%47 = icmp eq i64 %46, 0
%48 = load i32, ptr @VLC_ENOMEM, align 4
%49 = load ptr, ptr %6, align 8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
br i1 %47, label %50, label %107
50: ; preds = %41
%51 = load i32, ptr @EQZ_BANDS_MAX, align 4, !tbaa !6
%52 = icmp ugt i32 %51, 1
br i1 %52, label %75, label %99
53: ; preds = %10, %5, %22
%54 = tail call i32 @msg_Err(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %7) #3
%55 = tail call i32 (ptr, ptr, ...) @msg_Info(ptr noundef %0, ptr noundef nonnull @.str.1) #3
%56 = load i32, ptr @NB_PRESETS, align 4, !tbaa !6
%57 = icmp eq i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %60, %53
%59 = load i32, ptr @VLC_EGENERIC, align 4, !tbaa !6
br label %107
60: ; preds = %53, %60
%61 = phi i64 [ %66, %60 ], [ 0, %53 ]
%62 = load ptr, ptr @eqz_preset_10b, align 8, !tbaa !12
%63 = getelementptr inbounds %struct.TYPE_10__, ptr %62, i64 %61, i32 2
%64 = load i32, ptr %63, align 4, !tbaa !14
%65 = tail call i32 (ptr, ptr, ...) @msg_Info(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %64) #3
%66 = add nuw nsw i64 %61, 1
%67 = load i32, ptr @NB_PRESETS, align 4, !tbaa !6
%68 = zext i32 %67 to i64
%69 = icmp ult i64 %66, %68
br i1 %69, label %60, label %58, !llvm.loop !19
70: ; preds = %90
%71 = add nuw nsw i64 %76, 1
%72 = load i32, ptr @EQZ_BANDS_MAX, align 4, !tbaa !6
%73 = zext i32 %72 to i64
%74 = icmp ult i64 %71, %73
br i1 %74, label %75, label %99, !llvm.loop !20
75: ; preds = %50, %70
%76 = phi i64 [ %71, %70 ], [ 1, %50 ]
%77 = phi ptr [ %98, %70 ], [ %49, %50 ]
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%78 = load ptr, ptr %24, align 8, !tbaa !16
%79 = getelementptr inbounds float, ptr %78, i64 %76
%80 = load float, ptr %79, align 4, !tbaa !17
%81 = fmul float %80, 1.000000e+07
%82 = call i32 @lroundf(float noundef %81) #3
%83 = call i64 @lldiv(i32 noundef %82, i32 noundef 10000000) #3
%84 = trunc i64 %83 to i32
%85 = lshr i64 %83, 32
%86 = trunc nuw i64 %85 to i32
%87 = call i32 @asprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.3, ptr noundef %77, i32 noundef %86, i32 noundef %84) #3
%88 = icmp eq i32 %87, -1
br i1 %88, label %89, label %90
89: ; preds = %75
store ptr null, ptr %6, align 8, !tbaa !12
br label %90
90: ; preds = %89, %75
%91 = call i32 @free(ptr noundef %77) #3
%92 = load ptr, ptr %6, align 8, !tbaa !12
%93 = icmp eq ptr %92, null
%94 = zext i1 %93 to i32
%95 = call i64 @unlikely(i32 noundef %94) #3
%96 = icmp eq i64 %95, 0
%97 = load i32, ptr @VLC_ENOMEM, align 4
%98 = load ptr, ptr %6, align 8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
br i1 %96, label %70, label %107
99: ; preds = %70, %50, %26
%100 = phi ptr [ null, %26 ], [ %49, %50 ], [ %98, %70 ]
%101 = getelementptr inbounds i8, ptr %24, i64 8
%102 = load i32, ptr %101, align 8, !tbaa !22
%103 = call i32 @var_SetFloat(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %102) #3
%104 = call i32 @var_SetString(ptr noundef %0, ptr noundef nonnull @.str.6, ptr noundef %100) #3
%105 = call i32 @free(ptr noundef %100) #3
%106 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !6
br label %107
107: ; preds = %90, %41, %99, %58
%108 = phi i32 [ %59, %58 ], [ %106, %99 ], [ %48, %41 ], [ %97, %90 ]
ret i32 %108
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @strcasecmp(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @msg_Err(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @msg_Info(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @lldiv(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lroundf(float noundef) local_unnamed_addr #2
declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free(ptr noundef) local_unnamed_addr #2
declare i64 @unlikely(i32 noundef) local_unnamed_addr #2
declare i32 @var_SetFloat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @var_SetString(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 12}
!15 = !{!"TYPE_10__", !13, i64 0, !7, i64 8, !7, i64 12}
!16 = !{!15, !13, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !8, i64 0}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !11, !21}
!21 = !{!"llvm.loop.peeled.count", i32 1}
!22 = !{!15, !7, i64 8}
| vlc_modules_audio_filter_extr_equalizer.c_PresetCallback |
; ModuleID = 'AnghaBench/git/extr_path.c_longest_ancestor_length.c'
source_filename = "AnghaBench/git/extr_path.c_longest_ancestor_length.c"
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.string_list = type { i32, ptr }
%struct.TYPE_2__ = type { ptr }
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @longest_ancestor_length(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(2) @.str)
%4 = icmp eq i32 %3, 0
br i1 %4, label %38, label %5
5: ; preds = %2
%6 = load i32, ptr %1, align 8, !tbaa !5
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %38
8: ; preds = %5
%9 = getelementptr inbounds %struct.string_list, ptr %1, i64 0, i32 1
br label %10
10: ; preds = %8, %32
%11 = phi i64 [ 0, %8 ], [ %34, %32 ]
%12 = phi i32 [ -1, %8 ], [ %33, %32 ]
%13 = load ptr, ptr %9, align 8, !tbaa !11
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %11
%15 = load ptr, ptr %14, align 8, !tbaa !12
%16 = tail call i32 @strlen(ptr noundef %15) #4
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %21
18: ; preds = %10
%19 = load i8, ptr %15, align 1, !tbaa !14
%20 = icmp eq i8 %19, 47
br i1 %20, label %29, label %21
21: ; preds = %18, %10
%22 = tail call i32 @strncmp(ptr noundef %0, ptr noundef %15, i32 noundef %16) #4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = sext i32 %16 to i64
%26 = getelementptr inbounds i8, ptr %0, i64 %25
%27 = load i8, ptr %26, align 1, !tbaa !14
%28 = icmp eq i8 %27, 47
br i1 %28, label %29, label %32
29: ; preds = %18, %24
%30 = phi i32 [ %16, %24 ], [ 0, %18 ]
%31 = tail call i32 @llvm.smax.i32(i32 %30, i32 %12)
br label %32
32: ; preds = %21, %24, %29
%33 = phi i32 [ %31, %29 ], [ %12, %24 ], [ %12, %21 ]
%34 = add nuw nsw i64 %11, 1
%35 = load i32, ptr %1, align 8, !tbaa !5
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %34, %36
br i1 %37, label %10, label %38, !llvm.loop !15
38: ; preds = %32, %5, %2
%39 = phi i32 [ -1, %2 ], [ -1, %5 ], [ %33, %32 ]
ret i32 %39
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.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 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"string_list", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_2__", !10, i64 0}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/git/extr_path.c_longest_ancestor_length.c'
source_filename = "AnghaBench/git/extr_path.c_longest_ancestor_length.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr }
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, -2147483648) i32 @longest_ancestor_length(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i8, ptr %0, align 1
%4 = icmp eq i8 %3, 47
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 1
%7 = load i8, ptr %6, align 1
%8 = icmp eq i8 %7, 0
br i1 %8, label %42, label %9
9: ; preds = %2, %5
%10 = load i32, ptr %1, align 8, !tbaa !6
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %42
12: ; preds = %9
%13 = getelementptr inbounds i8, ptr %1, i64 8
br label %14
14: ; preds = %12, %36
%15 = phi i64 [ 0, %12 ], [ %38, %36 ]
%16 = phi i32 [ -1, %12 ], [ %37, %36 ]
%17 = load ptr, ptr %13, align 8, !tbaa !12
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 %15
%19 = load ptr, ptr %18, align 8, !tbaa !13
%20 = tail call i32 @strlen(ptr noundef %19) #3
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %25
22: ; preds = %14
%23 = load i8, ptr %19, align 1, !tbaa !15
%24 = icmp eq i8 %23, 47
br i1 %24, label %33, label %25
25: ; preds = %22, %14
%26 = tail call i32 @strncmp(ptr noundef nonnull %0, ptr noundef %19, i32 noundef %20) #3
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %25
%29 = sext i32 %20 to i64
%30 = getelementptr inbounds i8, ptr %0, i64 %29
%31 = load i8, ptr %30, align 1, !tbaa !15
%32 = icmp eq i8 %31, 47
br i1 %32, label %33, label %36
33: ; preds = %22, %28
%34 = phi i32 [ %20, %28 ], [ 0, %22 ]
%35 = tail call i32 @llvm.smax.i32(i32 %34, i32 %16)
br label %36
36: ; preds = %25, %28, %33
%37 = phi i32 [ %35, %33 ], [ %16, %28 ], [ %16, %25 ]
%38 = add nuw nsw i64 %15, 1
%39 = load i32, ptr %1, align 8, !tbaa !6
%40 = sext i32 %39 to i64
%41 = icmp slt i64 %38, %40
br i1 %41, label %14, label %42, !llvm.loop !16
42: ; preds = %36, %9, %5
%43 = phi i32 [ -1, %5 ], [ -1, %9 ], [ %37, %36 ]
ret i32 %43
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"string_list", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_2__", !11, i64 0}
!15 = !{!9, !9, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| git_extr_path.c_longest_ancestor_length |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace_subr.c_dtrace_invop.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace_subr.c_dtrace_invop.c"
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.TYPE_3__ = type { ptr, ptr }
@dtrace_invop_hdlr = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @dtrace_invop(i64 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @dtrace_invop_hdlr, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %15, label %10
6: ; preds = %10
%7 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10, !llvm.loop !9
10: ; preds = %3, %6
%11 = phi ptr [ %8, %6 ], [ %4, %3 ]
%12 = load ptr, ptr %11, align 8, !tbaa !11
%13 = tail call i32 %12(i64 noundef %0, ptr noundef %1, i64 noundef %2) #1
%14 = icmp eq i32 %13, 0
br i1 %14, label %6, label %15
15: ; preds = %10, %6, %3
%16 = phi i32 [ 0, %3 ], [ 0, %6 ], [ %13, %10 ]
ret i32 %16
}
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0, !6, i64 8}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace_subr.c_dtrace_invop.c'
source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace_subr.c_dtrace_invop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dtrace_invop_hdlr = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dtrace_invop(i64 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @dtrace_invop_hdlr, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %15, label %10
6: ; preds = %10
%7 = getelementptr inbounds i8, ptr %11, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %15, label %10, !llvm.loop !10
10: ; preds = %3, %6
%11 = phi ptr [ %8, %6 ], [ %4, %3 ]
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = tail call i32 %12(i64 noundef %0, ptr noundef %1, i64 noundef %2) #1
%14 = icmp eq i32 %13, 0
br i1 %14, label %6, label %15
15: ; preds = %10, %6, %3
%16 = phi i32 [ 0, %3 ], [ 0, %6 ], [ %13, %10 ]
ret i32 %16
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 8}
| darwin-xnu_bsd_dev_dtrace_extr_dtrace_subr.c_dtrace_invop |
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson04/4/avenito/src/extr_sched.c_schedule.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson04/4/avenito/src/extr_sched.c_schedule.c"
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"
@current = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @schedule() local_unnamed_addr #0 {
%1 = load ptr, ptr @current, align 8, !tbaa !5
store i64 0, ptr %1, align 8, !tbaa !9
%2 = tail call i32 (...) @_schedule() #2
ret void
}
declare i32 @_schedule(...) local_unnamed_addr #1
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 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson04/4/avenito/src/extr_sched.c_schedule.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson04/4/avenito/src/extr_sched.c_schedule.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @schedule() local_unnamed_addr #0 {
%1 = load ptr, ptr @current, align 8, !tbaa !6
store i64 0, ptr %1, align 8, !tbaa !10
%2 = tail call i32 @_schedule() #2
ret void
}
declare i32 @_schedule(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| raspberry-pi-os_exercises_lesson04_4_avenito_src_extr_sched.c_schedule |
; ModuleID = 'AnghaBench/freebsd/contrib/file/src/extr_fmtcheck.c_fmtcheck.c'
source_filename = "AnghaBench/freebsd/contrib/file/src/extr_fmtcheck.c_fmtcheck.c"
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"
@FMTCHECK_START = dso_local local_unnamed_addr global i64 0, align 8
@FMTCHECK_DONE = dso_local local_unnamed_addr global i64 0, align 8
@FMTCHECK_UNKNOWN = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @fmtcheck(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = icmp eq ptr %0, null
br i1 %5, label %19, label %6
6: ; preds = %2
store ptr %0, ptr %3, align 8, !tbaa !5
%7 = load i64, ptr @FMTCHECK_START, align 8, !tbaa !9
store ptr %1, ptr %4, align 8, !tbaa !5
br label %8
8: ; preds = %16, %6
%9 = phi i64 [ %7, %6 ], [ %10, %16 ]
%10 = call i64 @get_next_format(ptr noundef nonnull %3, i64 noundef %9) #3
%11 = load i64, ptr @FMTCHECK_DONE, align 8, !tbaa !9
%12 = icmp eq i64 %10, %11
br i1 %12, label %19, label %13
13: ; preds = %8
%14 = load i64, ptr @FMTCHECK_UNKNOWN, align 8, !tbaa !9
%15 = icmp eq i64 %10, %14
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = call i64 @get_next_format(ptr noundef nonnull %4, i64 noundef %9) #3
%18 = icmp eq i64 %10, %17
br i1 %18, label %8, label %19, !llvm.loop !11
19: ; preds = %8, %16, %13, %2
%20 = phi ptr [ %1, %2 ], [ %0, %8 ], [ %1, %16 ], [ %1, %13 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @get_next_format(ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/file/src/extr_fmtcheck.c_fmtcheck.c'
source_filename = "AnghaBench/freebsd/contrib/file/src/extr_fmtcheck.c_fmtcheck.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FMTCHECK_START = common local_unnamed_addr global i64 0, align 8
@FMTCHECK_DONE = common local_unnamed_addr global i64 0, align 8
@FMTCHECK_UNKNOWN = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @fmtcheck(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = icmp eq ptr %0, null
br i1 %5, label %19, label %6
6: ; preds = %2
store ptr %0, ptr %3, align 8, !tbaa !6
%7 = load i64, ptr @FMTCHECK_START, align 8, !tbaa !10
store ptr %1, ptr %4, align 8, !tbaa !6
br label %8
8: ; preds = %16, %6
%9 = phi i64 [ %7, %6 ], [ %10, %16 ]
%10 = call i64 @get_next_format(ptr noundef nonnull %3, i64 noundef %9) #3
%11 = load i64, ptr @FMTCHECK_DONE, align 8, !tbaa !10
%12 = icmp eq i64 %10, %11
br i1 %12, label %19, label %13
13: ; preds = %8
%14 = load i64, ptr @FMTCHECK_UNKNOWN, align 8, !tbaa !10
%15 = icmp eq i64 %10, %14
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = call i64 @get_next_format(ptr noundef nonnull %4, i64 noundef %9) #3
%18 = icmp eq i64 %10, %17
br i1 %18, label %8, label %19, !llvm.loop !12
19: ; preds = %8, %16, %13, %2
%20 = phi ptr [ %1, %2 ], [ %0, %8 ], [ %1, %16 ], [ %1, %13 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret ptr %20
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @get_next_format(ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_file_src_extr_fmtcheck.c_fmtcheck |
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.4/src/extr_luac.c_pmain.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.4/src/extr_luac.c_pmain.c"
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 = private unnamed_addr constant [21 x i8] c"too many input files\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@LUA_OK = dso_local local_unnamed_addr global i64 0, align 8
@listing = dso_local local_unnamed_addr global i32 0, align 4
@dumping = dso_local local_unnamed_addr global i64 0, align 8
@output = dso_local local_unnamed_addr global ptr null, align 8
@stdout = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@writer = dso_local local_unnamed_addr global i32 0, align 4
@stripping = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pmain], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @pmain(ptr noundef %0) #0 {
%2 = tail call i64 @lua_tointeger(ptr noundef %0, i32 noundef 1) #3
%3 = trunc i64 %2 to i32
%4 = tail call i64 @lua_touserdata(ptr noundef %0, i32 noundef 2) #3
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @lua_checkstack(ptr noundef %0, i32 noundef %3) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 @fatal(ptr noundef nonnull @.str) #3
br label %10
10: ; preds = %8, %1
%11 = icmp sgt i32 %3, 0
br i1 %11, label %12, label %32
12: ; preds = %10
%13 = and i64 %2, 4294967295
br label %14
14: ; preds = %12, %29
%15 = phi i64 [ 0, %12 ], [ %30, %29 ]
%16 = tail call i64 @IS(ptr noundef nonnull @.str.1) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = getelementptr inbounds ptr, ptr %5, i64 %15
%20 = load ptr, ptr %19, align 8, !tbaa !5
br label %21
21: ; preds = %14, %18
%22 = phi ptr [ %20, %18 ], [ null, %14 ]
%23 = tail call i64 @luaL_loadfile(ptr noundef %0, ptr noundef %22) #3
%24 = load i64, ptr @LUA_OK, align 8, !tbaa !9
%25 = icmp eq i64 %23, %24
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #3
%28 = tail call i32 @fatal(ptr noundef %27) #3
br label %29
29: ; preds = %26, %21
%30 = add nuw nsw i64 %15, 1
%31 = icmp eq i64 %30, %13
br i1 %31, label %32, label %14, !llvm.loop !11
32: ; preds = %29, %10
%33 = tail call ptr @combine(ptr noundef %0, i32 noundef %3) #3
%34 = load i32, ptr @listing, align 4, !tbaa !13
%35 = icmp eq i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %32
%37 = icmp sgt i32 %34, 1
%38 = zext i1 %37 to i32
%39 = tail call i32 @luaU_print(ptr noundef %33, i32 noundef %38) #3
br label %40
40: ; preds = %36, %32
%41 = load i64, ptr @dumping, align 8, !tbaa !9
%42 = icmp eq i64 %41, 0
br i1 %42, label %70, label %43
43: ; preds = %40
%44 = load ptr, ptr @output, align 8, !tbaa !5
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = load ptr, ptr @stdout, align 8, !tbaa !5
br label %50
48: ; preds = %43
%49 = tail call ptr @fopen(ptr noundef nonnull %44, ptr noundef nonnull @.str.2)
br label %50
50: ; preds = %48, %46
%51 = phi ptr [ %47, %46 ], [ %49, %48 ]
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = tail call i32 @cannot(ptr noundef nonnull @.str.3) #3
br label %55
55: ; preds = %53, %50
%56 = tail call i32 @lua_lock(ptr noundef %0) #3
%57 = load i32, ptr @writer, align 4, !tbaa !13
%58 = load i32, ptr @stripping, align 4, !tbaa !13
%59 = tail call i32 @luaU_dump(ptr noundef %0, ptr noundef %33, i32 noundef %57, ptr noundef %51, i32 noundef %58) #3
%60 = tail call i32 @lua_unlock(ptr noundef %0) #3
%61 = tail call i64 @ferror(ptr noundef %51) #3
%62 = icmp eq i64 %61, 0
br i1 %62, label %65, label %63
63: ; preds = %55
%64 = tail call i32 @cannot(ptr noundef nonnull @.str.4) #3
br label %65
65: ; preds = %63, %55
%66 = tail call i64 @fclose(ptr noundef %51) #3
%67 = icmp eq i64 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = tail call i32 @cannot(ptr noundef nonnull @.str.5) #3
br label %70
70: ; preds = %65, %68, %40
ret i32 0
}
declare i64 @lua_tointeger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_checkstack(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fatal(ptr noundef) local_unnamed_addr #1
declare i64 @IS(ptr noundef) local_unnamed_addr #1
declare i64 @luaL_loadfile(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @combine(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaU_print(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @cannot(ptr noundef) local_unnamed_addr #1
declare i32 @lua_lock(ptr noundef) local_unnamed_addr #1
declare i32 @luaU_dump(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_unlock(ptr noundef) local_unnamed_addr #1
declare i64 @ferror(ptr noundef) local_unnamed_addr #1
declare i64 @fclose(ptr noundef) local_unnamed_addr #1
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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/xLua/build/lua-5.3.4/src/extr_luac.c_pmain.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.4/src/extr_luac.c_pmain.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [21 x i8] c"too many input files\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@LUA_OK = common local_unnamed_addr global i64 0, align 8
@listing = common local_unnamed_addr global i32 0, align 4
@dumping = common local_unnamed_addr global i64 0, align 8
@output = common local_unnamed_addr global ptr null, align 8
@stdout = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@writer = common local_unnamed_addr global i32 0, align 4
@stripping = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pmain], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @pmain(ptr noundef %0) #0 {
%2 = tail call i64 @lua_tointeger(ptr noundef %0, i32 noundef 1) #3
%3 = trunc i64 %2 to i32
%4 = tail call i64 @lua_touserdata(ptr noundef %0, i32 noundef 2) #3
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @lua_checkstack(ptr noundef %0, i32 noundef %3) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 @fatal(ptr noundef nonnull @.str) #3
br label %10
10: ; preds = %8, %1
%11 = icmp sgt i32 %3, 0
br i1 %11, label %12, label %32
12: ; preds = %10
%13 = and i64 %2, 2147483647
br label %14
14: ; preds = %12, %29
%15 = phi i64 [ 0, %12 ], [ %30, %29 ]
%16 = tail call i64 @IS(ptr noundef nonnull @.str.1) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = getelementptr inbounds ptr, ptr %5, i64 %15
%20 = load ptr, ptr %19, align 8, !tbaa !6
br label %21
21: ; preds = %14, %18
%22 = phi ptr [ %20, %18 ], [ null, %14 ]
%23 = tail call i64 @luaL_loadfile(ptr noundef %0, ptr noundef %22) #3
%24 = load i64, ptr @LUA_OK, align 8, !tbaa !10
%25 = icmp eq i64 %23, %24
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #3
%28 = tail call i32 @fatal(ptr noundef %27) #3
br label %29
29: ; preds = %26, %21
%30 = add nuw nsw i64 %15, 1
%31 = icmp eq i64 %30, %13
br i1 %31, label %32, label %14, !llvm.loop !12
32: ; preds = %29, %10
%33 = tail call ptr @combine(ptr noundef %0, i32 noundef %3) #3
%34 = load i32, ptr @listing, align 4, !tbaa !14
%35 = icmp eq i32 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %32
%37 = icmp sgt i32 %34, 1
%38 = zext i1 %37 to i32
%39 = tail call i32 @luaU_print(ptr noundef %33, i32 noundef %38) #3
br label %40
40: ; preds = %36, %32
%41 = load i64, ptr @dumping, align 8, !tbaa !10
%42 = icmp eq i64 %41, 0
br i1 %42, label %70, label %43
43: ; preds = %40
%44 = load ptr, ptr @output, align 8, !tbaa !6
%45 = icmp eq ptr %44, null
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = load ptr, ptr @stdout, align 8, !tbaa !6
br label %50
48: ; preds = %43
%49 = tail call ptr @fopen(ptr noundef nonnull %44, ptr noundef nonnull @.str.2)
br label %50
50: ; preds = %48, %46
%51 = phi ptr [ %47, %46 ], [ %49, %48 ]
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = tail call i32 @cannot(ptr noundef nonnull @.str.3) #3
br label %55
55: ; preds = %53, %50
%56 = tail call i32 @lua_lock(ptr noundef %0) #3
%57 = load i32, ptr @writer, align 4, !tbaa !14
%58 = load i32, ptr @stripping, align 4, !tbaa !14
%59 = tail call i32 @luaU_dump(ptr noundef %0, ptr noundef %33, i32 noundef %57, ptr noundef %51, i32 noundef %58) #3
%60 = tail call i32 @lua_unlock(ptr noundef %0) #3
%61 = tail call i64 @ferror(ptr noundef %51) #3
%62 = icmp eq i64 %61, 0
br i1 %62, label %65, label %63
63: ; preds = %55
%64 = tail call i32 @cannot(ptr noundef nonnull @.str.4) #3
br label %65
65: ; preds = %63, %55
%66 = tail call i64 @fclose(ptr noundef %51) #3
%67 = icmp eq i64 %66, 0
br i1 %67, label %70, label %68
68: ; preds = %65
%69 = tail call i32 @cannot(ptr noundef nonnull @.str.5) #3
br label %70
70: ; preds = %65, %68, %40
ret i32 0
}
declare i64 @lua_tointeger(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_checkstack(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fatal(ptr noundef) local_unnamed_addr #1
declare i64 @IS(ptr noundef) local_unnamed_addr #1
declare i64 @luaL_loadfile(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @combine(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaU_print(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @cannot(ptr noundef) local_unnamed_addr #1
declare i32 @lua_lock(ptr noundef) local_unnamed_addr #1
declare i32 @luaU_dump(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_unlock(ptr noundef) local_unnamed_addr #1
declare i64 @ferror(ptr noundef) local_unnamed_addr #1
declare i64 @fclose(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
| xLua_build_lua-5.3.4_src_extr_luac.c_pmain |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.