IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/drivers/ntb/test/extr_ntb_perf.c_perf_spad_cmd_send.c'
source_filename = "AnghaBench/linux/drivers/ntb/test/extr_ntb_perf.c_perf_spad_cmd_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"
%struct.perf_peer = type { i32, i32, ptr }
%struct.perf_ctx = type { ptr, i32 }
@.str = private unnamed_addr constant [21 x i8] c"CMD send: %d 0x%llx\0A\00", align 1
@MSG_TRIES = dso_local local_unnamed_addr global i32 0, align 4
@ENOLINK = dso_local local_unnamed_addr global i32 0, align 4
@PERF_CMD_INVAL = dso_local local_unnamed_addr global i64 0, align 8
@MSG_UDELAY_LOW = dso_local local_unnamed_addr global i32 0, align 4
@MSG_UDELAY_HIGH = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"DB ring peer %#llx\0A\00", align 1
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @perf_spad_cmd_send], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @perf_spad_cmd_send(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.perf_peer, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %6, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2) #2
%8 = load i32, ptr @MSG_TRIES, align 4, !tbaa !13
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %62
10: ; preds = %3
%11 = getelementptr inbounds %struct.perf_peer, ptr %0, i64 0, i32 1
%12 = getelementptr inbounds %struct.perf_ctx, ptr %5, i64 0, i32 1
br label %13
13: ; preds = %10, %28
%14 = phi i32 [ 0, %10 ], [ %32, %28 ]
%15 = tail call i32 @perf_link_is_up(ptr noundef nonnull %0) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr @ENOLINK, align 4, !tbaa !13
%19 = sub nsw i32 0, %18
br label %69
20: ; preds = %13
%21 = load ptr, ptr %5, align 8, !tbaa !11
%22 = load i32, ptr %11, align 4, !tbaa !14
%23 = load i32, ptr %12, align 8, !tbaa !15
%24 = tail call i32 @PERF_SPAD_CMD(i32 noundef %23) #2
%25 = tail call i64 @ntb_peer_spad_read(ptr noundef %21, i32 noundef %22, i32 noundef %24) #2
%26 = load i64, ptr @PERF_CMD_INVAL, align 8, !tbaa !16
%27 = icmp eq i64 %25, %26
br i1 %27, label %35, label %28
28: ; preds = %20
%29 = load i32, ptr @MSG_UDELAY_LOW, align 4, !tbaa !13
%30 = load i32, ptr @MSG_UDELAY_HIGH, align 4, !tbaa !13
%31 = tail call i32 @usleep_range(i32 noundef %29, i32 noundef %30) #2
%32 = add nuw nsw i32 %14, 1
%33 = load i32, ptr @MSG_TRIES, align 4, !tbaa !13
%34 = icmp slt i32 %32, %33
br i1 %34, label %13, label %62, !llvm.loop !18
35: ; preds = %20
%36 = load ptr, ptr %5, align 8, !tbaa !11
%37 = load i32, ptr %11, align 4, !tbaa !14
%38 = load i32, ptr %12, align 8, !tbaa !15
%39 = tail call i32 @PERF_SPAD_LDATA(i32 noundef %38) #2
%40 = tail call i32 @lower_32_bits(i32 noundef %2) #2
%41 = tail call i32 @ntb_peer_spad_write(ptr noundef %36, i32 noundef %37, i32 noundef %39, i32 noundef %40) #2
%42 = load ptr, ptr %5, align 8, !tbaa !11
%43 = load i32, ptr %11, align 4, !tbaa !14
%44 = load i32, ptr %12, align 8, !tbaa !15
%45 = tail call i32 @PERF_SPAD_HDATA(i32 noundef %44) #2
%46 = tail call i32 @upper_32_bits(i32 noundef %2) #2
%47 = tail call i32 @ntb_peer_spad_write(ptr noundef %42, i32 noundef %43, i32 noundef %45, i32 noundef %46) #2
%48 = load ptr, ptr %5, align 8, !tbaa !11
%49 = load i32, ptr %11, align 4, !tbaa !14
%50 = load i32, ptr %12, align 8, !tbaa !15
%51 = tail call i32 @PERF_SPAD_CMD(i32 noundef %50) #2
%52 = tail call i32 @ntb_peer_spad_write(ptr noundef %48, i32 noundef %49, i32 noundef %51, i32 noundef %1) #2
%53 = load ptr, ptr %5, align 8, !tbaa !11
%54 = load i32, ptr %0, align 8, !tbaa !20
%55 = tail call i32 @PERF_SPAD_NOTIFY(i32 noundef %54) #2
%56 = tail call i32 @ntb_peer_db_set(ptr noundef %53, i32 noundef %55) #2
%57 = load ptr, ptr %5, align 8, !tbaa !11
%58 = load i32, ptr %0, align 8, !tbaa !20
%59 = tail call i32 @PERF_SPAD_NOTIFY(i32 noundef %58) #2
%60 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %57, ptr noundef nonnull @.str.1, i32 noundef %59) #2
%61 = load i32, ptr @MSG_TRIES, align 4, !tbaa !13
br label %62
62: ; preds = %28, %3, %35
%63 = phi i32 [ %61, %35 ], [ %8, %3 ], [ %33, %28 ]
%64 = phi i32 [ %14, %35 ], [ 0, %3 ], [ %32, %28 ]
%65 = icmp slt i32 %64, %63
%66 = load i32, ptr @EAGAIN, align 4
%67 = sub nsw i32 0, %66
%68 = select i1 %65, i32 0, i32 %67
br label %69
69: ; preds = %62, %17
%70 = phi i32 [ %68, %62 ], [ %19, %17 ]
ret i32 %70
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @perf_link_is_up(ptr noundef) local_unnamed_addr #1
declare i64 @ntb_peer_spad_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PERF_SPAD_CMD(i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntb_peer_spad_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PERF_SPAD_LDATA(i32 noundef) local_unnamed_addr #1
declare i32 @lower_32_bits(i32 noundef) local_unnamed_addr #1
declare i32 @PERF_SPAD_HDATA(i32 noundef) local_unnamed_addr #1
declare i32 @upper_32_bits(i32 noundef) local_unnamed_addr #1
declare i32 @ntb_peer_db_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PERF_SPAD_NOTIFY(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 = !{!"perf_peer", !7, i64 0, !7, i64 4, !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 = !{!"perf_ctx", !10, i64 0, !7, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 4}
!15 = !{!12, !7, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/ntb/test/extr_ntb_perf.c_perf_spad_cmd_send.c'
source_filename = "AnghaBench/linux/drivers/ntb/test/extr_ntb_perf.c_perf_spad_cmd_send.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"CMD send: %d 0x%llx\0A\00", align 1
@MSG_TRIES = common local_unnamed_addr global i32 0, align 4
@ENOLINK = common local_unnamed_addr global i32 0, align 4
@PERF_CMD_INVAL = common local_unnamed_addr global i64 0, align 8
@MSG_UDELAY_LOW = common local_unnamed_addr global i32 0, align 4
@MSG_UDELAY_HIGH = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"DB ring peer %#llx\0A\00", align 1
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @perf_spad_cmd_send], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @perf_spad_cmd_send(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %6, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %2) #2
%8 = load i32, ptr @MSG_TRIES, align 4, !tbaa !14
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %62
10: ; preds = %3
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = getelementptr inbounds i8, ptr %5, i64 8
br label %13
13: ; preds = %10, %28
%14 = phi i32 [ 0, %10 ], [ %32, %28 ]
%15 = tail call i32 @perf_link_is_up(ptr noundef nonnull %0) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr @ENOLINK, align 4, !tbaa !14
%19 = sub nsw i32 0, %18
br label %69
20: ; preds = %13
%21 = load ptr, ptr %5, align 8, !tbaa !12
%22 = load i32, ptr %11, align 4, !tbaa !15
%23 = load i32, ptr %12, align 8, !tbaa !16
%24 = tail call i32 @PERF_SPAD_CMD(i32 noundef %23) #2
%25 = tail call i64 @ntb_peer_spad_read(ptr noundef %21, i32 noundef %22, i32 noundef %24) #2
%26 = load i64, ptr @PERF_CMD_INVAL, align 8, !tbaa !17
%27 = icmp eq i64 %25, %26
br i1 %27, label %35, label %28
28: ; preds = %20
%29 = load i32, ptr @MSG_UDELAY_LOW, align 4, !tbaa !14
%30 = load i32, ptr @MSG_UDELAY_HIGH, align 4, !tbaa !14
%31 = tail call i32 @usleep_range(i32 noundef %29, i32 noundef %30) #2
%32 = add nuw nsw i32 %14, 1
%33 = load i32, ptr @MSG_TRIES, align 4, !tbaa !14
%34 = icmp slt i32 %32, %33
br i1 %34, label %13, label %62, !llvm.loop !19
35: ; preds = %20
%36 = load ptr, ptr %5, align 8, !tbaa !12
%37 = load i32, ptr %11, align 4, !tbaa !15
%38 = load i32, ptr %12, align 8, !tbaa !16
%39 = tail call i32 @PERF_SPAD_LDATA(i32 noundef %38) #2
%40 = tail call i32 @lower_32_bits(i32 noundef %2) #2
%41 = tail call i32 @ntb_peer_spad_write(ptr noundef %36, i32 noundef %37, i32 noundef %39, i32 noundef %40) #2
%42 = load ptr, ptr %5, align 8, !tbaa !12
%43 = load i32, ptr %11, align 4, !tbaa !15
%44 = load i32, ptr %12, align 8, !tbaa !16
%45 = tail call i32 @PERF_SPAD_HDATA(i32 noundef %44) #2
%46 = tail call i32 @upper_32_bits(i32 noundef %2) #2
%47 = tail call i32 @ntb_peer_spad_write(ptr noundef %42, i32 noundef %43, i32 noundef %45, i32 noundef %46) #2
%48 = load ptr, ptr %5, align 8, !tbaa !12
%49 = load i32, ptr %11, align 4, !tbaa !15
%50 = load i32, ptr %12, align 8, !tbaa !16
%51 = tail call i32 @PERF_SPAD_CMD(i32 noundef %50) #2
%52 = tail call i32 @ntb_peer_spad_write(ptr noundef %48, i32 noundef %49, i32 noundef %51, i32 noundef %1) #2
%53 = load ptr, ptr %5, align 8, !tbaa !12
%54 = load i32, ptr %0, align 8, !tbaa !21
%55 = tail call i32 @PERF_SPAD_NOTIFY(i32 noundef %54) #2
%56 = tail call i32 @ntb_peer_db_set(ptr noundef %53, i32 noundef %55) #2
%57 = load ptr, ptr %5, align 8, !tbaa !12
%58 = load i32, ptr %0, align 8, !tbaa !21
%59 = tail call i32 @PERF_SPAD_NOTIFY(i32 noundef %58) #2
%60 = tail call i32 (ptr, ptr, i32, ...) @dev_dbg(ptr noundef %57, ptr noundef nonnull @.str.1, i32 noundef %59) #2
%61 = load i32, ptr @MSG_TRIES, align 4, !tbaa !14
br label %62
62: ; preds = %28, %3, %35
%63 = phi i32 [ %61, %35 ], [ %8, %3 ], [ %33, %28 ]
%64 = phi i32 [ %14, %35 ], [ 0, %3 ], [ %32, %28 ]
%65 = icmp slt i32 %64, %63
%66 = load i32, ptr @EAGAIN, align 4
%67 = sub nsw i32 0, %66
%68 = select i1 %65, i32 0, i32 %67
br label %69
69: ; preds = %62, %17
%70 = phi i32 [ %68, %62 ], [ %19, %17 ]
ret i32 %70
}
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @perf_link_is_up(ptr noundef) local_unnamed_addr #1
declare i64 @ntb_peer_spad_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PERF_SPAD_CMD(i32 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ntb_peer_spad_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PERF_SPAD_LDATA(i32 noundef) local_unnamed_addr #1
declare i32 @lower_32_bits(i32 noundef) local_unnamed_addr #1
declare i32 @PERF_SPAD_HDATA(i32 noundef) local_unnamed_addr #1
declare i32 @upper_32_bits(i32 noundef) local_unnamed_addr #1
declare i32 @ntb_peer_db_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PERF_SPAD_NOTIFY(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 = !{!"perf_peer", !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 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"perf_ctx", !11, i64 0, !8, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 4}
!16 = !{!13, !8, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!7, !8, i64 0}
| linux_drivers_ntb_test_extr_ntb_perf.c_perf_spad_cmd_send |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/ntpq/extr_ntpq.c_assoccmp.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/ntpq/extr_ntpq.c_assoccmp.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 @assoccmp], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @assoccmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = icmp slt i64 %3, %4
%6 = icmp sgt i64 %3, %4
%7 = zext i1 %6 to i32
%8 = select i1 %5, i32 -1, i32 %7
ret i32 %8
}
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 = !{!"association", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/ntpq/extr_ntpq.c_assoccmp.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/ntpq/extr_ntpq.c_assoccmp.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 @assoccmp], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 -1, 2) i32 @assoccmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = icmp slt i64 %3, %4
%6 = icmp sgt i64 %3, %4
%7 = zext i1 %6 to i32
%8 = select i1 %5, i32 -1, i32 %7
ret i32 %8
}
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 = !{!"association", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_ntp_ntpq_extr_ntpq.c_assoccmp |
; ModuleID = 'AnghaBench/linux/net/core/extr_devlink.c_devlink_port_unsplit.c'
source_filename = "AnghaBench/linux/net/core/extr_devlink.c_devlink_port_unsplit.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"
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @devlink_port_unsplit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @devlink_port_unsplit(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 %5(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2) #1
br label %12
9: ; preds = %3
%10 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12
%11 = sub nsw i32 0, %10
br label %12
12: ; preds = %9, %7
%13 = phi i32 [ %8, %7 ], [ %11, %9 ]
ret i32 %13
}
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 = !{!"devlink", !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_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/core/extr_devlink.c_devlink_port_unsplit.c'
source_filename = "AnghaBench/linux/net/core/extr_devlink.c_devlink_port_unsplit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @devlink_port_unsplit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @devlink_port_unsplit(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = icmp eq ptr %5, null
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 %5(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2) #1
br label %12
9: ; preds = %3
%10 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13
%11 = sub nsw i32 0, %10
br label %12
12: ; preds = %9, %7
%13 = phi i32 [ %8, %7 ], [ %11, %9 ]
ret i32 %13
}
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 = !{!"devlink", !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_2__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
| linux_net_core_extr_devlink.c_devlink_port_unsplit |
; ModuleID = 'AnghaBench/openwrt/package/network/services/hostapd/src/wpa_supplicant/extr_ubus.c_wpas_ubus_connection_lost.c'
source_filename = "AnghaBench/openwrt/package/network/services/hostapd/src/wpa_supplicant/extr_ubus.c_wpas_ubus_connection_lost.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"
@ubus_reconnect_timeout = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wpas_ubus_connection_lost], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wpas_ubus_connection_lost(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @eloop_unregister_read_sock(i32 noundef %2) #2
%4 = load i32, ptr @ubus_reconnect_timeout, align 4, !tbaa !11
%5 = tail call i32 @eloop_register_timeout(i32 noundef 1, i32 noundef 0, i32 noundef %4, ptr noundef nonnull %0, ptr noundef null) #2
ret void
}
declare i32 @eloop_unregister_read_sock(i32 noundef) local_unnamed_addr #1
declare i32 @eloop_register_timeout(i32 noundef, i32 noundef, i32 noundef, 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)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"ubus_context", !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 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/openwrt/package/network/services/hostapd/src/wpa_supplicant/extr_ubus.c_wpas_ubus_connection_lost.c'
source_filename = "AnghaBench/openwrt/package/network/services/hostapd/src/wpa_supplicant/extr_ubus.c_wpas_ubus_connection_lost.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ubus_reconnect_timeout = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wpas_ubus_connection_lost], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wpas_ubus_connection_lost(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @eloop_unregister_read_sock(i32 noundef %2) #2
%4 = load i32, ptr @ubus_reconnect_timeout, align 4, !tbaa !12
%5 = tail call i32 @eloop_register_timeout(i32 noundef 1, i32 noundef 0, i32 noundef %4, ptr noundef nonnull %0, ptr noundef null) #2
ret void
}
declare i32 @eloop_unregister_read_sock(i32 noundef) local_unnamed_addr #1
declare i32 @eloop_register_timeout(i32 noundef, i32 noundef, i32 noundef, 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)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"ubus_context", !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 = !{!9, !9, i64 0}
| openwrt_package_network_services_hostapd_src_wpa_supplicant_extr_ubus.c_wpas_ubus_connection_lost |
; ModuleID = 'AnghaBench/linux/arch/mips/paravirt/extr_paravirt-irq.c_irq_core_eoi.c'
source_filename = "AnghaBench/linux/arch/mips/paravirt/extr_paravirt-irq.c_irq_core_eoi.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 @irq_core_eoi], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @irq_core_eoi(ptr noundef %0) #0 {
%2 = tail call ptr @irq_data_get_irq_chip_data(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = shl i32 256, %3
%5 = tail call i32 @set_c0_status(i32 noundef %4) #2
ret void
}
declare ptr @irq_data_get_irq_chip_data(ptr noundef) local_unnamed_addr #1
declare i32 @set_c0_status(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 = !{!"core_chip_data", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/mips/paravirt/extr_paravirt-irq.c_irq_core_eoi.c'
source_filename = "AnghaBench/linux/arch/mips/paravirt/extr_paravirt-irq.c_irq_core_eoi.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 @irq_core_eoi], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @irq_core_eoi(ptr noundef %0) #0 {
%2 = tail call ptr @irq_data_get_irq_chip_data(ptr noundef %0) #2
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = shl i32 256, %3
%5 = tail call i32 @set_c0_status(i32 noundef %4) #2
ret void
}
declare ptr @irq_data_get_irq_chip_data(ptr noundef) local_unnamed_addr #1
declare i32 @set_c0_status(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 = !{!"core_chip_data", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_arch_mips_paravirt_extr_paravirt-irq.c_irq_core_eoi |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_stex.c_stex_free_irq.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_stex.c_stex_free_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.st_hba = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @stex_free_irq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @stex_free_irq(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.st_hba, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = tail call i32 @free_irq(i32 noundef %4, ptr noundef %0) #2
%6 = load i64, ptr %0, align 8, !tbaa !14
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @pci_disable_msi(ptr noundef nonnull %3) #2
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_msi(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 = !{!"st_hba", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"pci_dev", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_stex.c_stex_free_irq.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_stex.c_stex_free_irq.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 @stex_free_irq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @stex_free_irq(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = tail call i32 @free_irq(i32 noundef %4, ptr noundef %0) #2
%6 = load i64, ptr %0, align 8, !tbaa !15
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @pci_disable_msi(ptr noundef nonnull %3) #2
br label %10
10: ; preds = %8, %1
ret void
}
declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_disable_msi(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 = !{!"st_hba", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"pci_dev", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !8, i64 0}
| linux_drivers_scsi_extr_stex.c_stex_free_irq |
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_activate_intr.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_activate_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @omap4_wugen_activate_intr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @omap4_wugen_activate_intr(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = tail call ptr @device_get_softc(i32 noundef %0) #2
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call i32 @PIC_ACTIVATE_INTR(i32 noundef %6, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
ret i32 %7
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @PIC_ACTIVATE_INTR(i32 noundef, ptr noundef, 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)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"omap4_wugen_sc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_activate_intr.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_activate_intr.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 @omap4_wugen_activate_intr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @omap4_wugen_activate_intr(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = tail call ptr @device_get_softc(i32 noundef %0) #2
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call i32 @PIC_ACTIVATE_INTR(i32 noundef %6, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2
ret i32 %7
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @PIC_ACTIVATE_INTR(i32 noundef, ptr noundef, 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)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"omap4_wugen_sc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_arm_ti_omap4_extr_omap4_wugen.c_omap4_wugen_activate_intr |
; ModuleID = 'AnghaBench/linux/net/dccp/extr_output.c_dccp_send_ack.c'
source_filename = "AnghaBench/linux/net/dccp/extr_output.c_dccp_send_ack.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.sock = type { i64, ptr }
@DCCP_CLOSED = dso_local local_unnamed_addr global i64 0, align 8
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@TCP_ATO_MIN = dso_local local_unnamed_addr global i32 0, align 4
@ICSK_TIME_DACK = dso_local local_unnamed_addr global i32 0, align 4
@TCP_DELACK_MAX = dso_local local_unnamed_addr global i32 0, align 4
@DCCP_RTO_MAX = dso_local local_unnamed_addr global i32 0, align 4
@DCCP_PKT_ACK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @dccp_send_ack(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @DCCP_CLOSED, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
br i1 %4, label %27, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !16
%10 = tail call ptr @alloc_skb(i32 noundef %8, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %20
12: ; preds = %5
%13 = tail call i32 @inet_csk_schedule_ack(ptr noundef nonnull %0) #2
%14 = load i32, ptr @TCP_ATO_MIN, align 4, !tbaa !16
%15 = tail call ptr @inet_csk(ptr noundef nonnull %0) #2
store i32 %14, ptr %15, align 4, !tbaa !17
%16 = load i32, ptr @ICSK_TIME_DACK, align 4, !tbaa !16
%17 = load i32, ptr @TCP_DELACK_MAX, align 4, !tbaa !16
%18 = load i32, ptr @DCCP_RTO_MAX, align 4, !tbaa !16
%19 = tail call i32 @inet_csk_reset_xmit_timer(ptr noundef nonnull %0, i32 noundef %16, i32 noundef %17, i32 noundef %18) #2
br label %27
20: ; preds = %5
%21 = load ptr, ptr %6, align 8, !tbaa !12
%22 = load i32, ptr %21, align 4, !tbaa !13
%23 = tail call i32 @skb_reserve(ptr noundef nonnull %10, i32 noundef %22) #2
%24 = load i32, ptr @DCCP_PKT_ACK, align 4, !tbaa !16
%25 = tail call ptr @DCCP_SKB_CB(ptr noundef nonnull %10) #2
store i32 %24, ptr %25, align 4, !tbaa !20
%26 = tail call i32 @dccp_transmit_skb(ptr noundef nonnull %0, ptr noundef nonnull %10) #2
br label %27
27: ; preds = %12, %20, %1
ret void
}
declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inet_csk_schedule_ack(ptr noundef) local_unnamed_addr #1
declare ptr @inet_csk(ptr noundef) local_unnamed_addr #1
declare i32 @inet_csk_reset_xmit_timer(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @DCCP_SKB_CB(ptr noundef) local_unnamed_addr #1
declare i32 @dccp_transmit_skb(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)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sock", !7, i64 0, !10, i64 8}
!7 = !{!"long", !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 = !{!6, !10, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_7__", !19, i64 0}
!19 = !{!"TYPE_5__", !15, i64 0}
!20 = !{!21, !15, i64 0}
!21 = !{!"TYPE_8__", !15, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/dccp/extr_output.c_dccp_send_ack.c'
source_filename = "AnghaBench/linux/net/dccp/extr_output.c_dccp_send_ack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DCCP_CLOSED = common local_unnamed_addr global i64 0, align 8
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@TCP_ATO_MIN = common local_unnamed_addr global i32 0, align 4
@ICSK_TIME_DACK = common local_unnamed_addr global i32 0, align 4
@TCP_DELACK_MAX = common local_unnamed_addr global i32 0, align 4
@DCCP_RTO_MAX = common local_unnamed_addr global i32 0, align 4
@DCCP_PKT_ACK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @dccp_send_ack(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @DCCP_CLOSED, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
br i1 %4, label %27, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !17
%10 = tail call ptr @alloc_skb(i32 noundef %8, i32 noundef %9) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %20
12: ; preds = %5
%13 = tail call i32 @inet_csk_schedule_ack(ptr noundef nonnull %0) #2
%14 = load i32, ptr @TCP_ATO_MIN, align 4, !tbaa !17
%15 = tail call ptr @inet_csk(ptr noundef nonnull %0) #2
store i32 %14, ptr %15, align 4, !tbaa !18
%16 = load i32, ptr @ICSK_TIME_DACK, align 4, !tbaa !17
%17 = load i32, ptr @TCP_DELACK_MAX, align 4, !tbaa !17
%18 = load i32, ptr @DCCP_RTO_MAX, align 4, !tbaa !17
%19 = tail call i32 @inet_csk_reset_xmit_timer(ptr noundef nonnull %0, i32 noundef %16, i32 noundef %17, i32 noundef %18) #2
br label %27
20: ; preds = %5
%21 = load ptr, ptr %6, align 8, !tbaa !13
%22 = load i32, ptr %21, align 4, !tbaa !14
%23 = tail call i32 @skb_reserve(ptr noundef nonnull %10, i32 noundef %22) #2
%24 = load i32, ptr @DCCP_PKT_ACK, align 4, !tbaa !17
%25 = tail call ptr @DCCP_SKB_CB(ptr noundef nonnull %10) #2
store i32 %24, ptr %25, align 4, !tbaa !21
%26 = tail call i32 @dccp_transmit_skb(ptr noundef nonnull %0, ptr noundef nonnull %10) #2
br label %27
27: ; preds = %12, %20, %1
ret void
}
declare ptr @alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inet_csk_schedule_ack(ptr noundef) local_unnamed_addr #1
declare ptr @inet_csk(ptr noundef) local_unnamed_addr #1
declare i32 @inet_csk_reset_xmit_timer(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @skb_reserve(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @DCCP_SKB_CB(ptr noundef) local_unnamed_addr #1
declare i32 @dccp_transmit_skb(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)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sock", !8, i64 0, !11, i64 8}
!8 = !{!"long", !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 = !{!7, !11, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!19, !16, i64 0}
!19 = !{!"TYPE_7__", !20, i64 0}
!20 = !{!"TYPE_5__", !16, i64 0}
!21 = !{!22, !16, i64 0}
!22 = !{!"TYPE_8__", !16, i64 0}
| linux_net_dccp_extr_output.c_dccp_send_ack |
; ModuleID = 'AnghaBench/freebsd/contrib/flex/extr_tables.c_yytbl_writer_init.c'
source_filename = "AnghaBench/freebsd/contrib/flex/extr_tables.c_yytbl_writer_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.yytbl_writer = type { i64, ptr }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local noundef i32 @yytbl_writer_init(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.yytbl_writer, ptr %0, i64 0, i32 1
store ptr %1, ptr %3, align 8, !tbaa !5
store i64 0, ptr %0, align 8, !tbaa !11
ret i32 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, !10, i64 8}
!6 = !{!"yytbl_writer", !7, i64 0, !10, i64 8}
!7 = !{!"long", !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}
| ; ModuleID = 'AnghaBench/freebsd/contrib/flex/extr_tables.c_yytbl_writer_init.c'
source_filename = "AnghaBench/freebsd/contrib/flex/extr_tables.c_yytbl_writer_init.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 noundef i32 @yytbl_writer_init(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %1, ptr %3, align 8, !tbaa !6
store i64 0, ptr %0, align 8, !tbaa !12
ret i32 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, !11, i64 8}
!7 = !{!"yytbl_writer", !8, i64 0, !11, i64 8}
!8 = !{!"long", !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}
| freebsd_contrib_flex_extr_tables.c_yytbl_writer_init |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/pwc/extr_pwc-ctrl.c_pwc_get_colour_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/pwc/extr_pwc-ctrl.c_pwc_get_colour_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"
@GET_CHROM_CTL = dso_local local_unnamed_addr global i32 0, align 4
@COLOUR_MODE_FORMATTER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @pwc_get_colour_mode(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = alloca i8, align 1
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #3
%4 = load i32, ptr @GET_CHROM_CTL, align 4, !tbaa !5
%5 = load i32, ptr @COLOUR_MODE_FORMATTER, align 4, !tbaa !5
%6 = call i32 @recv_control_msg(ptr noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %3, i32 noundef 1) #3
%7 = icmp slt i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = load i8, ptr %3, align 1, !tbaa !9
%10 = icmp ne i8 %9, 0
%11 = zext i1 %10 to i32
store i32 %11, ptr %1, align 4, !tbaa !5
br label %12
12: ; preds = %2, %8
%13 = phi i32 [ 0, %8 ], [ %6, %2 ]
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #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 @recv_control_msg(ptr noundef, i32 noundef, i32 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/pwc/extr_pwc-ctrl.c_pwc_get_colour_mode.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/pwc/extr_pwc-ctrl.c_pwc_get_colour_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GET_CHROM_CTL = common local_unnamed_addr global i32 0, align 4
@COLOUR_MODE_FORMATTER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483648, 1) i32 @pwc_get_colour_mode(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
%3 = alloca i8, align 1
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #3
%4 = load i32, ptr @GET_CHROM_CTL, align 4, !tbaa !6
%5 = load i32, ptr @COLOUR_MODE_FORMATTER, align 4, !tbaa !6
%6 = call i32 @recv_control_msg(ptr noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %3, i32 noundef 1) #3
%7 = icmp slt i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = load i8, ptr %3, align 1, !tbaa !10
%10 = icmp ne i8 %9, 0
%11 = zext i1 %10 to i32
store i32 %11, ptr %1, align 4, !tbaa !6
br label %12
12: ; preds = %2, %8
%13 = phi i32 [ 0, %8 ], [ %6, %2 ]
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #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 @recv_control_msg(ptr noundef, i32 noundef, i32 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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_media_video_pwc_extr_pwc-ctrl.c_pwc_get_colour_mode |
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_audiodsp.c_vector_clipf_c_opposite_sign.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_audiodsp.c_vector_clipf_c_opposite_sign.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 @vector_clipf_c_opposite_sign], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vector_clipf_c_opposite_sign(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4) #0 {
%6 = load i32, ptr %2, align 4, !tbaa !5
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = xor i32 %7, -2147483648
%9 = icmp sgt i32 %4, 0
br i1 %9, label %10, label %54
10: ; preds = %5, %10
%11 = phi i64 [ %51, %10 ], [ 0, %5 ]
%12 = getelementptr inbounds i32, ptr %1, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !5
%14 = tail call i32 @clipf_c_one(i32 noundef %13, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%15 = getelementptr inbounds i32, ptr %0, i64 %11
store i32 %14, ptr %15, align 4, !tbaa !5
%16 = or disjoint i64 %11, 1
%17 = getelementptr inbounds i32, ptr %1, i64 %16
%18 = load i32, ptr %17, align 4, !tbaa !5
%19 = tail call i32 @clipf_c_one(i32 noundef %18, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%20 = getelementptr inbounds i32, ptr %0, i64 %16
store i32 %19, ptr %20, align 4, !tbaa !5
%21 = or disjoint i64 %11, 2
%22 = getelementptr inbounds i32, ptr %1, i64 %21
%23 = load i32, ptr %22, align 4, !tbaa !5
%24 = tail call i32 @clipf_c_one(i32 noundef %23, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%25 = getelementptr inbounds i32, ptr %0, i64 %21
store i32 %24, ptr %25, align 4, !tbaa !5
%26 = or disjoint i64 %11, 3
%27 = getelementptr inbounds i32, ptr %1, i64 %26
%28 = load i32, ptr %27, align 4, !tbaa !5
%29 = tail call i32 @clipf_c_one(i32 noundef %28, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%30 = getelementptr inbounds i32, ptr %0, i64 %26
store i32 %29, ptr %30, align 4, !tbaa !5
%31 = or disjoint i64 %11, 4
%32 = getelementptr inbounds i32, ptr %1, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !5
%34 = tail call i32 @clipf_c_one(i32 noundef %33, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%35 = getelementptr inbounds i32, ptr %0, i64 %31
store i32 %34, ptr %35, align 4, !tbaa !5
%36 = or disjoint i64 %11, 5
%37 = getelementptr inbounds i32, ptr %1, i64 %36
%38 = load i32, ptr %37, align 4, !tbaa !5
%39 = tail call i32 @clipf_c_one(i32 noundef %38, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%40 = getelementptr inbounds i32, ptr %0, i64 %36
store i32 %39, ptr %40, align 4, !tbaa !5
%41 = or disjoint i64 %11, 6
%42 = getelementptr inbounds i32, ptr %1, i64 %41
%43 = load i32, ptr %42, align 4, !tbaa !5
%44 = tail call i32 @clipf_c_one(i32 noundef %43, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%45 = getelementptr inbounds i32, ptr %0, i64 %41
store i32 %44, ptr %45, align 4, !tbaa !5
%46 = or disjoint i64 %11, 7
%47 = getelementptr inbounds i32, ptr %1, i64 %46
%48 = load i32, ptr %47, align 4, !tbaa !5
%49 = tail call i32 @clipf_c_one(i32 noundef %48, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%50 = getelementptr inbounds i32, ptr %0, i64 %46
store i32 %49, ptr %50, align 4, !tbaa !5
%51 = add nuw i64 %11, 8
%52 = trunc i64 %51 to i32
%53 = icmp slt i32 %52, %4
br i1 %53, label %10, label %54, !llvm.loop !9
54: ; preds = %10, %5
ret void
}
declare i32 @clipf_c_one(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_audiodsp.c_vector_clipf_c_opposite_sign.c'
source_filename = "AnghaBench/FFmpeg/libavcodec/extr_audiodsp.c_vector_clipf_c_opposite_sign.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 @vector_clipf_c_opposite_sign], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vector_clipf_c_opposite_sign(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4) #0 {
%6 = load i32, ptr %2, align 4, !tbaa !6
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = xor i32 %7, -2147483648
%9 = icmp sgt i32 %4, 0
br i1 %9, label %10, label %54
10: ; preds = %5, %10
%11 = phi i64 [ %51, %10 ], [ 0, %5 ]
%12 = getelementptr inbounds i32, ptr %1, i64 %11
%13 = load i32, ptr %12, align 4, !tbaa !6
%14 = tail call i32 @clipf_c_one(i32 noundef %13, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%15 = getelementptr inbounds i32, ptr %0, i64 %11
store i32 %14, ptr %15, align 4, !tbaa !6
%16 = or disjoint i64 %11, 1
%17 = getelementptr inbounds i32, ptr %1, i64 %16
%18 = load i32, ptr %17, align 4, !tbaa !6
%19 = tail call i32 @clipf_c_one(i32 noundef %18, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%20 = getelementptr inbounds i32, ptr %0, i64 %16
store i32 %19, ptr %20, align 4, !tbaa !6
%21 = or disjoint i64 %11, 2
%22 = getelementptr inbounds i32, ptr %1, i64 %21
%23 = load i32, ptr %22, align 4, !tbaa !6
%24 = tail call i32 @clipf_c_one(i32 noundef %23, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%25 = getelementptr inbounds i32, ptr %0, i64 %21
store i32 %24, ptr %25, align 4, !tbaa !6
%26 = or disjoint i64 %11, 3
%27 = getelementptr inbounds i32, ptr %1, i64 %26
%28 = load i32, ptr %27, align 4, !tbaa !6
%29 = tail call i32 @clipf_c_one(i32 noundef %28, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%30 = getelementptr inbounds i32, ptr %0, i64 %26
store i32 %29, ptr %30, align 4, !tbaa !6
%31 = or disjoint i64 %11, 4
%32 = getelementptr inbounds i32, ptr %1, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !6
%34 = tail call i32 @clipf_c_one(i32 noundef %33, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%35 = getelementptr inbounds i32, ptr %0, i64 %31
store i32 %34, ptr %35, align 4, !tbaa !6
%36 = or disjoint i64 %11, 5
%37 = getelementptr inbounds i32, ptr %1, i64 %36
%38 = load i32, ptr %37, align 4, !tbaa !6
%39 = tail call i32 @clipf_c_one(i32 noundef %38, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%40 = getelementptr inbounds i32, ptr %0, i64 %36
store i32 %39, ptr %40, align 4, !tbaa !6
%41 = or disjoint i64 %11, 6
%42 = getelementptr inbounds i32, ptr %1, i64 %41
%43 = load i32, ptr %42, align 4, !tbaa !6
%44 = tail call i32 @clipf_c_one(i32 noundef %43, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%45 = getelementptr inbounds i32, ptr %0, i64 %41
store i32 %44, ptr %45, align 4, !tbaa !6
%46 = or disjoint i64 %11, 7
%47 = getelementptr inbounds i32, ptr %1, i64 %46
%48 = load i32, ptr %47, align 4, !tbaa !6
%49 = tail call i32 @clipf_c_one(i32 noundef %48, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2
%50 = getelementptr inbounds i32, ptr %0, i64 %46
store i32 %49, ptr %50, align 4, !tbaa !6
%51 = add nuw nsw i64 %11, 8
%52 = trunc nuw i64 %51 to i32
%53 = icmp slt i32 %52, %4
br i1 %53, label %10, label %54, !llvm.loop !10
54: ; preds = %10, %5
ret void
}
declare i32 @clipf_c_one(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavcodec_extr_audiodsp.c_vector_clipf_c_opposite_sign |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_cs5530.c_snd_cs5530_free.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_cs5530.c_snd_cs5530_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_cs5530_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_cs5530_free(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @pci_release_regions(i32 noundef %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @pci_disable_device(i32 noundef %4) #2
%6 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret i32 0
}
declare i32 @pci_release_regions(i32 noundef) local_unnamed_addr #1
declare i32 @pci_disable_device(i32 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, !7, i64 0}
!6 = !{!"snd_cs5530", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_cs5530.c_snd_cs5530_free.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_cs5530.c_snd_cs5530_free.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 @snd_cs5530_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @snd_cs5530_free(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @pci_release_regions(i32 noundef %2) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @pci_disable_device(i32 noundef %4) #2
%6 = tail call i32 @kfree(ptr noundef nonnull %0) #2
ret i32 0
}
declare i32 @pci_release_regions(i32 noundef) local_unnamed_addr #1
declare i32 @pci_disable_device(i32 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, !8, i64 0}
!7 = !{!"snd_cs5530", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_sound_pci_extr_cs5530.c_snd_cs5530_free |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_ohci1394.c_ohci_iso_recv_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_ohci1394.c_ohci_iso_recv_release.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.hpsb_iso = type { i32, ptr }
%struct.hpsb_iso_packet_info = type { i32 }
@BUFFER_FILL_MODE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ohci_iso_recv_release], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @ohci_iso_recv_release(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.hpsb_iso, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = load i64, ptr @BUFFER_FILL_MODE, align 8, !tbaa !14
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = tail call i32 @ohci_iso_recv_bufferfill_release(ptr noundef nonnull %4, ptr noundef %1) #2
br label %16
10: ; preds = %2
%11 = load i32, ptr %0, align 8, !tbaa !15
%12 = sext i32 %11 to i64
%13 = sub nsw i64 0, %12
%14 = getelementptr inbounds %struct.hpsb_iso_packet_info, ptr %1, i64 %13
%15 = tail call i32 @ohci_iso_recv_release_block(ptr noundef nonnull %4, ptr noundef %14) #2
br label %16
16: ; preds = %10, %8
ret void
}
declare i32 @ohci_iso_recv_bufferfill_release(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ohci_iso_recv_release_block(ptr noundef, ptr 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, !10, i64 8}
!6 = !{!"hpsb_iso", !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, !13, i64 0}
!12 = !{!"ohci_iso_recv", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_ohci1394.c_ohci_iso_recv_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ieee1394/extr_ohci1394.c_ohci_iso_recv_release.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hpsb_iso_packet_info = type { i32 }
@BUFFER_FILL_MODE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ohci_iso_recv_release], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @ohci_iso_recv_release(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = load i64, ptr @BUFFER_FILL_MODE, align 8, !tbaa !15
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = tail call i32 @ohci_iso_recv_bufferfill_release(ptr noundef nonnull %4, ptr noundef %1) #2
br label %16
10: ; preds = %2
%11 = load i32, ptr %0, align 8, !tbaa !16
%12 = sext i32 %11 to i64
%13 = sub nsw i64 0, %12
%14 = getelementptr inbounds %struct.hpsb_iso_packet_info, ptr %1, i64 %13
%15 = tail call i32 @ohci_iso_recv_release_block(ptr noundef nonnull %4, ptr noundef %14) #2
br label %16
16: ; preds = %10, %8
ret void
}
declare i32 @ohci_iso_recv_bufferfill_release(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ohci_iso_recv_release_block(ptr noundef, ptr 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, !11, i64 8}
!7 = !{!"hpsb_iso", !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, !14, i64 0}
!13 = !{!"ohci_iso_recv", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_ieee1394_extr_ohci1394.c_ohci_iso_recv_release |
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_inode.c_dio_read_error.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_inode.c_dio_read_error.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.bio_vec = type { i64 }
%struct.TYPE_8__ = type { ptr, %struct.extent_io_tree, %struct.extent_io_tree }
%struct.extent_io_tree = type { i32 }
%struct.io_failure_record = type { i32, i32 }
@REQ_OP_WRITE = dso_local local_unnamed_addr global i64 0, align 8
@BLK_STS_IOERR = dso_local local_unnamed_addr global i64 0, align 8
@REQ_FAILFAST_DEV = dso_local local_unnamed_addr global i32 0, align 4
@REQ_OP_READ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [88 x i8] c"repair DIO read error: submitting new dio read[%#x] to this_mirror=%d, in_validation=%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dio_read_error], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @dio_read_error(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca %struct.bio_vec, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%12 = tail call ptr @BTRFS_I(ptr noundef %0) #3
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %12, i64 0, i32 2
%14 = tail call ptr @BTRFS_I(ptr noundef %0) #3
%15 = getelementptr inbounds %struct.TYPE_8__, ptr %14, i64 0, i32 1
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
%16 = tail call i64 @bio_op(ptr noundef %1) #3
%17 = load i64, ptr @REQ_OP_WRITE, align 8, !tbaa !5
%18 = icmp eq i64 %16, %17
%19 = zext i1 %18 to i32
%20 = tail call i32 @BUG_ON(i32 noundef %19) #3
%21 = call i32 @btrfs_get_io_failure_record(ptr noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %10) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %9
%24 = call i64 @errno_to_blk_status(i32 noundef %21) #3
br label %71
25: ; preds = %9
%26 = load ptr, ptr %10, align 8, !tbaa !9
%27 = call i32 @btrfs_check_dio_repairable(ptr noundef %0, ptr noundef %1, ptr noundef %26, i32 noundef %6) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load ptr, ptr %10, align 8, !tbaa !9
%31 = call i32 @free_io_failure(ptr noundef nonnull %15, ptr noundef nonnull %13, ptr noundef %30) #3
%32 = load i64, ptr @BLK_STS_IOERR, align 8, !tbaa !5
br label %71
33: ; preds = %25
%34 = call i32 @bio_segments(ptr noundef %1) #3
%35 = call i32 @bio_get_first_bvec(ptr noundef %1, ptr noundef nonnull %11) #3
%36 = icmp sgt i32 %34, 1
br i1 %36, label %41, label %37
37: ; preds = %33
%38 = load i64, ptr %11, align 8, !tbaa !11
%39 = call i64 @btrfs_inode_sectorsize(ptr noundef %0) #3
%40 = icmp sgt i64 %38, %39
br i1 %40, label %41, label %43
41: ; preds = %37, %33
%42 = load i32, ptr @REQ_FAILFAST_DEV, align 4, !tbaa !13
br label %43
43: ; preds = %41, %37
%44 = phi i32 [ %42, %41 ], [ 0, %37 ]
%45 = call ptr @btrfs_io_bio(ptr noundef %1) #3
%46 = load i32, ptr %45, align 4, !tbaa !15
%47 = sub nsw i32 %4, %46
%48 = load ptr, ptr %0, align 8, !tbaa !17
%49 = load i32, ptr %48, align 4, !tbaa !19
%50 = ashr i32 %47, %49
%51 = load ptr, ptr %10, align 8, !tbaa !9
%52 = call ptr @btrfs_create_repair_bio(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %51, ptr noundef %2, i32 noundef %3, i32 noundef %50, ptr noundef %7, ptr noundef %8) #3
%53 = load i32, ptr @REQ_OP_READ, align 4, !tbaa !13
%54 = or i32 %53, %44
store i32 %54, ptr %52, align 4, !tbaa !21
%55 = call ptr @BTRFS_I(ptr noundef nonnull %0) #3
%56 = load ptr, ptr %55, align 8, !tbaa !23
%57 = load i32, ptr %56, align 4, !tbaa !26
%58 = load ptr, ptr %10, align 8, !tbaa !9
%59 = load i32, ptr %58, align 4, !tbaa !28
%60 = getelementptr inbounds %struct.io_failure_record, ptr %58, i64 0, i32 1
%61 = load i32, ptr %60, align 4, !tbaa !30
%62 = call i32 @btrfs_debug(i32 noundef %57, ptr noundef nonnull @.str, i32 noundef %44, i32 noundef %59, i32 noundef %61) #3
%63 = load ptr, ptr %10, align 8, !tbaa !9
%64 = load i32, ptr %63, align 4, !tbaa !28
%65 = call i64 @submit_dio_repair_bio(ptr noundef nonnull %0, ptr noundef nonnull %52, i32 noundef %64) #3
%66 = icmp eq i64 %65, 0
br i1 %66, label %71, label %67
67: ; preds = %43
%68 = load ptr, ptr %10, align 8, !tbaa !9
%69 = call i32 @free_io_failure(ptr noundef nonnull %15, ptr noundef nonnull %13, ptr noundef %68) #3
%70 = call i32 @bio_put(ptr noundef nonnull %52) #3
br label %71
71: ; preds = %43, %67, %29, %23
%72 = phi i64 [ %24, %23 ], [ %32, %29 ], [ %65, %67 ], [ 0, %43 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
ret i64 %72
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @BTRFS_I(ptr noundef) local_unnamed_addr #2
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i64 @bio_op(ptr noundef) local_unnamed_addr #2
declare i32 @btrfs_get_io_failure_record(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @errno_to_blk_status(i32 noundef) local_unnamed_addr #2
declare i32 @btrfs_check_dio_repairable(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free_io_failure(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @bio_segments(ptr noundef) local_unnamed_addr #2
declare i32 @bio_get_first_bvec(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @btrfs_inode_sectorsize(ptr noundef) local_unnamed_addr #2
declare ptr @btrfs_io_bio(ptr noundef) local_unnamed_addr #2
declare ptr @btrfs_create_repair_bio(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @btrfs_debug(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @submit_dio_repair_bio(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bio_put(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 = !{!"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, !6, i64 0}
!12 = !{!"bio_vec", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_7__", !14, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"inode", !10, i64 0}
!19 = !{!20, !14, i64 0}
!20 = !{!"TYPE_5__", !14, i64 0}
!21 = !{!22, !14, i64 0}
!22 = !{!"bio", !14, i64 0}
!23 = !{!24, !10, i64 0}
!24 = !{!"TYPE_8__", !10, i64 0, !25, i64 8, !25, i64 12}
!25 = !{!"extent_io_tree", !14, i64 0}
!26 = !{!27, !14, i64 0}
!27 = !{!"TYPE_6__", !14, i64 0}
!28 = !{!29, !14, i64 0}
!29 = !{!"io_failure_record", !14, i64 0, !14, i64 4}
!30 = !{!29, !14, i64 4}
| ; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_inode.c_dio_read_error.c'
source_filename = "AnghaBench/linux/fs/btrfs/extr_inode.c_dio_read_error.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.bio_vec = type { i64 }
@REQ_OP_WRITE = common local_unnamed_addr global i64 0, align 8
@BLK_STS_IOERR = common local_unnamed_addr global i64 0, align 8
@REQ_FAILFAST_DEV = common local_unnamed_addr global i32 0, align 4
@REQ_OP_READ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [88 x i8] c"repair DIO read error: submitting new dio read[%#x] to this_mirror=%d, in_validation=%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dio_read_error], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @dio_read_error(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca %struct.bio_vec, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%12 = tail call ptr @BTRFS_I(ptr noundef %0) #3
%13 = getelementptr inbounds i8, ptr %12, i64 12
%14 = tail call ptr @BTRFS_I(ptr noundef %0) #3
%15 = getelementptr inbounds i8, ptr %14, i64 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
%16 = tail call i64 @bio_op(ptr noundef %1) #3
%17 = load i64, ptr @REQ_OP_WRITE, align 8, !tbaa !6
%18 = icmp eq i64 %16, %17
%19 = zext i1 %18 to i32
%20 = tail call i32 @BUG_ON(i32 noundef %19) #3
%21 = call i32 @btrfs_get_io_failure_record(ptr noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %10) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %9
%24 = call i64 @errno_to_blk_status(i32 noundef %21) #3
br label %71
25: ; preds = %9
%26 = load ptr, ptr %10, align 8, !tbaa !10
%27 = call i32 @btrfs_check_dio_repairable(ptr noundef %0, ptr noundef %1, ptr noundef %26, i32 noundef %6) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load ptr, ptr %10, align 8, !tbaa !10
%31 = call i32 @free_io_failure(ptr noundef nonnull %15, ptr noundef nonnull %13, ptr noundef %30) #3
%32 = load i64, ptr @BLK_STS_IOERR, align 8, !tbaa !6
br label %71
33: ; preds = %25
%34 = call i32 @bio_segments(ptr noundef %1) #3
%35 = call i32 @bio_get_first_bvec(ptr noundef %1, ptr noundef nonnull %11) #3
%36 = icmp sgt i32 %34, 1
br i1 %36, label %41, label %37
37: ; preds = %33
%38 = load i64, ptr %11, align 8, !tbaa !12
%39 = call i64 @btrfs_inode_sectorsize(ptr noundef %0) #3
%40 = icmp sgt i64 %38, %39
br i1 %40, label %41, label %43
41: ; preds = %37, %33
%42 = load i32, ptr @REQ_FAILFAST_DEV, align 4, !tbaa !14
br label %43
43: ; preds = %41, %37
%44 = phi i32 [ %42, %41 ], [ 0, %37 ]
%45 = call ptr @btrfs_io_bio(ptr noundef %1) #3
%46 = load i32, ptr %45, align 4, !tbaa !16
%47 = sub nsw i32 %4, %46
%48 = load ptr, ptr %0, align 8, !tbaa !18
%49 = load i32, ptr %48, align 4, !tbaa !20
%50 = ashr i32 %47, %49
%51 = load ptr, ptr %10, align 8, !tbaa !10
%52 = call ptr @btrfs_create_repair_bio(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %51, ptr noundef %2, i32 noundef %3, i32 noundef %50, ptr noundef %7, ptr noundef %8) #3
%53 = load i32, ptr @REQ_OP_READ, align 4, !tbaa !14
%54 = or i32 %53, %44
store i32 %54, ptr %52, align 4, !tbaa !22
%55 = call ptr @BTRFS_I(ptr noundef nonnull %0) #3
%56 = load ptr, ptr %55, align 8, !tbaa !24
%57 = load i32, ptr %56, align 4, !tbaa !27
%58 = load ptr, ptr %10, align 8, !tbaa !10
%59 = load i32, ptr %58, align 4, !tbaa !29
%60 = getelementptr inbounds i8, ptr %58, i64 4
%61 = load i32, ptr %60, align 4, !tbaa !31
%62 = call i32 @btrfs_debug(i32 noundef %57, ptr noundef nonnull @.str, i32 noundef %44, i32 noundef %59, i32 noundef %61) #3
%63 = load ptr, ptr %10, align 8, !tbaa !10
%64 = load i32, ptr %63, align 4, !tbaa !29
%65 = call i64 @submit_dio_repair_bio(ptr noundef nonnull %0, ptr noundef nonnull %52, i32 noundef %64) #3
%66 = icmp eq i64 %65, 0
br i1 %66, label %71, label %67
67: ; preds = %43
%68 = load ptr, ptr %10, align 8, !tbaa !10
%69 = call i32 @free_io_failure(ptr noundef nonnull %15, ptr noundef nonnull %13, ptr noundef %68) #3
%70 = call i32 @bio_put(ptr noundef nonnull %52) #3
br label %71
71: ; preds = %43, %67, %29, %23
%72 = phi i64 [ %24, %23 ], [ %32, %29 ], [ %65, %67 ], [ 0, %43 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
ret i64 %72
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @BTRFS_I(ptr noundef) local_unnamed_addr #2
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i64 @bio_op(ptr noundef) local_unnamed_addr #2
declare i32 @btrfs_get_io_failure_record(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @errno_to_blk_status(i32 noundef) local_unnamed_addr #2
declare i32 @btrfs_check_dio_repairable(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @free_io_failure(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @bio_segments(ptr noundef) local_unnamed_addr #2
declare i32 @bio_get_first_bvec(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @btrfs_inode_sectorsize(ptr noundef) local_unnamed_addr #2
declare ptr @btrfs_io_bio(ptr noundef) local_unnamed_addr #2
declare ptr @btrfs_create_repair_bio(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @btrfs_debug(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @submit_dio_repair_bio(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bio_put(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 = !{!"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, !7, i64 0}
!13 = !{!"bio_vec", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"TYPE_7__", !15, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"inode", !11, i64 0}
!20 = !{!21, !15, i64 0}
!21 = !{!"TYPE_5__", !15, i64 0}
!22 = !{!23, !15, i64 0}
!23 = !{!"bio", !15, i64 0}
!24 = !{!25, !11, i64 0}
!25 = !{!"TYPE_8__", !11, i64 0, !26, i64 8, !26, i64 12}
!26 = !{!"extent_io_tree", !15, i64 0}
!27 = !{!28, !15, i64 0}
!28 = !{!"TYPE_6__", !15, i64 0}
!29 = !{!30, !15, i64 0}
!30 = !{!"io_failure_record", !15, i64 0, !15, i64 4}
!31 = !{!30, !15, i64 4}
| linux_fs_btrfs_extr_inode.c_dio_read_error |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_sli4_eq_flush.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_sli4_eq_flush.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"
@LPFC_QUEUE_REARM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_sli4_eq_flush], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lpfc_sli4_eq_flush(ptr nocapture readnone %0, ptr noundef %1) #0 {
br label %3
3: ; preds = %3, %2
%4 = tail call ptr @lpfc_sli4_eq_get(ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %3, !llvm.loop !5
6: ; preds = %3
%7 = load i32, ptr @LPFC_QUEUE_REARM, align 4, !tbaa !7
%8 = tail call i32 @lpfc_sli4_eq_release(ptr noundef %1, i32 noundef %7) #2
ret void
}
declare ptr @lpfc_sli4_eq_get(ptr noundef) local_unnamed_addr #1
declare i32 @lpfc_sli4_eq_release(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_sli4_eq_flush.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_sli.c_lpfc_sli4_eq_flush.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LPFC_QUEUE_REARM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lpfc_sli4_eq_flush], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lpfc_sli4_eq_flush(ptr nocapture readnone %0, ptr noundef %1) #0 {
br label %3
3: ; preds = %3, %2
%4 = tail call ptr @lpfc_sli4_eq_get(ptr noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %3, !llvm.loop !6
6: ; preds = %3
%7 = load i32, ptr @LPFC_QUEUE_REARM, align 4, !tbaa !8
%8 = tail call i32 @lpfc_sli4_eq_release(ptr noundef %1, i32 noundef %7) #2
ret void
}
declare ptr @lpfc_sli4_eq_get(ptr noundef) local_unnamed_addr #1
declare i32 @lpfc_sli4_eq_release(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_scsi_lpfc_extr_lpfc_sli.c_lpfc_sli4_eq_flush |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_priv.c_wpa_priv_send_assoc.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_priv.c_wpa_priv_send_assoc.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, i32, ptr, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @wpa_priv_send_assoc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wpa_priv_send_assoc(ptr noundef %0, i32 noundef %1, ptr noundef readonly %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = icmp eq ptr %2, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call ptr @os_malloc(i64 noundef 12) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %83, label %56
9: ; preds = %3
%10 = load i32, ptr %2, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !5
%13 = add nsw i32 %12, %10
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 2
%15 = load i32, ptr %14, align 8, !tbaa !5
%16 = add nsw i32 %13, %15
%17 = sext i32 %16 to i64
%18 = add nsw i64 %17, 12
%19 = tail call ptr @os_malloc(i64 noundef %18) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %83, label %21
21: ; preds = %9
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 3
%23 = load ptr, ptr %22, align 8, !tbaa !5
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %21
store i32 0, ptr %4, align 4, !tbaa !8
%26 = call i32 @os_memcpy(ptr noundef nonnull %19, ptr noundef nonnull %4, i32 noundef 4) #3
%27 = getelementptr inbounds i32, ptr %19, i64 4
br label %38
28: ; preds = %21
%29 = load i32, ptr %2, align 8, !tbaa !5
store i32 %29, ptr %4, align 4, !tbaa !8
%30 = call i32 @os_memcpy(ptr noundef nonnull %19, ptr noundef nonnull %4, i32 noundef 4) #3
%31 = getelementptr inbounds i32, ptr %19, i64 4
%32 = load ptr, ptr %22, align 8, !tbaa !5
%33 = load i32, ptr %4, align 4, !tbaa !8
%34 = call i32 @os_memcpy(ptr noundef nonnull %31, ptr noundef %32, i32 noundef %33) #3
%35 = load i32, ptr %4, align 4, !tbaa !8
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %31, i64 %36
br label %38
38: ; preds = %25, %28
%39 = phi ptr [ %37, %28 ], [ %27, %25 ]
%40 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 4
%41 = load ptr, ptr %40, align 8, !tbaa !5
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %46
43: ; preds = %38
store i32 0, ptr %4, align 4, !tbaa !8
%44 = call i32 @os_memcpy(ptr noundef nonnull %39, ptr noundef nonnull %4, i32 noundef 4) #3
%45 = getelementptr inbounds i32, ptr %39, i64 4
br label %61
46: ; preds = %38
%47 = load i32, ptr %11, align 4, !tbaa !5
store i32 %47, ptr %4, align 4, !tbaa !8
%48 = call i32 @os_memcpy(ptr noundef nonnull %39, ptr noundef nonnull %4, i32 noundef 4) #3
%49 = getelementptr inbounds i32, ptr %39, i64 4
%50 = load ptr, ptr %40, align 8, !tbaa !5
%51 = load i32, ptr %4, align 4, !tbaa !8
%52 = call i32 @os_memcpy(ptr noundef nonnull %49, ptr noundef %50, i32 noundef %51) #3
%53 = load i32, ptr %4, align 4, !tbaa !8
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %49, i64 %54
br label %61
56: ; preds = %6
store i32 0, ptr %4, align 4, !tbaa !8
%57 = call i32 @os_memcpy(ptr noundef nonnull %7, ptr noundef nonnull %4, i32 noundef 4) #3
%58 = getelementptr inbounds i32, ptr %7, i64 4
store i32 0, ptr %4, align 4, !tbaa !8
%59 = call i32 @os_memcpy(ptr noundef nonnull %58, ptr noundef nonnull %4, i32 noundef 4) #3
%60 = getelementptr inbounds i32, ptr %7, i64 8
br label %73
61: ; preds = %43, %46
%62 = phi ptr [ %55, %46 ], [ %45, %43 ]
%63 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 5
%64 = load ptr, ptr %63, align 8, !tbaa !5
%65 = icmp eq ptr %64, null
br i1 %65, label %73, label %66
66: ; preds = %61
%67 = load i32, ptr %14, align 8, !tbaa !5
store i32 %67, ptr %4, align 4, !tbaa !8
%68 = call i32 @os_memcpy(ptr noundef nonnull %62, ptr noundef nonnull %4, i32 noundef 4) #3
%69 = getelementptr inbounds i32, ptr %62, i64 4
%70 = load ptr, ptr %63, align 8, !tbaa !5
%71 = load i32, ptr %4, align 4, !tbaa !8
%72 = call i32 @os_memcpy(ptr noundef nonnull %69, ptr noundef %70, i32 noundef %71) #3
br label %78
73: ; preds = %56, %61
%74 = phi ptr [ %62, %61 ], [ %60, %56 ]
%75 = phi i64 [ %18, %61 ], [ 12, %56 ]
%76 = phi ptr [ %19, %61 ], [ %7, %56 ]
store i32 0, ptr %4, align 4, !tbaa !8
%77 = call i32 @os_memcpy(ptr noundef nonnull %74, ptr noundef nonnull %4, i32 noundef 4) #3
br label %78
78: ; preds = %73, %66
%79 = phi i64 [ %75, %73 ], [ %18, %66 ]
%80 = phi ptr [ %76, %73 ], [ %19, %66 ]
%81 = call i32 @wpa_priv_send_event(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %80, i64 noundef %79) #3
%82 = call i32 @os_free(ptr noundef nonnull %80) #3
br label %83
83: ; preds = %9, %6, %78
call void @llvm.lifetime.end.p0(i64 4, 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 ptr @os_malloc(i64 noundef) local_unnamed_addr #2
declare i32 @os_memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wpa_priv_send_event(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @os_free(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_priv.c_wpa_priv_send_assoc.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_priv.c_wpa_priv_send_assoc.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 @wpa_priv_send_assoc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wpa_priv_send_assoc(ptr noundef %0, i32 noundef %1, ptr noundef readonly %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = icmp eq ptr %2, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call ptr @os_malloc(i64 noundef 12) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %83, label %56
9: ; preds = %3
%10 = load i32, ptr %2, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %2, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !6
%13 = add nsw i32 %12, %10
%14 = getelementptr inbounds i8, ptr %2, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !6
%16 = add nsw i32 %13, %15
%17 = sext i32 %16 to i64
%18 = add nsw i64 %17, 12
%19 = tail call ptr @os_malloc(i64 noundef %18) #3
%20 = icmp eq ptr %19, null
br i1 %20, label %83, label %21
21: ; preds = %9
%22 = getelementptr inbounds i8, ptr %2, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !6
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %21
store i32 0, ptr %4, align 4, !tbaa !9
%26 = call i32 @os_memcpy(ptr noundef nonnull %19, ptr noundef nonnull %4, i32 noundef 4) #3
%27 = getelementptr inbounds i8, ptr %19, i64 16
br label %38
28: ; preds = %21
%29 = load i32, ptr %2, align 8, !tbaa !6
store i32 %29, ptr %4, align 4, !tbaa !9
%30 = call i32 @os_memcpy(ptr noundef nonnull %19, ptr noundef nonnull %4, i32 noundef 4) #3
%31 = getelementptr inbounds i8, ptr %19, i64 16
%32 = load ptr, ptr %22, align 8, !tbaa !6
%33 = load i32, ptr %4, align 4, !tbaa !9
%34 = call i32 @os_memcpy(ptr noundef nonnull %31, ptr noundef %32, i32 noundef %33) #3
%35 = load i32, ptr %4, align 4, !tbaa !9
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %31, i64 %36
br label %38
38: ; preds = %25, %28
%39 = phi ptr [ %37, %28 ], [ %27, %25 ]
%40 = getelementptr inbounds i8, ptr %2, i64 24
%41 = load ptr, ptr %40, align 8, !tbaa !6
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %46
43: ; preds = %38
store i32 0, ptr %4, align 4, !tbaa !9
%44 = call i32 @os_memcpy(ptr noundef nonnull %39, ptr noundef nonnull %4, i32 noundef 4) #3
%45 = getelementptr inbounds i8, ptr %39, i64 16
br label %61
46: ; preds = %38
%47 = load i32, ptr %11, align 4, !tbaa !6
store i32 %47, ptr %4, align 4, !tbaa !9
%48 = call i32 @os_memcpy(ptr noundef nonnull %39, ptr noundef nonnull %4, i32 noundef 4) #3
%49 = getelementptr inbounds i8, ptr %39, i64 16
%50 = load ptr, ptr %40, align 8, !tbaa !6
%51 = load i32, ptr %4, align 4, !tbaa !9
%52 = call i32 @os_memcpy(ptr noundef nonnull %49, ptr noundef %50, i32 noundef %51) #3
%53 = load i32, ptr %4, align 4, !tbaa !9
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %49, i64 %54
br label %61
56: ; preds = %6
store i32 0, ptr %4, align 4, !tbaa !9
%57 = call i32 @os_memcpy(ptr noundef nonnull %7, ptr noundef nonnull %4, i32 noundef 4) #3
%58 = getelementptr inbounds i8, ptr %7, i64 16
store i32 0, ptr %4, align 4, !tbaa !9
%59 = call i32 @os_memcpy(ptr noundef nonnull %58, ptr noundef nonnull %4, i32 noundef 4) #3
%60 = getelementptr inbounds i8, ptr %7, i64 32
br label %73
61: ; preds = %43, %46
%62 = phi ptr [ %55, %46 ], [ %45, %43 ]
%63 = getelementptr inbounds i8, ptr %2, i64 32
%64 = load ptr, ptr %63, align 8, !tbaa !6
%65 = icmp eq ptr %64, null
br i1 %65, label %73, label %66
66: ; preds = %61
%67 = load i32, ptr %14, align 8, !tbaa !6
store i32 %67, ptr %4, align 4, !tbaa !9
%68 = call i32 @os_memcpy(ptr noundef nonnull %62, ptr noundef nonnull %4, i32 noundef 4) #3
%69 = getelementptr inbounds i8, ptr %62, i64 16
%70 = load ptr, ptr %63, align 8, !tbaa !6
%71 = load i32, ptr %4, align 4, !tbaa !9
%72 = call i32 @os_memcpy(ptr noundef nonnull %69, ptr noundef %70, i32 noundef %71) #3
br label %78
73: ; preds = %56, %61
%74 = phi ptr [ %62, %61 ], [ %60, %56 ]
%75 = phi i64 [ %18, %61 ], [ 12, %56 ]
%76 = phi ptr [ %19, %61 ], [ %7, %56 ]
store i32 0, ptr %4, align 4, !tbaa !9
%77 = call i32 @os_memcpy(ptr noundef nonnull %74, ptr noundef nonnull %4, i32 noundef 4) #3
br label %78
78: ; preds = %73, %66
%79 = phi i64 [ %75, %73 ], [ %18, %66 ]
%80 = phi ptr [ %76, %73 ], [ %19, %66 ]
%81 = call i32 @wpa_priv_send_event(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %80, i64 noundef %79) #3
%82 = call i32 @os_free(ptr noundef nonnull %80) #3
br label %83
83: ; preds = %9, %6, %78
call void @llvm.lifetime.end.p0(i64 4, 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 ptr @os_malloc(i64 noundef) local_unnamed_addr #2
declare i32 @os_memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wpa_priv_send_event(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @os_free(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| freebsd_contrib_wpa_wpa_supplicant_extr_wpa_priv.c_wpa_priv_send_assoc |
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.4/src/extr_lparser.c_constructor.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.4/src/extr_lparser.c_constructor.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.ConsControl = type { i64, i64, i64, %struct.TYPE_20__, ptr }
%struct.TYPE_20__ = type { i64 }
%struct.TYPE_21__ = type { i32, %struct.TYPE_18__, ptr }
%struct.TYPE_18__ = type { i8 }
@OP_NEWTABLE = dso_local local_unnamed_addr global i32 0, align 4
@VRELOCABLE = dso_local local_unnamed_addr global i64 0, align 8
@VVOID = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @constructor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @constructor(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.ConsControl, align 8
%4 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load i32, ptr %0, align 8, !tbaa !12
%7 = load i32, ptr @OP_NEWTABLE, align 4, !tbaa !13
%8 = tail call i32 @luaK_codeABC(ptr noundef %5, i32 noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef 0) #4
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
%9 = getelementptr inbounds %struct.ConsControl, ptr %3, i64 0, i32 2
%10 = getelementptr inbounds %struct.ConsControl, ptr %3, i64 0, i32 4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, i8 0, i64 24, i1 false)
store ptr %1, ptr %10, align 8, !tbaa !14
%11 = load i64, ptr @VRELOCABLE, align 8, !tbaa !18
%12 = tail call i32 @init_exp(ptr noundef %1, i64 noundef %11, i32 noundef %8) #4
%13 = getelementptr inbounds %struct.ConsControl, ptr %3, i64 0, i32 3
%14 = load i64, ptr @VVOID, align 8, !tbaa !18
%15 = call i32 @init_exp(ptr noundef nonnull %13, i64 noundef %14, i32 noundef 0) #4
%16 = load ptr, ptr %4, align 8, !tbaa !5
%17 = call i32 @luaK_exp2nextreg(ptr noundef %16, ptr noundef %1) #4
%18 = call i32 @checknext(ptr noundef nonnull %0, i8 noundef signext 123) #4
%19 = load i64, ptr %13, align 8, !tbaa !19
%20 = load i64, ptr @VVOID, align 8, !tbaa !18
%21 = icmp eq i64 %19, %20
%22 = load i64, ptr %9, align 8
%23 = icmp sgt i64 %22, 0
%24 = select i1 %21, i1 true, i1 %23
%25 = zext i1 %24 to i32
%26 = call i32 @lua_assert(i32 noundef %25) #4
%27 = getelementptr inbounds %struct.TYPE_21__, ptr %0, i64 0, i32 1
%28 = load i8, ptr %27, align 4, !tbaa !20
%29 = icmp eq i8 %28, 125
br i1 %29, label %49, label %30
30: ; preds = %2, %38
%31 = call i32 @closelistfield(ptr noundef %5, ptr noundef nonnull %3) #4
%32 = call i32 @field(ptr noundef nonnull %0, ptr noundef nonnull %3) #4
%33 = call i64 @testnext(ptr noundef nonnull %0, i8 noundef signext 44) #4
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = call i64 @testnext(ptr noundef nonnull %0, i8 noundef signext 59) #4
%37 = icmp eq i64 %36, 0
br i1 %37, label %49, label %38
38: ; preds = %35, %30
%39 = load i64, ptr %13, align 8, !tbaa !19
%40 = load i64, ptr @VVOID, align 8, !tbaa !18
%41 = icmp eq i64 %39, %40
%42 = load i64, ptr %9, align 8
%43 = icmp sgt i64 %42, 0
%44 = select i1 %41, i1 true, i1 %43
%45 = zext i1 %44 to i32
%46 = call i32 @lua_assert(i32 noundef %45) #4
%47 = load i8, ptr %27, align 4, !tbaa !20
%48 = icmp eq i8 %47, 125
br i1 %48, label %49, label %30, !llvm.loop !21
49: ; preds = %35, %38, %2
%50 = getelementptr inbounds %struct.ConsControl, ptr %3, i64 0, i32 1
%51 = call i32 @check_match(ptr noundef nonnull %0, i8 noundef signext 125, i8 noundef signext 123, i32 noundef %6) #4
%52 = call i32 @lastlistfield(ptr noundef %5, ptr noundef nonnull %3) #4
%53 = load ptr, ptr %5, align 8, !tbaa !23
%54 = load ptr, ptr %53, align 8, !tbaa !25
%55 = sext i32 %8 to i64
%56 = getelementptr inbounds i32, ptr %54, i64 %55
%57 = load i32, ptr %56, align 4, !tbaa !13
%58 = load i64, ptr %3, align 8, !tbaa !27
%59 = call i32 @luaO_int2fb(i64 noundef %58) #4
%60 = call i32 @SETARG_B(i32 noundef %57, i32 noundef %59) #4
%61 = load ptr, ptr %5, align 8, !tbaa !23
%62 = load ptr, ptr %61, align 8, !tbaa !25
%63 = getelementptr inbounds i32, ptr %62, i64 %55
%64 = load i32, ptr %63, align 4, !tbaa !13
%65 = load i64, ptr %50, align 8, !tbaa !28
%66 = call i32 @luaO_int2fb(i64 noundef %65) #4
%67 = call i32 @SETARG_C(i32 noundef %64, i32 noundef %66) #4
call void @llvm.lifetime.end.p0(i64 40, 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 @luaK_codeABC(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @init_exp(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaK_exp2nextreg(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @checknext(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #2
declare i32 @closelistfield(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @field(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @testnext(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @check_match(ptr noundef, i8 noundef signext, i8 noundef signext, i32 noundef) local_unnamed_addr #2
declare i32 @lastlistfield(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SETARG_B(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaO_int2fb(i64 noundef) local_unnamed_addr #2
declare i32 @SETARG_C(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !11, i64 8}
!6 = !{!"TYPE_21__", !7, i64 0, !10, i64 4, !11, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_18__", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !11, i64 32}
!15 = !{!"ConsControl", !16, i64 0, !16, i64 8, !16, i64 16, !17, i64 24, !11, i64 32}
!16 = !{!"long", !8, i64 0}
!17 = !{!"TYPE_20__", !16, i64 0}
!18 = !{!16, !16, i64 0}
!19 = !{!15, !16, i64 24}
!20 = !{!6, !8, i64 4}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !11, i64 0}
!24 = !{!"TYPE_22__", !11, i64 0}
!25 = !{!26, !11, i64 0}
!26 = !{!"TYPE_19__", !11, i64 0}
!27 = !{!15, !16, i64 0}
!28 = !{!15, !16, i64 8}
| ; ModuleID = 'AnghaBench/xLua/build/lua-5.3.4/src/extr_lparser.c_constructor.c'
source_filename = "AnghaBench/xLua/build/lua-5.3.4/src/extr_lparser.c_constructor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ConsControl = type { i64, i64, i64, %struct.TYPE_20__, ptr }
%struct.TYPE_20__ = type { i64 }
@OP_NEWTABLE = common local_unnamed_addr global i32 0, align 4
@VRELOCABLE = common local_unnamed_addr global i64 0, align 8
@VVOID = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @constructor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @constructor(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.ConsControl, align 8
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load i32, ptr %0, align 8, !tbaa !13
%7 = load i32, ptr @OP_NEWTABLE, align 4, !tbaa !14
%8 = tail call i32 @luaK_codeABC(ptr noundef %5, i32 noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef 0) #4
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
%9 = getelementptr inbounds i8, ptr %3, i64 16
%10 = getelementptr inbounds i8, ptr %3, i64 32
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, i8 0, i64 24, i1 false)
store ptr %1, ptr %10, align 8, !tbaa !15
%11 = load i64, ptr @VRELOCABLE, align 8, !tbaa !19
%12 = tail call i32 @init_exp(ptr noundef %1, i64 noundef %11, i32 noundef %8) #4
%13 = getelementptr inbounds i8, ptr %3, i64 24
%14 = load i64, ptr @VVOID, align 8, !tbaa !19
%15 = call i32 @init_exp(ptr noundef nonnull %13, i64 noundef %14, i32 noundef 0) #4
%16 = load ptr, ptr %4, align 8, !tbaa !6
%17 = call i32 @luaK_exp2nextreg(ptr noundef %16, ptr noundef %1) #4
%18 = call i32 @checknext(ptr noundef nonnull %0, i8 noundef signext 123) #4
%19 = load i64, ptr %13, align 8, !tbaa !20
%20 = load i64, ptr @VVOID, align 8, !tbaa !19
%21 = icmp eq i64 %19, %20
%22 = load i64, ptr %9, align 8
%23 = icmp sgt i64 %22, 0
%24 = select i1 %21, i1 true, i1 %23
%25 = zext i1 %24 to i32
%26 = call i32 @lua_assert(i32 noundef %25) #4
%27 = getelementptr inbounds i8, ptr %0, i64 4
%28 = load i8, ptr %27, align 4, !tbaa !21
%29 = icmp eq i8 %28, 125
br i1 %29, label %49, label %30
30: ; preds = %2, %38
%31 = call i32 @closelistfield(ptr noundef %5, ptr noundef nonnull %3) #4
%32 = call i32 @field(ptr noundef nonnull %0, ptr noundef nonnull %3) #4
%33 = call i64 @testnext(ptr noundef nonnull %0, i8 noundef signext 44) #4
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = call i64 @testnext(ptr noundef nonnull %0, i8 noundef signext 59) #4
%37 = icmp eq i64 %36, 0
br i1 %37, label %49, label %38
38: ; preds = %35, %30
%39 = load i64, ptr %13, align 8, !tbaa !20
%40 = load i64, ptr @VVOID, align 8, !tbaa !19
%41 = icmp eq i64 %39, %40
%42 = load i64, ptr %9, align 8
%43 = icmp sgt i64 %42, 0
%44 = select i1 %41, i1 true, i1 %43
%45 = zext i1 %44 to i32
%46 = call i32 @lua_assert(i32 noundef %45) #4
%47 = load i8, ptr %27, align 4, !tbaa !21
%48 = icmp eq i8 %47, 125
br i1 %48, label %49, label %30, !llvm.loop !22
49: ; preds = %35, %38, %2
%50 = getelementptr inbounds i8, ptr %3, i64 8
%51 = call i32 @check_match(ptr noundef nonnull %0, i8 noundef signext 125, i8 noundef signext 123, i32 noundef %6) #4
%52 = call i32 @lastlistfield(ptr noundef %5, ptr noundef nonnull %3) #4
%53 = load ptr, ptr %5, align 8, !tbaa !24
%54 = load ptr, ptr %53, align 8, !tbaa !26
%55 = sext i32 %8 to i64
%56 = getelementptr inbounds i32, ptr %54, i64 %55
%57 = load i32, ptr %56, align 4, !tbaa !14
%58 = load i64, ptr %3, align 8, !tbaa !28
%59 = call i32 @luaO_int2fb(i64 noundef %58) #4
%60 = call i32 @SETARG_B(i32 noundef %57, i32 noundef %59) #4
%61 = load ptr, ptr %5, align 8, !tbaa !24
%62 = load ptr, ptr %61, align 8, !tbaa !26
%63 = getelementptr inbounds i32, ptr %62, i64 %55
%64 = load i32, ptr %63, align 4, !tbaa !14
%65 = load i64, ptr %50, align 8, !tbaa !29
%66 = call i32 @luaO_int2fb(i64 noundef %65) #4
%67 = call i32 @SETARG_C(i32 noundef %64, i32 noundef %66) #4
call void @llvm.lifetime.end.p0(i64 40, 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 @luaK_codeABC(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @init_exp(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaK_exp2nextreg(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @checknext(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #2
declare i32 @closelistfield(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @field(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @testnext(ptr noundef, i8 noundef signext) local_unnamed_addr #2
declare i32 @check_match(ptr noundef, i8 noundef signext, i8 noundef signext, i32 noundef) local_unnamed_addr #2
declare i32 @lastlistfield(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SETARG_B(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaO_int2fb(i64 noundef) local_unnamed_addr #2
declare i32 @SETARG_C(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
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !12, i64 8}
!7 = !{!"TYPE_21__", !8, i64 0, !11, i64 4, !12, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_18__", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !12, i64 32}
!16 = !{!"ConsControl", !17, i64 0, !17, i64 8, !17, i64 16, !18, i64 24, !12, i64 32}
!17 = !{!"long", !9, i64 0}
!18 = !{!"TYPE_20__", !17, i64 0}
!19 = !{!17, !17, i64 0}
!20 = !{!16, !17, i64 24}
!21 = !{!7, !9, i64 4}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !12, i64 0}
!25 = !{!"TYPE_22__", !12, i64 0}
!26 = !{!27, !12, i64 0}
!27 = !{!"TYPE_19__", !12, i64 0}
!28 = !{!16, !17, i64 0}
!29 = !{!16, !17, i64 8}
| xLua_build_lua-5.3.4_src_extr_lparser.c_constructor |
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_1139.c_sig_alarm.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_1139.c_sig_alarm.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 [19 x i8] c"alarm/timeout hit.\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @sig_alarm() local_unnamed_addr #0 {
%1 = tail call i32 @printe(ptr noundef nonnull @.str, i32 noundef 1) #2
ret void
}
declare i32 @printe(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/exploitdb/exploits/linux/remote/extr_1139.c_sig_alarm.c'
source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_1139.c_sig_alarm.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 [19 x i8] c"alarm/timeout hit.\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @sig_alarm() local_unnamed_addr #0 {
%1 = tail call i32 @printe(ptr noundef nonnull @.str, i32 noundef 1) #2
ret void
}
declare i32 @printe(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)"}
| exploitdb_exploits_linux_remote_extr_1139.c_sig_alarm |
; ModuleID = 'AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-pcm.c_hsw_pcm_new.c'
source_filename = "AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-pcm.c_hsw_pcm_new.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_8__ = type { i32 }
%struct.snd_soc_pcm_runtime = type { ptr, ptr }
%struct.TYPE_5__ = type { i64 }
%struct.TYPE_6__ = type { ptr }
@DRV_NAME = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_STREAM_PLAYBACK = dso_local local_unnamed_addr global i64 0, align 8
@SNDRV_PCM_STREAM_CAPTURE = dso_local local_unnamed_addr global i64 0, align 8
@SNDRV_DMA_TYPE_DEV_SG = dso_local local_unnamed_addr global i32 0, align 4
@hsw_pcm_hardware = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hsw_pcm_new], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @hsw_pcm_new(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.snd_soc_pcm_runtime, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr @DRV_NAME, align 4, !tbaa !10
%5 = tail call ptr @snd_soc_rtdcom_lookup(ptr noundef %0, i32 noundef %4) #2
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call ptr @dev_get_platdata(i32 noundef %6) #2
%8 = load i32, ptr %5, align 4, !tbaa !12
%9 = tail call ptr @dev_get_drvdata(i32 noundef %8) #2
%10 = load ptr, ptr %7, align 8, !tbaa !14
%11 = load ptr, ptr %3, align 8, !tbaa !16
%12 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !18
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !20
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %1
%17 = load i64, ptr @SNDRV_PCM_STREAM_CAPTURE, align 8, !tbaa !18
%18 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i64 %17
%19 = load i64, ptr %18, align 8, !tbaa !20
%20 = icmp eq i64 %19, 0
br i1 %20, label %37, label %21
21: ; preds = %1, %16
%22 = load i32, ptr @SNDRV_DMA_TYPE_DEV_SG, align 4, !tbaa !10
%23 = load i32, ptr @hsw_pcm_hardware, align 4, !tbaa !22
%24 = tail call i32 @snd_pcm_lib_preallocate_pages_for_all(ptr noundef nonnull %3, i32 noundef %22, ptr noundef %10, i32 noundef %23, i32 noundef %23) #2
%25 = load ptr, ptr %3, align 8, !tbaa !16
%26 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !18
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i64 %26
%28 = load i64, ptr %27, align 8, !tbaa !20
%29 = icmp eq i64 %28, 0
br i1 %29, label %37, label %30
30: ; preds = %21
%31 = load ptr, ptr %9, align 8, !tbaa !24
%32 = load ptr, ptr %0, align 8, !tbaa !26
%33 = load i64, ptr %32, align 8, !tbaa !27
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !29
%36 = getelementptr inbounds %struct.TYPE_6__, ptr %35, i64 %26
store ptr %3, ptr %36, align 8, !tbaa !30
br label %37
37: ; preds = %16, %30, %21
%38 = phi ptr [ %25, %30 ], [ %25, %21 ], [ %11, %16 ]
%39 = load i64, ptr @SNDRV_PCM_STREAM_CAPTURE, align 8, !tbaa !18
%40 = getelementptr inbounds %struct.TYPE_5__, ptr %38, i64 %39
%41 = load i64, ptr %40, align 8, !tbaa !20
%42 = icmp eq i64 %41, 0
br i1 %42, label %50, label %43
43: ; preds = %37
%44 = load ptr, ptr %9, align 8, !tbaa !24
%45 = load ptr, ptr %0, align 8, !tbaa !26
%46 = load i64, ptr %45, align 8, !tbaa !27
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8, !tbaa !29
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i64 %39
store ptr %3, ptr %49, align 8, !tbaa !30
br label %50
50: ; preds = %43, %37
ret i32 0
}
declare ptr @snd_soc_rtdcom_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @dev_get_platdata(i32 noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @snd_pcm_lib_preallocate_pages_for_all(ptr noundef, i32 noundef, 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 8}
!6 = !{!"snd_soc_pcm_runtime", !7, i64 0, !7, i64 8}
!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 = !{!"snd_soc_component", !11, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"sst_pdata", !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"snd_pcm", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !8, i64 0}
!20 = !{!21, !19, i64 0}
!21 = !{!"TYPE_5__", !19, i64 0}
!22 = !{!23, !11, i64 0}
!23 = !{!"TYPE_8__", !11, i64 0}
!24 = !{!25, !7, i64 0}
!25 = !{!"hsw_priv_data", !7, i64 0}
!26 = !{!6, !7, i64 0}
!27 = !{!28, !19, i64 0}
!28 = !{!"TYPE_7__", !19, i64 0}
!29 = !{!7, !7, i64 0}
!30 = !{!31, !7, i64 0}
!31 = !{!"TYPE_6__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-pcm.c_hsw_pcm_new.c'
source_filename = "AnghaBench/linux/sound/soc/intel/haswell/extr_sst-haswell-pcm.c_hsw_pcm_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_5__ = type { i64 }
%struct.TYPE_6__ = type { ptr }
@DRV_NAME = common local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_STREAM_PLAYBACK = common local_unnamed_addr global i64 0, align 8
@SNDRV_PCM_STREAM_CAPTURE = common local_unnamed_addr global i64 0, align 8
@SNDRV_DMA_TYPE_DEV_SG = common local_unnamed_addr global i32 0, align 4
@hsw_pcm_hardware = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @hsw_pcm_new], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @hsw_pcm_new(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr @DRV_NAME, align 4, !tbaa !11
%5 = tail call ptr @snd_soc_rtdcom_lookup(ptr noundef %0, i32 noundef %4) #2
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = tail call ptr @dev_get_platdata(i32 noundef %6) #2
%8 = load i32, ptr %5, align 4, !tbaa !13
%9 = tail call ptr @dev_get_drvdata(i32 noundef %8) #2
%10 = load ptr, ptr %7, align 8, !tbaa !15
%11 = load ptr, ptr %3, align 8, !tbaa !17
%12 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !19
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !21
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %1
%17 = load i64, ptr @SNDRV_PCM_STREAM_CAPTURE, align 8, !tbaa !19
%18 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i64 %17
%19 = load i64, ptr %18, align 8, !tbaa !21
%20 = icmp eq i64 %19, 0
br i1 %20, label %37, label %21
21: ; preds = %1, %16
%22 = load i32, ptr @SNDRV_DMA_TYPE_DEV_SG, align 4, !tbaa !11
%23 = load i32, ptr @hsw_pcm_hardware, align 4, !tbaa !23
%24 = tail call i32 @snd_pcm_lib_preallocate_pages_for_all(ptr noundef nonnull %3, i32 noundef %22, ptr noundef %10, i32 noundef %23, i32 noundef %23) #2
%25 = load ptr, ptr %3, align 8, !tbaa !17
%26 = load i64, ptr @SNDRV_PCM_STREAM_PLAYBACK, align 8, !tbaa !19
%27 = getelementptr inbounds %struct.TYPE_5__, ptr %25, i64 %26
%28 = load i64, ptr %27, align 8, !tbaa !21
%29 = icmp eq i64 %28, 0
br i1 %29, label %37, label %30
30: ; preds = %21
%31 = load ptr, ptr %9, align 8, !tbaa !25
%32 = load ptr, ptr %0, align 8, !tbaa !27
%33 = load i64, ptr %32, align 8, !tbaa !28
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8, !tbaa !30
%36 = getelementptr inbounds %struct.TYPE_6__, ptr %35, i64 %26
store ptr %3, ptr %36, align 8, !tbaa !31
br label %37
37: ; preds = %16, %30, %21
%38 = phi ptr [ %25, %30 ], [ %25, %21 ], [ %11, %16 ]
%39 = load i64, ptr @SNDRV_PCM_STREAM_CAPTURE, align 8, !tbaa !19
%40 = getelementptr inbounds %struct.TYPE_5__, ptr %38, i64 %39
%41 = load i64, ptr %40, align 8, !tbaa !21
%42 = icmp eq i64 %41, 0
br i1 %42, label %50, label %43
43: ; preds = %37
%44 = load ptr, ptr %9, align 8, !tbaa !25
%45 = load ptr, ptr %0, align 8, !tbaa !27
%46 = load i64, ptr %45, align 8, !tbaa !28
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8, !tbaa !30
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i64 %39
store ptr %3, ptr %49, align 8, !tbaa !31
br label %50
50: ; preds = %43, %37
ret i32 0
}
declare ptr @snd_soc_rtdcom_lookup(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @dev_get_platdata(i32 noundef) local_unnamed_addr #1
declare ptr @dev_get_drvdata(i32 noundef) local_unnamed_addr #1
declare i32 @snd_pcm_lib_preallocate_pages_for_all(ptr noundef, i32 noundef, 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 8}
!7 = !{!"snd_soc_pcm_runtime", !8, i64 0, !8, i64 8}
!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 = !{!"snd_soc_component", !12, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"sst_pdata", !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"snd_pcm", !8, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !9, i64 0}
!21 = !{!22, !20, i64 0}
!22 = !{!"TYPE_5__", !20, i64 0}
!23 = !{!24, !12, i64 0}
!24 = !{!"TYPE_8__", !12, i64 0}
!25 = !{!26, !8, i64 0}
!26 = !{!"hsw_priv_data", !8, i64 0}
!27 = !{!7, !8, i64 0}
!28 = !{!29, !20, i64 0}
!29 = !{!"TYPE_7__", !20, i64 0}
!30 = !{!8, !8, i64 0}
!31 = !{!32, !8, i64 0}
!32 = !{!"TYPE_6__", !8, i64 0}
| linux_sound_soc_intel_haswell_extr_sst-haswell-pcm.c_hsw_pcm_new |
; ModuleID = 'AnghaBench/freebsd/sys/mips/nlm/hal/extr_fmn.c_nlm_cms_network_error_status.c'
source_filename = "AnghaBench/freebsd/sys/mips/nlm/hal/extr_fmn.c_nlm_cms_network_error_status.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"
@CMS_MSG_ERR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @nlm_cms_network_error_status(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @CMS_MSG_ERR, align 4, !tbaa !5
%3 = tail call i32 @nlm_read_cms_reg(i32 noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @nlm_read_cms_reg(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/freebsd/sys/mips/nlm/hal/extr_fmn.c_nlm_cms_network_error_status.c'
source_filename = "AnghaBench/freebsd/sys/mips/nlm/hal/extr_fmn.c_nlm_cms_network_error_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CMS_MSG_ERR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @nlm_cms_network_error_status(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @CMS_MSG_ERR, align 4, !tbaa !6
%3 = tail call i32 @nlm_read_cms_reg(i32 noundef %0, i32 noundef %2) #2
ret i32 %3
}
declare i32 @nlm_read_cms_reg(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"}
| freebsd_sys_mips_nlm_hal_extr_fmn.c_nlm_cms_network_error_status |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb/extr_dibusb-mb.c_dibusb_tuner_probe_and_attach.c'
source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb/extr_dibusb-mb.c_dibusb_tuner_probe_and_attach.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.i2c_msg = type { ptr, i32, i32, i32 }
%struct.dvb_usb_adapter = type { ptr, ptr, ptr }
@I2C_M_RD = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"tuner i2c write failed.\00", align 1
@EREMOTEIO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [61 x i8] c"This device has the Thomson Cable onboard. Which is default.\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"This device has the Panasonic ENV77H11D5 onboard.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dibusb_tuner_probe_and_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dibusb_tuner_probe_and_attach(ptr noundef %0) #0 {
%2 = alloca [2 x i32], align 8
%3 = alloca [1 x i32], align 4
%4 = alloca [2 x %struct.i2c_msg], align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #3
store ptr %2, ptr %4, align 16, !tbaa !5
%5 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 0, i32 1
store i32 2, ptr %5, align 8, !tbaa !11
%6 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 0, i32 2
%7 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 0, i32 3
store i32 0, ptr %7, align 16, !tbaa !12
%8 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 1
store ptr %3, ptr %8, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 1, i32 1
store i32 1, ptr %9, align 16, !tbaa !11
%10 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 1, i32 2
%11 = getelementptr inbounds %struct.i2c_msg, ptr %4, i64 1, i32 3
%12 = load i32, ptr @I2C_M_RD, align 4, !tbaa !13
store i32 %12, ptr %11, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.dvb_usb_adapter, ptr %0, i64 0, i32 2
%14 = load ptr, ptr %13, align 8, !tbaa !14
store i32 96, ptr %14, align 4, !tbaa !16
store i32 96, ptr %10, align 4, !tbaa !18
store i32 96, ptr %6, align 4, !tbaa !18
%15 = load ptr, ptr %0, align 8, !tbaa !19
%16 = load ptr, ptr %15, align 8, !tbaa !20
%17 = load ptr, ptr %16, align 8, !tbaa !22
%18 = icmp eq ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %1
%20 = call i32 %17(ptr noundef nonnull %16, i32 noundef 1) #3
br label %21
21: ; preds = %19, %1
%22 = getelementptr inbounds %struct.dvb_usb_adapter, ptr %0, i64 0, i32 1
%23 = load ptr, ptr %22, align 8, !tbaa !25
%24 = call i32 @i2c_transfer(ptr noundef %23, ptr noundef nonnull %4, i32 noundef 2) #3
%25 = icmp eq i32 %24, 2
br i1 %25, label %28, label %26
26: ; preds = %21
%27 = call i32 @err(ptr noundef nonnull @.str) #3
br label %28
28: ; preds = %26, %21
%29 = load ptr, ptr %0, align 8, !tbaa !19
%30 = load ptr, ptr %29, align 8, !tbaa !20
%31 = load ptr, ptr %30, align 8, !tbaa !22
%32 = icmp eq ptr %31, null
br i1 %32, label %35, label %33
33: ; preds = %28
%34 = call i32 %31(ptr noundef nonnull %30, i32 noundef 0) #3
br label %35
35: ; preds = %33, %28
%36 = load i32, ptr %3, align 4, !tbaa !13
%37 = icmp eq i32 %36, 254
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = call i32 @info(ptr noundef nonnull @.str.1) #3
%40 = call i32 @dibusb_thomson_tuner_attach(ptr noundef nonnull %0) #3
br label %44
41: ; preds = %35
%42 = call i32 @info(ptr noundef nonnull @.str.2) #3
%43 = call i32 @dibusb_panasonic_tuner_attach(ptr noundef nonnull %0) #3
br label %44
44: ; preds = %41, %38
%45 = phi i32 [ %40, %38 ], [ %43, %41 ]
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %45
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @i2c_transfer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @err(ptr noundef) local_unnamed_addr #2
declare i32 @info(ptr noundef) local_unnamed_addr #2
declare i32 @dibusb_thomson_tuner_attach(ptr noundef) local_unnamed_addr #2
declare i32 @dibusb_panasonic_tuner_attach(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 = !{!"i2c_msg", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!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 = !{!6, !10, i64 16}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !7, i64 16}
!15 = !{!"dvb_usb_adapter", !7, i64 0, !7, i64 8, !7, i64 16}
!16 = !{!17, !10, i64 0}
!17 = !{!"dibusb_state", !10, i64 0}
!18 = !{!6, !10, i64 12}
!19 = !{!15, !7, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_8__", !7, i64 0}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_9__", !24, i64 0}
!24 = !{!"TYPE_7__", !7, i64 0}
!25 = !{!15, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb/extr_dibusb-mb.c_dibusb_tuner_probe_and_attach.c'
source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb/extr_dibusb-mb.c_dibusb_tuner_probe_and_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.i2c_msg = type { ptr, i32, i32, i32 }
@I2C_M_RD = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"tuner i2c write failed.\00", align 1
@EREMOTEIO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [61 x i8] c"This device has the Thomson Cable onboard. Which is default.\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"This device has the Panasonic ENV77H11D5 onboard.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dibusb_tuner_probe_and_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dibusb_tuner_probe_and_attach(ptr noundef %0) #0 {
%2 = alloca [2 x i32], align 8
%3 = alloca [1 x i32], align 4
%4 = alloca [2 x %struct.i2c_msg], align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #3
store ptr %2, ptr %4, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = getelementptr inbounds i8, ptr %4, i64 16
store i32 0, ptr %6, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %4, i64 24
store ptr %3, ptr %7, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %4, i64 32
%9 = getelementptr inbounds i8, ptr %4, i64 40
%10 = load i32, ptr @I2C_M_RD, align 4, !tbaa !13
store i32 %10, ptr %9, align 8, !tbaa !12
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !14
store i32 96, ptr %12, align 4, !tbaa !16
store <2 x i32> <i32 1, i32 96>, ptr %8, align 8, !tbaa !13
store <2 x i32> <i32 2, i32 96>, ptr %5, align 8, !tbaa !13
%13 = load ptr, ptr %0, align 8, !tbaa !18
%14 = load ptr, ptr %13, align 8, !tbaa !19
%15 = load ptr, ptr %14, align 8, !tbaa !21
%16 = icmp eq ptr %15, null
br i1 %16, label %19, label %17
17: ; preds = %1
%18 = call i32 %15(ptr noundef nonnull %14, i32 noundef 1) #3
br label %19
19: ; preds = %17, %1
%20 = getelementptr inbounds i8, ptr %0, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !24
%22 = call i32 @i2c_transfer(ptr noundef %21, ptr noundef nonnull %4, i32 noundef 2) #3
%23 = icmp eq i32 %22, 2
br i1 %23, label %26, label %24
24: ; preds = %19
%25 = call i32 @err(ptr noundef nonnull @.str) #3
br label %26
26: ; preds = %24, %19
%27 = load ptr, ptr %0, align 8, !tbaa !18
%28 = load ptr, ptr %27, align 8, !tbaa !19
%29 = load ptr, ptr %28, align 8, !tbaa !21
%30 = icmp eq ptr %29, null
br i1 %30, label %33, label %31
31: ; preds = %26
%32 = call i32 %29(ptr noundef nonnull %28, i32 noundef 0) #3
br label %33
33: ; preds = %31, %26
%34 = load i32, ptr %3, align 4, !tbaa !13
%35 = icmp eq i32 %34, 254
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = call i32 @info(ptr noundef nonnull @.str.1) #3
%38 = call i32 @dibusb_thomson_tuner_attach(ptr noundef nonnull %0) #3
br label %42
39: ; preds = %33
%40 = call i32 @info(ptr noundef nonnull @.str.2) #3
%41 = call i32 @dibusb_panasonic_tuner_attach(ptr noundef nonnull %0) #3
br label %42
42: ; preds = %39, %36
%43 = phi i32 [ %38, %36 ], [ %41, %39 ]
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @i2c_transfer(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @err(ptr noundef) local_unnamed_addr #2
declare i32 @info(ptr noundef) local_unnamed_addr #2
declare i32 @dibusb_thomson_tuner_attach(ptr noundef) local_unnamed_addr #2
declare i32 @dibusb_panasonic_tuner_attach(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 = !{!"i2c_msg", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!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 16}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !8, i64 16}
!15 = !{!"dvb_usb_adapter", !8, i64 0, !8, i64 8, !8, i64 16}
!16 = !{!17, !11, i64 0}
!17 = !{!"dibusb_state", !11, i64 0}
!18 = !{!15, !8, i64 0}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_8__", !8, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_9__", !23, i64 0}
!23 = !{!"TYPE_7__", !8, i64 0}
!24 = !{!15, !8, i64 8}
| linux_drivers_media_usb_dvb-usb_extr_dibusb-mb.c_dibusb_tuner_probe_and_attach |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/hpfs/extr_super.c_hpfs_remount_fs.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/hpfs/extr_super.c_hpfs_remount_fs.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.hpfs_sb_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@MS_NOATIME = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"HPFS: bad mount options.\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"HPFS: timeshift can't be changed using remount.\0A\00", align 1
@MS_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hpfs_remount_fs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hpfs_remount_fs(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
%14 = tail call ptr @hpfs_sb(ptr noundef %0) #3
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%16 = tail call ptr @kstrdup(ptr noundef %2, i32 noundef %15) #3
%17 = load i32, ptr @MS_NOATIME, align 4, !tbaa !5
%18 = load i32, ptr %1, align 4, !tbaa !5
%19 = or i32 %18, %17
store i32 %19, ptr %1, align 4, !tbaa !5
%20 = tail call i32 (...) @lock_kernel() #3
%21 = tail call i32 @lock_super(ptr noundef %0) #3
%22 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 9
%23 = load i32, ptr %22, align 4, !tbaa !9
store i32 %23, ptr %4, align 4, !tbaa !5
%24 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 8
%25 = load i32, ptr %24, align 4, !tbaa !11
store i32 %25, ptr %5, align 4, !tbaa !5
%26 = load i32, ptr %14, align 4, !tbaa !12
%27 = and i32 %26, 511
%28 = xor i32 %27, 511
store i32 %28, ptr %6, align 4, !tbaa !5
%29 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 1
%30 = load i32, ptr %29, align 4, !tbaa !13
store i32 %30, ptr %7, align 4, !tbaa !5
%31 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 2
%32 = load i32, ptr %31, align 4, !tbaa !14
store i32 %32, ptr %8, align 4, !tbaa !5
%33 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 3
%34 = load i32, ptr %33, align 4, !tbaa !15
store i32 %34, ptr %9, align 4, !tbaa !5
%35 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 4
%36 = load i32, ptr %35, align 4, !tbaa !16
store i32 %36, ptr %10, align 4, !tbaa !5
%37 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 5
%38 = load i32, ptr %37, align 4, !tbaa !17
store i32 %38, ptr %12, align 4, !tbaa !5
%39 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 6
%40 = load i32, ptr %39, align 4, !tbaa !18
store i32 %40, ptr %11, align 4, !tbaa !5
%41 = getelementptr inbounds %struct.hpfs_sb_info, ptr %14, i64 0, i32 7
%42 = load i32, ptr %41, align 4, !tbaa !19
store i32 %42, ptr %13, align 4, !tbaa !5
%43 = call i32 @parse_opts(ptr noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13) #3
switch i32 %43, label %48 [
i32 0, label %44
i32 2, label %46
]
44: ; preds = %3
%45 = call i32 @printk(ptr noundef nonnull @.str) #3
br label %78
46: ; preds = %3
%47 = call i32 (...) @hpfs_help() #3
br label %78
48: ; preds = %3
%49 = load i32, ptr %13, align 4, !tbaa !5
%50 = load i32, ptr %41, align 4, !tbaa !19
%51 = icmp eq i32 %49, %50
br i1 %51, label %54, label %52
52: ; preds = %48
%53 = call i32 @printk(ptr noundef nonnull @.str.1) #3
br label %78
54: ; preds = %48
%55 = call i32 @unmark_dirty(ptr noundef %0) #3
%56 = load i32, ptr %4, align 4, !tbaa !5
store i32 %56, ptr %22, align 4, !tbaa !9
%57 = load i32, ptr %5, align 4, !tbaa !5
store i32 %57, ptr %24, align 4, !tbaa !11
%58 = load i32, ptr %6, align 4, !tbaa !5
%59 = and i32 %58, 511
%60 = xor i32 %59, 511
store i32 %60, ptr %14, align 4, !tbaa !12
%61 = load i32, ptr %7, align 4, !tbaa !5
store i32 %61, ptr %29, align 4, !tbaa !13
%62 = load i32, ptr %8, align 4, !tbaa !5
store i32 %62, ptr %31, align 4, !tbaa !14
%63 = load i32, ptr %9, align 4, !tbaa !5
store i32 %63, ptr %33, align 4, !tbaa !15
%64 = load i32, ptr %10, align 4, !tbaa !5
store i32 %64, ptr %35, align 4, !tbaa !16
%65 = load i32, ptr %12, align 4, !tbaa !5
store i32 %65, ptr %37, align 4, !tbaa !17
%66 = load i32, ptr %11, align 4, !tbaa !5
store i32 %66, ptr %39, align 4, !tbaa !18
%67 = load i32, ptr %13, align 4, !tbaa !5
store i32 %67, ptr %41, align 4, !tbaa !19
%68 = load i32, ptr %1, align 4, !tbaa !5
%69 = load i32, ptr @MS_RDONLY, align 4, !tbaa !5
%70 = and i32 %69, %68
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %54
%73 = call i32 @mark_dirty(ptr noundef %0) #3
br label %74
74: ; preds = %72, %54
%75 = call i32 @replace_mount_options(ptr noundef %0, ptr noundef %16) #3
%76 = call i32 @unlock_super(ptr noundef %0) #3
%77 = call i32 (...) @unlock_kernel() #3
br label %84
78: ; preds = %52, %46, %44
%79 = call i32 @unlock_super(ptr noundef %0) #3
%80 = call i32 (...) @unlock_kernel() #3
%81 = call i32 @kfree(ptr noundef %16) #3
%82 = load i32, ptr @EINVAL, align 4, !tbaa !5
%83 = sub nsw i32 0, %82
br label %84
84: ; preds = %78, %74
%85 = phi i32 [ %83, %78 ], [ 0, %74 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %85
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @hpfs_sb(ptr noundef) local_unnamed_addr #2
declare ptr @kstrdup(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lock_kernel(...) local_unnamed_addr #2
declare i32 @lock_super(ptr noundef) local_unnamed_addr #2
declare i32 @parse_opts(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printk(ptr noundef) local_unnamed_addr #2
declare i32 @hpfs_help(...) local_unnamed_addr #2
declare i32 @unmark_dirty(ptr noundef) local_unnamed_addr #2
declare i32 @mark_dirty(ptr noundef) local_unnamed_addr #2
declare i32 @replace_mount_options(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @unlock_super(ptr noundef) local_unnamed_addr #2
declare i32 @unlock_kernel(...) local_unnamed_addr #2
declare i32 @kfree(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, !6, i64 36}
!10 = !{!"hpfs_sb_info", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36}
!11 = !{!10, !6, i64 32}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !6, i64 4}
!14 = !{!10, !6, i64 8}
!15 = !{!10, !6, i64 12}
!16 = !{!10, !6, i64 16}
!17 = !{!10, !6, i64 20}
!18 = !{!10, !6, i64 24}
!19 = !{!10, !6, i64 28}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/hpfs/extr_super.c_hpfs_remount_fs.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/hpfs/extr_super.c_hpfs_remount_fs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@MS_NOATIME = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"HPFS: bad mount options.\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"HPFS: timeshift can't be changed using remount.\0A\00", align 1
@MS_RDONLY = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hpfs_remount_fs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @hpfs_remount_fs(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #3
%14 = tail call ptr @hpfs_sb(ptr noundef %0) #3
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%16 = tail call ptr @kstrdup(ptr noundef %2, i32 noundef %15) #3
%17 = load i32, ptr @MS_NOATIME, align 4, !tbaa !6
%18 = load i32, ptr %1, align 4, !tbaa !6
%19 = or i32 %18, %17
store i32 %19, ptr %1, align 4, !tbaa !6
%20 = tail call i32 @lock_kernel() #3
%21 = tail call i32 @lock_super(ptr noundef %0) #3
%22 = getelementptr inbounds i8, ptr %14, i64 36
%23 = load i32, ptr %22, align 4, !tbaa !10
store i32 %23, ptr %4, align 4, !tbaa !6
%24 = getelementptr inbounds i8, ptr %14, i64 32
%25 = load i32, ptr %24, align 4, !tbaa !12
store i32 %25, ptr %5, align 4, !tbaa !6
%26 = load i32, ptr %14, align 4, !tbaa !13
%27 = and i32 %26, 511
%28 = xor i32 %27, 511
store i32 %28, ptr %6, align 4, !tbaa !6
%29 = getelementptr inbounds i8, ptr %14, i64 4
%30 = load i32, ptr %29, align 4, !tbaa !14
store i32 %30, ptr %7, align 4, !tbaa !6
%31 = getelementptr inbounds i8, ptr %14, i64 8
%32 = load i32, ptr %31, align 4, !tbaa !15
store i32 %32, ptr %8, align 4, !tbaa !6
%33 = getelementptr inbounds i8, ptr %14, i64 12
%34 = load i32, ptr %33, align 4, !tbaa !16
store i32 %34, ptr %9, align 4, !tbaa !6
%35 = getelementptr inbounds i8, ptr %14, i64 16
%36 = load i32, ptr %35, align 4, !tbaa !17
store i32 %36, ptr %10, align 4, !tbaa !6
%37 = getelementptr inbounds i8, ptr %14, i64 20
%38 = load i32, ptr %37, align 4, !tbaa !18
store i32 %38, ptr %12, align 4, !tbaa !6
%39 = getelementptr inbounds i8, ptr %14, i64 24
%40 = load i32, ptr %39, align 4, !tbaa !19
store i32 %40, ptr %11, align 4, !tbaa !6
%41 = getelementptr inbounds i8, ptr %14, i64 28
%42 = load i32, ptr %41, align 4, !tbaa !20
store i32 %42, ptr %13, align 4, !tbaa !6
%43 = call i32 @parse_opts(ptr noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13) #3
switch i32 %43, label %48 [
i32 0, label %44
i32 2, label %46
]
44: ; preds = %3
%45 = call i32 @printk(ptr noundef nonnull @.str) #3
br label %78
46: ; preds = %3
%47 = call i32 @hpfs_help() #3
br label %78
48: ; preds = %3
%49 = load i32, ptr %13, align 4, !tbaa !6
%50 = load i32, ptr %41, align 4, !tbaa !20
%51 = icmp eq i32 %49, %50
br i1 %51, label %54, label %52
52: ; preds = %48
%53 = call i32 @printk(ptr noundef nonnull @.str.1) #3
br label %78
54: ; preds = %48
%55 = call i32 @unmark_dirty(ptr noundef %0) #3
%56 = load i32, ptr %4, align 4, !tbaa !6
store i32 %56, ptr %22, align 4, !tbaa !10
%57 = load i32, ptr %5, align 4, !tbaa !6
store i32 %57, ptr %24, align 4, !tbaa !12
%58 = load i32, ptr %6, align 4, !tbaa !6
%59 = and i32 %58, 511
%60 = xor i32 %59, 511
store i32 %60, ptr %14, align 4, !tbaa !13
%61 = load i32, ptr %7, align 4, !tbaa !6
store i32 %61, ptr %29, align 4, !tbaa !14
%62 = load i32, ptr %8, align 4, !tbaa !6
store i32 %62, ptr %31, align 4, !tbaa !15
%63 = load i32, ptr %9, align 4, !tbaa !6
store i32 %63, ptr %33, align 4, !tbaa !16
%64 = load i32, ptr %10, align 4, !tbaa !6
store i32 %64, ptr %35, align 4, !tbaa !17
%65 = load i32, ptr %12, align 4, !tbaa !6
store i32 %65, ptr %37, align 4, !tbaa !18
%66 = load i32, ptr %11, align 4, !tbaa !6
store i32 %66, ptr %39, align 4, !tbaa !19
%67 = load i32, ptr %13, align 4, !tbaa !6
store i32 %67, ptr %41, align 4, !tbaa !20
%68 = load i32, ptr %1, align 4, !tbaa !6
%69 = load i32, ptr @MS_RDONLY, align 4, !tbaa !6
%70 = and i32 %69, %68
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %54
%73 = call i32 @mark_dirty(ptr noundef %0) #3
br label %74
74: ; preds = %72, %54
%75 = call i32 @replace_mount_options(ptr noundef %0, ptr noundef %16) #3
%76 = call i32 @unlock_super(ptr noundef %0) #3
%77 = call i32 @unlock_kernel() #3
br label %84
78: ; preds = %52, %46, %44
%79 = call i32 @unlock_super(ptr noundef %0) #3
%80 = call i32 @unlock_kernel() #3
%81 = call i32 @kfree(ptr noundef %16) #3
%82 = load i32, ptr @EINVAL, align 4, !tbaa !6
%83 = sub nsw i32 0, %82
br label %84
84: ; preds = %78, %74
%85 = phi i32 [ %83, %78 ], [ 0, %74 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %85
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @hpfs_sb(ptr noundef) local_unnamed_addr #2
declare ptr @kstrdup(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @lock_kernel(...) local_unnamed_addr #2
declare i32 @lock_super(ptr noundef) local_unnamed_addr #2
declare i32 @parse_opts(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printk(ptr noundef) local_unnamed_addr #2
declare i32 @hpfs_help(...) local_unnamed_addr #2
declare i32 @unmark_dirty(ptr noundef) local_unnamed_addr #2
declare i32 @mark_dirty(ptr noundef) local_unnamed_addr #2
declare i32 @replace_mount_options(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @unlock_super(ptr noundef) local_unnamed_addr #2
declare i32 @unlock_kernel(...) local_unnamed_addr #2
declare i32 @kfree(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, !7, i64 36}
!11 = !{!"hpfs_sb_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36}
!12 = !{!11, !7, i64 32}
!13 = !{!11, !7, i64 0}
!14 = !{!11, !7, i64 4}
!15 = !{!11, !7, i64 8}
!16 = !{!11, !7, i64 12}
!17 = !{!11, !7, i64 16}
!18 = !{!11, !7, i64 20}
!19 = !{!11, !7, i64 24}
!20 = !{!11, !7, i64 28}
| fastsocket_kernel_fs_hpfs_extr_super.c_hpfs_remount_fs |
; ModuleID = 'AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_vnode_check_lookup_preflight.c'
source_filename = "AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_vnode_check_lookup_preflight.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"
@vnode_check_lookup_preflight = dso_local local_unnamed_addr global i32 0, align 4
@mac_vnode_enforce = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @mac_vnode_check_lookup_preflight(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @vfs_context_ucred(i32 noundef %0) #2
%6 = tail call i32 @mac_cred_check_enforce(i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = load i32, ptr @vnode_check_lookup_preflight, align 4, !tbaa !5
%10 = load i32, ptr %1, align 4, !tbaa !9
%11 = tail call i32 @MAC_CHECK(i32 noundef %9, i32 noundef %5, ptr noundef nonnull %1, i32 noundef %10, ptr noundef %2, i64 noundef %3) #2
br label %12
12: ; preds = %4, %8
ret i32 0
}
declare i32 @vfs_context_ucred(i32 noundef) local_unnamed_addr #1
declare i32 @mac_cred_check_enforce(i32 noundef) local_unnamed_addr #1
declare i32 @MAC_CHECK(i32 noundef, i32 noundef, ptr noundef, i32 noundef, 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, !6, i64 0}
!10 = !{!"vnode", !6, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_vnode_check_lookup_preflight.c'
source_filename = "AnghaBench/darwin-xnu/security/extr_mac_vfs.c_mac_vnode_check_lookup_preflight.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vnode_check_lookup_preflight = common local_unnamed_addr global i32 0, align 4
@mac_vnode_enforce = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @mac_vnode_check_lookup_preflight(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @vfs_context_ucred(i32 noundef %0) #2
%6 = tail call i32 @mac_cred_check_enforce(i32 noundef %5) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %4
%9 = load i32, ptr @vnode_check_lookup_preflight, align 4, !tbaa !6
%10 = load i32, ptr %1, align 4, !tbaa !10
%11 = tail call i32 @MAC_CHECK(i32 noundef %9, i32 noundef %5, ptr noundef nonnull %1, i32 noundef %10, ptr noundef %2, i64 noundef %3) #2
br label %12
12: ; preds = %4, %8
ret i32 0
}
declare i32 @vfs_context_ucred(i32 noundef) local_unnamed_addr #1
declare i32 @mac_cred_check_enforce(i32 noundef) local_unnamed_addr #1
declare i32 @MAC_CHECK(i32 noundef, i32 noundef, ptr noundef, i32 noundef, 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, !7, i64 0}
!11 = !{!"vnode", !7, i64 0}
| darwin-xnu_security_extr_mac_vfs.c_mac_vnode_check_lookup_preflight |
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_tty_port.c_tty_port_destroy.c'
source_filename = "AnghaBench/linux/drivers/tty/extr_tty_port.c_tty_port_destroy.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 @tty_port_destroy(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @tty_buffer_cancel_work(ptr noundef %0) #2
%3 = tail call i32 @tty_buffer_free_all(ptr noundef %0) #2
ret void
}
declare i32 @tty_buffer_cancel_work(ptr noundef) local_unnamed_addr #1
declare i32 @tty_buffer_free_all(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/tty/extr_tty_port.c_tty_port_destroy.c'
source_filename = "AnghaBench/linux/drivers/tty/extr_tty_port.c_tty_port_destroy.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 @tty_port_destroy(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @tty_buffer_cancel_work(ptr noundef %0) #2
%3 = tail call i32 @tty_buffer_free_all(ptr noundef %0) #2
ret void
}
declare i32 @tty_buffer_cancel_work(ptr noundef) local_unnamed_addr #1
declare i32 @tty_buffer_free_all(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_tty_extr_tty_port.c_tty_port_destroy |
; ModuleID = 'AnghaBench/kphp-kdb/binlog/extr_kdb-binlog-common.c_init_log_data.c'
source_filename = "AnghaBench/kphp-kdb/binlog/extr_kdb-binlog-common.c_init_log_data.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_5__ = type { i32, i32, i64, i32 }
%struct.TYPE_7__ = type { ptr, i32 }
@Binlog = dso_local local_unnamed_addr global ptr null, align 8
@binlog_zipped = dso_local local_unnamed_addr global i32 0, align 4
@binlogname = dso_local local_unnamed_addr global i32 0, align 4
@log_start_pos = dso_local local_unnamed_addr global i64 0, align 8
@max_binlog_size = dso_local local_unnamed_addr global i64 0, align 8
@next_binlog_rotate_pos = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @init_log_data(i64 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @Binlog, align 8, !tbaa !5
%5 = tail call i32 @assert(ptr noundef %4) #2
%6 = load ptr, ptr @Binlog, align 8, !tbaa !5
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = load i32, ptr %7, align 8, !tbaa !12
%9 = and i32 %8, 16
store i32 %9, ptr @binlog_zipped, align 4, !tbaa !15
%10 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 0, i32 3
%11 = load i32, ptr %10, align 8, !tbaa !16
store i32 %11, ptr @binlogname, align 4, !tbaa !15
%12 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 1
%13 = load i32, ptr %12, align 8, !tbaa !17
%14 = icmp eq i32 %9, 0
br i1 %14, label %19, label %15
15: ; preds = %3
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 0, i32 2
%17 = load i64, ptr %16, align 8, !tbaa !18
%18 = inttoptr i64 %17 to ptr
br label %21
19: ; preds = %3
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 0, i32 1
br label %21
21: ; preds = %19, %15
%22 = phi ptr [ %18, %15 ], [ %20, %19 ]
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = tail call i32 @set_log_data(i32 noundef %13, i32 noundef %23) #2
%25 = tail call i32 @log_seek(i64 noundef %0, i32 noundef %1, i32 noundef %2) #2
%26 = load i64, ptr @log_start_pos, align 8, !tbaa !19
%27 = load i64, ptr @max_binlog_size, align 8, !tbaa !19
%28 = add nsw i64 %27, %26
store i64 %28, ptr @next_binlog_rotate_pos, align 8, !tbaa !19
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @set_log_data(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @log_seek(i64 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_7__", !6, i64 0, !11, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_5__", !11, i64 0, !11, i64 4, !14, i64 8, !11, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!13, !11, i64 16}
!17 = !{!10, !11, i64 8}
!18 = !{!13, !14, i64 8}
!19 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/kphp-kdb/binlog/extr_kdb-binlog-common.c_init_log_data.c'
source_filename = "AnghaBench/kphp-kdb/binlog/extr_kdb-binlog-common.c_init_log_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@Binlog = common local_unnamed_addr global ptr null, align 8
@binlog_zipped = common local_unnamed_addr global i32 0, align 4
@binlogname = common local_unnamed_addr global i32 0, align 4
@log_start_pos = common local_unnamed_addr global i64 0, align 8
@max_binlog_size = common local_unnamed_addr global i64 0, align 8
@next_binlog_rotate_pos = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @init_log_data(i64 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr @Binlog, align 8, !tbaa !6
%5 = tail call i32 @assert(ptr noundef %4) #2
%6 = load ptr, ptr @Binlog, align 8, !tbaa !6
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = load i32, ptr %7, align 8, !tbaa !13
%9 = and i32 %8, 16
store i32 %9, ptr @binlog_zipped, align 4, !tbaa !16
%10 = getelementptr inbounds i8, ptr %7, i64 16
%11 = load i32, ptr %10, align 8, !tbaa !17
store i32 %11, ptr @binlogname, align 4, !tbaa !16
%12 = getelementptr inbounds i8, ptr %6, i64 8
%13 = load i32, ptr %12, align 8, !tbaa !18
%14 = icmp eq i32 %9, 0
br i1 %14, label %19, label %15
15: ; preds = %3
%16 = getelementptr inbounds i8, ptr %7, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !19
%18 = inttoptr i64 %17 to ptr
br label %21
19: ; preds = %3
%20 = getelementptr inbounds i8, ptr %7, i64 4
br label %21
21: ; preds = %19, %15
%22 = phi ptr [ %18, %15 ], [ %20, %19 ]
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = tail call i32 @set_log_data(i32 noundef %13, i32 noundef %23) #2
%25 = tail call i32 @log_seek(i64 noundef %0, i32 noundef %1, i32 noundef %2) #2
%26 = load i64, ptr @log_start_pos, align 8, !tbaa !20
%27 = load i64, ptr @max_binlog_size, align 8, !tbaa !20
%28 = add nsw i64 %27, %26
store i64 %28, ptr @next_binlog_rotate_pos, align 8, !tbaa !20
ret void
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @set_log_data(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @log_seek(i64 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_7__", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_5__", !12, i64 0, !12, i64 4, !15, i64 8, !12, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!14, !12, i64 16}
!18 = !{!11, !12, i64 8}
!19 = !{!14, !15, i64 8}
!20 = !{!15, !15, i64 0}
| kphp-kdb_binlog_extr_kdb-binlog-common.c_init_log_data |
; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/bin/auditdistd/extr_proto_tls.c_nonblock.c'
source_filename = "AnghaBench/freebsd/contrib/openbsm/bin/auditdistd/extr_proto_tls.c_nonblock.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"
@F_GETFL = dso_local local_unnamed_addr global i32 0, align 4
@EX_TEMPFAIL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"fcntl(F_GETFL) failed\00", align 1
@O_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4
@F_SETFL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"fcntl(F_SETFL) failed\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @nonblock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nonblock(i32 noundef %0) #0 {
%2 = load i32, ptr @F_GETFL, align 4, !tbaa !5
%3 = tail call i32 (i32, i32, ...) @fcntl(i32 noundef %0, i32 noundef %2) #2
%4 = icmp eq i32 %3, -1
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @EX_TEMPFAIL, align 4, !tbaa !5
%7 = tail call i32 @pjdlog_exit(i32 noundef %6, ptr noundef nonnull @.str) #2
br label %8
8: ; preds = %5, %1
%9 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !5
%10 = or i32 %9, %3
%11 = load i32, ptr @F_SETFL, align 4, !tbaa !5
%12 = tail call i32 (i32, i32, ...) @fcntl(i32 noundef %0, i32 noundef %11, i32 noundef %10) #2
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %8
%15 = load i32, ptr @EX_TEMPFAIL, align 4, !tbaa !5
%16 = tail call i32 @pjdlog_exit(i32 noundef %15, ptr noundef nonnull @.str.1) #2
br label %17
17: ; preds = %14, %8
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @pjdlog_exit(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/bin/auditdistd/extr_proto_tls.c_nonblock.c'
source_filename = "AnghaBench/freebsd/contrib/openbsm/bin/auditdistd/extr_proto_tls.c_nonblock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F_GETFL = common local_unnamed_addr global i32 0, align 4
@EX_TEMPFAIL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"fcntl(F_GETFL) failed\00", align 1
@O_NONBLOCK = common local_unnamed_addr global i32 0, align 4
@F_SETFL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"fcntl(F_SETFL) failed\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @nonblock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nonblock(i32 noundef %0) #0 {
%2 = load i32, ptr @F_GETFL, align 4, !tbaa !6
%3 = tail call i32 (i32, i32, ...) @fcntl(i32 noundef %0, i32 noundef %2) #2
%4 = icmp eq i32 %3, -1
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr @EX_TEMPFAIL, align 4, !tbaa !6
%7 = tail call i32 @pjdlog_exit(i32 noundef %6, ptr noundef nonnull @.str) #2
br label %8
8: ; preds = %5, %1
%9 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !6
%10 = or i32 %9, %3
%11 = load i32, ptr @F_SETFL, align 4, !tbaa !6
%12 = tail call i32 (i32, i32, ...) @fcntl(i32 noundef %0, i32 noundef %11, i32 noundef %10) #2
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %17
14: ; preds = %8
%15 = load i32, ptr @EX_TEMPFAIL, align 4, !tbaa !6
%16 = tail call i32 @pjdlog_exit(i32 noundef %15, ptr noundef nonnull @.str.1) #2
br label %17
17: ; preds = %14, %8
ret void
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @pjdlog_exit(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_openbsm_bin_auditdistd_extr_proto_tls.c_nonblock |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qedr/extr_qedr_iw_cm.c_qedr_iw_qp_event.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/qedr/extr_qedr_iw_cm.c_qedr_iw_qp_event.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.ib_event = type { i32, %struct.TYPE_3__, i32 }
%struct.TYPE_3__ = type { ptr }
%struct.qedr_iw_ep = type { ptr, ptr }
%struct.ib_qp = type { i32, ptr, i32 }
@.str = private unnamed_addr constant [23 x i8] c"QP error received: %s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @qedr_iw_qp_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @qedr_iw_qp_event(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.ib_event, align 8
%6 = getelementptr inbounds %struct.qedr_iw_ep, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = load ptr, ptr %0, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
%9 = tail call i32 @DP_NOTICE(ptr noundef %7, ptr noundef nonnull @.str, ptr noundef %3) #3
%10 = getelementptr inbounds %struct.ib_qp, ptr %8, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !11
%12 = icmp eq ptr %11, null
br i1 %12, label %20, label %13
13: ; preds = %4
store i32 %2, ptr %5, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.ib_qp, ptr %8, i64 0, i32 2
%15 = load i32, ptr %14, align 8, !tbaa !17
%16 = getelementptr inbounds %struct.ib_event, ptr %5, i64 0, i32 2
store i32 %15, ptr %16, align 8, !tbaa !18
%17 = getelementptr inbounds %struct.ib_event, ptr %5, i64 0, i32 1
store ptr %8, ptr %17, align 8, !tbaa !19
%18 = load i32, ptr %8, align 8, !tbaa !20
%19 = call i32 %11(ptr noundef nonnull %5, i32 noundef %18) #3
br label %20
20: ; preds = %13, %4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #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 @DP_NOTICE(ptr 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, !7, i64 8}
!6 = !{!"qedr_iw_ep", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !7, i64 8}
!12 = !{!"ib_qp", !13, i64 0, !7, i64 8, !13, i64 16}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"ib_event", !13, i64 0, !16, i64 8, !13, i64 16}
!16 = !{!"TYPE_3__", !7, i64 0}
!17 = !{!12, !13, i64 16}
!18 = !{!15, !13, i64 16}
!19 = !{!15, !7, i64 8}
!20 = !{!12, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/qedr/extr_qedr_iw_cm.c_qedr_iw_qp_event.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/qedr/extr_qedr_iw_cm.c_qedr_iw_qp_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ib_event = type { i32, %struct.TYPE_3__, i32 }
%struct.TYPE_3__ = type { ptr }
@.str = private unnamed_addr constant [23 x i8] c"QP error received: %s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @qedr_iw_qp_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @qedr_iw_qp_event(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.ib_event, align 8
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = load ptr, ptr %0, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
%9 = tail call i32 @DP_NOTICE(ptr noundef %7, ptr noundef nonnull @.str, ptr noundef %3) #3
%10 = getelementptr inbounds i8, ptr %8, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = icmp eq ptr %11, null
br i1 %12, label %20, label %13
13: ; preds = %4
store i32 %2, ptr %5, align 8, !tbaa !15
%14 = getelementptr inbounds i8, ptr %8, i64 16
%15 = load i32, ptr %14, align 8, !tbaa !18
%16 = getelementptr inbounds i8, ptr %5, i64 16
store i32 %15, ptr %16, align 8, !tbaa !19
%17 = getelementptr inbounds i8, ptr %5, i64 8
store ptr %8, ptr %17, align 8, !tbaa !20
%18 = load i32, ptr %8, align 8, !tbaa !21
%19 = call i32 %11(ptr noundef nonnull %5, i32 noundef %18) #3
br label %20
20: ; preds = %13, %4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #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 @DP_NOTICE(ptr 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, !8, i64 8}
!7 = !{!"qedr_iw_ep", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !8, i64 8}
!13 = !{!"ib_qp", !14, i64 0, !8, i64 8, !14, i64 16}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"ib_event", !14, i64 0, !17, i64 8, !14, i64 16}
!17 = !{!"TYPE_3__", !8, i64 0}
!18 = !{!13, !14, i64 16}
!19 = !{!16, !14, i64 16}
!20 = !{!16, !8, i64 8}
!21 = !{!13, !14, i64 0}
| linux_drivers_infiniband_hw_qedr_extr_qedr_iw_cm.c_qedr_iw_qp_event |
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_smp_64.c_smp_flush_tlb_page.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_smp_64.c_smp_flush_tlb_page.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.mm_struct = type { i32, i32 }
@current = dso_local local_unnamed_addr global ptr null, align 8
@xcall_flush_tlb_page = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @smp_flush_tlb_page(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.mm_struct, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i64 @CTX_HWBITS(i32 noundef %4) #2
%6 = tail call i32 (...) @get_cpu() #2
%7 = load ptr, ptr @current, align 8, !tbaa !10
%8 = load ptr, ptr %7, align 8, !tbaa !12
%9 = icmp eq ptr %8, %0
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = tail call i32 @atomic_read(ptr noundef nonnull %0) #2
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = tail call i32 @mm_cpumask(ptr noundef nonnull %0) #2
%15 = tail call i32 @cpumask_of(i32 noundef %6) #2
%16 = tail call i32 @cpumask_copy(i32 noundef %14, i32 noundef %15) #2
br label %20
17: ; preds = %10, %2
%18 = tail call i32 @mm_cpumask(ptr noundef nonnull %0) #2
%19 = tail call i32 @smp_cross_call_masked(ptr noundef nonnull @xcall_flush_tlb_page, i64 noundef %5, i64 noundef %1, i32 noundef 0, i32 noundef %18) #2
br label %20
20: ; preds = %17, %13
%21 = tail call i32 @__flush_tlb_page(i64 noundef %5, i64 noundef %1) #2
%22 = tail call i32 (...) @put_cpu() #2
ret void
}
declare i64 @CTX_HWBITS(i32 noundef) local_unnamed_addr #1
declare i32 @get_cpu(...) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @cpumask_copy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mm_cpumask(ptr noundef) local_unnamed_addr #1
declare i32 @cpumask_of(i32 noundef) local_unnamed_addr #1
declare i32 @smp_cross_call_masked(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__flush_tlb_page(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @put_cpu(...) 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 4}
!6 = !{!"mm_struct", !7, i64 0, !7, i64 4}
!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}
| ; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_smp_64.c_smp_flush_tlb_page.c'
source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_smp_64.c_smp_flush_tlb_page.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
@xcall_flush_tlb_page = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @smp_flush_tlb_page(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i64 @CTX_HWBITS(i32 noundef %4) #2
%6 = tail call i32 @get_cpu() #2
%7 = load ptr, ptr @current, align 8, !tbaa !11
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = icmp eq ptr %8, %0
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = tail call i32 @atomic_read(ptr noundef nonnull %0) #2
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = tail call i32 @mm_cpumask(ptr noundef nonnull %0) #2
%15 = tail call i32 @cpumask_of(i32 noundef %6) #2
%16 = tail call i32 @cpumask_copy(i32 noundef %14, i32 noundef %15) #2
br label %20
17: ; preds = %10, %2
%18 = tail call i32 @mm_cpumask(ptr noundef nonnull %0) #2
%19 = tail call i32 @smp_cross_call_masked(ptr noundef nonnull @xcall_flush_tlb_page, i64 noundef %5, i64 noundef %1, i32 noundef 0, i32 noundef %18) #2
br label %20
20: ; preds = %17, %13
%21 = tail call i32 @__flush_tlb_page(i64 noundef %5, i64 noundef %1) #2
%22 = tail call i32 @put_cpu() #2
ret void
}
declare i64 @CTX_HWBITS(i32 noundef) local_unnamed_addr #1
declare i32 @get_cpu(...) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @cpumask_copy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mm_cpumask(ptr noundef) local_unnamed_addr #1
declare i32 @cpumask_of(i32 noundef) local_unnamed_addr #1
declare i32 @smp_cross_call_masked(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__flush_tlb_page(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @put_cpu(...) 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 4}
!7 = !{!"mm_struct", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
| linux_arch_sparc_kernel_extr_smp_64.c_smp_flush_tlb_page |
; ModuleID = 'AnghaBench/esp-idf/components/fatfs/test/extr_test_fatfs_common.c_test_fatfs_read_file.c'
source_filename = "AnghaBench/esp-idf/components/fatfs/test/extr_test_fatfs_common.c_test_fatfs_read_file.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 [2 x i8] c"r\00", align 1
@fatfs_test_hello_str = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @test_fatfs_read_file(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca [32 x i8], align 16
%3 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str)
%4 = tail call i32 @TEST_ASSERT_NOT_NULL(ptr noundef %3) #5
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, i8 0, i64 32, i1 false)
%5 = call i32 @fread(ptr noundef nonnull %2, i32 noundef 1, i32 noundef 32, ptr noundef %3) #5
%6 = load i32, ptr @fatfs_test_hello_str, align 4, !tbaa !5
%7 = call i32 @strlen(i32 noundef %6) #5
%8 = call i32 @TEST_ASSERT_EQUAL(i32 noundef %7, i32 noundef %5) #5
%9 = load i32, ptr @fatfs_test_hello_str, align 4, !tbaa !5
%10 = call i32 @strcmp(i32 noundef %9, ptr noundef nonnull %2) #5
%11 = call i32 @TEST_ASSERT_EQUAL(i32 noundef 0, i32 noundef %10) #5
%12 = call i32 @fclose(ptr noundef %3)
%13 = call i32 @TEST_ASSERT_EQUAL(i32 noundef 0, i32 noundef %12) #5
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #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
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @TEST_ASSERT_NOT_NULL(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @TEST_ASSERT_EQUAL(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @strlen(i32 noundef) local_unnamed_addr #3
declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/esp-idf/components/fatfs/test/extr_test_fatfs_common.c_test_fatfs_read_file.c'
source_filename = "AnghaBench/esp-idf/components/fatfs/test/extr_test_fatfs_common.c_test_fatfs_read_file.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 [2 x i8] c"r\00", align 1
@fatfs_test_hello_str = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_fatfs_read_file(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca [32 x i8], align 1
%3 = tail call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str)
%4 = tail call i32 @TEST_ASSERT_NOT_NULL(ptr noundef %3) #5
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %2, i8 0, i64 32, i1 false)
%5 = call i32 @fread(ptr noundef nonnull %2, i32 noundef 1, i32 noundef 32, ptr noundef %3) #5
%6 = load i32, ptr @fatfs_test_hello_str, align 4, !tbaa !6
%7 = call i32 @strlen(i32 noundef %6) #5
%8 = call i32 @TEST_ASSERT_EQUAL(i32 noundef %7, i32 noundef %5) #5
%9 = load i32, ptr @fatfs_test_hello_str, align 4, !tbaa !6
%10 = call i32 @strcmp(i32 noundef %9, ptr noundef nonnull %2) #5
%11 = call i32 @TEST_ASSERT_EQUAL(i32 noundef 0, i32 noundef %10) #5
%12 = call i32 @fclose(ptr noundef %3)
%13 = call i32 @TEST_ASSERT_EQUAL(i32 noundef 0, i32 noundef %12) #5
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #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
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
declare i32 @TEST_ASSERT_NOT_NULL(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @TEST_ASSERT_EQUAL(i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @strlen(i32 noundef) local_unnamed_addr #3
declare i32 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture 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 = { 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 = { "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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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"}
| esp-idf_components_fatfs_test_extr_test_fatfs_common.c_test_fatfs_read_file |
; ModuleID = 'AnghaBench/netdata/health/extr_..daemon..libnetdatainlined.h_read_file.c'
source_filename = "AnghaBench/netdata/health/extr_..daemon..libnetdatainlined.h_read_file.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"
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_file], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @read_file(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = icmp eq i64 %2, 0
%5 = zext i1 %4 to i32
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %28
8: ; preds = %3
%9 = load i32, ptr @O_RDONLY, align 4, !tbaa !5
%10 = tail call i32 @open(ptr noundef %0, i32 noundef %9, i32 noundef 438) #2
%11 = icmp eq i32 %10, -1
%12 = zext i1 %11 to i32
%13 = tail call i64 @unlikely(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %8
store i8 0, ptr %1, align 1, !tbaa !9
br label %28
16: ; preds = %8
%17 = tail call i32 @read(i32 noundef %10, ptr noundef %1, i64 noundef %2) #2
%18 = icmp eq i32 %17, -1
%19 = zext i1 %18 to i32
%20 = tail call i64 @unlikely(i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %16
store i8 0, ptr %1, align 1, !tbaa !9
%23 = tail call i32 @close(i32 noundef %10) #2
br label %28
24: ; preds = %16
%25 = sext i32 %17 to i64
%26 = getelementptr inbounds i8, ptr %1, i64 %25
store i8 0, ptr %26, align 1, !tbaa !9
%27 = tail call i32 @close(i32 noundef %10) #2
br label %28
28: ; preds = %15, %24, %22, %3
%29 = phi i32 [ 3, %3 ], [ 1, %15 ], [ 2, %22 ], [ 0, %24 ]
ret i32 %29
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @close(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/netdata/health/extr_..daemon..libnetdatainlined.h_read_file.c'
source_filename = "AnghaBench/netdata/health/extr_..daemon..libnetdatainlined.h_read_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_file], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 4) i32 @read_file(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = icmp eq i64 %2, 0
%5 = zext i1 %4 to i32
%6 = tail call i64 @unlikely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %28
8: ; preds = %3
%9 = load i32, ptr @O_RDONLY, align 4, !tbaa !6
%10 = tail call i32 @open(ptr noundef %0, i32 noundef %9, i32 noundef 438) #2
%11 = icmp eq i32 %10, -1
%12 = zext i1 %11 to i32
%13 = tail call i64 @unlikely(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %8
store i8 0, ptr %1, align 1, !tbaa !10
br label %28
16: ; preds = %8
%17 = tail call i32 @read(i32 noundef %10, ptr noundef %1, i64 noundef %2) #2
%18 = icmp eq i32 %17, -1
%19 = zext i1 %18 to i32
%20 = tail call i64 @unlikely(i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %16
store i8 0, ptr %1, align 1, !tbaa !10
%23 = tail call i32 @close(i32 noundef %10) #2
br label %28
24: ; preds = %16
%25 = sext i32 %17 to i64
%26 = getelementptr inbounds i8, ptr %1, i64 %25
store i8 0, ptr %26, align 1, !tbaa !10
%27 = tail call i32 @close(i32 noundef %10) #2
br label %28
28: ; preds = %15, %24, %22, %3
%29 = phi i32 [ 3, %3 ], [ 1, %15 ], [ 2, %22 ], [ 0, %24 ]
ret i32 %29
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @close(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
| netdata_health_extr_..daemon..libnetdatainlined.h_read_file |
; ModuleID = 'AnghaBench/Cinder/src/cinder/app/android/extr_android_native_app_glue.c_android_app_destroy.c'
source_filename = "AnghaBench/Cinder/src/cinder/app/android/extr_android_native_app_glue.c_android_app_destroy.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.android_app = type { i32, i32, i32, i32, ptr }
@.str = private unnamed_addr constant [21 x i8] c"android_app_destroy!\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @android_app_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @android_app_destroy(ptr noundef %0) #0 {
%2 = tail call i32 @LOGV(ptr noundef nonnull @.str) #2
%3 = tail call i32 @free_saved_state(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.android_app, ptr %0, i64 0, i32 1
%5 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds %struct.android_app, ptr %0, i64 0, i32 4
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @AInputQueue_detachLooper(ptr noundef nonnull %7) #2
br label %11
11: ; preds = %9, %1
%12 = getelementptr inbounds %struct.android_app, ptr %0, i64 0, i32 3
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = tail call i32 @AConfiguration_delete(i32 noundef %13) #2
store i32 1, ptr %0, align 8, !tbaa !12
%15 = getelementptr inbounds %struct.android_app, ptr %0, i64 0, i32 2
%16 = tail call i32 @pthread_cond_broadcast(ptr noundef nonnull %15) #2
%17 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %4) #2
ret void
}
declare i32 @LOGV(ptr noundef) local_unnamed_addr #1
declare i32 @free_saved_state(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @AInputQueue_detachLooper(ptr noundef) local_unnamed_addr #1
declare i32 @AConfiguration_delete(i32 noundef) local_unnamed_addr #1
declare i32 @pthread_cond_broadcast(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_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, !10, i64 16}
!6 = !{!"android_app", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !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, !7, i64 12}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/Cinder/src/cinder/app/android/extr_android_native_app_glue.c_android_app_destroy.c'
source_filename = "AnghaBench/Cinder/src/cinder/app/android/extr_android_native_app_glue.c_android_app_destroy.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"android_app_destroy!\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @android_app_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @android_app_destroy(ptr noundef %0) #0 {
%2 = tail call i32 @LOGV(ptr noundef nonnull @.str) #2
%3 = tail call i32 @free_saved_state(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = tail call i32 @AInputQueue_detachLooper(ptr noundef nonnull %7) #2
br label %11
11: ; preds = %9, %1
%12 = getelementptr inbounds i8, ptr %0, i64 12
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = tail call i32 @AConfiguration_delete(i32 noundef %13) #2
store i32 1, ptr %0, align 8, !tbaa !13
%15 = getelementptr inbounds i8, ptr %0, i64 8
%16 = tail call i32 @pthread_cond_broadcast(ptr noundef nonnull %15) #2
%17 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %4) #2
ret void
}
declare i32 @LOGV(ptr noundef) local_unnamed_addr #1
declare i32 @free_saved_state(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @AInputQueue_detachLooper(ptr noundef) local_unnamed_addr #1
declare i32 @AConfiguration_delete(i32 noundef) local_unnamed_addr #1
declare i32 @pthread_cond_broadcast(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_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, !11, i64 16}
!7 = !{!"android_app", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !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, !8, i64 12}
!13 = !{!7, !8, i64 0}
| Cinder_src_cinder_app_android_extr_android_native_app_glue.c_android_app_destroy |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/percent/canoe/extr_canoe.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/percent/canoe/extr_canoe.c_matrix_scan_kb.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 @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 (...) @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) 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/qmk_firmware/keyboards/percent/canoe/extr_canoe.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/percent/canoe/extr_canoe.c_matrix_scan_kb.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 @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) 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)"}
| qmk_firmware_keyboards_percent_canoe_extr_canoe.c_matrix_scan_kb |
; ModuleID = 'AnghaBench/obs-studio/plugins/rtmp-services/extr_twitch.c_twitch_ingest_update.c'
source_filename = "AnghaBench/obs-studio/plugins/rtmp-services/extr_twitch.c_twitch_ingest_update.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"
@mutex = dso_local global i32 0, align 4
@ingests_refreshed = dso_local global i32 0, align 4
@ingests_loaded = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @twitch_ingest_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @twitch_ingest_update(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @mutex) #2
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @load_ingests(ptr noundef %5, i32 noundef 1) #2
%7 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @mutex) #2
%8 = icmp eq i32 %6, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = tail call i32 @os_atomic_set_bool(ptr noundef nonnull @ingests_refreshed, i32 noundef 1) #2
%11 = tail call i32 @os_atomic_set_bool(ptr noundef nonnull @ingests_loaded, i32 noundef 1) #2
br label %12
12: ; preds = %9, %2
%13 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2
ret i32 1
}
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @load_ingests(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @os_atomic_set_bool(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UNUSED_PARAMETER(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, !8, i64 0}
!6 = !{!"file_download_data", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/obs-studio/plugins/rtmp-services/extr_twitch.c_twitch_ingest_update.c'
source_filename = "AnghaBench/obs-studio/plugins/rtmp-services/extr_twitch.c_twitch_ingest_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mutex = common global i32 0, align 4
@ingests_refreshed = common global i32 0, align 4
@ingests_loaded = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @twitch_ingest_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @twitch_ingest_update(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @mutex) #2
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = tail call i32 @load_ingests(ptr noundef %5, i32 noundef 1) #2
%7 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @mutex) #2
%8 = icmp eq i32 %6, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = tail call i32 @os_atomic_set_bool(ptr noundef nonnull @ingests_refreshed, i32 noundef 1) #2
%11 = tail call i32 @os_atomic_set_bool(ptr noundef nonnull @ingests_loaded, i32 noundef 1) #2
br label %12
12: ; preds = %9, %2
%13 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2
ret i32 1
}
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @load_ingests(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @os_atomic_set_bool(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UNUSED_PARAMETER(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, !9, i64 0}
!7 = !{!"file_download_data", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| obs-studio_plugins_rtmp-services_extr_twitch.c_twitch_ingest_update |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-video.c_vidioc_s_fmt_vid_cap.c'
source_filename = "AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-video.c_vidioc_s_fmt_vid_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.cx8800_dev = type { i32, i32, i32, ptr }
%struct.cx88_core = type { i32, i32, i32, ptr }
%struct.TYPE_5__ = type { i32, i32, i32, i32 }
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vidioc_s_fmt_vid_cap], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vidioc_s_fmt_vid_cap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @video_drvdata(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.cx8800_dev, ptr %4, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @vidioc_try_fmt_vid_cap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %38
9: ; preds = %3
%10 = getelementptr inbounds %struct.cx8800_dev, ptr %4, i64 0, i32 2
%11 = tail call i64 @vb2_is_busy(ptr noundef nonnull %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = getelementptr inbounds %struct.cx8800_dev, ptr %4, i64 0, i32 1
%15 = tail call i64 @vb2_is_busy(ptr noundef nonnull %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %13, %9
%18 = load i32, ptr @EBUSY, align 4, !tbaa !11
%19 = sub nsw i32 0, %18
br label %38
20: ; preds = %13
%21 = getelementptr inbounds %struct.cx88_core, ptr %6, i64 0, i32 3
%22 = load ptr, ptr %21, align 8, !tbaa !12
%23 = icmp eq ptr %22, null
br i1 %23, label %30, label %24
24: ; preds = %20
%25 = tail call i64 @vb2_is_busy(ptr noundef nonnull %22) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %24
%28 = load i32, ptr @EBUSY, align 4, !tbaa !11
%29 = sub nsw i32 0, %28
br label %38
30: ; preds = %24, %20
%31 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 3
%32 = load i32, ptr %31, align 4, !tbaa !14
%33 = tail call i32 @format_by_fourcc(i32 noundef %32) #2
store i32 %33, ptr %4, align 8, !tbaa !18
%34 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 2
%35 = load i32, ptr %34, align 4, !tbaa !19
%36 = getelementptr inbounds %struct.cx88_core, ptr %6, i64 0, i32 2
store i32 %35, ptr %36, align 8, !tbaa !20
%37 = load <2 x i32>, ptr %2, align 4, !tbaa !11
store <2 x i32> %37, ptr %6, align 8, !tbaa !11
br label %38
38: ; preds = %3, %30, %27, %17
%39 = phi i32 [ %19, %17 ], [ %29, %27 ], [ 0, %30 ], [ %7, %3 ]
ret i32 %39
}
declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @vidioc_try_fmt_vid_cap(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @vb2_is_busy(ptr noundef) local_unnamed_addr #1
declare i32 @format_by_fourcc(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 16}
!6 = !{!"cx8800_dev", !7, i64 0, !7, i64 4, !7, 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 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 16}
!13 = !{!"cx88_core", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!14 = !{!15, !7, i64 12}
!15 = !{!"v4l2_format", !16, i64 0}
!16 = !{!"TYPE_6__", !17, i64 0}
!17 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!18 = !{!6, !7, i64 0}
!19 = !{!15, !7, i64 8}
!20 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-video.c_vidioc_s_fmt_vid_cap.c'
source_filename = "AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-video.c_vidioc_s_fmt_vid_cap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vidioc_s_fmt_vid_cap], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vidioc_s_fmt_vid_cap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @video_drvdata(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %4, i64 16
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @vidioc_try_fmt_vid_cap(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %38
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %4, i64 8
%11 = tail call i64 @vb2_is_busy(ptr noundef nonnull %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %4, i64 4
%15 = tail call i64 @vb2_is_busy(ptr noundef nonnull %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %20, label %17
17: ; preds = %13, %9
%18 = load i32, ptr @EBUSY, align 4, !tbaa !12
%19 = sub nsw i32 0, %18
br label %38
20: ; preds = %13
%21 = getelementptr inbounds i8, ptr %6, i64 16
%22 = load ptr, ptr %21, align 8, !tbaa !13
%23 = icmp eq ptr %22, null
br i1 %23, label %30, label %24
24: ; preds = %20
%25 = tail call i64 @vb2_is_busy(ptr noundef nonnull %22) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %24
%28 = load i32, ptr @EBUSY, align 4, !tbaa !12
%29 = sub nsw i32 0, %28
br label %38
30: ; preds = %24, %20
%31 = getelementptr inbounds i8, ptr %2, i64 12
%32 = load i32, ptr %31, align 4, !tbaa !15
%33 = tail call i32 @format_by_fourcc(i32 noundef %32) #2
store i32 %33, ptr %4, align 8, !tbaa !19
%34 = getelementptr inbounds i8, ptr %2, i64 8
%35 = load i32, ptr %34, align 4, !tbaa !20
%36 = getelementptr inbounds i8, ptr %6, i64 8
store i32 %35, ptr %36, align 8, !tbaa !21
%37 = load <2 x i32>, ptr %2, align 4, !tbaa !12
store <2 x i32> %37, ptr %6, align 8, !tbaa !12
br label %38
38: ; preds = %3, %30, %27, %17
%39 = phi i32 [ %19, %17 ], [ %29, %27 ], [ 0, %30 ], [ %7, %3 ]
ret i32 %39
}
declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @vidioc_try_fmt_vid_cap(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @vb2_is_busy(ptr noundef) local_unnamed_addr #1
declare i32 @format_by_fourcc(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 16}
!7 = !{!"cx8800_dev", !8, i64 0, !8, i64 4, !8, 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 = !{!8, !8, i64 0}
!13 = !{!14, !11, i64 16}
!14 = !{!"cx88_core", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!15 = !{!16, !8, i64 12}
!16 = !{!"v4l2_format", !17, i64 0}
!17 = !{!"TYPE_6__", !18, i64 0}
!18 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!19 = !{!7, !8, i64 0}
!20 = !{!16, !8, i64 8}
!21 = !{!14, !8, i64 8}
| linux_drivers_media_pci_cx88_extr_cx88-video.c_vidioc_s_fmt_vid_cap |
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/device/extr_controller.c_supports_simple_pairing.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/device/extr_controller.c_supports_simple_pairing.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 }
@controller_param = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @supports_simple_pairing], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @supports_simple_pairing() #0 {
%1 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @controller_param, i64 0, i32 1), align 4, !tbaa !5
%2 = tail call i32 @assert(i32 noundef %1) #2
%3 = load i32, ptr @controller_param, align 4, !tbaa !10
ret i32 %3
}
declare i32 @assert(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 4}
!6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/device/extr_controller.c_supports_simple_pairing.c'
source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/device/extr_controller.c_supports_simple_pairing.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 { i32, i32 }
@controller_param = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @supports_simple_pairing], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @supports_simple_pairing() #0 {
%1 = load i32, ptr getelementptr inbounds (i8, ptr @controller_param, i64 4), align 4, !tbaa !6
%2 = tail call i32 @assert(i32 noundef %1) #2
%3 = load i32, ptr @controller_param, align 4, !tbaa !11
ret i32 %3
}
declare i32 @assert(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 4}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
| esp-idf_components_bt_host_bluedroid_device_extr_controller.c_supports_simple_pairing |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/usb/extr_hso.c_hso_rfkill_set_block.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/usb/extr_hso.c_hso_rfkill_set_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.hso_device = type { i32, i32, i64 }
@USB_CTRL_SET_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hso_rfkill_set_block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hso_rfkill_set_block(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @mutex_lock(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.hso_device, ptr %0, i64 0, i32 2
%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 = icmp eq i32 %1, 0
%9 = getelementptr inbounds %struct.hso_device, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = tail call i32 @usb_rcvctrlpipe(i32 noundef %10, i32 noundef 0) #2
%12 = select i1 %8, i32 130, i32 129
%13 = load i32, ptr @USB_CTRL_SET_TIMEOUT, align 4, !tbaa !12
%14 = tail call i32 @usb_control_msg(i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef 64, i32 noundef 0, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %13) #2
br label %15
15: ; preds = %2, %7
%16 = phi i32 [ %14, %7 ], [ 0, %2 ]
%17 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2
ret i32 %16
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @usb_control_msg(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_rcvctrlpipe(i32 noundef, 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, !10, i64 8}
!6 = !{!"hso_device", !7, i64 0, !7, i64 4, !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 = !{!6, !7, i64 4}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/usb/extr_hso.c_hso_rfkill_set_block.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/usb/extr_hso.c_hso_rfkill_set_block.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USB_CTRL_SET_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hso_rfkill_set_block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hso_rfkill_set_block(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @mutex_lock(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 8
%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 = icmp eq i32 %1, 0
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = tail call i32 @usb_rcvctrlpipe(i32 noundef %10, i32 noundef 0) #2
%12 = select i1 %8, i32 130, i32 129
%13 = load i32, ptr @USB_CTRL_SET_TIMEOUT, align 4, !tbaa !13
%14 = tail call i32 @usb_control_msg(i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef 64, i32 noundef 0, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef %13) #2
br label %15
15: ; preds = %2, %7
%16 = phi i32 [ %14, %7 ], [ 0, %2 ]
%17 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2
ret i32 %16
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @usb_control_msg(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_rcvctrlpipe(i32 noundef, 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, !11, i64 8}
!7 = !{!"hso_device", !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 = !{!7, !8, i64 4}
!13 = !{!8, !8, i64 0}
| fastsocket_kernel_drivers_net_usb_extr_hso.c_hso_rfkill_set_block |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe.c_rxe_add.c'
source_filename = "AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe.c_rxe_add.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 i32 @rxe_add(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @rxe_init(ptr noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call i32 @rxe_set_mtu(ptr noundef %0, i32 noundef %1) #2
%8 = tail call i32 @rxe_register_device(ptr noundef %0, ptr noundef %2) #2
br label %9
9: ; preds = %3, %6
%10 = phi i32 [ %8, %6 ], [ %4, %3 ]
ret i32 %10
}
declare i32 @rxe_init(ptr noundef) local_unnamed_addr #1
declare i32 @rxe_set_mtu(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rxe_register_device(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/infiniband/sw/rxe/extr_rxe.c_rxe_add.c'
source_filename = "AnghaBench/linux/drivers/infiniband/sw/rxe/extr_rxe.c_rxe_add.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 i32 @rxe_add(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @rxe_init(ptr noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = tail call i32 @rxe_set_mtu(ptr noundef %0, i32 noundef %1) #2
%8 = tail call i32 @rxe_register_device(ptr noundef %0, ptr noundef %2) #2
br label %9
9: ; preds = %3, %6
%10 = phi i32 [ %8, %6 ], [ %4, %3 ]
ret i32 %10
}
declare i32 @rxe_init(ptr noundef) local_unnamed_addr #1
declare i32 @rxe_set_mtu(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rxe_register_device(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_infiniband_sw_rxe_extr_rxe.c_rxe_add |
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_vdbePmaReaderInit.c'
source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_vdbePmaReaderInit.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 { i64, i64, i64, i64, i64, i64 }
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vdbePmaReaderInit], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vdbePmaReaderInit(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr nocapture noundef %4) #0 {
%6 = alloca i64, align 8
%7 = load i64, ptr %1, align 8, !tbaa !5
%8 = icmp sgt i64 %7, %2
%9 = zext i1 %8 to i32
%10 = tail call i32 @assert(i32 noundef %9) #3
%11 = load i64, ptr %3, align 8, !tbaa !10
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %5
%14 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 1
%15 = load i64, ptr %14, align 8, !tbaa !12
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %13, %5
%19 = phi i32 [ 0, %5 ], [ %17, %13 ]
%20 = tail call i32 @assert(i32 noundef %19) #3
%21 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 2
%22 = load i64, ptr %21, align 8, !tbaa !13
%23 = icmp eq i64 %22, 0
%24 = zext i1 %23 to i32
%25 = tail call i32 @assert(i32 noundef %24) #3
%26 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 3
%27 = load i64, ptr %26, align 8, !tbaa !14
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = tail call i32 @assert(i32 noundef %29) #3
%31 = tail call i32 @vdbePmaReaderSeek(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %1, i64 noundef %2) #3
%32 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %44
34: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i64 0, ptr %6, align 8, !tbaa !17
%35 = call i32 @vdbePmaReadVarint(ptr noundef nonnull %3, ptr noundef nonnull %6) #3
%36 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 4
%37 = load i64, ptr %36, align 8, !tbaa !18
%38 = load i64, ptr %6, align 8, !tbaa !17
%39 = add nsw i64 %38, %37
%40 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 5
store i64 %39, ptr %40, align 8, !tbaa !19
%41 = load i64, ptr %4, align 8, !tbaa !17
%42 = add nsw i64 %41, %38
store i64 %42, ptr %4, align 8, !tbaa !17
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
%43 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15
br label %44
44: ; preds = %34, %18
%45 = phi i32 [ %43, %34 ], [ %32, %18 ]
%46 = phi i32 [ %35, %34 ], [ %31, %18 ]
%47 = icmp eq i32 %46, %45
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @vdbePmaReaderNext(ptr noundef nonnull %3) #3
br label %50
50: ; preds = %48, %44
%51 = phi i32 [ %49, %48 ], [ %46, %44 ]
ret i32 %51
}
; 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 @vdbePmaReaderSeek(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @vdbePmaReadVarint(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
declare i32 @vdbePmaReaderNext(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, !7, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_10__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 16}
!14 = !{!11, !7, i64 24}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!11, !7, i64 32}
!19 = !{!11, !7, i64 40}
| ; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_vdbePmaReaderInit.c'
source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_vdbePmaReaderInit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vdbePmaReaderInit], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vdbePmaReaderInit(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr nocapture noundef %4) #0 {
%6 = alloca i64, align 8
%7 = load i64, ptr %1, align 8, !tbaa !6
%8 = icmp sgt i64 %7, %2
%9 = zext i1 %8 to i32
%10 = tail call i32 @assert(i32 noundef %9) #3
%11 = load i64, ptr %3, align 8, !tbaa !11
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %5
%14 = getelementptr inbounds i8, ptr %3, i64 8
%15 = load i64, ptr %14, align 8, !tbaa !13
%16 = icmp eq i64 %15, 0
%17 = zext i1 %16 to i32
br label %18
18: ; preds = %13, %5
%19 = phi i32 [ 0, %5 ], [ %17, %13 ]
%20 = tail call i32 @assert(i32 noundef %19) #3
%21 = getelementptr inbounds i8, ptr %3, i64 16
%22 = load i64, ptr %21, align 8, !tbaa !14
%23 = icmp eq i64 %22, 0
%24 = zext i1 %23 to i32
%25 = tail call i32 @assert(i32 noundef %24) #3
%26 = getelementptr inbounds i8, ptr %3, i64 24
%27 = load i64, ptr %26, align 8, !tbaa !15
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = tail call i32 @assert(i32 noundef %29) #3
%31 = tail call i32 @vdbePmaReaderSeek(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %1, i64 noundef %2) #3
%32 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %44
34: ; preds = %18
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i64 0, ptr %6, align 8, !tbaa !18
%35 = call i32 @vdbePmaReadVarint(ptr noundef nonnull %3, ptr noundef nonnull %6) #3
%36 = getelementptr inbounds i8, ptr %3, i64 32
%37 = load i64, ptr %36, align 8, !tbaa !19
%38 = load i64, ptr %6, align 8, !tbaa !18
%39 = add nsw i64 %38, %37
%40 = getelementptr inbounds i8, ptr %3, i64 40
store i64 %39, ptr %40, align 8, !tbaa !20
%41 = load i64, ptr %4, align 8, !tbaa !18
%42 = add nsw i64 %41, %38
store i64 %42, ptr %4, align 8, !tbaa !18
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
%43 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16
br label %44
44: ; preds = %34, %18
%45 = phi i32 [ %43, %34 ], [ %32, %18 ]
%46 = phi i32 [ %35, %34 ], [ %31, %18 ]
%47 = icmp eq i32 %46, %45
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @vdbePmaReaderNext(ptr noundef nonnull %3) #3
br label %50
50: ; preds = %48, %44
%51 = phi i32 [ %49, %48 ], [ %46, %44 ]
ret i32 %51
}
; 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 @vdbePmaReaderSeek(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @vdbePmaReadVarint(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
declare i32 @vdbePmaReaderNext(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, !8, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_10__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40}
!13 = !{!12, !8, i64 8}
!14 = !{!12, !8, i64 16}
!15 = !{!12, !8, i64 24}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !9, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!12, !8, i64 32}
!20 = !{!12, !8, i64 40}
| poco_Data_SQLite_src_extr_sqlite3.c_vdbePmaReaderInit |
; ModuleID = 'AnghaBench/qmk_firmware/users/kuatsure/extr_kuatsure.c_tmux_pane_zoom.c'
source_filename = "AnghaBench/qmk_firmware/users/kuatsure/extr_kuatsure.c_tmux_pane_zoom.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 [2 x i8] c"z\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @tmux_pane_zoom() local_unnamed_addr #0 {
%1 = tail call i32 (...) @tmux_prefix() #2
%2 = tail call i32 @SEND_STRING(ptr noundef nonnull @.str) #2
ret void
}
declare i32 @tmux_prefix(...) local_unnamed_addr #1
declare i32 @SEND_STRING(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/qmk_firmware/users/kuatsure/extr_kuatsure.c_tmux_pane_zoom.c'
source_filename = "AnghaBench/qmk_firmware/users/kuatsure/extr_kuatsure.c_tmux_pane_zoom.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 [2 x i8] c"z\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @tmux_pane_zoom() local_unnamed_addr #0 {
%1 = tail call i32 @tmux_prefix() #2
%2 = tail call i32 @SEND_STRING(ptr noundef nonnull @.str) #2
ret void
}
declare i32 @tmux_prefix(...) local_unnamed_addr #1
declare i32 @SEND_STRING(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)"}
| qmk_firmware_users_kuatsure_extr_kuatsure.c_tmux_pane_zoom |
; ModuleID = 'AnghaBench/freebsd/contrib/file/src/extr_getline.c_getdelim.c'
source_filename = "AnghaBench/freebsd/contrib/file/src/extr_getline.c_getdelim.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"
@BUFSIZ = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @getdelim(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i64, ptr %1, align 8, !tbaa !9
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7, %4
%11 = load i64, ptr @BUFSIZ, align 8, !tbaa !9
store i64 %11, ptr %1, align 8, !tbaa !9
%12 = tail call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %0, align 8, !tbaa !5
%13 = icmp eq ptr %12, null
br i1 %13, label %63, label %14
14: ; preds = %10, %7
%15 = phi i64 [ %11, %10 ], [ %8, %7 ]
%16 = phi ptr [ %12, %10 ], [ %5, %7 ]
%17 = getelementptr inbounds i8, ptr %16, i64 %15
br label %18
18: ; preds = %55, %14
%19 = phi ptr [ %59, %55 ], [ %17, %14 ]
%20 = phi ptr [ %62, %55 ], [ %16, %14 ]
br label %21
21: ; preds = %18, %46
%22 = phi ptr [ %38, %46 ], [ %20, %18 ]
%23 = tail call i32 @fgetc(ptr noundef %3)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %36
25: ; preds = %21
%26 = tail call i64 @feof(ptr noundef %3) #5
%27 = icmp eq i64 %26, 0
br i1 %27, label %63, label %28
28: ; preds = %25
%29 = load ptr, ptr %0, align 8, !tbaa !5
%30 = ptrtoint ptr %22 to i64
%31 = ptrtoint ptr %29 to i64
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, 0
br i1 %34, label %63, label %35
35: ; preds = %28
store i8 0, ptr %22, align 1, !tbaa !11
br label %63
36: ; preds = %21
%37 = trunc i32 %23 to i8
%38 = getelementptr inbounds i8, ptr %22, i64 1
store i8 %37, ptr %22, align 1, !tbaa !11
%39 = icmp eq i32 %23, %2
br i1 %39, label %40, label %46
40: ; preds = %36
store i8 0, ptr %38, align 1, !tbaa !11
%41 = load ptr, ptr %0, align 8, !tbaa !5
%42 = ptrtoint ptr %38 to i64
%43 = ptrtoint ptr %41 to i64
%44 = sub i64 %42, %43
%45 = trunc i64 %44 to i32
br label %63
46: ; preds = %36
%47 = getelementptr inbounds i8, ptr %22, i64 3
%48 = icmp ult ptr %47, %19
br i1 %48, label %21, label %49
49: ; preds = %46
%50 = load i64, ptr %1, align 8, !tbaa !9
%51 = shl i64 %50, 1
%52 = load ptr, ptr %0, align 8, !tbaa !5
%53 = tail call ptr @realloc(ptr noundef %52, i64 noundef %51)
%54 = icmp eq ptr %53, null
br i1 %54, label %63, label %55
55: ; preds = %49
%56 = ptrtoint ptr %38 to i64
%57 = ptrtoint ptr %52 to i64
%58 = sub i64 %56, %57
store ptr %53, ptr %0, align 8, !tbaa !5
store i64 %51, ptr %1, align 8, !tbaa !9
%59 = getelementptr inbounds i8, ptr %53, i64 %51
%60 = shl i64 %58, 32
%61 = ashr exact i64 %60, 32
%62 = getelementptr inbounds i8, ptr %53, i64 %61
br label %18
63: ; preds = %49, %28, %25, %40, %35, %10
%64 = phi i32 [ -1, %10 ], [ -1, %25 ], [ %45, %40 ], [ %33, %35 ], [ -1, %28 ], [ -1, %49 ]
ret i32 %64
}
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fgetc(ptr nocapture noundef) local_unnamed_addr #2
declare i64 @feof(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!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 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/file/src/extr_getline.c_getdelim.c'
source_filename = "AnghaBench/freebsd/contrib/file/src/extr_getline.c_getdelim.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BUFSIZ = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @getdelim(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i64, ptr %1, align 8, !tbaa !10
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7, %4
%11 = load i64, ptr @BUFSIZ, align 8, !tbaa !10
store i64 %11, ptr %1, align 8, !tbaa !10
%12 = tail call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %0, align 8, !tbaa !6
%13 = icmp eq ptr %12, null
br i1 %13, label %68, label %14
14: ; preds = %10, %7
%15 = phi i64 [ %11, %10 ], [ %8, %7 ]
%16 = phi ptr [ %12, %10 ], [ %5, %7 ]
%17 = tail call i32 @fgetc(ptr noundef %3)
%18 = icmp eq i32 %17, -1
br i1 %18, label %21, label %19
19: ; preds = %14
%20 = getelementptr inbounds i8, ptr %16, i64 %15
br label %33
21: ; preds = %63, %14
%22 = phi ptr [ %16, %14 ], [ %65, %63 ]
%23 = tail call i64 @feof(ptr noundef %3) #5
%24 = icmp eq i64 %23, 0
br i1 %24, label %68, label %25
25: ; preds = %21
%26 = load ptr, ptr %0, align 8, !tbaa !6
%27 = ptrtoint ptr %22 to i64
%28 = ptrtoint ptr %26 to i64
%29 = sub i64 %27, %28
%30 = trunc i64 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label %68, label %32
32: ; preds = %25
store i8 0, ptr %22, align 1, !tbaa !12
br label %68
33: ; preds = %19, %63
%34 = phi i32 [ %66, %63 ], [ %17, %19 ]
%35 = phi ptr [ %65, %63 ], [ %16, %19 ]
%36 = phi ptr [ %64, %63 ], [ %20, %19 ]
%37 = trunc i32 %34 to i8
%38 = getelementptr inbounds i8, ptr %35, i64 1
store i8 %37, ptr %35, align 1, !tbaa !12
%39 = icmp eq i32 %34, %2
br i1 %39, label %40, label %46
40: ; preds = %33
store i8 0, ptr %38, align 1, !tbaa !12
%41 = load ptr, ptr %0, align 8, !tbaa !6
%42 = ptrtoint ptr %38 to i64
%43 = ptrtoint ptr %41 to i64
%44 = sub i64 %42, %43
%45 = trunc i64 %44 to i32
br label %68
46: ; preds = %33
%47 = getelementptr inbounds i8, ptr %35, i64 3
%48 = icmp ult ptr %47, %36
br i1 %48, label %63, label %49
49: ; preds = %46
%50 = load i64, ptr %1, align 8, !tbaa !10
%51 = shl i64 %50, 1
%52 = load ptr, ptr %0, align 8, !tbaa !6
%53 = tail call ptr @realloc(ptr noundef %52, i64 noundef %51)
%54 = icmp eq ptr %53, null
br i1 %54, label %68, label %55
55: ; preds = %49
%56 = ptrtoint ptr %38 to i64
%57 = ptrtoint ptr %52 to i64
%58 = sub i64 %56, %57
store ptr %53, ptr %0, align 8, !tbaa !6
store i64 %51, ptr %1, align 8, !tbaa !10
%59 = getelementptr inbounds i8, ptr %53, i64 %51
%60 = shl i64 %58, 32
%61 = ashr exact i64 %60, 32
%62 = getelementptr inbounds i8, ptr %53, i64 %61
br label %63
63: ; preds = %46, %55
%64 = phi ptr [ %59, %55 ], [ %36, %46 ]
%65 = phi ptr [ %62, %55 ], [ %38, %46 ]
%66 = tail call i32 @fgetc(ptr noundef %3)
%67 = icmp eq i32 %66, -1
br i1 %67, label %21, label %33
68: ; preds = %49, %25, %21, %40, %32, %10
%69 = phi i32 [ -1, %10 ], [ -1, %21 ], [ %45, %40 ], [ %30, %32 ], [ -1, %25 ], [ -1, %49 ]
ret i32 %69
}
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @fgetc(ptr nocapture noundef) local_unnamed_addr #2
declare i64 @feof(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #4
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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { "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 #4 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #5 = { 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 = !{!8, !8, i64 0}
| freebsd_contrib_file_src_extr_getline.c_getdelim |
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx23885/extr_cimax2.c_netup_ci_slot_reset.c'
source_filename = "AnghaBench/linux/drivers/media/pci/cx23885/extr_cimax2.c_netup_ci_slot_reset.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.netup_ci_state = type { i32, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @netup_ci_slot_reset(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 128, ptr %3, align 4, !tbaa !10
%5 = icmp eq i32 %1, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !10
%8 = sub nsw i32 0, %7
br label %24
9: ; preds = %2
%10 = tail call i32 @udelay(i32 noundef 500) #3
%11 = getelementptr inbounds %struct.netup_ci_state, ptr %4, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = getelementptr inbounds %struct.netup_ci_state, ptr %4, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = call i32 @netup_write_i2c(i32 noundef %12, i32 noundef %14, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 1) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %9
%18 = call i32 @udelay(i32 noundef 500) #3
store i32 0, ptr %3, align 4, !tbaa !10
%19 = load i32, ptr %11, align 4, !tbaa !12
%20 = load i32, ptr %13, align 4, !tbaa !14
%21 = call i32 @netup_write_i2c(i32 noundef %19, i32 noundef %20, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 1) #3
%22 = call i32 @msleep(i32 noundef 1000) #3
%23 = call i32 @dvb_ca_en50221_camready_irq(ptr noundef nonnull %4, i32 noundef 0) #3
br label %24
24: ; preds = %9, %17, %6
%25 = phi i32 [ %8, %6 ], [ 0, %17 ], [ %15, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %25
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
declare i32 @netup_write_i2c(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @msleep(i32 noundef) local_unnamed_addr #2
declare i32 @dvb_ca_en50221_camready_irq(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, !7, i64 0}
!6 = !{!"dvb_ca_en50221", !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 8}
!13 = !{!"netup_ci_state", !11, i64 0, !11, i64 4, !11, i64 8}
!14 = !{!13, !11, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx23885/extr_cimax2.c_netup_ci_slot_reset.c'
source_filename = "AnghaBench/linux/drivers/media/pci/cx23885/extr_cimax2.c_netup_ci_slot_reset.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
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @netup_ci_slot_reset(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 128, ptr %3, align 4, !tbaa !11
%5 = icmp eq i32 %1, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %24
9: ; preds = %2
%10 = tail call i32 @udelay(i32 noundef 500) #3
%11 = getelementptr inbounds i8, ptr %4, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = getelementptr inbounds i8, ptr %4, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !15
%15 = call i32 @netup_write_i2c(i32 noundef %12, i32 noundef %14, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 1) #3
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %9
%18 = call i32 @udelay(i32 noundef 500) #3
store i32 0, ptr %3, align 4, !tbaa !11
%19 = load i32, ptr %11, align 4, !tbaa !13
%20 = load i32, ptr %13, align 4, !tbaa !15
%21 = call i32 @netup_write_i2c(i32 noundef %19, i32 noundef %20, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 1) #3
%22 = call i32 @msleep(i32 noundef 1000) #3
%23 = call i32 @dvb_ca_en50221_camready_irq(ptr noundef nonnull %4, i32 noundef 0) #3
br label %24
24: ; preds = %9, %17, %6
%25 = phi i32 [ %8, %6 ], [ 0, %17 ], [ %15, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %25
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #2
declare i32 @netup_write_i2c(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @msleep(i32 noundef) local_unnamed_addr #2
declare i32 @dvb_ca_en50221_camready_irq(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, !8, i64 0}
!7 = !{!"dvb_ca_en50221", !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 8}
!14 = !{!"netup_ci_state", !12, i64 0, !12, i64 4, !12, i64 8}
!15 = !{!14, !12, i64 4}
| linux_drivers_media_pci_cx23885_extr_cimax2.c_netup_ci_slot_reset |
; ModuleID = 'AnghaBench/postgres/src/backend/storage/lmgr/extr_proc.c_BecomeLockGroupLeader.c'
source_filename = "AnghaBench/postgres/src/backend/storage/lmgr/extr_proc.c_BecomeLockGroupLeader.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, ptr }
@MyProc = dso_local local_unnamed_addr global ptr null, align 8
@LW_EXCLUSIVE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @BecomeLockGroupLeader() local_unnamed_addr #0 {
%1 = load ptr, ptr @MyProc, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2
%3 = load ptr, ptr %2, align 8, !tbaa !9
%4 = icmp eq ptr %3, %1
br i1 %4, label %18, label %5
5: ; preds = %0
%6 = icmp eq ptr %3, null
%7 = zext i1 %6 to i32
%8 = tail call i32 @Assert(i32 noundef %7) #2
%9 = load ptr, ptr @MyProc, align 8, !tbaa !5
%10 = tail call ptr @LockHashPartitionLockByProc(ptr noundef %9) #2
%11 = load i32, ptr @LW_EXCLUSIVE, align 4, !tbaa !12
%12 = tail call i32 @LWLockAcquire(ptr noundef %10, i32 noundef %11) #2
%13 = load ptr, ptr @MyProc, align 8, !tbaa !5
%14 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 0, i32 2
store ptr %13, ptr %14, align 8, !tbaa !9
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i64 0, i32 1
%16 = tail call i32 @dlist_push_head(ptr noundef nonnull %15, ptr noundef %13) #2
%17 = tail call i32 @LWLockRelease(ptr noundef %10) #2
br label %18
18: ; preds = %0, %5
ret void
}
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare ptr @LockHashPartitionLockByProc(ptr noundef) local_unnamed_addr #1
declare i32 @LWLockAcquire(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dlist_push_head(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @LWLockRelease(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, !6, i64 8}
!10 = !{!"TYPE_3__", !11, i64 0, !11, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/storage/lmgr/extr_proc.c_BecomeLockGroupLeader.c'
source_filename = "AnghaBench/postgres/src/backend/storage/lmgr/extr_proc.c_BecomeLockGroupLeader.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MyProc = common local_unnamed_addr global ptr null, align 8
@LW_EXCLUSIVE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @BecomeLockGroupLeader() local_unnamed_addr #0 {
%1 = load ptr, ptr @MyProc, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %1, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = icmp eq ptr %3, %1
br i1 %4, label %18, label %5
5: ; preds = %0
%6 = icmp eq ptr %3, null
%7 = zext i1 %6 to i32
%8 = tail call i32 @Assert(i32 noundef %7) #2
%9 = load ptr, ptr @MyProc, align 8, !tbaa !6
%10 = tail call ptr @LockHashPartitionLockByProc(ptr noundef %9) #2
%11 = load i32, ptr @LW_EXCLUSIVE, align 4, !tbaa !13
%12 = tail call i32 @LWLockAcquire(ptr noundef %10, i32 noundef %11) #2
%13 = load ptr, ptr @MyProc, align 8, !tbaa !6
%14 = getelementptr inbounds i8, ptr %13, i64 8
store ptr %13, ptr %14, align 8, !tbaa !10
%15 = getelementptr inbounds i8, ptr %13, i64 4
%16 = tail call i32 @dlist_push_head(ptr noundef nonnull %15, ptr noundef %13) #2
%17 = tail call i32 @LWLockRelease(ptr noundef %10) #2
br label %18
18: ; preds = %0, %5
ret void
}
declare i32 @Assert(i32 noundef) local_unnamed_addr #1
declare ptr @LockHashPartitionLockByProc(ptr noundef) local_unnamed_addr #1
declare i32 @LWLockAcquire(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dlist_push_head(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @LWLockRelease(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, !7, i64 8}
!11 = !{!"TYPE_3__", !12, i64 0, !12, i64 4, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| postgres_src_backend_storage_lmgr_extr_proc.c_BecomeLockGroupLeader |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/extr_rcar_drif.c_rcar_drif_stop_channel.c'
source_filename = "AnghaBench/linux/drivers/media/platform/extr_rcar_drif.c_rcar_drif_stop_channel.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"
@RCAR_DRIF_SIIER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rcar_drif_stop_channel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rcar_drif_stop_channel(ptr noundef %0) #0 {
%2 = load i32, ptr @RCAR_DRIF_SIIER, align 4, !tbaa !5
%3 = tail call i32 @rcar_drif_write(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call i32 @dmaengine_terminate_sync(i32 noundef %4) #2
ret void
}
declare i32 @rcar_drif_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dmaengine_terminate_sync(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 = !{!"rcar_drif", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/extr_rcar_drif.c_rcar_drif_stop_channel.c'
source_filename = "AnghaBench/linux/drivers/media/platform/extr_rcar_drif.c_rcar_drif_stop_channel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RCAR_DRIF_SIIER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rcar_drif_stop_channel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rcar_drif_stop_channel(ptr noundef %0) #0 {
%2 = load i32, ptr @RCAR_DRIF_SIIER, align 4, !tbaa !6
%3 = tail call i32 @rcar_drif_write(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @dmaengine_terminate_sync(i32 noundef %4) #2
ret void
}
declare i32 @rcar_drif_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dmaengine_terminate_sync(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 = !{!"rcar_drif", !7, i64 0}
| linux_drivers_media_platform_extr_rcar_drif.c_rcar_drif_stop_channel |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn23xx_vf_device.c_cn23xx_setup_vf_device_regs.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn23xx_vf_device.c_cn23xx_setup_vf_device_regs.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 @cn23xx_setup_vf_device_regs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @cn23xx_setup_vf_device_regs(ptr noundef %0) #0 {
%2 = tail call i64 @cn23xx_vf_setup_global_input_regs(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @cn23xx_vf_setup_global_output_regs(ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
%7 = phi i32 [ 0, %4 ], [ -1, %1 ]
ret i32 %7
}
declare i64 @cn23xx_vf_setup_global_input_regs(ptr noundef) local_unnamed_addr #1
declare i32 @cn23xx_vf_setup_global_output_regs(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/net/ethernet/cavium/liquidio/extr_cn23xx_vf_device.c_cn23xx_setup_vf_device_regs.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/cavium/liquidio/extr_cn23xx_vf_device.c_cn23xx_setup_vf_device_regs.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 @cn23xx_setup_vf_device_regs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @cn23xx_setup_vf_device_regs(ptr noundef %0) #0 {
%2 = tail call i64 @cn23xx_vf_setup_global_input_regs(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @cn23xx_vf_setup_global_output_regs(ptr noundef %0) #2
br label %6
6: ; preds = %1, %4
%7 = phi i32 [ 0, %4 ], [ -1, %1 ]
ret i32 %7
}
declare i64 @cn23xx_vf_setup_global_input_regs(ptr noundef) local_unnamed_addr #1
declare i32 @cn23xx_vf_setup_global_output_regs(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_net_ethernet_cavium_liquidio_extr_cn23xx_vf_device.c_cn23xx_setup_vf_device_regs |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-input.c_cx88_ir_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-input.c_cx88_ir_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.ir_raw_event = type { i32, i32 }
%struct.cx88_IR = type { ptr, i32 }
@MO_SAMPLE_IO = dso_local local_unnamed_addr global i32 0, align 4
@NSEC_PER_SEC = dso_local local_unnamed_addr global i32 0, align 4
@ir_samplerate = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @cx88_ir_irq(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca %struct.ir_raw_event, align 4
%3 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = icmp eq ptr %3, null
br i1 %4, label %44, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.cx88_IR, ptr %3, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !10
%8 = icmp eq i32 %7, 0
br i1 %8, label %44, label %9
9: ; preds = %5
%10 = load i32, ptr @MO_SAMPLE_IO, align 4, !tbaa !13
%11 = tail call i32 @cx_read(i32 noundef %10) #3
%12 = icmp eq i32 %11, 255
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load ptr, ptr %3, align 8, !tbaa !14
%15 = load i64, ptr %14, align 8, !tbaa !15
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %44
17: ; preds = %13, %9
%18 = call i32 @init_ir_raw_event(ptr noundef nonnull %2) #3
%19 = getelementptr inbounds %struct.ir_raw_event, ptr %2, i64 0, i32 1
br label %20
20: ; preds = %17, %20
%21 = phi i32 [ %11, %17 ], [ %38, %20 ]
%22 = phi i32 [ 32, %17 ], [ %39, %20 ]
%23 = icmp sgt i32 %21, -1
%24 = zext i1 %23 to i32
store i32 %24, ptr %2, align 4, !tbaa !18
%25 = xor i1 %23, true
%26 = sext i1 %25 to i32
%27 = xor i32 %21, %26
%28 = call i64 @fls(i32 noundef %27) #3
%29 = sub nsw i64 32, %28
%30 = call i32 @min(i32 noundef %22, i64 noundef %29) #3
%31 = load i32, ptr @NSEC_PER_SEC, align 4, !tbaa !13
%32 = mul i32 %31, %30
%33 = load i32, ptr @ir_samplerate, align 4, !tbaa !13
%34 = mul nsw i32 %33, 1000
%35 = udiv i32 %32, %34
store i32 %35, ptr %19, align 4, !tbaa !20
%36 = load ptr, ptr %3, align 8, !tbaa !14
%37 = call i32 @ir_raw_event_store_with_filter(ptr noundef %36, ptr noundef nonnull %2) #3
%38 = shl i32 %21, %30
%39 = sub i32 %22, %30
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %20, !llvm.loop !21
41: ; preds = %20
%42 = load ptr, ptr %3, align 8, !tbaa !14
%43 = call i32 @ir_raw_event_handle(ptr noundef %42) #3
br label %44
44: ; preds = %13, %1, %5, %41
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #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 @cx_read(i32 noundef) local_unnamed_addr #2
declare i32 @init_ir_raw_event(ptr noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @fls(i32 noundef) local_unnamed_addr #2
declare i32 @ir_raw_event_store_with_filter(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ir_raw_event_handle(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 = !{!"cx88_core", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"cx88_IR", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_3__", !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"ir_raw_event", !12, i64 0, !12, i64 4}
!20 = !{!19, !12, i64 4}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-input.c_cx88_ir_irq.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx88/extr_cx88-input.c_cx88_ir_irq.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.ir_raw_event = type { i32, i32 }
@MO_SAMPLE_IO = common local_unnamed_addr global i32 0, align 4
@NSEC_PER_SEC = common local_unnamed_addr global i32 0, align 4
@ir_samplerate = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @cx88_ir_irq(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = alloca %struct.ir_raw_event, align 4
%3 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%4 = icmp eq ptr %3, null
br i1 %4, label %44, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = icmp eq i32 %7, 0
br i1 %8, label %44, label %9
9: ; preds = %5
%10 = load i32, ptr @MO_SAMPLE_IO, align 4, !tbaa !14
%11 = tail call i32 @cx_read(i32 noundef %10) #3
%12 = icmp eq i32 %11, 255
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load ptr, ptr %3, align 8, !tbaa !15
%15 = load i64, ptr %14, align 8, !tbaa !16
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %44
17: ; preds = %13, %9
%18 = call i32 @init_ir_raw_event(ptr noundef nonnull %2) #3
%19 = getelementptr inbounds i8, ptr %2, i64 4
br label %20
20: ; preds = %17, %20
%21 = phi i32 [ %11, %17 ], [ %38, %20 ]
%22 = phi i32 [ 32, %17 ], [ %39, %20 ]
%23 = icmp sgt i32 %21, -1
%24 = zext i1 %23 to i32
store i32 %24, ptr %2, align 4, !tbaa !19
%25 = xor i1 %23, true
%26 = sext i1 %25 to i32
%27 = xor i32 %21, %26
%28 = call i64 @fls(i32 noundef %27) #3
%29 = sub nsw i64 32, %28
%30 = call i32 @min(i32 noundef %22, i64 noundef %29) #3
%31 = load i32, ptr @NSEC_PER_SEC, align 4, !tbaa !14
%32 = mul i32 %31, %30
%33 = load i32, ptr @ir_samplerate, align 4, !tbaa !14
%34 = mul nsw i32 %33, 1000
%35 = udiv i32 %32, %34
store i32 %35, ptr %19, align 4, !tbaa !21
%36 = load ptr, ptr %3, align 8, !tbaa !15
%37 = call i32 @ir_raw_event_store_with_filter(ptr noundef %36, ptr noundef nonnull %2) #3
%38 = shl i32 %21, %30
%39 = sub i32 %22, %30
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %20, !llvm.loop !22
41: ; preds = %20
%42 = load ptr, ptr %3, align 8, !tbaa !15
%43 = call i32 @ir_raw_event_handle(ptr noundef %42) #3
br label %44
44: ; preds = %13, %1, %5, %41
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #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 @cx_read(i32 noundef) local_unnamed_addr #2
declare i32 @init_ir_raw_event(ptr noundef) local_unnamed_addr #2
declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i64 @fls(i32 noundef) local_unnamed_addr #2
declare i32 @ir_raw_event_store_with_filter(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ir_raw_event_handle(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 = !{!"cx88_core", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"cx88_IR", !8, i64 0, !13, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_3__", !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"ir_raw_event", !13, i64 0, !13, i64 4}
!21 = !{!20, !13, i64 4}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_media_video_cx88_extr_cx88-input.c_cx88_ir_irq |
; ModuleID = 'AnghaBench/esp-idf/components/app_trace/sys_view/SEGGER/extr_SEGGER_SYSVIEW.c_SEGGER_SYSVIEW_OnTaskTerminate.c'
source_filename = "AnghaBench/esp-idf/components/app_trace/sys_view/SEGGER/extr_SEGGER_SYSVIEW.c_SEGGER_SYSVIEW_OnTaskTerminate.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"
@SEGGER_SYSVIEW_INFO_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@SEGGER_SYSVIEW_QUANTA_U32 = dso_local local_unnamed_addr global i64 0, align 8
@SYSVIEW_EVTID_TASK_TERMINATE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @SEGGER_SYSVIEW_OnTaskTerminate(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @SEGGER_SYSVIEW_INFO_SIZE, align 8, !tbaa !5
%3 = load i64, ptr @SEGGER_SYSVIEW_QUANTA_U32, align 8, !tbaa !5
%4 = add nsw i64 %3, %2
%5 = tail call i32 @RECORD_START(i64 noundef %4) #2
%6 = tail call i32 @SHRINK_ID(i32 noundef %0) #2
%7 = tail call i32 @ENCODE_U32(ptr noundef undef, i32 noundef %6) #2
%8 = load i32, ptr @SYSVIEW_EVTID_TASK_TERMINATE, align 4, !tbaa !9
%9 = tail call i32 @_SendPacket(ptr noundef undef, ptr noundef undef, i32 noundef %8) #2
%10 = tail call i32 (...) @RECORD_END() #2
ret void
}
declare i32 @RECORD_START(i64 noundef) local_unnamed_addr #1
declare i32 @SHRINK_ID(i32 noundef) local_unnamed_addr #1
declare i32 @ENCODE_U32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_SendPacket(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RECORD_END(...) 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/esp-idf/components/app_trace/sys_view/SEGGER/extr_SEGGER_SYSVIEW.c_SEGGER_SYSVIEW_OnTaskTerminate.c'
source_filename = "AnghaBench/esp-idf/components/app_trace/sys_view/SEGGER/extr_SEGGER_SYSVIEW.c_SEGGER_SYSVIEW_OnTaskTerminate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SEGGER_SYSVIEW_INFO_SIZE = common local_unnamed_addr global i64 0, align 8
@SEGGER_SYSVIEW_QUANTA_U32 = common local_unnamed_addr global i64 0, align 8
@SYSVIEW_EVTID_TASK_TERMINATE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @SEGGER_SYSVIEW_OnTaskTerminate(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @SEGGER_SYSVIEW_INFO_SIZE, align 8, !tbaa !6
%3 = load i64, ptr @SEGGER_SYSVIEW_QUANTA_U32, align 8, !tbaa !6
%4 = add nsw i64 %3, %2
%5 = tail call i32 @RECORD_START(i64 noundef %4) #2
%6 = tail call i32 @SHRINK_ID(i32 noundef %0) #2
%7 = tail call i32 @ENCODE_U32(ptr noundef undef, i32 noundef %6) #2
%8 = load i32, ptr @SYSVIEW_EVTID_TASK_TERMINATE, align 4, !tbaa !10
%9 = tail call i32 @_SendPacket(ptr noundef undef, ptr noundef undef, i32 noundef %8) #2
%10 = tail call i32 @RECORD_END() #2
ret void
}
declare i32 @RECORD_START(i64 noundef) local_unnamed_addr #1
declare i32 @SHRINK_ID(i32 noundef) local_unnamed_addr #1
declare i32 @ENCODE_U32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @_SendPacket(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @RECORD_END(...) 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}
| esp-idf_components_app_trace_sys_view_SEGGER_extr_SEGGER_SYSVIEW.c_SEGGER_SYSVIEW_OnTaskTerminate |
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-round-robin.c_rr_create.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-round-robin.c_rr_create.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"
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rr_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rr_create(ptr nocapture noundef writeonly %0, i32 %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr (...) @alloc_selector() #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %10
9: ; preds = %3
store ptr %4, ptr %0, align 8, !tbaa !9
br label %10
10: ; preds = %9, %6
%11 = phi i32 [ 0, %9 ], [ %8, %6 ]
ret i32 %11
}
declare ptr @alloc_selector(...) 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 0}
!10 = !{!"path_selector", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-round-robin.c_rr_create.c'
source_filename = "AnghaBench/linux/drivers/md/extr_dm-round-robin.c_rr_create.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 @rr_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rr_create(ptr nocapture noundef writeonly %0, i32 %1, ptr nocapture readnone %2) #0 {
%4 = tail call ptr @alloc_selector() #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %10
9: ; preds = %3
store ptr %4, ptr %0, align 8, !tbaa !10
br label %10
10: ; preds = %9, %6
%11 = phi i32 [ 0, %9 ], [ %8, %6 ]
ret i32 %11
}
declare ptr @alloc_selector(...) 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 0}
!11 = !{!"path_selector", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| linux_drivers_md_extr_dm-round-robin.c_rr_create |
; ModuleID = 'AnghaBench/radare2/libr/io/p/extr_io_qnx.c___write.c'
source_filename = "AnghaBench/radare2/libr/io/p/extr_io_qnx.c___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"
@desc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__write(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @desc, align 4, !tbaa !5
%6 = icmp eq i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i32, ptr %0, align 4, !tbaa !9
%9 = tail call i32 @debug_qnx_write_at(ptr noundef %2, i32 noundef %3, i32 noundef %8) #2
br label %10
10: ; preds = %4, %7
%11 = phi i32 [ %9, %7 ], [ -1, %4 ]
ret i32 %11
}
declare i32 @debug_qnx_write_at(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, !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 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/radare2/libr/io/p/extr_io_qnx.c___write.c'
source_filename = "AnghaBench/radare2/libr/io/p/extr_io_qnx.c___write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@desc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__write(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @desc, align 4, !tbaa !6
%6 = icmp eq i32 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = tail call i32 @debug_qnx_write_at(ptr noundef %2, i32 noundef %3, i32 noundef %8) #2
br label %10
10: ; preds = %4, %7
%11 = phi i32 [ %9, %7 ], [ -1, %4 ]
ret i32 %11
}
declare i32 @debug_qnx_write_at(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, !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 = !{!"TYPE_3__", !7, i64 0}
| radare2_libr_io_p_extr_io_qnx.c___write |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_FileIO.c_GetDirNameFromFilePath.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_FileIO.c_GetDirNameFromFilePath.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"
@MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\\\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: nounwind uwtable
define dso_local void @GetDirNameFromFilePath(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @MAX_SIZE, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
%7 = icmp eq ptr %0, null
%8 = icmp eq ptr %2, null
%9 = or i1 %7, %8
br i1 %9, label %49, label %10
10: ; preds = %3
%11 = call i32 @StrCpy(ptr noundef nonnull %6, i64 noundef %5, ptr noundef nonnull %2) #2
%12 = call i64 @EndWith(ptr noundef nonnull %6, ptr noundef nonnull @.str) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = call i64 @EndWith(ptr noundef nonnull %6, ptr noundef nonnull @.str.1) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %22, label %17
17: ; preds = %14, %10
%18 = call i32 @StrLen(ptr noundef nonnull %6) #2
%19 = sext i32 %18 to i64
%20 = getelementptr i8, ptr %6, i64 %19
%21 = getelementptr i8, ptr %20, i64 -1
store i8 0, ptr %21, align 1, !tbaa !9
br label %22
22: ; preds = %17, %14
%23 = call i32 @StrLen(ptr noundef nonnull %6) #2
%24 = sext i32 %23 to i64
%25 = call i32 @StrCpy(ptr noundef nonnull %0, i64 noundef %1, ptr noundef nonnull @.str.2) #2
%26 = icmp eq i32 %23, 0
br i1 %26, label %42, label %27
27: ; preds = %22, %38
%28 = phi i64 [ %39, %38 ], [ 0, %22 ]
%29 = phi i64 [ %40, %38 ], [ 0, %22 ]
%30 = getelementptr inbounds i8, ptr %6, i64 %29
%31 = load i8, ptr %30, align 1, !tbaa !9
switch i8 %31, label %35 [
i8 92, label %32
i8 47, label %32
]
32: ; preds = %27, %27
%33 = getelementptr inbounds i8, ptr %6, i64 %28
store i8 0, ptr %33, align 1, !tbaa !9
%34 = call i32 @StrCat(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %6) #2
store i8 %31, ptr %6, align 16, !tbaa !9
br label %38
35: ; preds = %27
%36 = add i64 %28, 1
%37 = getelementptr inbounds i8, ptr %6, i64 %28
store i8 %31, ptr %37, align 1, !tbaa !9
br label %38
38: ; preds = %35, %32
%39 = phi i64 [ 1, %32 ], [ %36, %35 ]
%40 = add nuw i64 %29, 1
%41 = icmp eq i64 %40, %24
br i1 %41, label %42, label %27, !llvm.loop !10
42: ; preds = %38, %22
%43 = call i32 @StrLen(ptr noundef %0) #2
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 @StrCpy(ptr noundef %0, i64 noundef %1, ptr noundef nonnull @.str.1) #2
br label %47
47: ; preds = %45, %42
%48 = call i32 @NormalizePath(ptr noundef %0, i64 noundef %1, ptr noundef %0) #2
br label %49
49: ; preds = %3, %47
ret void
}
declare i32 @StrCpy(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @EndWith(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @StrLen(ptr noundef) local_unnamed_addr #1
declare i32 @StrCat(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @NormalizePath(ptr noundef, i64 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_FileIO.c_GetDirNameFromFilePath.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_FileIO.c_GetDirNameFromFilePath.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\\\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @GetDirNameFromFilePath(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @MAX_SIZE, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
%7 = icmp eq ptr %0, null
%8 = icmp eq ptr %2, null
%9 = or i1 %7, %8
br i1 %9, label %49, label %10
10: ; preds = %3
%11 = call i32 @StrCpy(ptr noundef nonnull %6, i64 noundef %5, ptr noundef nonnull %2) #2
%12 = call i64 @EndWith(ptr noundef nonnull %6, ptr noundef nonnull @.str) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %10
%15 = call i64 @EndWith(ptr noundef nonnull %6, ptr noundef nonnull @.str.1) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %22, label %17
17: ; preds = %14, %10
%18 = call i32 @StrLen(ptr noundef nonnull %6) #2
%19 = sext i32 %18 to i64
%20 = getelementptr i8, ptr %6, i64 %19
%21 = getelementptr i8, ptr %20, i64 -1
store i8 0, ptr %21, align 1, !tbaa !10
br label %22
22: ; preds = %17, %14
%23 = call i32 @StrLen(ptr noundef nonnull %6) #2
%24 = sext i32 %23 to i64
%25 = call i32 @StrCpy(ptr noundef nonnull %0, i64 noundef %1, ptr noundef nonnull @.str.2) #2
%26 = icmp eq i32 %23, 0
br i1 %26, label %42, label %27
27: ; preds = %22, %38
%28 = phi i64 [ %39, %38 ], [ 0, %22 ]
%29 = phi i64 [ %40, %38 ], [ 0, %22 ]
%30 = getelementptr inbounds i8, ptr %6, i64 %29
%31 = load i8, ptr %30, align 1, !tbaa !10
switch i8 %31, label %35 [
i8 92, label %32
i8 47, label %32
]
32: ; preds = %27, %27
%33 = getelementptr inbounds i8, ptr %6, i64 %28
store i8 0, ptr %33, align 1, !tbaa !10
%34 = call i32 @StrCat(ptr noundef %0, i64 noundef %1, ptr noundef nonnull %6) #2
store i8 %31, ptr %6, align 1, !tbaa !10
br label %38
35: ; preds = %27
%36 = add i64 %28, 1
%37 = getelementptr inbounds i8, ptr %6, i64 %28
store i8 %31, ptr %37, align 1, !tbaa !10
br label %38
38: ; preds = %35, %32
%39 = phi i64 [ 1, %32 ], [ %36, %35 ]
%40 = add nuw i64 %29, 1
%41 = icmp eq i64 %40, %24
br i1 %41, label %42, label %27, !llvm.loop !11
42: ; preds = %38, %22
%43 = call i32 @StrLen(ptr noundef %0) #2
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 @StrCpy(ptr noundef %0, i64 noundef %1, ptr noundef nonnull @.str.1) #2
br label %47
47: ; preds = %45, %42
%48 = call i32 @NormalizePath(ptr noundef %0, i64 noundef %1, ptr noundef %0) #2
br label %49
49: ; preds = %3, %47
ret void
}
declare i32 @StrCpy(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @EndWith(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @StrLen(ptr noundef) local_unnamed_addr #1
declare i32 @StrCat(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @NormalizePath(ptr noundef, i64 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| SoftEtherVPN_src_Mayaqua_extr_FileIO.c_GetDirNameFromFilePath |
; ModuleID = 'AnghaBench/vim.js/src/extr_option.c_didset_options.c'
source_filename = "AnghaBench/vim.js/src/extr_option.c_didset_options.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"
@p_bkc = dso_local local_unnamed_addr global i32 0, align 4
@p_bkc_values = dso_local local_unnamed_addr global i32 0, align 4
@bkc_flags = dso_local global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@p_dy = dso_local local_unnamed_addr global i32 0, align 4
@p_dy_values = dso_local local_unnamed_addr global i32 0, align 4
@dy_flags = dso_local global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@cmp_flags = dso_local local_unnamed_addr global i32 0, align 4
@curwin = dso_local local_unnamed_addr global ptr null, align 8
@fdo_flags = dso_local local_unnamed_addr global i32 0, align 4
@p_cmp = dso_local local_unnamed_addr global i32 0, align 4
@p_cmp_values = dso_local local_unnamed_addr global i32 0, align 4
@p_fdo = dso_local local_unnamed_addr global i32 0, align 4
@p_fdo_values = dso_local local_unnamed_addr global i32 0, align 4
@p_ssop = dso_local local_unnamed_addr global i32 0, align 4
@p_ssop_values = dso_local local_unnamed_addr global i32 0, align 4
@p_tbis = dso_local local_unnamed_addr global i32 0, align 4
@p_tbis_values = dso_local local_unnamed_addr global i32 0, align 4
@p_toolbar = dso_local local_unnamed_addr global i32 0, align 4
@p_toolbar_values = dso_local local_unnamed_addr global i32 0, align 4
@p_ttym = dso_local local_unnamed_addr global i32 0, align 4
@p_ttym_values = dso_local local_unnamed_addr global i32 0, align 4
@p_ve = dso_local local_unnamed_addr global i32 0, align 4
@p_ve_values = dso_local local_unnamed_addr global i32 0, align 4
@p_vop = dso_local local_unnamed_addr global i32 0, align 4
@ssop_flags = dso_local local_unnamed_addr global i32 0, align 4
@tbis_flags = dso_local local_unnamed_addr global i32 0, align 4
@toolbar_flags = dso_local local_unnamed_addr global i32 0, align 4
@ttym_flags = dso_local local_unnamed_addr global i32 0, align 4
@ve_flags = dso_local local_unnamed_addr global i32 0, align 4
@vop_flags = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @didset_options], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @didset_options() #0 {
%1 = tail call i32 (...) @init_chartab() #2
%2 = load i32, ptr @p_bkc, align 4, !tbaa !5
%3 = load i32, ptr @p_bkc_values, align 4, !tbaa !5
%4 = load i32, ptr @TRUE, align 4, !tbaa !5
%5 = tail call i32 @opt_strings_flags(i32 noundef %2, i32 noundef %3, ptr noundef nonnull @bkc_flags, i32 noundef %4) #2
%6 = load i32, ptr @p_dy, align 4, !tbaa !5
%7 = load i32, ptr @p_dy_values, align 4, !tbaa !5
%8 = load i32, ptr @TRUE, align 4, !tbaa !5
%9 = tail call i32 @opt_strings_flags(i32 noundef %6, i32 noundef %7, ptr noundef nonnull @dy_flags, i32 noundef %8) #2
ret void
}
declare i32 @init_chartab(...) local_unnamed_addr #1
declare i32 @opt_strings_flags(i32 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"}
| ; ModuleID = 'AnghaBench/vim.js/src/extr_option.c_didset_options.c'
source_filename = "AnghaBench/vim.js/src/extr_option.c_didset_options.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@p_bkc = common local_unnamed_addr global i32 0, align 4
@p_bkc_values = common local_unnamed_addr global i32 0, align 4
@bkc_flags = common global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@p_dy = common local_unnamed_addr global i32 0, align 4
@p_dy_values = common local_unnamed_addr global i32 0, align 4
@dy_flags = common global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@cmp_flags = common local_unnamed_addr global i32 0, align 4
@curwin = common local_unnamed_addr global ptr null, align 8
@fdo_flags = common local_unnamed_addr global i32 0, align 4
@p_cmp = common local_unnamed_addr global i32 0, align 4
@p_cmp_values = common local_unnamed_addr global i32 0, align 4
@p_fdo = common local_unnamed_addr global i32 0, align 4
@p_fdo_values = common local_unnamed_addr global i32 0, align 4
@p_ssop = common local_unnamed_addr global i32 0, align 4
@p_ssop_values = common local_unnamed_addr global i32 0, align 4
@p_tbis = common local_unnamed_addr global i32 0, align 4
@p_tbis_values = common local_unnamed_addr global i32 0, align 4
@p_toolbar = common local_unnamed_addr global i32 0, align 4
@p_toolbar_values = common local_unnamed_addr global i32 0, align 4
@p_ttym = common local_unnamed_addr global i32 0, align 4
@p_ttym_values = common local_unnamed_addr global i32 0, align 4
@p_ve = common local_unnamed_addr global i32 0, align 4
@p_ve_values = common local_unnamed_addr global i32 0, align 4
@p_vop = common local_unnamed_addr global i32 0, align 4
@ssop_flags = common local_unnamed_addr global i32 0, align 4
@tbis_flags = common local_unnamed_addr global i32 0, align 4
@toolbar_flags = common local_unnamed_addr global i32 0, align 4
@ttym_flags = common local_unnamed_addr global i32 0, align 4
@ve_flags = common local_unnamed_addr global i32 0, align 4
@vop_flags = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @didset_options], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @didset_options() #0 {
%1 = tail call i32 @init_chartab() #2
%2 = load i32, ptr @p_bkc, align 4, !tbaa !6
%3 = load i32, ptr @p_bkc_values, align 4, !tbaa !6
%4 = load i32, ptr @TRUE, align 4, !tbaa !6
%5 = tail call i32 @opt_strings_flags(i32 noundef %2, i32 noundef %3, ptr noundef nonnull @bkc_flags, i32 noundef %4) #2
%6 = load i32, ptr @p_dy, align 4, !tbaa !6
%7 = load i32, ptr @p_dy_values, align 4, !tbaa !6
%8 = load i32, ptr @TRUE, align 4, !tbaa !6
%9 = tail call i32 @opt_strings_flags(i32 noundef %6, i32 noundef %7, ptr noundef nonnull @dy_flags, i32 noundef %8) #2
ret void
}
declare i32 @init_chartab(...) local_unnamed_addr #1
declare i32 @opt_strings_flags(i32 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"}
| vim.js_src_extr_option.c_didset_options |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_flower.c_mlxsw_sp_flower_tmplt_create.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_flower.c_mlxsw_sp_flower_tmplt_create.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.mlxsw_sp_acl_rule_info = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@MLXSW_SP_ACL_PROFILE_FLOWER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @mlxsw_sp_flower_tmplt_create(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.mlxsw_sp_acl_rule_info, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 4) #3
%6 = call i32 @mlxsw_sp_flower_parse(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %4, ptr noundef %2) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %3
%9 = load i32, ptr %2, align 4, !tbaa !5
%10 = load i32, ptr @MLXSW_SP_ACL_PROFILE_FLOWER, align 4, !tbaa !11
%11 = call ptr @mlxsw_sp_acl_ruleset_get(ptr noundef %0, ptr noundef %1, i32 noundef %9, i32 noundef %10, ptr noundef nonnull %4) #3
%12 = call i32 @PTR_ERR_OR_ZERO(ptr noundef %11) #3
br label %13
13: ; preds = %3, %8
%14 = phi i32 [ %12, %8 ], [ %6, %3 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mlxsw_sp_flower_parse(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @mlxsw_sp_acl_ruleset_get(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR_OR_ZERO(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, !8, i64 0}
!6 = !{!"flow_cls_offload", !7, 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}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_flower.c_mlxsw_sp_flower_tmplt_create.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_flower.c_mlxsw_sp_flower_tmplt_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.mlxsw_sp_acl_rule_info = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@MLXSW_SP_ACL_PROFILE_FLOWER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @mlxsw_sp_flower_tmplt_create(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.mlxsw_sp_acl_rule_info, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 4) #3
%6 = call i32 @mlxsw_sp_flower_parse(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %4, ptr noundef %2) #3
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %3
%9 = load i32, ptr %2, align 4, !tbaa !6
%10 = load i32, ptr @MLXSW_SP_ACL_PROFILE_FLOWER, align 4, !tbaa !12
%11 = call ptr @mlxsw_sp_acl_ruleset_get(ptr noundef %0, ptr noundef %1, i32 noundef %9, i32 noundef %10, ptr noundef nonnull %4) #3
%12 = call i32 @PTR_ERR_OR_ZERO(ptr noundef %11) #3
br label %13
13: ; preds = %3, %8
%14 = phi i32 [ %12, %8 ], [ %6, %3 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mlxsw_sp_flower_parse(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @mlxsw_sp_acl_ruleset_get(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @PTR_ERR_OR_ZERO(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, !9, i64 0}
!7 = !{!"flow_cls_offload", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!9, !9, i64 0}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_flower.c_mlxsw_sp_flower_tmplt_create |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_sge.c_t4_ofld_send.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_sge.c_t4_ofld_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"
@CXGB4_TX_OFLD = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @t4_ofld_send(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @local_bh_disable() #2
%4 = load i32, ptr @CXGB4_TX_OFLD, align 4, !tbaa !5
%5 = tail call i32 @uld_send(ptr noundef %0, ptr noundef %1, i32 noundef %4) #2
%6 = tail call i32 (...) @local_bh_enable() #2
ret i32 %5
}
declare i32 @local_bh_disable(...) local_unnamed_addr #1
declare i32 @uld_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @local_bh_enable(...) 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/net/ethernet/chelsio/cxgb4/extr_sge.c_t4_ofld_send.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_sge.c_t4_ofld_send.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CXGB4_TX_OFLD = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @t4_ofld_send(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @local_bh_disable() #2
%4 = load i32, ptr @CXGB4_TX_OFLD, align 4, !tbaa !6
%5 = tail call i32 @uld_send(ptr noundef %0, ptr noundef %1, i32 noundef %4) #2
%6 = tail call i32 @local_bh_enable() #2
ret i32 %5
}
declare i32 @local_bh_disable(...) local_unnamed_addr #1
declare i32 @uld_send(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @local_bh_enable(...) 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_net_ethernet_chelsio_cxgb4_extr_sge.c_t4_ofld_send |
; ModuleID = 'AnghaBench/hashcat/deps/LZMA-SDK/C/extr_Lzma2Enc.c_Lzma2EncInt_InitStream.c'
source_filename = "AnghaBench/hashcat/deps/LZMA-SDK/C/extr_Lzma2Enc.c_Lzma2EncInt_InitStream.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 { i64, i32, i32 }
@LZMA_PROPS_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@True = dso_local local_unnamed_addr global i64 0, align 8
@SZ_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Lzma2EncInt_InitStream], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @Lzma2EncInt_InitStream(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %21
6: ; preds = %2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%7 = load i32, ptr @LZMA_PROPS_SIZE, align 4, !tbaa !11
store i32 %7, ptr %3, align 4, !tbaa !11
%8 = zext i32 %7 to i64
%9 = tail call ptr @llvm.stacksave.p0()
%10 = alloca i32, i64 %8, align 16
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i32 @LzmaEnc_SetProps(i32 noundef %12, ptr noundef %1) #4
%14 = tail call i32 @RINOK(i32 noundef %13) #4
%15 = load i32, ptr %11, align 4, !tbaa !12
%16 = call i32 @LzmaEnc_WriteProperties(i32 noundef %15, ptr noundef nonnull %10, ptr noundef nonnull %3) #4
%17 = call i32 @RINOK(i32 noundef %16) #4
%18 = load i32, ptr %10, align 16, !tbaa !11
%19 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
store i32 %18, ptr %19, align 8, !tbaa !13
%20 = load i64, ptr @True, align 8, !tbaa !14
store i64 %20, ptr %0, align 8, !tbaa !5
call void @llvm.stackrestore.p0(ptr %9)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
br label %21
21: ; preds = %6, %2
%22 = load i32, ptr @SZ_OK, align 4, !tbaa !11
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @RINOK(i32 noundef) local_unnamed_addr #3
declare i32 @LzmaEnc_SetProps(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @LzmaEnc_WriteProperties(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!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, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 12}
!13 = !{!6, !10, i64 8}
!14 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/hashcat/deps/LZMA-SDK/C/extr_Lzma2Enc.c_Lzma2EncInt_InitStream.c'
source_filename = "AnghaBench/hashcat/deps/LZMA-SDK/C/extr_Lzma2Enc.c_Lzma2EncInt_InitStream.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LZMA_PROPS_SIZE = common local_unnamed_addr global i32 0, align 4
@True = common local_unnamed_addr global i64 0, align 8
@SZ_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Lzma2EncInt_InitStream], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @Lzma2EncInt_InitStream(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %21
6: ; preds = %2
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
%7 = load i32, ptr @LZMA_PROPS_SIZE, align 4, !tbaa !12
store i32 %7, ptr %3, align 4, !tbaa !12
%8 = zext i32 %7 to i64
%9 = tail call ptr @llvm.stacksave.p0()
%10 = alloca i32, i64 %8, align 4
%11 = getelementptr inbounds i8, ptr %0, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @LzmaEnc_SetProps(i32 noundef %12, ptr noundef %1) #4
%14 = tail call i32 @RINOK(i32 noundef %13) #4
%15 = load i32, ptr %11, align 4, !tbaa !13
%16 = call i32 @LzmaEnc_WriteProperties(i32 noundef %15, ptr noundef nonnull %10, ptr noundef nonnull %3) #4
%17 = call i32 @RINOK(i32 noundef %16) #4
%18 = load i32, ptr %10, align 4, !tbaa !12
%19 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %18, ptr %19, align 8, !tbaa !14
%20 = load i64, ptr @True, align 8, !tbaa !15
store i64 %20, ptr %0, align 8, !tbaa !6
call void @llvm.stackrestore.p0(ptr %9)
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
br label %21
21: ; preds = %6, %2
%22 = load i32, ptr @SZ_OK, align 4, !tbaa !12
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @RINOK(i32 noundef) local_unnamed_addr #3
declare i32 @LzmaEnc_SetProps(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @LzmaEnc_WriteProperties(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "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 #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, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !11, i64 12}
!14 = !{!7, !11, i64 8}
!15 = !{!8, !8, i64 0}
| hashcat_deps_LZMA-SDK_C_extr_Lzma2Enc.c_Lzma2EncInt_InitStream |
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-script.c_perf_evsel__check_stype.c'
source_filename = "AnghaBench/linux/tools/perf/extr_builtin-script.c_perf_evsel__check_stype.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 @perf_evsel__check_stype], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @perf_evsel__check_stype(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @perf_evsel__do_check_stype(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef 0) #2
ret i32 %5
}
declare i32 @perf_evsel__do_check_stype(ptr noundef, i32 noundef, 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)"}
| ; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-script.c_perf_evsel__check_stype.c'
source_filename = "AnghaBench/linux/tools/perf/extr_builtin-script.c_perf_evsel__check_stype.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 @perf_evsel__check_stype], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @perf_evsel__check_stype(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @perf_evsel__do_check_stype(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef 0) #2
ret i32 %5
}
declare i32 @perf_evsel__do_check_stype(ptr noundef, i32 noundef, 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)"}
| linux_tools_perf_extr_builtin-script.c_perf_evsel__check_stype |
; ModuleID = 'AnghaBench/linux/net/wireless/extr_mlme.c_cfg80211_auth_timeout.c'
source_filename = "AnghaBench/linux/net/wireless/extr_mlme.c_cfg80211_auth_timeout.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"
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @cfg80211_auth_timeout(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 ptr @wiphy_to_rdev(ptr noundef %4) #2
%6 = tail call i32 @trace_cfg80211_send_auth_timeout(ptr noundef nonnull %0, ptr noundef %1) #2
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%8 = tail call i32 @nl80211_send_auth_timeout(ptr noundef %5, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %7) #2
%9 = tail call i32 @cfg80211_sme_auth_timeout(ptr noundef nonnull %3) #2
ret void
}
declare ptr @wiphy_to_rdev(ptr noundef) local_unnamed_addr #1
declare i32 @trace_cfg80211_send_auth_timeout(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nl80211_send_auth_timeout(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cfg80211_sme_auth_timeout(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 = !{!"net_device", !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 = !{!"wireless_dev", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/wireless/extr_mlme.c_cfg80211_auth_timeout.c'
source_filename = "AnghaBench/linux/net/wireless/extr_mlme.c_cfg80211_auth_timeout.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @cfg80211_auth_timeout(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 ptr @wiphy_to_rdev(ptr noundef %4) #2
%6 = tail call i32 @trace_cfg80211_send_auth_timeout(ptr noundef nonnull %0, ptr noundef %1) #2
%7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%8 = tail call i32 @nl80211_send_auth_timeout(ptr noundef %5, ptr noundef nonnull %0, ptr noundef %1, i32 noundef %7) #2
%9 = tail call i32 @cfg80211_sme_auth_timeout(ptr noundef nonnull %3) #2
ret void
}
declare ptr @wiphy_to_rdev(ptr noundef) local_unnamed_addr #1
declare i32 @trace_cfg80211_send_auth_timeout(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nl80211_send_auth_timeout(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cfg80211_sme_auth_timeout(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 = !{!"net_device", !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 = !{!"wireless_dev", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
| linux_net_wireless_extr_mlme.c_cfg80211_auth_timeout |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_diff_local.c_diff_status_callback.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_diff_local.c_diff_status_callback.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.diff_baton = type { i32, i32, ptr, ptr, i32, ptr, i32 }
%struct.TYPE_10__ = type { i64, i64, i64, i64, ptr, i32, i32 }
%struct.node_state_t = type { ptr, ptr, i32, i32, i32, i64, ptr, i32, i32, i32, i32, i32 }
%struct.TYPE_11__ = type { ptr, ptr }
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@svn_wc_status_conflicted = dso_local local_unnamed_addr global i64 0, align 8
@svn_wc_status_none = dso_local local_unnamed_addr global i64 0, align 8
@svn_wc_status_normal = dso_local local_unnamed_addr global i64 0, align 8
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@svn_depth_unknown = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@svn_wc__db_status_normal = dso_local local_unnamed_addr global i64 0, align 8
@svn_wc__db_status_incomplete = dso_local local_unnamed_addr global i64 0, align 8
@svn_wc__db_status_deleted = dso_local local_unnamed_addr global i64 0, align 8
@svn_node_file = dso_local local_unnamed_addr global i64 0, align 8
@SVN_INVALID_REVNUM = dso_local local_unnamed_addr global i32 0, align 4
@svn_node_dir = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @diff_status_callback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @diff_status_callback(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 5
%12 = load ptr, ptr %11, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 6
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %4
%17 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !14
br label %343
18: ; preds = %4
%19 = load i64, ptr %2, align 8, !tbaa !15
%20 = load i64, ptr @svn_wc_status_conflicted, align 8, !tbaa !16
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %33
22: ; preds = %18
%23 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 1
%24 = load i64, ptr %23, align 8, !tbaa !17
%25 = load i64, ptr @svn_wc_status_none, align 8, !tbaa !16
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %22
%28 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 2
%29 = load i64, ptr %28, align 8, !tbaa !18
%30 = icmp eq i64 %29, %24
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !14
br label %343
33: ; preds = %27, %22, %18
%34 = load i64, ptr @svn_wc_status_normal, align 8, !tbaa !16
%35 = icmp eq i64 %19, %34
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 5
%38 = load i32, ptr %37, align 8, !tbaa !19
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !14
br label %343
42: ; preds = %36, %33
%43 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 2
%44 = load ptr, ptr %43, align 8, !tbaa !20
%45 = icmp eq ptr %44, null
br i1 %45, label %104, label %46
46: ; preds = %42
%47 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 3
br label %48
48: ; preds = %46, %96
%49 = phi ptr [ %44, %46 ], [ %102, %96 ]
%50 = getelementptr inbounds %struct.node_state_t, ptr %49, i64 0, i32 11
%51 = load i32, ptr %50, align 8, !tbaa !21
%52 = tail call i32 @svn_dirent_is_ancestor(i32 noundef %51, ptr noundef %1) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %104
54: ; preds = %48
%55 = load ptr, ptr %43, align 8, !tbaa !20
%56 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 10
%57 = load i32, ptr %56, align 4, !tbaa !23
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %96
59: ; preds = %54
%60 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 1
%61 = load ptr, ptr %60, align 8, !tbaa !24
%62 = icmp eq ptr %61, null
%63 = load ptr, ptr %47, align 8, !tbaa !25
br i1 %62, label %81, label %64
64: ; preds = %59
%65 = getelementptr inbounds %struct.TYPE_11__, ptr %63, i64 0, i32 1
%66 = load ptr, ptr %65, align 8, !tbaa !26
%67 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 9
%68 = load i32, ptr %67, align 8, !tbaa !28
%69 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 8
%70 = load i32, ptr %69, align 4, !tbaa !29
%71 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 7
%72 = load i32, ptr %71, align 8, !tbaa !30
%73 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 3
%74 = load i32, ptr %73, align 4, !tbaa !31
%75 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 4
%76 = load i32, ptr %75, align 8, !tbaa !32
%77 = load ptr, ptr %55, align 8, !tbaa !33
%78 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 2
%79 = load i32, ptr %78, align 8, !tbaa !34
%80 = tail call i32 %66(i32 noundef %68, i32 noundef %70, i32 noundef %72, i32 noundef %74, i32 noundef %76, ptr noundef nonnull %61, ptr noundef %77, ptr noundef %63, i32 noundef %79) #3
br label %93
81: ; preds = %59
%82 = load ptr, ptr %63, align 8, !tbaa !35
%83 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 9
%84 = load i32, ptr %83, align 8, !tbaa !28
%85 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 8
%86 = load i32, ptr %85, align 4, !tbaa !29
%87 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 7
%88 = load i32, ptr %87, align 8, !tbaa !30
%89 = load ptr, ptr %55, align 8, !tbaa !33
%90 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 2
%91 = load i32, ptr %90, align 8, !tbaa !34
%92 = tail call i32 %82(i32 noundef %84, i32 noundef %86, i32 noundef %88, ptr noundef %89, ptr noundef nonnull %63, i32 noundef %91) #3
br label %93
93: ; preds = %81, %64
%94 = phi i32 [ %80, %64 ], [ %92, %81 ]
%95 = tail call i32 @SVN_ERR(i32 noundef %94) #3
br label %96
96: ; preds = %93, %54
%97 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 6
%98 = load ptr, ptr %97, align 8, !tbaa !36
store ptr %98, ptr %43, align 8, !tbaa !20
%99 = getelementptr inbounds %struct.node_state_t, ptr %55, i64 0, i32 2
%100 = load i32, ptr %99, align 8, !tbaa !34
%101 = tail call i32 @svn_pool_clear(i32 noundef %100) #3
%102 = load ptr, ptr %43, align 8, !tbaa !20
%103 = icmp eq ptr %102, null
br i1 %103, label %104, label %48, !llvm.loop !37
104: ; preds = %48, %96, %42
%105 = tail call ptr @svn_dirent_dirname(ptr noundef %1, ptr noundef %3) #3
%106 = load i64, ptr @FALSE, align 8, !tbaa !16
%107 = tail call i32 @ensure_state(ptr noundef nonnull %0, ptr noundef %105, i64 noundef %106, ptr noundef %3) #3
%108 = tail call i32 @SVN_ERR(i32 noundef %107) #3
%109 = load ptr, ptr %43, align 8, !tbaa !20
%110 = icmp eq ptr %109, null
br i1 %110, label %117, label %111
111: ; preds = %104
%112 = getelementptr inbounds %struct.node_state_t, ptr %109, i64 0, i32 5
%113 = load i64, ptr %112, align 8, !tbaa !39
%114 = icmp eq i64 %113, 0
br i1 %114, label %117, label %115
115: ; preds = %111
%116 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !14
br label %343
117: ; preds = %111, %104
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%118 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 3
%119 = load i64, ptr %118, align 8, !tbaa !40
%120 = load i32, ptr @svn_depth_unknown, align 4, !tbaa !41
%121 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 4
%122 = load i32, ptr %121, align 8, !tbaa !42
%123 = tail call ptr @svn_dirent_skip_ancestor(i32 noundef %122, ptr noundef %1) #3
%124 = load i64, ptr @FALSE, align 8, !tbaa !16
%125 = load ptr, ptr %11, align 8, !tbaa !5
%126 = call i32 @svn_wc__db_read_info(ptr noundef nonnull %5, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %6, ptr noundef null, ptr noundef null, ptr noundef %125, ptr noundef %1, ptr noundef %3, ptr noundef %3) #3
%127 = call i32 @SVN_ERR(i32 noundef %126) #3
%128 = load i64, ptr %6, align 8, !tbaa !16
%129 = icmp eq i64 %128, 0
br i1 %129, label %130, label %132
130: ; preds = %117
%131 = load i64, ptr @TRUE, align 8, !tbaa !16
br label %179
132: ; preds = %117
%133 = load i64, ptr %5, align 8, !tbaa !16
%134 = load i64, ptr @svn_wc__db_status_normal, align 8, !tbaa !16
%135 = icmp eq i64 %133, %134
%136 = load i64, ptr @svn_wc__db_status_incomplete, align 8
%137 = icmp eq i64 %133, %136
%138 = select i1 %135, i1 true, i1 %137
br i1 %138, label %139, label %140
139: ; preds = %132
store i64 %119, ptr %7, align 8, !tbaa !16
br label %179
140: ; preds = %132
%141 = load i64, ptr @svn_wc__db_status_deleted, align 8, !tbaa !16
%142 = icmp eq i64 %133, %141
br i1 %142, label %143, label %155
143: ; preds = %140
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%144 = load i64, ptr @TRUE, align 8, !tbaa !16
%145 = load ptr, ptr %11, align 8, !tbaa !5
%146 = call i32 @svn_wc__db_base_get_info(ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %145, ptr noundef %1, ptr noundef %3, ptr noundef %3) #3
%147 = call i32 @SVN_ERR(i32 noundef %146) #3
%148 = load i64, ptr %8, align 8, !tbaa !16
%149 = load i64, ptr @svn_wc__db_status_normal, align 8, !tbaa !16
%150 = icmp eq i64 %148, %149
%151 = load i64, ptr @svn_wc__db_status_incomplete, align 8
%152 = icmp eq i64 %148, %151
%153 = select i1 %150, i1 true, i1 %152
%154 = load ptr, ptr @SVN_NO_ERROR, align 8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
br i1 %153, label %179, label %340
155: ; preds = %140
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
%156 = load ptr, ptr %11, align 8, !tbaa !5
%157 = call i32 @svn_wc__db_base_get_info(ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %156, ptr noundef %1, ptr noundef %3, ptr noundef %3) #3
%158 = call i32 @SVN_ERR(i32 noundef %157) #3
%159 = load i64, ptr %9, align 8, !tbaa !16
%160 = load i64, ptr @svn_wc__db_status_normal, align 8, !tbaa !16
%161 = icmp eq i64 %159, %160
%162 = load i64, ptr @svn_wc__db_status_incomplete, align 8
%163 = icmp eq i64 %159, %162
%164 = select i1 %161, i1 true, i1 %163
br i1 %164, label %167, label %165
165: ; preds = %155
%166 = load i64, ptr @TRUE, align 8, !tbaa !16
br label %176
167: ; preds = %155
%168 = load i64, ptr %7, align 8, !tbaa !16
%169 = icmp eq i64 %168, %119
br i1 %169, label %170, label %174
170: ; preds = %167
%171 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 6
%172 = load i32, ptr %171, align 8, !tbaa !43
%173 = icmp eq i32 %172, 0
br i1 %173, label %174, label %176
174: ; preds = %170, %167
%175 = load i64, ptr @TRUE, align 8, !tbaa !16
br label %176
176: ; preds = %170, %174, %165
%177 = phi i64 [ %166, %165 ], [ %175, %174 ], [ %124, %170 ]
%178 = phi i64 [ %124, %165 ], [ %175, %174 ], [ %124, %170 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
br label %179
179: ; preds = %139, %143, %176, %130
%180 = phi i64 [ %124, %139 ], [ %124, %143 ], [ %177, %176 ], [ %131, %130 ]
%181 = phi i64 [ %124, %139 ], [ %144, %143 ], [ %178, %176 ], [ %124, %130 ]
%182 = icmp eq i64 %181, 0
br i1 %182, label %215, label %183
183: ; preds = %179
%184 = load i64, ptr %7, align 8, !tbaa !16
%185 = load i64, ptr @svn_node_file, align 8, !tbaa !16
%186 = icmp eq i64 %184, %185
br i1 %186, label %187, label %198
187: ; preds = %183
%188 = load i32, ptr @SVN_INVALID_REVNUM, align 4, !tbaa !41
%189 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 3
%190 = load ptr, ptr %189, align 8, !tbaa !25
%191 = load ptr, ptr %43, align 8, !tbaa !20
%192 = icmp eq ptr %191, null
br i1 %192, label %195, label %193
193: ; preds = %187
%194 = load ptr, ptr %191, align 8, !tbaa !33
br label %195
195: ; preds = %187, %193
%196 = phi ptr [ %194, %193 ], [ null, %187 ]
%197 = call i32 @svn_wc__diff_base_only_file(ptr noundef %12, ptr noundef %1, ptr noundef %123, i32 noundef %188, ptr noundef %190, ptr noundef %196, ptr noundef %3) #3
br label %277
198: ; preds = %183
%199 = load i64, ptr @svn_node_dir, align 8, !tbaa !16
%200 = icmp eq i64 %184, %199
br i1 %200, label %201, label %280
201: ; preds = %198
%202 = load i32, ptr @SVN_INVALID_REVNUM, align 4, !tbaa !41
%203 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 3
%204 = load ptr, ptr %203, align 8, !tbaa !25
%205 = load ptr, ptr %43, align 8, !tbaa !20
%206 = icmp eq ptr %205, null
br i1 %206, label %209, label %207
207: ; preds = %201
%208 = load ptr, ptr %205, align 8, !tbaa !33
br label %209
209: ; preds = %201, %207
%210 = phi ptr [ %208, %207 ], [ null, %201 ]
%211 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 1
%212 = load i32, ptr %211, align 4, !tbaa !44
%213 = load i32, ptr %0, align 8, !tbaa !45
%214 = call i32 @svn_wc__diff_base_only_dir(ptr noundef %12, ptr noundef %1, ptr noundef %123, i32 noundef %202, i32 noundef %120, ptr noundef %204, ptr noundef %210, i32 noundef %212, i32 noundef %213, ptr noundef %3) #3
br label %277
215: ; preds = %179
%216 = icmp eq i64 %180, 0
br i1 %216, label %217, label %282
217: ; preds = %215
%218 = load i64, ptr @svn_node_file, align 8, !tbaa !16
%219 = icmp eq i64 %119, %218
br i1 %219, label %220, label %236
220: ; preds = %217
%221 = load i32, ptr @SVN_INVALID_REVNUM, align 4, !tbaa !41
%222 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 3
%223 = load ptr, ptr %222, align 8, !tbaa !25
%224 = load ptr, ptr %43, align 8, !tbaa !20
%225 = icmp eq ptr %224, null
br i1 %225, label %228, label %226
226: ; preds = %220
%227 = load ptr, ptr %224, align 8, !tbaa !33
br label %228
228: ; preds = %220, %226
%229 = phi ptr [ %227, %226 ], [ null, %220 ]
%230 = load i64, ptr @FALSE, align 8, !tbaa !16
%231 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 1
%232 = load i32, ptr %231, align 4, !tbaa !44
%233 = load i32, ptr %0, align 8, !tbaa !45
%234 = call i32 @svn_wc__diff_base_working_diff(ptr noundef %12, ptr noundef %1, ptr noundef %123, i32 noundef %221, ptr noundef %223, ptr noundef %229, i64 noundef %230, i32 noundef %232, i32 noundef %233, ptr noundef %3) #3
%235 = call i32 @SVN_ERR(i32 noundef %234) #3
br label %330
236: ; preds = %217
%237 = load i64, ptr @svn_node_dir, align 8, !tbaa !16
%238 = icmp eq i64 %119, %237
br i1 %238, label %239, label %330
239: ; preds = %236
%240 = load i64, ptr @FALSE, align 8, !tbaa !16
%241 = call i32 @ensure_state(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %240, ptr noundef %3) #3
%242 = call i32 @SVN_ERR(i32 noundef %241) #3
%243 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 2
%244 = load i64, ptr %243, align 8, !tbaa !18
%245 = load i64, ptr @svn_wc_status_none, align 8, !tbaa !16
%246 = icmp eq i64 %244, %245
%247 = load i64, ptr @svn_wc_status_normal, align 8
%248 = icmp eq i64 %244, %247
%249 = select i1 %246, i1 true, i1 %248
br i1 %249, label %330, label %250
250: ; preds = %239
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%251 = load ptr, ptr %43, align 8, !tbaa !20
%252 = getelementptr inbounds %struct.node_state_t, ptr %251, i64 0, i32 3
%253 = load ptr, ptr %11, align 8, !tbaa !5
%254 = getelementptr inbounds %struct.node_state_t, ptr %251, i64 0, i32 2
%255 = load i32, ptr %254, align 8, !tbaa !34
%256 = call i32 @svn_wc__db_base_get_props(ptr noundef nonnull %252, ptr noundef %253, ptr noundef %1, i32 noundef %255, ptr noundef %3) #3
%257 = call i32 @SVN_ERR(i32 noundef %256) #3
%258 = load ptr, ptr %43, align 8, !tbaa !20
%259 = getelementptr inbounds %struct.node_state_t, ptr %258, i64 0, i32 4
%260 = load ptr, ptr %11, align 8, !tbaa !5
%261 = getelementptr inbounds %struct.node_state_t, ptr %258, i64 0, i32 2
%262 = load i32, ptr %261, align 8, !tbaa !34
%263 = call i32 @svn_wc__db_read_props(ptr noundef nonnull %259, ptr noundef %260, ptr noundef %1, i32 noundef %262, ptr noundef %3) #3
%264 = call i32 @SVN_ERR(i32 noundef %263) #3
%265 = load ptr, ptr %43, align 8, !tbaa !20
%266 = getelementptr inbounds %struct.node_state_t, ptr %265, i64 0, i32 4
%267 = load i32, ptr %266, align 8, !tbaa !32
%268 = getelementptr inbounds %struct.node_state_t, ptr %265, i64 0, i32 3
%269 = load i32, ptr %268, align 4, !tbaa !31
%270 = getelementptr inbounds %struct.node_state_t, ptr %265, i64 0, i32 2
%271 = load i32, ptr %270, align 8, !tbaa !34
%272 = call i32 @svn_prop_diffs(ptr noundef nonnull %10, i32 noundef %267, i32 noundef %269, i32 noundef %271) #3
%273 = call i32 @SVN_ERR(i32 noundef %272) #3
%274 = load ptr, ptr %10, align 8, !tbaa !14
%275 = load ptr, ptr %43, align 8, !tbaa !20
%276 = getelementptr inbounds %struct.node_state_t, ptr %275, i64 0, i32 1
store ptr %274, ptr %276, align 8, !tbaa !24
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
br label %330
277: ; preds = %209, %195
%278 = phi i32 [ %197, %195 ], [ %214, %209 ]
%279 = call i32 @SVN_ERR(i32 noundef %278) #3
br label %280
280: ; preds = %277, %198
%281 = icmp eq i64 %180, 0
br i1 %281, label %330, label %282
282: ; preds = %215, %280
%283 = load i64, ptr %5, align 8, !tbaa !16
%284 = load i64, ptr @svn_wc__db_status_deleted, align 8, !tbaa !16
%285 = icmp eq i64 %283, %284
br i1 %285, label %330, label %286
286: ; preds = %282
%287 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i64 0, i32 4
%288 = load ptr, ptr %287, align 8, !tbaa !46
%289 = icmp eq ptr %288, null
br i1 %289, label %293, label %290
290: ; preds = %286
%291 = load i32, ptr %121, align 8, !tbaa !42
%292 = call ptr @svn_dirent_skip_ancestor(i32 noundef %291, ptr noundef nonnull %288) #3
br label %293
293: ; preds = %290, %286
%294 = phi ptr [ %292, %290 ], [ null, %286 ]
%295 = load i64, ptr @svn_node_file, align 8, !tbaa !16
%296 = icmp eq i64 %119, %295
br i1 %296, label %297, label %312
297: ; preds = %293
%298 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 3
%299 = load ptr, ptr %298, align 8, !tbaa !25
%300 = load ptr, ptr %43, align 8, !tbaa !20
%301 = icmp eq ptr %300, null
br i1 %301, label %304, label %302
302: ; preds = %297
%303 = load ptr, ptr %300, align 8, !tbaa !33
br label %304
304: ; preds = %297, %302
%305 = phi ptr [ %303, %302 ], [ null, %297 ]
%306 = load i64, ptr @FALSE, align 8, !tbaa !16
%307 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 1
%308 = load i32, ptr %307, align 4, !tbaa !44
%309 = load i32, ptr %0, align 8, !tbaa !45
%310 = call i32 @svn_wc__diff_local_only_file(ptr noundef %12, ptr noundef %1, ptr noundef %123, ptr noundef %294, ptr noundef %299, ptr noundef %305, i64 noundef %306, i32 noundef %308, i32 noundef %309, ptr noundef %3) #3
%311 = call i32 @SVN_ERR(i32 noundef %310) #3
br label %330
312: ; preds = %293
%313 = load i64, ptr @svn_node_dir, align 8, !tbaa !16
%314 = icmp eq i64 %119, %313
br i1 %314, label %315, label %330
315: ; preds = %312
%316 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 3
%317 = load ptr, ptr %316, align 8, !tbaa !25
%318 = load ptr, ptr %43, align 8, !tbaa !20
%319 = icmp eq ptr %318, null
br i1 %319, label %322, label %320
320: ; preds = %315
%321 = load ptr, ptr %318, align 8, !tbaa !33
br label %322
322: ; preds = %315, %320
%323 = phi ptr [ %321, %320 ], [ null, %315 ]
%324 = load i64, ptr @FALSE, align 8, !tbaa !16
%325 = getelementptr inbounds %struct.diff_baton, ptr %0, i64 0, i32 1
%326 = load i32, ptr %325, align 4, !tbaa !44
%327 = load i32, ptr %0, align 8, !tbaa !45
%328 = call i32 @svn_wc__diff_local_only_dir(ptr noundef %12, ptr noundef %1, ptr noundef %123, i32 noundef %120, ptr noundef %294, ptr noundef %317, ptr noundef %323, i64 noundef %324, i32 noundef %326, i32 noundef %327, ptr noundef %3) #3
%329 = call i32 @SVN_ERR(i32 noundef %328) #3
br label %330
330: ; preds = %228, %239, %250, %236, %304, %322, %312, %282, %280
%331 = load i64, ptr @svn_node_dir, align 8, !tbaa !16
%332 = icmp ne i64 %119, %331
%333 = or i64 %181, %180
%334 = icmp eq i64 %333, 0
%335 = select i1 %332, i1 true, i1 %334
br i1 %335, label %341, label %336
336: ; preds = %330
%337 = load i64, ptr @TRUE, align 8, !tbaa !16
%338 = call i32 @ensure_state(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %337, ptr noundef %3) #3
%339 = call i32 @SVN_ERR(i32 noundef %338) #3
br label %341
340: ; preds = %143
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %343
341: ; preds = %336, %330
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
%342 = load ptr, ptr @SVN_NO_ERROR, align 8
br label %343
343: ; preds = %341, %340, %115, %40, %31, %16
%344 = phi ptr [ %32, %31 ], [ %116, %115 ], [ %41, %40 ], [ %17, %16 ], [ %342, %341 ], [ %154, %340 ]
ret ptr %344
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @svn_dirent_is_ancestor(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_pool_clear(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
declare i32 @ensure_state(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_dirent_dirname(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_dirent_skip_ancestor(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_read_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_base_get_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_base_only_file(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_base_only_dir(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_base_working_diff(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_base_get_props(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_read_props(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_prop_diffs(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_local_only_file(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_local_only_dir(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 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, !10, i64 32}
!6 = !{!"diff_baton", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 44}
!12 = !{!"TYPE_10__", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !10, i64 32, !7, i64 40, !7, i64 44}
!13 = !{!"long", !8, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !13, i64 8}
!18 = !{!12, !13, i64 16}
!19 = !{!12, !7, i64 40}
!20 = !{!6, !10, i64 8}
!21 = !{!22, !7, i64 64}
!22 = !{!"node_state_t", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !13, i64 32, !10, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64}
!23 = !{!22, !7, i64 60}
!24 = !{!22, !10, i64 8}
!25 = !{!6, !10, i64 16}
!26 = !{!27, !10, i64 8}
!27 = !{!"TYPE_11__", !10, i64 0, !10, i64 8}
!28 = !{!22, !7, i64 56}
!29 = !{!22, !7, i64 52}
!30 = !{!22, !7, i64 48}
!31 = !{!22, !7, i64 20}
!32 = !{!22, !7, i64 24}
!33 = !{!22, !10, i64 0}
!34 = !{!22, !7, i64 16}
!35 = !{!27, !10, i64 0}
!36 = !{!22, !10, i64 40}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!22, !13, i64 32}
!40 = !{!12, !13, i64 24}
!41 = !{!7, !7, i64 0}
!42 = !{!6, !7, i64 24}
!43 = !{!6, !7, i64 40}
!44 = !{!6, !7, i64 4}
!45 = !{!6, !7, i64 0}
!46 = !{!12, !10, i64 32}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_diff_local.c_diff_status_callback.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_diff_local.c_diff_status_callback.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
@svn_wc_status_conflicted = common local_unnamed_addr global i64 0, align 8
@svn_wc_status_none = common local_unnamed_addr global i64 0, align 8
@svn_wc_status_normal = common local_unnamed_addr global i64 0, align 8
@FALSE = common local_unnamed_addr global i64 0, align 8
@svn_depth_unknown = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i64 0, align 8
@svn_wc__db_status_normal = common local_unnamed_addr global i64 0, align 8
@svn_wc__db_status_incomplete = common local_unnamed_addr global i64 0, align 8
@svn_wc__db_status_deleted = common local_unnamed_addr global i64 0, align 8
@svn_node_file = common local_unnamed_addr global i64 0, align 8
@SVN_INVALID_REVNUM = common local_unnamed_addr global i32 0, align 4
@svn_node_dir = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @diff_status_callback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @diff_status_callback(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = getelementptr inbounds i8, ptr %0, i64 32
%12 = load ptr, ptr %11, align 8, !tbaa !6
%13 = getelementptr inbounds i8, ptr %2, i64 44
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %4
%17 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !15
br label %343
18: ; preds = %4
%19 = load i64, ptr %2, align 8, !tbaa !16
%20 = load i64, ptr @svn_wc_status_conflicted, align 8, !tbaa !17
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %33
22: ; preds = %18
%23 = getelementptr inbounds i8, ptr %2, i64 8
%24 = load i64, ptr %23, align 8, !tbaa !18
%25 = load i64, ptr @svn_wc_status_none, align 8, !tbaa !17
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %22
%28 = getelementptr inbounds i8, ptr %2, i64 16
%29 = load i64, ptr %28, align 8, !tbaa !19
%30 = icmp eq i64 %29, %24
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !15
br label %343
33: ; preds = %27, %22, %18
%34 = load i64, ptr @svn_wc_status_normal, align 8, !tbaa !17
%35 = icmp eq i64 %19, %34
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = getelementptr inbounds i8, ptr %2, i64 40
%38 = load i32, ptr %37, align 8, !tbaa !20
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !15
br label %343
42: ; preds = %36, %33
%43 = getelementptr inbounds i8, ptr %0, i64 8
%44 = load ptr, ptr %43, align 8, !tbaa !21
%45 = icmp eq ptr %44, null
br i1 %45, label %104, label %46
46: ; preds = %42
%47 = getelementptr inbounds i8, ptr %0, i64 16
br label %48
48: ; preds = %46, %96
%49 = phi ptr [ %44, %46 ], [ %102, %96 ]
%50 = getelementptr inbounds i8, ptr %49, i64 64
%51 = load i32, ptr %50, align 8, !tbaa !22
%52 = tail call i32 @svn_dirent_is_ancestor(i32 noundef %51, ptr noundef %1) #3
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %104
54: ; preds = %48
%55 = load ptr, ptr %43, align 8, !tbaa !21
%56 = getelementptr inbounds i8, ptr %55, i64 60
%57 = load i32, ptr %56, align 4, !tbaa !24
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %96
59: ; preds = %54
%60 = getelementptr inbounds i8, ptr %55, i64 8
%61 = load ptr, ptr %60, align 8, !tbaa !25
%62 = icmp eq ptr %61, null
%63 = load ptr, ptr %47, align 8, !tbaa !26
br i1 %62, label %81, label %64
64: ; preds = %59
%65 = getelementptr inbounds i8, ptr %63, i64 8
%66 = load ptr, ptr %65, align 8, !tbaa !27
%67 = getelementptr inbounds i8, ptr %55, i64 56
%68 = load i32, ptr %67, align 8, !tbaa !29
%69 = getelementptr inbounds i8, ptr %55, i64 52
%70 = load i32, ptr %69, align 4, !tbaa !30
%71 = getelementptr inbounds i8, ptr %55, i64 48
%72 = load i32, ptr %71, align 8, !tbaa !31
%73 = getelementptr inbounds i8, ptr %55, i64 20
%74 = load i32, ptr %73, align 4, !tbaa !32
%75 = getelementptr inbounds i8, ptr %55, i64 24
%76 = load i32, ptr %75, align 8, !tbaa !33
%77 = load ptr, ptr %55, align 8, !tbaa !34
%78 = getelementptr inbounds i8, ptr %55, i64 16
%79 = load i32, ptr %78, align 8, !tbaa !35
%80 = tail call i32 %66(i32 noundef %68, i32 noundef %70, i32 noundef %72, i32 noundef %74, i32 noundef %76, ptr noundef nonnull %61, ptr noundef %77, ptr noundef %63, i32 noundef %79) #3
br label %93
81: ; preds = %59
%82 = load ptr, ptr %63, align 8, !tbaa !36
%83 = getelementptr inbounds i8, ptr %55, i64 56
%84 = load i32, ptr %83, align 8, !tbaa !29
%85 = getelementptr inbounds i8, ptr %55, i64 52
%86 = load i32, ptr %85, align 4, !tbaa !30
%87 = getelementptr inbounds i8, ptr %55, i64 48
%88 = load i32, ptr %87, align 8, !tbaa !31
%89 = load ptr, ptr %55, align 8, !tbaa !34
%90 = getelementptr inbounds i8, ptr %55, i64 16
%91 = load i32, ptr %90, align 8, !tbaa !35
%92 = tail call i32 %82(i32 noundef %84, i32 noundef %86, i32 noundef %88, ptr noundef %89, ptr noundef nonnull %63, i32 noundef %91) #3
br label %93
93: ; preds = %81, %64
%94 = phi i32 [ %80, %64 ], [ %92, %81 ]
%95 = tail call i32 @SVN_ERR(i32 noundef %94) #3
br label %96
96: ; preds = %93, %54
%97 = getelementptr inbounds i8, ptr %55, i64 40
%98 = load ptr, ptr %97, align 8, !tbaa !37
store ptr %98, ptr %43, align 8, !tbaa !21
%99 = getelementptr inbounds i8, ptr %55, i64 16
%100 = load i32, ptr %99, align 8, !tbaa !35
%101 = tail call i32 @svn_pool_clear(i32 noundef %100) #3
%102 = load ptr, ptr %43, align 8, !tbaa !21
%103 = icmp eq ptr %102, null
br i1 %103, label %104, label %48, !llvm.loop !38
104: ; preds = %48, %96, %42
%105 = tail call ptr @svn_dirent_dirname(ptr noundef %1, ptr noundef %3) #3
%106 = load i64, ptr @FALSE, align 8, !tbaa !17
%107 = tail call i32 @ensure_state(ptr noundef nonnull %0, ptr noundef %105, i64 noundef %106, ptr noundef %3) #3
%108 = tail call i32 @SVN_ERR(i32 noundef %107) #3
%109 = load ptr, ptr %43, align 8, !tbaa !21
%110 = icmp eq ptr %109, null
br i1 %110, label %117, label %111
111: ; preds = %104
%112 = getelementptr inbounds i8, ptr %109, i64 32
%113 = load i64, ptr %112, align 8, !tbaa !40
%114 = icmp eq i64 %113, 0
br i1 %114, label %117, label %115
115: ; preds = %111
%116 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !15
br label %343
117: ; preds = %111, %104
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
%118 = getelementptr inbounds i8, ptr %2, i64 24
%119 = load i64, ptr %118, align 8, !tbaa !41
%120 = load i32, ptr @svn_depth_unknown, align 4, !tbaa !42
%121 = getelementptr inbounds i8, ptr %0, i64 24
%122 = load i32, ptr %121, align 8, !tbaa !43
%123 = tail call ptr @svn_dirent_skip_ancestor(i32 noundef %122, ptr noundef %1) #3
%124 = load i64, ptr @FALSE, align 8, !tbaa !17
%125 = load ptr, ptr %11, align 8, !tbaa !6
%126 = call i32 @svn_wc__db_read_info(ptr noundef nonnull %5, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %6, ptr noundef null, ptr noundef null, ptr noundef %125, ptr noundef %1, ptr noundef %3, ptr noundef %3) #3
%127 = call i32 @SVN_ERR(i32 noundef %126) #3
%128 = load i64, ptr %6, align 8, !tbaa !17
%129 = icmp eq i64 %128, 0
br i1 %129, label %130, label %132
130: ; preds = %117
%131 = load i64, ptr @TRUE, align 8, !tbaa !17
br label %179
132: ; preds = %117
%133 = load i64, ptr %5, align 8, !tbaa !17
%134 = load i64, ptr @svn_wc__db_status_normal, align 8, !tbaa !17
%135 = icmp eq i64 %133, %134
%136 = load i64, ptr @svn_wc__db_status_incomplete, align 8
%137 = icmp eq i64 %133, %136
%138 = select i1 %135, i1 true, i1 %137
br i1 %138, label %139, label %140
139: ; preds = %132
store i64 %119, ptr %7, align 8, !tbaa !17
br label %179
140: ; preds = %132
%141 = load i64, ptr @svn_wc__db_status_deleted, align 8, !tbaa !17
%142 = icmp eq i64 %133, %141
br i1 %142, label %143, label %155
143: ; preds = %140
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
%144 = load i64, ptr @TRUE, align 8, !tbaa !17
%145 = load ptr, ptr %11, align 8, !tbaa !6
%146 = call i32 @svn_wc__db_base_get_info(ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %145, ptr noundef %1, ptr noundef %3, ptr noundef %3) #3
%147 = call i32 @SVN_ERR(i32 noundef %146) #3
%148 = load i64, ptr %8, align 8, !tbaa !17
%149 = load i64, ptr @svn_wc__db_status_normal, align 8, !tbaa !17
%150 = icmp eq i64 %148, %149
%151 = load i64, ptr @svn_wc__db_status_incomplete, align 8
%152 = icmp eq i64 %148, %151
%153 = select i1 %150, i1 true, i1 %152
%154 = load ptr, ptr @SVN_NO_ERROR, align 8
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
br i1 %153, label %179, label %340
155: ; preds = %140
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
%156 = load ptr, ptr %11, align 8, !tbaa !6
%157 = call i32 @svn_wc__db_base_get_info(ptr noundef nonnull %9, ptr noundef nonnull %7, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %156, ptr noundef %1, ptr noundef %3, ptr noundef %3) #3
%158 = call i32 @SVN_ERR(i32 noundef %157) #3
%159 = load i64, ptr %9, align 8, !tbaa !17
%160 = load i64, ptr @svn_wc__db_status_normal, align 8, !tbaa !17
%161 = icmp eq i64 %159, %160
%162 = load i64, ptr @svn_wc__db_status_incomplete, align 8
%163 = icmp eq i64 %159, %162
%164 = select i1 %161, i1 true, i1 %163
br i1 %164, label %167, label %165
165: ; preds = %155
%166 = load i64, ptr @TRUE, align 8, !tbaa !17
br label %176
167: ; preds = %155
%168 = load i64, ptr %7, align 8, !tbaa !17
%169 = icmp eq i64 %168, %119
br i1 %169, label %170, label %174
170: ; preds = %167
%171 = getelementptr inbounds i8, ptr %0, i64 40
%172 = load i32, ptr %171, align 8, !tbaa !44
%173 = icmp eq i32 %172, 0
br i1 %173, label %174, label %176
174: ; preds = %170, %167
%175 = load i64, ptr @TRUE, align 8, !tbaa !17
br label %176
176: ; preds = %170, %174, %165
%177 = phi i64 [ %166, %165 ], [ %175, %174 ], [ %124, %170 ]
%178 = phi i64 [ %124, %165 ], [ %175, %174 ], [ %124, %170 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
br label %179
179: ; preds = %139, %143, %176, %130
%180 = phi i64 [ %124, %139 ], [ %124, %143 ], [ %177, %176 ], [ %131, %130 ]
%181 = phi i64 [ %124, %139 ], [ %144, %143 ], [ %178, %176 ], [ %124, %130 ]
%182 = icmp eq i64 %181, 0
br i1 %182, label %215, label %183
183: ; preds = %179
%184 = load i64, ptr %7, align 8, !tbaa !17
%185 = load i64, ptr @svn_node_file, align 8, !tbaa !17
%186 = icmp eq i64 %184, %185
br i1 %186, label %187, label %198
187: ; preds = %183
%188 = load i32, ptr @SVN_INVALID_REVNUM, align 4, !tbaa !42
%189 = getelementptr inbounds i8, ptr %0, i64 16
%190 = load ptr, ptr %189, align 8, !tbaa !26
%191 = load ptr, ptr %43, align 8, !tbaa !21
%192 = icmp eq ptr %191, null
br i1 %192, label %195, label %193
193: ; preds = %187
%194 = load ptr, ptr %191, align 8, !tbaa !34
br label %195
195: ; preds = %187, %193
%196 = phi ptr [ %194, %193 ], [ null, %187 ]
%197 = call i32 @svn_wc__diff_base_only_file(ptr noundef %12, ptr noundef %1, ptr noundef %123, i32 noundef %188, ptr noundef %190, ptr noundef %196, ptr noundef %3) #3
br label %277
198: ; preds = %183
%199 = load i64, ptr @svn_node_dir, align 8, !tbaa !17
%200 = icmp eq i64 %184, %199
br i1 %200, label %201, label %280
201: ; preds = %198
%202 = load i32, ptr @SVN_INVALID_REVNUM, align 4, !tbaa !42
%203 = getelementptr inbounds i8, ptr %0, i64 16
%204 = load ptr, ptr %203, align 8, !tbaa !26
%205 = load ptr, ptr %43, align 8, !tbaa !21
%206 = icmp eq ptr %205, null
br i1 %206, label %209, label %207
207: ; preds = %201
%208 = load ptr, ptr %205, align 8, !tbaa !34
br label %209
209: ; preds = %201, %207
%210 = phi ptr [ %208, %207 ], [ null, %201 ]
%211 = getelementptr inbounds i8, ptr %0, i64 4
%212 = load i32, ptr %211, align 4, !tbaa !45
%213 = load i32, ptr %0, align 8, !tbaa !46
%214 = call i32 @svn_wc__diff_base_only_dir(ptr noundef %12, ptr noundef %1, ptr noundef %123, i32 noundef %202, i32 noundef %120, ptr noundef %204, ptr noundef %210, i32 noundef %212, i32 noundef %213, ptr noundef %3) #3
br label %277
215: ; preds = %179
%216 = icmp eq i64 %180, 0
br i1 %216, label %217, label %282
217: ; preds = %215
%218 = load i64, ptr @svn_node_file, align 8, !tbaa !17
%219 = icmp eq i64 %119, %218
br i1 %219, label %220, label %236
220: ; preds = %217
%221 = load i32, ptr @SVN_INVALID_REVNUM, align 4, !tbaa !42
%222 = getelementptr inbounds i8, ptr %0, i64 16
%223 = load ptr, ptr %222, align 8, !tbaa !26
%224 = load ptr, ptr %43, align 8, !tbaa !21
%225 = icmp eq ptr %224, null
br i1 %225, label %228, label %226
226: ; preds = %220
%227 = load ptr, ptr %224, align 8, !tbaa !34
br label %228
228: ; preds = %220, %226
%229 = phi ptr [ %227, %226 ], [ null, %220 ]
%230 = load i64, ptr @FALSE, align 8, !tbaa !17
%231 = getelementptr inbounds i8, ptr %0, i64 4
%232 = load i32, ptr %231, align 4, !tbaa !45
%233 = load i32, ptr %0, align 8, !tbaa !46
%234 = call i32 @svn_wc__diff_base_working_diff(ptr noundef %12, ptr noundef %1, ptr noundef %123, i32 noundef %221, ptr noundef %223, ptr noundef %229, i64 noundef %230, i32 noundef %232, i32 noundef %233, ptr noundef %3) #3
%235 = call i32 @SVN_ERR(i32 noundef %234) #3
br label %330
236: ; preds = %217
%237 = load i64, ptr @svn_node_dir, align 8, !tbaa !17
%238 = icmp eq i64 %119, %237
br i1 %238, label %239, label %330
239: ; preds = %236
%240 = load i64, ptr @FALSE, align 8, !tbaa !17
%241 = call i32 @ensure_state(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %240, ptr noundef %3) #3
%242 = call i32 @SVN_ERR(i32 noundef %241) #3
%243 = getelementptr inbounds i8, ptr %2, i64 16
%244 = load i64, ptr %243, align 8, !tbaa !19
%245 = load i64, ptr @svn_wc_status_none, align 8, !tbaa !17
%246 = icmp eq i64 %244, %245
%247 = load i64, ptr @svn_wc_status_normal, align 8
%248 = icmp eq i64 %244, %247
%249 = select i1 %246, i1 true, i1 %248
br i1 %249, label %330, label %250
250: ; preds = %239
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
%251 = load ptr, ptr %43, align 8, !tbaa !21
%252 = getelementptr inbounds i8, ptr %251, i64 20
%253 = load ptr, ptr %11, align 8, !tbaa !6
%254 = getelementptr inbounds i8, ptr %251, i64 16
%255 = load i32, ptr %254, align 8, !tbaa !35
%256 = call i32 @svn_wc__db_base_get_props(ptr noundef nonnull %252, ptr noundef %253, ptr noundef %1, i32 noundef %255, ptr noundef %3) #3
%257 = call i32 @SVN_ERR(i32 noundef %256) #3
%258 = load ptr, ptr %43, align 8, !tbaa !21
%259 = getelementptr inbounds i8, ptr %258, i64 24
%260 = load ptr, ptr %11, align 8, !tbaa !6
%261 = getelementptr inbounds i8, ptr %258, i64 16
%262 = load i32, ptr %261, align 8, !tbaa !35
%263 = call i32 @svn_wc__db_read_props(ptr noundef nonnull %259, ptr noundef %260, ptr noundef %1, i32 noundef %262, ptr noundef %3) #3
%264 = call i32 @SVN_ERR(i32 noundef %263) #3
%265 = load ptr, ptr %43, align 8, !tbaa !21
%266 = getelementptr inbounds i8, ptr %265, i64 24
%267 = load i32, ptr %266, align 8, !tbaa !33
%268 = getelementptr inbounds i8, ptr %265, i64 20
%269 = load i32, ptr %268, align 4, !tbaa !32
%270 = getelementptr inbounds i8, ptr %265, i64 16
%271 = load i32, ptr %270, align 8, !tbaa !35
%272 = call i32 @svn_prop_diffs(ptr noundef nonnull %10, i32 noundef %267, i32 noundef %269, i32 noundef %271) #3
%273 = call i32 @SVN_ERR(i32 noundef %272) #3
%274 = load ptr, ptr %10, align 8, !tbaa !15
%275 = load ptr, ptr %43, align 8, !tbaa !21
%276 = getelementptr inbounds i8, ptr %275, i64 8
store ptr %274, ptr %276, align 8, !tbaa !25
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
br label %330
277: ; preds = %209, %195
%278 = phi i32 [ %197, %195 ], [ %214, %209 ]
%279 = call i32 @SVN_ERR(i32 noundef %278) #3
br label %280
280: ; preds = %277, %198
%281 = icmp eq i64 %180, 0
br i1 %281, label %330, label %282
282: ; preds = %215, %280
%283 = load i64, ptr %5, align 8, !tbaa !17
%284 = load i64, ptr @svn_wc__db_status_deleted, align 8, !tbaa !17
%285 = icmp eq i64 %283, %284
br i1 %285, label %330, label %286
286: ; preds = %282
%287 = getelementptr inbounds i8, ptr %2, i64 32
%288 = load ptr, ptr %287, align 8, !tbaa !47
%289 = icmp eq ptr %288, null
br i1 %289, label %293, label %290
290: ; preds = %286
%291 = load i32, ptr %121, align 8, !tbaa !43
%292 = call ptr @svn_dirent_skip_ancestor(i32 noundef %291, ptr noundef nonnull %288) #3
br label %293
293: ; preds = %290, %286
%294 = phi ptr [ %292, %290 ], [ null, %286 ]
%295 = load i64, ptr @svn_node_file, align 8, !tbaa !17
%296 = icmp eq i64 %119, %295
br i1 %296, label %297, label %312
297: ; preds = %293
%298 = getelementptr inbounds i8, ptr %0, i64 16
%299 = load ptr, ptr %298, align 8, !tbaa !26
%300 = load ptr, ptr %43, align 8, !tbaa !21
%301 = icmp eq ptr %300, null
br i1 %301, label %304, label %302
302: ; preds = %297
%303 = load ptr, ptr %300, align 8, !tbaa !34
br label %304
304: ; preds = %297, %302
%305 = phi ptr [ %303, %302 ], [ null, %297 ]
%306 = load i64, ptr @FALSE, align 8, !tbaa !17
%307 = getelementptr inbounds i8, ptr %0, i64 4
%308 = load i32, ptr %307, align 4, !tbaa !45
%309 = load i32, ptr %0, align 8, !tbaa !46
%310 = call i32 @svn_wc__diff_local_only_file(ptr noundef %12, ptr noundef %1, ptr noundef %123, ptr noundef %294, ptr noundef %299, ptr noundef %305, i64 noundef %306, i32 noundef %308, i32 noundef %309, ptr noundef %3) #3
%311 = call i32 @SVN_ERR(i32 noundef %310) #3
br label %330
312: ; preds = %293
%313 = load i64, ptr @svn_node_dir, align 8, !tbaa !17
%314 = icmp eq i64 %119, %313
br i1 %314, label %315, label %330
315: ; preds = %312
%316 = getelementptr inbounds i8, ptr %0, i64 16
%317 = load ptr, ptr %316, align 8, !tbaa !26
%318 = load ptr, ptr %43, align 8, !tbaa !21
%319 = icmp eq ptr %318, null
br i1 %319, label %322, label %320
320: ; preds = %315
%321 = load ptr, ptr %318, align 8, !tbaa !34
br label %322
322: ; preds = %315, %320
%323 = phi ptr [ %321, %320 ], [ null, %315 ]
%324 = load i64, ptr @FALSE, align 8, !tbaa !17
%325 = getelementptr inbounds i8, ptr %0, i64 4
%326 = load i32, ptr %325, align 4, !tbaa !45
%327 = load i32, ptr %0, align 8, !tbaa !46
%328 = call i32 @svn_wc__diff_local_only_dir(ptr noundef %12, ptr noundef %1, ptr noundef %123, i32 noundef %120, ptr noundef %294, ptr noundef %317, ptr noundef %323, i64 noundef %324, i32 noundef %326, i32 noundef %327, ptr noundef %3) #3
%329 = call i32 @SVN_ERR(i32 noundef %328) #3
br label %330
330: ; preds = %228, %239, %250, %236, %304, %322, %312, %282, %280
%331 = load i64, ptr @svn_node_dir, align 8, !tbaa !17
%332 = icmp ne i64 %119, %331
%333 = or i64 %181, %180
%334 = icmp eq i64 %333, 0
%335 = select i1 %332, i1 true, i1 %334
br i1 %335, label %341, label %336
336: ; preds = %330
%337 = load i64, ptr @TRUE, align 8, !tbaa !17
%338 = call i32 @ensure_state(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %337, ptr noundef %3) #3
%339 = call i32 @SVN_ERR(i32 noundef %338) #3
br label %341
340: ; preds = %143
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
br label %343
341: ; preds = %336, %330
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
%342 = load ptr, ptr @SVN_NO_ERROR, align 8
br label %343
343: ; preds = %341, %340, %115, %40, %31, %16
%344 = phi ptr [ %32, %31 ], [ %116, %115 ], [ %41, %40 ], [ %17, %16 ], [ %342, %341 ], [ %154, %340 ]
ret ptr %344
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @svn_dirent_is_ancestor(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_pool_clear(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
declare i32 @ensure_state(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_dirent_dirname(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_dirent_skip_ancestor(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_read_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_base_get_info(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_base_only_file(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_base_only_dir(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_base_working_diff(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_base_get_props(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_read_props(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_prop_diffs(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_local_only_file(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__diff_local_only_dir(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 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, !11, i64 32}
!7 = !{!"diff_baton", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !8, i64 40}
!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 44}
!13 = !{!"TYPE_10__", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !11, i64 32, !8, i64 40, !8, i64 44}
!14 = !{!"long", !9, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!13, !14, i64 0}
!17 = !{!14, !14, i64 0}
!18 = !{!13, !14, i64 8}
!19 = !{!13, !14, i64 16}
!20 = !{!13, !8, i64 40}
!21 = !{!7, !11, i64 8}
!22 = !{!23, !8, i64 64}
!23 = !{!"node_state_t", !11, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !14, i64 32, !11, i64 40, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64}
!24 = !{!23, !8, i64 60}
!25 = !{!23, !11, i64 8}
!26 = !{!7, !11, i64 16}
!27 = !{!28, !11, i64 8}
!28 = !{!"TYPE_11__", !11, i64 0, !11, i64 8}
!29 = !{!23, !8, i64 56}
!30 = !{!23, !8, i64 52}
!31 = !{!23, !8, i64 48}
!32 = !{!23, !8, i64 20}
!33 = !{!23, !8, i64 24}
!34 = !{!23, !11, i64 0}
!35 = !{!23, !8, i64 16}
!36 = !{!28, !11, i64 0}
!37 = !{!23, !11, i64 40}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = !{!23, !14, i64 32}
!41 = !{!13, !14, i64 24}
!42 = !{!8, !8, i64 0}
!43 = !{!7, !8, i64 24}
!44 = !{!7, !8, i64 40}
!45 = !{!7, !8, i64 4}
!46 = !{!7, !8, i64 0}
!47 = !{!13, !11, i64 32}
| freebsd_contrib_subversion_subversion_libsvn_wc_extr_diff_local.c_diff_status_callback |
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/extr_rtl8366.c_rtl8366_get_sset_count.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/extr_rtl8366.c_rtl8366_get_sset_count.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.realtek_smi = type { i32, i32 }
@ETH_SS_STATS = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = 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 @rtl8366_get_sset_count(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load i32, ptr @ETH_SS_STATS, align 4, !tbaa !10
%6 = icmp eq i32 %5, %2
br i1 %6, label %7, label %16
7: ; preds = %3
%8 = load i32, ptr %4, align 4, !tbaa !12
%9 = icmp sgt i32 %8, %1
br i1 %9, label %13, label %10
10: ; preds = %7
%11 = load i32, ptr @EINVAL, align 4, !tbaa !10
%12 = sub nsw i32 0, %11
br label %16
13: ; preds = %7
%14 = getelementptr inbounds %struct.realtek_smi, ptr %4, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !14
br label %16
16: ; preds = %3, %13, %10
%17 = phi i32 [ %12, %10 ], [ %15, %13 ], [ 0, %3 ]
ret i32 %17
}
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 = !{!"dsa_switch", !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 = !{!"realtek_smi", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/dsa/extr_rtl8366.c_rtl8366_get_sset_count.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/extr_rtl8366.c_rtl8366_get_sset_count.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETH_SS_STATS = common local_unnamed_addr global i32 0, align 4
@EINVAL = 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 @rtl8366_get_sset_count(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load i32, ptr @ETH_SS_STATS, align 4, !tbaa !11
%6 = icmp eq i32 %5, %2
br i1 %6, label %7, label %16
7: ; preds = %3
%8 = load i32, ptr %4, align 4, !tbaa !13
%9 = icmp sgt i32 %8, %1
br i1 %9, label %13, label %10
10: ; preds = %7
%11 = load i32, ptr @EINVAL, align 4, !tbaa !11
%12 = sub nsw i32 0, %11
br label %16
13: ; preds = %7
%14 = getelementptr inbounds i8, ptr %4, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !15
br label %16
16: ; preds = %3, %13, %10
%17 = phi i32 [ %12, %10 ], [ %15, %13 ], [ 0, %3 ]
ret i32 %17
}
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 = !{!"dsa_switch", !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 = !{!"realtek_smi", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 4}
| linux_drivers_net_dsa_extr_rtl8366.c_rtl8366_get_sset_count |
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_clone_destroy.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_clone_destroy.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"
@ipsec_ioctl_sx = dso_local global i32 0, align 4
@idhash = dso_local local_unnamed_addr global i32 0, align 4
@M_IPSEC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipsec_clone_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ipsec_clone_destroy(ptr noundef %0) #0 {
%2 = tail call i32 @sx_xlock(ptr noundef nonnull @ipsec_ioctl_sx) #2
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @ipsec_delete_tunnel(ptr noundef %3) #2
%5 = load i64, ptr %3, align 8, !tbaa !10
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %1
%8 = load i32, ptr @idhash, align 4, !tbaa !13
%9 = tail call i32 @CK_LIST_REMOVE(ptr noundef nonnull %3, i32 noundef %8) #2
br label %10
10: ; preds = %7, %1
%11 = tail call i32 @bpfdetach(ptr noundef nonnull %0) #2
%12 = tail call i32 @if_detach(ptr noundef nonnull %0) #2
store ptr null, ptr %0, align 8, !tbaa !5
%13 = tail call i32 @sx_xunlock(ptr noundef nonnull @ipsec_ioctl_sx) #2
%14 = tail call i32 (...) @IPSEC_WAIT() #2
%15 = tail call i32 @if_free(ptr noundef nonnull %0) #2
%16 = load i32, ptr @M_IPSEC, align 4, !tbaa !13
%17 = tail call i32 @free(ptr noundef nonnull %3, i32 noundef %16) #2
ret void
}
declare i32 @sx_xlock(ptr noundef) local_unnamed_addr #1
declare i32 @ipsec_delete_tunnel(ptr noundef) local_unnamed_addr #1
declare i32 @CK_LIST_REMOVE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bpfdetach(ptr noundef) local_unnamed_addr #1
declare i32 @if_detach(ptr noundef) local_unnamed_addr #1
declare i32 @sx_xunlock(ptr noundef) local_unnamed_addr #1
declare i32 @IPSEC_WAIT(...) local_unnamed_addr #1
declare i32 @if_free(ptr noundef) local_unnamed_addr #1
declare i32 @free(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, !7, i64 0}
!6 = !{!"ifnet", !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 = !{!"ipsec_softc", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_clone_destroy.c'
source_filename = "AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_clone_destroy.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ipsec_ioctl_sx = common global i32 0, align 4
@idhash = common local_unnamed_addr global i32 0, align 4
@M_IPSEC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipsec_clone_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ipsec_clone_destroy(ptr noundef %0) #0 {
%2 = tail call i32 @sx_xlock(ptr noundef nonnull @ipsec_ioctl_sx) #2
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @ipsec_delete_tunnel(ptr noundef %3) #2
%5 = load i64, ptr %3, align 8, !tbaa !11
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %1
%8 = load i32, ptr @idhash, align 4, !tbaa !14
%9 = tail call i32 @CK_LIST_REMOVE(ptr noundef nonnull %3, i32 noundef %8) #2
br label %10
10: ; preds = %7, %1
%11 = tail call i32 @bpfdetach(ptr noundef nonnull %0) #2
%12 = tail call i32 @if_detach(ptr noundef nonnull %0) #2
store ptr null, ptr %0, align 8, !tbaa !6
%13 = tail call i32 @sx_xunlock(ptr noundef nonnull @ipsec_ioctl_sx) #2
%14 = tail call i32 @IPSEC_WAIT() #2
%15 = tail call i32 @if_free(ptr noundef nonnull %0) #2
%16 = load i32, ptr @M_IPSEC, align 4, !tbaa !14
%17 = tail call i32 @free(ptr noundef nonnull %3, i32 noundef %16) #2
ret void
}
declare i32 @sx_xlock(ptr noundef) local_unnamed_addr #1
declare i32 @ipsec_delete_tunnel(ptr noundef) local_unnamed_addr #1
declare i32 @CK_LIST_REMOVE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bpfdetach(ptr noundef) local_unnamed_addr #1
declare i32 @if_detach(ptr noundef) local_unnamed_addr #1
declare i32 @sx_xunlock(ptr noundef) local_unnamed_addr #1
declare i32 @IPSEC_WAIT(...) local_unnamed_addr #1
declare i32 @if_free(ptr noundef) local_unnamed_addr #1
declare i32 @free(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, !8, i64 0}
!7 = !{!"ifnet", !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 = !{!"ipsec_softc", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| freebsd_sys_net_extr_if_ipsec.c_ipsec_clone_destroy |
; ModuleID = 'AnghaBench/linux/drivers/ide/extr_cmd640.c_get_cmd640_reg_pci2.c'
source_filename = "AnghaBench/linux/drivers/ide/extr_cmd640.c_get_cmd640_reg_pci2.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"
@cmd640_key = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_cmd640_reg_pci2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_cmd640_reg_pci2(i64 noundef %0) #0 {
%2 = tail call i32 @outb_p(i32 noundef 16, i32 noundef 3320) #2
%3 = load i64, ptr @cmd640_key, align 8, !tbaa !5
%4 = add nsw i64 %3, %0
%5 = tail call i32 @inb_p(i64 noundef %4) #2
%6 = tail call i32 @outb_p(i32 noundef 0, i32 noundef 3320) #2
ret i32 %5
}
declare i32 @outb_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inb_p(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"}
| ; ModuleID = 'AnghaBench/linux/drivers/ide/extr_cmd640.c_get_cmd640_reg_pci2.c'
source_filename = "AnghaBench/linux/drivers/ide/extr_cmd640.c_get_cmd640_reg_pci2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@cmd640_key = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @get_cmd640_reg_pci2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_cmd640_reg_pci2(i64 noundef %0) #0 {
%2 = tail call i32 @outb_p(i32 noundef 16, i32 noundef 3320) #2
%3 = load i64, ptr @cmd640_key, align 8, !tbaa !6
%4 = add nsw i64 %3, %0
%5 = tail call i32 @inb_p(i64 noundef %4) #2
%6 = tail call i32 @outb_p(i32 noundef 0, i32 noundef 3320) #2
ret i32 %5
}
declare i32 @outb_p(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inb_p(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"}
| linux_drivers_ide_extr_cmd640.c_get_cmd640_reg_pci2 |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_uncore.h_uncore_num_counters.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_uncore.h_uncore_num_counters.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 @uncore_num_counters], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @uncore_num_counters(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load i32, ptr %3, align 4, !tbaa !12
ret i32 %4
}
attributes #0 = { inlinehint 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 = !{!"intel_uncore_box", !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_4__", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_uncore.h_uncore_num_counters.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_uncore.h_uncore_num_counters.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 @uncore_num_counters], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @uncore_num_counters(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load i32, ptr %3, align 4, !tbaa !13
ret i32 %4
}
attributes #0 = { inlinehint 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 = !{!"intel_uncore_box", !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_4__", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_3__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
| fastsocket_kernel_arch_x86_kernel_cpu_extr_perf_event_intel_uncore.h_uncore_num_counters |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_reload.c_push_replacement.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_reload.c_push_replacement.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.replacement = type { i32, i32, i64, ptr }
@replace_reloads = dso_local local_unnamed_addr global i64 0, align 8
@replacements = dso_local local_unnamed_addr global ptr null, align 8
@n_replacements = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @push_replacement], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable
define internal void @push_replacement(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr @replace_reloads, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %3
%7 = load ptr, ptr @replacements, align 8, !tbaa !9
%8 = load i32, ptr @n_replacements, align 4, !tbaa !11
%9 = add nsw i32 %8, 1
store i32 %9, ptr @n_replacements, align 4, !tbaa !11
%10 = sext i32 %8 to i64
%11 = getelementptr inbounds %struct.replacement, ptr %7, i64 %10
store i32 %1, ptr %11, align 8, !tbaa !13
%12 = getelementptr inbounds %struct.replacement, ptr %7, i64 %10, i32 3
store ptr %0, ptr %12, align 8, !tbaa !15
%13 = getelementptr inbounds %struct.replacement, ptr %7, i64 %10, i32 2
store i64 0, ptr %13, align 8, !tbaa !16
%14 = getelementptr inbounds %struct.replacement, ptr %7, i64 %10, i32 1
store i32 %2, ptr %14, align 4, !tbaa !17
br label %15
15: ; preds = %6, %3
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, 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"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"replacement", !12, i64 0, !12, i64 4, !6, i64 8, !10, i64 16}
!15 = !{!14, !10, i64 16}
!16 = !{!14, !6, i64 8}
!17 = !{!14, !12, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_reload.c_push_replacement.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_reload.c_push_replacement.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.replacement = type { i32, i32, i64, ptr }
@replace_reloads = common local_unnamed_addr global i64 0, align 8
@replacements = common local_unnamed_addr global ptr null, align 8
@n_replacements = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @push_replacement], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal void @push_replacement(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr @replace_reloads, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %15, label %6
6: ; preds = %3
%7 = load ptr, ptr @replacements, align 8, !tbaa !10
%8 = load i32, ptr @n_replacements, align 4, !tbaa !12
%9 = add nsw i32 %8, 1
store i32 %9, ptr @n_replacements, align 4, !tbaa !12
%10 = sext i32 %8 to i64
%11 = getelementptr inbounds %struct.replacement, ptr %7, i64 %10
store i32 %1, ptr %11, align 8, !tbaa !14
%12 = getelementptr inbounds i8, ptr %11, i64 16
store ptr %0, ptr %12, align 8, !tbaa !16
%13 = getelementptr inbounds i8, ptr %11, i64 8
store i64 0, ptr %13, align 8, !tbaa !17
%14 = getelementptr inbounds i8, ptr %11, i64 4
store i32 %2, ptr %14, align 4, !tbaa !18
br label %15
15: ; preds = %6, %3
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, 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"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"replacement", !13, i64 0, !13, i64 4, !7, i64 8, !11, i64 16}
!16 = !{!15, !11, i64 16}
!17 = !{!15, !7, i64 8}
!18 = !{!15, !13, i64 4}
| freebsd_contrib_gcc_extr_reload.c_push_replacement |
; ModuleID = 'AnghaBench/mimikatz/mimikatz/modules/kerberos/extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_unicode_string.c'
source_filename = "AnghaBench/mimikatz/mimikatz/modules/kerberos/extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_unicode_string.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, i64 }
%struct.TYPE_7__ = type { i32, i32, i64 }
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@LPTR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @kuhl_m_kerberos_ccache_unicode_string(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_6__, align 8
%4 = load i32, ptr @FALSE, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%5 = load i64, ptr %0, align 8, !tbaa !9
%6 = inttoptr i64 %5 to ptr
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call i64 @_byteswap_ulong(i32 noundef %7) #3
%9 = trunc i64 %8 to i32
%10 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1
store i32 %9, ptr %10, align 4, !tbaa !11
store i32 %9, ptr %3, align 8, !tbaa !13
%11 = load i64, ptr %0, align 8, !tbaa !9
%12 = add i64 %11, 4
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 2
store i64 %12, ptr %13, align 8, !tbaa !14
%14 = shl i64 %8, 32
%15 = ashr exact i64 %14, 32
%16 = add nsw i64 %12, %15
store i64 %16, ptr %0, align 8, !tbaa !9
%17 = shl i32 %9, 2
store i32 %17, ptr %1, align 8, !tbaa !15
%18 = add i32 %17, 4
%19 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1
store i32 %18, ptr %19, align 4, !tbaa !17
%20 = load i32, ptr @LPTR, align 4, !tbaa !5
%21 = tail call i64 @LocalAlloc(i32 noundef %20, i32 noundef %18) #3
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 2
store i64 %21, ptr %22, align 8, !tbaa !18
%23 = icmp eq i64 %21, 0
br i1 %23, label %32, label %24
24: ; preds = %2
%25 = load i32, ptr @FALSE, align 4, !tbaa !5
%26 = call i32 @RtlAnsiStringToUnicodeString(ptr noundef nonnull %1, ptr noundef nonnull %3, i32 noundef %25) #3
%27 = call i32 @NT_SUCCESS(i32 noundef %26) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = load i64, ptr %22, align 8, !tbaa !18
%31 = call i32 @LocalFree(i64 noundef %30) #3
br label %32
32: ; preds = %24, %29, %2
%33 = phi i32 [ %27, %24 ], [ 0, %29 ], [ %4, %2 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @_byteswap_ulong(i32 noundef) local_unnamed_addr #2
declare i64 @LocalAlloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @RtlAnsiStringToUnicodeString(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LocalFree(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 = !{!"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, !6, i64 4}
!12 = !{!"TYPE_6__", !6, i64 0, !6, i64 4, !10, i64 8}
!13 = !{!12, !6, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_7__", !6, i64 0, !6, i64 4, !10, i64 8}
!17 = !{!16, !6, i64 4}
!18 = !{!16, !10, i64 8}
| ; ModuleID = 'AnghaBench/mimikatz/mimikatz/modules/kerberos/extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_unicode_string.c'
source_filename = "AnghaBench/mimikatz/mimikatz/modules/kerberos/extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_unicode_string.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, i64 }
@FALSE = common local_unnamed_addr global i32 0, align 4
@LPTR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @kuhl_m_kerberos_ccache_unicode_string(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca %struct.TYPE_6__, align 8
%4 = load i32, ptr @FALSE, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%5 = load i64, ptr %0, align 8, !tbaa !10
%6 = inttoptr i64 %5 to ptr
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call i64 @_byteswap_ulong(i32 noundef %7) #3
%9 = trunc i64 %8 to i32
%10 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %9, ptr %10, align 4, !tbaa !12
store i32 %9, ptr %3, align 8, !tbaa !14
%11 = load i64, ptr %0, align 8, !tbaa !10
%12 = add i64 %11, 4
%13 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %12, ptr %13, align 8, !tbaa !15
%14 = shl i64 %8, 32
%15 = ashr exact i64 %14, 32
%16 = add nsw i64 %12, %15
store i64 %16, ptr %0, align 8, !tbaa !10
%17 = shl i32 %9, 2
store i32 %17, ptr %1, align 8, !tbaa !16
%18 = add i32 %17, 4
%19 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %18, ptr %19, align 4, !tbaa !18
%20 = load i32, ptr @LPTR, align 4, !tbaa !6
%21 = tail call i64 @LocalAlloc(i32 noundef %20, i32 noundef %18) #3
%22 = getelementptr inbounds i8, ptr %1, i64 8
store i64 %21, ptr %22, align 8, !tbaa !19
%23 = icmp eq i64 %21, 0
br i1 %23, label %32, label %24
24: ; preds = %2
%25 = load i32, ptr @FALSE, align 4, !tbaa !6
%26 = call i32 @RtlAnsiStringToUnicodeString(ptr noundef nonnull %1, ptr noundef nonnull %3, i32 noundef %25) #3
%27 = call i32 @NT_SUCCESS(i32 noundef %26) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = load i64, ptr %22, align 8, !tbaa !19
%31 = call i32 @LocalFree(i64 noundef %30) #3
br label %32
32: ; preds = %24, %29, %2
%33 = phi i32 [ %27, %24 ], [ 0, %29 ], [ %4, %2 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %33
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @_byteswap_ulong(i32 noundef) local_unnamed_addr #2
declare i64 @LocalAlloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @NT_SUCCESS(i32 noundef) local_unnamed_addr #2
declare i32 @RtlAnsiStringToUnicodeString(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @LocalFree(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 = !{!"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, !7, i64 4}
!13 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !11, i64 8}
!14 = !{!13, !7, i64 0}
!15 = !{!13, !11, i64 8}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !11, i64 8}
!18 = !{!17, !7, i64 4}
!19 = !{!17, !11, i64 8}
| mimikatz_mimikatz_modules_kerberos_extr_kuhl_m_kerberos_ccache.c_kuhl_m_kerberos_ccache_unicode_string |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_common.c_ixgbe_shift_in_eeprom_bits.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_common.c_ixgbe_shift_in_eeprom_bits.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"
@IXGBE_EEC = dso_local local_unnamed_addr global i32 0, align 4
@IXGBE_EEC_DO = dso_local local_unnamed_addr global i64 0, align 8
@IXGBE_EEC_DI = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbe_shift_in_eeprom_bits], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @ixgbe_shift_in_eeprom_bits(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i32, ptr @IXGBE_EEC, align 4, !tbaa !5
%5 = tail call i64 @IXGBE_READ_REG(ptr noundef %0, i32 noundef %4) #3
%6 = load i64, ptr @IXGBE_EEC_DO, align 8, !tbaa !9
%7 = load i64, ptr @IXGBE_EEC_DI, align 8, !tbaa !9
%8 = or i64 %7, %6
%9 = xor i64 %8, -1
%10 = and i64 %5, %9
store i64 %10, ptr %3, align 8, !tbaa !9
%11 = icmp sgt i64 %1, 0
br i1 %11, label %12, label %30
12: ; preds = %2, %12
%13 = phi i64 [ %26, %12 ], [ 0, %2 ]
%14 = phi i64 [ %28, %12 ], [ 0, %2 ]
%15 = shl i64 %13, 1
%16 = call i32 @ixgbe_raise_eeprom_clk(ptr noundef %0, ptr noundef nonnull %3) #3
%17 = load i32, ptr @IXGBE_EEC, align 4, !tbaa !5
%18 = call i64 @IXGBE_READ_REG(ptr noundef %0, i32 noundef %17) #3
%19 = load i64, ptr @IXGBE_EEC_DI, align 8, !tbaa !9
%20 = xor i64 %19, -1
%21 = and i64 %18, %20
store i64 %21, ptr %3, align 8, !tbaa !9
%22 = load i64, ptr @IXGBE_EEC_DO, align 8, !tbaa !9
%23 = and i64 %22, %21
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i64
%26 = or disjoint i64 %15, %25
%27 = call i32 @ixgbe_lower_eeprom_clk(ptr noundef %0, ptr noundef nonnull %3) #3
%28 = add nuw nsw i64 %14, 1
%29 = icmp eq i64 %28, %1
br i1 %29, label %30, label %12, !llvm.loop !11
30: ; preds = %12, %2
%31 = phi i64 [ 0, %2 ], [ %26, %12 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i64 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @IXGBE_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ixgbe_raise_eeprom_clk(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ixgbe_lower_eeprom_clk(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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_common.c_ixgbe_shift_in_eeprom_bits.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_common.c_ixgbe_shift_in_eeprom_bits.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IXGBE_EEC = common local_unnamed_addr global i32 0, align 4
@IXGBE_EEC_DO = common local_unnamed_addr global i64 0, align 8
@IXGBE_EEC_DI = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ixgbe_shift_in_eeprom_bits], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @ixgbe_shift_in_eeprom_bits(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load i32, ptr @IXGBE_EEC, align 4, !tbaa !6
%5 = tail call i64 @IXGBE_READ_REG(ptr noundef %0, i32 noundef %4) #3
%6 = load i64, ptr @IXGBE_EEC_DO, align 8, !tbaa !10
%7 = load i64, ptr @IXGBE_EEC_DI, align 8, !tbaa !10
%8 = or i64 %7, %6
%9 = xor i64 %8, -1
%10 = and i64 %5, %9
store i64 %10, ptr %3, align 8, !tbaa !10
%11 = icmp sgt i64 %1, 0
br i1 %11, label %12, label %30
12: ; preds = %2, %12
%13 = phi i64 [ %26, %12 ], [ 0, %2 ]
%14 = phi i64 [ %28, %12 ], [ 0, %2 ]
%15 = shl i64 %13, 1
%16 = call i32 @ixgbe_raise_eeprom_clk(ptr noundef %0, ptr noundef nonnull %3) #3
%17 = load i32, ptr @IXGBE_EEC, align 4, !tbaa !6
%18 = call i64 @IXGBE_READ_REG(ptr noundef %0, i32 noundef %17) #3
%19 = load i64, ptr @IXGBE_EEC_DI, align 8, !tbaa !10
%20 = xor i64 %19, -1
%21 = and i64 %18, %20
store i64 %21, ptr %3, align 8, !tbaa !10
%22 = load i64, ptr @IXGBE_EEC_DO, align 8, !tbaa !10
%23 = and i64 %22, %21
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i64
%26 = or disjoint i64 %15, %25
%27 = call i32 @ixgbe_lower_eeprom_clk(ptr noundef %0, ptr noundef nonnull %3) #3
%28 = add nuw nsw i64 %14, 1
%29 = icmp eq i64 %28, %1
br i1 %29, label %30, label %12, !llvm.loop !12
30: ; preds = %12, %2
%31 = phi i64 [ 0, %2 ], [ %26, %12 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i64 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @IXGBE_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ixgbe_raise_eeprom_clk(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ixgbe_lower_eeprom_clk(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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_net_ixgbe_extr_ixgbe_common.c_ixgbe_shift_in_eeprom_bits |
; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zpl_file.c_zpl_readdir.c'
source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zpl_file.c_zpl_readdir.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 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @zpl_readdir], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @zpl_readdir(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_4__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call i32 @ZPL_DIR_CONTEXT_INIT(ptr noundef %1, i32 noundef %2, i32 noundef %5) #3
store i32 %6, ptr %4, align 4
%7 = call i32 @zpl_iterate(ptr noundef nonnull %0, ptr noundef nonnull %4) #3
%8 = load i32, ptr %4, align 4, !tbaa !10
store i32 %8, ptr %0, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 i32 @ZPL_DIR_CONTEXT_INIT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @zpl_iterate(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, !7, i64 0}
!6 = !{!"file", !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 = !{!"TYPE_4__", !7, i64 0}
| ; ModuleID = 'AnghaBench/zfs/module/os/linux/zfs/extr_zpl_file.c_zpl_readdir.c'
source_filename = "AnghaBench/zfs/module/os/linux/zfs/extr_zpl_file.c_zpl_readdir.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @zpl_readdir], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @zpl_readdir(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_4__, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call i32 @ZPL_DIR_CONTEXT_INIT(ptr noundef %1, i32 noundef %2, i32 noundef %5) #3
store i32 %6, ptr %4, align 4
%7 = call i32 @zpl_iterate(ptr noundef nonnull %0, ptr noundef nonnull %4) #3
%8 = load i32, ptr %4, align 4, !tbaa !11
store i32 %8, ptr %0, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 i32 @ZPL_DIR_CONTEXT_INIT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @zpl_iterate(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, !8, i64 0}
!7 = !{!"file", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_4__", !8, i64 0}
| zfs_module_os_linux_zfs_extr_zpl_file.c_zpl_readdir |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_raid5.c_raid5_takeover_raid6.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_raid5.c_raid5_takeover_raid6.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.mddev = type { i32, i32, i32, i32, i32 }
@ALGORITHM_LEFT_ASYMMETRIC = dso_local local_unnamed_addr global i32 0, align 4
@ALGORITHM_RIGHT_ASYMMETRIC = dso_local local_unnamed_addr global i32 0, align 4
@ALGORITHM_LEFT_SYMMETRIC = dso_local local_unnamed_addr global i32 0, align 4
@ALGORITHM_RIGHT_SYMMETRIC = dso_local local_unnamed_addr global i32 0, align 4
@ALGORITHM_PARITY_0 = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @raid5_takeover_raid6], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @raid5_takeover_raid6(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %2, label %13 [
i32 133, label %3
i32 129, label %5
i32 132, label %7
i32 128, label %9
i32 131, label %11
i32 130, label %17
]
3: ; preds = %1
%4 = load i32, ptr @ALGORITHM_LEFT_ASYMMETRIC, align 4, !tbaa !10
br label %17
5: ; preds = %1
%6 = load i32, ptr @ALGORITHM_RIGHT_ASYMMETRIC, align 4, !tbaa !10
br label %17
7: ; preds = %1
%8 = load i32, ptr @ALGORITHM_LEFT_SYMMETRIC, align 4, !tbaa !10
br label %17
9: ; preds = %1
%10 = load i32, ptr @ALGORITHM_RIGHT_SYMMETRIC, align 4, !tbaa !10
br label %17
11: ; preds = %1
%12 = load i32, ptr @ALGORITHM_PARITY_0, align 4, !tbaa !10
br label %17
13: ; preds = %1
%14 = load i32, ptr @EINVAL, align 4, !tbaa !10
%15 = sub nsw i32 0, %14
%16 = tail call ptr @ERR_PTR(i32 noundef %15) #2
br label %26
17: ; preds = %1, %11, %9, %7, %5, %3
%18 = phi i32 [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ], [ %4, %3 ], [ %2, %1 ]
%19 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 1
store i32 5, ptr %19, align 4, !tbaa !11
%20 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 2
store i32 %18, ptr %20, align 4, !tbaa !12
%21 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 3
store i32 -1, ptr %21, align 4, !tbaa !13
%22 = getelementptr inbounds %struct.mddev, ptr %0, i64 0, i32 4
%23 = load i32, ptr %22, align 4, !tbaa !14
%24 = add nsw i32 %23, -1
store i32 %24, ptr %22, align 4, !tbaa !14
%25 = tail call ptr @setup_conf(ptr noundef nonnull %0) #2
br label %26
26: ; preds = %17, %13
%27 = phi ptr [ %16, %13 ], [ %25, %17 ]
ret ptr %27
}
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @setup_conf(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 = !{!"mddev", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_raid5.c_raid5_takeover_raid6.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_raid5.c_raid5_takeover_raid6.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ALGORITHM_LEFT_ASYMMETRIC = common local_unnamed_addr global i32 0, align 4
@ALGORITHM_RIGHT_ASYMMETRIC = common local_unnamed_addr global i32 0, align 4
@ALGORITHM_LEFT_SYMMETRIC = common local_unnamed_addr global i32 0, align 4
@ALGORITHM_RIGHT_SYMMETRIC = common local_unnamed_addr global i32 0, align 4
@ALGORITHM_PARITY_0 = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @raid5_takeover_raid6], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @raid5_takeover_raid6(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %2, label %13 [
i32 133, label %3
i32 129, label %5
i32 132, label %7
i32 128, label %9
i32 131, label %11
i32 130, label %17
]
3: ; preds = %1
%4 = load i32, ptr @ALGORITHM_LEFT_ASYMMETRIC, align 4, !tbaa !11
br label %17
5: ; preds = %1
%6 = load i32, ptr @ALGORITHM_RIGHT_ASYMMETRIC, align 4, !tbaa !11
br label %17
7: ; preds = %1
%8 = load i32, ptr @ALGORITHM_LEFT_SYMMETRIC, align 4, !tbaa !11
br label %17
9: ; preds = %1
%10 = load i32, ptr @ALGORITHM_RIGHT_SYMMETRIC, align 4, !tbaa !11
br label %17
11: ; preds = %1
%12 = load i32, ptr @ALGORITHM_PARITY_0, align 4, !tbaa !11
br label %17
13: ; preds = %1
%14 = load i32, ptr @EINVAL, align 4, !tbaa !11
%15 = sub nsw i32 0, %14
%16 = tail call ptr @ERR_PTR(i32 noundef %15) #2
br label %26
17: ; preds = %1, %11, %9, %7, %5, %3
%18 = phi i32 [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ], [ %4, %3 ], [ %2, %1 ]
%19 = getelementptr inbounds i8, ptr %0, i64 4
store i32 5, ptr %19, align 4, !tbaa !12
%20 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %18, ptr %20, align 4, !tbaa !13
%21 = getelementptr inbounds i8, ptr %0, i64 12
store i32 -1, ptr %21, align 4, !tbaa !14
%22 = getelementptr inbounds i8, ptr %0, i64 16
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = add nsw i32 %23, -1
store i32 %24, ptr %22, align 4, !tbaa !15
%25 = tail call ptr @setup_conf(ptr noundef nonnull %0) #2
br label %26
26: ; preds = %17, %13
%27 = phi ptr [ %16, %13 ], [ %25, %17 ]
ret ptr %27
}
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare ptr @setup_conf(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 = !{!"mddev", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 12}
!15 = !{!7, !8, i64 16}
| fastsocket_kernel_drivers_md_extr_raid5.c_raid5_takeover_raid6 |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_gengtype.c_write_rtx_next.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_gengtype.c_write_rtx_next.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 [47 x i8] c"\0A/* Used to implement the RTX_NEXT macro. */\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"const unsigned char rtx_next[NUM_RTX_CODE] = {\0A\00", align 1
@NUM_RTX_CODE = dso_local local_unnamed_addr global i32 0, align 4
@rtx_next_new = dso_local local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [6 x i8] c" 0,\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c" RTX_HDR_SIZE + %d * sizeof (rtunion),\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @write_rtx_next], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @write_rtx_next() #0 {
%1 = tail call i32 @get_output_file_with_visibility(ptr noundef null) #2
%2 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str) #2
%3 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str.1) #2
%4 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %21
6: ; preds = %0, %16
%7 = phi i64 [ %17, %16 ], [ 0, %0 ]
%8 = load ptr, ptr @rtx_next_new, align 8, !tbaa !9
%9 = getelementptr inbounds i32, ptr %8, i64 %7
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %6
%13 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str.2) #2
br label %16
14: ; preds = %6
%15 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str.3, i32 noundef %10) #2
br label %16
16: ; preds = %12, %14
%17 = add nuw nsw i64 %7, 1
%18 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !5
%19 = sext i32 %18 to i64
%20 = icmp slt i64 %17, %19
br i1 %20, label %6, label %21, !llvm.loop !11
21: ; preds = %16, %0
%22 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str.4) #2
ret void
}
declare i32 @get_output_file_with_visibility(ptr noundef) local_unnamed_addr #1
declare i32 @oprintf(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, !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"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_gengtype.c_write_rtx_next.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_gengtype.c_write_rtx_next.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 [47 x i8] c"\0A/* Used to implement the RTX_NEXT macro. */\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"const unsigned char rtx_next[NUM_RTX_CODE] = {\0A\00", align 1
@NUM_RTX_CODE = common local_unnamed_addr global i32 0, align 4
@rtx_next_new = common local_unnamed_addr global ptr null, align 8
@.str.2 = private unnamed_addr constant [6 x i8] c" 0,\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c" RTX_HDR_SIZE + %d * sizeof (rtunion),\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @write_rtx_next], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @write_rtx_next() #0 {
%1 = tail call i32 @get_output_file_with_visibility(ptr noundef null) #2
%2 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str) #2
%3 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str.1) #2
%4 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %21
6: ; preds = %0, %16
%7 = phi i64 [ %17, %16 ], [ 0, %0 ]
%8 = load ptr, ptr @rtx_next_new, align 8, !tbaa !10
%9 = getelementptr inbounds i32, ptr %8, i64 %7
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %6
%13 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str.2) #2
br label %16
14: ; preds = %6
%15 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str.3, i32 noundef %10) #2
br label %16
16: ; preds = %12, %14
%17 = add nuw nsw i64 %7, 1
%18 = load i32, ptr @NUM_RTX_CODE, align 4, !tbaa !6
%19 = sext i32 %18 to i64
%20 = icmp slt i64 %17, %19
br i1 %20, label %6, label %21, !llvm.loop !12
21: ; preds = %16, %0
%22 = tail call i32 (i32, ptr, ...) @oprintf(i32 noundef %1, ptr noundef nonnull @.str.4) #2
ret void
}
declare i32 @get_output_file_with_visibility(ptr noundef) local_unnamed_addr #1
declare i32 @oprintf(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, !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"}
| freebsd_contrib_gcc_extr_gengtype.c_write_rtx_next |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov5670.c_ov5670_set_pad_format.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov5670.c_ov5670_set_pad_format.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.v4l2_subdev_format = type { i64, %struct.TYPE_3__, i32 }
%struct.TYPE_3__ = type { i32, i32, i32 }
%struct.ov5670 = type { i32, i32, ptr, i32, i32, i32 }
%struct.TYPE_4__ = type { i32 }
%struct.ov5670_mode = type { i64, i64, i64, i64, i64 }
@MEDIA_BUS_FMT_SGRBG10_1X10 = dso_local local_unnamed_addr global i32 0, align 4
@supported_modes = dso_local local_unnamed_addr global i32 0, align 4
@width = dso_local local_unnamed_addr global i32 0, align 4
@height = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_SUBDEV_FORMAT_TRY = dso_local local_unnamed_addr global i64 0, align 8
@link_freq_configs = dso_local local_unnamed_addr global ptr null, align 8
@OV5670_VTS_MAX = dso_local local_unnamed_addr global i64 0, align 8
@OV5670_FIXED_PPL = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ov5670_set_pad_format], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ov5670_set_pad_format(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_ov5670(ptr noundef %0) #3
%5 = tail call i32 @mutex_lock(ptr noundef %4) #3
%6 = load i32, ptr @MEDIA_BUS_FMT_SGRBG10_1X10, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 1
%8 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 1, i32 2
store i32 %6, ptr %8, align 8, !tbaa !9
%9 = load i32, ptr @supported_modes, align 4, !tbaa !5
%10 = tail call i32 @ARRAY_SIZE(i32 noundef %9) #3
%11 = load i32, ptr @width, align 4, !tbaa !5
%12 = load i32, ptr @height, align 4, !tbaa !5
%13 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 1, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = load i32, ptr %7, align 8, !tbaa !14
%16 = tail call ptr @v4l2_find_nearest_size(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %14, i32 noundef %15) #3
%17 = tail call i32 @ov5670_update_pad_format(ptr noundef %16, ptr noundef %2) #3
%18 = load i64, ptr %2, align 8, !tbaa !15
%19 = load i64, ptr @V4L2_SUBDEV_FORMAT_TRY, align 8, !tbaa !16
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %3
%22 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 2
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = tail call ptr @v4l2_subdev_get_try_format(ptr noundef %0, ptr noundef %1, i32 noundef %23) #3
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 8 dereferenceable(12) %7, i64 12, i1 false), !tbaa.struct !18
br label %62
25: ; preds = %3
%26 = getelementptr inbounds %struct.ov5670, ptr %4, i64 0, i32 2
store ptr %16, ptr %26, align 8, !tbaa !19
%27 = getelementptr inbounds %struct.ov5670, ptr %4, i64 0, i32 5
%28 = load i32, ptr %27, align 8, !tbaa !22
%29 = load i64, ptr %16, align 8, !tbaa !23
%30 = tail call i32 @__v4l2_ctrl_s_ctrl(i32 noundef %28, i64 noundef %29) #3
%31 = getelementptr inbounds %struct.ov5670, ptr %4, i64 0, i32 4
%32 = load i32, ptr %31, align 4, !tbaa !25
%33 = load ptr, ptr @link_freq_configs, align 8, !tbaa !26
%34 = load i64, ptr %16, align 8, !tbaa !23
%35 = getelementptr inbounds %struct.TYPE_4__, ptr %33, i64 %34
%36 = load i32, ptr %35, align 4, !tbaa !27
%37 = tail call i32 @__v4l2_ctrl_s_ctrl_int64(i32 noundef %32, i32 noundef %36) #3
%38 = load ptr, ptr %26, align 8, !tbaa !19
%39 = getelementptr inbounds %struct.ov5670_mode, ptr %38, i64 0, i32 1
%40 = load i64, ptr %39, align 8, !tbaa !29
%41 = getelementptr inbounds %struct.ov5670_mode, ptr %38, i64 0, i32 2
%42 = load i64, ptr %41, align 8, !tbaa !30
%43 = sub i64 %40, %42
%44 = getelementptr inbounds %struct.ov5670, ptr %4, i64 0, i32 3
%45 = load i32, ptr %44, align 8, !tbaa !31
%46 = getelementptr inbounds %struct.ov5670_mode, ptr %38, i64 0, i32 3
%47 = load i64, ptr %46, align 8, !tbaa !32
%48 = sub i64 %47, %42
%49 = load i64, ptr @OV5670_VTS_MAX, align 8, !tbaa !16
%50 = sub i64 %49, %42
%51 = tail call i32 @__v4l2_ctrl_modify_range(i32 noundef %45, i64 noundef %48, i64 noundef %50, i32 noundef 1, i64 noundef %43) #3
%52 = load i32, ptr %44, align 8, !tbaa !31
%53 = tail call i32 @__v4l2_ctrl_s_ctrl(i32 noundef %52, i64 noundef %43) #3
%54 = load i64, ptr @OV5670_FIXED_PPL, align 8, !tbaa !16
%55 = load ptr, ptr %26, align 8, !tbaa !19
%56 = getelementptr inbounds %struct.ov5670_mode, ptr %55, i64 0, i32 4
%57 = load i64, ptr %56, align 8, !tbaa !33
%58 = sub i64 %54, %57
%59 = getelementptr inbounds %struct.ov5670, ptr %4, i64 0, i32 1
%60 = load i32, ptr %59, align 4, !tbaa !34
%61 = tail call i32 @__v4l2_ctrl_modify_range(i32 noundef %60, i64 noundef %58, i64 noundef %58, i32 noundef 1, i64 noundef %58) #3
br label %62
62: ; preds = %25, %21
%63 = tail call i32 @mutex_unlock(ptr noundef %4) #3
ret i32 0
}
declare ptr @to_ov5670(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @v4l2_find_nearest_size(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @ov5670_update_pad_format(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @v4l2_subdev_get_try_format(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @__v4l2_ctrl_s_ctrl(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__v4l2_ctrl_s_ctrl_int64(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__v4l2_ctrl_modify_range(i32 noundef, i64 noundef, i64 noundef, i32 noundef, i64 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 = { mustprogress nocallback nofree 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 16}
!10 = !{!"v4l2_subdev_format", !11, i64 0, !12, i64 8, !6, i64 20}
!11 = !{!"long", !7, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !6, i64 8}
!13 = !{!10, !6, i64 12}
!14 = !{!10, !6, i64 8}
!15 = !{!10, !11, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !6, i64 20}
!18 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5}
!19 = !{!20, !21, i64 8}
!20 = !{!"ov5670", !6, i64 0, !6, i64 4, !21, i64 8, !6, i64 16, !6, i64 20, !6, i64 24}
!21 = !{!"any pointer", !7, i64 0}
!22 = !{!20, !6, i64 24}
!23 = !{!24, !11, i64 0}
!24 = !{!"ov5670_mode", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!25 = !{!20, !6, i64 20}
!26 = !{!21, !21, i64 0}
!27 = !{!28, !6, i64 0}
!28 = !{!"TYPE_4__", !6, i64 0}
!29 = !{!24, !11, i64 8}
!30 = !{!24, !11, i64 16}
!31 = !{!20, !6, i64 16}
!32 = !{!24, !11, i64 24}
!33 = !{!24, !11, i64 32}
!34 = !{!20, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov5670.c_ov5670_set_pad_format.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov5670.c_ov5670_set_pad_format.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@MEDIA_BUS_FMT_SGRBG10_1X10 = common local_unnamed_addr global i32 0, align 4
@supported_modes = common local_unnamed_addr global i32 0, align 4
@width = common local_unnamed_addr global i32 0, align 4
@height = common local_unnamed_addr global i32 0, align 4
@V4L2_SUBDEV_FORMAT_TRY = common local_unnamed_addr global i64 0, align 8
@link_freq_configs = common local_unnamed_addr global ptr null, align 8
@OV5670_VTS_MAX = common local_unnamed_addr global i64 0, align 8
@OV5670_FIXED_PPL = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ov5670_set_pad_format], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ov5670_set_pad_format(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @to_ov5670(ptr noundef %0) #3
%5 = tail call i32 @mutex_lock(ptr noundef %4) #3
%6 = load i32, ptr @MEDIA_BUS_FMT_SGRBG10_1X10, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %2, i64 8
%8 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %6, ptr %8, align 8, !tbaa !10
%9 = load i32, ptr @supported_modes, align 4, !tbaa !6
%10 = tail call i32 @ARRAY_SIZE(i32 noundef %9) #3
%11 = load i32, ptr @width, align 4, !tbaa !6
%12 = load i32, ptr @height, align 4, !tbaa !6
%13 = getelementptr inbounds i8, ptr %2, i64 12
%14 = load i32, ptr %13, align 4, !tbaa !14
%15 = load i32, ptr %7, align 8, !tbaa !15
%16 = tail call ptr @v4l2_find_nearest_size(i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %14, i32 noundef %15) #3
%17 = tail call i32 @ov5670_update_pad_format(ptr noundef %16, ptr noundef %2) #3
%18 = load i64, ptr %2, align 8, !tbaa !16
%19 = load i64, ptr @V4L2_SUBDEV_FORMAT_TRY, align 8, !tbaa !17
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %3
%22 = getelementptr inbounds i8, ptr %2, i64 20
%23 = load i32, ptr %22, align 4, !tbaa !18
%24 = tail call ptr @v4l2_subdev_get_try_format(ptr noundef %0, ptr noundef %1, i32 noundef %23) #3
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 8 dereferenceable(12) %7, i64 12, i1 false), !tbaa.struct !19
br label %62
25: ; preds = %3
%26 = getelementptr inbounds i8, ptr %4, i64 8
store ptr %16, ptr %26, align 8, !tbaa !20
%27 = getelementptr inbounds i8, ptr %4, i64 24
%28 = load i32, ptr %27, align 8, !tbaa !23
%29 = load i64, ptr %16, align 8, !tbaa !24
%30 = tail call i32 @__v4l2_ctrl_s_ctrl(i32 noundef %28, i64 noundef %29) #3
%31 = getelementptr inbounds i8, ptr %4, i64 20
%32 = load i32, ptr %31, align 4, !tbaa !26
%33 = load ptr, ptr @link_freq_configs, align 8, !tbaa !27
%34 = load i64, ptr %16, align 8, !tbaa !24
%35 = getelementptr inbounds %struct.TYPE_4__, ptr %33, i64 %34
%36 = load i32, ptr %35, align 4, !tbaa !28
%37 = tail call i32 @__v4l2_ctrl_s_ctrl_int64(i32 noundef %32, i32 noundef %36) #3
%38 = load ptr, ptr %26, align 8, !tbaa !20
%39 = getelementptr inbounds i8, ptr %38, i64 8
%40 = load i64, ptr %39, align 8, !tbaa !30
%41 = getelementptr inbounds i8, ptr %38, i64 16
%42 = load i64, ptr %41, align 8, !tbaa !31
%43 = sub i64 %40, %42
%44 = getelementptr inbounds i8, ptr %4, i64 16
%45 = load i32, ptr %44, align 8, !tbaa !32
%46 = getelementptr inbounds i8, ptr %38, i64 24
%47 = load i64, ptr %46, align 8, !tbaa !33
%48 = sub i64 %47, %42
%49 = load i64, ptr @OV5670_VTS_MAX, align 8, !tbaa !17
%50 = sub i64 %49, %42
%51 = tail call i32 @__v4l2_ctrl_modify_range(i32 noundef %45, i64 noundef %48, i64 noundef %50, i32 noundef 1, i64 noundef %43) #3
%52 = load i32, ptr %44, align 8, !tbaa !32
%53 = tail call i32 @__v4l2_ctrl_s_ctrl(i32 noundef %52, i64 noundef %43) #3
%54 = load i64, ptr @OV5670_FIXED_PPL, align 8, !tbaa !17
%55 = load ptr, ptr %26, align 8, !tbaa !20
%56 = getelementptr inbounds i8, ptr %55, i64 32
%57 = load i64, ptr %56, align 8, !tbaa !34
%58 = sub i64 %54, %57
%59 = getelementptr inbounds i8, ptr %4, i64 4
%60 = load i32, ptr %59, align 4, !tbaa !35
%61 = tail call i32 @__v4l2_ctrl_modify_range(i32 noundef %60, i64 noundef %58, i64 noundef %58, i32 noundef 1, i64 noundef %58) #3
br label %62
62: ; preds = %25, %21
%63 = tail call i32 @mutex_unlock(ptr noundef %4) #3
ret i32 0
}
declare ptr @to_ov5670(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare ptr @v4l2_find_nearest_size(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @ov5670_update_pad_format(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @v4l2_subdev_get_try_format(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @__v4l2_ctrl_s_ctrl(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @__v4l2_ctrl_s_ctrl_int64(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__v4l2_ctrl_modify_range(i32 noundef, i64 noundef, i64 noundef, i32 noundef, i64 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 = { mustprogress nocallback nofree 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 16}
!11 = !{!"v4l2_subdev_format", !12, i64 0, !13, i64 8, !7, i64 20}
!12 = !{!"long", !8, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8}
!14 = !{!11, !7, i64 12}
!15 = !{!11, !7, i64 8}
!16 = !{!11, !12, i64 0}
!17 = !{!12, !12, i64 0}
!18 = !{!11, !7, i64 20}
!19 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6}
!20 = !{!21, !22, i64 8}
!21 = !{!"ov5670", !7, i64 0, !7, i64 4, !22, i64 8, !7, i64 16, !7, i64 20, !7, i64 24}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!21, !7, i64 24}
!24 = !{!25, !12, i64 0}
!25 = !{!"ov5670_mode", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!26 = !{!21, !7, i64 20}
!27 = !{!22, !22, i64 0}
!28 = !{!29, !7, i64 0}
!29 = !{!"TYPE_4__", !7, i64 0}
!30 = !{!25, !12, i64 8}
!31 = !{!25, !12, i64 16}
!32 = !{!21, !7, i64 16}
!33 = !{!25, !12, i64 24}
!34 = !{!25, !12, i64 32}
!35 = !{!21, !7, i64 4}
| linux_drivers_media_i2c_extr_ov5670.c_ov5670_set_pad_format |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_qp.c_alloc_qpn.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_qp.c_alloc_qpn.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.ipath_qp_table = type { i32, i32, ptr }
%struct.qpn_map = type { i32, i32 }
@IB_QPT_SMI = dso_local local_unnamed_addr global i32 0, align 4
@IB_QPT_GSI = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@QPN_MAX = dso_local local_unnamed_addr global i32 0, align 4
@BITS_PER_PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@BITS_PER_PAGE = dso_local local_unnamed_addr global i32 0, align 4
@QPNMAP_ENTRIES = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @alloc_qpn], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @alloc_qpn(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @IB_QPT_SMI, align 4, !tbaa !5
%4 = icmp eq i32 %3, %1
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr @IB_QPT_GSI, align 4, !tbaa !5
%7 = icmp eq i32 %6, %1
br i1 %7, label %8, label %37
8: ; preds = %2, %5
%9 = phi i32 [ 1, %5 ], [ 0, %2 ]
%10 = getelementptr inbounds %struct.ipath_qp_table, ptr %0, i64 0, i32 2
%11 = load ptr, ptr %10, align 8, !tbaa !9
%12 = getelementptr inbounds %struct.qpn_map, ptr %11, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i64 @unlikely(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %28, label %18
18: ; preds = %8
%19 = tail call i32 @get_map_page(ptr noundef nonnull %0, ptr noundef nonnull %11) #2
%20 = load i32, ptr %12, align 4, !tbaa !12
%21 = icmp eq i32 %20, 0
%22 = zext i1 %21 to i32
%23 = tail call i64 @unlikely(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%27 = sub nsw i32 0, %26
br label %126
28: ; preds = %18, %8
%29 = load i32, ptr %12, align 4, !tbaa !12
%30 = tail call i32 @test_and_set_bit(i32 noundef %9, i32 noundef %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = tail call i32 @atomic_dec(ptr noundef nonnull %11) #2
br label %126
34: ; preds = %28
%35 = load i32, ptr @EBUSY, align 4, !tbaa !5
%36 = sub nsw i32 0, %35
br label %126
37: ; preds = %5
%38 = load i32, ptr %0, align 8, !tbaa !14
%39 = add nsw i32 %38, 1
%40 = load i32, ptr @QPN_MAX, align 4, !tbaa !5
%41 = icmp slt i32 %39, %40
%42 = select i1 %41, i32 %39, i32 2
%43 = load i32, ptr @BITS_PER_PAGE_MASK, align 4, !tbaa !5
%44 = and i32 %42, %43
%45 = getelementptr inbounds %struct.ipath_qp_table, ptr %0, i64 0, i32 2
%46 = load ptr, ptr %45, align 8, !tbaa !9
%47 = load i32, ptr @BITS_PER_PAGE, align 4, !tbaa !5
%48 = sdiv i32 %42, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds %struct.qpn_map, ptr %46, i64 %49
%51 = getelementptr inbounds %struct.ipath_qp_table, ptr %0, i64 0, i32 1
%52 = load i32, ptr %51, align 4, !tbaa !15
%53 = icmp eq i32 %44, 0
%54 = sext i1 %53 to i32
%55 = add i32 %52, %54
br label %56
56: ; preds = %119, %37
%57 = phi i32 [ %44, %37 ], [ %120, %119 ]
%58 = phi i32 [ 0, %37 ], [ %99, %119 ]
%59 = phi i32 [ %42, %37 ], [ %122, %119 ]
%60 = phi ptr [ %50, %37 ], [ %121, %119 ]
%61 = getelementptr inbounds %struct.qpn_map, ptr %60, i64 0, i32 1
%62 = load i32, ptr %61, align 4, !tbaa !12
%63 = icmp eq i32 %62, 0
%64 = zext i1 %63 to i32
%65 = tail call i64 @unlikely(i32 noundef %64) #2
%66 = icmp eq i64 %65, 0
br i1 %66, label %74, label %67
67: ; preds = %56
%68 = tail call i32 @get_map_page(ptr noundef nonnull %0, ptr noundef nonnull %60) #2
%69 = load i32, ptr %61, align 4, !tbaa !12
%70 = icmp eq i32 %69, 0
%71 = zext i1 %70 to i32
%72 = tail call i64 @unlikely(i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %123
74: ; preds = %67, %56
%75 = tail call i32 @atomic_read(ptr noundef nonnull %60) #2
%76 = tail call i64 @likely(i32 noundef %75) #2
%77 = icmp eq i64 %76, 0
br i1 %77, label %98, label %78
78: ; preds = %74
%79 = load i32, ptr %61, align 4, !tbaa !12
%80 = tail call i32 @test_and_set_bit(i32 noundef %57, i32 noundef %79) #2
%81 = icmp eq i32 %80, 0
br i1 %81, label %86, label %89
82: ; preds = %89
%83 = load i32, ptr %61, align 4, !tbaa !12
%84 = tail call i32 @test_and_set_bit(i32 noundef %91, i32 noundef %83) #2
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %89, !llvm.loop !16
86: ; preds = %78, %82
%87 = phi i32 [ %92, %82 ], [ %59, %78 ]
%88 = tail call i32 @atomic_dec(ptr noundef nonnull %60) #2
store i32 %87, ptr %0, align 8, !tbaa !14
br label %126
89: ; preds = %78, %82
%90 = phi i32 [ %91, %82 ], [ %57, %78 ]
%91 = tail call i32 @find_next_offset(ptr noundef nonnull %60, i32 noundef %90) #2
%92 = tail call i32 @mk_qpn(ptr noundef nonnull %0, ptr noundef nonnull %60, i32 noundef %91) #2
%93 = load i32, ptr @BITS_PER_PAGE, align 4, !tbaa !5
%94 = icmp slt i32 %91, %93
%95 = load i32, ptr @QPN_MAX, align 4
%96 = icmp slt i32 %92, %95
%97 = select i1 %94, i1 %96, i1 false
br i1 %97, label %82, label %98, !llvm.loop !16
98: ; preds = %89, %74
%99 = add nuw nsw i32 %58, 1
%100 = icmp slt i32 %58, %55
br i1 %100, label %110, label %101
101: ; preds = %98
%102 = load i32, ptr %51, align 4, !tbaa !15
%103 = load i32, ptr @QPNMAP_ENTRIES, align 4, !tbaa !5
%104 = icmp eq i32 %102, %103
br i1 %104, label %123, label %105
105: ; preds = %101
%106 = load ptr, ptr %45, align 8, !tbaa !9
%107 = add nsw i32 %102, 1
store i32 %107, ptr %51, align 4, !tbaa !15
%108 = sext i32 %102 to i64
%109 = getelementptr inbounds %struct.qpn_map, ptr %106, i64 %108
br label %119
110: ; preds = %98
%111 = load ptr, ptr %45, align 8, !tbaa !9
%112 = load i32, ptr %51, align 4, !tbaa !15
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds %struct.qpn_map, ptr %111, i64 %113
%115 = icmp ult ptr %60, %114
%116 = getelementptr inbounds %struct.qpn_map, ptr %60, i64 1
%117 = select i1 %115, i32 0, i32 2
%118 = select i1 %115, ptr %116, ptr %111
br label %119
119: ; preds = %110, %105
%120 = phi i32 [ 0, %105 ], [ %117, %110 ]
%121 = phi ptr [ %109, %105 ], [ %118, %110 ]
%122 = tail call i32 @mk_qpn(ptr noundef nonnull %0, ptr noundef %121, i32 noundef %120) #2
br label %56
123: ; preds = %101, %67
%124 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%125 = sub nsw i32 0, %124
br label %126
126: ; preds = %32, %34, %123, %86, %25
%127 = phi i32 [ %27, %25 ], [ %36, %34 ], [ %9, %32 ], [ %125, %123 ], [ %87, %86 ]
ret i32 %127
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @get_map_page(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @test_and_set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @find_next_offset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mk_qpn(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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"ipath_qp_table", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 4}
!13 = !{!"qpn_map", !6, i64 0, !6, i64 4}
!14 = !{!10, !6, i64 0}
!15 = !{!10, !6, i64 4}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_qp.c_alloc_qpn.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_qp.c_alloc_qpn.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.qpn_map = type { i32, i32 }
@IB_QPT_SMI = common local_unnamed_addr global i32 0, align 4
@IB_QPT_GSI = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@QPN_MAX = common local_unnamed_addr global i32 0, align 4
@BITS_PER_PAGE_MASK = common local_unnamed_addr global i32 0, align 4
@BITS_PER_PAGE = common local_unnamed_addr global i32 0, align 4
@QPNMAP_ENTRIES = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @alloc_qpn], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @alloc_qpn(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @IB_QPT_SMI, align 4, !tbaa !6
%4 = icmp eq i32 %3, %1
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr @IB_QPT_GSI, align 4, !tbaa !6
%7 = icmp eq i32 %6, %1
br i1 %7, label %8, label %37
8: ; preds = %2, %5
%9 = phi i32 [ 1, %5 ], [ 0, %2 ]
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !10
%12 = getelementptr inbounds i8, ptr %11, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i64 @unlikely(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %28, label %18
18: ; preds = %8
%19 = tail call i32 @get_map_page(ptr noundef nonnull %0, ptr noundef nonnull %11) #2
%20 = load i32, ptr %12, align 4, !tbaa !13
%21 = icmp eq i32 %20, 0
%22 = zext i1 %21 to i32
%23 = tail call i64 @unlikely(i32 noundef %22) #2
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %18
%26 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%27 = sub nsw i32 0, %26
br label %126
28: ; preds = %18, %8
%29 = load i32, ptr %12, align 4, !tbaa !13
%30 = tail call i32 @test_and_set_bit(i32 noundef %9, i32 noundef %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = tail call i32 @atomic_dec(ptr noundef nonnull %11) #2
br label %126
34: ; preds = %28
%35 = load i32, ptr @EBUSY, align 4, !tbaa !6
%36 = sub nsw i32 0, %35
br label %126
37: ; preds = %5
%38 = load i32, ptr %0, align 8, !tbaa !15
%39 = add nsw i32 %38, 1
%40 = load i32, ptr @QPN_MAX, align 4, !tbaa !6
%41 = icmp slt i32 %39, %40
%42 = select i1 %41, i32 %39, i32 2
%43 = load i32, ptr @BITS_PER_PAGE_MASK, align 4, !tbaa !6
%44 = and i32 %42, %43
%45 = getelementptr inbounds i8, ptr %0, i64 8
%46 = load ptr, ptr %45, align 8, !tbaa !10
%47 = load i32, ptr @BITS_PER_PAGE, align 4, !tbaa !6
%48 = sdiv i32 %42, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds %struct.qpn_map, ptr %46, i64 %49
%51 = getelementptr inbounds i8, ptr %0, i64 4
%52 = load i32, ptr %51, align 4, !tbaa !16
%53 = icmp eq i32 %44, 0
%54 = sext i1 %53 to i32
%55 = add i32 %52, %54
br label %56
56: ; preds = %119, %37
%57 = phi i32 [ %44, %37 ], [ %120, %119 ]
%58 = phi i32 [ 0, %37 ], [ %99, %119 ]
%59 = phi i32 [ %42, %37 ], [ %122, %119 ]
%60 = phi ptr [ %50, %37 ], [ %121, %119 ]
%61 = getelementptr inbounds i8, ptr %60, i64 4
%62 = load i32, ptr %61, align 4, !tbaa !13
%63 = icmp eq i32 %62, 0
%64 = zext i1 %63 to i32
%65 = tail call i64 @unlikely(i32 noundef %64) #2
%66 = icmp eq i64 %65, 0
br i1 %66, label %74, label %67
67: ; preds = %56
%68 = tail call i32 @get_map_page(ptr noundef nonnull %0, ptr noundef nonnull %60) #2
%69 = load i32, ptr %61, align 4, !tbaa !13
%70 = icmp eq i32 %69, 0
%71 = zext i1 %70 to i32
%72 = tail call i64 @unlikely(i32 noundef %71) #2
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %123
74: ; preds = %67, %56
%75 = tail call i32 @atomic_read(ptr noundef nonnull %60) #2
%76 = tail call i64 @likely(i32 noundef %75) #2
%77 = icmp eq i64 %76, 0
br i1 %77, label %98, label %78
78: ; preds = %74
%79 = load i32, ptr %61, align 4, !tbaa !13
%80 = tail call i32 @test_and_set_bit(i32 noundef %57, i32 noundef %79) #2
%81 = icmp eq i32 %80, 0
br i1 %81, label %86, label %89
82: ; preds = %89
%83 = load i32, ptr %61, align 4, !tbaa !13
%84 = tail call i32 @test_and_set_bit(i32 noundef %91, i32 noundef %83) #2
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %89, !llvm.loop !17
86: ; preds = %78, %82
%87 = phi i32 [ %92, %82 ], [ %59, %78 ]
%88 = tail call i32 @atomic_dec(ptr noundef nonnull %60) #2
store i32 %87, ptr %0, align 8, !tbaa !15
br label %126
89: ; preds = %78, %82
%90 = phi i32 [ %91, %82 ], [ %57, %78 ]
%91 = tail call i32 @find_next_offset(ptr noundef nonnull %60, i32 noundef %90) #2
%92 = tail call i32 @mk_qpn(ptr noundef nonnull %0, ptr noundef nonnull %60, i32 noundef %91) #2
%93 = load i32, ptr @BITS_PER_PAGE, align 4, !tbaa !6
%94 = icmp slt i32 %91, %93
%95 = load i32, ptr @QPN_MAX, align 4
%96 = icmp slt i32 %92, %95
%97 = select i1 %94, i1 %96, i1 false
br i1 %97, label %82, label %98, !llvm.loop !17
98: ; preds = %89, %74
%99 = add nuw nsw i32 %58, 1
%100 = icmp slt i32 %58, %55
br i1 %100, label %110, label %101
101: ; preds = %98
%102 = load i32, ptr %51, align 4, !tbaa !16
%103 = load i32, ptr @QPNMAP_ENTRIES, align 4, !tbaa !6
%104 = icmp eq i32 %102, %103
br i1 %104, label %123, label %105
105: ; preds = %101
%106 = load ptr, ptr %45, align 8, !tbaa !10
%107 = add nsw i32 %102, 1
store i32 %107, ptr %51, align 4, !tbaa !16
%108 = sext i32 %102 to i64
%109 = getelementptr inbounds %struct.qpn_map, ptr %106, i64 %108
br label %119
110: ; preds = %98
%111 = load ptr, ptr %45, align 8, !tbaa !10
%112 = load i32, ptr %51, align 4, !tbaa !16
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds %struct.qpn_map, ptr %111, i64 %113
%115 = icmp ult ptr %60, %114
%116 = getelementptr inbounds i8, ptr %60, i64 8
%117 = select i1 %115, i32 0, i32 2
%118 = select i1 %115, ptr %116, ptr %111
br label %119
119: ; preds = %110, %105
%120 = phi i32 [ 0, %105 ], [ %117, %110 ]
%121 = phi ptr [ %109, %105 ], [ %118, %110 ]
%122 = tail call i32 @mk_qpn(ptr noundef nonnull %0, ptr noundef %121, i32 noundef %120) #2
br label %56
123: ; preds = %101, %67
%124 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%125 = sub nsw i32 0, %124
br label %126
126: ; preds = %32, %34, %123, %86, %25
%127 = phi i32 [ %27, %25 ], [ %36, %34 ], [ %9, %32 ], [ %125, %123 ], [ %87, %86 ]
ret i32 %127
}
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @get_map_page(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @test_and_set_bit(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1
declare i32 @find_next_offset(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mk_qpn(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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"ipath_qp_table", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"qpn_map", !7, i64 0, !7, i64 4}
!15 = !{!11, !7, i64 0}
!16 = !{!11, !7, i64 4}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_infiniband_hw_ipath_extr_ipath_qp.c_alloc_qpn |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/clueboard/66/keymaps/tetris/extr_keymap.c_tetris_send_left.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/clueboard/66/keymaps/tetris/extr_keymap.c_tetris_send_left.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"
@KC_LEFT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @tetris_send_left() local_unnamed_addr #0 {
%1 = load i32, ptr @KC_LEFT, align 4, !tbaa !5
%2 = tail call i32 @send_keycode(i32 noundef %1) #2
ret void
}
declare i32 @send_keycode(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/qmk_firmware/keyboards/clueboard/66/keymaps/tetris/extr_keymap.c_tetris_send_left.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/clueboard/66/keymaps/tetris/extr_keymap.c_tetris_send_left.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KC_LEFT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @tetris_send_left() local_unnamed_addr #0 {
%1 = load i32, ptr @KC_LEFT, align 4, !tbaa !6
%2 = tail call i32 @send_keycode(i32 noundef %1) #2
ret void
}
declare i32 @send_keycode(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"}
| qmk_firmware_keyboards_clueboard_66_keymaps_tetris_extr_keymap.c_tetris_send_left |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_cs42l56.c_cs42l56_handle_of_data.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_cs42l56.c_cs42l56_handle_of_data.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.cs42l56_platform_data = type { i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr }
@.str = private unnamed_addr constant [27 x i8] c"cirrus,ain1a-reference-cfg\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"cirrus,ain2a-reference-cfg\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"cirrus,ain1b-reference-cfg\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"cirrus,ain2b-reference-cfg\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"cirrus,micbias-lvl\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"cirrus,chgfreq-divisor\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"cirrus,adaptive-pwr-cfg\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"cirrus,hpf-left-freq\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"cirrus,gpio-nreset\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cs42l56_handle_of_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @cs42l56_handle_of_data(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca ptr, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%5 = tail call i64 @of_property_read_bool(ptr noundef %4, ptr noundef nonnull @.str) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %2
store i32 1, ptr %1, align 8, !tbaa !11
br label %8
8: ; preds = %7, %2
%9 = tail call i64 @of_property_read_bool(ptr noundef %4, ptr noundef nonnull @.str.1) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 1
store i32 1, ptr %12, align 4, !tbaa !14
br label %13
13: ; preds = %11, %8
%14 = tail call i64 @of_property_read_bool(ptr noundef %4, ptr noundef nonnull @.str.2) #3
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 2
store i32 1, ptr %17, align 8, !tbaa !15
br label %18
18: ; preds = %16, %13
%19 = tail call i64 @of_property_read_bool(ptr noundef %4, ptr noundef nonnull @.str.3) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 3
store i32 1, ptr %22, align 4, !tbaa !16
br label %23
23: ; preds = %21, %18
%24 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.4, ptr noundef nonnull %3) #3
%25 = icmp sgt i64 %24, -1
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load ptr, ptr %3, align 8, !tbaa !17
%28 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 9
store ptr %27, ptr %28, align 8, !tbaa !18
br label %29
29: ; preds = %26, %23
%30 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.5, ptr noundef nonnull %3) #3
%31 = icmp sgt i64 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load ptr, ptr %3, align 8, !tbaa !17
%34 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 8
store ptr %33, ptr %34, align 8, !tbaa !19
br label %35
35: ; preds = %32, %29
%36 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.6, ptr noundef nonnull %3) #3
%37 = icmp sgt i64 %36, -1
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load ptr, ptr %3, align 8, !tbaa !17
%40 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 7
store ptr %39, ptr %40, align 8, !tbaa !20
br label %41
41: ; preds = %38, %35
%42 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.7, ptr noundef nonnull %3) #3
%43 = icmp sgt i64 %42, -1
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load ptr, ptr %3, align 8, !tbaa !17
%46 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 6
store ptr %45, ptr %46, align 8, !tbaa !21
br label %47
47: ; preds = %44, %41
%48 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.7, ptr noundef nonnull %3) #3
%49 = icmp sgt i64 %48, -1
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load ptr, ptr %3, align 8, !tbaa !17
%52 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 5
store ptr %51, ptr %52, align 8, !tbaa !22
br label %53
53: ; preds = %50, %47
%54 = call i32 @of_get_named_gpio(ptr noundef %4, ptr noundef nonnull @.str.8, i32 noundef 0) #3
%55 = getelementptr inbounds %struct.cs42l56_platform_data, ptr %1, i64 0, i32 4
store i32 %54, ptr %55, align 8, !tbaa !23
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 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 @of_property_read_bool(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @of_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @of_get_named_gpio(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, !8, i64 0}
!6 = !{!"i2c_client", !7, 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"}
!11 = !{!12, !13, i64 0}
!12 = !{!"cs42l56_platform_data", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !13, i64 12}
!17 = !{!8, !8, i64 0}
!18 = !{!12, !8, i64 56}
!19 = !{!12, !8, i64 48}
!20 = !{!12, !8, i64 40}
!21 = !{!12, !8, i64 32}
!22 = !{!12, !8, i64 24}
!23 = !{!12, !13, i64 16}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_cs42l56.c_cs42l56_handle_of_data.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_cs42l56.c_cs42l56_handle_of_data.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 [27 x i8] c"cirrus,ain1a-reference-cfg\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"cirrus,ain2a-reference-cfg\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"cirrus,ain1b-reference-cfg\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"cirrus,ain2b-reference-cfg\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"cirrus,micbias-lvl\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"cirrus,chgfreq-divisor\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"cirrus,adaptive-pwr-cfg\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"cirrus,hpf-left-freq\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"cirrus,gpio-nreset\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cs42l56_handle_of_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @cs42l56_handle_of_data(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca ptr, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%5 = tail call i64 @of_property_read_bool(ptr noundef %4, ptr noundef nonnull @.str) #3
%6 = icmp eq i64 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %2
store i32 1, ptr %1, align 8, !tbaa !12
br label %8
8: ; preds = %7, %2
%9 = tail call i64 @of_property_read_bool(ptr noundef %4, ptr noundef nonnull @.str.1) #3
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = getelementptr inbounds i8, ptr %1, i64 4
store i32 1, ptr %12, align 4, !tbaa !15
br label %13
13: ; preds = %11, %8
%14 = tail call i64 @of_property_read_bool(ptr noundef %4, ptr noundef nonnull @.str.2) #3
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %13
%17 = getelementptr inbounds i8, ptr %1, i64 8
store i32 1, ptr %17, align 8, !tbaa !16
br label %18
18: ; preds = %16, %13
%19 = tail call i64 @of_property_read_bool(ptr noundef %4, ptr noundef nonnull @.str.3) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18
%22 = getelementptr inbounds i8, ptr %1, i64 12
store i32 1, ptr %22, align 4, !tbaa !17
br label %23
23: ; preds = %21, %18
%24 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.4, ptr noundef nonnull %3) #3
%25 = icmp sgt i64 %24, -1
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load ptr, ptr %3, align 8, !tbaa !18
%28 = getelementptr inbounds i8, ptr %1, i64 56
store ptr %27, ptr %28, align 8, !tbaa !19
br label %29
29: ; preds = %26, %23
%30 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.5, ptr noundef nonnull %3) #3
%31 = icmp sgt i64 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load ptr, ptr %3, align 8, !tbaa !18
%34 = getelementptr inbounds i8, ptr %1, i64 48
store ptr %33, ptr %34, align 8, !tbaa !20
br label %35
35: ; preds = %32, %29
%36 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.6, ptr noundef nonnull %3) #3
%37 = icmp sgt i64 %36, -1
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load ptr, ptr %3, align 8, !tbaa !18
%40 = getelementptr inbounds i8, ptr %1, i64 40
store ptr %39, ptr %40, align 8, !tbaa !21
br label %41
41: ; preds = %38, %35
%42 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.7, ptr noundef nonnull %3) #3
%43 = icmp sgt i64 %42, -1
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load ptr, ptr %3, align 8, !tbaa !18
%46 = getelementptr inbounds i8, ptr %1, i64 32
store ptr %45, ptr %46, align 8, !tbaa !22
br label %47
47: ; preds = %44, %41
%48 = call i64 @of_property_read_u32(ptr noundef %4, ptr noundef nonnull @.str.7, ptr noundef nonnull %3) #3
%49 = icmp sgt i64 %48, -1
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load ptr, ptr %3, align 8, !tbaa !18
%52 = getelementptr inbounds i8, ptr %1, i64 24
store ptr %51, ptr %52, align 8, !tbaa !23
br label %53
53: ; preds = %50, %47
%54 = call i32 @of_get_named_gpio(ptr noundef %4, ptr noundef nonnull @.str.8, i32 noundef 0) #3
%55 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %54, ptr %55, align 8, !tbaa !24
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 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 @of_property_read_bool(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @of_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @of_get_named_gpio(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, !9, i64 0}
!7 = !{!"i2c_client", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"cs42l56_platform_data", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56}
!14 = !{!"int", !10, i64 0}
!15 = !{!13, !14, i64 4}
!16 = !{!13, !14, i64 8}
!17 = !{!13, !14, i64 12}
!18 = !{!9, !9, i64 0}
!19 = !{!13, !9, i64 56}
!20 = !{!13, !9, i64 48}
!21 = !{!13, !9, i64 40}
!22 = !{!13, !9, i64 32}
!23 = !{!13, !9, i64 24}
!24 = !{!13, !14, i64 16}
| linux_sound_soc_codecs_extr_cs42l56.c_cs42l56_handle_of_data |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_uvd_v4_2.c_uvd_v4_2_ring_get_rptr.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_uvd_v4_2.c_uvd_v4_2_ring_get_rptr.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"
@mmUVD_RBC_RB_RPTR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uvd_v4_2_ring_get_rptr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @uvd_v4_2_ring_get_rptr(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @mmUVD_RBC_RB_RPTR, align 4, !tbaa !5
%3 = tail call i32 @RREG32(i32 noundef %2) #2
ret i32 %3
}
declare i32 @RREG32(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/drivers/gpu/drm/amd/amdgpu/extr_uvd_v4_2.c_uvd_v4_2_ring_get_rptr.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_uvd_v4_2.c_uvd_v4_2_ring_get_rptr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mmUVD_RBC_RB_RPTR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uvd_v4_2_ring_get_rptr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @uvd_v4_2_ring_get_rptr(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @mmUVD_RBC_RB_RPTR, align 4, !tbaa !6
%3 = tail call i32 @RREG32(i32 noundef %2) #2
ret i32 %3
}
declare i32 @RREG32(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_drivers_gpu_drm_amd_amdgpu_extr_uvd_v4_2.c_uvd_v4_2_ring_get_rptr |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/ztest/extr_ztest.c_ztest_spa_checkpoint_create_discard.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/ztest/extr_ztest.c_ztest_spa_checkpoint_create_discard.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"
@ztest_spa = dso_local local_unnamed_addr global ptr null, align 8
@ztest_checkpoint_lock = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ztest_spa_checkpoint_create_discard(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @ztest_spa, align 8, !tbaa !5
%4 = tail call i32 @mutex_enter(ptr noundef nonnull @ztest_checkpoint_lock) #2
%5 = tail call i64 @ztest_random(i32 noundef 2) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 @ztest_spa_checkpoint(ptr noundef %3) #2
br label %11
9: ; preds = %2
%10 = tail call i32 @ztest_spa_discard_checkpoint(ptr noundef %3) #2
br label %11
11: ; preds = %9, %7
%12 = tail call i32 @mutex_exit(ptr noundef nonnull @ztest_checkpoint_lock) #2
ret void
}
declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1
declare i64 @ztest_random(i32 noundef) local_unnamed_addr #1
declare i32 @ztest_spa_checkpoint(ptr noundef) local_unnamed_addr #1
declare i32 @ztest_spa_discard_checkpoint(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_exit(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"}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/ztest/extr_ztest.c_ztest_spa_checkpoint_create_discard.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/ztest/extr_ztest.c_ztest_spa_checkpoint_create_discard.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ztest_spa = common local_unnamed_addr global ptr null, align 8
@ztest_checkpoint_lock = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ztest_spa_checkpoint_create_discard(ptr nocapture noundef readnone %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @ztest_spa, align 8, !tbaa !6
%4 = tail call i32 @mutex_enter(ptr noundef nonnull @ztest_checkpoint_lock) #2
%5 = tail call i64 @ztest_random(i32 noundef 2) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i32 @ztest_spa_checkpoint(ptr noundef %3) #2
br label %11
9: ; preds = %2
%10 = tail call i32 @ztest_spa_discard_checkpoint(ptr noundef %3) #2
br label %11
11: ; preds = %9, %7
%12 = tail call i32 @mutex_exit(ptr noundef nonnull @ztest_checkpoint_lock) #2
ret void
}
declare i32 @mutex_enter(ptr noundef) local_unnamed_addr #1
declare i64 @ztest_random(i32 noundef) local_unnamed_addr #1
declare i32 @ztest_spa_checkpoint(ptr noundef) local_unnamed_addr #1
declare i32 @ztest_spa_discard_checkpoint(ptr noundef) local_unnamed_addr #1
declare i32 @mutex_exit(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"}
| freebsd_cddl_contrib_opensolaris_cmd_ztest_extr_ztest.c_ztest_spa_checkpoint_create_discard |
; ModuleID = 'AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_pa_range.c'
source_filename = "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_pa_range.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"
@PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @l2_clean_pa_range], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @l2_clean_pa_range(i64 noundef %0, i64 noundef %1) #0 {
%3 = xor i64 %1, %0
%4 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !5
%5 = lshr i64 %3, %4
%6 = tail call i32 @BUG_ON(i64 noundef %5) #2
%7 = tail call i64 @l2_get_va(i64 noundef %0) #2
%8 = sub i64 %1, %0
%9 = add i64 %8, %7
%10 = tail call i32 @raw_local_irq_save(i64 noundef undef) #2
tail call void asm sideeffect "mcr p15, 1, $0, c15, c9, 4\0A\09mcr p15, 1, $1, c15, c9, 5", "r,r,~{dirflag},~{fpsr},~{flags}"(i64 %7, i64 %9) #2, !srcloc !9
%11 = tail call i32 @raw_local_irq_restore(i64 noundef undef) #2
%12 = tail call i32 @l2_put_va(i64 noundef %7) #2
ret void
}
declare i32 @BUG_ON(i64 noundef) local_unnamed_addr #1
declare i64 @l2_get_va(i64 noundef) local_unnamed_addr #1
declare i32 @raw_local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @raw_local_irq_restore(i64 noundef) local_unnamed_addr #1
declare i32 @l2_put_va(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"}
!9 = !{i64 1120, i64 1149}
| ; ModuleID = 'AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_pa_range.c'
source_filename = "AnghaBench/linux/arch/arm/mm/extr_cache-feroceon-l2.c_l2_clean_pa_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @l2_clean_pa_range], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @l2_clean_pa_range(i64 noundef %0, i64 noundef %1) #0 {
%3 = xor i64 %1, %0
%4 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !6
%5 = lshr i64 %3, %4
%6 = tail call i32 @BUG_ON(i64 noundef %5) #2
%7 = tail call i64 @l2_get_va(i64 noundef %0) #2
%8 = sub i64 %1, %0
%9 = add i64 %8, %7
%10 = tail call i32 @raw_local_irq_save(i64 noundef undef) #2
tail call void asm sideeffect "mcr p15, 1, $0, c15, c9, 4\0A\09mcr p15, 1, $1, c15, c9, 5", "r,r"(i64 %7, i64 %9) #2, !srcloc !10
%11 = tail call i32 @raw_local_irq_restore(i64 noundef undef) #2
%12 = tail call i32 @l2_put_va(i64 noundef %7) #2
ret void
}
declare i32 @BUG_ON(i64 noundef) local_unnamed_addr #1
declare i64 @l2_get_va(i64 noundef) local_unnamed_addr #1
declare i32 @raw_local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @raw_local_irq_restore(i64 noundef) local_unnamed_addr #1
declare i32 @l2_put_va(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"}
!10 = !{i64 1120, i64 1149}
| linux_arch_arm_mm_extr_cache-feroceon-l2.c_l2_clean_pa_range |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_libsrt.c_libsrt_getsockopt.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_libsrt.c_libsrt_getsockopt.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"
@AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"failed to get option %s on socket: %s\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @libsrt_getsockopt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @libsrt_getsockopt(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = tail call i64 @srt_getsockopt(i32 noundef %1, i32 noundef 0, i32 noundef %2, ptr noundef %4, ptr noundef %5) #2
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %6
%10 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !5
%11 = tail call i32 (...) @srt_getlasterror_str() #2
%12 = tail call i32 @av_log(ptr noundef %0, i32 noundef %10, ptr noundef nonnull @.str, ptr noundef %3, i32 noundef %11) #2
%13 = load i32, ptr @EIO, align 4, !tbaa !5
%14 = tail call i32 @AVERROR(i32 noundef %13) #2
br label %15
15: ; preds = %6, %9
%16 = phi i32 [ %14, %9 ], [ 0, %6 ]
ret i32 %16
}
declare i64 @srt_getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @srt_getlasterror_str(...) 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_libsrt.c_libsrt_getsockopt.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_libsrt.c_libsrt_getsockopt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"failed to get option %s on socket: %s\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @libsrt_getsockopt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @libsrt_getsockopt(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = tail call i64 @srt_getsockopt(i32 noundef %1, i32 noundef 0, i32 noundef %2, ptr noundef %4, ptr noundef %5) #2
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %15
9: ; preds = %6
%10 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !6
%11 = tail call i32 @srt_getlasterror_str() #2
%12 = tail call i32 @av_log(ptr noundef %0, i32 noundef %10, ptr noundef nonnull @.str, ptr noundef %3, i32 noundef %11) #2
%13 = load i32, ptr @EIO, align 4, !tbaa !6
%14 = tail call i32 @AVERROR(i32 noundef %13) #2
br label %15
15: ; preds = %6, %9
%16 = phi i32 [ %14, %9 ], [ 0, %6 ]
ret i32 %16
}
declare i64 @srt_getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @srt_getlasterror_str(...) 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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| FFmpeg_libavformat_extr_libsrt.c_libsrt_getsockopt |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_waitq.c_waitq_iterate_sets_cb.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_waitq.c_waitq_iterate_sets_cb.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.wq_it_ctx = type { ptr, i64, i32 }
@WQL_WQS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @waitq_iterate_sets_cb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @waitq_iterate_sets_cb(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = tail call i32 @waitq_irq_safe(ptr noundef %0) #2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = tail call i64 @wql_type(ptr noundef %2) #2
%9 = load i64, ptr @WQL_WQS, align 8, !tbaa !5
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
%12 = tail call i32 @assert(i32 noundef %11) #2
%13 = load ptr, ptr %2, align 8, !tbaa !9
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #2
%17 = tail call i32 @waitq_irq_safe(ptr noundef %13) #2
%18 = icmp eq i32 %17, 0
%19 = zext i1 %18 to i32
%20 = tail call i32 @assert(i32 noundef %19) #2
%21 = tail call i32 @waitq_set_lock(ptr noundef %13) #2
%22 = load ptr, ptr %1, align 8, !tbaa !13
%23 = getelementptr inbounds %struct.wq_it_ctx, ptr %1, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !16
%25 = getelementptr inbounds %struct.wq_it_ctx, ptr %1, i64 0, i32 1
%26 = load i64, ptr %25, align 8, !tbaa !17
%27 = inttoptr i64 %26 to ptr
%28 = tail call i32 %22(i32 noundef %24, ptr noundef %27, ptr noundef %13) #2
%29 = tail call i32 @waitq_set_unlock(ptr noundef %13) #2
ret i32 %28
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @waitq_irq_safe(ptr noundef) local_unnamed_addr #1
declare i64 @wql_type(ptr noundef) local_unnamed_addr #1
declare i32 @waitq_set_lock(ptr noundef) local_unnamed_addr #1
declare i32 @waitq_set_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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"waitq_link", !11, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"wq_it_ctx", !12, i64 0, !6, i64 8, !15, i64 16}
!15 = !{!"int", !7, i64 0}
!16 = !{!14, !15, i64 16}
!17 = !{!14, !6, i64 8}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_waitq.c_waitq_iterate_sets_cb.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_waitq.c_waitq_iterate_sets_cb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WQL_WQS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @waitq_iterate_sets_cb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @waitq_iterate_sets_cb(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = tail call i32 @waitq_irq_safe(ptr noundef %0) #2
%5 = icmp eq i32 %4, 0
%6 = zext i1 %5 to i32
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = tail call i64 @wql_type(ptr noundef %2) #2
%9 = load i64, ptr @WQL_WQS, align 8, !tbaa !6
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
%12 = tail call i32 @assert(i32 noundef %11) #2
%13 = load ptr, ptr %2, align 8, !tbaa !10
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 noundef %15) #2
%17 = tail call i32 @waitq_irq_safe(ptr noundef %13) #2
%18 = icmp eq i32 %17, 0
%19 = zext i1 %18 to i32
%20 = tail call i32 @assert(i32 noundef %19) #2
%21 = tail call i32 @waitq_set_lock(ptr noundef %13) #2
%22 = load ptr, ptr %1, align 8, !tbaa !14
%23 = getelementptr inbounds i8, ptr %1, i64 16
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = getelementptr inbounds i8, ptr %1, i64 8
%26 = load i64, ptr %25, align 8, !tbaa !18
%27 = inttoptr i64 %26 to ptr
%28 = tail call i32 %22(i32 noundef %24, ptr noundef %27, ptr noundef %13) #2
%29 = tail call i32 @waitq_set_unlock(ptr noundef %13) #2
ret i32 %28
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @waitq_irq_safe(ptr noundef) local_unnamed_addr #1
declare i64 @wql_type(ptr noundef) local_unnamed_addr #1
declare i32 @waitq_set_lock(ptr noundef) local_unnamed_addr #1
declare i32 @waitq_set_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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"waitq_link", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"wq_it_ctx", !13, i64 0, !7, i64 8, !16, i64 16}
!16 = !{!"int", !8, i64 0}
!17 = !{!15, !16, i64 16}
!18 = !{!15, !7, i64 8}
| darwin-xnu_osfmk_kern_extr_waitq.c_waitq_iterate_sets_cb |
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/gssapi/krb5/extr_accept_sec_context.c_gsskrb5_acceptor_start.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/gssapi/krb5/extr_accept_sec_context.c_gsskrb5_acceptor_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.TYPE_37__ = type { i32, i32 }
%struct.TYPE_40__ = type { ptr, ptr }
%struct.TYPE_39__ = type { i32, i32, i32, i32, ptr, ptr, i32, i32, i32, i32 }
%struct.TYPE_34__ = type { %struct.TYPE_36__, i32, i32 }
%struct.TYPE_36__ = type { i32 }
@GSS_S_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\01\00\00", align 1
@GSS_KRB5_MECHANISM = dso_local local_unnamed_addr global i32 0, align 4
@_gsskrb5_keytab = dso_local local_unnamed_addr global ptr null, align 8
@GSS_S_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@KRB5KRB_AP_ERR_SKEW = dso_local local_unnamed_addr global i32 0, align 4
@KRB5KRB_AP_ERR_TKT_NYV = dso_local local_unnamed_addr global i32 0, align 4
@GSS_S_BAD_BINDINGS = dso_local local_unnamed_addr global i32 0, align 4
@CKSUMTYPE_GSSAPI = dso_local local_unnamed_addr global i64 0, align 8
@KRB5_KU_AP_REQ_AUTH_CKSUM = dso_local local_unnamed_addr global i32 0, align 4
@GSS_S_BAD_SIG = dso_local local_unnamed_addr global i32 0, align 4
@GSS_C_REPLAY_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@GSS_C_SEQUENCE_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@AP_OPTS_MUTUAL_REQUIRED = dso_local local_unnamed_addr global i32 0, align 4
@GSS_C_MUTUAL_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@IS_CFX = dso_local local_unnamed_addr global i32 0, align 4
@AP_OPTS_USE_SUBKEY = dso_local local_unnamed_addr global i32 0, align 4
@ACCEPTOR_SUBKEY = dso_local local_unnamed_addr global i32 0, align 4
@KRB5_AUTH_CONTEXT_USE_SUBKEY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"\02\00\00", align 1
@GSS_C_TRANS_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@OPEN = dso_local local_unnamed_addr global i32 0, align 4
@GSS_C_DELEG_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@ACCEPTOR_WAIT_FOR_DCESTYLE = dso_local local_unnamed_addr global i32 0, align 4
@GSS_S_CONTINUE_NEEDED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gsskrb5_acceptor_start], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @gsskrb5_acceptor_start(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef writeonly %7, ptr noundef %8, ptr noundef writeonly %9, ptr noundef %10, ptr noundef %11) #0 {
%13 = alloca %struct.TYPE_37__, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca %struct.TYPE_37__, align 8
%20 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
%21 = sext i32 %3 to i64
%22 = inttoptr i64 %21 to ptr
%23 = load i32, ptr @GSS_KRB5_MECHANISM, align 4, !tbaa !5
%24 = call i32 @_gsskrb5_decapsulate(ptr noundef %0, ptr noundef %4, ptr noundef nonnull %13, ptr noundef nonnull @.str, i32 noundef %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %12
%27 = load <2 x i32>, ptr %4, align 4, !tbaa !5
store <2 x i32> %27, ptr %13, align 8, !tbaa !5
br label %28
28: ; preds = %26, %12
%29 = icmp eq i32 %3, 0
br i1 %29, label %30, label %32
30: ; preds = %28
%31 = load ptr, ptr @_gsskrb5_keytab, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
store ptr null, ptr %15, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
store ptr null, ptr %16, align 8, !tbaa !9
br label %36
32: ; preds = %28
%33 = getelementptr inbounds %struct.TYPE_40__, ptr %22, i64 0, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
store ptr null, ptr %15, align 8, !tbaa !9
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
store ptr null, ptr %16, align 8, !tbaa !9
%35 = load ptr, ptr %22, align 8, !tbaa !13
br label %36
36: ; preds = %30, %32
%37 = phi ptr [ %34, %32 ], [ %31, %30 ]
%38 = phi ptr [ %35, %32 ], [ null, %30 ]
%39 = call i32 @krb5_rd_req_in_ctx_alloc(i32 noundef %2, ptr noundef nonnull %15) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = load ptr, ptr %15, align 8, !tbaa !9
%43 = call i32 @krb5_rd_req_in_set_keytab(i32 noundef %2, ptr noundef %42, ptr noundef %37) #3
%44 = icmp eq i32 %43, 0
br i1 %44, label %53, label %45
45: ; preds = %36, %41
%46 = phi i32 [ %43, %41 ], [ %39, %36 ]
%47 = load ptr, ptr %15, align 8, !tbaa !9
%48 = icmp eq ptr %47, null
br i1 %48, label %51, label %49
49: ; preds = %45
%50 = call i32 @krb5_rd_req_in_ctx_free(i32 noundef %2, ptr noundef nonnull %47) #3
br label %51
51: ; preds = %49, %45
store i32 %46, ptr %0, align 4, !tbaa !5
%52 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !5
br label %94
53: ; preds = %41
%54 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 5
%55 = load ptr, ptr %15, align 8, !tbaa !9
%56 = call i32 @krb5_rd_req_ctx(i32 noundef %2, ptr noundef nonnull %54, ptr noundef nonnull %13, ptr noundef %38, ptr noundef %55, ptr noundef nonnull %16) #3
%57 = load ptr, ptr %15, align 8, !tbaa !9
%58 = call i32 @krb5_rd_req_in_ctx_free(i32 noundef %2, ptr noundef %57) #3
%59 = load i32, ptr @KRB5KRB_AP_ERR_SKEW, align 4, !tbaa !5
%60 = icmp eq i32 %56, %59
%61 = load i32, ptr @KRB5KRB_AP_ERR_TKT_NYV, align 4
%62 = icmp eq i32 %56, %61
%63 = select i1 %60, i1 true, i1 %62
br i1 %63, label %64, label %66
64: ; preds = %53
%65 = call i32 @send_error_token(ptr noundef %0, i32 noundef %2, i32 noundef %56, ptr noundef %38, ptr noundef nonnull %13, ptr noundef %8) #3
br label %94
66: ; preds = %53
%67 = icmp eq i32 %56, 0
br i1 %67, label %70, label %68
68: ; preds = %66
store i32 %56, ptr %0, align 4, !tbaa !5
%69 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !5
br label %94
70: ; preds = %66
%71 = load ptr, ptr %16, align 8, !tbaa !9
%72 = call i32 @krb5_rd_req_out_get_ap_req_options(i32 noundef %2, ptr noundef %71, ptr noundef nonnull %14) #3
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %83
74: ; preds = %70
%75 = load ptr, ptr %16, align 8, !tbaa !9
%76 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 4
%77 = call i32 @krb5_rd_req_out_get_ticket(i32 noundef %2, ptr noundef %75, ptr noundef nonnull %76) #3
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %83
79: ; preds = %74
%80 = load ptr, ptr %16, align 8, !tbaa !9
%81 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 9
%82 = call i32 @krb5_rd_req_out_get_keyblock(i32 noundef %2, ptr noundef %80, ptr noundef nonnull %81) #3
br label %83
83: ; preds = %70, %79, %74
%84 = phi i32 [ %82, %79 ], [ %77, %74 ], [ %72, %70 ]
%85 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 4
%86 = load ptr, ptr %85, align 8, !tbaa !14
%87 = load i32, ptr %86, align 4, !tbaa !16
%88 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 3
store i32 %87, ptr %88, align 4, !tbaa !19
%89 = load ptr, ptr %16, align 8, !tbaa !9
%90 = call i32 @krb5_rd_req_out_ctx_free(i32 noundef %2, ptr noundef %89) #3
%91 = icmp eq i32 %84, 0
br i1 %91, label %96, label %92
92: ; preds = %83
%93 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !5
store i32 %84, ptr %0, align 4, !tbaa !5
br label %94
94: ; preds = %51, %64, %68, %92
%95 = phi i32 [ %93, %92 ], [ %69, %68 ], [ %65, %64 ], [ %52, %51 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
br label %282
96: ; preds = %83
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
%97 = load ptr, ptr %85, align 8, !tbaa !14
%98 = getelementptr inbounds %struct.TYPE_34__, ptr %97, i64 0, i32 1
%99 = load i32, ptr %98, align 4, !tbaa !20
%100 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 8
%101 = call i32 @krb5_copy_principal(i32 noundef %2, i32 noundef %99, ptr noundef nonnull %100) #3
%102 = icmp eq i32 %101, 0
br i1 %102, label %104, label %103
103: ; preds = %96
store i32 %101, ptr %0, align 4, !tbaa !5
br label %104
104: ; preds = %103, %96
%105 = load ptr, ptr %85, align 8, !tbaa !14
%106 = getelementptr inbounds %struct.TYPE_34__, ptr %105, i64 0, i32 2
%107 = load i32, ptr %106, align 4, !tbaa !21
%108 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 7
%109 = call i32 @krb5_copy_principal(i32 noundef %2, i32 noundef %107, ptr noundef nonnull %108) #3
%110 = icmp eq i32 %109, 0
br i1 %110, label %113, label %111
111: ; preds = %104
%112 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !5
store i32 %109, ptr %0, align 4, !tbaa !5
br label %282
113: ; preds = %104
%114 = call i32 @_gss_DES3_get_mic_compat(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #3
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %282
116: ; preds = %113
%117 = icmp eq ptr %6, null
br i1 %117, label %126, label %118
118: ; preds = %116
%119 = load ptr, ptr %85, align 8, !tbaa !14
%120 = getelementptr inbounds %struct.TYPE_34__, ptr %119, i64 0, i32 1
%121 = load i32, ptr %120, align 4, !tbaa !20
%122 = call i32 @krb5_copy_principal(i32 noundef %2, i32 noundef %121, ptr noundef nonnull %6) #3
%123 = icmp eq i32 %122, 0
br i1 %123, label %126, label %124
124: ; preds = %118
%125 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !5
store i32 %122, ptr %0, align 4, !tbaa !5
br label %282
126: ; preds = %118, %116
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
%127 = load ptr, ptr %54, align 8, !tbaa !22
%128 = call i32 @krb5_auth_con_getauthenticator(i32 noundef %2, ptr noundef %127, ptr noundef nonnull %17) #3
%129 = icmp eq i32 %128, 0
br i1 %129, label %132, label %130
130: ; preds = %126
%131 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !5
store i32 %128, ptr %0, align 4, !tbaa !5
br label %184
132: ; preds = %126
%133 = load ptr, ptr %17, align 8, !tbaa !9
%134 = load ptr, ptr %133, align 8, !tbaa !23
%135 = icmp eq ptr %134, null
br i1 %135, label %136, label %139
136: ; preds = %132
%137 = call i32 @krb5_free_authenticator(i32 noundef %2, ptr noundef nonnull %17) #3
store i32 0, ptr %0, align 4, !tbaa !5
%138 = load i32, ptr @GSS_S_BAD_BINDINGS, align 4, !tbaa !5
br label %184
139: ; preds = %132
%140 = load i64, ptr %134, align 8, !tbaa !25
%141 = load i64, ptr @CKSUMTYPE_GSSAPI, align 8, !tbaa !28
%142 = icmp eq i64 %140, %141
br i1 %142, label %143, label %150
143: ; preds = %139
%144 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 6
%145 = call i32 @_gsskrb5_verify_8003_checksum(ptr noundef %0, i32 noundef %5, ptr noundef nonnull %134, ptr noundef nonnull %1, ptr noundef nonnull %144) #3
%146 = call i32 @krb5_free_authenticator(i32 noundef %2, ptr noundef nonnull %17) #3
%147 = icmp eq i32 %145, 0
br i1 %147, label %148, label %184
148: ; preds = %143
%149 = load i32, ptr %1, align 8, !tbaa !29
br label %186
150: ; preds = %139
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #3
%151 = load ptr, ptr %54, align 8, !tbaa !22
%152 = load i32, ptr %151, align 4, !tbaa !30
%153 = call i32 @krb5_crypto_init(i32 noundef %2, i32 noundef %152, i32 noundef 0, ptr noundef nonnull %18) #3
%154 = icmp eq i32 %153, 0
br i1 %154, label %157, label %155
155: ; preds = %150
%156 = call i32 @krb5_free_authenticator(i32 noundef %2, ptr noundef nonnull %17) #3
br label %180
157: ; preds = %150
%158 = load i32, ptr %18, align 4, !tbaa !5
%159 = load i32, ptr @KRB5_KU_AP_REQ_AUTH_CKSUM, align 4, !tbaa !5
%160 = load ptr, ptr %17, align 8, !tbaa !9
%161 = load ptr, ptr %160, align 8, !tbaa !23
%162 = call i32 @krb5_verify_checksum(i32 noundef %2, i32 noundef %158, i32 noundef %159, ptr noundef null, i32 noundef 0, ptr noundef %161) #3
%163 = call i32 @krb5_free_authenticator(i32 noundef %2, ptr noundef nonnull %17) #3
%164 = load i32, ptr %18, align 4, !tbaa !5
%165 = call i32 @krb5_crypto_destroy(i32 noundef %2, i32 noundef %164) #3
%166 = icmp eq i32 %162, 0
br i1 %166, label %167, label %180
167: ; preds = %157
%168 = load i32, ptr @GSS_C_REPLAY_FLAG, align 4, !tbaa !5
%169 = load i32, ptr @GSS_C_SEQUENCE_FLAG, align 4, !tbaa !5
%170 = or i32 %169, %168
store i32 %170, ptr %1, align 8, !tbaa !29
%171 = load i32, ptr %14, align 4, !tbaa !5
%172 = load i32, ptr @AP_OPTS_MUTUAL_REQUIRED, align 4, !tbaa !5
%173 = and i32 %172, %171
%174 = icmp eq i32 %173, 0
br i1 %174, label %178, label %175
175: ; preds = %167
%176 = load i32, ptr @GSS_C_MUTUAL_FLAG, align 4, !tbaa !5
%177 = or i32 %176, %170
store i32 %177, ptr %1, align 8, !tbaa !29
br label %178
178: ; preds = %175, %167
%179 = phi i32 [ %177, %175 ], [ %170, %167 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #3
br label %186
180: ; preds = %157, %155
%181 = phi i32 [ %153, %155 ], [ %162, %157 ]
%182 = phi ptr [ @GSS_S_FAILURE, %155 ], [ @GSS_S_BAD_SIG, %157 ]
%183 = load i32, ptr %182, align 4, !tbaa !5
store i32 %181, ptr %0, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #3
br label %184
184: ; preds = %130, %136, %180, %143
%185 = phi i32 [ %145, %143 ], [ %183, %180 ], [ %138, %136 ], [ %131, %130 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
br label %282
186: ; preds = %148, %178
%187 = phi i32 [ %149, %148 ], [ %179, %178 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
%188 = load i32, ptr @GSS_C_MUTUAL_FLAG, align 4, !tbaa !5
%189 = and i32 %188, %187
%190 = icmp eq i32 %189, 0
br i1 %190, label %244, label %191
191: ; preds = %186
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
%192 = call i32 @_gsskrb5i_is_cfx(i32 noundef %2, ptr noundef nonnull %1, i32 noundef 1) #3
%193 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 1
%194 = load i32, ptr %193, align 4, !tbaa !32
%195 = load i32, ptr @IS_CFX, align 4, !tbaa !5
%196 = and i32 %195, %194
%197 = icmp eq i32 %196, 0
br i1 %197, label %198, label %216
198: ; preds = %191
%199 = load i32, ptr %14, align 4, !tbaa !5
%200 = load i32, ptr @AP_OPTS_USE_SUBKEY, align 4, !tbaa !5
%201 = and i32 %200, %199
%202 = icmp eq i32 %201, 0
br i1 %202, label %203, label %216
203: ; preds = %198
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
%204 = load ptr, ptr %54, align 8, !tbaa !22
%205 = call i32 @krb5_auth_con_getremotesubkey(i32 noundef %2, ptr noundef %204, ptr noundef nonnull %20) #3
%206 = icmp eq i32 %205, 0
br i1 %206, label %207, label %223
207: ; preds = %203
%208 = load ptr, ptr %54, align 8, !tbaa !22
%209 = load ptr, ptr %20, align 8, !tbaa !9
%210 = call i32 @krb5_auth_con_setlocalsubkey(i32 noundef %2, ptr noundef %208, ptr noundef %209) #3
%211 = icmp eq i32 %210, 0
%212 = load ptr, ptr %20, align 8, !tbaa !9
%213 = call i32 @krb5_free_keyblock(i32 noundef %2, ptr noundef %212) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
br i1 %211, label %214, label %224
214: ; preds = %207
%215 = load i32, ptr %193, align 4, !tbaa !32
br label %216
216: ; preds = %214, %198, %191
%217 = phi i32 [ %215, %214 ], [ %194, %198 ], [ %194, %191 ]
%218 = load i32, ptr @ACCEPTOR_SUBKEY, align 4, !tbaa !5
%219 = or i32 %217, %218
store i32 %219, ptr %193, align 4, !tbaa !32
%220 = load ptr, ptr %54, align 8, !tbaa !22
%221 = load i32, ptr @KRB5_AUTH_CONTEXT_USE_SUBKEY, align 4, !tbaa !5
%222 = call i32 @krb5_auth_con_addflags(i32 noundef %2, ptr noundef %220, i32 noundef %221, ptr noundef null) #3
br label %224
223: ; preds = %203
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
br label %224
224: ; preds = %223, %216, %207
%225 = load ptr, ptr %54, align 8, !tbaa !22
%226 = call i32 @krb5_mk_rep(i32 noundef %2, ptr noundef %225, ptr noundef nonnull %19) #3
%227 = icmp eq i32 %226, 0
br i1 %227, label %230, label %228
228: ; preds = %224
store i32 %226, ptr %0, align 4, !tbaa !5
%229 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !5
br label %240
230: ; preds = %224
%231 = call i64 @IS_DCE_STYLE(ptr noundef nonnull %1) #3
%232 = icmp eq i64 %231, 0
br i1 %232, label %235, label %233
233: ; preds = %230
%234 = load <2 x i32>, ptr %19, align 8, !tbaa !5
store <2 x i32> %234, ptr %8, align 4, !tbaa !5
br label %242
235: ; preds = %230
%236 = load i32, ptr @GSS_KRB5_MECHANISM, align 4, !tbaa !5
%237 = call i32 @_gsskrb5_encapsulate(ptr noundef %0, ptr noundef nonnull %19, ptr noundef %8, ptr noundef nonnull @.str.1, i32 noundef %236) #3
%238 = call i32 @krb5_data_free(ptr noundef nonnull %19) #3
%239 = icmp eq i32 %237, 0
br i1 %239, label %242, label %240
240: ; preds = %228, %235
%241 = phi i32 [ %237, %235 ], [ %229, %228 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
br label %282
242: ; preds = %233, %235
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
%243 = load i32, ptr %1, align 8, !tbaa !29
br label %244
244: ; preds = %242, %186
%245 = phi i32 [ %243, %242 ], [ %187, %186 ]
%246 = load i32, ptr @GSS_C_TRANS_FLAG, align 4, !tbaa !5
%247 = or i32 %245, %246
store i32 %247, ptr %1, align 8, !tbaa !29
%248 = load ptr, ptr %85, align 8, !tbaa !14
%249 = load i32, ptr %248, align 4, !tbaa !16
store i32 %249, ptr %88, align 4, !tbaa !19
%250 = load i32, ptr @OPEN, align 4, !tbaa !5
%251 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 1
%252 = load i32, ptr %251, align 4, !tbaa !32
%253 = or i32 %252, %250
store i32 %253, ptr %251, align 4, !tbaa !32
%254 = icmp eq ptr %7, null
br i1 %254, label %257, label %255
255: ; preds = %244
%256 = load i32, ptr @GSS_KRB5_MECHANISM, align 4, !tbaa !5
store i32 %256, ptr %7, align 4, !tbaa !5
br label %257
257: ; preds = %255, %244
%258 = icmp eq ptr %10, null
br i1 %258, label %263, label %259
259: ; preds = %257
%260 = load i32, ptr %88, align 4, !tbaa !19
%261 = call i32 @_gsskrb5_lifetime_left(ptr noundef %0, i32 noundef %2, i32 noundef %260, ptr noundef nonnull %10) #3
%262 = icmp eq i32 %261, 0
br i1 %262, label %263, label %282
263: ; preds = %259, %257
%264 = call i64 @IS_DCE_STYLE(ptr noundef nonnull %1) #3
%265 = icmp eq i64 %264, 0
br i1 %265, label %277, label %266
266: ; preds = %263
%267 = icmp eq ptr %9, null
br i1 %267, label %273, label %268
268: ; preds = %266
%269 = load i32, ptr %1, align 8, !tbaa !29
%270 = load i32, ptr @GSS_C_DELEG_FLAG, align 4, !tbaa !5
%271 = xor i32 %270, -1
%272 = and i32 %269, %271
store i32 %272, ptr %9, align 4, !tbaa !5
br label %273
273: ; preds = %268, %266
%274 = load i32, ptr @ACCEPTOR_WAIT_FOR_DCESTYLE, align 4, !tbaa !5
%275 = getelementptr inbounds %struct.TYPE_39__, ptr %1, i64 0, i32 2
store i32 %274, ptr %275, align 8, !tbaa !33
%276 = load i32, ptr @GSS_S_CONTINUE_NEEDED, align 4, !tbaa !5
br label %282
277: ; preds = %263
%278 = call i32 @gsskrb5_acceptor_ready(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, ptr noundef %11) #3
%279 = icmp eq ptr %9, null
br i1 %279, label %282, label %280
280: ; preds = %277
%281 = load i32, ptr %1, align 8, !tbaa !29
store i32 %281, ptr %9, align 4, !tbaa !5
br label %282
282: ; preds = %240, %184, %94, %277, %280, %259, %113, %273, %124, %111
%283 = phi i32 [ %112, %111 ], [ %125, %124 ], [ %276, %273 ], [ %114, %113 ], [ %261, %259 ], [ %278, %280 ], [ %278, %277 ], [ %95, %94 ], [ %185, %184 ], [ %241, %240 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
ret i32 %283
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @_gsskrb5_decapsulate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_in_ctx_alloc(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_in_set_keytab(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_in_ctx_free(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_ctx(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @send_error_token(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_out_get_ap_req_options(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_out_get_ticket(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_out_get_keyblock(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_out_ctx_free(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 @krb5_copy_principal(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @_gss_DES3_get_mic_compat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @krb5_auth_con_getauthenticator(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_free_authenticator(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @_gsskrb5_verify_8003_checksum(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_crypto_init(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_verify_checksum(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_crypto_destroy(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_gsskrb5i_is_cfx(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @krb5_auth_con_getremotesubkey(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_auth_con_setlocalsubkey(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_free_keyblock(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_auth_con_addflags(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_mk_rep(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @IS_DCE_STYLE(ptr noundef) local_unnamed_addr #2
declare i32 @_gsskrb5_encapsulate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @krb5_data_free(ptr noundef) local_unnamed_addr #2
declare i32 @_gsskrb5_lifetime_left(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gsskrb5_acceptor_ready(ptr noundef, ptr noundef, i32 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"TYPE_40__", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 0}
!14 = !{!15, !10, i64 16}
!15 = !{!"TYPE_39__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_34__", !18, i64 0, !6, i64 4, !6, i64 8}
!18 = !{!"TYPE_36__", !6, i64 0}
!19 = !{!15, !6, i64 12}
!20 = !{!17, !6, i64 4}
!21 = !{!17, !6, i64 8}
!22 = !{!15, !10, i64 24}
!23 = !{!24, !10, i64 0}
!24 = !{!"TYPE_38__", !10, i64 0}
!25 = !{!26, !27, i64 0}
!26 = !{!"TYPE_42__", !27, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!27, !27, i64 0}
!29 = !{!15, !6, i64 0}
!30 = !{!31, !6, i64 0}
!31 = !{!"TYPE_35__", !6, i64 0}
!32 = !{!15, !6, i64 4}
!33 = !{!15, !6, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/gssapi/krb5/extr_accept_sec_context.c_gsskrb5_acceptor_start.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/gssapi/krb5/extr_accept_sec_context.c_gsskrb5_acceptor_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_37__ = type { i32, i32 }
@GSS_S_COMPLETE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"\01\00\00", align 1
@GSS_KRB5_MECHANISM = common local_unnamed_addr global i32 0, align 4
@_gsskrb5_keytab = common local_unnamed_addr global ptr null, align 8
@GSS_S_FAILURE = common local_unnamed_addr global i32 0, align 4
@KRB5KRB_AP_ERR_SKEW = common local_unnamed_addr global i32 0, align 4
@KRB5KRB_AP_ERR_TKT_NYV = common local_unnamed_addr global i32 0, align 4
@GSS_S_BAD_BINDINGS = common local_unnamed_addr global i32 0, align 4
@CKSUMTYPE_GSSAPI = common local_unnamed_addr global i64 0, align 8
@KRB5_KU_AP_REQ_AUTH_CKSUM = common local_unnamed_addr global i32 0, align 4
@GSS_S_BAD_SIG = common local_unnamed_addr global i32 0, align 4
@GSS_C_REPLAY_FLAG = common local_unnamed_addr global i32 0, align 4
@GSS_C_SEQUENCE_FLAG = common local_unnamed_addr global i32 0, align 4
@AP_OPTS_MUTUAL_REQUIRED = common local_unnamed_addr global i32 0, align 4
@GSS_C_MUTUAL_FLAG = common local_unnamed_addr global i32 0, align 4
@IS_CFX = common local_unnamed_addr global i32 0, align 4
@AP_OPTS_USE_SUBKEY = common local_unnamed_addr global i32 0, align 4
@ACCEPTOR_SUBKEY = common local_unnamed_addr global i32 0, align 4
@KRB5_AUTH_CONTEXT_USE_SUBKEY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"\02\00\00", align 1
@GSS_C_TRANS_FLAG = common local_unnamed_addr global i32 0, align 4
@OPEN = common local_unnamed_addr global i32 0, align 4
@GSS_C_DELEG_FLAG = common local_unnamed_addr global i32 0, align 4
@ACCEPTOR_WAIT_FOR_DCESTYLE = common local_unnamed_addr global i32 0, align 4
@GSS_S_CONTINUE_NEEDED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gsskrb5_acceptor_start], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @gsskrb5_acceptor_start(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef writeonly %7, ptr noundef %8, ptr noundef writeonly %9, ptr noundef %10, ptr noundef %11) #0 {
%13 = alloca %struct.TYPE_37__, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca %struct.TYPE_37__, align 8
%20 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
%21 = sext i32 %3 to i64
%22 = inttoptr i64 %21 to ptr
%23 = load i32, ptr @GSS_KRB5_MECHANISM, align 4, !tbaa !6
%24 = call i32 @_gsskrb5_decapsulate(ptr noundef %0, ptr noundef %4, ptr noundef nonnull %13, ptr noundef nonnull @.str, i32 noundef %23) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %12
%27 = load <2 x i32>, ptr %4, align 4, !tbaa !6
store <2 x i32> %27, ptr %13, align 8, !tbaa !6
br label %28
28: ; preds = %26, %12
%29 = icmp eq i32 %3, 0
br i1 %29, label %30, label %32
30: ; preds = %28
%31 = load ptr, ptr @_gsskrb5_keytab, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
store ptr null, ptr %15, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
store ptr null, ptr %16, align 8, !tbaa !10
br label %36
32: ; preds = %28
%33 = getelementptr inbounds i8, ptr %22, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
store ptr null, ptr %15, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
store ptr null, ptr %16, align 8, !tbaa !10
%35 = load ptr, ptr %22, align 8, !tbaa !14
br label %36
36: ; preds = %30, %32
%37 = phi ptr [ %34, %32 ], [ %31, %30 ]
%38 = phi ptr [ %35, %32 ], [ null, %30 ]
%39 = call i32 @krb5_rd_req_in_ctx_alloc(i32 noundef %2, ptr noundef nonnull %15) #3
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = load ptr, ptr %15, align 8, !tbaa !10
%43 = call i32 @krb5_rd_req_in_set_keytab(i32 noundef %2, ptr noundef %42, ptr noundef %37) #3
%44 = icmp eq i32 %43, 0
br i1 %44, label %53, label %45
45: ; preds = %36, %41
%46 = phi i32 [ %43, %41 ], [ %39, %36 ]
%47 = load ptr, ptr %15, align 8, !tbaa !10
%48 = icmp eq ptr %47, null
br i1 %48, label %51, label %49
49: ; preds = %45
%50 = call i32 @krb5_rd_req_in_ctx_free(i32 noundef %2, ptr noundef nonnull %47) #3
br label %51
51: ; preds = %49, %45
store i32 %46, ptr %0, align 4, !tbaa !6
%52 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !6
br label %94
53: ; preds = %41
%54 = getelementptr inbounds i8, ptr %1, i64 24
%55 = load ptr, ptr %15, align 8, !tbaa !10
%56 = call i32 @krb5_rd_req_ctx(i32 noundef %2, ptr noundef nonnull %54, ptr noundef nonnull %13, ptr noundef %38, ptr noundef %55, ptr noundef nonnull %16) #3
%57 = load ptr, ptr %15, align 8, !tbaa !10
%58 = call i32 @krb5_rd_req_in_ctx_free(i32 noundef %2, ptr noundef %57) #3
%59 = load i32, ptr @KRB5KRB_AP_ERR_SKEW, align 4, !tbaa !6
%60 = icmp eq i32 %56, %59
%61 = load i32, ptr @KRB5KRB_AP_ERR_TKT_NYV, align 4
%62 = icmp eq i32 %56, %61
%63 = select i1 %60, i1 true, i1 %62
br i1 %63, label %64, label %66
64: ; preds = %53
%65 = call i32 @send_error_token(ptr noundef %0, i32 noundef %2, i32 noundef %56, ptr noundef %38, ptr noundef nonnull %13, ptr noundef %8) #3
br label %94
66: ; preds = %53
%67 = icmp eq i32 %56, 0
br i1 %67, label %70, label %68
68: ; preds = %66
store i32 %56, ptr %0, align 4, !tbaa !6
%69 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !6
br label %94
70: ; preds = %66
%71 = load ptr, ptr %16, align 8, !tbaa !10
%72 = call i32 @krb5_rd_req_out_get_ap_req_options(i32 noundef %2, ptr noundef %71, ptr noundef nonnull %14) #3
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %83
74: ; preds = %70
%75 = load ptr, ptr %16, align 8, !tbaa !10
%76 = getelementptr inbounds i8, ptr %1, i64 16
%77 = call i32 @krb5_rd_req_out_get_ticket(i32 noundef %2, ptr noundef %75, ptr noundef nonnull %76) #3
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %83
79: ; preds = %74
%80 = load ptr, ptr %16, align 8, !tbaa !10
%81 = getelementptr inbounds i8, ptr %1, i64 44
%82 = call i32 @krb5_rd_req_out_get_keyblock(i32 noundef %2, ptr noundef %80, ptr noundef nonnull %81) #3
br label %83
83: ; preds = %70, %79, %74
%84 = phi i32 [ %82, %79 ], [ %77, %74 ], [ %72, %70 ]
%85 = getelementptr inbounds i8, ptr %1, i64 16
%86 = load ptr, ptr %85, align 8, !tbaa !15
%87 = load i32, ptr %86, align 4, !tbaa !17
%88 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %87, ptr %88, align 4, !tbaa !20
%89 = load ptr, ptr %16, align 8, !tbaa !10
%90 = call i32 @krb5_rd_req_out_ctx_free(i32 noundef %2, ptr noundef %89) #3
%91 = icmp eq i32 %84, 0
br i1 %91, label %96, label %92
92: ; preds = %83
%93 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !6
store i32 %84, ptr %0, align 4, !tbaa !6
br label %94
94: ; preds = %51, %64, %68, %92
%95 = phi i32 [ %93, %92 ], [ %69, %68 ], [ %65, %64 ], [ %52, %51 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
br label %282
96: ; preds = %83
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
%97 = load ptr, ptr %85, align 8, !tbaa !15
%98 = getelementptr inbounds i8, ptr %97, i64 4
%99 = load i32, ptr %98, align 4, !tbaa !21
%100 = getelementptr inbounds i8, ptr %1, i64 40
%101 = call i32 @krb5_copy_principal(i32 noundef %2, i32 noundef %99, ptr noundef nonnull %100) #3
%102 = icmp eq i32 %101, 0
br i1 %102, label %104, label %103
103: ; preds = %96
store i32 %101, ptr %0, align 4, !tbaa !6
br label %104
104: ; preds = %103, %96
%105 = load ptr, ptr %85, align 8, !tbaa !15
%106 = getelementptr inbounds i8, ptr %105, i64 8
%107 = load i32, ptr %106, align 4, !tbaa !22
%108 = getelementptr inbounds i8, ptr %1, i64 36
%109 = call i32 @krb5_copy_principal(i32 noundef %2, i32 noundef %107, ptr noundef nonnull %108) #3
%110 = icmp eq i32 %109, 0
br i1 %110, label %113, label %111
111: ; preds = %104
%112 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !6
store i32 %109, ptr %0, align 4, !tbaa !6
br label %282
113: ; preds = %104
%114 = call i32 @_gss_DES3_get_mic_compat(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #3
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %282
116: ; preds = %113
%117 = icmp eq ptr %6, null
br i1 %117, label %126, label %118
118: ; preds = %116
%119 = load ptr, ptr %85, align 8, !tbaa !15
%120 = getelementptr inbounds i8, ptr %119, i64 4
%121 = load i32, ptr %120, align 4, !tbaa !21
%122 = call i32 @krb5_copy_principal(i32 noundef %2, i32 noundef %121, ptr noundef nonnull %6) #3
%123 = icmp eq i32 %122, 0
br i1 %123, label %126, label %124
124: ; preds = %118
%125 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !6
store i32 %122, ptr %0, align 4, !tbaa !6
br label %282
126: ; preds = %118, %116
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
%127 = load ptr, ptr %54, align 8, !tbaa !23
%128 = call i32 @krb5_auth_con_getauthenticator(i32 noundef %2, ptr noundef %127, ptr noundef nonnull %17) #3
%129 = icmp eq i32 %128, 0
br i1 %129, label %132, label %130
130: ; preds = %126
%131 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !6
store i32 %128, ptr %0, align 4, !tbaa !6
br label %184
132: ; preds = %126
%133 = load ptr, ptr %17, align 8, !tbaa !10
%134 = load ptr, ptr %133, align 8, !tbaa !24
%135 = icmp eq ptr %134, null
br i1 %135, label %136, label %139
136: ; preds = %132
%137 = call i32 @krb5_free_authenticator(i32 noundef %2, ptr noundef nonnull %17) #3
store i32 0, ptr %0, align 4, !tbaa !6
%138 = load i32, ptr @GSS_S_BAD_BINDINGS, align 4, !tbaa !6
br label %184
139: ; preds = %132
%140 = load i64, ptr %134, align 8, !tbaa !26
%141 = load i64, ptr @CKSUMTYPE_GSSAPI, align 8, !tbaa !29
%142 = icmp eq i64 %140, %141
br i1 %142, label %143, label %150
143: ; preds = %139
%144 = getelementptr inbounds i8, ptr %1, i64 32
%145 = call i32 @_gsskrb5_verify_8003_checksum(ptr noundef %0, i32 noundef %5, ptr noundef nonnull %134, ptr noundef nonnull %1, ptr noundef nonnull %144) #3
%146 = call i32 @krb5_free_authenticator(i32 noundef %2, ptr noundef nonnull %17) #3
%147 = icmp eq i32 %145, 0
br i1 %147, label %148, label %184
148: ; preds = %143
%149 = load i32, ptr %1, align 8, !tbaa !30
br label %186
150: ; preds = %139
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #3
%151 = load ptr, ptr %54, align 8, !tbaa !23
%152 = load i32, ptr %151, align 4, !tbaa !31
%153 = call i32 @krb5_crypto_init(i32 noundef %2, i32 noundef %152, i32 noundef 0, ptr noundef nonnull %18) #3
%154 = icmp eq i32 %153, 0
br i1 %154, label %157, label %155
155: ; preds = %150
%156 = call i32 @krb5_free_authenticator(i32 noundef %2, ptr noundef nonnull %17) #3
br label %180
157: ; preds = %150
%158 = load i32, ptr %18, align 4, !tbaa !6
%159 = load i32, ptr @KRB5_KU_AP_REQ_AUTH_CKSUM, align 4, !tbaa !6
%160 = load ptr, ptr %17, align 8, !tbaa !10
%161 = load ptr, ptr %160, align 8, !tbaa !24
%162 = call i32 @krb5_verify_checksum(i32 noundef %2, i32 noundef %158, i32 noundef %159, ptr noundef null, i32 noundef 0, ptr noundef %161) #3
%163 = call i32 @krb5_free_authenticator(i32 noundef %2, ptr noundef nonnull %17) #3
%164 = load i32, ptr %18, align 4, !tbaa !6
%165 = call i32 @krb5_crypto_destroy(i32 noundef %2, i32 noundef %164) #3
%166 = icmp eq i32 %162, 0
br i1 %166, label %167, label %180
167: ; preds = %157
%168 = load i32, ptr @GSS_C_REPLAY_FLAG, align 4, !tbaa !6
%169 = load i32, ptr @GSS_C_SEQUENCE_FLAG, align 4, !tbaa !6
%170 = or i32 %169, %168
store i32 %170, ptr %1, align 8, !tbaa !30
%171 = load i32, ptr %14, align 4, !tbaa !6
%172 = load i32, ptr @AP_OPTS_MUTUAL_REQUIRED, align 4, !tbaa !6
%173 = and i32 %172, %171
%174 = icmp eq i32 %173, 0
br i1 %174, label %178, label %175
175: ; preds = %167
%176 = load i32, ptr @GSS_C_MUTUAL_FLAG, align 4, !tbaa !6
%177 = or i32 %176, %170
store i32 %177, ptr %1, align 8, !tbaa !30
br label %178
178: ; preds = %175, %167
%179 = phi i32 [ %177, %175 ], [ %170, %167 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #3
br label %186
180: ; preds = %157, %155
%181 = phi i32 [ %153, %155 ], [ %162, %157 ]
%182 = phi ptr [ @GSS_S_FAILURE, %155 ], [ @GSS_S_BAD_SIG, %157 ]
%183 = load i32, ptr %182, align 4, !tbaa !6
store i32 %181, ptr %0, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #3
br label %184
184: ; preds = %130, %136, %180, %143
%185 = phi i32 [ %145, %143 ], [ %183, %180 ], [ %138, %136 ], [ %131, %130 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
br label %282
186: ; preds = %148, %178
%187 = phi i32 [ %149, %148 ], [ %179, %178 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
%188 = load i32, ptr @GSS_C_MUTUAL_FLAG, align 4, !tbaa !6
%189 = and i32 %188, %187
%190 = icmp eq i32 %189, 0
br i1 %190, label %244, label %191
191: ; preds = %186
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
%192 = call i32 @_gsskrb5i_is_cfx(i32 noundef %2, ptr noundef nonnull %1, i32 noundef 1) #3
%193 = getelementptr inbounds i8, ptr %1, i64 4
%194 = load i32, ptr %193, align 4, !tbaa !33
%195 = load i32, ptr @IS_CFX, align 4, !tbaa !6
%196 = and i32 %195, %194
%197 = icmp eq i32 %196, 0
br i1 %197, label %198, label %216
198: ; preds = %191
%199 = load i32, ptr %14, align 4, !tbaa !6
%200 = load i32, ptr @AP_OPTS_USE_SUBKEY, align 4, !tbaa !6
%201 = and i32 %200, %199
%202 = icmp eq i32 %201, 0
br i1 %202, label %203, label %216
203: ; preds = %198
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
%204 = load ptr, ptr %54, align 8, !tbaa !23
%205 = call i32 @krb5_auth_con_getremotesubkey(i32 noundef %2, ptr noundef %204, ptr noundef nonnull %20) #3
%206 = icmp eq i32 %205, 0
br i1 %206, label %207, label %223
207: ; preds = %203
%208 = load ptr, ptr %54, align 8, !tbaa !23
%209 = load ptr, ptr %20, align 8, !tbaa !10
%210 = call i32 @krb5_auth_con_setlocalsubkey(i32 noundef %2, ptr noundef %208, ptr noundef %209) #3
%211 = icmp eq i32 %210, 0
%212 = load ptr, ptr %20, align 8, !tbaa !10
%213 = call i32 @krb5_free_keyblock(i32 noundef %2, ptr noundef %212) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
br i1 %211, label %214, label %224
214: ; preds = %207
%215 = load i32, ptr %193, align 4, !tbaa !33
br label %216
216: ; preds = %214, %198, %191
%217 = phi i32 [ %215, %214 ], [ %194, %198 ], [ %194, %191 ]
%218 = load i32, ptr @ACCEPTOR_SUBKEY, align 4, !tbaa !6
%219 = or i32 %217, %218
store i32 %219, ptr %193, align 4, !tbaa !33
%220 = load ptr, ptr %54, align 8, !tbaa !23
%221 = load i32, ptr @KRB5_AUTH_CONTEXT_USE_SUBKEY, align 4, !tbaa !6
%222 = call i32 @krb5_auth_con_addflags(i32 noundef %2, ptr noundef %220, i32 noundef %221, ptr noundef null) #3
br label %224
223: ; preds = %203
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
br label %224
224: ; preds = %223, %216, %207
%225 = load ptr, ptr %54, align 8, !tbaa !23
%226 = call i32 @krb5_mk_rep(i32 noundef %2, ptr noundef %225, ptr noundef nonnull %19) #3
%227 = icmp eq i32 %226, 0
br i1 %227, label %230, label %228
228: ; preds = %224
store i32 %226, ptr %0, align 4, !tbaa !6
%229 = load i32, ptr @GSS_S_FAILURE, align 4, !tbaa !6
br label %240
230: ; preds = %224
%231 = call i64 @IS_DCE_STYLE(ptr noundef nonnull %1) #3
%232 = icmp eq i64 %231, 0
br i1 %232, label %235, label %233
233: ; preds = %230
%234 = load <2 x i32>, ptr %19, align 8, !tbaa !6
store <2 x i32> %234, ptr %8, align 4, !tbaa !6
br label %242
235: ; preds = %230
%236 = load i32, ptr @GSS_KRB5_MECHANISM, align 4, !tbaa !6
%237 = call i32 @_gsskrb5_encapsulate(ptr noundef %0, ptr noundef nonnull %19, ptr noundef %8, ptr noundef nonnull @.str.1, i32 noundef %236) #3
%238 = call i32 @krb5_data_free(ptr noundef nonnull %19) #3
%239 = icmp eq i32 %237, 0
br i1 %239, label %242, label %240
240: ; preds = %228, %235
%241 = phi i32 [ %237, %235 ], [ %229, %228 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
br label %282
242: ; preds = %233, %235
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
%243 = load i32, ptr %1, align 8, !tbaa !30
br label %244
244: ; preds = %242, %186
%245 = phi i32 [ %243, %242 ], [ %187, %186 ]
%246 = load i32, ptr @GSS_C_TRANS_FLAG, align 4, !tbaa !6
%247 = or i32 %245, %246
store i32 %247, ptr %1, align 8, !tbaa !30
%248 = load ptr, ptr %85, align 8, !tbaa !15
%249 = load i32, ptr %248, align 4, !tbaa !17
store i32 %249, ptr %88, align 4, !tbaa !20
%250 = load i32, ptr @OPEN, align 4, !tbaa !6
%251 = getelementptr inbounds i8, ptr %1, i64 4
%252 = load i32, ptr %251, align 4, !tbaa !33
%253 = or i32 %252, %250
store i32 %253, ptr %251, align 4, !tbaa !33
%254 = icmp eq ptr %7, null
br i1 %254, label %257, label %255
255: ; preds = %244
%256 = load i32, ptr @GSS_KRB5_MECHANISM, align 4, !tbaa !6
store i32 %256, ptr %7, align 4, !tbaa !6
br label %257
257: ; preds = %255, %244
%258 = icmp eq ptr %10, null
br i1 %258, label %263, label %259
259: ; preds = %257
%260 = load i32, ptr %88, align 4, !tbaa !20
%261 = call i32 @_gsskrb5_lifetime_left(ptr noundef %0, i32 noundef %2, i32 noundef %260, ptr noundef nonnull %10) #3
%262 = icmp eq i32 %261, 0
br i1 %262, label %263, label %282
263: ; preds = %259, %257
%264 = call i64 @IS_DCE_STYLE(ptr noundef nonnull %1) #3
%265 = icmp eq i64 %264, 0
br i1 %265, label %277, label %266
266: ; preds = %263
%267 = icmp eq ptr %9, null
br i1 %267, label %273, label %268
268: ; preds = %266
%269 = load i32, ptr %1, align 8, !tbaa !30
%270 = load i32, ptr @GSS_C_DELEG_FLAG, align 4, !tbaa !6
%271 = xor i32 %270, -1
%272 = and i32 %269, %271
store i32 %272, ptr %9, align 4, !tbaa !6
br label %273
273: ; preds = %268, %266
%274 = load i32, ptr @ACCEPTOR_WAIT_FOR_DCESTYLE, align 4, !tbaa !6
%275 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %274, ptr %275, align 8, !tbaa !34
%276 = load i32, ptr @GSS_S_CONTINUE_NEEDED, align 4, !tbaa !6
br label %282
277: ; preds = %263
%278 = call i32 @gsskrb5_acceptor_ready(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2, ptr noundef %11) #3
%279 = icmp eq ptr %9, null
br i1 %279, label %282, label %280
280: ; preds = %277
%281 = load i32, ptr %1, align 8, !tbaa !30
store i32 %281, ptr %9, align 4, !tbaa !6
br label %282
282: ; preds = %240, %184, %94, %277, %280, %259, %113, %273, %124, %111
%283 = phi i32 [ %112, %111 ], [ %125, %124 ], [ %276, %273 ], [ %114, %113 ], [ %261, %259 ], [ %278, %280 ], [ %278, %277 ], [ %95, %94 ], [ %185, %184 ], [ %241, %240 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
ret i32 %283
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @_gsskrb5_decapsulate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_in_ctx_alloc(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_in_set_keytab(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_in_ctx_free(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_ctx(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @send_error_token(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_out_get_ap_req_options(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_out_get_ticket(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_out_get_keyblock(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_rd_req_out_ctx_free(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 @krb5_copy_principal(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @_gss_DES3_get_mic_compat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @krb5_auth_con_getauthenticator(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_free_authenticator(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @_gsskrb5_verify_8003_checksum(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_crypto_init(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_verify_checksum(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_crypto_destroy(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_gsskrb5i_is_cfx(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @krb5_auth_con_getremotesubkey(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_auth_con_setlocalsubkey(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_free_keyblock(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_auth_con_addflags(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @krb5_mk_rep(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @IS_DCE_STYLE(ptr noundef) local_unnamed_addr #2
declare i32 @_gsskrb5_encapsulate(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @krb5_data_free(ptr noundef) local_unnamed_addr #2
declare i32 @_gsskrb5_lifetime_left(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @gsskrb5_acceptor_ready(ptr noundef, ptr noundef, i32 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 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"TYPE_40__", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 0}
!15 = !{!16, !11, i64 16}
!16 = !{!"TYPE_39__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !11, i64 16, !11, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_34__", !19, i64 0, !7, i64 4, !7, i64 8}
!19 = !{!"TYPE_36__", !7, i64 0}
!20 = !{!16, !7, i64 12}
!21 = !{!18, !7, i64 4}
!22 = !{!18, !7, i64 8}
!23 = !{!16, !11, i64 24}
!24 = !{!25, !11, i64 0}
!25 = !{!"TYPE_38__", !11, i64 0}
!26 = !{!27, !28, i64 0}
!27 = !{!"TYPE_42__", !28, i64 0}
!28 = !{!"long", !8, i64 0}
!29 = !{!28, !28, i64 0}
!30 = !{!16, !7, i64 0}
!31 = !{!32, !7, i64 0}
!32 = !{!"TYPE_35__", !7, i64 0}
!33 = !{!16, !7, i64 4}
!34 = !{!16, !7, i64 8}
| freebsd_crypto_heimdal_lib_gssapi_krb5_extr_accept_sec_context.c_gsskrb5_acceptor_start |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_compat.c_get_fs_path.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_compat.c_get_fs_path.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
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_fs_path], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @get_fs_path(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = call i32 @svn_ra_get_session_url(ptr noundef %1, ptr noundef nonnull %5, ptr noundef %3) #3
%8 = call i32 @SVN_ERR(i32 noundef %7) #3
%9 = load ptr, ptr %5, align 8, !tbaa !5
%10 = call i32 @svn_ra_get_path_relative_to_root(ptr noundef %1, ptr noundef nonnull %6, ptr noundef %9, ptr noundef %3) #3
%11 = call i32 @SVN_ERR(i32 noundef %10) #3
%12 = load ptr, ptr %6, align 8, !tbaa !5
%13 = call i32 @svn_relpath_join(ptr noundef %12, ptr noundef %2, ptr noundef %3) #3
%14 = call ptr @svn_fspath__canonicalize(i32 noundef %13, ptr noundef %3) #3
store ptr %14, ptr %0, align 8, !tbaa !5
%15 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret ptr %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_ra_get_session_url(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_ra_get_path_relative_to_root(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_fspath__canonicalize(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_relpath_join(ptr 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_compat.c_get_fs_path.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra/extr_compat.c_get_fs_path.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
@llvm.used = appending global [1 x ptr] [ptr @get_fs_path], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @get_fs_path(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = call i32 @svn_ra_get_session_url(ptr noundef %1, ptr noundef nonnull %5, ptr noundef %3) #3
%8 = call i32 @SVN_ERR(i32 noundef %7) #3
%9 = load ptr, ptr %5, align 8, !tbaa !6
%10 = call i32 @svn_ra_get_path_relative_to_root(ptr noundef %1, ptr noundef nonnull %6, ptr noundef %9, ptr noundef %3) #3
%11 = call i32 @SVN_ERR(i32 noundef %10) #3
%12 = load ptr, ptr %6, align 8, !tbaa !6
%13 = call i32 @svn_relpath_join(ptr noundef %12, ptr noundef %2, ptr noundef %3) #3
%14 = call ptr @svn_fspath__canonicalize(i32 noundef %13, ptr noundef %3) #3
store ptr %14, ptr %0, align 8, !tbaa !6
%15 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret ptr %15
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_ra_get_session_url(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_ra_get_path_relative_to_root(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_fspath__canonicalize(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_relpath_join(ptr 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_subversion_subversion_libsvn_ra_extr_compat.c_get_fs_path |
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_table_algo.c_ta_flush_chash_entry.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_table_algo.c_ta_flush_chash_entry.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"
@M_IPFW_TBL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ta_flush_chash_entry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ta_flush_chash_entry(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr @M_IPFW_TBL, align 4, !tbaa !10
%8 = tail call i32 @free(ptr noundef nonnull %4, i32 noundef %7) #2
br label %9
9: ; preds = %6, %3
ret void
}
declare i32 @free(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, !7, i64 0}
!6 = !{!"ta_buf_chash", !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/freebsd/sys/netpfil/ipfw/extr_ip_fw_table_algo.c_ta_flush_chash_entry.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_table_algo.c_ta_flush_chash_entry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_IPFW_TBL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ta_flush_chash_entry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ta_flush_chash_entry(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 {
%4 = load ptr, ptr %2, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr @M_IPFW_TBL, align 4, !tbaa !11
%8 = tail call i32 @free(ptr noundef nonnull %4, i32 noundef %7) #2
br label %9
9: ; preds = %6, %3
ret void
}
declare i32 @free(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, !8, i64 0}
!7 = !{!"ta_buf_chash", !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}
| freebsd_sys_netpfil_ipfw_extr_ip_fw_table_algo.c_ta_flush_chash_entry |
; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-vnode.c_vn_free.c'
source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-vnode.c_vn_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"
@vn_cache = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @vn_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @vn_cache, align 4, !tbaa !5
%3 = tail call i32 @kmem_cache_free(i32 noundef %2, ptr noundef %0) #2
ret void
}
declare i32 @kmem_cache_free(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/zfs/module/os/linux/spl/extr_spl-vnode.c_vn_free.c'
source_filename = "AnghaBench/zfs/module/os/linux/spl/extr_spl-vnode.c_vn_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vn_cache = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @vn_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @vn_cache, align 4, !tbaa !6
%3 = tail call i32 @kmem_cache_free(i32 noundef %2, ptr noundef %0) #2
ret void
}
declare i32 @kmem_cache_free(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| zfs_module_os_linux_spl_extr_spl-vnode.c_vn_free |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_rtw8822c.c_rtw8822c_cfg_ldo25.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_rtw8822c.c_rtw8822c_cfg_ldo25.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"
@REG_ANAPARLDO_POW_MAC = dso_local local_unnamed_addr global i32 0, align 4
@BIT_LDOE25_PON = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtw8822c_cfg_ldo25], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rtw8822c_cfg_ldo25(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @REG_ANAPARLDO_POW_MAC, align 4, !tbaa !5
%4 = tail call i32 @rtw_read8(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @BIT_LDOE25_PON, align 4, !tbaa !5
%7 = or i32 %6, %4
%8 = xor i32 %6, -1
%9 = and i32 %4, %8
%10 = select i1 %5, i32 %9, i32 %7
%11 = load i32, ptr @REG_ANAPARLDO_POW_MAC, align 4, !tbaa !5
%12 = tail call i32 @rtw_write8(ptr noundef %0, i32 noundef %11, i32 noundef %10) #2
ret void
}
declare i32 @rtw_read8(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtw_write8(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_rtw8822c.c_rtw8822c_cfg_ldo25.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtw88/extr_rtw8822c.c_rtw8822c_cfg_ldo25.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REG_ANAPARLDO_POW_MAC = common local_unnamed_addr global i32 0, align 4
@BIT_LDOE25_PON = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtw8822c_cfg_ldo25], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rtw8822c_cfg_ldo25(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @REG_ANAPARLDO_POW_MAC, align 4, !tbaa !6
%4 = tail call i32 @rtw_read8(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @BIT_LDOE25_PON, align 4, !tbaa !6
%7 = or i32 %6, %4
%8 = xor i32 %6, -1
%9 = and i32 %4, %8
%10 = select i1 %5, i32 %9, i32 %7
%11 = load i32, ptr @REG_ANAPARLDO_POW_MAC, align 4, !tbaa !6
%12 = tail call i32 @rtw_write8(ptr noundef %0, i32 noundef %11, i32 noundef %10) #2
ret void
}
declare i32 @rtw_read8(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtw_write8(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_realtek_rtw88_extr_rtw8822c.c_rtw8822c_cfg_ldo25 |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_lib.c_BIO_up_ref.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_lib.c_BIO_up_ref.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 }
@.str = private unnamed_addr constant [4 x i8] c"BIO\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @BIO_up_ref(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = call i64 @CRYPTO_UP_REF(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef %4) #3
%6 = icmp slt i64 %5, 1
br i1 %6, label %16, label %7
7: ; preds = %1
%8 = call i32 @REF_PRINT_COUNT(ptr noundef nonnull @.str, ptr noundef nonnull %0) #3
%9 = load i32, ptr %2, align 4, !tbaa !10
%10 = icmp slt i32 %9, 2
%11 = zext i1 %10 to i32
%12 = call i32 @REF_ASSERT_ISNT(i32 noundef %11) #3
%13 = load i32, ptr %2, align 4, !tbaa !10
%14 = icmp sgt i32 %13, 1
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %1, %7
%17 = phi i32 [ %15, %7 ], [ 0, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %17
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @CRYPTO_UP_REF(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @REF_PRINT_COUNT(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @REF_ASSERT_ISNT(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, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_lib.c_BIO_up_ref.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_lib.c_BIO_up_ref.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 [4 x i8] c"BIO\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @BIO_up_ref(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = call i64 @CRYPTO_UP_REF(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef %4) #3
%6 = icmp slt i64 %5, 1
br i1 %6, label %16, label %7
7: ; preds = %1
%8 = call i32 @REF_PRINT_COUNT(ptr noundef nonnull @.str, ptr noundef nonnull %0) #3
%9 = load i32, ptr %2, align 4, !tbaa !11
%10 = icmp slt i32 %9, 2
%11 = zext i1 %10 to i32
%12 = call i32 @REF_ASSERT_ISNT(i32 noundef %11) #3
%13 = load i32, ptr %2, align 4, !tbaa !11
%14 = icmp sgt i32 %13, 1
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %1, %7
%17 = phi i32 [ %15, %7 ], [ 0, %1 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %17
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @CRYPTO_UP_REF(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @REF_PRINT_COUNT(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @REF_ASSERT_ISNT(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, !8, i64 0}
!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 = !{!8, !8, i64 0}
| freebsd_crypto_openssl_crypto_bio_extr_bio_lib.c_BIO_up_ref |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_write_nic_dword.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_write_nic_dword.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"
@RTL8187_REQ_SET_REGS = dso_local local_unnamed_addr global i32 0, align 4
@RTL8187_REQT_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"write_nic_dword TimeOut! status:%d\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @write_nic_dword(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
store i32 %2, ptr %4, align 4, !tbaa !5
%5 = tail call i64 @ieee80211_priv(ptr noundef %0) #2
%6 = inttoptr i64 %5 to ptr
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = tail call i32 @usb_sndctrlpipe(ptr noundef %7, i32 noundef 0) #2
%9 = load i32, ptr @RTL8187_REQ_SET_REGS, align 4, !tbaa !5
%10 = load i32, ptr @RTL8187_REQT_WRITE, align 4, !tbaa !5
%11 = load i32, ptr @HZ, align 4, !tbaa !5
%12 = sdiv i32 %11, 2
%13 = call i32 @usb_control_msg(ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %1, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 4, i32 noundef %12) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @printk(ptr noundef nonnull @.str, i32 noundef %13) #2
br label %17
17: ; preds = %15, %3
ret void
}
declare i64 @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printk(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, !11, i64 0}
!10 = !{!"r8192_priv", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_write_nic_dword.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192U_core.c_write_nic_dword.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTL8187_REQ_SET_REGS = common local_unnamed_addr global i32 0, align 4
@RTL8187_REQT_WRITE = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [36 x i8] c"write_nic_dword TimeOut! status:%d\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @write_nic_dword(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
store i32 %2, ptr %4, align 4, !tbaa !6
%5 = tail call i64 @ieee80211_priv(ptr noundef %0) #2
%6 = inttoptr i64 %5 to ptr
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = tail call i32 @usb_sndctrlpipe(ptr noundef %7, i32 noundef 0) #2
%9 = load i32, ptr @RTL8187_REQ_SET_REGS, align 4, !tbaa !6
%10 = load i32, ptr @RTL8187_REQT_WRITE, align 4, !tbaa !6
%11 = load i32, ptr @HZ, align 4, !tbaa !6
%12 = sdiv i32 %11, 2
%13 = call i32 @usb_control_msg(ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %1, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 4, i32 noundef %12) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 @printk(ptr noundef nonnull @.str, i32 noundef %13) #2
br label %17
17: ; preds = %15, %3
ret void
}
declare i64 @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_sndctrlpipe(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @printk(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, !12, i64 0}
!11 = !{!"r8192_priv", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_drivers_staging_rtl8192su_extr_r8192U_core.c_write_nic_dword |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_loop-unroll.c_split_iv.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_loop-unroll.c_split_iv.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.iv_to_split = type { i64, i64 }
@MULT = dso_local local_unnamed_addr global i32 0, align 4
@PLUS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @split_iv], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @split_iv(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @GET_MODE(i64 noundef %4) #2
%6 = icmp eq i32 %2, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = load i64, ptr %0, align 8, !tbaa !5
br label %20
9: ; preds = %3
%10 = load i32, ptr @MULT, align 4, !tbaa !10
%11 = getelementptr inbounds %struct.iv_to_split, ptr %0, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = tail call i64 @gen_int_mode(i32 noundef %2, i32 noundef %5) #2
%14 = tail call i64 @simplify_gen_binary(i32 noundef %10, i32 noundef %5, i64 noundef %12, i64 noundef %13) #2
%15 = load i32, ptr @PLUS, align 4, !tbaa !10
%16 = load i64, ptr %0, align 8, !tbaa !5
%17 = tail call i32 @GET_MODE(i64 noundef %16) #2
%18 = load i64, ptr %0, align 8, !tbaa !5
%19 = tail call i64 @simplify_gen_binary(i32 noundef %15, i32 noundef %17, i64 noundef %18, i64 noundef %14) #2
br label %20
20: ; preds = %9, %7
%21 = phi i64 [ %19, %9 ], [ %8, %7 ]
%22 = tail call i64 @single_set(i64 noundef %1) #2
%23 = tail call ptr @get_ivts_expr(i64 noundef %22, ptr noundef nonnull %0) #2
%24 = tail call i64 @validate_change(i64 noundef %1, ptr noundef %23, i64 noundef %21, i32 noundef 0) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %56
26: ; preds = %20
%27 = tail call i32 (...) @start_sequence() #2
%28 = tail call i64 @gen_reg_rtx(i32 noundef %5) #2
%29 = tail call i64 @force_operand(i64 noundef %21, i64 noundef %28) #2
%30 = icmp eq i64 %29, %28
br i1 %30, label %33, label %31
31: ; preds = %26
%32 = tail call i32 @emit_move_insn(i64 noundef %28, i64 noundef %29) #2
br label %33
33: ; preds = %31, %26
%34 = tail call i64 (...) @get_insns() #2
%35 = tail call i32 (...) @end_sequence() #2
%36 = tail call i32 @emit_insn_before(i64 noundef %34, i64 noundef %1) #2
%37 = tail call i64 @validate_change(i64 noundef %1, ptr noundef %23, i64 noundef %28, i32 noundef 0) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %56
39: ; preds = %33
%40 = tail call i64 @single_set(i64 noundef %1) #2
%41 = tail call i32 @gcc_assert(i64 noundef %40) #2
%42 = tail call i32 (...) @start_sequence() #2
store i64 %28, ptr %23, align 8, !tbaa !13
%43 = tail call i32 @SET_SRC(i64 noundef %40) #2
%44 = tail call i64 @copy_rtx(i32 noundef %43) #2
%45 = tail call i32 @SET_DEST(i64 noundef %40) #2
%46 = tail call i64 @copy_rtx(i32 noundef %45) #2
%47 = tail call i64 @force_operand(i64 noundef %44, i64 noundef %46) #2
%48 = icmp eq i64 %47, %46
br i1 %48, label %51, label %49
49: ; preds = %39
%50 = tail call i32 @emit_move_insn(i64 noundef %46, i64 noundef %47) #2
br label %51
51: ; preds = %49, %39
%52 = tail call i64 (...) @get_insns() #2
%53 = tail call i32 (...) @end_sequence() #2
%54 = tail call i32 @emit_insn_before(i64 noundef %52, i64 noundef %1) #2
%55 = tail call i32 @delete_insn(i64 noundef %1) #2
br label %56
56: ; preds = %33, %20, %51
ret void
}
declare i32 @GET_MODE(i64 noundef) local_unnamed_addr #1
declare i64 @simplify_gen_binary(i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @gen_int_mode(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @get_ivts_expr(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @single_set(i64 noundef) local_unnamed_addr #1
declare i64 @validate_change(i64 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @start_sequence(...) local_unnamed_addr #1
declare i64 @gen_reg_rtx(i32 noundef) local_unnamed_addr #1
declare i64 @force_operand(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @emit_move_insn(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @get_insns(...) local_unnamed_addr #1
declare i32 @end_sequence(...) local_unnamed_addr #1
declare i32 @emit_insn_before(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @gcc_assert(i64 noundef) local_unnamed_addr #1
declare i64 @copy_rtx(i32 noundef) local_unnamed_addr #1
declare i32 @SET_SRC(i64 noundef) local_unnamed_addr #1
declare i32 @SET_DEST(i64 noundef) local_unnamed_addr #1
declare i32 @delete_insn(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, !7, i64 0}
!6 = !{!"iv_to_split", !7, i64 0, !7, i64 8}
!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 = !{!6, !7, i64 8}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_loop-unroll.c_split_iv.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_loop-unroll.c_split_iv.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MULT = common local_unnamed_addr global i32 0, align 4
@PLUS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @split_iv], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @split_iv(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @GET_MODE(i64 noundef %4) #2
%6 = icmp eq i32 %2, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = load i64, ptr %0, align 8, !tbaa !6
br label %20
9: ; preds = %3
%10 = load i32, ptr @MULT, align 4, !tbaa !11
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = tail call i64 @gen_int_mode(i32 noundef %2, i32 noundef %5) #2
%14 = tail call i64 @simplify_gen_binary(i32 noundef %10, i32 noundef %5, i64 noundef %12, i64 noundef %13) #2
%15 = load i32, ptr @PLUS, align 4, !tbaa !11
%16 = load i64, ptr %0, align 8, !tbaa !6
%17 = tail call i32 @GET_MODE(i64 noundef %16) #2
%18 = load i64, ptr %0, align 8, !tbaa !6
%19 = tail call i64 @simplify_gen_binary(i32 noundef %15, i32 noundef %17, i64 noundef %18, i64 noundef %14) #2
br label %20
20: ; preds = %9, %7
%21 = phi i64 [ %19, %9 ], [ %8, %7 ]
%22 = tail call i64 @single_set(i64 noundef %1) #2
%23 = tail call ptr @get_ivts_expr(i64 noundef %22, ptr noundef nonnull %0) #2
%24 = tail call i64 @validate_change(i64 noundef %1, ptr noundef %23, i64 noundef %21, i32 noundef 0) #2
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %56
26: ; preds = %20
%27 = tail call i32 @start_sequence() #2
%28 = tail call i64 @gen_reg_rtx(i32 noundef %5) #2
%29 = tail call i64 @force_operand(i64 noundef %21, i64 noundef %28) #2
%30 = icmp eq i64 %29, %28
br i1 %30, label %33, label %31
31: ; preds = %26
%32 = tail call i32 @emit_move_insn(i64 noundef %28, i64 noundef %29) #2
br label %33
33: ; preds = %31, %26
%34 = tail call i64 @get_insns() #2
%35 = tail call i32 @end_sequence() #2
%36 = tail call i32 @emit_insn_before(i64 noundef %34, i64 noundef %1) #2
%37 = tail call i64 @validate_change(i64 noundef %1, ptr noundef %23, i64 noundef %28, i32 noundef 0) #2
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %56
39: ; preds = %33
%40 = tail call i64 @single_set(i64 noundef %1) #2
%41 = tail call i32 @gcc_assert(i64 noundef %40) #2
%42 = tail call i32 @start_sequence() #2
store i64 %28, ptr %23, align 8, !tbaa !14
%43 = tail call i32 @SET_SRC(i64 noundef %40) #2
%44 = tail call i64 @copy_rtx(i32 noundef %43) #2
%45 = tail call i32 @SET_DEST(i64 noundef %40) #2
%46 = tail call i64 @copy_rtx(i32 noundef %45) #2
%47 = tail call i64 @force_operand(i64 noundef %44, i64 noundef %46) #2
%48 = icmp eq i64 %47, %46
br i1 %48, label %51, label %49
49: ; preds = %39
%50 = tail call i32 @emit_move_insn(i64 noundef %46, i64 noundef %47) #2
br label %51
51: ; preds = %49, %39
%52 = tail call i64 @get_insns() #2
%53 = tail call i32 @end_sequence() #2
%54 = tail call i32 @emit_insn_before(i64 noundef %52, i64 noundef %1) #2
%55 = tail call i32 @delete_insn(i64 noundef %1) #2
br label %56
56: ; preds = %33, %20, %51
ret void
}
declare i32 @GET_MODE(i64 noundef) local_unnamed_addr #1
declare i64 @simplify_gen_binary(i32 noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @gen_int_mode(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @get_ivts_expr(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @single_set(i64 noundef) local_unnamed_addr #1
declare i64 @validate_change(i64 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @start_sequence(...) local_unnamed_addr #1
declare i64 @gen_reg_rtx(i32 noundef) local_unnamed_addr #1
declare i64 @force_operand(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @emit_move_insn(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @get_insns(...) local_unnamed_addr #1
declare i32 @end_sequence(...) local_unnamed_addr #1
declare i32 @emit_insn_before(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @gcc_assert(i64 noundef) local_unnamed_addr #1
declare i64 @copy_rtx(i32 noundef) local_unnamed_addr #1
declare i32 @SET_SRC(i64 noundef) local_unnamed_addr #1
declare i32 @SET_DEST(i64 noundef) local_unnamed_addr #1
declare i32 @delete_insn(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, !8, i64 0}
!7 = !{!"iv_to_split", !8, i64 0, !8, i64 8}
!8 = !{!"long", !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 = !{!7, !8, i64 8}
!14 = !{!8, !8, i64 0}
| freebsd_contrib_gcc_extr_loop-unroll.c_split_iv |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid45.c__absolute.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid45.c__absolute.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 [4 x i8] c"set\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"grow\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"shrink\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_absolute], section "llvm.metadata"
; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @_absolute(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%5 = tail call i64 @llvm.umax.i64(i64 %4, i64 2)
%6 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull dereferenceable(1) %0, i64 noundef %5)
%7 = icmp eq i32 %6, 0
br i1 %7, label %21, label %8
8: ; preds = %3
%9 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull dereferenceable(1) %0, i64 noundef %5)
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = add nsw i32 %2, %1
br label %21
13: ; preds = %8
%14 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef nonnull dereferenceable(1) %0, i64 noundef %5)
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = sub nsw i32 %1, %2
br label %21
18: ; preds = %13
%19 = load i32, ptr @EINVAL, align 4, !tbaa !5
%20 = sub nsw i32 0, %19
br label %21
21: ; preds = %11, %18, %16, %3
%22 = phi i32 [ %20, %18 ], [ %17, %16 ], [ %12, %11 ], [ %2, %3 ]
ret i32 %22
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { mustprogress nofree 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" }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!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/fastsocket/kernel/drivers/md/extr_dm-raid45.c__absolute.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_dm-raid45.c__absolute.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 [4 x i8] c"set\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"grow\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"shrink\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_absolute], section "llvm.metadata"
; Function Attrs: mustprogress nofree nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @_absolute(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0)
%5 = tail call i64 @llvm.umax.i64(i64 %4, i64 2)
%6 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull dereferenceable(1) %0, i64 noundef %5)
%7 = icmp eq i32 %6, 0
br i1 %7, label %21, label %8
8: ; preds = %3
%9 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef nonnull dereferenceable(1) %0, i64 noundef %5)
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = add nsw i32 %2, %1
br label %21
13: ; preds = %8
%14 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef nonnull dereferenceable(1) %0, i64 noundef %5)
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = sub nsw i32 %1, %2
br label %21
18: ; preds = %13
%19 = load i32, ptr @EINVAL, align 4, !tbaa !6
%20 = sub nsw i32 0, %19
br label %21
21: ; preds = %11, %18, %16, %3
%22 = phi i32 [ %20, %18 ], [ %17, %16 ], [ %12, %11 ], [ %2, %3 ]
ret i32 %22
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #2
attributes #0 = { mustprogress nofree 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" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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) }
!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"}
| fastsocket_kernel_drivers_md_extr_dm-raid45.c__absolute |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_splice.c_page_cache_pipe_buf_release.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_splice.c_page_cache_pipe_buf_release.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.pipe_buffer = type { i32, i32 }
@PIPE_BUF_FLAG_LRU = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @page_cache_pipe_buf_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @page_cache_pipe_buf_release(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.pipe_buffer, ptr %1, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @page_cache_release(i32 noundef %4) #2
%6 = load i32, ptr @PIPE_BUF_FLAG_LRU, align 4, !tbaa !10
%7 = xor i32 %6, -1
%8 = load i32, ptr %1, align 4, !tbaa !11
%9 = and i32 %8, %7
store i32 %9, ptr %1, align 4, !tbaa !11
ret void
}
declare i32 @page_cache_release(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 4}
!6 = !{!"pipe_buffer", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_splice.c_page_cache_pipe_buf_release.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_splice.c_page_cache_pipe_buf_release.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PIPE_BUF_FLAG_LRU = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @page_cache_pipe_buf_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @page_cache_pipe_buf_release(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @page_cache_release(i32 noundef %4) #2
%6 = load i32, ptr @PIPE_BUF_FLAG_LRU, align 4, !tbaa !11
%7 = xor i32 %6, -1
%8 = load i32, ptr %1, align 4, !tbaa !12
%9 = and i32 %8, %7
store i32 %9, ptr %1, align 4, !tbaa !12
ret void
}
declare i32 @page_cache_release(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 4}
!7 = !{!"pipe_buffer", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| fastsocket_kernel_fs_extr_splice.c_page_cache_pipe_buf_release |
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/psp/extr_emu.c_vidResetMode.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/psp/extr_emu.c_vidResetMode.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_5__ = type { i64 }
%struct.TYPE_6__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@GU_DIRECT = dso_local local_unnamed_addr global i32 0, align 4
@guCmdList = dso_local local_unnamed_addr global i32 0, align 4
@GU_PSM_5650 = dso_local local_unnamed_addr global i32 0, align 4
@GU_PSM_T8 = dso_local local_unnamed_addr global i32 0, align 4
@GU_TFX_REPLACE = dso_local local_unnamed_addr global i32 0, align 4
@GU_TCC_RGB = dso_local local_unnamed_addr global i32 0, align 4
@currentConfig = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8
@GU_LINEAR = dso_local local_unnamed_addr global i32 0, align 4
@GU_NEAREST = dso_local local_unnamed_addr global i32 0, align 4
@VRAM_STUFF = dso_local local_unnamed_addr global i64 0, align 8
@PDF_NONE = dso_local local_unnamed_addr global i32 0, align 4
@EmuScanSlowBegin = dso_local local_unnamed_addr global i32 0, align 4
@EmuScanSlowEnd = dso_local local_unnamed_addr global i32 0, align 4
@localPal = dso_local local_unnamed_addr global ptr null, align 8
@Pico = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4
@dynamic_palette = dso_local local_unnamed_addr global i64 0, align 8
@blit_16bit_mode = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vidResetMode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vidResetMode() #0 {
%1 = tail call i32 @sceGuSync(i32 noundef 0, i32 noundef 0) #2
%2 = load i32, ptr @GU_DIRECT, align 4, !tbaa !5
%3 = load i32, ptr @guCmdList, align 4, !tbaa !5
%4 = tail call i32 @sceGuStart(i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @GU_PSM_5650, align 4, !tbaa !5
%6 = tail call i32 @sceGuClutMode(i32 noundef %5, i32 noundef 0, i32 noundef 255, i32 noundef 0) #2
%7 = load i32, ptr @GU_PSM_T8, align 4, !tbaa !5
%8 = tail call i32 @sceGuTexMode(i32 noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
%9 = load i32, ptr @GU_TFX_REPLACE, align 4, !tbaa !5
%10 = load i32, ptr @GU_TCC_RGB, align 4, !tbaa !5
%11 = tail call i32 @sceGuTexFunc(i32 noundef %9, i32 noundef %10) #2
%12 = load i64, ptr @currentConfig, align 8, !tbaa !9
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %0
%15 = load i32, ptr @GU_LINEAR, align 4, !tbaa !5
%16 = tail call i32 @sceGuTexFilter(i32 noundef %15, i32 noundef %15) #2
br label %20
17: ; preds = %0
%18 = load i32, ptr @GU_NEAREST, align 4, !tbaa !5
%19 = tail call i32 @sceGuTexFilter(i32 noundef %18, i32 noundef %18) #2
br label %20
20: ; preds = %17, %14
%21 = tail call i32 @sceGuTexScale(float noundef 1.000000e+00, float noundef 1.000000e+00) #2
%22 = tail call i32 @sceGuTexOffset(float noundef 0.000000e+00, float noundef 0.000000e+00) #2
%23 = load i64, ptr @VRAM_STUFF, align 8, !tbaa !12
%24 = inttoptr i64 %23 to ptr
%25 = getelementptr inbounds i8, ptr %24, i64 16
%26 = tail call i32 @sceGuTexImage(i32 noundef 0, i32 noundef 512, i32 noundef 512, i32 noundef 512, ptr noundef nonnull %25) #2
%27 = load i32, ptr @PDF_NONE, align 4, !tbaa !5
%28 = tail call i32 @PicoDrawSetOutFormat(i32 noundef %27, i32 noundef 0) #2
%29 = load i32, ptr @EmuScanSlowBegin, align 4, !tbaa !5
%30 = load i32, ptr @EmuScanSlowEnd, align 4, !tbaa !5
%31 = tail call i32 @PicoDrawSetCallbacks(i32 noundef %29, i32 noundef %30) #2
%32 = load ptr, ptr @localPal, align 8, !tbaa !13
%33 = getelementptr inbounds i32, ptr %32, i64 224
store i32 0, ptr %33, align 4, !tbaa !5
%34 = getelementptr inbounds i32, ptr %32, i64 240
store i32 31, ptr %34, align 4, !tbaa !5
store i32 1, ptr @Pico, align 4, !tbaa !15
store i64 0, ptr @dynamic_palette, align 8, !tbaa !12
store i64 0, ptr @blit_16bit_mode, align 8, !tbaa !12
%35 = tail call i32 (...) @sceGuFinish() #2
%36 = tail call i32 (...) @set_scaling_params() #2
%37 = tail call i32 @sceGuSync(i32 noundef 0, i32 noundef 0) #2
ret void
}
declare i32 @sceGuSync(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuStart(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuClutMode(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuTexMode(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuTexFunc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuTexFilter(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuTexScale(float noundef, float noundef) local_unnamed_addr #1
declare i32 @sceGuTexOffset(float noundef, float noundef) local_unnamed_addr #1
declare i32 @sceGuTexImage(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PicoDrawSetOutFormat(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PicoDrawSetCallbacks(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuFinish(...) local_unnamed_addr #1
declare i32 @set_scaling_params(...) 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 0}
!10 = !{!"TYPE_5__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_6__", !17, i64 0}
!17 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/platform/psp/extr_emu.c_vidResetMode.c'
source_filename = "AnghaBench/Provenance/Cores/PicoDrive/platform/psp/extr_emu.c_vidResetMode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i64 }
%struct.TYPE_6__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@GU_DIRECT = common local_unnamed_addr global i32 0, align 4
@guCmdList = common local_unnamed_addr global i32 0, align 4
@GU_PSM_5650 = common local_unnamed_addr global i32 0, align 4
@GU_PSM_T8 = common local_unnamed_addr global i32 0, align 4
@GU_TFX_REPLACE = common local_unnamed_addr global i32 0, align 4
@GU_TCC_RGB = common local_unnamed_addr global i32 0, align 4
@currentConfig = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8
@GU_LINEAR = common local_unnamed_addr global i32 0, align 4
@GU_NEAREST = common local_unnamed_addr global i32 0, align 4
@VRAM_STUFF = common local_unnamed_addr global i64 0, align 8
@PDF_NONE = common local_unnamed_addr global i32 0, align 4
@EmuScanSlowBegin = common local_unnamed_addr global i32 0, align 4
@EmuScanSlowEnd = common local_unnamed_addr global i32 0, align 4
@localPal = common local_unnamed_addr global ptr null, align 8
@Pico = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 4
@dynamic_palette = common local_unnamed_addr global i64 0, align 8
@blit_16bit_mode = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @vidResetMode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vidResetMode() #0 {
%1 = tail call i32 @sceGuSync(i32 noundef 0, i32 noundef 0) #2
%2 = load i32, ptr @GU_DIRECT, align 4, !tbaa !6
%3 = load i32, ptr @guCmdList, align 4, !tbaa !6
%4 = tail call i32 @sceGuStart(i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @GU_PSM_5650, align 4, !tbaa !6
%6 = tail call i32 @sceGuClutMode(i32 noundef %5, i32 noundef 0, i32 noundef 255, i32 noundef 0) #2
%7 = load i32, ptr @GU_PSM_T8, align 4, !tbaa !6
%8 = tail call i32 @sceGuTexMode(i32 noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2
%9 = load i32, ptr @GU_TFX_REPLACE, align 4, !tbaa !6
%10 = load i32, ptr @GU_TCC_RGB, align 4, !tbaa !6
%11 = tail call i32 @sceGuTexFunc(i32 noundef %9, i32 noundef %10) #2
%12 = load i64, ptr @currentConfig, align 8, !tbaa !10
%13 = icmp eq i64 %12, 0
%14 = load i32, ptr @GU_NEAREST, align 4
%15 = load i32, ptr @GU_LINEAR, align 4
%16 = select i1 %13, i32 %14, i32 %15
%17 = tail call i32 @sceGuTexFilter(i32 noundef %16, i32 noundef %16) #2
%18 = tail call i32 @sceGuTexScale(float noundef 1.000000e+00, float noundef 1.000000e+00) #2
%19 = tail call i32 @sceGuTexOffset(float noundef 0.000000e+00, float noundef 0.000000e+00) #2
%20 = load i64, ptr @VRAM_STUFF, align 8, !tbaa !13
%21 = inttoptr i64 %20 to ptr
%22 = getelementptr inbounds i8, ptr %21, i64 16
%23 = tail call i32 @sceGuTexImage(i32 noundef 0, i32 noundef 512, i32 noundef 512, i32 noundef 512, ptr noundef nonnull %22) #2
%24 = load i32, ptr @PDF_NONE, align 4, !tbaa !6
%25 = tail call i32 @PicoDrawSetOutFormat(i32 noundef %24, i32 noundef 0) #2
%26 = load i32, ptr @EmuScanSlowBegin, align 4, !tbaa !6
%27 = load i32, ptr @EmuScanSlowEnd, align 4, !tbaa !6
%28 = tail call i32 @PicoDrawSetCallbacks(i32 noundef %26, i32 noundef %27) #2
%29 = load ptr, ptr @localPal, align 8, !tbaa !14
%30 = getelementptr inbounds i8, ptr %29, i64 896
store i32 0, ptr %30, align 4, !tbaa !6
%31 = getelementptr inbounds i8, ptr %29, i64 960
store i32 31, ptr %31, align 4, !tbaa !6
store i32 1, ptr @Pico, align 4, !tbaa !16
store i64 0, ptr @dynamic_palette, align 8, !tbaa !13
store i64 0, ptr @blit_16bit_mode, align 8, !tbaa !13
%32 = tail call i32 @sceGuFinish() #2
%33 = tail call i32 @set_scaling_params() #2
%34 = tail call i32 @sceGuSync(i32 noundef 0, i32 noundef 0) #2
ret void
}
declare i32 @sceGuSync(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuStart(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuClutMode(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuTexMode(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuTexFunc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuTexFilter(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuTexScale(float noundef, float noundef) local_unnamed_addr #1
declare i32 @sceGuTexOffset(float noundef, float noundef) local_unnamed_addr #1
declare i32 @sceGuTexImage(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PicoDrawSetOutFormat(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PicoDrawSetCallbacks(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sceGuFinish(...) local_unnamed_addr #1
declare i32 @set_scaling_params(...) 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 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_6__", !18, i64 0}
!18 = !{!"TYPE_4__", !7, i64 0}
| Provenance_Cores_PicoDrive_platform_psp_extr_emu.c_vidResetMode |
; ModuleID = 'AnghaBench/hiredis/extr_hiredis.c_redisConnectBindNonBlock.c'
source_filename = "AnghaBench/hiredis/extr_hiredis.c_redisConnectBindNonBlock.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_8__ = type { i32, %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { ptr }
@REDIS_OPT_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @redisConnectBindNonBlock(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_8__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
%5 = call i32 @REDIS_OPTIONS_SET_TCP(ptr noundef nonnull %4, ptr noundef %0, i32 noundef %1) #4
%6 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1
store ptr %2, ptr %6, align 8, !tbaa !5
%7 = load i32, ptr @REDIS_OPT_NONBLOCK, align 4, !tbaa !13
%8 = load i32, ptr %4, align 8, !tbaa !14
%9 = or i32 %8, %7
store i32 %9, ptr %4, align 8, !tbaa !14
%10 = call ptr @redisConnectWithOptions(ptr noundef nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
ret ptr %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @REDIS_OPTIONS_SET_TCP(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @redisConnectWithOptions(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !12, i64 8}
!6 = !{!"TYPE_8__", !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_7__", !11, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/hiredis/extr_hiredis.c_redisConnectBindNonBlock.c'
source_filename = "AnghaBench/hiredis/extr_hiredis.c_redisConnectBindNonBlock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i32, %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { ptr }
@REDIS_OPT_NONBLOCK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @redisConnectBindNonBlock(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.TYPE_8__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, i8 0, i64 24, i1 false)
%5 = call i32 @REDIS_OPTIONS_SET_TCP(ptr noundef nonnull %4, ptr noundef %0, i32 noundef %1) #4
%6 = getelementptr inbounds i8, ptr %4, i64 8
store ptr %2, ptr %6, align 8, !tbaa !6
%7 = load i32, ptr @REDIS_OPT_NONBLOCK, align 4, !tbaa !14
%8 = load i32, ptr %4, align 8, !tbaa !15
%9 = or i32 %8, %7
store i32 %9, ptr %4, align 8, !tbaa !15
%10 = call ptr @redisConnectWithOptions(ptr noundef nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
ret ptr %10
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @REDIS_OPTIONS_SET_TCP(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare ptr @redisConnectWithOptions(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 #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, !13, i64 8}
!7 = !{!"TYPE_8__", !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_7__", !12, i64 0}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
| hiredis_extr_hiredis.c_redisConnectBindNonBlock |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/zlibWrapper/examples/extr_zwrapbench.c_waitEnter.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/zlibWrapper/examples/extr_zwrapbench.c_waitEnter.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"Press enter to continue...\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @waitEnter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @waitEnter() #0 {
%1 = tail call i32 @DISPLAY(ptr noundef nonnull @.str) #2
%2 = tail call i32 (...) @getchar() #2
ret void
}
declare i32 @DISPLAY(ptr noundef) local_unnamed_addr #1
declare i32 @getchar(...) 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/contrib/zstd/zlibWrapper/examples/extr_zwrapbench.c_waitEnter.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/zlibWrapper/examples/extr_zwrapbench.c_waitEnter.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"Press enter to continue...\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @waitEnter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @waitEnter() #0 {
%1 = tail call i32 @DISPLAY(ptr noundef nonnull @.str) #2
%2 = tail call i32 @getchar() #2
ret void
}
declare i32 @DISPLAY(ptr noundef) local_unnamed_addr #1
declare i32 @getchar(...) 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_contrib_zstd_zlibWrapper_examples_extr_zwrapbench.c_waitEnter |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_palmz71.c_palmz71_panel_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_palmz71.c_palmz71_panel_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @palmz71_panel_enable], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @palmz71_panel_enable(ptr nocapture readnone %0) #0 {
ret i32 0
}
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/fastsocket/kernel/drivers/video/omap/extr_lcd_palmz71.c_palmz71_panel_enable.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_palmz71.c_palmz71_panel_enable.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 @palmz71_panel_enable], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @palmz71_panel_enable(ptr nocapture readnone %0) #0 {
ret i32 0
}
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)"}
| fastsocket_kernel_drivers_video_omap_extr_lcd_palmz71.c_palmz71_panel_enable |
; ModuleID = 'AnghaBench/reactos/dll/win32/dbghelp/extr_msc.c_pdb_convert_symbol_file.c'
source_filename = "AnghaBench/reactos/dll/win32/dbghelp/extr_msc.c_pdb_convert_symbol_file.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 @pdb_convert_symbol_file], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pdb_convert_symbol_file(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef writeonly %2, ptr noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = icmp slt i32 %5, 19970000
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 16) #2
%9 = load <4 x i32>, ptr %3, align 4, !tbaa !10
store <4 x i32> %9, ptr %1, align 4, !tbaa !10
br label %12
10: ; preds = %4
%11 = tail call i32 @memcpy(ptr noundef %1, ptr noundef %3, i32 noundef 16) #2
br label %12
12: ; preds = %10, %7
store i32 15, ptr %2, align 4, !tbaa !10
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(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, !7, i64 0}
!6 = !{!"TYPE_14__", !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/dbghelp/extr_msc.c_pdb_convert_symbol_file.c'
source_filename = "AnghaBench/reactos/dll/win32/dbghelp/extr_msc.c_pdb_convert_symbol_file.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 @pdb_convert_symbol_file], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pdb_convert_symbol_file(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef writeonly %2, ptr noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = icmp slt i32 %5, 19970000
br i1 %6, label %7, label %10
7: ; preds = %4
%8 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 16) #2
%9 = load <4 x i32>, ptr %3, align 4, !tbaa !11
store <4 x i32> %9, ptr %1, align 4, !tbaa !11
br label %12
10: ; preds = %4
%11 = tail call i32 @memcpy(ptr noundef %1, ptr noundef %3, i32 noundef 16) #2
br label %12
12: ; preds = %10, %7
store i32 15, ptr %2, align 4, !tbaa !11
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(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, !8, i64 0}
!7 = !{!"TYPE_14__", !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_dbghelp_extr_msc.c_pdb_convert_symbol_file |
; ModuleID = 'AnghaBench/git/builtin/extr_fast-export.c_get_tags_and_duplicates.c'
source_filename = "AnghaBench/git/builtin/extr_fast-export.c_get_tags_and_duplicates.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_9__ = type { i64 }
%struct.object_id = type { i32 }
%struct.rev_cmdline_info = type { i32, ptr }
%struct.rev_cmdline_entry = type { i32, ptr, i32 }
%struct.TYPE_6__ = type { i32, i32 }
@UNINTERESTING = dso_local local_unnamed_addr global i32 0, align 4
@refspecs = dso_local global %struct.TYPE_9__ zeroinitializer, align 8
@.str = private unnamed_addr constant [44 x i8] c"%s: Unexpected object of type %s, skipping.\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"Tag points to object of unexpected type %s, skipping.\00", align 1
@OBJ_TAG = dso_local local_unnamed_addr global i64 0, align 8
@extra_refs = dso_local global i32 0, align 4
@revision_sources = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_tags_and_duplicates], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @get_tags_and_duplicates(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.object_id, align 4
%3 = alloca ptr, align 8
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %73
6: ; preds = %1
%7 = getelementptr inbounds %struct.rev_cmdline_info, ptr %0, i64 0, i32 1
br label %8
8: ; preds = %6, %68
%9 = phi i64 [ 0, %6 ], [ %69, %68 ]
%10 = load ptr, ptr %7, align 8, !tbaa !11
%11 = getelementptr inbounds %struct.rev_cmdline_entry, ptr %10, i64 %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%12 = load i32, ptr %11, align 8, !tbaa !12
%13 = load i32, ptr @UNINTERESTING, align 4, !tbaa !14
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %68
16: ; preds = %8
%17 = getelementptr inbounds %struct.rev_cmdline_entry, ptr %10, i64 %9, i32 2
%18 = load i32, ptr %17, align 8, !tbaa !15
%19 = call i32 @strlen(i32 noundef %18) #3
%20 = call i32 @dwim_ref(i32 noundef %18, i32 noundef %19, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %68
22: ; preds = %16
%23 = load i64, ptr @refspecs, align 8, !tbaa !16
%24 = icmp eq i64 %23, 0
%25 = load ptr, ptr %3, align 8, !tbaa !19
br i1 %24, label %32, label %26
26: ; preds = %22
%27 = call ptr @apply_refspecs(ptr noundef nonnull @refspecs, ptr noundef %25) #3
%28 = icmp eq ptr %27, null
%29 = load ptr, ptr %3, align 8, !tbaa !19
br i1 %28, label %32, label %30
30: ; preds = %26
%31 = call i32 @free(ptr noundef %29) #3
store ptr %27, ptr %3, align 8, !tbaa !19
br label %32
32: ; preds = %26, %30, %22
%33 = phi ptr [ %29, %26 ], [ %27, %30 ], [ %25, %22 ]
%34 = call ptr @get_commit(ptr noundef nonnull %11, ptr noundef %33) #3
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %43
36: ; preds = %32
%37 = load i32, ptr %17, align 8, !tbaa !15
%38 = getelementptr inbounds %struct.rev_cmdline_entry, ptr %10, i64 %9, i32 1
%39 = load ptr, ptr %38, align 8, !tbaa !20
%40 = load i32, ptr %39, align 4, !tbaa !21
%41 = call i32 @type_name(i32 noundef %40) #3
%42 = call i32 (ptr, i32, ...) @warning(ptr noundef nonnull @.str, i32 noundef %37, i32 noundef %41) #3
br label %68
43: ; preds = %32
%44 = load i32, ptr %34, align 4, !tbaa !23
switch i32 %44, label %48 [
i32 128, label %51
i32 129, label %45
]
45: ; preds = %43
%46 = getelementptr inbounds %struct.TYPE_6__, ptr %34, i64 0, i32 1
%47 = call i32 @export_blob(ptr noundef nonnull %46) #3
br label %68
48: ; preds = %43
%49 = call i32 @type_name(i32 noundef %44) #3
%50 = call i32 (ptr, i32, ...) @warning(ptr noundef nonnull @.str.1, i32 noundef %49) #3
br label %68
51: ; preds = %43
%52 = getelementptr inbounds %struct.rev_cmdline_entry, ptr %10, i64 %9, i32 1
%53 = load ptr, ptr %52, align 8, !tbaa !20
%54 = load i32, ptr %53, align 4, !tbaa !21
%55 = sext i32 %54 to i64
%56 = load i64, ptr @OBJ_TAG, align 8, !tbaa !26
%57 = icmp eq i64 %56, %55
br i1 %57, label %61, label %58
58: ; preds = %51
%59 = load ptr, ptr %3, align 8, !tbaa !19
%60 = call ptr @string_list_append(ptr noundef nonnull @extra_refs, ptr noundef %59) #3
store ptr %34, ptr %60, align 8, !tbaa !27
br label %61
61: ; preds = %58, %51
%62 = call ptr @revision_sources_at(ptr noundef nonnull @revision_sources, ptr noundef nonnull %34) #3
%63 = load ptr, ptr %62, align 8, !tbaa !19
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load ptr, ptr %3, align 8, !tbaa !19
%67 = call ptr @revision_sources_at(ptr noundef nonnull @revision_sources, ptr noundef nonnull %34) #3
store ptr %66, ptr %67, align 8, !tbaa !19
br label %68
68: ; preds = %61, %65, %16, %8, %48, %45, %36
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%69 = add nuw nsw i64 %9, 1
%70 = load i32, ptr %0, align 8, !tbaa !5
%71 = sext i32 %70 to i64
%72 = icmp slt i64 %69, %71
br i1 %72, label %8, label %73, !llvm.loop !29
73: ; preds = %68, %1
%74 = call i32 @string_list_sort(ptr noundef nonnull @extra_refs) #3
%75 = call i32 @string_list_remove_duplicates(ptr noundef nonnull @extra_refs, i32 noundef 0) #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 @dwim_ref(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strlen(i32 noundef) local_unnamed_addr #2
declare ptr @apply_refspecs(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free(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 ptr @get_commit(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @warning(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @type_name(i32 noundef) local_unnamed_addr #2
declare i32 @export_blob(ptr noundef) local_unnamed_addr #2
declare ptr @string_list_append(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @revision_sources_at(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @string_list_sort(ptr noundef) local_unnamed_addr #2
declare i32 @string_list_remove_duplicates(ptr 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, !7, i64 0}
!6 = !{!"rev_cmdline_info", !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, !7, i64 0}
!13 = !{!"rev_cmdline_entry", !7, i64 0, !10, i64 8, !7, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!13, !7, i64 16}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_9__", !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!13, !10, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"TYPE_7__", !7, i64 0}
!23 = !{!24, !7, i64 0}
!24 = !{!"commit", !25, i64 0}
!25 = !{!"TYPE_6__", !7, i64 0, !7, i64 4}
!26 = !{!18, !18, i64 0}
!27 = !{!28, !10, i64 0}
!28 = !{!"TYPE_8__", !10, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/git/builtin/extr_fast-export.c_get_tags_and_duplicates.c'
source_filename = "AnghaBench/git/builtin/extr_fast-export.c_get_tags_and_duplicates.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 { i64 }
%struct.object_id = type { i32 }
%struct.rev_cmdline_entry = type { i32, ptr, i32 }
@UNINTERESTING = common local_unnamed_addr global i32 0, align 4
@refspecs = common global %struct.TYPE_9__ zeroinitializer, align 8
@.str = private unnamed_addr constant [44 x i8] c"%s: Unexpected object of type %s, skipping.\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"Tag points to object of unexpected type %s, skipping.\00", align 1
@OBJ_TAG = common local_unnamed_addr global i64 0, align 8
@extra_refs = common global i32 0, align 4
@revision_sources = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_tags_and_duplicates], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @get_tags_and_duplicates(ptr nocapture noundef readonly %0) #0 {
%2 = alloca %struct.object_id, align 4
%3 = alloca ptr, align 8
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %73
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
br label %8
8: ; preds = %6, %68
%9 = phi i64 [ 0, %6 ], [ %69, %68 ]
%10 = load ptr, ptr %7, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.rev_cmdline_entry, ptr %10, i64 %9
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = load i32, ptr @UNINTERESTING, align 4, !tbaa !15
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %68
16: ; preds = %8
%17 = getelementptr inbounds i8, ptr %11, i64 16
%18 = load i32, ptr %17, align 8, !tbaa !16
%19 = call i32 @strlen(i32 noundef %18) #3
%20 = call i32 @dwim_ref(i32 noundef %18, i32 noundef %19, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %68
22: ; preds = %16
%23 = load i64, ptr @refspecs, align 8, !tbaa !17
%24 = icmp eq i64 %23, 0
%25 = load ptr, ptr %3, align 8, !tbaa !20
br i1 %24, label %32, label %26
26: ; preds = %22
%27 = call ptr @apply_refspecs(ptr noundef nonnull @refspecs, ptr noundef %25) #3
%28 = icmp eq ptr %27, null
%29 = load ptr, ptr %3, align 8, !tbaa !20
br i1 %28, label %32, label %30
30: ; preds = %26
%31 = call i32 @free(ptr noundef %29) #3
store ptr %27, ptr %3, align 8, !tbaa !20
br label %32
32: ; preds = %26, %30, %22
%33 = phi ptr [ %29, %26 ], [ %27, %30 ], [ %25, %22 ]
%34 = call ptr @get_commit(ptr noundef nonnull %11, ptr noundef %33) #3
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %43
36: ; preds = %32
%37 = load i32, ptr %17, align 8, !tbaa !16
%38 = getelementptr inbounds i8, ptr %11, i64 8
%39 = load ptr, ptr %38, align 8, !tbaa !21
%40 = load i32, ptr %39, align 4, !tbaa !22
%41 = call i32 @type_name(i32 noundef %40) #3
%42 = call i32 (ptr, i32, ...) @warning(ptr noundef nonnull @.str, i32 noundef %37, i32 noundef %41) #3
br label %68
43: ; preds = %32
%44 = load i32, ptr %34, align 4, !tbaa !24
switch i32 %44, label %48 [
i32 128, label %51
i32 129, label %45
]
45: ; preds = %43
%46 = getelementptr inbounds i8, ptr %34, i64 4
%47 = call i32 @export_blob(ptr noundef nonnull %46) #3
br label %68
48: ; preds = %43
%49 = call i32 @type_name(i32 noundef %44) #3
%50 = call i32 (ptr, i32, ...) @warning(ptr noundef nonnull @.str.1, i32 noundef %49) #3
br label %68
51: ; preds = %43
%52 = getelementptr inbounds i8, ptr %11, i64 8
%53 = load ptr, ptr %52, align 8, !tbaa !21
%54 = load i32, ptr %53, align 4, !tbaa !22
%55 = sext i32 %54 to i64
%56 = load i64, ptr @OBJ_TAG, align 8, !tbaa !27
%57 = icmp eq i64 %56, %55
br i1 %57, label %61, label %58
58: ; preds = %51
%59 = load ptr, ptr %3, align 8, !tbaa !20
%60 = call ptr @string_list_append(ptr noundef nonnull @extra_refs, ptr noundef %59) #3
store ptr %34, ptr %60, align 8, !tbaa !28
br label %61
61: ; preds = %58, %51
%62 = call ptr @revision_sources_at(ptr noundef nonnull @revision_sources, ptr noundef nonnull %34) #3
%63 = load ptr, ptr %62, align 8, !tbaa !20
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load ptr, ptr %3, align 8, !tbaa !20
%67 = call ptr @revision_sources_at(ptr noundef nonnull @revision_sources, ptr noundef nonnull %34) #3
store ptr %66, ptr %67, align 8, !tbaa !20
br label %68
68: ; preds = %61, %65, %16, %8, %48, %45, %36
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
%69 = add nuw nsw i64 %9, 1
%70 = load i32, ptr %0, align 8, !tbaa !6
%71 = sext i32 %70 to i64
%72 = icmp slt i64 %69, %71
br i1 %72, label %8, label %73, !llvm.loop !30
73: ; preds = %68, %1
%74 = call i32 @string_list_sort(ptr noundef nonnull @extra_refs) #3
%75 = call i32 @string_list_remove_duplicates(ptr noundef nonnull @extra_refs, i32 noundef 0) #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 @dwim_ref(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @strlen(i32 noundef) local_unnamed_addr #2
declare ptr @apply_refspecs(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @free(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 ptr @get_commit(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @warning(ptr noundef, i32 noundef, ...) local_unnamed_addr #2
declare i32 @type_name(i32 noundef) local_unnamed_addr #2
declare i32 @export_blob(ptr noundef) local_unnamed_addr #2
declare ptr @string_list_append(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @revision_sources_at(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @string_list_sort(ptr noundef) local_unnamed_addr #2
declare i32 @string_list_remove_duplicates(ptr noundef, 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, !8, i64 0}
!7 = !{!"rev_cmdline_info", !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, !8, i64 0}
!14 = !{!"rev_cmdline_entry", !8, i64 0, !11, i64 8, !8, i64 16}
!15 = !{!8, !8, i64 0}
!16 = !{!14, !8, i64 16}
!17 = !{!18, !19, i64 0}
!18 = !{!"TYPE_9__", !19, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!14, !11, i64 8}
!22 = !{!23, !8, i64 0}
!23 = !{!"TYPE_7__", !8, i64 0}
!24 = !{!25, !8, i64 0}
!25 = !{!"commit", !26, i64 0}
!26 = !{!"TYPE_6__", !8, i64 0, !8, i64 4}
!27 = !{!19, !19, i64 0}
!28 = !{!29, !11, i64 0}
!29 = !{!"TYPE_8__", !11, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
| git_builtin_extr_fast-export.c_get_tags_and_duplicates |
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_xonar_dg.c_adjust_dg_dac_routing.c'
source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_xonar_dg.c_adjust_dg_dac_routing.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"
@OXYGEN_PLAY_ROUTING = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE23 = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE45 = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE67 = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE01 = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC0_SOURCE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC2_SOURCE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC1_SOURCE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC1_SOURCE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC2_SOURCE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC0_SOURCE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC3_SOURCE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC3_SOURCE_MASK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @adjust_dg_dac_routing(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !10
switch i32 %4, label %19 [
i32 130, label %5
i32 129, label %5
i32 128, label %14
]
5: ; preds = %2, %2
%6 = load i32, ptr @OXYGEN_PLAY_ROUTING, align 4, !tbaa !13
%7 = load i32, ptr @OXYGEN_PLAY_MUTE23, align 4, !tbaa !13
%8 = load i32, ptr @OXYGEN_PLAY_MUTE45, align 4, !tbaa !13
%9 = or i32 %8, %7
%10 = load i32, ptr @OXYGEN_PLAY_MUTE67, align 4, !tbaa !13
%11 = or i32 %9, %10
%12 = load i32, ptr @OXYGEN_PLAY_MUTE_MASK, align 4, !tbaa !13
%13 = tail call i32 @oxygen_write8_masked(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %11, i32 noundef %12) #2
br label %19
14: ; preds = %2
%15 = load i32, ptr @OXYGEN_PLAY_ROUTING, align 4, !tbaa !13
%16 = load i32, ptr @OXYGEN_PLAY_MUTE01, align 4, !tbaa !13
%17 = load i32, ptr @OXYGEN_PLAY_MUTE_MASK, align 4, !tbaa !13
%18 = tail call i32 @oxygen_write8_masked(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %16, i32 noundef %17) #2
br label %19
19: ; preds = %2, %14, %5
%20 = load i32, ptr @OXYGEN_PLAY_DAC0_SOURCE_MASK, align 4, !tbaa !13
%21 = and i32 %20, %1
%22 = load i32, ptr @OXYGEN_PLAY_DAC2_SOURCE_SHIFT, align 4, !tbaa !13
%23 = load i32, ptr @OXYGEN_PLAY_DAC1_SOURCE_SHIFT, align 4, !tbaa !13
%24 = load i32, ptr @OXYGEN_PLAY_DAC1_SOURCE_MASK, align 4, !tbaa !13
%25 = tail call i32 @shift_bits(i32 noundef %1, i32 noundef %22, i32 noundef %23, i32 noundef %24) #2
%26 = or i32 %25, %21
%27 = load i32, ptr @OXYGEN_PLAY_DAC1_SOURCE_SHIFT, align 4, !tbaa !13
%28 = load i32, ptr @OXYGEN_PLAY_DAC2_SOURCE_SHIFT, align 4, !tbaa !13
%29 = load i32, ptr @OXYGEN_PLAY_DAC2_SOURCE_MASK, align 4, !tbaa !13
%30 = tail call i32 @shift_bits(i32 noundef %1, i32 noundef %27, i32 noundef %28, i32 noundef %29) #2
%31 = or i32 %26, %30
%32 = load i32, ptr @OXYGEN_PLAY_DAC0_SOURCE_SHIFT, align 4, !tbaa !13
%33 = load i32, ptr @OXYGEN_PLAY_DAC3_SOURCE_SHIFT, align 4, !tbaa !13
%34 = load i32, ptr @OXYGEN_PLAY_DAC3_SOURCE_MASK, align 4, !tbaa !13
%35 = tail call i32 @shift_bits(i32 noundef %1, i32 noundef %32, i32 noundef %33, i32 noundef %34) #2
%36 = or i32 %31, %35
ret i32 %36
}
declare i32 @oxygen_write8_masked(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @shift_bits(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, !7, i64 0}
!6 = !{!"oxygen", !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 = !{!"dg", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_xonar_dg.c_adjust_dg_dac_routing.c'
source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_xonar_dg.c_adjust_dg_dac_routing.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OXYGEN_PLAY_ROUTING = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE23 = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE45 = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE67 = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE_MASK = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_MUTE01 = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC0_SOURCE_MASK = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC2_SOURCE_SHIFT = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC1_SOURCE_SHIFT = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC1_SOURCE_MASK = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC2_SOURCE_MASK = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC0_SOURCE_SHIFT = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC3_SOURCE_SHIFT = common local_unnamed_addr global i32 0, align 4
@OXYGEN_PLAY_DAC3_SOURCE_MASK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @adjust_dg_dac_routing(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !11
switch i32 %4, label %19 [
i32 130, label %5
i32 129, label %5
i32 128, label %14
]
5: ; preds = %2, %2
%6 = load i32, ptr @OXYGEN_PLAY_ROUTING, align 4, !tbaa !14
%7 = load i32, ptr @OXYGEN_PLAY_MUTE23, align 4, !tbaa !14
%8 = load i32, ptr @OXYGEN_PLAY_MUTE45, align 4, !tbaa !14
%9 = or i32 %8, %7
%10 = load i32, ptr @OXYGEN_PLAY_MUTE67, align 4, !tbaa !14
%11 = or i32 %9, %10
%12 = load i32, ptr @OXYGEN_PLAY_MUTE_MASK, align 4, !tbaa !14
%13 = tail call i32 @oxygen_write8_masked(ptr noundef nonnull %0, i32 noundef %6, i32 noundef %11, i32 noundef %12) #2
br label %19
14: ; preds = %2
%15 = load i32, ptr @OXYGEN_PLAY_ROUTING, align 4, !tbaa !14
%16 = load i32, ptr @OXYGEN_PLAY_MUTE01, align 4, !tbaa !14
%17 = load i32, ptr @OXYGEN_PLAY_MUTE_MASK, align 4, !tbaa !14
%18 = tail call i32 @oxygen_write8_masked(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %16, i32 noundef %17) #2
br label %19
19: ; preds = %2, %14, %5
%20 = load i32, ptr @OXYGEN_PLAY_DAC0_SOURCE_MASK, align 4, !tbaa !14
%21 = and i32 %20, %1
%22 = load i32, ptr @OXYGEN_PLAY_DAC2_SOURCE_SHIFT, align 4, !tbaa !14
%23 = load i32, ptr @OXYGEN_PLAY_DAC1_SOURCE_SHIFT, align 4, !tbaa !14
%24 = load i32, ptr @OXYGEN_PLAY_DAC1_SOURCE_MASK, align 4, !tbaa !14
%25 = tail call i32 @shift_bits(i32 noundef %1, i32 noundef %22, i32 noundef %23, i32 noundef %24) #2
%26 = or i32 %25, %21
%27 = load i32, ptr @OXYGEN_PLAY_DAC1_SOURCE_SHIFT, align 4, !tbaa !14
%28 = load i32, ptr @OXYGEN_PLAY_DAC2_SOURCE_SHIFT, align 4, !tbaa !14
%29 = load i32, ptr @OXYGEN_PLAY_DAC2_SOURCE_MASK, align 4, !tbaa !14
%30 = tail call i32 @shift_bits(i32 noundef %1, i32 noundef %27, i32 noundef %28, i32 noundef %29) #2
%31 = or i32 %26, %30
%32 = load i32, ptr @OXYGEN_PLAY_DAC0_SOURCE_SHIFT, align 4, !tbaa !14
%33 = load i32, ptr @OXYGEN_PLAY_DAC3_SOURCE_SHIFT, align 4, !tbaa !14
%34 = load i32, ptr @OXYGEN_PLAY_DAC3_SOURCE_MASK, align 4, !tbaa !14
%35 = tail call i32 @shift_bits(i32 noundef %1, i32 noundef %32, i32 noundef %33, i32 noundef %34) #2
%36 = or i32 %31, %35
ret i32 %36
}
declare i32 @oxygen_write8_masked(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @shift_bits(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, !8, i64 0}
!7 = !{!"oxygen", !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 = !{!"dg", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| linux_sound_pci_oxygen_extr_xonar_dg.c_adjust_dg_dac_routing |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_pathtbl.c_mesh_pathtbl_unregister.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_pathtbl.c_mesh_pathtbl_unregister.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"
@mesh_paths = dso_local local_unnamed_addr global i32 0, align 4
@mpp_paths = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mesh_pathtbl_unregister() local_unnamed_addr #0 {
%1 = load i32, ptr @mesh_paths, align 4, !tbaa !5
%2 = tail call i32 @rcu_dereference_protected(i32 noundef %1, i32 noundef 1) #2
%3 = tail call i32 @mesh_table_free(i32 noundef %2, i32 noundef 1) #2
%4 = load i32, ptr @mpp_paths, align 4, !tbaa !5
%5 = tail call i32 @rcu_dereference_protected(i32 noundef %4, i32 noundef 1) #2
%6 = tail call i32 @mesh_table_free(i32 noundef %5, i32 noundef 1) #2
ret void
}
declare i32 @mesh_table_free(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rcu_dereference_protected(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/fastsocket/kernel/net/mac80211/extr_mesh_pathtbl.c_mesh_pathtbl_unregister.c'
source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_mesh_pathtbl.c_mesh_pathtbl_unregister.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mesh_paths = common local_unnamed_addr global i32 0, align 4
@mpp_paths = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mesh_pathtbl_unregister() local_unnamed_addr #0 {
%1 = load i32, ptr @mesh_paths, align 4, !tbaa !6
%2 = tail call i32 @rcu_dereference_protected(i32 noundef %1, i32 noundef 1) #2
%3 = tail call i32 @mesh_table_free(i32 noundef %2, i32 noundef 1) #2
%4 = load i32, ptr @mpp_paths, align 4, !tbaa !6
%5 = tail call i32 @rcu_dereference_protected(i32 noundef %4, i32 noundef 1) #2
%6 = tail call i32 @mesh_table_free(i32 noundef %5, i32 noundef 1) #2
ret void
}
declare i32 @mesh_table_free(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rcu_dereference_protected(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"}
| fastsocket_kernel_net_mac80211_extr_mesh_pathtbl.c_mesh_pathtbl_unregister |
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_fsldma.c_fsl_chan_toggle_ext_start.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_fsldma.c_fsl_chan_toggle_ext_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"
@FSL_DMA_CHAN_START_EXT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fsl_chan_toggle_ext_start], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @fsl_chan_toggle_ext_start(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
%4 = load i32, ptr @FSL_DMA_CHAN_START_EXT, align 4, !tbaa !5
br i1 %3, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr %0, align 4, !tbaa !9
%7 = or i32 %6, %4
br label %12
8: ; preds = %2
%9 = xor i32 %4, -1
%10 = load i32, ptr %0, align 4, !tbaa !9
%11 = and i32 %10, %9
br label %12
12: ; preds = %8, %5
%13 = phi i32 [ %11, %8 ], [ %7, %5 ]
store i32 %13, ptr %0, align 4, !tbaa !9
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, 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, !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 = !{!"fsldma_chan", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/dma/extr_fsldma.c_fsl_chan_toggle_ext_start.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_fsldma.c_fsl_chan_toggle_ext_start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FSL_DMA_CHAN_START_EXT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fsl_chan_toggle_ext_start], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @fsl_chan_toggle_ext_start(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
%4 = load i32, ptr @FSL_DMA_CHAN_START_EXT, align 4, !tbaa !6
br i1 %3, label %8, label %5
5: ; preds = %2
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = or i32 %6, %4
br label %12
8: ; preds = %2
%9 = xor i32 %4, -1
%10 = load i32, ptr %0, align 4, !tbaa !10
%11 = and i32 %10, %9
br label %12
12: ; preds = %8, %5
%13 = phi i32 [ %11, %8 ], [ %7, %5 ]
store i32 %13, ptr %0, align 4, !tbaa !10
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, 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, !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 = !{!"fsldma_chan", !7, i64 0}
| linux_drivers_dma_extr_fsldma.c_fsl_chan_toggle_ext_start |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c_erst_exec_add.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c_erst_exec_add.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.apei_exec_context = type { i64, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @erst_exec_add], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal noundef i32 @erst_exec_add(ptr nocapture noundef %0, ptr nocapture readnone %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.apei_exec_context, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 8, !tbaa !11
%6 = trunc i64 %3 to i32
%7 = add i32 %5, %6
store i32 %7, ptr %4, align 8, !tbaa !11
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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 = !{!"apei_exec_context", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c_erst_exec_add.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/apei/extr_erst.c_erst_exec_add.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 @erst_exec_add], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal noundef i32 @erst_exec_add(ptr nocapture noundef %0, ptr nocapture readnone %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 8, !tbaa !12
%6 = trunc i64 %3 to i32
%7 = add i32 %5, %6
store i32 %7, ptr %4, align 8, !tbaa !12
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) 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 = !{!"apei_exec_context", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
| fastsocket_kernel_drivers_acpi_apei_extr_erst.c_erst_exec_add |
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeIndexscan.c_IndexRecheck.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeIndexscan.c_IndexRecheck.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_9__ = type { i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { %struct.TYPE_7__ }
%struct.TYPE_7__ = type { ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @IndexRecheck], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @IndexRecheck(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
store ptr %1, ptr %4, align 8, !tbaa !13
%5 = load i32, ptr %0, align 8, !tbaa !15
%6 = tail call i32 @ExecQualAndReset(i32 noundef %5, ptr noundef nonnull %4) #2
ret i32 %6
}
declare i32 @ExecQualAndReset(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, !12, i64 8}
!6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !11, i64 0}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_10__", !12, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeIndexscan.c_IndexRecheck.c'
source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeIndexscan.c_IndexRecheck.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 @IndexRecheck], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @IndexRecheck(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
store ptr %1, ptr %4, align 8, !tbaa !14
%5 = load i32, ptr %0, align 8, !tbaa !16
%6 = tail call i32 @ExecQualAndReset(i32 noundef %5, ptr noundef nonnull %4) #2
ret i32 %6
}
declare i32 @ExecQualAndReset(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, !13, i64 8}
!7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !12, i64 0}
!12 = !{!"TYPE_7__", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_10__", !13, i64 0}
!16 = !{!7, !8, i64 0}
| postgres_src_backend_executor_extr_nodeIndexscan.c_IndexRecheck |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_phy.c_ixgbe_write_phy_reg_mdi.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_phy.c_ixgbe_write_phy_reg_mdi.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"
@IXGBE_MSRWD = dso_local local_unnamed_addr global i32 0, align 4
@IXGBE_MSCA_NP_ADDR_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA_DEV_TYPE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA_PHY_ADDR_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA_ADDR_CYCLE = dso_local local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA_MDI_COMMAND = dso_local local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA = dso_local local_unnamed_addr global i32 0, align 4
@IXGBE_MDIO_COMMAND_TIMEOUT = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"PHY address cmd didn't complete\0A\00", align 1
@IXGBE_ERR_PHY = dso_local local_unnamed_addr global i32 0, align 4
@IXGBE_MSCA_WRITE = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [31 x i8] c"PHY write cmd didn't complete\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @ixgbe_write_phy_reg_mdi(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @IXGBE_MSRWD, align 4, !tbaa !5
%6 = tail call i32 @IXGBE_WRITE_REG(ptr noundef %0, i32 noundef %5, i64 noundef %3) #2
%7 = load i64, ptr @IXGBE_MSCA_NP_ADDR_SHIFT, align 8, !tbaa !9
%8 = shl i64 %1, %7
%9 = load i64, ptr @IXGBE_MSCA_DEV_TYPE_SHIFT, align 8, !tbaa !9
%10 = shl i64 %2, %9
%11 = load i64, ptr %0, align 8, !tbaa !11
%12 = load i64, ptr @IXGBE_MSCA_PHY_ADDR_SHIFT, align 8, !tbaa !9
%13 = shl i64 %11, %12
%14 = load i64, ptr @IXGBE_MSCA_ADDR_CYCLE, align 8, !tbaa !9
%15 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !9
%16 = or i64 %10, %8
%17 = or i64 %16, %13
%18 = or i64 %17, %14
%19 = or i64 %18, %15
%20 = load i32, ptr @IXGBE_MSCA, align 4, !tbaa !5
%21 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %20, i64 noundef %19) #2
%22 = load i64, ptr @IXGBE_MDIO_COMMAND_TIMEOUT, align 8, !tbaa !9
%23 = icmp sgt i64 %22, 0
br i1 %23, label %30, label %24
24: ; preds = %4
%25 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !9
br label %38
26: ; preds = %30
%27 = add nuw nsw i64 %31, 1
%28 = load i64, ptr @IXGBE_MDIO_COMMAND_TIMEOUT, align 8, !tbaa !9
%29 = icmp slt i64 %27, %28
br i1 %29, label %30, label %38, !llvm.loop !15
30: ; preds = %4, %26
%31 = phi i64 [ %27, %26 ], [ 0, %4 ]
%32 = tail call i32 @udelay(i32 noundef 10) #2
%33 = load i32, ptr @IXGBE_MSCA, align 4, !tbaa !5
%34 = tail call i64 @IXGBE_READ_REG(ptr noundef nonnull %0, i32 noundef %33) #2
%35 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !9
%36 = and i64 %35, %34
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %26
38: ; preds = %26, %30, %24
%39 = phi i64 [ %25, %24 ], [ %35, %30 ], [ %35, %26 ]
%40 = phi i64 [ %19, %24 ], [ %34, %30 ], [ %34, %26 ]
%41 = and i64 %39, %40
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %76
43: ; preds = %38
%44 = load i64, ptr @IXGBE_MSCA_NP_ADDR_SHIFT, align 8, !tbaa !9
%45 = shl i64 %1, %44
%46 = load i64, ptr @IXGBE_MSCA_DEV_TYPE_SHIFT, align 8, !tbaa !9
%47 = shl i64 %2, %46
%48 = load i64, ptr %0, align 8, !tbaa !11
%49 = load i64, ptr @IXGBE_MSCA_PHY_ADDR_SHIFT, align 8, !tbaa !9
%50 = shl i64 %48, %49
%51 = load i64, ptr @IXGBE_MSCA_WRITE, align 8, !tbaa !9
%52 = or i64 %45, %47
%53 = or i64 %52, %50
%54 = or i64 %53, %51
%55 = or i64 %54, %39
%56 = load i32, ptr @IXGBE_MSCA, align 4, !tbaa !5
%57 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %56, i64 noundef %55) #2
%58 = load i64, ptr @IXGBE_MDIO_COMMAND_TIMEOUT, align 8, !tbaa !9
%59 = icmp sgt i64 %58, 0
br i1 %59, label %64, label %72
60: ; preds = %64
%61 = add nuw nsw i64 %65, 1
%62 = load i64, ptr @IXGBE_MDIO_COMMAND_TIMEOUT, align 8, !tbaa !9
%63 = icmp slt i64 %61, %62
br i1 %63, label %64, label %76, !llvm.loop !17
64: ; preds = %43, %60
%65 = phi i64 [ %61, %60 ], [ 0, %43 ]
%66 = tail call i32 @udelay(i32 noundef 10) #2
%67 = load i32, ptr @IXGBE_MSCA, align 4, !tbaa !5
%68 = tail call i64 @IXGBE_READ_REG(ptr noundef nonnull %0, i32 noundef %67) #2
%69 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !9
%70 = and i64 %69, %68
%71 = icmp eq i64 %70, 0
br i1 %71, label %80, label %60
72: ; preds = %43
%73 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !9
%74 = and i64 %73, %55
%75 = icmp eq i64 %74, 0
br i1 %75, label %80, label %76
76: ; preds = %60, %72, %38
%77 = phi ptr [ @.str, %38 ], [ @.str.1, %72 ], [ @.str.1, %60 ]
%78 = tail call i32 @hw_dbg(ptr noundef nonnull %0, ptr noundef nonnull %77) #2
%79 = load i32, ptr @IXGBE_ERR_PHY, align 4, !tbaa !5
br label %80
80: ; preds = %64, %76, %72
%81 = phi i32 [ 0, %72 ], [ %79, %76 ], [ 0, %64 ]
ret i32 %81
}
declare i32 @IXGBE_WRITE_REG(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i64 @IXGBE_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hw_dbg(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)"}
!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 = !{!"ixgbe_hw", !13, i64 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_phy.c_ixgbe_write_phy_reg_mdi.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_phy.c_ixgbe_write_phy_reg_mdi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IXGBE_MSRWD = common local_unnamed_addr global i32 0, align 4
@IXGBE_MSCA_NP_ADDR_SHIFT = common local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA_DEV_TYPE_SHIFT = common local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA_PHY_ADDR_SHIFT = common local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA_ADDR_CYCLE = common local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA_MDI_COMMAND = common local_unnamed_addr global i64 0, align 8
@IXGBE_MSCA = common local_unnamed_addr global i32 0, align 4
@IXGBE_MDIO_COMMAND_TIMEOUT = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"PHY address cmd didn't complete\0A\00", align 1
@IXGBE_ERR_PHY = common local_unnamed_addr global i32 0, align 4
@IXGBE_MSCA_WRITE = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [31 x i8] c"PHY write cmd didn't complete\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ixgbe_write_phy_reg_mdi(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @IXGBE_MSRWD, align 4, !tbaa !6
%6 = tail call i32 @IXGBE_WRITE_REG(ptr noundef %0, i32 noundef %5, i64 noundef %3) #2
%7 = load i64, ptr @IXGBE_MSCA_NP_ADDR_SHIFT, align 8, !tbaa !10
%8 = shl i64 %1, %7
%9 = load i64, ptr @IXGBE_MSCA_DEV_TYPE_SHIFT, align 8, !tbaa !10
%10 = shl i64 %2, %9
%11 = load i64, ptr %0, align 8, !tbaa !12
%12 = load i64, ptr @IXGBE_MSCA_PHY_ADDR_SHIFT, align 8, !tbaa !10
%13 = shl i64 %11, %12
%14 = load i64, ptr @IXGBE_MSCA_ADDR_CYCLE, align 8, !tbaa !10
%15 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !10
%16 = or i64 %10, %8
%17 = or i64 %16, %13
%18 = or i64 %17, %14
%19 = or i64 %18, %15
%20 = load i32, ptr @IXGBE_MSCA, align 4, !tbaa !6
%21 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %20, i64 noundef %19) #2
%22 = load i64, ptr @IXGBE_MDIO_COMMAND_TIMEOUT, align 8, !tbaa !10
%23 = icmp sgt i64 %22, 0
br i1 %23, label %30, label %24
24: ; preds = %4
%25 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !10
br label %38
26: ; preds = %30
%27 = add nuw nsw i64 %31, 1
%28 = load i64, ptr @IXGBE_MDIO_COMMAND_TIMEOUT, align 8, !tbaa !10
%29 = icmp slt i64 %27, %28
br i1 %29, label %30, label %38, !llvm.loop !16
30: ; preds = %4, %26
%31 = phi i64 [ %27, %26 ], [ 0, %4 ]
%32 = tail call i32 @udelay(i32 noundef 10) #2
%33 = load i32, ptr @IXGBE_MSCA, align 4, !tbaa !6
%34 = tail call i64 @IXGBE_READ_REG(ptr noundef nonnull %0, i32 noundef %33) #2
%35 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !10
%36 = and i64 %35, %34
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %26
38: ; preds = %26, %30, %24
%39 = phi i64 [ %25, %24 ], [ %35, %30 ], [ %35, %26 ]
%40 = phi i64 [ %19, %24 ], [ %34, %30 ], [ %34, %26 ]
%41 = and i64 %39, %40
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %76
43: ; preds = %38
%44 = load i64, ptr @IXGBE_MSCA_NP_ADDR_SHIFT, align 8, !tbaa !10
%45 = shl i64 %1, %44
%46 = load i64, ptr @IXGBE_MSCA_DEV_TYPE_SHIFT, align 8, !tbaa !10
%47 = shl i64 %2, %46
%48 = load i64, ptr %0, align 8, !tbaa !12
%49 = load i64, ptr @IXGBE_MSCA_PHY_ADDR_SHIFT, align 8, !tbaa !10
%50 = shl i64 %48, %49
%51 = load i64, ptr @IXGBE_MSCA_WRITE, align 8, !tbaa !10
%52 = or i64 %45, %47
%53 = or i64 %52, %50
%54 = or i64 %53, %51
%55 = or i64 %54, %39
%56 = load i32, ptr @IXGBE_MSCA, align 4, !tbaa !6
%57 = tail call i32 @IXGBE_WRITE_REG(ptr noundef nonnull %0, i32 noundef %56, i64 noundef %55) #2
%58 = load i64, ptr @IXGBE_MDIO_COMMAND_TIMEOUT, align 8, !tbaa !10
%59 = icmp sgt i64 %58, 0
br i1 %59, label %64, label %72
60: ; preds = %64
%61 = add nuw nsw i64 %65, 1
%62 = load i64, ptr @IXGBE_MDIO_COMMAND_TIMEOUT, align 8, !tbaa !10
%63 = icmp slt i64 %61, %62
br i1 %63, label %64, label %76, !llvm.loop !18
64: ; preds = %43, %60
%65 = phi i64 [ %61, %60 ], [ 0, %43 ]
%66 = tail call i32 @udelay(i32 noundef 10) #2
%67 = load i32, ptr @IXGBE_MSCA, align 4, !tbaa !6
%68 = tail call i64 @IXGBE_READ_REG(ptr noundef nonnull %0, i32 noundef %67) #2
%69 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !10
%70 = and i64 %69, %68
%71 = icmp eq i64 %70, 0
br i1 %71, label %80, label %60
72: ; preds = %43
%73 = load i64, ptr @IXGBE_MSCA_MDI_COMMAND, align 8, !tbaa !10
%74 = and i64 %73, %55
%75 = icmp eq i64 %74, 0
br i1 %75, label %80, label %76
76: ; preds = %60, %72, %38
%77 = phi ptr [ @.str, %38 ], [ @.str.1, %72 ], [ @.str.1, %60 ]
%78 = tail call i32 @hw_dbg(ptr noundef nonnull %0, ptr noundef nonnull %77) #2
%79 = load i32, ptr @IXGBE_ERR_PHY, align 4, !tbaa !6
br label %80
80: ; preds = %64, %76, %72
%81 = phi i32 [ 0, %72 ], [ %79, %76 ], [ 0, %64 ]
ret i32 %81
}
declare i32 @IXGBE_WRITE_REG(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @udelay(i32 noundef) local_unnamed_addr #1
declare i64 @IXGBE_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @hw_dbg(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)"}
!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 = !{!"ixgbe_hw", !14, i64 0}
!14 = !{!"TYPE_4__", !15, i64 0}
!15 = !{!"TYPE_3__", !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| fastsocket_kernel_drivers_net_ixgbe_extr_ixgbe_phy.c_ixgbe_write_phy_reg_mdi |
; ModuleID = 'AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_sym.c_kxld_sym_is_defined_locally.c'
source_filename = "AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_sym.c_kxld_sym_is_defined_locally.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 i32 @kxld_sym_is_defined_locally(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @check(ptr noundef %0) #2
%3 = tail call i64 @kxld_sym_is_defined(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 4, !tbaa !5
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %1
%10 = phi i32 [ 0, %1 ], [ %8, %5 ]
ret i32 %10
}
declare i32 @check(ptr noundef) local_unnamed_addr #1
declare i64 @kxld_sym_is_defined(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_5__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_sym.c_kxld_sym_is_defined_locally.c'
source_filename = "AnghaBench/darwin-xnu/libkern/kxld/extr_kxld_sym.c_kxld_sym_is_defined_locally.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 range(i32 0, 2) i32 @kxld_sym_is_defined_locally(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @check(ptr noundef %0) #2
%3 = tail call i64 @kxld_sym_is_defined(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = load i32, ptr %0, align 4, !tbaa !6
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i32
br label %9
9: ; preds = %5, %1
%10 = phi i32 [ 0, %1 ], [ %8, %5 ]
ret i32 %10
}
declare i32 @check(ptr noundef) local_unnamed_addr #1
declare i64 @kxld_sym_is_defined(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_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| darwin-xnu_libkern_kxld_extr_kxld_sym.c_kxld_sym_is_defined_locally |
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cmd_search.c_getstring.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cmd_search.c_getstring.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 @getstring], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @getstring(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = add nsw i32 %1, 1
%4 = tail call ptr @malloc(i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %25, label %6
6: ; preds = %2
%7 = icmp sgt i32 %1, 0
br i1 %7, label %8, label %23
8: ; preds = %6, %18
%9 = phi i32 [ %21, %18 ], [ 0, %6 ]
%10 = phi ptr [ %19, %18 ], [ %4, %6 ]
%11 = phi ptr [ %20, %18 ], [ %0, %6 ]
%12 = load i8, ptr %11, align 1, !tbaa !5
%13 = tail call i64 @IS_PRINTABLE(i8 noundef signext %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %8
%16 = load i8, ptr %11, align 1, !tbaa !5
%17 = getelementptr inbounds i8, ptr %10, i64 1
store i8 %16, ptr %10, align 1, !tbaa !5
br label %18
18: ; preds = %8, %15
%19 = phi ptr [ %17, %15 ], [ %10, %8 ]
%20 = getelementptr inbounds i8, ptr %11, i64 1
%21 = add nuw nsw i32 %9, 1
%22 = icmp eq i32 %21, %1
br i1 %22, label %23, label %8, !llvm.loop !8
23: ; preds = %18, %6
%24 = phi ptr [ %4, %6 ], [ %19, %18 ]
store i8 0, ptr %24, align 1, !tbaa !5
br label %25
25: ; preds = %2, %23
ret ptr %4
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i64 @IS_PRINTABLE(i8 noundef signext) 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 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/radare2/libr/core/extr_cmd_search.c_getstring.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cmd_search.c_getstring.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 @getstring], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @getstring(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = add nsw i32 %1, 1
%4 = tail call ptr @malloc(i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %25, label %6
6: ; preds = %2
%7 = icmp sgt i32 %1, 0
br i1 %7, label %8, label %23
8: ; preds = %6, %18
%9 = phi i32 [ %21, %18 ], [ 0, %6 ]
%10 = phi ptr [ %19, %18 ], [ %4, %6 ]
%11 = phi ptr [ %20, %18 ], [ %0, %6 ]
%12 = load i8, ptr %11, align 1, !tbaa !6
%13 = tail call i64 @IS_PRINTABLE(i8 noundef signext %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %8
%16 = load i8, ptr %11, align 1, !tbaa !6
%17 = getelementptr inbounds i8, ptr %10, i64 1
store i8 %16, ptr %10, align 1, !tbaa !6
br label %18
18: ; preds = %8, %15
%19 = phi ptr [ %17, %15 ], [ %10, %8 ]
%20 = getelementptr inbounds i8, ptr %11, i64 1
%21 = add nuw nsw i32 %9, 1
%22 = icmp eq i32 %21, %1
br i1 %22, label %23, label %8, !llvm.loop !9
23: ; preds = %18, %6
%24 = phi ptr [ %4, %6 ], [ %19, %18 ]
store i8 0, ptr %24, align 1, !tbaa !6
br label %25
25: ; preds = %2, %23
ret ptr %4
}
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i64 @IS_PRINTABLE(i8 noundef signext) 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| radare2_libr_core_extr_cmd_search.c_getstring |
; ModuleID = 'AnghaBench/linux/crypto/extr_cryptd.c_cryptd_shash_desc.c'
source_filename = "AnghaBench/linux/crypto/extr_cryptd.c_cryptd_shash_desc.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 ptr @cryptd_shash_desc(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @ahash_request_ctx(ptr noundef %0) #2
ret ptr %2
}
declare ptr @ahash_request_ctx(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/crypto/extr_cryptd.c_cryptd_shash_desc.c'
source_filename = "AnghaBench/linux/crypto/extr_cryptd.c_cryptd_shash_desc.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 ptr @cryptd_shash_desc(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @ahash_request_ctx(ptr noundef %0) #2
ret ptr %2
}
declare ptr @ahash_request_ctx(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_crypto_extr_cryptd.c_cryptd_shash_desc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.