IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_movenc.c_mov_write_moof_tag_internal.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_movenc.c_mov_write_moof_tag_internal.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, i32, ptr }
%struct.TYPE_7__ = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"moof\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mov_write_moof_tag_internal], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mov_write_moof_tag_internal(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @avio_tell(ptr noundef %0) #2
%6 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 0) #2
%7 = tail call i32 @ffio_wfourcc(ptr noundef %0, ptr noundef nonnull @.str) #2
store i32 1, ptr %1, align 8, !tbaa !5
%8 = tail call i32 @mov_write_mfhd_tag(ptr noundef %0, ptr noundef nonnull %1) #2
%9 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %34
12: ; preds = %4
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2
%14 = icmp slt i32 %2, 0
%15 = zext i32 %2 to i64
br label %16
16: ; preds = %12, %29
%17 = phi i32 [ %10, %12 ], [ %30, %29 ]
%18 = phi i64 [ 0, %12 ], [ %31, %29 ]
%19 = load ptr, ptr %13, align 8, !tbaa !12
%20 = getelementptr inbounds %struct.TYPE_7__, ptr %19, i64 %18
%21 = icmp eq i64 %18, %15
%22 = or i1 %14, %21
br i1 %22, label %23, label %29
23: ; preds = %16
%24 = load i32, ptr %20, align 4, !tbaa !13
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = tail call i32 @mov_write_traf_tag(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %20, i32 noundef %5, i32 noundef %3) #2
%28 = load i32, ptr %9, align 4, !tbaa !11
br label %29
29: ; preds = %23, %16, %26
%30 = phi i32 [ %17, %23 ], [ %17, %16 ], [ %28, %26 ]
%31 = add nuw nsw i64 %18, 1
%32 = sext i32 %30 to i64
%33 = icmp slt i64 %31, %32
br i1 %33, label %16, label %34, !llvm.loop !15
34: ; preds = %29, %4
%35 = tail call i32 @update_size(ptr noundef %0, i32 noundef %5) #2
ret i32 %35
}
declare i32 @avio_tell(ptr noundef) local_unnamed_addr #1
declare i32 @avio_wb32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ffio_wfourcc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mov_write_mfhd_tag(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mov_write_traf_tag(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @update_size(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_8__", !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 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_7__", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_movenc.c_mov_write_moof_tag_internal.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_movenc.c_mov_write_moof_tag_internal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"moof\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mov_write_moof_tag_internal], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mov_write_moof_tag_internal(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = tail call i32 @avio_tell(ptr noundef %0) #2
%6 = tail call i32 @avio_wb32(ptr noundef %0, i32 noundef 0) #2
%7 = tail call i32 @ffio_wfourcc(ptr noundef %0, ptr noundef nonnull @.str) #2
store i32 1, ptr %1, align 8, !tbaa !6
%8 = tail call i32 @mov_write_mfhd_tag(ptr noundef %0, ptr noundef nonnull %1) #2
%9 = getelementptr inbounds i8, ptr %1, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %34
12: ; preds = %4
%13 = getelementptr inbounds i8, ptr %1, i64 8
%14 = icmp slt i32 %2, 0
%15 = zext i32 %2 to i64
br label %16
16: ; preds = %12, %29
%17 = phi i32 [ %10, %12 ], [ %30, %29 ]
%18 = phi i64 [ 0, %12 ], [ %31, %29 ]
%19 = load ptr, ptr %13, align 8, !tbaa !13
%20 = getelementptr inbounds %struct.TYPE_7__, ptr %19, i64 %18
%21 = icmp eq i64 %18, %15
%22 = or i1 %14, %21
br i1 %22, label %23, label %29
23: ; preds = %16
%24 = load i32, ptr %20, align 4, !tbaa !14
%25 = icmp eq i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = tail call i32 @mov_write_traf_tag(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %20, i32 noundef %5, i32 noundef %3) #2
%28 = load i32, ptr %9, align 4, !tbaa !12
br label %29
29: ; preds = %23, %16, %26
%30 = phi i32 [ %17, %23 ], [ %17, %16 ], [ %28, %26 ]
%31 = add nuw nsw i64 %18, 1
%32 = sext i32 %30 to i64
%33 = icmp slt i64 %31, %32
br i1 %33, label %16, label %34, !llvm.loop !16
34: ; preds = %29, %4
%35 = tail call i32 @update_size(ptr noundef %0, i32 noundef %5) #2
ret i32 %35
}
declare i32 @avio_tell(ptr noundef) local_unnamed_addr #1
declare i32 @avio_wb32(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ffio_wfourcc(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mov_write_mfhd_tag(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mov_write_traf_tag(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @update_size(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_8__", !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 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_7__", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavformat_extr_movenc.c_mov_write_moof_tag_internal |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/ipc/extr_..kselftest.h_ksft_exit_xfail.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/ipc/extr_..kselftest.h_ksft_exit_xfail.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"
@KSFT_XFAIL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ksft_exit_xfail], section "llvm.metadata"
; Function Attrs: inlinehint noreturn nounwind uwtable
define internal noundef i32 @ksft_exit_xfail() #0 {
%1 = tail call i32 (...) @ksft_print_cnts() #3
%2 = load i32, ptr @KSFT_XFAIL, align 4, !tbaa !5
%3 = tail call i32 @exit(i32 noundef %2) #4
unreachable
}
declare i32 @ksft_print_cnts(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { inlinehint noreturn 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 = { noreturn "no-trapping-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 }
attributes #4 = { noreturn 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/tools/testing/selftests/ipc/extr_..kselftest.h_ksft_exit_xfail.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/ipc/extr_..kselftest.h_ksft_exit_xfail.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KSFT_XFAIL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ksft_exit_xfail], section "llvm.metadata"
; Function Attrs: inlinehint noreturn nounwind ssp uwtable(sync)
define internal noundef i32 @ksft_exit_xfail() #0 {
%1 = tail call i32 @ksft_print_cnts() #3
%2 = load i32, ptr @KSFT_XFAIL, align 4, !tbaa !6
%3 = tail call i32 @exit(i32 noundef %2) #4
unreachable
}
declare i32 @ksft_print_cnts(...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { inlinehint noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 }
attributes #4 = { noreturn 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_tools_testing_selftests_ipc_extr_..kselftest.h_ksft_exit_xfail |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/console/extr_sticon.c_sticon_scroll.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/console/extr_sticon.c_sticon_scroll.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.vc_data = type { i32, i32 }
@sticon_sti = dso_local local_unnamed_addr global ptr null, align 8
@vga_is_gfx = dso_local local_unnamed_addr global i64 0, align 8
@CM_ERASE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sticon_scroll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sticon_scroll(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load ptr, ptr @sticon_sti, align 8, !tbaa !5
%7 = load i64, ptr @vga_is_gfx, align 8, !tbaa !9
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %31
9: ; preds = %5
%10 = load i32, ptr @CM_ERASE, align 4, !tbaa !11
%11 = tail call i32 @sticon_cursor(ptr noundef %0, i32 noundef %10) #2
switch i32 %3, label %31 [
i32 128, label %12
i32 129, label %19
]
12: ; preds = %9
%13 = add nsw i32 %4, %1
%14 = sub i32 %2, %13
%15 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @sti_bmove(ptr noundef %6, i32 noundef %13, i32 noundef 0, i32 noundef %1, i32 noundef 0, i32 noundef %14, i32 noundef %16) #2
%18 = sub nsw i32 %2, %4
br label %25
19: ; preds = %9
%20 = add nsw i32 %4, %1
%21 = sub i32 %2, %20
%22 = getelementptr inbounds %struct.vc_data, ptr %0, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !13
%24 = tail call i32 @sti_bmove(ptr noundef %6, i32 noundef %1, i32 noundef 0, i32 noundef %20, i32 noundef 0, i32 noundef %21, i32 noundef %23) #2
br label %25
25: ; preds = %19, %12
%26 = phi ptr [ %15, %12 ], [ %22, %19 ]
%27 = phi i32 [ %18, %12 ], [ %1, %19 ]
%28 = load i32, ptr %26, align 4, !tbaa !13
%29 = load i32, ptr %0, align 4, !tbaa !15
%30 = tail call i32 @sti_clear(ptr noundef %6, i32 noundef %27, i32 noundef 0, i32 noundef %4, i32 noundef %28, i32 noundef %29) #2
br label %31
31: ; preds = %25, %9, %5
ret i32 0
}
declare i32 @sticon_cursor(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sti_bmove(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sti_clear(ptr noundef, i32 noundef, 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 = !{!"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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"vc_data", !12, i64 0, !12, i64 4}
!15 = !{!14, !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/console/extr_sticon.c_sticon_scroll.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/console/extr_sticon.c_sticon_scroll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sticon_sti = common local_unnamed_addr global ptr null, align 8
@vga_is_gfx = common local_unnamed_addr global i64 0, align 8
@CM_ERASE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sticon_scroll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @sticon_scroll(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = load ptr, ptr @sticon_sti, align 8, !tbaa !6
%7 = load i64, ptr @vga_is_gfx, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %31
9: ; preds = %5
%10 = load i32, ptr @CM_ERASE, align 4, !tbaa !12
%11 = tail call i32 @sticon_cursor(ptr noundef %0, i32 noundef %10) #2
switch i32 %3, label %31 [
i32 128, label %12
i32 129, label %19
]
12: ; preds = %9
%13 = add nsw i32 %4, %1
%14 = sub i32 %2, %13
%15 = getelementptr inbounds i8, ptr %0, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @sti_bmove(ptr noundef %6, i32 noundef %13, i32 noundef 0, i32 noundef %1, i32 noundef 0, i32 noundef %14, i32 noundef %16) #2
%18 = sub nsw i32 %2, %4
br label %25
19: ; preds = %9
%20 = add nsw i32 %4, %1
%21 = sub i32 %2, %20
%22 = getelementptr inbounds i8, ptr %0, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !14
%24 = tail call i32 @sti_bmove(ptr noundef %6, i32 noundef %1, i32 noundef 0, i32 noundef %20, i32 noundef 0, i32 noundef %21, i32 noundef %23) #2
br label %25
25: ; preds = %19, %12
%26 = phi ptr [ %15, %12 ], [ %22, %19 ]
%27 = phi i32 [ %18, %12 ], [ %1, %19 ]
%28 = load i32, ptr %26, align 4, !tbaa !14
%29 = load i32, ptr %0, align 4, !tbaa !16
%30 = tail call i32 @sti_clear(ptr noundef %6, i32 noundef %27, i32 noundef 0, i32 noundef %4, i32 noundef %28, i32 noundef %29) #2
br label %31
31: ; preds = %25, %9, %5
ret i32 0
}
declare i32 @sticon_cursor(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sti_bmove(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sti_clear(ptr noundef, i32 noundef, 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 = !{!"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 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !13, i64 4}
!15 = !{!"vc_data", !13, i64 0, !13, i64 4}
!16 = !{!15, !13, i64 0}
| fastsocket_kernel_drivers_video_console_extr_sticon.c_sticon_scroll |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_divasmain.c_divas_get_version.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_divasmain.c_divas_get_version.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"
@main_revision = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"%s: %s(%s) %s(%s) major=%d\0A\00", align 1
@DRIVERLNAME = dso_local local_unnamed_addr global ptr null, align 8
@DRIVERRELEASE_DIVAS = dso_local local_unnamed_addr global ptr null, align 8
@diva_xdi_common_code_build = dso_local local_unnamed_addr global ptr null, align 8
@DIVA_BUILD = dso_local local_unnamed_addr global ptr null, align 8
@major = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @divas_get_version(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca [32 x i8], align 16
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3
%3 = load i32, ptr @main_revision, align 4, !tbaa !5
%4 = call i32 @strcpy(ptr noundef nonnull %2, i32 noundef %3) #3
%5 = load ptr, ptr @DRIVERLNAME, align 8, !tbaa !9
%6 = load ptr, ptr @DRIVERRELEASE_DIVAS, align 8, !tbaa !9
%7 = call ptr @getrev(ptr noundef nonnull %2) #3
%8 = load ptr, ptr @diva_xdi_common_code_build, align 8, !tbaa !9
%9 = load ptr, ptr @DIVA_BUILD, align 8, !tbaa !9
%10 = load i32, ptr @major, align 4, !tbaa !5
%11 = call i32 @sprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10) #3
call void @llvm.lifetime.end.p0(i64 32, 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 @strcpy(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @getrev(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 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_divasmain.c_divas_get_version.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/eicon/extr_divasmain.c_divas_get_version.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@main_revision = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"%s: %s(%s) %s(%s) major=%d\0A\00", align 1
@DRIVERLNAME = common local_unnamed_addr global ptr null, align 8
@DRIVERRELEASE_DIVAS = common local_unnamed_addr global ptr null, align 8
@diva_xdi_common_code_build = common local_unnamed_addr global ptr null, align 8
@DIVA_BUILD = common local_unnamed_addr global ptr null, align 8
@major = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @divas_get_version(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca [32 x i8], align 1
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3
%3 = load i32, ptr @main_revision, align 4, !tbaa !6
%4 = call i32 @strcpy(ptr noundef nonnull %2, i32 noundef %3) #3
%5 = load ptr, ptr @DRIVERLNAME, align 8, !tbaa !10
%6 = load ptr, ptr @DRIVERRELEASE_DIVAS, align 8, !tbaa !10
%7 = call ptr @getrev(ptr noundef nonnull %2) #3
%8 = load ptr, ptr @diva_xdi_common_code_build, align 8, !tbaa !10
%9 = load ptr, ptr @DIVA_BUILD, align 8, !tbaa !10
%10 = load i32, ptr @major, align 4, !tbaa !6
%11 = call i32 @sprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10) #3
call void @llvm.lifetime.end.p0(i64 32, 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 @strcpy(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @getrev(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 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_drivers_isdn_hardware_eicon_extr_divasmain.c_divas_get_version |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/gcov/extr_fs.c_get_node_info.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/gcov/extr_fs.c_get_node_info.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.gcov_node = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_node_info], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal ptr @get_node_info(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.gcov_node, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = load ptr, ptr %0, align 8, !tbaa !10
br label %7
7: ; preds = %1, %5
%8 = phi ptr [ %6, %5 ], [ %3, %1 ]
ret ptr %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 8}
!6 = !{!"gcov_node", !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}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/gcov/extr_fs.c_get_node_info.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/gcov/extr_fs.c_get_node_info.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 @get_node_info], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal ptr @get_node_info(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = load ptr, ptr %0, align 8, !tbaa !11
br label %7
7: ; preds = %1, %5
%8 = phi ptr [ %6, %5 ], [ %3, %1 ]
ret ptr %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 8}
!7 = !{!"gcov_node", !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}
| fastsocket_kernel_kernel_gcov_extr_fs.c_get_node_info |
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_idle.c_atomic_lock_thread_idle.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_idle.c_atomic_lock_thread_idle.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"
@paca_ptrs = dso_local local_unnamed_addr global ptr null, align 8
@NR_PNV_CORE_IDLE_LOCK_BIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @atomic_lock_thread_idle], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @atomic_lock_thread_idle() #0 {
%1 = tail call i32 (...) @raw_smp_processor_id() #2
%2 = tail call i32 @cpu_first_thread_sibling(i32 noundef %1) #2
%3 = load ptr, ptr @paca_ptrs, align 8, !tbaa !5
%4 = sext i32 %2 to i64
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i32, ptr @NR_PNV_CORE_IDLE_LOCK_BIT, align 4, !tbaa !9
%8 = tail call i32 @test_and_set_bit_lock(i32 noundef %7, ptr noundef %6) #2
%9 = tail call i64 @unlikely(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %17, label %11
11: ; preds = %0, %11
%12 = tail call i32 (...) @barrier() #2
%13 = load i32, ptr @NR_PNV_CORE_IDLE_LOCK_BIT, align 4, !tbaa !9
%14 = tail call i32 @test_and_set_bit_lock(i32 noundef %13, ptr noundef %6) #2
%15 = tail call i64 @unlikely(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %11, !llvm.loop !11
17: ; preds = %11, %0
ret void
}
declare i32 @raw_smp_processor_id(...) local_unnamed_addr #1
declare i32 @cpu_first_thread_sibling(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @test_and_set_bit_lock(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @barrier(...) 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_idle.c_atomic_lock_thread_idle.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_idle.c_atomic_lock_thread_idle.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@paca_ptrs = common local_unnamed_addr global ptr null, align 8
@NR_PNV_CORE_IDLE_LOCK_BIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @atomic_lock_thread_idle], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @atomic_lock_thread_idle() #0 {
%1 = tail call i32 @raw_smp_processor_id() #2
%2 = tail call i32 @cpu_first_thread_sibling(i32 noundef %1) #2
%3 = load ptr, ptr @paca_ptrs, align 8, !tbaa !6
%4 = sext i32 %2 to i64
%5 = getelementptr inbounds ptr, ptr %3, i64 %4
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i32, ptr @NR_PNV_CORE_IDLE_LOCK_BIT, align 4, !tbaa !10
%8 = tail call i32 @test_and_set_bit_lock(i32 noundef %7, ptr noundef %6) #2
%9 = tail call i64 @unlikely(i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %17, label %11
11: ; preds = %0, %11
%12 = tail call i32 @barrier() #2
%13 = load i32, ptr @NR_PNV_CORE_IDLE_LOCK_BIT, align 4, !tbaa !10
%14 = tail call i32 @test_and_set_bit_lock(i32 noundef %13, ptr noundef %6) #2
%15 = tail call i64 @unlikely(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %11, !llvm.loop !12
17: ; preds = %11, %0
ret void
}
declare i32 @raw_smp_processor_id(...) local_unnamed_addr #1
declare i32 @cpu_first_thread_sibling(i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @test_and_set_bit_lock(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @barrier(...) 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| linux_arch_powerpc_platforms_powernv_extr_idle.c_atomic_lock_thread_idle |
; ModuleID = 'AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_EXT_vertex_array.c'
source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_EXT_vertex_array.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"
@GLAD_GL_EXT_vertex_array = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"glArrayElementEXT\00", align 1
@glad_glArrayElementEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [18 x i8] c"glColorPointerEXT\00", align 1
@glad_glColorPointerEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [16 x i8] c"glDrawArraysEXT\00", align 1
@glad_glDrawArraysEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [21 x i8] c"glEdgeFlagPointerEXT\00", align 1
@glad_glEdgeFlagPointerEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [17 x i8] c"glGetPointervEXT\00", align 1
@glad_glGetPointervEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.5 = private unnamed_addr constant [18 x i8] c"glIndexPointerEXT\00", align 1
@glad_glIndexPointerEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [19 x i8] c"glNormalPointerEXT\00", align 1
@glad_glNormalPointerEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.7 = private unnamed_addr constant [21 x i8] c"glTexCoordPointerEXT\00", align 1
@glad_glTexCoordPointerEXT = dso_local local_unnamed_addr global i64 0, align 8
@.str.8 = private unnamed_addr constant [19 x i8] c"glVertexPointerEXT\00", align 1
@glad_glVertexPointerEXT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @load_GL_EXT_vertex_array], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @load_GL_EXT_vertex_array(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @GLAD_GL_EXT_vertex_array, align 4, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %14, label %4
4: ; preds = %1
%5 = tail call i64 %0(ptr noundef nonnull @.str) #1
store i64 %5, ptr @glad_glArrayElementEXT, align 8, !tbaa !9
%6 = tail call i64 %0(ptr noundef nonnull @.str.1) #1
store i64 %6, ptr @glad_glColorPointerEXT, align 8, !tbaa !9
%7 = tail call i64 %0(ptr noundef nonnull @.str.2) #1
store i64 %7, ptr @glad_glDrawArraysEXT, align 8, !tbaa !9
%8 = tail call i64 %0(ptr noundef nonnull @.str.3) #1
store i64 %8, ptr @glad_glEdgeFlagPointerEXT, align 8, !tbaa !9
%9 = tail call i64 %0(ptr noundef nonnull @.str.4) #1
store i64 %9, ptr @glad_glGetPointervEXT, align 8, !tbaa !9
%10 = tail call i64 %0(ptr noundef nonnull @.str.5) #1
store i64 %10, ptr @glad_glIndexPointerEXT, align 8, !tbaa !9
%11 = tail call i64 %0(ptr noundef nonnull @.str.6) #1
store i64 %11, ptr @glad_glNormalPointerEXT, align 8, !tbaa !9
%12 = tail call i64 %0(ptr noundef nonnull @.str.7) #1
store i64 %12, ptr @glad_glTexCoordPointerEXT, align 8, !tbaa !9
%13 = tail call i64 %0(ptr noundef nonnull @.str.8) #1
store i64 %13, ptr @glad_glVertexPointerEXT, align 8, !tbaa !9
br label %14
14: ; preds = %1, %4
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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}
| ; ModuleID = 'AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_EXT_vertex_array.c'
source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_EXT_vertex_array.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GLAD_GL_EXT_vertex_array = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"glArrayElementEXT\00", align 1
@glad_glArrayElementEXT = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [18 x i8] c"glColorPointerEXT\00", align 1
@glad_glColorPointerEXT = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [16 x i8] c"glDrawArraysEXT\00", align 1
@glad_glDrawArraysEXT = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [21 x i8] c"glEdgeFlagPointerEXT\00", align 1
@glad_glEdgeFlagPointerEXT = common local_unnamed_addr global i64 0, align 8
@.str.4 = private unnamed_addr constant [17 x i8] c"glGetPointervEXT\00", align 1
@glad_glGetPointervEXT = common local_unnamed_addr global i64 0, align 8
@.str.5 = private unnamed_addr constant [18 x i8] c"glIndexPointerEXT\00", align 1
@glad_glIndexPointerEXT = common local_unnamed_addr global i64 0, align 8
@.str.6 = private unnamed_addr constant [19 x i8] c"glNormalPointerEXT\00", align 1
@glad_glNormalPointerEXT = common local_unnamed_addr global i64 0, align 8
@.str.7 = private unnamed_addr constant [21 x i8] c"glTexCoordPointerEXT\00", align 1
@glad_glTexCoordPointerEXT = common local_unnamed_addr global i64 0, align 8
@.str.8 = private unnamed_addr constant [19 x i8] c"glVertexPointerEXT\00", align 1
@glad_glVertexPointerEXT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @load_GL_EXT_vertex_array], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @load_GL_EXT_vertex_array(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @GLAD_GL_EXT_vertex_array, align 4, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %14, label %4
4: ; preds = %1
%5 = tail call i64 %0(ptr noundef nonnull @.str) #1
store i64 %5, ptr @glad_glArrayElementEXT, align 8, !tbaa !10
%6 = tail call i64 %0(ptr noundef nonnull @.str.1) #1
store i64 %6, ptr @glad_glColorPointerEXT, align 8, !tbaa !10
%7 = tail call i64 %0(ptr noundef nonnull @.str.2) #1
store i64 %7, ptr @glad_glDrawArraysEXT, align 8, !tbaa !10
%8 = tail call i64 %0(ptr noundef nonnull @.str.3) #1
store i64 %8, ptr @glad_glEdgeFlagPointerEXT, align 8, !tbaa !10
%9 = tail call i64 %0(ptr noundef nonnull @.str.4) #1
store i64 %9, ptr @glad_glGetPointervEXT, align 8, !tbaa !10
%10 = tail call i64 %0(ptr noundef nonnull @.str.5) #1
store i64 %10, ptr @glad_glIndexPointerEXT, align 8, !tbaa !10
%11 = tail call i64 %0(ptr noundef nonnull @.str.6) #1
store i64 %11, ptr @glad_glNormalPointerEXT, align 8, !tbaa !10
%12 = tail call i64 %0(ptr noundef nonnull @.str.7) #1
store i64 %12, ptr @glad_glTexCoordPointerEXT, align 8, !tbaa !10
%13 = tail call i64 %0(ptr noundef nonnull @.str.8) #1
store i64 %13, ptr @glad_glVertexPointerEXT, align 8, !tbaa !10
br label %14
14: ; preds = %1, %4
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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}
| obs-studio_deps_glad_src_extr_glad.c_load_GL_EXT_vertex_array |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-scsi.c_ata_scsiop_inq_00.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-scsi.c_ata_scsiop_inq_00.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"
@__const.ata_scsiop_inq_00.pages = private unnamed_addr constant [7 x i32] [i32 0, i32 128, i32 131, i32 137, i32 176, i32 177, i32 178], align 16
@llvm.compiler.used = appending global [1 x ptr] [ptr @ata_scsiop_inq_00], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ata_scsiop_inq_00(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = alloca [7 x i32], align 16
call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %3) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(28) %3, ptr noundef nonnull align 16 dereferenceable(28) @__const.ata_scsiop_inq_00.pages, i64 28, i1 false)
%4 = getelementptr inbounds i32, ptr %1, i64 3
store i32 28, ptr %4, align 4, !tbaa !5
%5 = getelementptr inbounds i32, ptr %1, i64 4
%6 = call i32 @memcpy(ptr noundef nonnull %5, ptr noundef nonnull %3, i32 noundef 28) #4
call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %3) #4
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
; 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 @memcpy(ptr noundef, ptr noundef, i32 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: readwrite) }
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-scsi.c_ata_scsiop_inq_00.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_libata-scsi.c_ata_scsiop_inq_00.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@__const.ata_scsiop_inq_00.pages = private unnamed_addr constant [7 x i32] [i32 0, i32 128, i32 131, i32 137, i32 176, i32 177, i32 178], align 4
@llvm.used = appending global [1 x ptr] [ptr @ata_scsiop_inq_00], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @ata_scsiop_inq_00(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = alloca [7 x i32], align 4
call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %3) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(28) %3, ptr noundef nonnull align 4 dereferenceable(28) @__const.ata_scsiop_inq_00.pages, i64 28, i1 false)
%4 = getelementptr inbounds i8, ptr %1, i64 12
store i32 28, ptr %4, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 16
%6 = call i32 @memcpy(ptr noundef nonnull %5, ptr noundef nonnull %3, i32 noundef 28) #4
call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %3) #4
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
; 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 @memcpy(ptr noundef, ptr noundef, i32 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: readwrite) }
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_ata_extr_libata-scsi.c_ata_scsiop_inq_00 |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adt7475.c_pwmctrl_store.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_adt7475.c_pwmctrl_store.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.adt7475_data = type { i32, ptr, ptr }
@EINVAL = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @pwmctrl_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @pwmctrl_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @to_sensor_dev_attr_2(ptr noundef %1) #3
%7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%8 = getelementptr inbounds %struct.adt7475_data, ptr %7, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%10 = call i64 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load i64, ptr @EINVAL, align 8, !tbaa !11
%14 = sub i64 0, %13
br label %30
15: ; preds = %4
%16 = call i32 @mutex_lock(ptr noundef nonnull %7) #3
%17 = load i64, ptr %6, align 8, !tbaa !13
%18 = call i32 @adt7475_read_pwm(ptr noundef %9, i64 noundef %17) #3
%19 = load i64, ptr %6, align 8, !tbaa !13
%20 = load i64, ptr %5, align 8, !tbaa !11
%21 = getelementptr inbounds %struct.adt7475_data, ptr %7, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !15
%23 = getelementptr inbounds i32, ptr %22, i64 %19
%24 = load i32, ptr %23, align 4, !tbaa !16
%25 = call i32 @hw_set_pwm(ptr noundef %9, i64 noundef %19, i64 noundef %20, i32 noundef %24) #3
%26 = icmp eq i32 %25, 0
%27 = sext i32 %25 to i64
%28 = select i1 %26, i64 %3, i64 %27
%29 = call i32 @mutex_unlock(ptr noundef nonnull %7) #3
br label %30
30: ; preds = %15, %12
%31 = phi i64 [ %14, %12 ], [ %28, %15 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #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 ptr @to_sensor_dev_attr_2(ptr noundef) local_unnamed_addr #2
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i64 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @adt7475_read_pwm(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @hw_set_pwm(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"adt7475_data", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"sensor_device_attribute_2", !12, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adt7475.c_pwmctrl_store.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_adt7475.c_pwmctrl_store.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 i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @pwmctrl_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @pwmctrl_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @to_sensor_dev_attr_2(ptr noundef %1) #3
%7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%8 = getelementptr inbounds i8, ptr %7, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%10 = call i64 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %4
%13 = load i64, ptr @EINVAL, align 8, !tbaa !12
%14 = sub i64 0, %13
br label %30
15: ; preds = %4
%16 = call i32 @mutex_lock(ptr noundef nonnull %7) #3
%17 = load i64, ptr %6, align 8, !tbaa !14
%18 = call i32 @adt7475_read_pwm(ptr noundef %9, i64 noundef %17) #3
%19 = load i64, ptr %6, align 8, !tbaa !14
%20 = load i64, ptr %5, align 8, !tbaa !12
%21 = getelementptr inbounds i8, ptr %7, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !16
%23 = getelementptr inbounds i32, ptr %22, i64 %19
%24 = load i32, ptr %23, align 4, !tbaa !17
%25 = call i32 @hw_set_pwm(ptr noundef %9, i64 noundef %19, i64 noundef %20, i32 noundef %24) #3
%26 = icmp eq i32 %25, 0
%27 = sext i32 %25 to i64
%28 = select i1 %26, i64 %3, i64 %27
%29 = call i32 @mutex_unlock(ptr noundef nonnull %7) #3
br label %30
30: ; preds = %15, %12
%31 = phi i64 [ %14, %12 ], [ %28, %15 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #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 ptr @to_sensor_dev_attr_2(ptr noundef) local_unnamed_addr #2
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i64 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @adt7475_read_pwm(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @hw_set_pwm(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"adt7475_data", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"sensor_device_attribute_2", !13, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!8, !8, i64 0}
| linux_drivers_hwmon_extr_adt7475.c_pwmctrl_store |
; ModuleID = 'AnghaBench/vlc/modules/video_output/opengl/extr_egl.c_SwapBuffers.c'
source_filename = "AnghaBench/vlc/modules/video_output/opengl/extr_egl.c_SwapBuffers.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 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @SwapBuffers], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @SwapBuffers(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = load i32, ptr %2, align 4, !tbaa !13
%6 = tail call i32 @eglSwapBuffers(i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @eglSwapBuffers(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 4}
!11 = !{!"TYPE_5__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 0}
| ; ModuleID = 'AnghaBench/vlc/modules/video_output/opengl/extr_egl.c_SwapBuffers.c'
source_filename = "AnghaBench/vlc/modules/video_output/opengl/extr_egl.c_SwapBuffers.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 @SwapBuffers], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @SwapBuffers(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = load i32, ptr %2, align 4, !tbaa !14
%6 = tail call i32 @eglSwapBuffers(i32 noundef %4, i32 noundef %5) #2
ret void
}
declare i32 @eglSwapBuffers(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 4}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 0}
| vlc_modules_video_output_opengl_extr_egl.c_SwapBuffers |
; ModuleID = 'AnghaBench/linux/drivers/media/radio/si470x/extr_radio-si470x-usb.c_si470x_get_scratch_page_versions.c'
source_filename = "AnghaBench/linux/drivers/media/radio/si470x/extr_radio-si470x-usb.c_si470x_get_scratch_page_versions.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.si470x_device = type { ptr, i32, i32, ptr }
@SCRATCH_REPORT = dso_local local_unnamed_addr global i32 0, align 4
@SCRATCH_REPORT_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"si470x_get_scratch: si470x_get_report returned %d\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @si470x_get_scratch_page_versions], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @si470x_get_scratch_page_versions(ptr noundef %0) #0 {
%2 = load i32, ptr @SCRATCH_REPORT, align 4, !tbaa !5
%3 = load ptr, ptr %0, align 8, !tbaa !9
store i32 %2, ptr %3, align 4, !tbaa !5
%4 = load i32, ptr @SCRATCH_REPORT_SIZE, align 4, !tbaa !5
%5 = tail call i32 @si470x_get_report(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef %4) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = getelementptr inbounds %struct.si470x_device, ptr %0, i64 0, i32 3
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = tail call i32 @dev_warn(ptr noundef %9, ptr noundef nonnull @.str, i32 noundef %5) #2
br label %19
11: ; preds = %1
%12 = load ptr, ptr %0, align 8, !tbaa !9
%13 = getelementptr inbounds i32, ptr %12, i64 1
%14 = load i32, ptr %13, align 4, !tbaa !5
%15 = getelementptr inbounds %struct.si470x_device, ptr %0, i64 0, i32 2
store i32 %14, ptr %15, align 4, !tbaa !13
%16 = getelementptr inbounds i32, ptr %12, i64 2
%17 = load i32, ptr %16, align 4, !tbaa !5
%18 = getelementptr inbounds %struct.si470x_device, ptr %0, i64 0, i32 1
store i32 %17, ptr %18, align 8, !tbaa !14
br label %19
19: ; preds = %11, %7
%20 = load i32, ptr @EINVAL, align 4
%21 = sub nsw i32 0, %20
%22 = select i1 %6, i32 %21, i32 0
ret i32 %22
}
declare i32 @si470x_get_report(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_warn(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 0}
!10 = !{!"si470x_device", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!10, !6, i64 12}
!14 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/media/radio/si470x/extr_radio-si470x-usb.c_si470x_get_scratch_page_versions.c'
source_filename = "AnghaBench/linux/drivers/media/radio/si470x/extr_radio-si470x-usb.c_si470x_get_scratch_page_versions.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SCRATCH_REPORT = common local_unnamed_addr global i32 0, align 4
@SCRATCH_REPORT_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [51 x i8] c"si470x_get_scratch: si470x_get_report returned %d\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @si470x_get_scratch_page_versions], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @si470x_get_scratch_page_versions(ptr noundef %0) #0 {
%2 = load i32, ptr @SCRATCH_REPORT, align 4, !tbaa !6
%3 = load ptr, ptr %0, align 8, !tbaa !10
store i32 %2, ptr %3, align 4, !tbaa !6
%4 = load i32, ptr @SCRATCH_REPORT_SIZE, align 4, !tbaa !6
%5 = tail call i32 @si470x_get_report(ptr noundef nonnull %0, ptr noundef nonnull %3, i32 noundef %4) #2
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = tail call i32 @dev_warn(ptr noundef %9, ptr noundef nonnull @.str, i32 noundef %5) #2
br label %19
11: ; preds = %1
%12 = load ptr, ptr %0, align 8, !tbaa !10
%13 = getelementptr inbounds i8, ptr %12, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %14, ptr %15, align 4, !tbaa !14
%16 = getelementptr inbounds i8, ptr %12, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !6
%18 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %17, ptr %18, align 8, !tbaa !15
br label %19
19: ; preds = %11, %7
%20 = load i32, ptr @EINVAL, align 4
%21 = sub nsw i32 0, %20
%22 = select i1 %6, i32 %21, i32 0
ret i32 %22
}
declare i32 @si470x_get_report(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_warn(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 0}
!11 = !{!"si470x_device", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!11, !7, i64 12}
!15 = !{!11, !7, i64 8}
| linux_drivers_media_radio_si470x_extr_radio-si470x-usb.c_si470x_get_scratch_page_versions |
; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_dense_rankValueFunc.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_dense_rankValueFunc.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.CallCount = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dense_rankValueFunc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dense_rankValueFunc(ptr noundef %0) #0 {
%2 = tail call i64 @sqlite3_aggregate_context(ptr noundef %0, i32 noundef 16) #2
%3 = inttoptr i64 %2 to ptr
%4 = icmp eq i64 %2, 0
br i1 %4, label %15, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.CallCount, ptr %3, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = icmp eq i64 %7, 0
%9 = load i32, ptr %3, align 8, !tbaa !11
br i1 %8, label %12, label %10
10: ; preds = %5
%11 = add nsw i32 %9, 1
store i32 %11, ptr %3, align 8, !tbaa !11
store i64 0, ptr %6, align 8, !tbaa !5
br label %12
12: ; preds = %10, %5
%13 = phi i32 [ %11, %10 ], [ %9, %5 ]
%14 = tail call i32 @sqlite3_result_int64(ptr noundef %0, i32 noundef %13) #2
br label %15
15: ; preds = %12, %1
ret void
}
declare i64 @sqlite3_aggregate_context(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_result_int64(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"CallCount", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_dense_rankValueFunc.c'
source_filename = "AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_dense_rankValueFunc.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 @dense_rankValueFunc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dense_rankValueFunc(ptr noundef %0) #0 {
%2 = tail call i64 @sqlite3_aggregate_context(ptr noundef %0, i32 noundef 16) #2
%3 = inttoptr i64 %2 to ptr
%4 = icmp eq i64 %2, 0
br i1 %4, label %15, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = icmp eq i64 %7, 0
%9 = load i32, ptr %3, align 8, !tbaa !12
br i1 %8, label %12, label %10
10: ; preds = %5
%11 = add nsw i32 %9, 1
store i32 %11, ptr %3, align 8, !tbaa !12
store i64 0, ptr %6, align 8, !tbaa !6
br label %12
12: ; preds = %10, %5
%13 = phi i32 [ %11, %10 ], [ %9, %5 ]
%14 = tail call i32 @sqlite3_result_int64(ptr noundef %0, i32 noundef %13) #2
br label %15
15: ; preds = %12, %1
ret void
}
declare i64 @sqlite3_aggregate_context(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_result_int64(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"CallCount", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
| wcdb_android_sqlcipher_extr_sqlite3.c_dense_rankValueFunc |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mcde/extr_mcde_dsi.c_mcde_dsi_host_attach.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/mcde/extr_mcde_dsi.c_mcde_dsi_host_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.mcde_dsi = type { ptr, ptr, i32 }
%struct.mipi_dsi_device = type { i32, i32, i32 }
@.str = private unnamed_addr constant [51 x i8] c"dsi device params invalid, 1 or 2 lanes supported\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"attached DSI device with %d lanes\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"format %08x, %dbpp\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"mode flags: %08lx\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mcde_dsi_host_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mcde_dsi_host_attach(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @host_to_mcde_dsi(ptr noundef %0) #2
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = add i32 %4, -3
%6 = icmp ult i32 %5, -2
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !10
%10 = sub nsw i32 0, %9
br label %28
11: ; preds = %2
%12 = getelementptr inbounds %struct.mcde_dsi, ptr %3, i64 0, i32 2
%13 = load i32, ptr %12, align 8, !tbaa !11
%14 = tail call i32 (i32, ptr, i32, ...) @dev_info(i32 noundef %13, ptr noundef nonnull @.str.1, i32 noundef %4) #2
%15 = load i32, ptr %12, align 8, !tbaa !11
%16 = getelementptr inbounds %struct.mipi_dsi_device, ptr %1, i64 0, i32 2
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = tail call i32 @mipi_dsi_pixel_format_to_bpp(i32 noundef %17) #2
%19 = tail call i32 (i32, ptr, i32, ...) @dev_info(i32 noundef %15, ptr noundef nonnull @.str.2, i32 noundef %17, i32 noundef %18) #2
%20 = load i32, ptr %12, align 8, !tbaa !11
%21 = getelementptr inbounds %struct.mipi_dsi_device, ptr %1, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = tail call i32 (i32, ptr, i32, ...) @dev_info(i32 noundef %20, ptr noundef nonnull @.str.3, i32 noundef %22) #2
%24 = getelementptr inbounds %struct.mcde_dsi, ptr %3, i64 0, i32 1
store ptr %1, ptr %24, align 8, !tbaa !16
%25 = load ptr, ptr %3, align 8, !tbaa !17
%26 = icmp eq ptr %25, null
br i1 %26, label %28, label %27
27: ; preds = %11
store ptr %1, ptr %25, align 8, !tbaa !18
br label %28
28: ; preds = %11, %27, %7
%29 = phi i32 [ %10, %7 ], [ 0, %27 ], [ 0, %11 ]
ret i32 %29
}
declare ptr @host_to_mcde_dsi(ptr noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @dev_info(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @mipi_dsi_pixel_format_to_bpp(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 = !{!"mipi_dsi_device", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 16}
!12 = !{!"mcde_dsi", !13, i64 0, !13, i64 8, !7, i64 16}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 4}
!16 = !{!12, !13, i64 8}
!17 = !{!12, !13, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_2__", !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/mcde/extr_mcde_dsi.c_mcde_dsi_host_attach.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/mcde/extr_mcde_dsi.c_mcde_dsi_host_attach.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 [51 x i8] c"dsi device params invalid, 1 or 2 lanes supported\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"attached DSI device with %d lanes\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"format %08x, %dbpp\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"mode flags: %08lx\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mcde_dsi_host_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @mcde_dsi_host_attach(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @host_to_mcde_dsi(ptr noundef %0) #2
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = add i32 %4, -3
%6 = icmp ult i32 %5, -2
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2
%9 = load i32, ptr @EINVAL, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %28
11: ; preds = %2
%12 = getelementptr inbounds i8, ptr %3, i64 16
%13 = load i32, ptr %12, align 8, !tbaa !12
%14 = tail call i32 (i32, ptr, i32, ...) @dev_info(i32 noundef %13, ptr noundef nonnull @.str.1, i32 noundef %4) #2
%15 = load i32, ptr %12, align 8, !tbaa !12
%16 = getelementptr inbounds i8, ptr %1, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = tail call i32 @mipi_dsi_pixel_format_to_bpp(i32 noundef %17) #2
%19 = tail call i32 (i32, ptr, i32, ...) @dev_info(i32 noundef %15, ptr noundef nonnull @.str.2, i32 noundef %17, i32 noundef %18) #2
%20 = load i32, ptr %12, align 8, !tbaa !12
%21 = getelementptr inbounds i8, ptr %1, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = tail call i32 (i32, ptr, i32, ...) @dev_info(i32 noundef %20, ptr noundef nonnull @.str.3, i32 noundef %22) #2
%24 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %1, ptr %24, align 8, !tbaa !17
%25 = load ptr, ptr %3, align 8, !tbaa !18
%26 = icmp eq ptr %25, null
br i1 %26, label %28, label %27
27: ; preds = %11
store ptr %1, ptr %25, align 8, !tbaa !19
br label %28
28: ; preds = %11, %27, %7
%29 = phi i32 [ %10, %7 ], [ 0, %27 ], [ 0, %11 ]
ret i32 %29
}
declare ptr @host_to_mcde_dsi(ptr noundef) local_unnamed_addr #1
declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1
declare i32 @dev_info(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @mipi_dsi_pixel_format_to_bpp(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 = !{!"mipi_dsi_device", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 16}
!13 = !{!"mcde_dsi", !14, i64 0, !14, i64 8, !8, i64 16}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !8, i64 4}
!17 = !{!13, !14, i64 8}
!18 = !{!13, !14, i64 0}
!19 = !{!20, !14, i64 0}
!20 = !{!"TYPE_2__", !14, i64 0}
| linux_drivers_gpu_drm_mcde_extr_mcde_dsi.c_mcde_dsi_host_attach |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_pio.c_is_sc_halted.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_pio.c_is_sc_halted.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"
@STATUS = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_CTXT_HALTED_SMASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_sc_halted], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_sc_halted(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @STATUS, align 4, !tbaa !5
%4 = tail call i32 @SC(i32 noundef %3) #2
%5 = tail call i32 @read_kctxt_csr(ptr noundef %0, i32 noundef %1, i32 noundef %4) #2
%6 = load i32, ptr @STATUS_CTXT_HALTED_SMASK, align 4, !tbaa !5
%7 = tail call i32 @SC(i32 noundef %6) #2
%8 = and i32 %7, %5
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @read_kctxt_csr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SC(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/infiniband/hw/hfi1/extr_pio.c_is_sc_halted.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_pio.c_is_sc_halted.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STATUS = common local_unnamed_addr global i32 0, align 4
@STATUS_CTXT_HALTED_SMASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_sc_halted], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_sc_halted(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @STATUS, align 4, !tbaa !6
%4 = tail call i32 @SC(i32 noundef %3) #2
%5 = tail call i32 @read_kctxt_csr(ptr noundef %0, i32 noundef %1, i32 noundef %4) #2
%6 = load i32, ptr @STATUS_CTXT_HALTED_SMASK, align 4, !tbaa !6
%7 = tail call i32 @SC(i32 noundef %6) #2
%8 = and i32 %7, %5
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @read_kctxt_csr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SC(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_infiniband_hw_hfi1_extr_pio.c_is_sc_halted |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sdvo.c_intel_sdvo_get_input_pixel_clock_range.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sdvo.c_intel_sdvo_get_input_pixel_clock_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"
%struct.intel_sdvo_pixel_clock_range = type { i32, i32 }
@SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_sdvo_get_input_pixel_clock_range], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @intel_sdvo_get_input_pixel_clock_range(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca %struct.intel_sdvo_pixel_clock_range, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @BUILD_BUG_ON(i32 noundef 1) #3
%6 = load i32, ptr @SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE, align 4, !tbaa !5
%7 = call i32 @intel_sdvo_get_value(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %4, i32 noundef 8) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %3
%10 = load i32, ptr %4, align 4, !tbaa !9
%11 = mul nsw i32 %10, 10
store i32 %11, ptr %1, align 4, !tbaa !5
%12 = getelementptr inbounds %struct.intel_sdvo_pixel_clock_range, ptr %4, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = mul nsw i32 %13, 10
store i32 %14, ptr %2, align 4, !tbaa !5
br label %15
15: ; preds = %3, %9
%16 = phi i32 [ 1, %9 ], [ 0, %3 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %16
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @intel_sdvo_get_value(ptr 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 = !{!10, !6, i64 0}
!10 = !{!"intel_sdvo_pixel_clock_range", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sdvo.c_intel_sdvo_get_input_pixel_clock_range.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/i915/extr_intel_sdvo.c_intel_sdvo_get_input_pixel_clock_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.intel_sdvo_pixel_clock_range = type { i32, i32 }
@SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @intel_sdvo_get_input_pixel_clock_range], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @intel_sdvo_get_input_pixel_clock_range(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca %struct.intel_sdvo_pixel_clock_range, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = tail call i32 @BUILD_BUG_ON(i32 noundef 1) #3
%6 = load i32, ptr @SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE, align 4, !tbaa !6
%7 = call i32 @intel_sdvo_get_value(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %4, i32 noundef 8) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %3
%10 = load i32, ptr %4, align 4, !tbaa !10
%11 = mul nsw i32 %10, 10
store i32 %11, ptr %1, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %4, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = mul nsw i32 %13, 10
store i32 %14, ptr %2, align 4, !tbaa !6
br label %15
15: ; preds = %3, %9
%16 = phi i32 [ 1, %9 ], [ 0, %3 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %16
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @intel_sdvo_get_value(ptr 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 = !{!11, !7, i64 0}
!11 = !{!"intel_sdvo_pixel_clock_range", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 4}
| fastsocket_kernel_drivers_gpu_drm_i915_extr_intel_sdvo.c_intel_sdvo_get_input_pixel_clock_range |
; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_rgb2rgb_template.c_planar2x_c.c'
source_filename = "AnghaBench/FFmpeg/libswscale/extr_rgb2rgb_template.c_planar2x_c.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 @planar2x_c], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define internal void @planar2x_c(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr %0, align 4, !tbaa !5
store i32 %7, ptr %1, align 4, !tbaa !5
%8 = add i32 %2, -1
%9 = getelementptr i32, ptr %1, i64 2
%10 = icmp sgt i32 %2, 1
br i1 %10, label %11, label %69
11: ; preds = %6
%12 = zext nneg i32 %8 to i64
%13 = icmp ult i32 %2, 7
br i1 %13, label %47, label %14
14: ; preds = %11
%15 = shl nuw nsw i64 %12, 3
%16 = or disjoint i64 %15, 4
%17 = getelementptr i8, ptr %1, i64 %16
%18 = shl nuw nsw i64 %12, 2
%19 = getelementptr i8, ptr %0, i64 %18
%20 = icmp ugt ptr %19, %1
%21 = icmp ugt ptr %17, %0
%22 = and i1 %20, %21
br i1 %22, label %47, label %23
23: ; preds = %14
%24 = and i64 %12, 2147483646
%25 = getelementptr i32, ptr %9, i64 -1
br label %26
26: ; preds = %26, %23
%27 = phi i64 [ 0, %23 ], [ %43, %26 ]
%28 = getelementptr inbounds i32, ptr %0, i64 %27
%29 = load <2 x i32>, ptr %28, align 4, !tbaa !5, !alias.scope !9
%30 = mul nsw <2 x i32> %29, <i32 3, i32 3>
%31 = or disjoint i64 %27, 1
%32 = getelementptr inbounds i32, ptr %0, i64 %31
%33 = load <2 x i32>, ptr %32, align 4, !tbaa !5, !alias.scope !9
%34 = add nsw <2 x i32> %30, %33
%35 = ashr <2 x i32> %34, <i32 2, i32 2>
%36 = shl nuw nsw i64 %27, 1
%37 = load <2 x i32>, ptr %28, align 4, !tbaa !5, !alias.scope !9
%38 = mul nsw <2 x i32> %33, <i32 3, i32 3>
%39 = add nsw <2 x i32> %38, %37
%40 = ashr <2 x i32> %39, <i32 2, i32 2>
%41 = getelementptr i32, ptr %25, i64 %36
%42 = shufflevector <2 x i32> %35, <2 x i32> %40, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x i32> %42, ptr %41, align 4, !tbaa !5
%43 = add nuw i64 %27, 2
%44 = icmp eq i64 %43, %24
br i1 %44, label %45, label %26, !llvm.loop !12
45: ; preds = %26
%46 = icmp eq i64 %24, %12
br i1 %46, label %69, label %47
47: ; preds = %14, %11, %45
%48 = phi i64 [ 0, %14 ], [ 0, %11 ], [ %24, %45 ]
br label %49
49: ; preds = %47, %49
%50 = phi i64 [ %54, %49 ], [ %48, %47 ]
%51 = getelementptr inbounds i32, ptr %0, i64 %50
%52 = load i32, ptr %51, align 4, !tbaa !5
%53 = mul nsw i32 %52, 3
%54 = add nuw nsw i64 %50, 1
%55 = getelementptr inbounds i32, ptr %0, i64 %54
%56 = load i32, ptr %55, align 4, !tbaa !5
%57 = add nsw i32 %53, %56
%58 = ashr i32 %57, 2
%59 = shl nuw nsw i64 %50, 1
%60 = or disjoint i64 %59, 1
%61 = getelementptr inbounds i32, ptr %1, i64 %60
store i32 %58, ptr %61, align 4, !tbaa !5
%62 = load i32, ptr %51, align 4, !tbaa !5
%63 = load i32, ptr %55, align 4, !tbaa !5
%64 = mul nsw i32 %63, 3
%65 = add nsw i32 %64, %62
%66 = ashr i32 %65, 2
%67 = getelementptr i32, ptr %9, i64 %59
store i32 %66, ptr %67, align 4, !tbaa !5
%68 = icmp eq i64 %54, %12
br i1 %68, label %69, label %49, !llvm.loop !16
69: ; preds = %49, %45, %6
%70 = sext i32 %8 to i64
%71 = getelementptr inbounds i32, ptr %0, i64 %70
%72 = load i32, ptr %71, align 4, !tbaa !5
%73 = shl nsw i32 %2, 1
%74 = add nsw i32 %73, -1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %1, i64 %75
store i32 %72, ptr %76, align 4, !tbaa !5
%77 = sext i32 %5 to i64
%78 = getelementptr inbounds i32, ptr %1, i64 %77
%79 = icmp sgt i32 %3, 1
br i1 %79, label %80, label %381
80: ; preds = %69
%81 = sext i32 %4 to i64
%82 = add nsw i32 %8, %4
%83 = sext i32 %82 to i64
%84 = add nsw i32 %74, %5
%85 = sext i32 %84 to i64
%86 = shl i32 %5, 1
%87 = sext i32 %86 to i64
%88 = zext i32 %8 to i64
%89 = add nsw i64 %88, -1
%90 = shl nsw i64 %77, 3
%91 = shl nsw i64 %87, 2
%92 = or disjoint i64 %90, 4
%93 = shl nsw i64 %77, 2
%94 = shl nsw i64 %77, 2
%95 = getelementptr i8, ptr %1, i64 %94
%96 = getelementptr i8, ptr %95, i64 4
%97 = add nsw i32 %3, -2
%98 = zext i32 %97 to i64
%99 = mul nsw i64 %87, %98
%100 = shl i64 %99, 2
%101 = shl nuw nsw i64 %88, 3
%102 = getelementptr i8, ptr %1, i64 %100
%103 = getelementptr i8, ptr %102, i64 %101
%104 = getelementptr i8, ptr %103, i64 %94
%105 = mul nsw i64 %81, %98
%106 = shl i64 %105, 2
%107 = shl nuw nsw i64 %88, 2
%108 = getelementptr i8, ptr %0, i64 %106
%109 = getelementptr i8, ptr %108, i64 %107
%110 = shl nsw i64 %81, 2
%111 = getelementptr i8, ptr %0, i64 %110
%112 = getelementptr i8, ptr %111, i64 4
%113 = shl nuw nsw i64 %98, 2
%114 = add nuw nsw i64 %113, 4
%115 = mul i64 %114, %81
%116 = getelementptr i8, ptr %0, i64 %115
%117 = getelementptr i8, ptr %116, i64 %107
%118 = getelementptr i8, ptr %117, i64 4
%119 = getelementptr i8, ptr %0, i64 4
%120 = getelementptr i8, ptr %0, i64 %106
%121 = getelementptr i8, ptr %120, i64 %107
%122 = getelementptr i8, ptr %121, i64 4
%123 = getelementptr i8, ptr %0, i64 %110
%124 = getelementptr i8, ptr %0, i64 %115
%125 = getelementptr i8, ptr %124, i64 %107
%126 = shl nsw i64 %77, 3
%127 = getelementptr i8, ptr %1, i64 %126
%128 = getelementptr i8, ptr %127, i64 8
%129 = add i64 %100, %126
%130 = add i64 %129, %101
%131 = or disjoint i64 %130, 4
%132 = getelementptr i8, ptr %1, i64 %131
%133 = or disjoint i64 %126, 4
%134 = getelementptr i8, ptr %1, i64 %133
%135 = getelementptr i8, ptr %1, i64 %130
%136 = getelementptr i8, ptr %1, i64 %94
%137 = getelementptr i8, ptr %136, i64 8
%138 = getelementptr i8, ptr %1, i64 %100
%139 = getelementptr i8, ptr %138, i64 %101
%140 = getelementptr i8, ptr %139, i64 %94
%141 = getelementptr i8, ptr %140, i64 4
%142 = getelementptr i8, ptr %1, i64 %90
%143 = getelementptr i8, ptr %142, i64 8
%144 = getelementptr i8, ptr %1, i64 %92
%145 = getelementptr i8, ptr %1, i64 %93
%146 = getelementptr i8, ptr %145, i64 8
%147 = icmp ult i32 %2, 31
%148 = shl nsw i64 %89, 3
%149 = shl nsw i64 %89, 3
%150 = icmp ugt i64 %89, 2305843009213693951
%151 = shl nsw i64 %89, 3
%152 = icmp ult ptr %96, %109
%153 = icmp ugt ptr %104, %0
%154 = and i1 %152, %153
%155 = icmp ult ptr %95, %117
%156 = icmp ult ptr %112, %104
%157 = and i1 %155, %156
%158 = icmp ult ptr %95, %121
%159 = icmp ult ptr %119, %104
%160 = and i1 %158, %159
%161 = icmp ult ptr %96, %125
%162 = icmp ult ptr %123, %104
%163 = and i1 %161, %162
%164 = icmp ult ptr %96, %132
%165 = icmp ult ptr %128, %104
%166 = and i1 %164, %165
%167 = icmp ult ptr %96, %135
%168 = icmp ult ptr %134, %104
%169 = and i1 %167, %168
%170 = icmp ugt ptr %139, %1
%171 = icmp ult ptr %137, %104
%172 = and i1 %170, %171
%173 = icmp ugt ptr %132, %0
%174 = icmp ult ptr %128, %109
%175 = and i1 %173, %174
%176 = icmp ugt ptr %135, %0
%177 = icmp ult ptr %134, %109
%178 = and i1 %176, %177
%179 = icmp ugt ptr %141, %0
%180 = icmp ult ptr %137, %109
%181 = and i1 %179, %180
%182 = icmp ult ptr %112, %132
%183 = icmp ult ptr %128, %118
%184 = and i1 %182, %183
%185 = icmp ult ptr %112, %135
%186 = icmp ult ptr %134, %118
%187 = and i1 %185, %186
%188 = icmp ult ptr %111, %140
%189 = icmp ult ptr %137, %118
%190 = and i1 %188, %189
%191 = icmp ult ptr %119, %132
%192 = icmp ult ptr %128, %122
%193 = and i1 %191, %192
%194 = icmp ult ptr %119, %135
%195 = icmp ult ptr %134, %122
%196 = and i1 %194, %195
%197 = icmp ugt ptr %140, %0
%198 = icmp ult ptr %137, %122
%199 = and i1 %197, %198
%200 = icmp ult ptr %123, %132
%201 = icmp ult ptr %128, %125
%202 = and i1 %200, %201
%203 = icmp ult ptr %123, %135
%204 = icmp ult ptr %134, %125
%205 = and i1 %203, %204
%206 = icmp ult ptr %123, %141
%207 = icmp ult ptr %137, %125
%208 = and i1 %206, %207
%209 = icmp ult ptr %128, %135
%210 = icmp ult ptr %134, %132
%211 = and i1 %209, %210
%212 = icmp slt i32 %86, 0
%213 = icmp ult ptr %128, %141
%214 = icmp ult ptr %137, %132
%215 = and i1 %213, %214
%216 = icmp ult ptr %134, %141
%217 = icmp ult ptr %137, %135
%218 = and i1 %216, %217
%219 = or i32 %86, %4
%220 = icmp slt i32 %219, 0
%221 = or i1 %220, %211
%222 = or i1 %208, %205
%223 = or i1 %202, %199
%224 = or i1 %196, %193
%225 = or i1 %190, %187
%226 = or i1 %184, %181
%227 = or i1 %178, %175
%228 = or i1 %166, %163
%229 = or i1 %160, %157
%230 = or i1 %154, %169
%231 = or i1 %172, %215
%232 = or i1 %218, %212
%233 = or i1 %221, %222
%234 = or i1 %223, %224
%235 = or i1 %225, %226
%236 = or i1 %227, %228
%237 = or i1 %229, %230
%238 = or i1 %231, %232
%239 = or i1 %233, %234
%240 = or i1 %235, %236
%241 = or i1 %237, %238
%242 = or i1 %239, %240
%243 = or i1 %242, %241
%244 = and i64 %88, 4294967294
%245 = icmp eq i64 %244, %88
br label %246
246: ; preds = %80, %362
%247 = phi i64 [ 0, %80 ], [ %380, %362 ]
%248 = phi ptr [ %0, %80 ], [ %257, %362 ]
%249 = phi i32 [ 1, %80 ], [ %378, %362 ]
%250 = phi ptr [ %78, %80 ], [ %377, %362 ]
%251 = mul i64 %91, %247
%252 = getelementptr i8, ptr %143, i64 %251
%253 = getelementptr i8, ptr %144, i64 %251
%254 = getelementptr i8, ptr %146, i64 %251
%255 = load i32, ptr %248, align 4, !tbaa !5
%256 = mul nsw i32 %255, 3
%257 = getelementptr inbounds i32, ptr %248, i64 %81
%258 = load i32, ptr %257, align 4, !tbaa !5
%259 = add nsw i32 %256, %258
%260 = ashr i32 %259, 2
store i32 %260, ptr %250, align 4, !tbaa !5
%261 = load i32, ptr %248, align 4, !tbaa !5
%262 = load i32, ptr %257, align 4, !tbaa !5
%263 = mul nsw i32 %262, 3
%264 = add nsw i32 %263, %261
%265 = ashr i32 %264, 2
%266 = getelementptr inbounds i32, ptr %250, i64 %77
store i32 %265, ptr %266, align 4, !tbaa !5
br i1 %10, label %267, label %362
267: ; preds = %246
br i1 %147, label %320, label %268
268: ; preds = %267
%269 = getelementptr i8, ptr %252, i64 %148
%270 = icmp ult ptr %269, %252
%271 = getelementptr i8, ptr %253, i64 %149
%272 = icmp ult ptr %271, %253
%273 = or i1 %272, %150
%274 = getelementptr i8, ptr %254, i64 %151
%275 = icmp ult ptr %274, %254
%276 = or i1 %270, %273
%277 = or i1 %275, %276
%278 = select i1 %277, i1 true, i1 %243
br i1 %278, label %320, label %279
279: ; preds = %268
%280 = getelementptr i32, ptr %250, i64 -1
br label %281
281: ; preds = %281, %279
%282 = phi i64 [ 0, %279 ], [ %317, %281 ]
%283 = getelementptr inbounds i32, ptr %248, i64 %282
%284 = load <2 x i32>, ptr %283, align 4, !tbaa !5, !alias.scope !17, !noalias !20
%285 = mul nsw <2 x i32> %284, <i32 3, i32 3>
%286 = add nsw i64 %282, %81
%287 = add nsw i64 %286, 1
%288 = getelementptr inbounds i32, ptr %248, i64 %287
%289 = load <2 x i32>, ptr %288, align 4, !tbaa !5, !alias.scope !24, !noalias !20
%290 = add nsw <2 x i32> %285, %289
%291 = ashr <2 x i32> %290, <i32 2, i32 2>
%292 = shl nuw nsw i64 %282, 1
%293 = load <2 x i32>, ptr %283, align 4, !tbaa !5, !alias.scope !17, !noalias !20
%294 = mul nsw <2 x i32> %289, <i32 3, i32 3>
%295 = add nsw <2 x i32> %294, %293
%296 = ashr <2 x i32> %295, <i32 2, i32 2>
%297 = add nsw i64 %292, %77
%298 = or disjoint i64 %282, 1
%299 = getelementptr inbounds i32, ptr %248, i64 %298
%300 = load <2 x i32>, ptr %299, align 4, !tbaa !5, !alias.scope !26, !noalias !20
%301 = getelementptr inbounds i32, ptr %248, i64 %286
%302 = load <2 x i32>, ptr %301, align 4, !tbaa !5, !alias.scope !28, !noalias !20
%303 = mul nsw <2 x i32> %302, <i32 3, i32 3>
%304 = add nsw <2 x i32> %303, %300
%305 = ashr <2 x i32> %304, <i32 2, i32 2>
%306 = add nsw i64 %297, 1
%307 = getelementptr inbounds i32, ptr %250, i64 %306
%308 = shufflevector <2 x i32> %305, <2 x i32> %296, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x i32> %308, ptr %307, align 4, !tbaa !5
%309 = load <2 x i32>, ptr %299, align 4, !tbaa !5, !alias.scope !26, !noalias !20
%310 = mul nsw <2 x i32> %309, <i32 3, i32 3>
%311 = load <2 x i32>, ptr %301, align 4, !tbaa !5, !alias.scope !28, !noalias !20
%312 = add nsw <2 x i32> %310, %311
%313 = ashr <2 x i32> %312, <i32 2, i32 2>
%314 = or disjoint i64 %292, 2
%315 = getelementptr i32, ptr %280, i64 %314
%316 = shufflevector <2 x i32> %291, <2 x i32> %313, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x i32> %316, ptr %315, align 4, !tbaa !5
%317 = add nuw i64 %282, 2
%318 = icmp eq i64 %317, %244
br i1 %318, label %319, label %281, !llvm.loop !30
319: ; preds = %281
br i1 %245, label %362, label %320
320: ; preds = %268, %267, %319
%321 = phi i64 [ 0, %268 ], [ 0, %267 ], [ %244, %319 ]
br label %322
322: ; preds = %320, %322
%323 = phi i64 [ %344, %322 ], [ %321, %320 ]
%324 = getelementptr inbounds i32, ptr %248, i64 %323
%325 = load i32, ptr %324, align 4, !tbaa !5
%326 = mul nsw i32 %325, 3
%327 = add nsw i64 %323, %81
%328 = add nsw i64 %327, 1
%329 = getelementptr inbounds i32, ptr %248, i64 %328
%330 = load i32, ptr %329, align 4, !tbaa !5
%331 = add nsw i32 %326, %330
%332 = ashr i32 %331, 2
%333 = shl nuw nsw i64 %323, 1
%334 = or disjoint i64 %333, 1
%335 = getelementptr inbounds i32, ptr %250, i64 %334
store i32 %332, ptr %335, align 4, !tbaa !5
%336 = load i32, ptr %324, align 4, !tbaa !5
%337 = load i32, ptr %329, align 4, !tbaa !5
%338 = mul nsw i32 %337, 3
%339 = add nsw i32 %338, %336
%340 = ashr i32 %339, 2
%341 = add nsw i64 %333, %77
%342 = add nsw i64 %341, 2
%343 = getelementptr inbounds i32, ptr %250, i64 %342
store i32 %340, ptr %343, align 4, !tbaa !5
%344 = add nuw nsw i64 %323, 1
%345 = getelementptr inbounds i32, ptr %248, i64 %344
%346 = load i32, ptr %345, align 4, !tbaa !5
%347 = getelementptr inbounds i32, ptr %248, i64 %327
%348 = load i32, ptr %347, align 4, !tbaa !5
%349 = mul nsw i32 %348, 3
%350 = add nsw i32 %349, %346
%351 = ashr i32 %350, 2
%352 = add nsw i64 %341, 1
%353 = getelementptr inbounds i32, ptr %250, i64 %352
store i32 %351, ptr %353, align 4, !tbaa !5
%354 = load i32, ptr %345, align 4, !tbaa !5
%355 = mul nsw i32 %354, 3
%356 = load i32, ptr %347, align 4, !tbaa !5
%357 = add nsw i32 %355, %356
%358 = ashr i32 %357, 2
%359 = add nuw nsw i64 %333, 2
%360 = getelementptr inbounds i32, ptr %250, i64 %359
store i32 %358, ptr %360, align 4, !tbaa !5
%361 = icmp eq i64 %344, %88
br i1 %361, label %362, label %322, !llvm.loop !31
362: ; preds = %322, %319, %246
%363 = getelementptr inbounds i32, ptr %248, i64 %70
%364 = load i32, ptr %363, align 4, !tbaa !5
%365 = mul nsw i32 %364, 3
%366 = getelementptr inbounds i32, ptr %248, i64 %83
%367 = load i32, ptr %366, align 4, !tbaa !5
%368 = add nsw i32 %365, %367
%369 = ashr i32 %368, 2
%370 = getelementptr inbounds i32, ptr %250, i64 %75
store i32 %369, ptr %370, align 4, !tbaa !5
%371 = load i32, ptr %363, align 4, !tbaa !5
%372 = load i32, ptr %366, align 4, !tbaa !5
%373 = mul nsw i32 %372, 3
%374 = add nsw i32 %373, %371
%375 = ashr i32 %374, 2
%376 = getelementptr inbounds i32, ptr %250, i64 %85
store i32 %375, ptr %376, align 4, !tbaa !5
%377 = getelementptr inbounds i32, ptr %250, i64 %87
%378 = add nuw nsw i32 %249, 1
%379 = icmp eq i32 %378, %3
%380 = add i64 %247, 1
br i1 %379, label %381, label %246, !llvm.loop !32
381: ; preds = %362, %69
%382 = phi ptr [ %78, %69 ], [ %377, %362 ]
%383 = phi ptr [ %0, %69 ], [ %257, %362 ]
%384 = load i32, ptr %383, align 4, !tbaa !5
store i32 %384, ptr %382, align 4, !tbaa !5
br i1 %10, label %385, label %447
385: ; preds = %381
%386 = zext nneg i32 %8 to i64
%387 = icmp ult i32 %2, 7
br i1 %387, label %424, label %388
388: ; preds = %385
%389 = getelementptr i8, ptr %382, i64 4
%390 = shl nuw nsw i64 %386, 3
%391 = or disjoint i64 %390, 4
%392 = getelementptr i8, ptr %382, i64 %391
%393 = shl nuw nsw i64 %386, 2
%394 = add nuw nsw i64 %393, 4
%395 = getelementptr i8, ptr %383, i64 %394
%396 = icmp ult ptr %389, %395
%397 = icmp ult ptr %383, %392
%398 = and i1 %396, %397
br i1 %398, label %424, label %399
399: ; preds = %388
%400 = and i64 %386, 2147483646
%401 = getelementptr i32, ptr %382, i64 -1
br label %402
402: ; preds = %402, %399
%403 = phi i64 [ 0, %399 ], [ %420, %402 ]
%404 = getelementptr inbounds i32, ptr %383, i64 %403
%405 = load <2 x i32>, ptr %404, align 4, !tbaa !5, !alias.scope !33
%406 = mul nsw <2 x i32> %405, <i32 3, i32 3>
%407 = or disjoint i64 %403, 1
%408 = getelementptr inbounds i32, ptr %383, i64 %407
%409 = load <2 x i32>, ptr %408, align 4, !tbaa !5, !alias.scope !33
%410 = add nsw <2 x i32> %406, %409
%411 = ashr <2 x i32> %410, <i32 2, i32 2>
%412 = shl nuw nsw i64 %403, 1
%413 = load <2 x i32>, ptr %404, align 4, !tbaa !5, !alias.scope !33
%414 = mul nsw <2 x i32> %409, <i32 3, i32 3>
%415 = add nsw <2 x i32> %414, %413
%416 = ashr <2 x i32> %415, <i32 2, i32 2>
%417 = or disjoint i64 %412, 2
%418 = getelementptr i32, ptr %401, i64 %417
%419 = shufflevector <2 x i32> %411, <2 x i32> %416, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x i32> %419, ptr %418, align 4, !tbaa !5
%420 = add nuw i64 %403, 2
%421 = icmp eq i64 %420, %400
br i1 %421, label %422, label %402, !llvm.loop !36
422: ; preds = %402
%423 = icmp eq i64 %400, %386
br i1 %423, label %447, label %424
424: ; preds = %388, %385, %422
%425 = phi i64 [ 0, %388 ], [ 0, %385 ], [ %400, %422 ]
br label %426
426: ; preds = %424, %426
%427 = phi i64 [ %431, %426 ], [ %425, %424 ]
%428 = getelementptr inbounds i32, ptr %383, i64 %427
%429 = load i32, ptr %428, align 4, !tbaa !5
%430 = mul nsw i32 %429, 3
%431 = add nuw nsw i64 %427, 1
%432 = getelementptr inbounds i32, ptr %383, i64 %431
%433 = load i32, ptr %432, align 4, !tbaa !5
%434 = add nsw i32 %430, %433
%435 = ashr i32 %434, 2
%436 = shl nuw nsw i64 %427, 1
%437 = or disjoint i64 %436, 1
%438 = getelementptr inbounds i32, ptr %382, i64 %437
store i32 %435, ptr %438, align 4, !tbaa !5
%439 = load i32, ptr %428, align 4, !tbaa !5
%440 = load i32, ptr %432, align 4, !tbaa !5
%441 = mul nsw i32 %440, 3
%442 = add nsw i32 %441, %439
%443 = ashr i32 %442, 2
%444 = add nuw nsw i64 %436, 2
%445 = getelementptr inbounds i32, ptr %382, i64 %444
store i32 %443, ptr %445, align 4, !tbaa !5
%446 = icmp eq i64 %431, %386
br i1 %446, label %447, label %426, !llvm.loop !37
447: ; preds = %426, %422, %381
%448 = getelementptr inbounds i32, ptr %383, i64 %70
%449 = load i32, ptr %448, align 4, !tbaa !5
%450 = getelementptr inbounds i32, ptr %382, i64 %75
store i32 %449, ptr %450, align 4, !tbaa !5
ret void
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(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}
!10 = distinct !{!10, !11}
!11 = distinct !{!11, !"LVerDomain"}
!12 = distinct !{!12, !13, !14, !15}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !13, !14}
!17 = !{!18}
!18 = distinct !{!18, !19}
!19 = distinct !{!19, !"LVerDomain"}
!20 = !{!21, !22, !23}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = !{!25}
!25 = distinct !{!25, !19}
!26 = !{!27}
!27 = distinct !{!27, !19}
!28 = !{!29}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !13, !14, !15}
!31 = distinct !{!31, !13, !14}
!32 = distinct !{!32, !13}
!33 = !{!34}
!34 = distinct !{!34, !35}
!35 = distinct !{!35, !"LVerDomain"}
!36 = distinct !{!36, !13, !14, !15}
!37 = distinct !{!37, !13, !14}
| ; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_rgb2rgb_template.c_planar2x_c.c'
source_filename = "AnghaBench/FFmpeg/libswscale/extr_rgb2rgb_template.c_planar2x_c.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 @planar2x_c], section "llvm.metadata"
; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @planar2x_c(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = load i32, ptr %0, align 4, !tbaa !6
store i32 %7, ptr %1, align 4, !tbaa !6
%8 = add i32 %2, -1
%9 = getelementptr inbounds i8, ptr %1, i64 8
%10 = icmp sgt i32 %2, 1
br i1 %10, label %11, label %87
11: ; preds = %6
%12 = zext nneg i32 %8 to i64
%13 = icmp ult i32 %2, 9
br i1 %13, label %65, label %14
14: ; preds = %11
%15 = shl nuw nsw i64 %12, 3
%16 = or disjoint i64 %15, 4
%17 = getelementptr i8, ptr %1, i64 %16
%18 = shl nuw nsw i64 %12, 2
%19 = getelementptr i8, ptr %0, i64 %18
%20 = icmp ugt ptr %19, %1
%21 = icmp ugt ptr %17, %0
%22 = and i1 %20, %21
br i1 %22, label %65, label %23
23: ; preds = %14
%24 = and i64 %12, 2147483640
%25 = getelementptr i8, ptr %9, i64 -4
%26 = getelementptr i8, ptr %9, i64 -4
br label %27
27: ; preds = %27, %23
%28 = phi i64 [ 0, %23 ], [ %61, %27 ]
%29 = getelementptr inbounds i32, ptr %0, i64 %28
%30 = getelementptr inbounds i8, ptr %29, i64 16
%31 = load <4 x i32>, ptr %29, align 4, !tbaa !6, !alias.scope !10
%32 = load <4 x i32>, ptr %30, align 4, !tbaa !6, !alias.scope !10
%33 = mul nsw <4 x i32> %31, <i32 3, i32 3, i32 3, i32 3>
%34 = mul nsw <4 x i32> %32, <i32 3, i32 3, i32 3, i32 3>
%35 = or disjoint i64 %28, 1
%36 = getelementptr inbounds i32, ptr %0, i64 %35
%37 = getelementptr inbounds i8, ptr %36, i64 16
%38 = load <4 x i32>, ptr %36, align 4, !tbaa !6, !alias.scope !10
%39 = load <4 x i32>, ptr %37, align 4, !tbaa !6, !alias.scope !10
%40 = add nsw <4 x i32> %33, %38
%41 = add nsw <4 x i32> %34, %39
%42 = ashr <4 x i32> %40, <i32 2, i32 2, i32 2, i32 2>
%43 = ashr <4 x i32> %41, <i32 2, i32 2, i32 2, i32 2>
%44 = shl i64 %28, 1
%45 = or disjoint i64 %44, 8
%46 = load <4 x i32>, ptr %29, align 4, !tbaa !6, !alias.scope !10
%47 = load <4 x i32>, ptr %30, align 4, !tbaa !6, !alias.scope !10
%48 = load <4 x i32>, ptr %36, align 4, !tbaa !6, !alias.scope !10
%49 = load <4 x i32>, ptr %37, align 4, !tbaa !6, !alias.scope !10
%50 = mul nsw <4 x i32> %48, <i32 3, i32 3, i32 3, i32 3>
%51 = mul nsw <4 x i32> %49, <i32 3, i32 3, i32 3, i32 3>
%52 = add nsw <4 x i32> %50, %46
%53 = add nsw <4 x i32> %51, %47
%54 = ashr <4 x i32> %52, <i32 2, i32 2, i32 2, i32 2>
%55 = ashr <4 x i32> %53, <i32 2, i32 2, i32 2, i32 2>
%56 = shl nsw i64 %28, 3
%57 = getelementptr i8, ptr %25, i64 %56
%58 = getelementptr i32, ptr %26, i64 %45
%59 = shufflevector <4 x i32> %42, <4 x i32> %54, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
store <8 x i32> %59, ptr %57, align 4, !tbaa !6
%60 = shufflevector <4 x i32> %43, <4 x i32> %55, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
store <8 x i32> %60, ptr %58, align 4, !tbaa !6
%61 = add nuw i64 %28, 8
%62 = icmp eq i64 %61, %24
br i1 %62, label %63, label %27, !llvm.loop !13
63: ; preds = %27
%64 = icmp eq i64 %24, %12
br i1 %64, label %87, label %65
65: ; preds = %63, %14, %11
%66 = phi i64 [ 0, %14 ], [ 0, %11 ], [ %24, %63 ]
br label %67
67: ; preds = %65, %67
%68 = phi i64 [ %72, %67 ], [ %66, %65 ]
%69 = getelementptr inbounds i32, ptr %0, i64 %68
%70 = load i32, ptr %69, align 4, !tbaa !6
%71 = mul nsw i32 %70, 3
%72 = add nuw nsw i64 %68, 1
%73 = getelementptr inbounds i32, ptr %0, i64 %72
%74 = load i32, ptr %73, align 4, !tbaa !6
%75 = add nsw i32 %71, %74
%76 = ashr i32 %75, 2
%77 = shl nuw nsw i64 %68, 1
%78 = or disjoint i64 %77, 1
%79 = getelementptr inbounds i32, ptr %1, i64 %78
store i32 %76, ptr %79, align 4, !tbaa !6
%80 = load i32, ptr %69, align 4, !tbaa !6
%81 = load i32, ptr %73, align 4, !tbaa !6
%82 = mul nsw i32 %81, 3
%83 = add nsw i32 %82, %80
%84 = ashr i32 %83, 2
%85 = getelementptr inbounds i32, ptr %9, i64 %77
store i32 %84, ptr %85, align 4, !tbaa !6
%86 = icmp eq i64 %72, %12
br i1 %86, label %87, label %67, !llvm.loop !17
87: ; preds = %67, %63, %6
%88 = sext i32 %8 to i64
%89 = getelementptr inbounds i32, ptr %0, i64 %88
%90 = load i32, ptr %89, align 4, !tbaa !6
%91 = shl nsw i32 %2, 1
%92 = add nsw i32 %91, -1
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %1, i64 %93
store i32 %90, ptr %94, align 4, !tbaa !6
%95 = sext i32 %5 to i64
%96 = getelementptr inbounds i32, ptr %1, i64 %95
%97 = icmp sgt i32 %3, 1
br i1 %97, label %98, label %413
98: ; preds = %87
%99 = sext i32 %4 to i64
%100 = add nsw i32 %8, %4
%101 = sext i32 %100 to i64
%102 = add nsw i32 %92, %5
%103 = sext i32 %102 to i64
%104 = shl i32 %5, 1
%105 = sext i32 %104 to i64
%106 = zext i32 %8 to i64
%107 = add nsw i64 %106, -1
%108 = shl nsw i64 %95, 3
%109 = shl nsw i64 %105, 2
%110 = or disjoint i64 %108, 4
%111 = shl nsw i64 %95, 2
%112 = shl nsw i64 %95, 2
%113 = getelementptr i8, ptr %1, i64 %112
%114 = getelementptr i8, ptr %113, i64 4
%115 = add nsw i32 %3, -2
%116 = zext i32 %115 to i64
%117 = mul nsw i64 %105, %116
%118 = shl i64 %117, 2
%119 = shl nuw nsw i64 %106, 3
%120 = getelementptr i8, ptr %1, i64 %118
%121 = getelementptr i8, ptr %120, i64 %119
%122 = getelementptr i8, ptr %121, i64 %112
%123 = mul nsw i64 %99, %116
%124 = shl i64 %123, 2
%125 = shl nuw nsw i64 %106, 2
%126 = getelementptr i8, ptr %0, i64 %124
%127 = getelementptr i8, ptr %126, i64 %125
%128 = shl nsw i64 %99, 2
%129 = getelementptr i8, ptr %0, i64 %128
%130 = getelementptr i8, ptr %129, i64 4
%131 = shl nuw nsw i64 %116, 2
%132 = add nuw nsw i64 %131, 4
%133 = mul i64 %132, %99
%134 = getelementptr i8, ptr %0, i64 %133
%135 = getelementptr i8, ptr %134, i64 %125
%136 = getelementptr i8, ptr %135, i64 4
%137 = getelementptr i8, ptr %0, i64 4
%138 = getelementptr i8, ptr %0, i64 %124
%139 = getelementptr i8, ptr %138, i64 %125
%140 = getelementptr i8, ptr %139, i64 4
%141 = getelementptr i8, ptr %0, i64 %128
%142 = getelementptr i8, ptr %0, i64 %133
%143 = getelementptr i8, ptr %142, i64 %125
%144 = shl nsw i64 %95, 3
%145 = getelementptr i8, ptr %1, i64 %144
%146 = getelementptr i8, ptr %145, i64 8
%147 = add i64 %118, %144
%148 = add i64 %147, %119
%149 = or disjoint i64 %148, 4
%150 = getelementptr i8, ptr %1, i64 %149
%151 = or disjoint i64 %144, 4
%152 = getelementptr i8, ptr %1, i64 %151
%153 = getelementptr i8, ptr %1, i64 %148
%154 = getelementptr i8, ptr %1, i64 %112
%155 = getelementptr i8, ptr %154, i64 8
%156 = getelementptr i8, ptr %1, i64 %118
%157 = getelementptr i8, ptr %156, i64 %119
%158 = getelementptr i8, ptr %157, i64 %112
%159 = getelementptr i8, ptr %158, i64 4
%160 = insertelement <4 x i32> poison, i32 %104, i64 0
%161 = shufflevector <4 x i32> %160, <4 x i32> poison, <4 x i32> zeroinitializer
%162 = insertelement <4 x i32> poison, i32 %4, i64 0
%163 = shufflevector <4 x i32> %162, <4 x i32> poison, <4 x i32> zeroinitializer
%164 = getelementptr i8, ptr %1, i64 %108
%165 = getelementptr i8, ptr %164, i64 8
%166 = getelementptr i8, ptr %1, i64 %110
%167 = getelementptr i8, ptr %1, i64 %111
%168 = getelementptr i8, ptr %167, i64 8
%169 = icmp ult i32 %2, 25
%170 = shl nsw i64 %107, 3
%171 = shl nsw i64 %107, 3
%172 = icmp ugt i64 %107, 2305843009213693951
%173 = shl nsw i64 %107, 3
%174 = icmp ult ptr %114, %127
%175 = icmp ugt ptr %122, %0
%176 = and i1 %174, %175
%177 = or <4 x i32> %161, %163
%178 = icmp ult ptr %113, %135
%179 = icmp ult ptr %130, %122
%180 = and i1 %178, %179
%181 = icmp ult ptr %113, %139
%182 = icmp ult ptr %137, %122
%183 = and i1 %181, %182
%184 = icmp ult ptr %114, %143
%185 = icmp ult ptr %141, %122
%186 = and i1 %184, %185
%187 = icmp slt <4 x i32> %177, zeroinitializer
%188 = icmp ult ptr %114, %150
%189 = icmp ult ptr %146, %122
%190 = and i1 %188, %189
%191 = icmp slt i32 %104, 0
%192 = icmp ult ptr %114, %153
%193 = icmp ult ptr %152, %122
%194 = and i1 %192, %193
%195 = icmp ugt ptr %157, %1
%196 = icmp ult ptr %155, %122
%197 = and i1 %195, %196
%198 = icmp ugt ptr %150, %0
%199 = icmp ult ptr %146, %127
%200 = and i1 %198, %199
%201 = icmp ugt ptr %153, %0
%202 = icmp ult ptr %152, %127
%203 = and i1 %201, %202
%204 = icmp ugt ptr %159, %0
%205 = icmp ult ptr %155, %127
%206 = and i1 %204, %205
%207 = icmp ult ptr %130, %150
%208 = icmp ult ptr %146, %136
%209 = and i1 %207, %208
%210 = icmp ult ptr %130, %153
%211 = icmp ult ptr %152, %136
%212 = and i1 %210, %211
%213 = icmp ult ptr %129, %158
%214 = icmp ult ptr %155, %136
%215 = and i1 %213, %214
%216 = icmp ult ptr %137, %150
%217 = icmp ult ptr %146, %140
%218 = and i1 %216, %217
%219 = icmp ult ptr %137, %153
%220 = icmp ult ptr %152, %140
%221 = and i1 %219, %220
%222 = icmp ugt ptr %158, %0
%223 = icmp ult ptr %155, %140
%224 = and i1 %222, %223
%225 = or <4 x i32> %161, %163
%226 = icmp ult ptr %141, %150
%227 = icmp ult ptr %146, %143
%228 = and i1 %226, %227
%229 = icmp ult ptr %141, %153
%230 = icmp ult ptr %152, %143
%231 = and i1 %229, %230
%232 = icmp ult ptr %141, %159
%233 = icmp ult ptr %155, %143
%234 = and i1 %232, %233
%235 = icmp slt <4 x i32> %225, zeroinitializer
%236 = icmp ult ptr %146, %153
%237 = icmp ult ptr %152, %150
%238 = and i1 %236, %237
%239 = icmp ult ptr %146, %159
%240 = icmp ult ptr %155, %150
%241 = and i1 %239, %240
%242 = icmp ult ptr %152, %159
%243 = icmp ult ptr %155, %153
%244 = and i1 %242, %243
%245 = or i32 %104, %4
%246 = bitcast <4 x i1> %235 to i4
%247 = icmp ne i4 %246, 0
%248 = bitcast <4 x i1> %187 to i4
%249 = icmp ne i4 %248, 0
%250 = or i1 %249, %176
%251 = or i1 %180, %183
%252 = or i1 %186, %190
%253 = or i1 %194, %197
%254 = or i1 %200, %203
%255 = or i1 %206, %209
%256 = or i1 %212, %215
%257 = or i1 %218, %221
%258 = or i1 %224, %228
%259 = or i1 %231, %234
%260 = or i1 %238, %241
%261 = or i1 %244, %191
%262 = or i1 %250, %251
%263 = or i1 %252, %253
%264 = or i1 %254, %255
%265 = or i1 %256, %257
%266 = or i1 %258, %259
%267 = or i1 %260, %261
%268 = icmp slt i32 %245, 0
%269 = or i1 %268, %247
%270 = or i1 %262, %263
%271 = or i1 %264, %265
%272 = or i1 %266, %267
%273 = or i1 %270, %271
%274 = or i1 %272, %269
%275 = or i1 %273, %274
%276 = and i64 %106, 4294967292
%277 = icmp eq i64 %276, %106
br label %278
278: ; preds = %98, %394
%279 = phi i64 [ 0, %98 ], [ %412, %394 ]
%280 = phi ptr [ %0, %98 ], [ %289, %394 ]
%281 = phi i32 [ 1, %98 ], [ %410, %394 ]
%282 = phi ptr [ %96, %98 ], [ %409, %394 ]
%283 = mul i64 %109, %279
%284 = getelementptr i8, ptr %165, i64 %283
%285 = getelementptr i8, ptr %166, i64 %283
%286 = getelementptr i8, ptr %168, i64 %283
%287 = load i32, ptr %280, align 4, !tbaa !6
%288 = mul nsw i32 %287, 3
%289 = getelementptr inbounds i32, ptr %280, i64 %99
%290 = load i32, ptr %289, align 4, !tbaa !6
%291 = add nsw i32 %288, %290
%292 = ashr i32 %291, 2
store i32 %292, ptr %282, align 4, !tbaa !6
%293 = load i32, ptr %280, align 4, !tbaa !6
%294 = load i32, ptr %289, align 4, !tbaa !6
%295 = mul nsw i32 %294, 3
%296 = add nsw i32 %295, %293
%297 = ashr i32 %296, 2
%298 = getelementptr inbounds i32, ptr %282, i64 %95
store i32 %297, ptr %298, align 4, !tbaa !6
br i1 %10, label %299, label %394
299: ; preds = %278
br i1 %169, label %352, label %300
300: ; preds = %299
%301 = getelementptr i8, ptr %284, i64 %170
%302 = icmp ult ptr %301, %284
%303 = getelementptr i8, ptr %285, i64 %171
%304 = icmp ult ptr %303, %285
%305 = or i1 %304, %172
%306 = getelementptr i8, ptr %286, i64 %173
%307 = icmp ult ptr %306, %286
%308 = or i1 %302, %305
%309 = or i1 %307, %308
%310 = select i1 %309, i1 true, i1 %275
br i1 %310, label %352, label %311
311: ; preds = %300
%312 = getelementptr i8, ptr %282, i64 -4
br label %313
313: ; preds = %313, %311
%314 = phi i64 [ 0, %311 ], [ %349, %313 ]
%315 = getelementptr inbounds i32, ptr %280, i64 %314
%316 = load <4 x i32>, ptr %315, align 4, !tbaa !6, !alias.scope !18, !noalias !21
%317 = mul nsw <4 x i32> %316, <i32 3, i32 3, i32 3, i32 3>
%318 = add nsw i64 %314, %99
%319 = add nsw i64 %318, 1
%320 = getelementptr inbounds i32, ptr %280, i64 %319
%321 = load <4 x i32>, ptr %320, align 4, !tbaa !6, !alias.scope !25, !noalias !21
%322 = add nsw <4 x i32> %317, %321
%323 = ashr <4 x i32> %322, <i32 2, i32 2, i32 2, i32 2>
%324 = shl nuw nsw i64 %314, 1
%325 = load <4 x i32>, ptr %315, align 4, !tbaa !6, !alias.scope !18, !noalias !21
%326 = mul nsw <4 x i32> %321, <i32 3, i32 3, i32 3, i32 3>
%327 = add nsw <4 x i32> %326, %325
%328 = ashr <4 x i32> %327, <i32 2, i32 2, i32 2, i32 2>
%329 = add nsw i64 %324, %95
%330 = or disjoint i64 %314, 1
%331 = getelementptr inbounds i32, ptr %280, i64 %330
%332 = load <4 x i32>, ptr %331, align 4, !tbaa !6, !alias.scope !27, !noalias !21
%333 = getelementptr inbounds i32, ptr %280, i64 %318
%334 = load <4 x i32>, ptr %333, align 4, !tbaa !6, !alias.scope !29, !noalias !21
%335 = mul nsw <4 x i32> %334, <i32 3, i32 3, i32 3, i32 3>
%336 = add nsw <4 x i32> %335, %332
%337 = ashr <4 x i32> %336, <i32 2, i32 2, i32 2, i32 2>
%338 = add nsw i64 %329, 1
%339 = getelementptr inbounds i32, ptr %282, i64 %338
%340 = shufflevector <4 x i32> %337, <4 x i32> %328, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
store <8 x i32> %340, ptr %339, align 4, !tbaa !6
%341 = load <4 x i32>, ptr %331, align 4, !tbaa !6, !alias.scope !27, !noalias !21
%342 = mul nsw <4 x i32> %341, <i32 3, i32 3, i32 3, i32 3>
%343 = load <4 x i32>, ptr %333, align 4, !tbaa !6, !alias.scope !29, !noalias !21
%344 = add nsw <4 x i32> %342, %343
%345 = ashr <4 x i32> %344, <i32 2, i32 2, i32 2, i32 2>
%346 = or disjoint i64 %324, 2
%347 = getelementptr i32, ptr %312, i64 %346
%348 = shufflevector <4 x i32> %323, <4 x i32> %345, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
store <8 x i32> %348, ptr %347, align 4, !tbaa !6
%349 = add nuw i64 %314, 4
%350 = icmp eq i64 %349, %276
br i1 %350, label %351, label %313, !llvm.loop !31
351: ; preds = %313
br i1 %277, label %394, label %352
352: ; preds = %300, %351, %299
%353 = phi i64 [ 0, %300 ], [ 0, %299 ], [ %276, %351 ]
br label %354
354: ; preds = %352, %354
%355 = phi i64 [ %376, %354 ], [ %353, %352 ]
%356 = getelementptr inbounds i32, ptr %280, i64 %355
%357 = load i32, ptr %356, align 4, !tbaa !6
%358 = mul nsw i32 %357, 3
%359 = add nsw i64 %355, %99
%360 = add nsw i64 %359, 1
%361 = getelementptr inbounds i32, ptr %280, i64 %360
%362 = load i32, ptr %361, align 4, !tbaa !6
%363 = add nsw i32 %358, %362
%364 = ashr i32 %363, 2
%365 = shl nuw nsw i64 %355, 1
%366 = or disjoint i64 %365, 1
%367 = getelementptr inbounds i32, ptr %282, i64 %366
store i32 %364, ptr %367, align 4, !tbaa !6
%368 = load i32, ptr %356, align 4, !tbaa !6
%369 = load i32, ptr %361, align 4, !tbaa !6
%370 = mul nsw i32 %369, 3
%371 = add nsw i32 %370, %368
%372 = ashr i32 %371, 2
%373 = add nsw i64 %365, %95
%374 = add nsw i64 %373, 2
%375 = getelementptr inbounds i32, ptr %282, i64 %374
store i32 %372, ptr %375, align 4, !tbaa !6
%376 = add nuw nsw i64 %355, 1
%377 = getelementptr inbounds i32, ptr %280, i64 %376
%378 = load i32, ptr %377, align 4, !tbaa !6
%379 = getelementptr inbounds i32, ptr %280, i64 %359
%380 = load i32, ptr %379, align 4, !tbaa !6
%381 = mul nsw i32 %380, 3
%382 = add nsw i32 %381, %378
%383 = ashr i32 %382, 2
%384 = add nsw i64 %373, 1
%385 = getelementptr inbounds i32, ptr %282, i64 %384
store i32 %383, ptr %385, align 4, !tbaa !6
%386 = load i32, ptr %377, align 4, !tbaa !6
%387 = mul nsw i32 %386, 3
%388 = load i32, ptr %379, align 4, !tbaa !6
%389 = add nsw i32 %387, %388
%390 = ashr i32 %389, 2
%391 = add nuw nsw i64 %365, 2
%392 = getelementptr inbounds i32, ptr %282, i64 %391
store i32 %390, ptr %392, align 4, !tbaa !6
%393 = icmp eq i64 %376, %106
br i1 %393, label %394, label %354, !llvm.loop !32
394: ; preds = %354, %351, %278
%395 = getelementptr inbounds i32, ptr %280, i64 %88
%396 = load i32, ptr %395, align 4, !tbaa !6
%397 = mul nsw i32 %396, 3
%398 = getelementptr inbounds i32, ptr %280, i64 %101
%399 = load i32, ptr %398, align 4, !tbaa !6
%400 = add nsw i32 %397, %399
%401 = ashr i32 %400, 2
%402 = getelementptr inbounds i32, ptr %282, i64 %93
store i32 %401, ptr %402, align 4, !tbaa !6
%403 = load i32, ptr %395, align 4, !tbaa !6
%404 = load i32, ptr %398, align 4, !tbaa !6
%405 = mul nsw i32 %404, 3
%406 = add nsw i32 %405, %403
%407 = ashr i32 %406, 2
%408 = getelementptr inbounds i32, ptr %282, i64 %103
store i32 %407, ptr %408, align 4, !tbaa !6
%409 = getelementptr inbounds i32, ptr %282, i64 %105
%410 = add nuw nsw i32 %281, 1
%411 = icmp eq i32 %410, %3
%412 = add i64 %279, 1
br i1 %411, label %413, label %278, !llvm.loop !33
413: ; preds = %394, %87
%414 = phi ptr [ %96, %87 ], [ %409, %394 ]
%415 = phi ptr [ %0, %87 ], [ %289, %394 ]
%416 = load i32, ptr %415, align 4, !tbaa !6
store i32 %416, ptr %414, align 4, !tbaa !6
br i1 %10, label %417, label %497
417: ; preds = %413
%418 = zext nneg i32 %8 to i64
%419 = icmp ult i32 %2, 9
br i1 %419, label %474, label %420
420: ; preds = %417
%421 = getelementptr i8, ptr %414, i64 4
%422 = shl nuw nsw i64 %418, 3
%423 = or disjoint i64 %422, 4
%424 = getelementptr i8, ptr %414, i64 %423
%425 = shl nuw nsw i64 %418, 2
%426 = add nuw nsw i64 %425, 4
%427 = getelementptr i8, ptr %415, i64 %426
%428 = icmp ult ptr %421, %427
%429 = icmp ult ptr %415, %424
%430 = and i1 %428, %429
br i1 %430, label %474, label %431
431: ; preds = %420
%432 = and i64 %418, 2147483640
%433 = getelementptr i8, ptr %414, i64 -4
%434 = getelementptr i8, ptr %414, i64 -4
br label %435
435: ; preds = %435, %431
%436 = phi i64 [ 0, %431 ], [ %470, %435 ]
%437 = getelementptr inbounds i32, ptr %415, i64 %436
%438 = getelementptr inbounds i8, ptr %437, i64 16
%439 = load <4 x i32>, ptr %437, align 4, !tbaa !6, !alias.scope !34
%440 = load <4 x i32>, ptr %438, align 4, !tbaa !6, !alias.scope !34
%441 = mul nsw <4 x i32> %439, <i32 3, i32 3, i32 3, i32 3>
%442 = mul nsw <4 x i32> %440, <i32 3, i32 3, i32 3, i32 3>
%443 = or disjoint i64 %436, 1
%444 = getelementptr inbounds i32, ptr %415, i64 %443
%445 = getelementptr inbounds i8, ptr %444, i64 16
%446 = load <4 x i32>, ptr %444, align 4, !tbaa !6, !alias.scope !34
%447 = load <4 x i32>, ptr %445, align 4, !tbaa !6, !alias.scope !34
%448 = add nsw <4 x i32> %441, %446
%449 = add nsw <4 x i32> %442, %447
%450 = ashr <4 x i32> %448, <i32 2, i32 2, i32 2, i32 2>
%451 = ashr <4 x i32> %449, <i32 2, i32 2, i32 2, i32 2>
%452 = shl nuw nsw i64 %436, 1
%453 = shl i64 %436, 1
%454 = load <4 x i32>, ptr %437, align 4, !tbaa !6, !alias.scope !34
%455 = load <4 x i32>, ptr %438, align 4, !tbaa !6, !alias.scope !34
%456 = load <4 x i32>, ptr %444, align 4, !tbaa !6, !alias.scope !34
%457 = load <4 x i32>, ptr %445, align 4, !tbaa !6, !alias.scope !34
%458 = mul nsw <4 x i32> %456, <i32 3, i32 3, i32 3, i32 3>
%459 = mul nsw <4 x i32> %457, <i32 3, i32 3, i32 3, i32 3>
%460 = add nsw <4 x i32> %458, %454
%461 = add nsw <4 x i32> %459, %455
%462 = ashr <4 x i32> %460, <i32 2, i32 2, i32 2, i32 2>
%463 = ashr <4 x i32> %461, <i32 2, i32 2, i32 2, i32 2>
%464 = or disjoint i64 %452, 2
%465 = or disjoint i64 %453, 10
%466 = getelementptr i32, ptr %433, i64 %464
%467 = getelementptr i32, ptr %434, i64 %465
%468 = shufflevector <4 x i32> %450, <4 x i32> %462, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
store <8 x i32> %468, ptr %466, align 4, !tbaa !6
%469 = shufflevector <4 x i32> %451, <4 x i32> %463, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
store <8 x i32> %469, ptr %467, align 4, !tbaa !6
%470 = add nuw i64 %436, 8
%471 = icmp eq i64 %470, %432
br i1 %471, label %472, label %435, !llvm.loop !37
472: ; preds = %435
%473 = icmp eq i64 %432, %418
br i1 %473, label %497, label %474
474: ; preds = %472, %420, %417
%475 = phi i64 [ 0, %420 ], [ 0, %417 ], [ %432, %472 ]
br label %476
476: ; preds = %474, %476
%477 = phi i64 [ %481, %476 ], [ %475, %474 ]
%478 = getelementptr inbounds i32, ptr %415, i64 %477
%479 = load i32, ptr %478, align 4, !tbaa !6
%480 = mul nsw i32 %479, 3
%481 = add nuw nsw i64 %477, 1
%482 = getelementptr inbounds i32, ptr %415, i64 %481
%483 = load i32, ptr %482, align 4, !tbaa !6
%484 = add nsw i32 %480, %483
%485 = ashr i32 %484, 2
%486 = shl nuw nsw i64 %477, 1
%487 = or disjoint i64 %486, 1
%488 = getelementptr inbounds i32, ptr %414, i64 %487
store i32 %485, ptr %488, align 4, !tbaa !6
%489 = load i32, ptr %478, align 4, !tbaa !6
%490 = load i32, ptr %482, align 4, !tbaa !6
%491 = mul nsw i32 %490, 3
%492 = add nsw i32 %491, %489
%493 = ashr i32 %492, 2
%494 = add nuw nsw i64 %486, 2
%495 = getelementptr inbounds i32, ptr %414, i64 %494
store i32 %493, ptr %495, align 4, !tbaa !6
%496 = icmp eq i64 %481, %418
br i1 %496, label %497, label %476, !llvm.loop !38
497: ; preds = %476, %472, %413
%498 = getelementptr inbounds i32, ptr %415, i64 %88
%499 = load i32, ptr %498, align 4, !tbaa !6
%500 = getelementptr inbounds i32, ptr %414, i64 %93
store i32 %499, ptr %500, align 4, !tbaa !6
ret void
}
attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(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}
!11 = distinct !{!11, !12}
!12 = distinct !{!12, !"LVerDomain"}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !14, !15}
!18 = !{!19}
!19 = distinct !{!19, !20}
!20 = distinct !{!20, !"LVerDomain"}
!21 = !{!22, !23, !24}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = !{!26}
!26 = distinct !{!26, !20}
!27 = !{!28}
!28 = distinct !{!28, !20}
!29 = !{!30}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !14, !15, !16}
!32 = distinct !{!32, !14, !15}
!33 = distinct !{!33, !14}
!34 = !{!35}
!35 = distinct !{!35, !36}
!36 = distinct !{!36, !"LVerDomain"}
!37 = distinct !{!37, !14, !15, !16}
!38 = distinct !{!38, !14, !15}
| FFmpeg_libswscale_extr_rgb2rgb_template.c_planar2x_c |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bnxt/extr_bnxt_txrx.c_bnxt_isc_txd_credits_update.c'
source_filename = "AnghaBench/freebsd/sys/dev/bnxt/extr_bnxt_txrx.c_bnxt_isc_txd_credits_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"
%struct.bnxt_softc = type { i32, ptr }
%struct.bnxt_cp_ring = type { i64, i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
%struct.tx_cmpl = type { i64, i32, i32 }
@TX_CMPL_TYPE_MASK = dso_local local_unnamed_addr global i64 0, align 8
@TX_CMPL_ERRORS_BUFFER_ERROR_MASK = dso_local local_unnamed_addr global i64 0, align 8
@TX_CMPL_ERRORS_BUFFER_ERROR_SFT = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [24 x i8] c"TX completion error %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"Unhandled TX completion type %u\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnxt_isc_txd_credits_update], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bnxt_isc_txd_credits_update(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.bnxt_softc, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.bnxt_cp_ring, ptr %5, i64 %1
%7 = getelementptr inbounds %struct.bnxt_cp_ring, ptr %5, i64 %1, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = inttoptr i64 %8 to ptr
%10 = load i64, ptr %6, align 8, !tbaa !15
%11 = getelementptr inbounds %struct.bnxt_cp_ring, ptr %5, i64 %1, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !16
%13 = tail call i32 @NEXT_CP_CONS_V(ptr noundef nonnull %7, i64 noundef %10, i32 noundef %12) #2
%14 = tail call i32 @CMPL_PREFETCH_NEXT(ptr noundef nonnull %6, i64 noundef %10) #2
%15 = getelementptr inbounds %struct.tx_cmpl, ptr %9, i64 %10
%16 = tail call i32 @CMP_VALID(ptr noundef %15, i32 noundef %12) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %66, label %18
18: ; preds = %3
%19 = getelementptr inbounds %struct.tx_cmpl, ptr %9, i64 %10, i32 2
%20 = getelementptr inbounds %struct.tx_cmpl, ptr %9, i64 %10, i32 1
%21 = icmp eq i32 %2, 0
br label %22
22: ; preds = %18, %53
%23 = phi i32 [ 0, %18 ], [ %54, %53 ]
%24 = load i64, ptr %15, align 8, !tbaa !17
%25 = load i64, ptr @TX_CMPL_TYPE_MASK, align 8, !tbaa !19
%26 = and i64 %25, %24
%27 = icmp eq i64 %26, 128
br i1 %27, label %28, label %43
28: ; preds = %22
%29 = load i32, ptr %19, align 4, !tbaa !20
%30 = tail call i64 @le16toh(i32 noundef %29) #2
%31 = load i64, ptr @TX_CMPL_ERRORS_BUFFER_ERROR_MASK, align 8, !tbaa !19
%32 = and i64 %31, %30
%33 = load i64, ptr @TX_CMPL_ERRORS_BUFFER_ERROR_SFT, align 8, !tbaa !19
%34 = lshr i64 %32, %33
%35 = icmp eq i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %28
%37 = load i32, ptr %0, align 8, !tbaa !21
%38 = tail call i32 @device_printf(i32 noundef %37, ptr noundef nonnull @.str, i64 noundef %34) #2
br label %39
39: ; preds = %36, %28
%40 = load i32, ptr %20, align 8, !tbaa !22
%41 = ashr i32 %40, 24
%42 = add nsw i32 %41, %23
br i1 %21, label %66, label %53
43: ; preds = %22
%44 = and i64 %26, 1
%45 = icmp eq i64 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %43
%47 = tail call i32 @NEXT_CP_CONS_V(ptr noundef nonnull %7, i64 noundef %10, i32 noundef %12) #2
%48 = tail call i32 @CMP_VALID(ptr noundef nonnull %15, i32 noundef %12) #2
%49 = icmp eq i32 %48, 0
br i1 %49, label %59, label %50
50: ; preds = %46, %43
%51 = load i32, ptr %0, align 8, !tbaa !21
%52 = tail call i32 @device_printf(i32 noundef %51, ptr noundef nonnull @.str.1, i64 noundef %26) #2
br label %53
53: ; preds = %39, %50
%54 = phi i32 [ %42, %39 ], [ %23, %50 ]
%55 = tail call i32 @NEXT_CP_CONS_V(ptr noundef nonnull %7, i64 noundef %10, i32 noundef %12) #2
%56 = tail call i32 @CMPL_PREFETCH_NEXT(ptr noundef nonnull %6, i64 noundef %10) #2
%57 = tail call i32 @CMP_VALID(ptr noundef nonnull %15, i32 noundef %12) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %22
59: ; preds = %53, %46
%60 = phi i32 [ %54, %53 ], [ %23, %46 ]
%61 = icmp ne i32 %2, 0
%62 = icmp ne i32 %60, 0
%63 = select i1 %61, i1 %62, i1 false
br i1 %63, label %64, label %66
64: ; preds = %59
store i64 %10, ptr %6, align 8, !tbaa !15
store i32 %12, ptr %11, align 8, !tbaa !16
%65 = tail call i32 @BNXT_CP_IDX_DISABLE_DB(ptr noundef nonnull %7, i64 noundef %10) #2
br label %66
66: ; preds = %39, %3, %64, %59
%67 = phi i32 [ %60, %64 ], [ %60, %59 ], [ 0, %3 ], [ %42, %39 ]
ret i32 %67
}
declare i32 @NEXT_CP_CONS_V(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CMPL_PREFETCH_NEXT(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @CMP_VALID(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @le16toh(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @BNXT_CP_IDX_DISABLE_DB(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, !10, i64 8}
!6 = !{!"bnxt_softc", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 16}
!12 = !{!"bnxt_cp_ring", !13, i64 0, !7, i64 8, !14, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!"TYPE_3__", !13, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!12, !7, i64 8}
!17 = !{!18, !13, i64 0}
!18 = !{!"tx_cmpl", !13, i64 0, !7, i64 8, !7, i64 12}
!19 = !{!13, !13, i64 0}
!20 = !{!18, !7, i64 12}
!21 = !{!6, !7, i64 0}
!22 = !{!18, !7, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bnxt/extr_bnxt_txrx.c_bnxt_isc_txd_credits_update.c'
source_filename = "AnghaBench/freebsd/sys/dev/bnxt/extr_bnxt_txrx.c_bnxt_isc_txd_credits_update.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.bnxt_cp_ring = type { i64, i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
%struct.tx_cmpl = type { i64, i32, i32 }
@TX_CMPL_TYPE_MASK = common local_unnamed_addr global i64 0, align 8
@TX_CMPL_ERRORS_BUFFER_ERROR_MASK = common local_unnamed_addr global i64 0, align 8
@TX_CMPL_ERRORS_BUFFER_ERROR_SFT = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [24 x i8] c"TX completion error %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"Unhandled TX completion type %u\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bnxt_isc_txd_credits_update], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bnxt_isc_txd_credits_update(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds %struct.bnxt_cp_ring, ptr %5, i64 %1
%7 = getelementptr inbounds i8, ptr %6, i64 16
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = inttoptr i64 %8 to ptr
%10 = load i64, ptr %6, align 8, !tbaa !16
%11 = getelementptr inbounds i8, ptr %6, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !17
%13 = tail call i32 @NEXT_CP_CONS_V(ptr noundef nonnull %7, i64 noundef %10, i32 noundef %12) #2
%14 = tail call i32 @CMPL_PREFETCH_NEXT(ptr noundef nonnull %6, i64 noundef %10) #2
%15 = getelementptr inbounds %struct.tx_cmpl, ptr %9, i64 %10
%16 = tail call i32 @CMP_VALID(ptr noundef %15, i32 noundef %12) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %66, label %18
18: ; preds = %3
%19 = getelementptr inbounds i8, ptr %15, i64 12
%20 = getelementptr inbounds i8, ptr %15, i64 8
%21 = icmp eq i32 %2, 0
br label %22
22: ; preds = %18, %53
%23 = phi i32 [ 0, %18 ], [ %54, %53 ]
%24 = load i64, ptr %15, align 8, !tbaa !18
%25 = load i64, ptr @TX_CMPL_TYPE_MASK, align 8, !tbaa !20
%26 = and i64 %25, %24
%27 = icmp eq i64 %26, 128
br i1 %27, label %28, label %43
28: ; preds = %22
%29 = load i32, ptr %19, align 4, !tbaa !21
%30 = tail call i64 @le16toh(i32 noundef %29) #2
%31 = load i64, ptr @TX_CMPL_ERRORS_BUFFER_ERROR_MASK, align 8, !tbaa !20
%32 = and i64 %31, %30
%33 = load i64, ptr @TX_CMPL_ERRORS_BUFFER_ERROR_SFT, align 8, !tbaa !20
%34 = lshr i64 %32, %33
%35 = icmp eq i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %28
%37 = load i32, ptr %0, align 8, !tbaa !22
%38 = tail call i32 @device_printf(i32 noundef %37, ptr noundef nonnull @.str, i64 noundef %34) #2
br label %39
39: ; preds = %36, %28
%40 = load i32, ptr %20, align 8, !tbaa !23
%41 = ashr i32 %40, 24
%42 = add nsw i32 %41, %23
br i1 %21, label %66, label %53
43: ; preds = %22
%44 = and i64 %26, 1
%45 = icmp eq i64 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %43
%47 = tail call i32 @NEXT_CP_CONS_V(ptr noundef nonnull %7, i64 noundef %10, i32 noundef %12) #2
%48 = tail call i32 @CMP_VALID(ptr noundef nonnull %15, i32 noundef %12) #2
%49 = icmp eq i32 %48, 0
br i1 %49, label %59, label %50
50: ; preds = %46, %43
%51 = load i32, ptr %0, align 8, !tbaa !22
%52 = tail call i32 @device_printf(i32 noundef %51, ptr noundef nonnull @.str.1, i64 noundef %26) #2
br label %53
53: ; preds = %39, %50
%54 = phi i32 [ %42, %39 ], [ %23, %50 ]
%55 = tail call i32 @NEXT_CP_CONS_V(ptr noundef nonnull %7, i64 noundef %10, i32 noundef %12) #2
%56 = tail call i32 @CMPL_PREFETCH_NEXT(ptr noundef nonnull %6, i64 noundef %10) #2
%57 = tail call i32 @CMP_VALID(ptr noundef nonnull %15, i32 noundef %12) #2
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %22
59: ; preds = %53, %46
%60 = phi i32 [ %54, %53 ], [ %23, %46 ]
%61 = icmp ne i32 %2, 0
%62 = icmp ne i32 %60, 0
%63 = select i1 %61, i1 %62, i1 false
br i1 %63, label %64, label %66
64: ; preds = %59
store i64 %10, ptr %6, align 8, !tbaa !16
store i32 %12, ptr %11, align 8, !tbaa !17
%65 = tail call i32 @BNXT_CP_IDX_DISABLE_DB(ptr noundef nonnull %7, i64 noundef %10) #2
br label %66
66: ; preds = %39, %3, %64, %59
%67 = phi i32 [ %60, %64 ], [ %60, %59 ], [ 0, %3 ], [ %42, %39 ]
ret i32 %67
}
declare i32 @NEXT_CP_CONS_V(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CMPL_PREFETCH_NEXT(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @CMP_VALID(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @le16toh(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @BNXT_CP_IDX_DISABLE_DB(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, !11, i64 8}
!7 = !{!"bnxt_softc", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 16}
!13 = !{!"bnxt_cp_ring", !14, i64 0, !8, i64 8, !15, i64 16}
!14 = !{!"long", !9, i64 0}
!15 = !{!"TYPE_3__", !14, i64 0}
!16 = !{!13, !14, i64 0}
!17 = !{!13, !8, i64 8}
!18 = !{!19, !14, i64 0}
!19 = !{!"tx_cmpl", !14, i64 0, !8, i64 8, !8, i64 12}
!20 = !{!14, !14, i64 0}
!21 = !{!19, !8, i64 12}
!22 = !{!7, !8, i64 0}
!23 = !{!19, !8, i64 8}
| freebsd_sys_dev_bnxt_extr_bnxt_txrx.c_bnxt_isc_txd_credits_update |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_cx231xx_gpio_i2c_write_nak.c'
source_filename = "AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_cx231xx_gpio_i2c_write_nak.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.cx231xx = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @cx231xx_gpio_i2c_write_nak(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.cx231xx, ptr %0, i64 0, i32 2
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = shl nuw i32 1, %3
%5 = load i32, ptr %0, align 4, !tbaa !11
%6 = or i32 %5, %4
%7 = getelementptr inbounds %struct.cx231xx, ptr %0, i64 0, i32 2, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = shl nuw i32 1, %8
%10 = xor i32 %9, -1
%11 = and i32 %6, %10
store i32 %11, ptr %0, align 4, !tbaa !11
%12 = getelementptr inbounds %struct.cx231xx, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = tail call i32 @cx231xx_set_gpio_bit(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr %2, align 4, !tbaa !5
%16 = shl nuw i32 1, %15
%17 = xor i32 %16, -1
%18 = load i32, ptr %12, align 4, !tbaa !13
%19 = and i32 %18, %17
store i32 %19, ptr %12, align 4, !tbaa !13
%20 = load i32, ptr %0, align 4, !tbaa !11
%21 = tail call i32 @cx231xx_set_gpio_bit(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %19) #2
%22 = load i32, ptr %2, align 4, !tbaa !5
%23 = shl nuw i32 1, %22
%24 = load i32, ptr %12, align 4, !tbaa !13
%25 = or i32 %24, %23
store i32 %25, ptr %12, align 4, !tbaa !13
%26 = load i32, ptr %0, align 4, !tbaa !11
%27 = tail call i32 @cx231xx_set_gpio_bit(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %25) #2
ret i32 %27
}
declare i32 @cx231xx_set_gpio_bit(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 = !{!"cx231xx", !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 = !{!"TYPE_2__", !7, i64 0, !7, i64 4}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 12}
!13 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_cx231xx_gpio_i2c_write_nak.c'
source_filename = "AnghaBench/linux/drivers/media/usb/cx231xx/extr_cx231xx-avcore.c_cx231xx_gpio_i2c_write_nak.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 @cx231xx_gpio_i2c_write_nak(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = shl nuw i32 1, %3
%5 = load i32, ptr %0, align 4, !tbaa !12
%6 = or i32 %5, %4
%7 = getelementptr inbounds i8, ptr %0, i64 12
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = shl nuw i32 1, %8
%10 = xor i32 %9, -1
%11 = and i32 %6, %10
store i32 %11, ptr %0, align 4, !tbaa !12
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !14
%14 = tail call i32 @cx231xx_set_gpio_bit(ptr noundef nonnull %0, i32 noundef %11, i32 noundef %13) #2
%15 = load i32, ptr %2, align 4, !tbaa !6
%16 = shl nuw i32 1, %15
%17 = xor i32 %16, -1
%18 = load i32, ptr %12, align 4, !tbaa !14
%19 = and i32 %18, %17
store i32 %19, ptr %12, align 4, !tbaa !14
%20 = load i32, ptr %0, align 4, !tbaa !12
%21 = tail call i32 @cx231xx_set_gpio_bit(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %19) #2
%22 = load i32, ptr %2, align 4, !tbaa !6
%23 = shl nuw i32 1, %22
%24 = load i32, ptr %12, align 4, !tbaa !14
%25 = or i32 %24, %23
store i32 %25, ptr %12, align 4, !tbaa !14
%26 = load i32, ptr %0, align 4, !tbaa !12
%27 = tail call i32 @cx231xx_set_gpio_bit(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %25) #2
ret i32 %27
}
declare i32 @cx231xx_set_gpio_bit(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 = !{!"cx231xx", !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 = !{!"TYPE_2__", !8, i64 0, !8, i64 4}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !8, i64 12}
!14 = !{!7, !8, i64 4}
| linux_drivers_media_usb_cx231xx_extr_cx231xx-avcore.c_cx231xx_gpio_i2c_write_nak |
; ModuleID = 'AnghaBench/linux/tools/usb/usbip/libsrc/extr_usbip_common.c_usbip_names_get_class.c'
source_filename = "AnghaBench/linux/tools/usb/usbip/libsrc/extr_usbip_common.c_usbip_names_get_class.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 [46 x i8] c"(Defined at Interface level) (%02x/%02x/%02x)\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"unknown protocol\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"unknown subclass\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"unknown class\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"%s / %s / %s (%02x/%02x/%02x)\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @usbip_names_get_class(ptr nocapture noundef writeonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = or i32 %3, %2
%7 = or i32 %6, %4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %0, i64 noundef %1, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef 0, i32 noundef 0)
br label %22
11: ; preds = %5
%12 = tail call ptr @names_protocol(i32 noundef %2, i32 noundef %3, i32 noundef %4) #3
%13 = icmp eq ptr %12, null
%14 = select i1 %13, ptr @.str.1, ptr %12
%15 = tail call ptr @names_subclass(i32 noundef %2, i32 noundef %3) #3
%16 = icmp eq ptr %15, null
%17 = select i1 %16, ptr @.str.2, ptr %15
%18 = tail call ptr @names_class(i32 noundef %2) #3
%19 = icmp eq ptr %18, null
%20 = select i1 %19, ptr @.str.3, ptr %18
%21 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %0, i64 noundef %1, ptr noundef nonnull @.str.4, ptr noundef nonnull %20, ptr noundef nonnull %17, ptr noundef nonnull %14, i32 noundef %2, i32 noundef %3, i32 noundef %4)
br label %22
22: ; preds = %11, %9
ret void
}
; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1
declare ptr @names_protocol(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @names_subclass(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @names_class(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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/tools/usb/usbip/libsrc/extr_usbip_common.c_usbip_names_get_class.c'
source_filename = "AnghaBench/linux/tools/usb/usbip/libsrc/extr_usbip_common.c_usbip_names_get_class.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 [46 x i8] c"(Defined at Interface level) (%02x/%02x/%02x)\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"unknown protocol\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"unknown subclass\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"unknown class\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"%s / %s / %s (%02x/%02x/%02x)\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @usbip_names_get_class(ptr nocapture noundef writeonly %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
%6 = or i32 %3, %2
%7 = or i32 %6, %4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %0, i64 noundef %1, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef 0, i32 noundef 0)
br label %22
11: ; preds = %5
%12 = tail call ptr @names_protocol(i32 noundef %2, i32 noundef %3, i32 noundef %4) #3
%13 = icmp eq ptr %12, null
%14 = select i1 %13, ptr @.str.1, ptr %12
%15 = tail call ptr @names_subclass(i32 noundef %2, i32 noundef %3) #3
%16 = icmp eq ptr %15, null
%17 = select i1 %16, ptr @.str.2, ptr %15
%18 = tail call ptr @names_class(i32 noundef %2) #3
%19 = icmp eq ptr %18, null
%20 = select i1 %19, ptr @.str.3, ptr %18
%21 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %0, i64 noundef %1, ptr noundef nonnull @.str.4, ptr noundef nonnull %20, ptr noundef nonnull %17, ptr noundef nonnull %14, i32 noundef %2, i32 noundef %3, i32 noundef %4)
br label %22
22: ; preds = %11, %9
ret void
}
; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1
declare ptr @names_protocol(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @names_subclass(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @names_class(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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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)"}
| linux_tools_usb_usbip_libsrc_extr_usbip_common.c_usbip_names_get_class |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/oss/extr_vwsnd.c_ad1843_set_outsrc.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/oss/extr_vwsnd.c_ad1843_set_outsrc.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"
@SOUND_MASK_PCM = dso_local local_unnamed_addr global i32 0, align 4
@SOUND_MASK_LINE = dso_local local_unnamed_addr global i32 0, align 4
@SOUND_MASK_CD = dso_local local_unnamed_addr global i32 0, align 4
@SOUND_MASK_MIC = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@ad1843_LDA1GM = dso_local global i32 0, align 4
@ad1843_RDA1GM = dso_local global i32 0, align 4
@ad1843_LX1MM = dso_local global i32 0, align 4
@ad1843_RX1MM = dso_local global i32 0, align 4
@ad1843_LX2MM = dso_local global i32 0, align 4
@ad1843_RX2MM = dso_local global i32 0, align 4
@ad1843_LMCMM = dso_local global i32 0, align 4
@ad1843_RMCMM = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ad1843_set_outsrc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ad1843_set_outsrc(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @SOUND_MASK_PCM, align 4, !tbaa !5
%4 = load i32, ptr @SOUND_MASK_LINE, align 4, !tbaa !5
%5 = or i32 %4, %3
%6 = load i32, ptr @SOUND_MASK_CD, align 4, !tbaa !5
%7 = or i32 %5, %6
%8 = load i32, ptr @SOUND_MASK_MIC, align 4, !tbaa !5
%9 = or i32 %7, %8
%10 = xor i32 %9, -1
%11 = and i32 %10, %1
%12 = icmp eq i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load i32, ptr @EINVAL, align 4, !tbaa !5
%15 = sub nsw i32 0, %14
br label %33
16: ; preds = %2
%17 = and i32 %3, %1
%18 = icmp eq i32 %17, 0
%19 = zext i1 %18 to i32
%20 = and i32 %4, %1
%21 = icmp eq i32 %20, 0
%22 = zext i1 %21 to i32
%23 = and i32 %8, %1
%24 = icmp eq i32 %23, 0
%25 = zext i1 %24 to i32
%26 = and i32 %6, %1
%27 = icmp eq i32 %26, 0
%28 = zext i1 %27 to i32
%29 = tail call i32 @ad1843_write_multi(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @ad1843_LDA1GM, i32 noundef %19, ptr noundef nonnull @ad1843_RDA1GM, i32 noundef %19) #2
%30 = tail call i32 @ad1843_write_multi(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @ad1843_LX1MM, i32 noundef %22, ptr noundef nonnull @ad1843_RX1MM, i32 noundef %22) #2
%31 = tail call i32 @ad1843_write_multi(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @ad1843_LX2MM, i32 noundef %28, ptr noundef nonnull @ad1843_RX2MM, i32 noundef %28) #2
%32 = tail call i32 @ad1843_write_multi(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @ad1843_LMCMM, i32 noundef %25, ptr noundef nonnull @ad1843_RMCMM, i32 noundef %25) #2
br label %33
33: ; preds = %16, %13
%34 = phi i32 [ %15, %13 ], [ %1, %16 ]
ret i32 %34
}
declare i32 @ad1843_write_multi(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/oss/extr_vwsnd.c_ad1843_set_outsrc.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/oss/extr_vwsnd.c_ad1843_set_outsrc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOUND_MASK_PCM = common local_unnamed_addr global i32 0, align 4
@SOUND_MASK_LINE = common local_unnamed_addr global i32 0, align 4
@SOUND_MASK_CD = common local_unnamed_addr global i32 0, align 4
@SOUND_MASK_MIC = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@ad1843_LDA1GM = common global i32 0, align 4
@ad1843_RDA1GM = common global i32 0, align 4
@ad1843_LX1MM = common global i32 0, align 4
@ad1843_RX1MM = common global i32 0, align 4
@ad1843_LX2MM = common global i32 0, align 4
@ad1843_RX2MM = common global i32 0, align 4
@ad1843_LMCMM = common global i32 0, align 4
@ad1843_RMCMM = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ad1843_set_outsrc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ad1843_set_outsrc(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @SOUND_MASK_PCM, align 4, !tbaa !6
%4 = load i32, ptr @SOUND_MASK_LINE, align 4, !tbaa !6
%5 = or i32 %4, %3
%6 = load i32, ptr @SOUND_MASK_CD, align 4, !tbaa !6
%7 = or i32 %5, %6
%8 = load i32, ptr @SOUND_MASK_MIC, align 4, !tbaa !6
%9 = or i32 %7, %8
%10 = xor i32 %9, -1
%11 = and i32 %10, %1
%12 = icmp eq i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load i32, ptr @EINVAL, align 4, !tbaa !6
%15 = sub nsw i32 0, %14
br label %33
16: ; preds = %2
%17 = and i32 %3, %1
%18 = icmp eq i32 %17, 0
%19 = zext i1 %18 to i32
%20 = and i32 %4, %1
%21 = icmp eq i32 %20, 0
%22 = zext i1 %21 to i32
%23 = and i32 %8, %1
%24 = icmp eq i32 %23, 0
%25 = zext i1 %24 to i32
%26 = and i32 %6, %1
%27 = icmp eq i32 %26, 0
%28 = zext i1 %27 to i32
%29 = tail call i32 @ad1843_write_multi(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @ad1843_LDA1GM, i32 noundef %19, ptr noundef nonnull @ad1843_RDA1GM, i32 noundef %19) #2
%30 = tail call i32 @ad1843_write_multi(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @ad1843_LX1MM, i32 noundef %22, ptr noundef nonnull @ad1843_RX1MM, i32 noundef %22) #2
%31 = tail call i32 @ad1843_write_multi(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @ad1843_LX2MM, i32 noundef %28, ptr noundef nonnull @ad1843_RX2MM, i32 noundef %28) #2
%32 = tail call i32 @ad1843_write_multi(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @ad1843_LMCMM, i32 noundef %25, ptr noundef nonnull @ad1843_RMCMM, i32 noundef %25) #2
br label %33
33: ; preds = %16, %13
%34 = phi i32 [ %15, %13 ], [ %1, %16 ]
ret i32 %34
}
declare i32 @ad1843_write_multi(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_sound_oss_extr_vwsnd.c_ad1843_set_outsrc |
; ModuleID = 'AnghaBench/phpredis/extr_cluster_library.c_cluster_send_slot.c'
source_filename = "AnghaBench/phpredis/extr_cluster_library.c_cluster_send_slot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_10__ = type { i16, i64, ptr, ptr }
@MULTI = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [45 x i8] c"Unable to enter MULTI mode on requested slot\00", align 1
@TYPE_EOF = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @cluster_send_slot(ptr noundef %0, i16 noundef signext %1, ptr noundef %2, i32 noundef %3, i64 noundef %4) local_unnamed_addr #0 {
store i16 %1, ptr %0, align 8, !tbaa !5
%6 = tail call ptr @SLOT_SOCK(ptr noundef nonnull %0, i16 noundef signext %1) #2
%7 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2
store ptr %6, ptr %7, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 3
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = load i64, ptr @MULTI, align 8, !tbaa !16
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %5
%14 = load i64, ptr %6, align 8, !tbaa !17
%15 = icmp eq i64 %14, %10
br i1 %15, label %21, label %16
16: ; preds = %13
%17 = tail call i32 @cluster_send_multi(ptr noundef nonnull %0, i16 noundef signext %1) #2
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @CLUSTER_THROW_EXCEPTION(ptr noundef nonnull @.str, i32 noundef 0) #2
br label %35
21: ; preds = %16, %13, %5
%22 = tail call i32 @cluster_sock_write(ptr noundef nonnull %0, ptr noundef %2, i32 noundef %3, i32 noundef 1) #2
%23 = icmp eq i32 %22, -1
br i1 %23, label %35, label %24
24: ; preds = %21
%25 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1
%26 = tail call i64 @cluster_check_response(ptr noundef nonnull %0, ptr noundef nonnull %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %24
%29 = load i64, ptr @TYPE_EOF, align 8, !tbaa !16
%30 = icmp eq i64 %29, %4
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i64, ptr %25, align 8, !tbaa !19
%33 = icmp eq i64 %32, %4
br i1 %33, label %34, label %35
34: ; preds = %31, %28
br label %35
35: ; preds = %24, %31, %21, %34, %19
%36 = phi i32 [ -1, %19 ], [ 0, %34 ], [ -1, %21 ], [ -1, %31 ], [ -1, %24 ]
ret i32 %36
}
declare ptr @SLOT_SOCK(ptr noundef, i16 noundef signext) local_unnamed_addr #1
declare i32 @cluster_send_multi(ptr noundef, i16 noundef signext) local_unnamed_addr #1
declare i32 @CLUSTER_THROW_EXCEPTION(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cluster_sock_write(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @cluster_check_response(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 = !{!"TYPE_10__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!6, !11, i64 24}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_9__", !10, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_11__", !10, i64 0}
!19 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/phpredis/extr_cluster_library.c_cluster_send_slot.c'
source_filename = "AnghaBench/phpredis/extr_cluster_library.c_cluster_send_slot.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MULTI = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [45 x i8] c"Unable to enter MULTI mode on requested slot\00", align 1
@TYPE_EOF = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @cluster_send_slot(ptr noundef %0, i16 noundef signext %1, ptr noundef %2, i32 noundef %3, i64 noundef %4) local_unnamed_addr #0 {
store i16 %1, ptr %0, align 8, !tbaa !6
%6 = tail call ptr @SLOT_SOCK(ptr noundef nonnull %0, i16 noundef signext %1) #2
%7 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %6, ptr %7, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %0, i64 24
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = load i64, ptr @MULTI, align 8, !tbaa !17
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %21
13: ; preds = %5
%14 = load i64, ptr %6, align 8, !tbaa !18
%15 = icmp eq i64 %14, %10
br i1 %15, label %21, label %16
16: ; preds = %13
%17 = tail call i32 @cluster_send_multi(ptr noundef nonnull %0, i16 noundef signext %1) #2
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @CLUSTER_THROW_EXCEPTION(ptr noundef nonnull @.str, i32 noundef 0) #2
br label %35
21: ; preds = %16, %13, %5
%22 = tail call i32 @cluster_sock_write(ptr noundef nonnull %0, ptr noundef %2, i32 noundef %3, i32 noundef 1) #2
%23 = icmp eq i32 %22, -1
br i1 %23, label %35, label %24
24: ; preds = %21
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = tail call i64 @cluster_check_response(ptr noundef nonnull %0, ptr noundef nonnull %25) #2
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %24
%29 = load i64, ptr @TYPE_EOF, align 8, !tbaa !17
%30 = icmp eq i64 %29, %4
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i64, ptr %25, align 8, !tbaa !20
%33 = icmp eq i64 %32, %4
br i1 %33, label %34, label %35
34: ; preds = %31, %28
br label %35
35: ; preds = %24, %31, %21, %34, %19
%36 = phi i32 [ -1, %19 ], [ 0, %34 ], [ -1, %21 ], [ -1, %31 ], [ -1, %24 ]
ret i32 %36
}
declare ptr @SLOT_SOCK(ptr noundef, i16 noundef signext) local_unnamed_addr #1
declare i32 @cluster_send_multi(ptr noundef, i16 noundef signext) local_unnamed_addr #1
declare i32 @CLUSTER_THROW_EXCEPTION(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cluster_sock_write(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @cluster_check_response(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 = !{!"TYPE_10__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!7, !12, i64 24}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_9__", !11, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_11__", !11, i64 0}
!20 = !{!7, !11, i64 8}
| phpredis_extr_cluster_library.c_cluster_send_slot |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sunrpc/auth_gss/extr_svcauth_gss.c_rsc_alloc.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/auth_gss/extr_svcauth_gss.c_rsc_alloc.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
@llvm.compiler.used = appending global [1 x ptr] [ptr @rsc_alloc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @rsc_alloc() #0 {
%1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%2 = tail call ptr @kmalloc(i32 noundef 4, i32 noundef %1) #2
ret ptr %2
}
declare ptr @kmalloc(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/sunrpc/auth_gss/extr_svcauth_gss.c_rsc_alloc.c'
source_filename = "AnghaBench/fastsocket/kernel/net/sunrpc/auth_gss/extr_svcauth_gss.c_rsc_alloc.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
@llvm.used = appending global [1 x ptr] [ptr @rsc_alloc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @rsc_alloc() #0 {
%1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%2 = tail call ptr @kmalloc(i32 noundef 4, i32 noundef %1) #2
ret ptr %2
}
declare ptr @kmalloc(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_sunrpc_auth_gss_extr_svcauth_gss.c_rsc_alloc |
; ModuleID = 'AnghaBench/i3/src/extr_sd-daemon.c_sd_is_socket.c'
source_filename = "AnghaBench/i3/src/extr_sd-daemon.c_sd_is_socket.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"
%union.sockaddr_union = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sd_is_socket(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %union.sockaddr_union, align 4
%6 = alloca i32, align 4
%7 = icmp slt i32 %1, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr @EINVAL, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %35
11: ; preds = %4
%12 = tail call i32 @sd_is_socket_internal(i32 noundef %0, i32 noundef %2, i32 noundef %3) #3
%13 = icmp slt i32 %12, 1
br i1 %13, label %35, label %14
14: ; preds = %11
%15 = icmp eq i32 %1, 0
br i1 %15, label %35, label %16
16: ; preds = %14
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%17 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 4) #3
store i32 4, ptr %6, align 4, !tbaa !5
%18 = call i64 @getsockname(i32 noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr @errno, align 4, !tbaa !5
%22 = sub nsw i32 0, %21
br label %33
23: ; preds = %16
%24 = load i32, ptr %6, align 4, !tbaa !5
%25 = icmp ult i32 %24, 4
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr @EINVAL, align 4, !tbaa !5
%28 = sub nsw i32 0, %27
br label %33
29: ; preds = %23
%30 = load i32, ptr %5, align 4, !tbaa !9
%31 = icmp eq i32 %30, %1
%32 = zext i1 %31 to i32
br label %33
33: ; preds = %29, %26, %20
%34 = phi i32 [ %22, %20 ], [ %28, %26 ], [ %32, %29 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %35
35: ; preds = %14, %11, %33, %8
%36 = phi i32 [ %10, %8 ], [ %34, %33 ], [ %12, %11 ], [ 1, %14 ]
ret i32 %36
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sd_is_socket_internal(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/i3/src/extr_sd-daemon.c_sd_is_socket.c'
source_filename = "AnghaBench/i3/src/extr_sd-daemon.c_sd_is_socket.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%union.sockaddr_union = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@EINVAL = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sd_is_socket(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %union.sockaddr_union, align 4
%6 = alloca i32, align 4
%7 = icmp slt i32 %1, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr @EINVAL, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %35
11: ; preds = %4
%12 = tail call i32 @sd_is_socket_internal(i32 noundef %0, i32 noundef %2, i32 noundef %3) #3
%13 = icmp slt i32 %12, 1
br i1 %13, label %35, label %14
14: ; preds = %11
%15 = icmp eq i32 %1, 0
br i1 %15, label %35, label %16
16: ; preds = %14
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%17 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 4) #3
store i32 4, ptr %6, align 4, !tbaa !6
%18 = call i64 @getsockname(i32 noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %16
%21 = load i32, ptr @errno, align 4, !tbaa !6
%22 = sub nsw i32 0, %21
br label %33
23: ; preds = %16
%24 = load i32, ptr %6, align 4, !tbaa !6
%25 = icmp ult i32 %24, 4
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = load i32, ptr @EINVAL, align 4, !tbaa !6
%28 = sub nsw i32 0, %27
br label %33
29: ; preds = %23
%30 = load i32, ptr %5, align 4, !tbaa !10
%31 = icmp eq i32 %30, %1
%32 = zext i1 %31 to i32
br label %33
33: ; preds = %29, %26, %20
%34 = phi i32 [ %22, %20 ], [ %28, %26 ], [ %32, %29 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
br label %35
35: ; preds = %14, %11, %33, %8
%36 = phi i32 [ %10, %8 ], [ %34, %33 ], [ %12, %11 ], [ 1, %14 ]
ret i32 %36
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sd_is_socket_internal(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @getsockname(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
| i3_src_extr_sd-daemon.c_sd_is_socket |
; ModuleID = 'AnghaBench/lede/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ar7240.c___ar7240sw_reg_write.c'
source_filename = "AnghaBench/lede/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ar7240.c___ar7240sw_reg_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @__ar7240sw_reg_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__ar7240sw_reg_write(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = lshr i32 %1, 2
%5 = tail call i32 @mk_phy_addr(i32 noundef %4) #2
%6 = tail call i32 @mk_phy_reg(i32 noundef %4) #2
%7 = tail call i32 @local_irq_save(i64 noundef undef) #2
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = tail call i32 @mk_high_addr(i32 noundef %4) #2
%10 = tail call i32 @ag71xx_mdio_mii_write(i32 noundef %8, i32 noundef 31, i32 noundef 16, i32 noundef %9) #2
%11 = load i32, ptr %0, align 4, !tbaa !5
%12 = add nsw i32 %6, 1
%13 = ashr i32 %2, 16
%14 = tail call i32 @ag71xx_mdio_mii_write(i32 noundef %11, i32 noundef %5, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr %0, align 4, !tbaa !5
%16 = and i32 %2, 65535
%17 = tail call i32 @ag71xx_mdio_mii_write(i32 noundef %15, i32 noundef %5, i32 noundef %6, i32 noundef %16) #2
%18 = tail call i32 @local_irq_restore(i64 noundef undef) #2
ret void
}
declare i32 @mk_phy_addr(i32 noundef) local_unnamed_addr #1
declare i32 @mk_phy_reg(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @ag71xx_mdio_mii_write(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mk_high_addr(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_restore(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 = !{!"mii_bus", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/lede/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ar7240.c___ar7240sw_reg_write.c'
source_filename = "AnghaBench/lede/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ar7240.c___ar7240sw_reg_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @__ar7240sw_reg_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__ar7240sw_reg_write(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = lshr i32 %1, 2
%5 = tail call i32 @mk_phy_addr(i32 noundef %4) #2
%6 = tail call i32 @mk_phy_reg(i32 noundef %4) #2
%7 = tail call i32 @local_irq_save(i64 noundef undef) #2
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = tail call i32 @mk_high_addr(i32 noundef %4) #2
%10 = tail call i32 @ag71xx_mdio_mii_write(i32 noundef %8, i32 noundef 31, i32 noundef 16, i32 noundef %9) #2
%11 = load i32, ptr %0, align 4, !tbaa !6
%12 = add nsw i32 %6, 1
%13 = ashr i32 %2, 16
%14 = tail call i32 @ag71xx_mdio_mii_write(i32 noundef %11, i32 noundef %5, i32 noundef %12, i32 noundef %13) #2
%15 = load i32, ptr %0, align 4, !tbaa !6
%16 = and i32 %2, 65535
%17 = tail call i32 @ag71xx_mdio_mii_write(i32 noundef %15, i32 noundef %5, i32 noundef %6, i32 noundef %16) #2
%18 = tail call i32 @local_irq_restore(i64 noundef undef) #2
ret void
}
declare i32 @mk_phy_addr(i32 noundef) local_unnamed_addr #1
declare i32 @mk_phy_reg(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1
declare i32 @ag71xx_mdio_mii_write(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mk_high_addr(i32 noundef) local_unnamed_addr #1
declare i32 @local_irq_restore(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 = !{!"mii_bus", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| lede_target_linux_ar71xx_files_drivers_net_ethernet_atheros_ag71xx_extr_ag71xx_ar7240.c___ar7240sw_reg_write |
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_rebar.c_REBAR_GetBandInfoT.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_rebar.c_REBAR_GetBandInfoT.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i64, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32 }
%struct.TYPE_10__ = type { i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_9__ = type { i64, i64 }
@REBARBANDINFOA_V3_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"index %u (bUnicode=%d)\0A\00", align 1
@RBBIM_STYLE = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_COLORS = dso_local local_unnamed_addr global i32 0, align 4
@CLR_DEFAULT = dso_local local_unnamed_addr global i64 0, align 8
@RBBIM_TEXT = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_IMAGE = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_CHILD = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_CHILDSIZE = dso_local local_unnamed_addr global i32 0, align 4
@REBARBANDINFOW_V6_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@RBBS_VARIABLEHEIGHT = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_BACKGROUND = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_ID = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_IDEALSIZE = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_LPARAM = dso_local local_unnamed_addr global i32 0, align 4
@RBBIM_HEADERSIZE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @REBAR_GetBandInfoT], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @REBAR_GetBandInfoT(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq ptr %2, null
br i1 %5, label %153, label %6
6: ; preds = %4
%7 = load i64, ptr %2, align 8, !tbaa !5
%8 = load i64, ptr @REBARBANDINFOA_V3_SIZE, align 8, !tbaa !11
%9 = icmp slt i64 %7, %8
br i1 %9, label %153, label %10
10: ; preds = %6
%11 = load i64, ptr %0, align 8, !tbaa !12
%12 = icmp sgt i64 %11, %1
br i1 %12, label %13, label %153
13: ; preds = %10
%14 = tail call i32 @TRACE(ptr noundef nonnull @.str, i64 noundef %1, i64 noundef %3) #2
%15 = tail call ptr @REBAR_GetBand(ptr noundef nonnull %0, i64 noundef %1) #2
%16 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 1
%17 = load i32, ptr %16, align 8, !tbaa !14
%18 = load i32, ptr @RBBIM_STYLE, align 4, !tbaa !15
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %13
%22 = load i32, ptr %15, align 8, !tbaa !16
%23 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 2
store i32 %22, ptr %23, align 4, !tbaa !18
br label %24
24: ; preds = %21, %13
%25 = load i32, ptr @RBBIM_COLORS, align 4, !tbaa !15
%26 = and i32 %25, %17
%27 = icmp eq i32 %26, 0
br i1 %27, label %40, label %28
28: ; preds = %24
%29 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 16
%30 = load i32, ptr %29, align 8, !tbaa !19
%31 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 19
store i32 %30, ptr %31, align 8, !tbaa !20
%32 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 1
%33 = load i64, ptr %32, align 8, !tbaa !21
%34 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 3
store i64 %33, ptr %34, align 8, !tbaa !22
%35 = load i64, ptr @CLR_DEFAULT, align 8, !tbaa !11
%36 = icmp eq i64 %33, %35
br i1 %36, label %37, label %40
37: ; preds = %28
%38 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%39 = load i64, ptr %38, align 8, !tbaa !23
store i64 %39, ptr %34, align 8, !tbaa !22
br label %40
40: ; preds = %28, %37, %24
%41 = load i32, ptr @RBBIM_TEXT, align 4, !tbaa !15
%42 = and i32 %41, %17
%43 = icmp eq i32 %42, 0
br i1 %43, label %59, label %44
44: ; preds = %40
%45 = icmp eq i64 %3, 0
%46 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 15
%47 = load i32, ptr %46, align 4, !tbaa !24
%48 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 18
%49 = load i64, ptr %48, align 8, !tbaa !25
br i1 %45, label %54, label %50
50: ; preds = %44
%51 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 17
%52 = load i32, ptr %51, align 4, !tbaa !26
%53 = tail call i32 @Str_GetPtrW(i32 noundef %47, i64 noundef %49, i32 noundef %52) #2
br label %59
54: ; preds = %44
%55 = trunc i64 %49 to i32
%56 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 17
%57 = load i32, ptr %56, align 4, !tbaa !26
%58 = tail call i32 @Str_GetPtrWtoA(i32 noundef %47, i32 noundef %55, i32 noundef %57) #2
br label %59
59: ; preds = %50, %54, %40
%60 = load i32, ptr %16, align 8, !tbaa !14
%61 = load i32, ptr @RBBIM_IMAGE, align 4, !tbaa !15
%62 = and i32 %61, %60
%63 = icmp eq i32 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %59
%65 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 14
%66 = load i32, ptr %65, align 8, !tbaa !27
%67 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 16
store i32 %66, ptr %67, align 8, !tbaa !28
br label %68
68: ; preds = %64, %59
%69 = load i32, ptr @RBBIM_CHILD, align 4, !tbaa !15
%70 = and i32 %69, %60
%71 = icmp eq i32 %70, 0
br i1 %71, label %76, label %72
72: ; preds = %68
%73 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 13
%74 = load i32, ptr %73, align 4, !tbaa !29
%75 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 15
store i32 %74, ptr %75, align 4, !tbaa !30
br label %76
76: ; preds = %72, %68
%77 = load i32, ptr @RBBIM_CHILDSIZE, align 4, !tbaa !15
%78 = and i32 %77, %60
%79 = icmp eq i32 %78, 0
br i1 %79, label %99, label %80
80: ; preds = %76
%81 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 11
%82 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 13
%83 = load <2 x i32>, ptr %81, align 4, !tbaa !15
store <2 x i32> %83, ptr %82, align 4, !tbaa !15
%84 = load i64, ptr %2, align 8, !tbaa !5
%85 = load i64, ptr @REBARBANDINFOW_V6_SIZE, align 8, !tbaa !11
%86 = icmp slt i64 %84, %85
br i1 %86, label %99, label %87
87: ; preds = %80
%88 = load i32, ptr %15, align 8, !tbaa !16
%89 = load i32, ptr @RBBS_VARIABLEHEIGHT, align 4, !tbaa !15
%90 = and i32 %89, %88
%91 = icmp eq i32 %90, 0
br i1 %91, label %99, label %92
92: ; preds = %87
%93 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 10
%94 = load i32, ptr %93, align 8, !tbaa !31
%95 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 12
store i32 %94, ptr %95, align 8, !tbaa !32
%96 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 8
%97 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 10
%98 = load <2 x i32>, ptr %96, align 8, !tbaa !15
store <2 x i32> %98, ptr %97, align 8, !tbaa !15
br label %99
99: ; preds = %80, %87, %92, %76
%100 = load i32, ptr @RBBIM_SIZE, align 4, !tbaa !15
%101 = and i32 %100, %60
%102 = icmp eq i32 %101, 0
br i1 %102, label %107, label %103
103: ; preds = %99
%104 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 7
%105 = load i32, ptr %104, align 4, !tbaa !33
%106 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 9
store i32 %105, ptr %106, align 4, !tbaa !34
br label %107
107: ; preds = %103, %99
%108 = load i32, ptr @RBBIM_BACKGROUND, align 4, !tbaa !15
%109 = and i32 %108, %60
%110 = icmp eq i32 %109, 0
br i1 %110, label %115, label %111
111: ; preds = %107
%112 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 6
%113 = load i32, ptr %112, align 8, !tbaa !35
%114 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 8
store i32 %113, ptr %114, align 8, !tbaa !36
br label %115
115: ; preds = %111, %107
%116 = load i32, ptr @RBBIM_ID, align 4, !tbaa !15
%117 = and i32 %116, %60
%118 = icmp eq i32 %117, 0
br i1 %118, label %123, label %119
119: ; preds = %115
%120 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 5
%121 = load i32, ptr %120, align 4, !tbaa !37
%122 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 7
store i32 %121, ptr %122, align 4, !tbaa !38
br label %123
123: ; preds = %119, %115
%124 = load i64, ptr %2, align 8, !tbaa !5
%125 = load i64, ptr @REBARBANDINFOW_V6_SIZE, align 8, !tbaa !11
%126 = icmp slt i64 %124, %125
br i1 %126, label %151, label %127
127: ; preds = %123
%128 = load i32, ptr @RBBIM_IDEALSIZE, align 4, !tbaa !15
%129 = and i32 %128, %60
%130 = icmp eq i32 %129, 0
br i1 %130, label %135, label %131
131: ; preds = %127
%132 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 4
%133 = load i32, ptr %132, align 8, !tbaa !39
%134 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 6
store i32 %133, ptr %134, align 8, !tbaa !40
br label %135
135: ; preds = %131, %127
%136 = load i32, ptr @RBBIM_LPARAM, align 4, !tbaa !15
%137 = and i32 %136, %60
%138 = icmp eq i32 %137, 0
br i1 %138, label %143, label %139
139: ; preds = %135
%140 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 3
%141 = load i32, ptr %140, align 4, !tbaa !41
%142 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 5
store i32 %141, ptr %142, align 4, !tbaa !42
br label %143
143: ; preds = %139, %135
%144 = load i32, ptr @RBBIM_HEADERSIZE, align 4, !tbaa !15
%145 = and i32 %144, %60
%146 = icmp eq i32 %145, 0
br i1 %146, label %151, label %147
147: ; preds = %143
%148 = getelementptr inbounds %struct.TYPE_10__, ptr %15, i64 0, i32 2
%149 = load i32, ptr %148, align 8, !tbaa !43
%150 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 4
store i32 %149, ptr %150, align 8, !tbaa !44
br label %151
151: ; preds = %143, %147, %123
%152 = tail call i32 @REBAR_DumpBandInfo(ptr noundef nonnull %2) #2
br label %153
153: ; preds = %10, %4, %6, %151
%154 = phi ptr [ @TRUE, %151 ], [ @FALSE, %6 ], [ @FALSE, %4 ], [ @FALSE, %10 ]
%155 = load i32, ptr %154, align 4, !tbaa !15
ret i32 %155
}
declare i32 @TRACE(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @REBAR_GetBand(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Str_GetPtrW(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Str_GetPtrWtoA(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REBAR_DumpBandInfo(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_11__", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !7, i64 80, !10, i64 88}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_9__", !7, i64 0, !7, i64 8}
!14 = !{!6, !10, i64 8}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"TYPE_10__", !10, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72}
!18 = !{!6, !10, i64 12}
!19 = !{!17, !10, i64 72}
!20 = !{!6, !10, i64 88}
!21 = !{!17, !7, i64 8}
!22 = !{!6, !7, i64 16}
!23 = !{!13, !7, i64 8}
!24 = !{!17, !10, i64 68}
!25 = !{!6, !7, i64 80}
!26 = !{!6, !10, i64 76}
!27 = !{!17, !10, i64 64}
!28 = !{!6, !10, i64 72}
!29 = !{!17, !10, i64 60}
!30 = !{!6, !10, i64 68}
!31 = !{!17, !10, i64 48}
!32 = !{!6, !10, i64 56}
!33 = !{!17, !10, i64 36}
!34 = !{!6, !10, i64 44}
!35 = !{!17, !10, i64 32}
!36 = !{!6, !10, i64 40}
!37 = !{!17, !10, i64 28}
!38 = !{!6, !10, i64 36}
!39 = !{!17, !10, i64 24}
!40 = !{!6, !10, i64 32}
!41 = !{!17, !10, i64 20}
!42 = !{!6, !10, i64 28}
!43 = !{!17, !10, i64 16}
!44 = !{!6, !10, i64 24}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_rebar.c_REBAR_GetBandInfoT.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_rebar.c_REBAR_GetBandInfoT.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@REBARBANDINFOA_V3_SIZE = common local_unnamed_addr global i64 0, align 8
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"index %u (bUnicode=%d)\0A\00", align 1
@RBBIM_STYLE = common local_unnamed_addr global i32 0, align 4
@RBBIM_COLORS = common local_unnamed_addr global i32 0, align 4
@CLR_DEFAULT = common local_unnamed_addr global i64 0, align 8
@RBBIM_TEXT = common local_unnamed_addr global i32 0, align 4
@RBBIM_IMAGE = common local_unnamed_addr global i32 0, align 4
@RBBIM_CHILD = common local_unnamed_addr global i32 0, align 4
@RBBIM_CHILDSIZE = common local_unnamed_addr global i32 0, align 4
@REBARBANDINFOW_V6_SIZE = common local_unnamed_addr global i64 0, align 8
@RBBS_VARIABLEHEIGHT = common local_unnamed_addr global i32 0, align 4
@RBBIM_SIZE = common local_unnamed_addr global i32 0, align 4
@RBBIM_BACKGROUND = common local_unnamed_addr global i32 0, align 4
@RBBIM_ID = common local_unnamed_addr global i32 0, align 4
@RBBIM_IDEALSIZE = common local_unnamed_addr global i32 0, align 4
@RBBIM_LPARAM = common local_unnamed_addr global i32 0, align 4
@RBBIM_HEADERSIZE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @REBAR_GetBandInfoT], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @REBAR_GetBandInfoT(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = icmp eq ptr %2, null
br i1 %5, label %153, label %6
6: ; preds = %4
%7 = load i64, ptr %2, align 8, !tbaa !6
%8 = load i64, ptr @REBARBANDINFOA_V3_SIZE, align 8, !tbaa !12
%9 = icmp slt i64 %7, %8
br i1 %9, label %153, label %10
10: ; preds = %6
%11 = load i64, ptr %0, align 8, !tbaa !13
%12 = icmp sgt i64 %11, %1
br i1 %12, label %13, label %153
13: ; preds = %10
%14 = tail call i32 @TRACE(ptr noundef nonnull @.str, i64 noundef %1, i64 noundef %3) #2
%15 = tail call ptr @REBAR_GetBand(ptr noundef nonnull %0, i64 noundef %1) #2
%16 = getelementptr inbounds i8, ptr %2, i64 8
%17 = load i32, ptr %16, align 8, !tbaa !15
%18 = load i32, ptr @RBBIM_STYLE, align 4, !tbaa !16
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %13
%22 = load i32, ptr %15, align 8, !tbaa !17
%23 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %22, ptr %23, align 4, !tbaa !19
br label %24
24: ; preds = %21, %13
%25 = load i32, ptr @RBBIM_COLORS, align 4, !tbaa !16
%26 = and i32 %25, %17
%27 = icmp eq i32 %26, 0
br i1 %27, label %40, label %28
28: ; preds = %24
%29 = getelementptr inbounds i8, ptr %15, i64 72
%30 = load i32, ptr %29, align 8, !tbaa !20
%31 = getelementptr inbounds i8, ptr %2, i64 88
store i32 %30, ptr %31, align 8, !tbaa !21
%32 = getelementptr inbounds i8, ptr %15, i64 8
%33 = load i64, ptr %32, align 8, !tbaa !22
%34 = getelementptr inbounds i8, ptr %2, i64 16
store i64 %33, ptr %34, align 8, !tbaa !23
%35 = load i64, ptr @CLR_DEFAULT, align 8, !tbaa !12
%36 = icmp eq i64 %33, %35
br i1 %36, label %37, label %40
37: ; preds = %28
%38 = getelementptr inbounds i8, ptr %0, i64 8
%39 = load i64, ptr %38, align 8, !tbaa !24
store i64 %39, ptr %34, align 8, !tbaa !23
br label %40
40: ; preds = %28, %37, %24
%41 = load i32, ptr @RBBIM_TEXT, align 4, !tbaa !16
%42 = and i32 %41, %17
%43 = icmp eq i32 %42, 0
br i1 %43, label %59, label %44
44: ; preds = %40
%45 = icmp eq i64 %3, 0
%46 = getelementptr inbounds i8, ptr %15, i64 68
%47 = load i32, ptr %46, align 4, !tbaa !25
%48 = getelementptr inbounds i8, ptr %2, i64 80
%49 = load i64, ptr %48, align 8, !tbaa !26
br i1 %45, label %54, label %50
50: ; preds = %44
%51 = getelementptr inbounds i8, ptr %2, i64 76
%52 = load i32, ptr %51, align 4, !tbaa !27
%53 = tail call i32 @Str_GetPtrW(i32 noundef %47, i64 noundef %49, i32 noundef %52) #2
br label %59
54: ; preds = %44
%55 = trunc i64 %49 to i32
%56 = getelementptr inbounds i8, ptr %2, i64 76
%57 = load i32, ptr %56, align 4, !tbaa !27
%58 = tail call i32 @Str_GetPtrWtoA(i32 noundef %47, i32 noundef %55, i32 noundef %57) #2
br label %59
59: ; preds = %50, %54, %40
%60 = load i32, ptr %16, align 8, !tbaa !15
%61 = load i32, ptr @RBBIM_IMAGE, align 4, !tbaa !16
%62 = and i32 %61, %60
%63 = icmp eq i32 %62, 0
br i1 %63, label %68, label %64
64: ; preds = %59
%65 = getelementptr inbounds i8, ptr %15, i64 64
%66 = load i32, ptr %65, align 8, !tbaa !28
%67 = getelementptr inbounds i8, ptr %2, i64 72
store i32 %66, ptr %67, align 8, !tbaa !29
br label %68
68: ; preds = %64, %59
%69 = load i32, ptr @RBBIM_CHILD, align 4, !tbaa !16
%70 = and i32 %69, %60
%71 = icmp eq i32 %70, 0
br i1 %71, label %76, label %72
72: ; preds = %68
%73 = getelementptr inbounds i8, ptr %15, i64 60
%74 = load i32, ptr %73, align 4, !tbaa !30
%75 = getelementptr inbounds i8, ptr %2, i64 68
store i32 %74, ptr %75, align 4, !tbaa !31
br label %76
76: ; preds = %72, %68
%77 = load i32, ptr @RBBIM_CHILDSIZE, align 4, !tbaa !16
%78 = and i32 %77, %60
%79 = icmp eq i32 %78, 0
br i1 %79, label %99, label %80
80: ; preds = %76
%81 = getelementptr inbounds i8, ptr %15, i64 52
%82 = getelementptr inbounds i8, ptr %2, i64 60
%83 = load <2 x i32>, ptr %81, align 4, !tbaa !16
store <2 x i32> %83, ptr %82, align 4, !tbaa !16
%84 = load i64, ptr %2, align 8, !tbaa !6
%85 = load i64, ptr @REBARBANDINFOW_V6_SIZE, align 8, !tbaa !12
%86 = icmp slt i64 %84, %85
br i1 %86, label %99, label %87
87: ; preds = %80
%88 = load i32, ptr %15, align 8, !tbaa !17
%89 = load i32, ptr @RBBS_VARIABLEHEIGHT, align 4, !tbaa !16
%90 = and i32 %89, %88
%91 = icmp eq i32 %90, 0
br i1 %91, label %99, label %92
92: ; preds = %87
%93 = getelementptr inbounds i8, ptr %15, i64 48
%94 = load i32, ptr %93, align 8, !tbaa !32
%95 = getelementptr inbounds i8, ptr %2, i64 56
store i32 %94, ptr %95, align 8, !tbaa !33
%96 = getelementptr inbounds i8, ptr %15, i64 40
%97 = getelementptr inbounds i8, ptr %2, i64 48
%98 = load <2 x i32>, ptr %96, align 8, !tbaa !16
store <2 x i32> %98, ptr %97, align 8, !tbaa !16
br label %99
99: ; preds = %80, %87, %92, %76
%100 = load i32, ptr @RBBIM_SIZE, align 4, !tbaa !16
%101 = and i32 %100, %60
%102 = icmp eq i32 %101, 0
br i1 %102, label %107, label %103
103: ; preds = %99
%104 = getelementptr inbounds i8, ptr %15, i64 36
%105 = load i32, ptr %104, align 4, !tbaa !34
%106 = getelementptr inbounds i8, ptr %2, i64 44
store i32 %105, ptr %106, align 4, !tbaa !35
br label %107
107: ; preds = %103, %99
%108 = load i32, ptr @RBBIM_BACKGROUND, align 4, !tbaa !16
%109 = and i32 %108, %60
%110 = icmp eq i32 %109, 0
br i1 %110, label %115, label %111
111: ; preds = %107
%112 = getelementptr inbounds i8, ptr %15, i64 32
%113 = load i32, ptr %112, align 8, !tbaa !36
%114 = getelementptr inbounds i8, ptr %2, i64 40
store i32 %113, ptr %114, align 8, !tbaa !37
br label %115
115: ; preds = %111, %107
%116 = load i32, ptr @RBBIM_ID, align 4, !tbaa !16
%117 = and i32 %116, %60
%118 = icmp eq i32 %117, 0
br i1 %118, label %123, label %119
119: ; preds = %115
%120 = getelementptr inbounds i8, ptr %15, i64 28
%121 = load i32, ptr %120, align 4, !tbaa !38
%122 = getelementptr inbounds i8, ptr %2, i64 36
store i32 %121, ptr %122, align 4, !tbaa !39
br label %123
123: ; preds = %119, %115
%124 = load i64, ptr %2, align 8, !tbaa !6
%125 = load i64, ptr @REBARBANDINFOW_V6_SIZE, align 8, !tbaa !12
%126 = icmp slt i64 %124, %125
br i1 %126, label %151, label %127
127: ; preds = %123
%128 = load i32, ptr @RBBIM_IDEALSIZE, align 4, !tbaa !16
%129 = and i32 %128, %60
%130 = icmp eq i32 %129, 0
br i1 %130, label %135, label %131
131: ; preds = %127
%132 = getelementptr inbounds i8, ptr %15, i64 24
%133 = load i32, ptr %132, align 8, !tbaa !40
%134 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %133, ptr %134, align 8, !tbaa !41
br label %135
135: ; preds = %131, %127
%136 = load i32, ptr @RBBIM_LPARAM, align 4, !tbaa !16
%137 = and i32 %136, %60
%138 = icmp eq i32 %137, 0
br i1 %138, label %143, label %139
139: ; preds = %135
%140 = getelementptr inbounds i8, ptr %15, i64 20
%141 = load i32, ptr %140, align 4, !tbaa !42
%142 = getelementptr inbounds i8, ptr %2, i64 28
store i32 %141, ptr %142, align 4, !tbaa !43
br label %143
143: ; preds = %139, %135
%144 = load i32, ptr @RBBIM_HEADERSIZE, align 4, !tbaa !16
%145 = and i32 %144, %60
%146 = icmp eq i32 %145, 0
br i1 %146, label %151, label %147
147: ; preds = %143
%148 = getelementptr inbounds i8, ptr %15, i64 16
%149 = load i32, ptr %148, align 8, !tbaa !44
%150 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %149, ptr %150, align 8, !tbaa !45
br label %151
151: ; preds = %143, %147, %123
%152 = tail call i32 @REBAR_DumpBandInfo(ptr noundef nonnull %2) #2
br label %153
153: ; preds = %10, %4, %6, %151
%154 = phi ptr [ @TRUE, %151 ], [ @FALSE, %6 ], [ @FALSE, %4 ], [ @FALSE, %10 ]
%155 = load i32, ptr %154, align 4, !tbaa !16
ret i32 %155
}
declare i32 @TRACE(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @REBAR_GetBand(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @Str_GetPtrW(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @Str_GetPtrWtoA(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @REBAR_DumpBandInfo(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_11__", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !8, i64 80, !11, i64 88}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_9__", !8, i64 0, !8, i64 8}
!15 = !{!7, !11, i64 8}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_10__", !11, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72}
!19 = !{!7, !11, i64 12}
!20 = !{!18, !11, i64 72}
!21 = !{!7, !11, i64 88}
!22 = !{!18, !8, i64 8}
!23 = !{!7, !8, i64 16}
!24 = !{!14, !8, i64 8}
!25 = !{!18, !11, i64 68}
!26 = !{!7, !8, i64 80}
!27 = !{!7, !11, i64 76}
!28 = !{!18, !11, i64 64}
!29 = !{!7, !11, i64 72}
!30 = !{!18, !11, i64 60}
!31 = !{!7, !11, i64 68}
!32 = !{!18, !11, i64 48}
!33 = !{!7, !11, i64 56}
!34 = !{!18, !11, i64 36}
!35 = !{!7, !11, i64 44}
!36 = !{!18, !11, i64 32}
!37 = !{!7, !11, i64 40}
!38 = !{!18, !11, i64 28}
!39 = !{!7, !11, i64 36}
!40 = !{!18, !11, i64 24}
!41 = !{!7, !11, i64 32}
!42 = !{!18, !11, i64 20}
!43 = !{!7, !11, i64 28}
!44 = !{!18, !11, i64 16}
!45 = !{!7, !11, i64 24}
| reactos_dll_win32_comctl32_extr_rebar.c_REBAR_GetBandInfoT |
; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_rdma.c_nvme_rdma_conn_established.c'
source_filename = "AnghaBench/linux/drivers/nvme/host/extr_rdma.c_nvme_rdma_conn_established.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.nvme_rdma_queue = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @nvme_rdma_conn_established], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nvme_rdma_conn_established(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %19
4: ; preds = %1
%5 = getelementptr inbounds %struct.nvme_rdma_queue, ptr %0, i64 0, i32 1
br label %11
6: ; preds = %11
%7 = add nuw nsw i64 %12, 1
%8 = load i32, ptr %0, align 8, !tbaa !5
%9 = sext i32 %8 to i64
%10 = icmp slt i64 %7, %9
br i1 %10, label %11, label %19, !llvm.loop !11
11: ; preds = %4, %6
%12 = phi i64 [ 0, %4 ], [ %7, %6 ]
%13 = load ptr, ptr %5, align 8, !tbaa !13
%14 = getelementptr inbounds i32, ptr %13, i64 %12
%15 = tail call i32 @nvme_rdma_post_recv(ptr noundef nonnull %0, ptr noundef %14) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %6, label %17
17: ; preds = %11
%18 = tail call i32 @nvme_rdma_destroy_queue_ib(ptr noundef nonnull %0) #2
br label %19
19: ; preds = %6, %1, %17
%20 = phi i32 [ %15, %17 ], [ 0, %1 ], [ 0, %6 ]
ret i32 %20
}
declare i32 @nvme_rdma_post_recv(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nvme_rdma_destroy_queue_ib(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 = !{!"nvme_rdma_queue", !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/nvme/host/extr_rdma.c_nvme_rdma_conn_established.c'
source_filename = "AnghaBench/linux/drivers/nvme/host/extr_rdma.c_nvme_rdma_conn_established.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 @nvme_rdma_conn_established], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nvme_rdma_conn_established(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %19
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
br label %11
6: ; preds = %11
%7 = add nuw nsw i64 %12, 1
%8 = load i32, ptr %0, align 8, !tbaa !6
%9 = sext i32 %8 to i64
%10 = icmp slt i64 %7, %9
br i1 %10, label %11, label %19, !llvm.loop !12
11: ; preds = %4, %6
%12 = phi i64 [ 0, %4 ], [ %7, %6 ]
%13 = load ptr, ptr %5, align 8, !tbaa !14
%14 = getelementptr inbounds i32, ptr %13, i64 %12
%15 = tail call i32 @nvme_rdma_post_recv(ptr noundef nonnull %0, ptr noundef %14) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %6, label %17
17: ; preds = %11
%18 = tail call i32 @nvme_rdma_destroy_queue_ib(ptr noundef nonnull %0) #2
br label %19
19: ; preds = %6, %1, %17
%20 = phi i32 [ %15, %17 ], [ 0, %1 ], [ 0, %6 ]
ret i32 %20
}
declare i32 @nvme_rdma_post_recv(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nvme_rdma_destroy_queue_ib(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 = !{!"nvme_rdma_queue", !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!7, !11, i64 8}
| linux_drivers_nvme_host_extr_rdma.c_nvme_rdma_conn_established |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_vtlb.c_mark_pages_dirty.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_vtlb.c_mark_pages_dirty.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_PPN_MASK = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@KVM_MEM_DIRTY_LOG_BASE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @mark_pages_dirty(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @_PAGE_PPN_MASK, align 4, !tbaa !5
%5 = and i32 %4, %1
%6 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !5
%7 = ashr i32 %5, %6
%8 = load i32, ptr %0, align 4, !tbaa !9
%9 = tail call ptr @__kvm_va(i32 noundef %8) #2
%10 = load i64, ptr @KVM_MEM_DIRTY_LOG_BASE, align 8, !tbaa !12
%11 = inttoptr i64 %10 to ptr
%12 = load i32, ptr @PAGE_SHIFT, align 4
%13 = icmp slt i32 %12, %2
%14 = sub nsw i32 %2, %12
%15 = shl nuw i32 1, %14
%16 = select i1 %13, i32 %15, i32 1
%17 = tail call i32 @vmm_spin_lock(ptr noundef %9) #2
%18 = icmp sgt i32 %16, 0
br i1 %18, label %19, label %29
19: ; preds = %3, %26
%20 = phi i32 [ %27, %26 ], [ 0, %3 ]
%21 = add nsw i32 %20, %7
%22 = tail call i32 @test_bit(i32 noundef %21, ptr noundef %11) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = tail call i32 @set_bit(i32 noundef %21, ptr noundef %11) #2
br label %26
26: ; preds = %19, %24
%27 = add nuw nsw i32 %20, 1
%28 = icmp eq i32 %27, %16
br i1 %28, label %29, label %19, !llvm.loop !14
29: ; preds = %26, %3
%30 = tail call i32 @vmm_spin_unlock(ptr noundef %9) #2
ret void
}
declare ptr @__kvm_va(i32 noundef) local_unnamed_addr #1
declare i32 @vmm_spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vmm_spin_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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"kvm_vcpu", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_vtlb.c_mark_pages_dirty.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_vtlb.c_mark_pages_dirty.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_PAGE_PPN_MASK = common local_unnamed_addr global i32 0, align 4
@PAGE_SHIFT = common local_unnamed_addr global i32 0, align 4
@KVM_MEM_DIRTY_LOG_BASE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @mark_pages_dirty(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @_PAGE_PPN_MASK, align 4, !tbaa !6
%5 = and i32 %4, %1
%6 = load i32, ptr @PAGE_SHIFT, align 4, !tbaa !6
%7 = ashr i32 %5, %6
%8 = load i32, ptr %0, align 4, !tbaa !10
%9 = tail call ptr @__kvm_va(i32 noundef %8) #2
%10 = load i64, ptr @KVM_MEM_DIRTY_LOG_BASE, align 8, !tbaa !13
%11 = inttoptr i64 %10 to ptr
%12 = load i32, ptr @PAGE_SHIFT, align 4
%13 = icmp slt i32 %12, %2
%14 = sub nsw i32 %2, %12
%15 = shl nuw i32 1, %14
%16 = select i1 %13, i32 %15, i32 1
%17 = tail call i32 @vmm_spin_lock(ptr noundef %9) #2
%18 = icmp sgt i32 %16, 0
br i1 %18, label %19, label %29
19: ; preds = %3, %26
%20 = phi i32 [ %27, %26 ], [ 0, %3 ]
%21 = add nsw i32 %20, %7
%22 = tail call i32 @test_bit(i32 noundef %21, ptr noundef %11) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = tail call i32 @set_bit(i32 noundef %21, ptr noundef %11) #2
br label %26
26: ; preds = %19, %24
%27 = add nuw nsw i32 %20, 1
%28 = icmp eq i32 %27, %16
br i1 %28, label %29, label %19, !llvm.loop !15
29: ; preds = %26, %3
%30 = tail call i32 @vmm_spin_unlock(ptr noundef %9) #2
ret void
}
declare ptr @__kvm_va(i32 noundef) local_unnamed_addr #1
declare i32 @vmm_spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vmm_spin_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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"kvm_vcpu", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_arch_ia64_kvm_extr_vtlb.c_mark_pages_dirty |
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_descrip.c_sys_fpathconf.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_descrip.c_sys_fpathconf.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.fpathconf_args = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @sys_fpathconf(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.fpathconf_args, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr %1, align 4, !tbaa !10
%7 = call i32 @kern_fpathconf(ptr noundef %0, i32 noundef %5, i32 noundef %6, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i64, ptr %3, align 8, !tbaa !11
%11 = load ptr, ptr %0, align 8, !tbaa !13
store i64 %10, ptr %11, align 8, !tbaa !11
br label %12
12: ; preds = %9, %2
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @kern_fpathconf(ptr noundef, i32 noundef, 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
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 4}
!6 = !{!"fpathconf_args", !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}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"thread", !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_descrip.c_sys_fpathconf.c'
source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_descrip.c_sys_fpathconf.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 @sys_fpathconf(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %1, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr %1, align 4, !tbaa !11
%7 = call i32 @kern_fpathconf(ptr noundef %0, i32 noundef %5, i32 noundef %6, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i64, ptr %3, align 8, !tbaa !12
%11 = load ptr, ptr %0, align 8, !tbaa !14
store i64 %10, ptr %11, align 8, !tbaa !12
br label %12
12: ; preds = %9, %2
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %7
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @kern_fpathconf(ptr noundef, i32 noundef, 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
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 4}
!7 = !{!"fpathconf_args", !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}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"thread", !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
| freebsd_sys_kern_extr_kern_descrip.c_sys_fpathconf |
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_dev-mcelog.c_mce_work_trigger.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_dev-mcelog.c_mce_work_trigger.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"
@mce_helper = dso_local local_unnamed_addr global ptr null, align 8
@mce_trigger_work = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mce_work_trigger() local_unnamed_addr #0 {
%1 = load ptr, ptr @mce_helper, align 8, !tbaa !5
%2 = load i64, ptr %1, align 8, !tbaa !9
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = tail call i32 @schedule_work(ptr noundef nonnull @mce_trigger_work) #2
br label %6
6: ; preds = %4, %0
ret void
}
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_dev-mcelog.c_mce_work_trigger.c'
source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_dev-mcelog.c_mce_work_trigger.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@mce_helper = common local_unnamed_addr global ptr null, align 8
@mce_trigger_work = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mce_work_trigger() local_unnamed_addr #0 {
%1 = load ptr, ptr @mce_helper, align 8, !tbaa !6
%2 = load i64, ptr %1, align 8, !tbaa !10
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = tail call i32 @schedule_work(ptr noundef nonnull @mce_trigger_work) #2
br label %6
6: ; preds = %4, %0
ret void
}
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| linux_arch_x86_kernel_cpu_mce_extr_dev-mcelog.c_mce_work_trigger |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/core/extr_bitblit.c_bit_putcs.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/core/extr_bitblit.c_bit_putcs.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.fb_image = type { i32, i32, i32, i32, i32, i32, i32, ptr }
%struct.TYPE_3__ = type { i32, i32 }
%struct.TYPE_4__ = type { i32, i32, i32 }
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bit_putcs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bit_putcs(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca %struct.fb_image, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #4
%10 = load i32, ptr %0, align 4, !tbaa !5
%11 = tail call i32 @DIV_ROUND_UP(i32 noundef %10, i32 noundef 8) #4
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = mul nsw i32 %13, %11
%15 = load i32, ptr %1, align 4, !tbaa !12
%16 = sdiv i32 %15, %14
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !15
%19 = add nsw i32 %18, -1
%20 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2
%21 = load i32, ptr %20, align 4, !tbaa !16
%22 = add nsw i32 %21, -1
%23 = load i32, ptr %0, align 4, !tbaa !5
%24 = tail call i32 @scr_readw(ptr noundef %2) #4
%25 = tail call i32 @get_attribute(ptr noundef nonnull %1, i32 noundef %24) #4
store i32 %6, ptr %9, align 8, !tbaa !17
%26 = getelementptr inbounds %struct.fb_image, ptr %9, i64 0, i32 1
store i32 %7, ptr %26, align 4, !tbaa !20
%27 = load i32, ptr %0, align 4, !tbaa !5
%28 = mul nsw i32 %27, %5
%29 = getelementptr inbounds %struct.fb_image, ptr %9, i64 0, i32 2
store i32 %28, ptr %29, align 8, !tbaa !21
%30 = load i32, ptr %12, align 4, !tbaa !11
%31 = mul nsw i32 %30, %4
%32 = getelementptr inbounds %struct.fb_image, ptr %9, i64 0, i32 3
store i32 %31, ptr %32, align 4, !tbaa !22
%33 = getelementptr inbounds %struct.fb_image, ptr %9, i64 0, i32 4
store i32 %30, ptr %33, align 8, !tbaa !23
%34 = getelementptr inbounds %struct.fb_image, ptr %9, i64 0, i32 5
store i32 1, ptr %34, align 4, !tbaa !24
%35 = icmp eq i32 %25, 0
br i1 %35, label %40, label %36
36: ; preds = %8
%37 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !25
%38 = tail call ptr @kmalloc(i32 noundef %14, i32 noundef %37) #4
%39 = icmp eq ptr %38, null
br i1 %39, label %83, label %40
40: ; preds = %36, %8
%41 = phi ptr [ %38, %36 ], [ null, %8 ]
%42 = icmp eq i32 %3, 0
br i1 %42, label %78, label %43
43: ; preds = %40
%44 = getelementptr inbounds %struct.fb_image, ptr %9, i64 0, i32 6
%45 = sub i32 0, %18
%46 = sub i32 0, %21
%47 = getelementptr inbounds %struct.fb_image, ptr %9, i64 0, i32 7
%48 = and i32 %23, 7
%49 = icmp eq i32 %48, 0
%50 = load i32, ptr %0, align 4, !tbaa !5
br label %51
51: ; preds = %43, %69
%52 = phi i32 [ %50, %43 ], [ %70, %69 ]
%53 = phi ptr [ %2, %43 ], [ %76, %69 ]
%54 = phi i32 [ %3, %43 ], [ %74, %69 ]
%55 = call i32 @llvm.smin.i32(i32 %54, i32 %16)
%56 = mul nsw i32 %52, %55
store i32 %56, ptr %44, align 8, !tbaa !26
%57 = call i32 @DIV_ROUND_UP(i32 noundef %56, i32 noundef 8) #4
%58 = add nsw i32 %19, %57
%59 = and i32 %58, %45
%60 = load i32, ptr %33, align 8, !tbaa !23
%61 = mul nsw i32 %59, %60
%62 = add nsw i32 %22, %61
%63 = and i32 %62, %46
%64 = call ptr @fb_get_buffer_offset(ptr noundef nonnull %1, ptr noundef nonnull %1, i32 noundef %63) #4
store ptr %64, ptr %47, align 8, !tbaa !27
br i1 %49, label %65, label %67
65: ; preds = %51
%66 = call i32 @bit_putcs_aligned(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %53, i32 noundef %25, i32 noundef %55, i32 noundef %59, i32 noundef %11, i32 noundef %14, ptr noundef nonnull %9, ptr noundef %41, ptr noundef %64) #4
br label %69
67: ; preds = %51
%68 = call i32 @bit_putcs_unaligned(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %53, i32 noundef %25, i32 noundef %55, i32 noundef %59, i32 noundef %11, i32 noundef %14, ptr noundef nonnull %9, ptr noundef %41, ptr noundef %64) #4
br label %69
69: ; preds = %67, %65
%70 = load i32, ptr %0, align 4, !tbaa !5
%71 = mul nsw i32 %70, %55
%72 = load i32, ptr %29, align 8, !tbaa !21
%73 = add nsw i32 %72, %71
store i32 %73, ptr %29, align 8, !tbaa !21
%74 = sub nsw i32 %54, %55
%75 = sext i32 %55 to i64
%76 = getelementptr inbounds i16, ptr %53, i64 %75
%77 = icmp eq i32 %74, 0
br i1 %77, label %78, label %51, !llvm.loop !28
78: ; preds = %69, %40
%79 = call i64 @unlikely(ptr noundef %41) #4
%80 = icmp eq i64 %79, 0
br i1 %80, label %83, label %81
81: ; preds = %78
%82 = call i32 @kfree(ptr noundef %41) #4
br label %83
83: ; preds = %78, %81, %36
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #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 @DIV_ROUND_UP(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_attribute(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @scr_readw(ptr noundef) local_unnamed_addr #2
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @fb_get_buffer_offset(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bit_putcs_aligned(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @bit_putcs_unaligned(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @unlikely(ptr noundef) 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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"vc_data", !7, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!6, !8, i64 4}
!12 = !{!13, !8, i64 0}
!13 = !{!"fb_info", !14, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8}
!15 = !{!13, !8, i64 4}
!16 = !{!13, !8, i64 8}
!17 = !{!18, !8, i64 0}
!18 = !{!"fb_image", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !19, i64 32}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!18, !8, i64 4}
!21 = !{!18, !8, i64 8}
!22 = !{!18, !8, i64 12}
!23 = !{!18, !8, i64 16}
!24 = !{!18, !8, i64 20}
!25 = !{!8, !8, i64 0}
!26 = !{!18, !8, i64 24}
!27 = !{!18, !19, i64 32}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/core/extr_bitblit.c_bit_putcs.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/core/extr_bitblit.c_bit_putcs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.fb_image = type { i32, i32, i32, i32, i32, i32, i32, ptr }
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bit_putcs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bit_putcs(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca %struct.fb_image, align 8
call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #4
%10 = load i32, ptr %0, align 4, !tbaa !6
%11 = tail call i32 @DIV_ROUND_UP(i32 noundef %10, i32 noundef 8) #4
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = mul nsw i32 %13, %11
%15 = load i32, ptr %1, align 4, !tbaa !13
%16 = sdiv i32 %15, %14
%17 = getelementptr inbounds i8, ptr %1, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = add nsw i32 %18, -1
%20 = getelementptr inbounds i8, ptr %1, i64 8
%21 = load i32, ptr %20, align 4, !tbaa !17
%22 = add nsw i32 %21, -1
%23 = load i32, ptr %0, align 4, !tbaa !6
%24 = tail call i32 @scr_readw(ptr noundef %2) #4
%25 = tail call i32 @get_attribute(ptr noundef nonnull %1, i32 noundef %24) #4
store i32 %6, ptr %9, align 8, !tbaa !18
%26 = getelementptr inbounds i8, ptr %9, i64 4
store i32 %7, ptr %26, align 4, !tbaa !21
%27 = load i32, ptr %0, align 4, !tbaa !6
%28 = mul nsw i32 %27, %5
%29 = getelementptr inbounds i8, ptr %9, i64 8
store i32 %28, ptr %29, align 8, !tbaa !22
%30 = load i32, ptr %12, align 4, !tbaa !12
%31 = mul nsw i32 %30, %4
%32 = getelementptr inbounds i8, ptr %9, i64 12
store i32 %31, ptr %32, align 4, !tbaa !23
%33 = getelementptr inbounds i8, ptr %9, i64 16
store i32 %30, ptr %33, align 8, !tbaa !24
%34 = getelementptr inbounds i8, ptr %9, i64 20
store i32 1, ptr %34, align 4, !tbaa !25
%35 = icmp eq i32 %25, 0
br i1 %35, label %40, label %36
36: ; preds = %8
%37 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !26
%38 = tail call ptr @kmalloc(i32 noundef %14, i32 noundef %37) #4
%39 = icmp eq ptr %38, null
br i1 %39, label %83, label %40
40: ; preds = %36, %8
%41 = phi ptr [ %38, %36 ], [ null, %8 ]
%42 = icmp eq i32 %3, 0
br i1 %42, label %78, label %43
43: ; preds = %40
%44 = getelementptr inbounds i8, ptr %9, i64 24
%45 = sub i32 0, %18
%46 = sub i32 0, %21
%47 = getelementptr inbounds i8, ptr %9, i64 32
%48 = and i32 %23, 7
%49 = icmp eq i32 %48, 0
%50 = load i32, ptr %0, align 4, !tbaa !6
br label %51
51: ; preds = %43, %69
%52 = phi i32 [ %50, %43 ], [ %70, %69 ]
%53 = phi ptr [ %2, %43 ], [ %76, %69 ]
%54 = phi i32 [ %3, %43 ], [ %74, %69 ]
%55 = call i32 @llvm.smin.i32(i32 %54, i32 %16)
%56 = mul nsw i32 %52, %55
store i32 %56, ptr %44, align 8, !tbaa !27
%57 = call i32 @DIV_ROUND_UP(i32 noundef %56, i32 noundef 8) #4
%58 = add nsw i32 %19, %57
%59 = and i32 %58, %45
%60 = load i32, ptr %33, align 8, !tbaa !24
%61 = mul nsw i32 %59, %60
%62 = add nsw i32 %22, %61
%63 = and i32 %62, %46
%64 = call ptr @fb_get_buffer_offset(ptr noundef nonnull %1, ptr noundef nonnull %1, i32 noundef %63) #4
store ptr %64, ptr %47, align 8, !tbaa !28
br i1 %49, label %65, label %67
65: ; preds = %51
%66 = call i32 @bit_putcs_aligned(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %53, i32 noundef %25, i32 noundef %55, i32 noundef %59, i32 noundef %11, i32 noundef %14, ptr noundef nonnull %9, ptr noundef %41, ptr noundef %64) #4
br label %69
67: ; preds = %51
%68 = call i32 @bit_putcs_unaligned(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %53, i32 noundef %25, i32 noundef %55, i32 noundef %59, i32 noundef %11, i32 noundef %14, ptr noundef nonnull %9, ptr noundef %41, ptr noundef %64) #4
br label %69
69: ; preds = %67, %65
%70 = load i32, ptr %0, align 4, !tbaa !6
%71 = mul nsw i32 %70, %55
%72 = load i32, ptr %29, align 8, !tbaa !22
%73 = add nsw i32 %72, %71
store i32 %73, ptr %29, align 8, !tbaa !22
%74 = sub nsw i32 %54, %55
%75 = sext i32 %55 to i64
%76 = getelementptr inbounds i16, ptr %53, i64 %75
%77 = icmp eq i32 %74, 0
br i1 %77, label %78, label %51, !llvm.loop !29
78: ; preds = %69, %40
%79 = call i64 @unlikely(ptr noundef %41) #4
%80 = icmp eq i64 %79, 0
br i1 %80, label %83, label %81
81: ; preds = %78
%82 = call i32 @kfree(ptr noundef %41) #4
br label %83
83: ; preds = %78, %81, %36
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #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 @DIV_ROUND_UP(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @get_attribute(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @scr_readw(ptr noundef) local_unnamed_addr #2
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @fb_get_buffer_offset(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bit_putcs_aligned(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @bit_putcs_unaligned(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @unlikely(ptr noundef) 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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #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 nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"vc_data", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!7, !9, i64 4}
!13 = !{!14, !9, i64 0}
!14 = !{!"fb_info", !15, i64 0}
!15 = !{!"TYPE_4__", !9, i64 0, !9, i64 4, !9, i64 8}
!16 = !{!14, !9, i64 4}
!17 = !{!14, !9, i64 8}
!18 = !{!19, !9, i64 0}
!19 = !{!"fb_image", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20, !9, i64 24, !20, i64 32}
!20 = !{!"any pointer", !10, i64 0}
!21 = !{!19, !9, i64 4}
!22 = !{!19, !9, i64 8}
!23 = !{!19, !9, i64 12}
!24 = !{!19, !9, i64 16}
!25 = !{!19, !9, i64 20}
!26 = !{!9, !9, i64 0}
!27 = !{!19, !9, i64 24}
!28 = !{!19, !20, i64 32}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
| linux_drivers_video_fbdev_core_extr_bitblit.c_bit_putcs |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_htc_pipe.c_htc_alloc_txctrl_packet.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_htc_pipe.c_htc_alloc_txctrl_packet.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 @htc_alloc_txctrl_packet], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @htc_alloc_txctrl_packet(ptr nocapture readnone %0) #0 {
%2 = tail call ptr (...) @build_htc_txctrl_packet() #2
ret ptr %2
}
declare ptr @build_htc_txctrl_packet(...) 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/wireless/ath/ath6kl/extr_htc_pipe.c_htc_alloc_txctrl_packet.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_htc_pipe.c_htc_alloc_txctrl_packet.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 @htc_alloc_txctrl_packet], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @htc_alloc_txctrl_packet(ptr nocapture readnone %0) #0 {
%2 = tail call ptr @build_htc_txctrl_packet() #2
ret ptr %2
}
declare ptr @build_htc_txctrl_packet(...) 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_wireless_ath_ath6kl_extr_htc_pipe.c_htc_alloc_txctrl_packet |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/unix/extr_unix_shared.c_Sys_XTimeToSysTime.c'
source_filename = "AnghaBench/Quake-III-Arena/code/unix/extr_unix_shared.c_Sys_XTimeToSysTime.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"
@in_subframe = dso_local local_unnamed_addr global ptr null, align 8
@sys_timeBase = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @Sys_XTimeToSysTime(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @in_subframe, align 8, !tbaa !5
%3 = load i32, ptr %2, align 4, !tbaa !9
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 (...) @Sys_Milliseconds() #2
br label %16
7: ; preds = %1
%8 = load i32, ptr @sys_timeBase, align 4, !tbaa !12
%9 = mul i32 %8, -1000
%10 = trunc i64 %0 to i32
%11 = add i32 %9, %10
%12 = tail call i32 (...) @Sys_Milliseconds() #2
%13 = sub nsw i32 %12, %11
%14 = icmp ugt i32 %13, 30
%15 = select i1 %14, i32 %12, i32 %11
br label %16
16: ; preds = %7, %5
%17 = phi i32 [ %6, %5 ], [ %15, %7 ]
ret i32 %17
}
declare i32 @Sys_Milliseconds(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/unix/extr_unix_shared.c_Sys_XTimeToSysTime.c'
source_filename = "AnghaBench/Quake-III-Arena/code/unix/extr_unix_shared.c_Sys_XTimeToSysTime.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@in_subframe = common local_unnamed_addr global ptr null, align 8
@sys_timeBase = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @Sys_XTimeToSysTime(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @in_subframe, align 8, !tbaa !6
%3 = load i32, ptr %2, align 4, !tbaa !10
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = tail call i32 @Sys_Milliseconds() #2
br label %16
7: ; preds = %1
%8 = load i32, ptr @sys_timeBase, align 4, !tbaa !13
%9 = mul i32 %8, -1000
%10 = trunc i64 %0 to i32
%11 = add i32 %9, %10
%12 = tail call i32 @Sys_Milliseconds() #2
%13 = sub nsw i32 %12, %11
%14 = icmp ugt i32 %13, 30
%15 = select i1 %14, i32 %12, i32 %11
br label %16
16: ; preds = %7, %5
%17 = phi i32 [ %6, %5 ], [ %15, %7 ]
ret i32 %17
}
declare i32 @Sys_Milliseconds(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| Quake-III-Arena_code_unix_extr_unix_shared.c_Sys_XTimeToSysTime |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cse.c_rest_of_handle_cse2.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cse.c_rest_of_handle_cse2.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"
@dump_file = dso_local local_unnamed_addr global i64 0, align 8
@dump_flags = dso_local local_unnamed_addr global i32 0, align 4
@TV_JUMP = dso_local local_unnamed_addr global i32 0, align 4
@CLEANUP_EXPENSIVE = dso_local local_unnamed_addr global i32 0, align 4
@cse_not_expected = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rest_of_handle_cse2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @rest_of_handle_cse2() #0 {
%1 = load i64, ptr @dump_file, align 8, !tbaa !5
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = load i32, ptr @dump_flags, align 4, !tbaa !9
%5 = tail call i32 @dump_flow_info(i64 noundef %1, i32 noundef %4) #2
br label %6
6: ; preds = %3, %0
%7 = tail call i32 (...) @get_insns() #2
%8 = tail call i32 (...) @max_reg_num() #2
%9 = tail call i32 @cse_main(i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 (...) @cse_condition_code_reg() #2
%11 = tail call i32 (...) @purge_all_dead_edges() #2
%12 = tail call i32 (...) @get_insns() #2
%13 = tail call i32 (...) @max_reg_num() #2
%14 = tail call i32 @delete_trivially_dead_insns(i32 noundef %12, i32 noundef %13) #2
%15 = icmp eq i32 %9, 0
br i1 %15, label %26, label %16
16: ; preds = %6
%17 = load i32, ptr @TV_JUMP, align 4, !tbaa !9
%18 = tail call i32 @timevar_push(i32 noundef %17) #2
%19 = tail call i32 (...) @get_insns() #2
%20 = tail call i32 @rebuild_jump_labels(i32 noundef %19) #2
%21 = tail call i32 (...) @delete_dead_jumptables() #2
%22 = load i32, ptr @CLEANUP_EXPENSIVE, align 4, !tbaa !9
%23 = tail call i32 @cleanup_cfg(i32 noundef %22) #2
%24 = load i32, ptr @TV_JUMP, align 4, !tbaa !9
%25 = tail call i32 @timevar_pop(i32 noundef %24) #2
br label %26
26: ; preds = %16, %6
%27 = tail call i32 (...) @get_insns() #2
%28 = tail call i32 (...) @max_reg_num() #2
%29 = tail call i32 @reg_scan(i32 noundef %27, i32 noundef %28) #2
store i32 1, ptr @cse_not_expected, align 4, !tbaa !9
ret i32 0
}
declare i32 @dump_flow_info(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cse_main(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_insns(...) local_unnamed_addr #1
declare i32 @max_reg_num(...) local_unnamed_addr #1
declare i32 @cse_condition_code_reg(...) local_unnamed_addr #1
declare i32 @purge_all_dead_edges(...) local_unnamed_addr #1
declare i32 @delete_trivially_dead_insns(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @timevar_push(i32 noundef) local_unnamed_addr #1
declare i32 @rebuild_jump_labels(i32 noundef) local_unnamed_addr #1
declare i32 @delete_dead_jumptables(...) local_unnamed_addr #1
declare i32 @cleanup_cfg(i32 noundef) local_unnamed_addr #1
declare i32 @timevar_pop(i32 noundef) local_unnamed_addr #1
declare i32 @reg_scan(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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cse.c_rest_of_handle_cse2.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cse.c_rest_of_handle_cse2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dump_file = common local_unnamed_addr global i64 0, align 8
@dump_flags = common local_unnamed_addr global i32 0, align 4
@TV_JUMP = common local_unnamed_addr global i32 0, align 4
@CLEANUP_EXPENSIVE = common local_unnamed_addr global i32 0, align 4
@cse_not_expected = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rest_of_handle_cse2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @rest_of_handle_cse2() #0 {
%1 = load i64, ptr @dump_file, align 8, !tbaa !6
%2 = icmp eq i64 %1, 0
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = load i32, ptr @dump_flags, align 4, !tbaa !10
%5 = tail call i32 @dump_flow_info(i64 noundef %1, i32 noundef %4) #2
br label %6
6: ; preds = %3, %0
%7 = tail call i32 @get_insns() #2
%8 = tail call i32 @max_reg_num() #2
%9 = tail call i32 @cse_main(i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 @cse_condition_code_reg() #2
%11 = tail call i32 @purge_all_dead_edges() #2
%12 = tail call i32 @get_insns() #2
%13 = tail call i32 @max_reg_num() #2
%14 = tail call i32 @delete_trivially_dead_insns(i32 noundef %12, i32 noundef %13) #2
%15 = icmp eq i32 %9, 0
br i1 %15, label %26, label %16
16: ; preds = %6
%17 = load i32, ptr @TV_JUMP, align 4, !tbaa !10
%18 = tail call i32 @timevar_push(i32 noundef %17) #2
%19 = tail call i32 @get_insns() #2
%20 = tail call i32 @rebuild_jump_labels(i32 noundef %19) #2
%21 = tail call i32 @delete_dead_jumptables() #2
%22 = load i32, ptr @CLEANUP_EXPENSIVE, align 4, !tbaa !10
%23 = tail call i32 @cleanup_cfg(i32 noundef %22) #2
%24 = load i32, ptr @TV_JUMP, align 4, !tbaa !10
%25 = tail call i32 @timevar_pop(i32 noundef %24) #2
br label %26
26: ; preds = %16, %6
%27 = tail call i32 @get_insns() #2
%28 = tail call i32 @max_reg_num() #2
%29 = tail call i32 @reg_scan(i32 noundef %27, i32 noundef %28) #2
store i32 1, ptr @cse_not_expected, align 4, !tbaa !10
ret i32 0
}
declare i32 @dump_flow_info(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cse_main(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @get_insns(...) local_unnamed_addr #1
declare i32 @max_reg_num(...) local_unnamed_addr #1
declare i32 @cse_condition_code_reg(...) local_unnamed_addr #1
declare i32 @purge_all_dead_edges(...) local_unnamed_addr #1
declare i32 @delete_trivially_dead_insns(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @timevar_push(i32 noundef) local_unnamed_addr #1
declare i32 @rebuild_jump_labels(i32 noundef) local_unnamed_addr #1
declare i32 @delete_dead_jumptables(...) local_unnamed_addr #1
declare i32 @cleanup_cfg(i32 noundef) local_unnamed_addr #1
declare i32 @timevar_pop(i32 noundef) local_unnamed_addr #1
declare i32 @reg_scan(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| freebsd_contrib_gcc_extr_cse.c_rest_of_handle_cse2 |
; ModuleID = 'AnghaBench/mimikatz/modules/rpc/extr_kull_m_rpc_drsr.c_kull_m_rpc_drsr_findAttr.c'
source_filename = "AnghaBench/mimikatz/modules/rpc/extr_kull_m_rpc_drsr.c_kull_m_rpc_drsr_findAttr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, ptr }
%struct.TYPE_5__ = type { i64, i32 }
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i32] [i32 85, i32 110, i32 97, i32 98, i32 108, i32 101, i32 32, i32 116, i32 111, i32 32, i32 103, i32 101, i32 116, i32 32, i32 97, i32 110, i32 32, i32 65, i32 84, i32 84, i32 82, i32 84, i32 89, i32 80, i32 32, i32 102, i32 111, i32 114, i32 32, i32 37, i32 83, i32 10, i32 0], align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @kull_m_rpc_drsr_findAttr(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i32, ptr @FALSE, align 4, !tbaa !5
%6 = call i64 @kull_m_rpc_drsr_MakeAttid(ptr noundef %0, i32 noundef %2, ptr noundef nonnull %4, i32 noundef %5) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %25, label %8
8: ; preds = %3
%9 = load i64, ptr %1, align 8, !tbaa !9
%10 = icmp eq i64 %9, 0
br i1 %10, label %27, label %11
11: ; preds = %8
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = load i64, ptr %4, align 8, !tbaa !14
br label %15
15: ; preds = %11, %22
%16 = phi i64 [ 0, %11 ], [ %23, %22 ]
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i64 %16
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = icmp eq i64 %18, %14
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i64 %16, i32 1
br label %27
22: ; preds = %15
%23 = add nuw i64 %16, 1
%24 = icmp eq i64 %23, %9
br i1 %24, label %27, label %15, !llvm.loop !17
25: ; preds = %3
%26 = call i32 @PRINT_ERROR(ptr noundef nonnull @.str, i32 noundef %2) #3
br label %27
27: ; preds = %22, %8, %20, %25
%28 = phi ptr [ %21, %20 ], [ null, %25 ], [ null, %8 ], [ null, %22 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret ptr %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @kull_m_rpc_drsr_MakeAttid(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PRINT_ERROR(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 = !{!10, !11, i64 0}
!10 = !{!"TYPE_4__", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_5__", !11, i64 0, !6, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/mimikatz/modules/rpc/extr_kull_m_rpc_drsr.c_kull_m_rpc_drsr_findAttr.c'
source_filename = "AnghaBench/mimikatz/modules/rpc/extr_kull_m_rpc_drsr.c_kull_m_rpc_drsr_findAttr.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, i32 }
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i32] [i32 85, i32 110, i32 97, i32 98, i32 108, i32 101, i32 32, i32 116, i32 111, i32 32, i32 103, i32 101, i32 116, i32 32, i32 97, i32 110, i32 32, i32 65, i32 84, i32 84, i32 82, i32 84, i32 89, i32 80, i32 32, i32 102, i32 111, i32 114, i32 32, i32 37, i32 83, i32 10, i32 0], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @kull_m_rpc_drsr_findAttr(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = load i32, ptr @FALSE, align 4, !tbaa !6
%6 = call i64 @kull_m_rpc_drsr_MakeAttid(ptr noundef %0, i32 noundef %2, ptr noundef nonnull %4, i32 noundef %5) #3
%7 = icmp eq i64 %6, 0
br i1 %7, label %25, label %8
8: ; preds = %3
%9 = load i64, ptr %1, align 8, !tbaa !10
%10 = icmp eq i64 %9, 0
br i1 %10, label %27, label %11
11: ; preds = %8
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load i64, ptr %4, align 8, !tbaa !15
br label %15
15: ; preds = %11, %22
%16 = phi i64 [ 0, %11 ], [ %23, %22 ]
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i64 %16
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = icmp eq i64 %18, %14
br i1 %19, label %20, label %22
20: ; preds = %15
%21 = getelementptr inbounds %struct.TYPE_5__, ptr %13, i64 %16, i32 1
br label %27
22: ; preds = %15
%23 = add nuw i64 %16, 1
%24 = icmp eq i64 %23, %9
br i1 %24, label %27, label %15, !llvm.loop !18
25: ; preds = %3
%26 = call i32 @PRINT_ERROR(ptr noundef nonnull @.str, i32 noundef %2) #3
br label %27
27: ; preds = %22, %8, %20, %25
%28 = phi ptr [ %21, %20 ], [ null, %25 ], [ null, %8 ], [ null, %22 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret ptr %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @kull_m_rpc_drsr_MakeAttid(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PRINT_ERROR(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 = !{!11, !12, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"TYPE_5__", !12, i64 0, !7, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| mimikatz_modules_rpc_extr_kull_m_rpc_drsr.c_kull_m_rpc_drsr_findAttr |
; ModuleID = 'AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.c_mpt3sas_base_put_smid_nvme_encap.c'
source_filename = "AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.c_mpt3sas_base_put_smid_nvme_encap.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.MPT3SAS_ADAPTER = type { i32, ptr }
@MPI26_REQ_DESCRIPT_FLAGS_PCIE_ENCAPSULATED = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mpt3sas_base_put_smid_nvme_encap(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @_base_set_and_get_msix_index(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @cpu_to_le16(i32 noundef %1) #2
%5 = getelementptr inbounds %struct.MPT3SAS_ADAPTER, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @_base_writeq(i32 noundef 0, ptr noundef %6, ptr noundef %0) #2
ret void
}
declare i32 @_base_set_and_get_msix_index(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @_base_writeq(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, !10, i64 8}
!6 = !{!"MPT3SAS_ADAPTER", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.c_mpt3sas_base_put_smid_nvme_encap.c'
source_filename = "AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.c_mpt3sas_base_put_smid_nvme_encap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MPI26_REQ_DESCRIPT_FLAGS_PCIE_ENCAPSULATED = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mpt3sas_base_put_smid_nvme_encap(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @_base_set_and_get_msix_index(ptr noundef %0, i32 noundef %1) #2
%4 = tail call i32 @cpu_to_le16(i32 noundef %1) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @_base_writeq(i32 noundef 0, ptr noundef %6, ptr noundef %0) #2
ret void
}
declare i32 @_base_set_and_get_msix_index(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare i32 @_base_writeq(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, !11, i64 8}
!7 = !{!"MPT3SAS_ADAPTER", !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}
| linux_drivers_scsi_mpt3sas_extr_mpt3sas_base.c_mpt3sas_base_put_smid_nvme_encap |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/uhsoctl/extr_uhsoctl.c_at_async_creg.c'
source_filename = "AnghaBench/freebsd/usr.sbin/uhsoctl/extr_uhsoctl.c_at_async_creg.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.ctx = type { i32, i32 }
@.str = private unnamed_addr constant [14 x i8] c"+CREG: %*d,%d\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"+CREG: %d\00", align 1
@timers = dso_local global i32 0, align 4
@tmr_creg = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"AT+COPS?\0D\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @at_async_creg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @at_async_creg(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @sscanf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%5 = icmp eq i32 %4, 1
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = call i32 @sscanf(ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %24
9: ; preds = %6, %2
%10 = load i32, ptr %0, align 4, !tbaa !5
%11 = add i32 %10, -1
%12 = and i32 %11, -5
%13 = icmp eq i32 %12, 0
%14 = select i1 %13, i32 30, i32 1
%15 = load i32, ptr @tmr_creg, align 4, !tbaa !10
%16 = call i32 @tmr_add(ptr noundef nonnull @timers, i32 noundef 1, i32 noundef %14, i32 noundef %15, ptr noundef nonnull %0) #3
%17 = load i32, ptr %0, align 4, !tbaa !5
%18 = load i32, ptr %3, align 4, !tbaa !10
%19 = icmp eq i32 %17, %18
br i1 %19, label %24, label %20
20: ; preds = %9
store i32 %18, ptr %0, align 4, !tbaa !5
%21 = getelementptr inbounds %struct.ctx, ptr %0, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !11
%23 = call i32 @at_cmd_async(i32 noundef %22, ptr noundef nonnull @.str.2) #3
br label %24
24: ; preds = %9, %6, %20
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tmr_add(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @at_cmd_async(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
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 = !{!"ctx", !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 4}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/uhsoctl/extr_uhsoctl.c_at_async_creg.c'
source_filename = "AnghaBench/freebsd/usr.sbin/uhsoctl/extr_uhsoctl.c_at_async_creg.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 [14 x i8] c"+CREG: %*d,%d\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"+CREG: %d\00", align 1
@timers = common global i32 0, align 4
@tmr_creg = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [11 x i8] c"AT+COPS?\0D\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @at_async_creg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @at_async_creg(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @sscanf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%5 = icmp eq i32 %4, 1
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = call i32 @sscanf(ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef nonnull %3) #3
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %24
9: ; preds = %6, %2
%10 = load i32, ptr %0, align 4, !tbaa !6
%11 = add i32 %10, -1
%12 = and i32 %11, -5
%13 = icmp eq i32 %12, 0
%14 = select i1 %13, i32 30, i32 1
%15 = load i32, ptr @tmr_creg, align 4, !tbaa !11
%16 = call i32 @tmr_add(ptr noundef nonnull @timers, i32 noundef 1, i32 noundef %14, i32 noundef %15, ptr noundef nonnull %0) #3
%17 = load i32, ptr %0, align 4, !tbaa !6
%18 = load i32, ptr %3, align 4, !tbaa !11
%19 = icmp eq i32 %17, %18
br i1 %19, label %24, label %20
20: ; preds = %9
store i32 %18, ptr %0, align 4, !tbaa !6
%21 = getelementptr inbounds i8, ptr %0, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !12
%23 = call i32 @at_cmd_async(i32 noundef %22, ptr noundef nonnull @.str.2) #3
br label %24
24: ; preds = %9, %6, %20
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @tmr_add(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @at_cmd_async(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
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 = !{!"ctx", !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 4}
| freebsd_usr.sbin_uhsoctl_extr_uhsoctl.c_at_async_creg |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_pf_table.c_pfr_get_astats.c'
source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_pf_table.c_pfr_get_astats.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.pfr_walktree = type { i32, i32, i32, i32 }
%struct.pfr_kentryworkq = type { i32 }
%struct.pfr_ktable = type { i32, i32, ptr, ptr }
@PFR_FLAG_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@PFR_TFLAG_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@ESRCH = dso_local local_unnamed_addr global i32 0, align 4
@PFRW_GET_ASTATS = dso_local local_unnamed_addr global i32 0, align 4
@pfr_walktree = dso_local local_unnamed_addr global i32 0, align 4
@PFR_FLAG_CLSTATS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"pfr_get_astats: corruption detected (%d).\0A\00", align 1
@ENOTTY = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @pfr_get_astats(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.pfr_walktree, align 4
%6 = alloca %struct.pfr_kentryworkq, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i32 (...) @pf_calendar_time_second() #3
%8 = load i32, ptr @PFR_FLAG_ATOMIC, align 4, !tbaa !5
%9 = tail call i32 @ACCEPT_FLAGS(i32 noundef %3, i32 noundef %8) #3
%10 = tail call i64 @pfr_validate_table(ptr noundef %0, i32 noundef 0, i32 noundef 0) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %4
%13 = load i32, ptr @EINVAL, align 4, !tbaa !5
br label %65
14: ; preds = %4
%15 = tail call ptr @pfr_lookup_table(ptr noundef %0) #3
%16 = icmp eq ptr %15, null
br i1 %16, label %22, label %17
17: ; preds = %14
%18 = load i32, ptr %15, align 8, !tbaa !9
%19 = load i32, ptr @PFR_TFLAG_ACTIVE, align 4, !tbaa !5
%20 = and i32 %19, %18
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %17, %14
%23 = load i32, ptr @ESRCH, align 4, !tbaa !5
br label %65
24: ; preds = %17
%25 = getelementptr inbounds %struct.pfr_ktable, ptr %15, i64 0, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !12
%27 = load i32, ptr %2, align 4, !tbaa !5
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %24
store i32 %26, ptr %2, align 4, !tbaa !5
br label %65
30: ; preds = %24
%31 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 16) #3
%32 = load i32, ptr @PFRW_GET_ASTATS, align 4, !tbaa !5
%33 = getelementptr inbounds %struct.pfr_walktree, ptr %5, i64 0, i32 3
store i32 %32, ptr %33, align 4, !tbaa !13
%34 = getelementptr inbounds %struct.pfr_walktree, ptr %5, i64 0, i32 2
store i32 %1, ptr %34, align 4, !tbaa !15
%35 = load i32, ptr %25, align 4, !tbaa !12
store i32 %35, ptr %5, align 4, !tbaa !16
%36 = getelementptr inbounds %struct.pfr_walktree, ptr %5, i64 0, i32 1
store i32 %3, ptr %36, align 4, !tbaa !17
%37 = getelementptr inbounds %struct.pfr_ktable, ptr %15, i64 0, i32 3
%38 = load ptr, ptr %37, align 8, !tbaa !18
%39 = load ptr, ptr %38, align 8, !tbaa !19
%40 = load i32, ptr @pfr_walktree, align 4, !tbaa !5
%41 = call i32 %39(ptr noundef nonnull %38, i32 noundef %40, ptr noundef nonnull %5) #3
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %65
43: ; preds = %30
%44 = getelementptr inbounds %struct.pfr_ktable, ptr %15, i64 0, i32 2
%45 = load ptr, ptr %44, align 8, !tbaa !21
%46 = load ptr, ptr %45, align 8, !tbaa !22
%47 = load i32, ptr @pfr_walktree, align 4, !tbaa !5
%48 = call i32 %46(ptr noundef nonnull %45, i32 noundef %47, ptr noundef nonnull %5) #3
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %65
50: ; preds = %43
%51 = load i32, ptr @PFR_FLAG_CLSTATS, align 4, !tbaa !5
%52 = and i32 %51, %3
%53 = icmp eq i32 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %50
%55 = call i32 @pfr_enqueue_addrs(ptr noundef nonnull %15, ptr noundef nonnull %6, ptr noundef null, i32 noundef 0) #3
%56 = call i32 @pfr_clstats_kentries(ptr noundef nonnull %6, i32 noundef %7, i32 noundef 0) #3
br label %57
57: ; preds = %50, %54
%58 = load i32, ptr %5, align 4, !tbaa !16
%59 = icmp eq i32 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %57
%61 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %58) #3
%62 = load i32, ptr @ENOTTY, align 4, !tbaa !5
br label %65
63: ; preds = %57
%64 = load i32, ptr %25, align 4, !tbaa !12
store i32 %64, ptr %2, align 4, !tbaa !5
br label %65
65: ; preds = %30, %43, %63, %60, %29, %22, %12
%66 = phi i32 [ %13, %12 ], [ %23, %22 ], [ 0, %29 ], [ %62, %60 ], [ 0, %63 ], [ %48, %43 ], [ %41, %30 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pf_calendar_time_second(...) local_unnamed_addr #2
declare i32 @ACCEPT_FLAGS(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @pfr_validate_table(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @pfr_lookup_table(ptr noundef) local_unnamed_addr #2
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pfr_enqueue_addrs(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pfr_clstats_kentries(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(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 = !{!10, !6, i64 0}
!10 = !{!"pfr_ktable", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 4}
!13 = !{!14, !6, i64 12}
!14 = !{!"pfr_walktree", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!15 = !{!14, !6, i64 8}
!16 = !{!14, !6, i64 0}
!17 = !{!14, !6, i64 4}
!18 = !{!10, !11, i64 16}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_4__", !11, i64 0}
!21 = !{!10, !11, i64 8}
!22 = !{!23, !11, i64 0}
!23 = !{!"TYPE_3__", !11, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_pf_table.c_pfr_get_astats.c'
source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_pf_table.c_pfr_get_astats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pfr_walktree = type { i32, i32, i32, i32 }
%struct.pfr_kentryworkq = type { i32 }
@PFR_FLAG_ATOMIC = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@PFR_TFLAG_ACTIVE = common local_unnamed_addr global i32 0, align 4
@ESRCH = common local_unnamed_addr global i32 0, align 4
@PFRW_GET_ASTATS = common local_unnamed_addr global i32 0, align 4
@pfr_walktree = common local_unnamed_addr global i32 0, align 4
@PFR_FLAG_CLSTATS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [43 x i8] c"pfr_get_astats: corruption detected (%d).\0A\00", align 1
@ENOTTY = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @pfr_get_astats(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca %struct.pfr_walktree, align 4
%6 = alloca %struct.pfr_kentryworkq, align 4
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = tail call i32 @pf_calendar_time_second() #3
%8 = load i32, ptr @PFR_FLAG_ATOMIC, align 4, !tbaa !6
%9 = tail call i32 @ACCEPT_FLAGS(i32 noundef %3, i32 noundef %8) #3
%10 = tail call i64 @pfr_validate_table(ptr noundef %0, i32 noundef 0, i32 noundef 0) #3
%11 = icmp eq i64 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %4
%13 = load i32, ptr @EINVAL, align 4, !tbaa !6
br label %65
14: ; preds = %4
%15 = tail call ptr @pfr_lookup_table(ptr noundef %0) #3
%16 = icmp eq ptr %15, null
br i1 %16, label %22, label %17
17: ; preds = %14
%18 = load i32, ptr %15, align 8, !tbaa !10
%19 = load i32, ptr @PFR_TFLAG_ACTIVE, align 4, !tbaa !6
%20 = and i32 %19, %18
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %17, %14
%23 = load i32, ptr @ESRCH, align 4, !tbaa !6
br label %65
24: ; preds = %17
%25 = getelementptr inbounds i8, ptr %15, i64 4
%26 = load i32, ptr %25, align 4, !tbaa !13
%27 = load i32, ptr %2, align 4, !tbaa !6
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %30
29: ; preds = %24
store i32 %26, ptr %2, align 4, !tbaa !6
br label %65
30: ; preds = %24
%31 = call i32 @bzero(ptr noundef nonnull %5, i32 noundef 16) #3
%32 = load i32, ptr @PFRW_GET_ASTATS, align 4, !tbaa !6
%33 = getelementptr inbounds i8, ptr %5, i64 12
store i32 %32, ptr %33, align 4, !tbaa !14
%34 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %1, ptr %34, align 4, !tbaa !16
%35 = load i32, ptr %25, align 4, !tbaa !13
store i32 %35, ptr %5, align 4, !tbaa !17
%36 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %3, ptr %36, align 4, !tbaa !18
%37 = getelementptr inbounds i8, ptr %15, i64 16
%38 = load ptr, ptr %37, align 8, !tbaa !19
%39 = load ptr, ptr %38, align 8, !tbaa !20
%40 = load i32, ptr @pfr_walktree, align 4, !tbaa !6
%41 = call i32 %39(ptr noundef nonnull %38, i32 noundef %40, ptr noundef nonnull %5) #3
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %65
43: ; preds = %30
%44 = getelementptr inbounds i8, ptr %15, i64 8
%45 = load ptr, ptr %44, align 8, !tbaa !22
%46 = load ptr, ptr %45, align 8, !tbaa !23
%47 = load i32, ptr @pfr_walktree, align 4, !tbaa !6
%48 = call i32 %46(ptr noundef nonnull %45, i32 noundef %47, ptr noundef nonnull %5) #3
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %65
50: ; preds = %43
%51 = load i32, ptr @PFR_FLAG_CLSTATS, align 4, !tbaa !6
%52 = and i32 %51, %3
%53 = icmp eq i32 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %50
%55 = call i32 @pfr_enqueue_addrs(ptr noundef nonnull %15, ptr noundef nonnull %6, ptr noundef null, i32 noundef 0) #3
%56 = call i32 @pfr_clstats_kentries(ptr noundef nonnull %6, i32 noundef %7, i32 noundef 0) #3
br label %57
57: ; preds = %50, %54
%58 = load i32, ptr %5, align 4, !tbaa !17
%59 = icmp eq i32 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %57
%61 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %58) #3
%62 = load i32, ptr @ENOTTY, align 4, !tbaa !6
br label %65
63: ; preds = %57
%64 = load i32, ptr %25, align 4, !tbaa !13
store i32 %64, ptr %2, align 4, !tbaa !6
br label %65
65: ; preds = %30, %43, %63, %60, %29, %22, %12
%66 = phi i32 [ %13, %12 ], [ %23, %22 ], [ 0, %29 ], [ %62, %60 ], [ 0, %63 ], [ %48, %43 ], [ %41, %30 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pf_calendar_time_second(...) local_unnamed_addr #2
declare i32 @ACCEPT_FLAGS(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @pfr_validate_table(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @pfr_lookup_table(ptr noundef) local_unnamed_addr #2
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pfr_enqueue_addrs(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pfr_clstats_kentries(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(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 = !{!11, !7, i64 0}
!11 = !{!"pfr_ktable", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !7, i64 4}
!14 = !{!15, !7, i64 12}
!15 = !{!"pfr_walktree", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!16 = !{!15, !7, i64 8}
!17 = !{!15, !7, i64 0}
!18 = !{!15, !7, i64 4}
!19 = !{!11, !12, i64 16}
!20 = !{!21, !12, i64 0}
!21 = !{!"TYPE_4__", !12, i64 0}
!22 = !{!11, !12, i64 8}
!23 = !{!24, !12, i64 0}
!24 = !{!"TYPE_3__", !12, i64 0}
| darwin-xnu_bsd_net_extr_pf_table.c_pfr_get_astats |
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_mcast.c_mld_process_v1.c'
source_filename = "AnghaBench/linux/net/ipv6/extr_mcast.c_mld_process_v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@MLDV1_MRD_MAX_COMPAT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mld_process_v1], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mld_process_v1(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #0 {
%5 = tail call i64 @mld_in_v2_mode_only(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i32, ptr @EINVAL, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %27
10: ; preds = %4
%11 = load i32, ptr %1, align 4, !tbaa !9
%12 = tail call i64 @ntohs(i32 noundef %11) #2
%13 = icmp eq i32 %3, 0
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr @MLDV1_MRD_MAX_COMPAT, align 4, !tbaa !5
%16 = tail call i64 @min(i64 noundef %12, i32 noundef %15) #2
%17 = tail call i32 @msecs_to_jiffies(i64 noundef %16) #2
%18 = tail call i64 @max(i32 noundef %17, i64 noundef 1) #2
store i64 %18, ptr %2, align 8, !tbaa !11
br label %23
19: ; preds = %10
%20 = tail call i32 @msecs_to_jiffies(i64 noundef %12) #2
%21 = tail call i64 @max(i32 noundef %20, i64 noundef 1) #2
store i64 %21, ptr %2, align 8, !tbaa !11
%22 = tail call i32 @mld_set_v1_mode(ptr noundef %0) #2
br label %23
23: ; preds = %14, %19
%24 = tail call i32 @mld_gq_stop_timer(ptr noundef %0) #2
%25 = tail call i32 @mld_ifc_stop_timer(ptr noundef %0) #2
%26 = tail call i32 @mld_clear_delrec(ptr noundef %0) #2
br label %27
27: ; preds = %23, %7
%28 = phi i32 [ %9, %7 ], [ 0, %23 ]
ret i32 %28
}
declare i64 @mld_in_v2_mode_only(ptr noundef) local_unnamed_addr #1
declare i64 @ntohs(i32 noundef) local_unnamed_addr #1
declare i64 @min(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @max(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @msecs_to_jiffies(i64 noundef) local_unnamed_addr #1
declare i32 @mld_set_v1_mode(ptr noundef) local_unnamed_addr #1
declare i32 @mld_gq_stop_timer(ptr noundef) local_unnamed_addr #1
declare i32 @mld_ifc_stop_timer(ptr noundef) local_unnamed_addr #1
declare i32 @mld_clear_delrec(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, !6, i64 0}
!10 = !{!"mld_msg", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/ipv6/extr_mcast.c_mld_process_v1.c'
source_filename = "AnghaBench/linux/net/ipv6/extr_mcast.c_mld_process_v1.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
@MLDV1_MRD_MAX_COMPAT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mld_process_v1], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @mld_process_v1(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #0 {
%5 = tail call i64 @mld_in_v2_mode_only(ptr noundef %0) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = load i32, ptr @EINVAL, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %27
10: ; preds = %4
%11 = load i32, ptr %1, align 4, !tbaa !10
%12 = tail call i64 @ntohs(i32 noundef %11) #2
%13 = icmp eq i32 %3, 0
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr @MLDV1_MRD_MAX_COMPAT, align 4, !tbaa !6
%16 = tail call i64 @min(i64 noundef %12, i32 noundef %15) #2
%17 = tail call i32 @msecs_to_jiffies(i64 noundef %16) #2
%18 = tail call i64 @max(i32 noundef %17, i64 noundef 1) #2
store i64 %18, ptr %2, align 8, !tbaa !12
br label %23
19: ; preds = %10
%20 = tail call i32 @msecs_to_jiffies(i64 noundef %12) #2
%21 = tail call i64 @max(i32 noundef %20, i64 noundef 1) #2
store i64 %21, ptr %2, align 8, !tbaa !12
%22 = tail call i32 @mld_set_v1_mode(ptr noundef %0) #2
br label %23
23: ; preds = %14, %19
%24 = tail call i32 @mld_gq_stop_timer(ptr noundef %0) #2
%25 = tail call i32 @mld_ifc_stop_timer(ptr noundef %0) #2
%26 = tail call i32 @mld_clear_delrec(ptr noundef %0) #2
br label %27
27: ; preds = %23, %7
%28 = phi i32 [ %9, %7 ], [ 0, %23 ]
ret i32 %28
}
declare i64 @mld_in_v2_mode_only(ptr noundef) local_unnamed_addr #1
declare i64 @ntohs(i32 noundef) local_unnamed_addr #1
declare i64 @min(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @max(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @msecs_to_jiffies(i64 noundef) local_unnamed_addr #1
declare i32 @mld_set_v1_mode(ptr noundef) local_unnamed_addr #1
declare i32 @mld_gq_stop_timer(ptr noundef) local_unnamed_addr #1
declare i32 @mld_ifc_stop_timer(ptr noundef) local_unnamed_addr #1
declare i32 @mld_clear_delrec(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, !7, i64 0}
!11 = !{!"mld_msg", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
| linux_net_ipv6_extr_mcast.c_mld_process_v1 |
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_fossildelta.c_deltaparsevtabDisconnect.c'
source_filename = "AnghaBench/sqlcipher/ext/misc/extr_fossildelta.c_deltaparsevtabDisconnect.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"
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @deltaparsevtabDisconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @deltaparsevtabDisconnect(ptr noundef %0) #0 {
%2 = tail call i32 @sqlite3_free(ptr noundef %0) #2
%3 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5
ret i32 %3
}
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_fossildelta.c_deltaparsevtabDisconnect.c'
source_filename = "AnghaBench/sqlcipher/ext/misc/extr_fossildelta.c_deltaparsevtabDisconnect.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 @deltaparsevtabDisconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @deltaparsevtabDisconnect(ptr noundef %0) #0 {
%2 = tail call i32 @sqlite3_free(ptr noundef %0) #2
%3 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6
ret i32 %3
}
declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| sqlcipher_ext_misc_extr_fossildelta.c_deltaparsevtabDisconnect |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_solib_address.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_solib_address.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.so_list = type { ptr, ptr, ptr, ptr }
%struct.section_table = type { i64, i64 }
@so_list_head = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define dso_local ptr @solib_address(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @so_list_head, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %28, label %4
4: ; preds = %1, %24
%5 = phi ptr [ %26, %24 ], [ %2, %1 ]
%6 = getelementptr inbounds %struct.so_list, ptr %5, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.so_list, ptr %5, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = icmp ult ptr %7, %9
br i1 %10, label %11, label %24
11: ; preds = %4, %21
%12 = phi ptr [ %22, %21 ], [ %7, %4 ]
%13 = load i64, ptr %12, align 8, !tbaa !12
%14 = icmp sgt i64 %13, %0
br i1 %14, label %21, label %15
15: ; preds = %11
%16 = getelementptr inbounds %struct.section_table, ptr %12, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = icmp sgt i64 %17, %0
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = load ptr, ptr %5, align 8, !tbaa !16
br label %28
21: ; preds = %11, %15
%22 = getelementptr inbounds %struct.section_table, ptr %12, i64 1
%23 = icmp ult ptr %22, %9
br i1 %23, label %11, label %24, !llvm.loop !17
24: ; preds = %21, %4
%25 = getelementptr inbounds %struct.so_list, ptr %5, i64 0, i32 3
%26 = load ptr, ptr %25, align 8, !tbaa !5
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %4, !llvm.loop !19
28: ; preds = %24, %1, %19
%29 = phi ptr [ %20, %19 ], [ null, %1 ], [ null, %24 ]
ret ptr %29
}
attributes #0 = { nofree norecurse nosync nounwind 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"so_list", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"section_table", !14, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!10, !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_solib_address.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_solib.c_solib_address.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@so_list_head = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define ptr @solib_address(i64 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @so_list_head, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %28, label %4
4: ; preds = %1, %24
%5 = phi ptr [ %26, %24 ], [ %2, %1 ]
%6 = getelementptr inbounds i8, ptr %5, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %5, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = icmp ult ptr %7, %9
br i1 %10, label %11, label %24
11: ; preds = %4, %21
%12 = phi ptr [ %22, %21 ], [ %7, %4 ]
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = icmp sgt i64 %13, %0
br i1 %14, label %21, label %15
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %12, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = icmp sgt i64 %17, %0
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = load ptr, ptr %5, align 8, !tbaa !17
br label %28
21: ; preds = %11, %15
%22 = getelementptr inbounds i8, ptr %12, i64 16
%23 = icmp ult ptr %22, %9
br i1 %23, label %11, label %24, !llvm.loop !18
24: ; preds = %21, %4
%25 = getelementptr inbounds i8, ptr %5, i64 24
%26 = load ptr, ptr %25, align 8, !tbaa !6
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %4, !llvm.loop !20
28: ; preds = %24, %1, %19
%29 = phi ptr [ %20, %19 ], [ null, %1 ], [ null, %24 ]
ret ptr %29
}
attributes #0 = { nofree norecurse nosync nounwind ssp 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, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"so_list", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!12 = !{!11, !7, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"section_table", !15, i64 0, !15, i64 8}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!11, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
| freebsd_contrib_gdb_gdb_extr_solib.c_solib_address |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-video.c_cx231xx_vdev_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-video.c_cx231xx_vdev_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.cx231xx = type { ptr, i32, i32 }
%struct.video_device = type { i32, i32, i32, ptr }
@video_device_release = dso_local local_unnamed_addr global i32 0, align 4
@video_debug = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cx231xx_vdev_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @cx231xx_vdev_init(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = tail call ptr (...) @video_device_alloc() #3
%5 = icmp eq ptr %4, null
br i1 %5, label %21, label %6
6: ; preds = %3
%7 = tail call ptr @video_device_shadow_get(ptr noundef nonnull %4) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %21, label %9
9: ; preds = %6
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 16, i1 false), !tbaa.struct !5
%10 = getelementptr inbounds %struct.cx231xx, ptr %0, i64 0, i32 2
%11 = getelementptr inbounds %struct.video_device, ptr %4, i64 0, i32 3
store ptr %10, ptr %11, align 8, !tbaa !12
%12 = load i32, ptr @video_device_release, align 4, !tbaa !6
%13 = getelementptr inbounds %struct.video_device, ptr %4, i64 0, i32 2
store i32 %12, ptr %13, align 8, !tbaa !14
%14 = load i32, ptr @video_debug, align 4, !tbaa !6
%15 = getelementptr inbounds %struct.video_device, ptr %4, i64 0, i32 1
store i32 %14, ptr %15, align 4, !tbaa !15
%16 = getelementptr inbounds %struct.cx231xx, ptr %0, i64 0, i32 1
store ptr %16, ptr %7, align 8, !tbaa !16
%17 = load i32, ptr %4, align 8, !tbaa !18
%18 = load ptr, ptr %0, align 8, !tbaa !19
%19 = tail call i32 @snprintf(i32 noundef %17, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef %18, ptr noundef %2) #3
%20 = tail call i32 @video_set_drvdata(ptr noundef nonnull %4, ptr noundef nonnull %0) #3
br label %21
21: ; preds = %6, %3, %9
%22 = phi ptr [ %4, %9 ], [ null, %3 ], [ null, %6 ]
ret ptr %22
}
declare ptr @video_device_alloc(...) local_unnamed_addr #1
declare ptr @video_device_shadow_get(ptr 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 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @video_set_drvdata(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 = { 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 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6, i64 16, i64 8, !10}
!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 16}
!13 = !{!"video_device", !7, i64 0, !7, i64 4, !7, i64 8, !11, i64 16}
!14 = !{!13, !7, i64 8}
!15 = !{!13, !7, i64 4}
!16 = !{!17, !11, i64 0}
!17 = !{!"video_device_shadow", !11, i64 0}
!18 = !{!13, !7, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"cx231xx", !11, i64 0, !7, i64 8, !7, i64 12}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-video.c_cx231xx_vdev_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/cx231xx/extr_cx231xx-video.c_cx231xx_vdev_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@video_device_release = common local_unnamed_addr global i32 0, align 4
@video_debug = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cx231xx_vdev_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @cx231xx_vdev_init(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 {
%4 = tail call ptr @video_device_alloc() #3
%5 = icmp eq ptr %4, null
br i1 %5, label %21, label %6
6: ; preds = %3
%7 = tail call ptr @video_device_shadow_get(ptr noundef nonnull %4) #3
%8 = icmp eq ptr %7, null
br i1 %8, label %21, label %9
9: ; preds = %6
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 16, i1 false), !tbaa.struct !6
%10 = getelementptr inbounds i8, ptr %0, i64 12
%11 = getelementptr inbounds i8, ptr %4, i64 16
store ptr %10, ptr %11, align 8, !tbaa !13
%12 = load i32, ptr @video_device_release, align 4, !tbaa !7
%13 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %12, ptr %13, align 8, !tbaa !15
%14 = load i32, ptr @video_debug, align 4, !tbaa !7
%15 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %14, ptr %15, align 4, !tbaa !16
%16 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %16, ptr %7, align 8, !tbaa !17
%17 = load i32, ptr %4, align 8, !tbaa !19
%18 = load ptr, ptr %0, align 8, !tbaa !20
%19 = tail call i32 @snprintf(i32 noundef %17, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef %18, ptr noundef %2) #3
%20 = tail call i32 @video_set_drvdata(ptr noundef nonnull %4, ptr noundef nonnull %0) #3
br label %21
21: ; preds = %6, %3, %9
%22 = phi ptr [ %4, %9 ], [ null, %3 ], [ null, %6 ]
ret ptr %22
}
declare ptr @video_device_alloc(...) local_unnamed_addr #1
declare ptr @video_device_shadow_get(ptr 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 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @video_set_drvdata(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 = { 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 = !{i64 0, i64 4, !7, i64 4, i64 4, !7, i64 8, i64 4, !7, i64 16, i64 8, !11}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"video_device", !8, i64 0, !8, i64 4, !8, i64 8, !12, i64 16}
!15 = !{!14, !8, i64 8}
!16 = !{!14, !8, i64 4}
!17 = !{!18, !12, i64 0}
!18 = !{!"video_device_shadow", !12, i64 0}
!19 = !{!14, !8, i64 0}
!20 = !{!21, !12, i64 0}
!21 = !{!"cx231xx", !12, i64 0, !8, i64 8, !8, i64 12}
| fastsocket_kernel_drivers_media_video_cx231xx_extr_cx231xx-video.c_cx231xx_vdev_init |
; ModuleID = 'AnghaBench/linux/drivers/perf/extr_qcom_l2_pmu.c_cluster_pmu_counter_enable_interrupt.c'
source_filename = "AnghaBench/linux/drivers/perf/extr_qcom_l2_pmu.c_cluster_pmu_counter_enable_interrupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@L2PMINTENSET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cluster_pmu_counter_enable_interrupt], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cluster_pmu_counter_enable_interrupt(i32 noundef %0) #0 {
%2 = load i32, ptr @L2PMINTENSET, align 4, !tbaa !5
%3 = tail call i32 @idx_to_reg_bit(i32 noundef %0) #2
%4 = tail call i32 @set_l2_indirect_reg(i32 noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @set_l2_indirect_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @idx_to_reg_bit(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"}
| ; ModuleID = 'AnghaBench/linux/drivers/perf/extr_qcom_l2_pmu.c_cluster_pmu_counter_enable_interrupt.c'
source_filename = "AnghaBench/linux/drivers/perf/extr_qcom_l2_pmu.c_cluster_pmu_counter_enable_interrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@L2PMINTENSET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cluster_pmu_counter_enable_interrupt], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cluster_pmu_counter_enable_interrupt(i32 noundef %0) #0 {
%2 = load i32, ptr @L2PMINTENSET, align 4, !tbaa !6
%3 = tail call i32 @idx_to_reg_bit(i32 noundef %0) #2
%4 = tail call i32 @set_l2_indirect_reg(i32 noundef %2, i32 noundef %3) #2
ret void
}
declare i32 @set_l2_indirect_reg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @idx_to_reg_bit(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"}
| linux_drivers_perf_extr_qcom_l2_pmu.c_cluster_pmu_counter_enable_interrupt |
; ModuleID = 'AnghaBench/exploitdb/exploits/macos/dos/extr_43319.c_do_leak.c'
source_filename = "AnghaBench/exploitdb/exploits/macos/dos/extr_43319.c_do_leak.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.rusage = type { i32 }
@do_leak.ru = internal global %struct.rusage zeroinitializer, align 4
@RUSAGE_SELF = dso_local local_unnamed_addr global i32 0, align 4
@do_leak.leak1 = internal global i32 0, align 4
@do_leak.leak2 = internal global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"leak1: 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"leak2: 0x%08x\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @do_leak() local_unnamed_addr #0 {
%1 = alloca [1000 x i8], align 16
%2 = load i32, ptr @RUSAGE_SELF, align 4, !tbaa !5
%3 = tail call i32 @getrusage(i32 noundef %2, ptr noundef nonnull @do_leak.ru) #3
%4 = tail call i32 @memcpy(ptr noundef nonnull @do_leak.leak1, ptr noundef nonnull getelementptr inbounds (%struct.rusage, ptr @do_leak.ru, i64 3, i32 0), i32 noundef 4) #3
%5 = tail call i32 @memcpy(ptr noundef nonnull @do_leak.leak2, ptr noundef nonnull getelementptr inbounds (%struct.rusage, ptr @do_leak.ru, i64 7, i32 0), i32 noundef 4) #3
call void @llvm.lifetime.start.p0(i64 1000, ptr nonnull %1) #3
%6 = load i32, ptr @do_leak.leak1, align 4, !tbaa !5
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %0
%9 = call i32 @sprintf(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef %6) #3
%10 = call i32 @strlen(ptr noundef nonnull %1) #3
%11 = call i32 @write(i32 noundef 1, ptr noundef nonnull %1, i32 noundef %10) #3
br label %12
12: ; preds = %8, %0
%13 = load i32, ptr @do_leak.leak2, align 4, !tbaa !5
%14 = icmp eq i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = call i32 @sprintf(ptr noundef nonnull %1, ptr noundef nonnull @.str.1, i32 noundef %13) #3
%17 = call i32 @strlen(ptr noundef nonnull %1) #3
%18 = call i32 @write(i32 noundef 1, ptr noundef nonnull %1, i32 noundef %17) #3
br label %19
19: ; preds = %15, %12
call void @llvm.lifetime.end.p0(i64 1000, ptr nonnull %1) #3
ret void
}
declare i32 @getrusage(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/macos/dos/extr_43319.c_do_leak.c'
source_filename = "AnghaBench/exploitdb/exploits/macos/dos/extr_43319.c_do_leak.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.rusage = type { i32 }
@do_leak.ru = internal global %struct.rusage zeroinitializer, align 4
@RUSAGE_SELF = common local_unnamed_addr global i32 0, align 4
@do_leak.leak1 = internal global i32 0, align 4
@do_leak.leak2 = internal global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"leak1: 0x%08x\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"leak2: 0x%08x\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @do_leak() local_unnamed_addr #0 {
%1 = alloca [1000 x i8], align 1
%2 = load i32, ptr @RUSAGE_SELF, align 4, !tbaa !6
%3 = tail call i32 @getrusage(i32 noundef %2, ptr noundef nonnull @do_leak.ru) #3
%4 = tail call i32 @memcpy(ptr noundef nonnull @do_leak.leak1, ptr noundef nonnull getelementptr inbounds (i8, ptr @do_leak.ru, i64 12), i32 noundef 4) #3
%5 = tail call i32 @memcpy(ptr noundef nonnull @do_leak.leak2, ptr noundef nonnull getelementptr inbounds (i8, ptr @do_leak.ru, i64 28), i32 noundef 4) #3
call void @llvm.lifetime.start.p0(i64 1000, ptr nonnull %1) #3
%6 = load i32, ptr @do_leak.leak1, align 4, !tbaa !6
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %0
%9 = call i32 @sprintf(ptr noundef nonnull %1, ptr noundef nonnull @.str, i32 noundef %6) #3
%10 = call i32 @strlen(ptr noundef nonnull %1) #3
%11 = call i32 @write(i32 noundef 1, ptr noundef nonnull %1, i32 noundef %10) #3
br label %12
12: ; preds = %8, %0
%13 = load i32, ptr @do_leak.leak2, align 4, !tbaa !6
%14 = icmp eq i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = call i32 @sprintf(ptr noundef nonnull %1, ptr noundef nonnull @.str.1, i32 noundef %13) #3
%17 = call i32 @strlen(ptr noundef nonnull %1) #3
%18 = call i32 @write(i32 noundef 1, ptr noundef nonnull %1, i32 noundef %17) #3
br label %19
19: ; preds = %15, %12
call void @llvm.lifetime.end.p0(i64 1000, ptr nonnull %1) #3
ret void
}
declare i32 @getrusage(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| exploitdb_exploits_macos_dos_extr_43319.c_do_leak |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_cs.c_csproc_forced_lv.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_cs.c_csproc_forced_lv.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"
@CS_FORCED_LV = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @csproc_forced_lv(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %3, label %6
3: ; preds = %1
%4 = tail call ptr (...) @current_proc() #2
%5 = icmp eq ptr %4, null
br i1 %5, label %12, label %6
6: ; preds = %1, %3
%7 = phi ptr [ %4, %3 ], [ %0, %1 ]
%8 = load i32, ptr %7, align 4, !tbaa !5
%9 = load i32, ptr @CS_FORCED_LV, align 4, !tbaa !10
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %6, %3
br label %13
13: ; preds = %6, %12
%14 = phi i32 [ 0, %12 ], [ 1, %6 ]
ret i32 %14
}
declare ptr @current_proc(...) 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 = !{!"proc", !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/darwin-xnu/bsd/kern/extr_kern_cs.c_csproc_forced_lv.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_cs.c_csproc_forced_lv.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CS_FORCED_LV = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @csproc_forced_lv(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %3, label %6
3: ; preds = %1
%4 = tail call ptr @current_proc() #2
%5 = icmp eq ptr %4, null
br i1 %5, label %12, label %6
6: ; preds = %1, %3
%7 = phi ptr [ %4, %3 ], [ %0, %1 ]
%8 = load i32, ptr %7, align 4, !tbaa !6
%9 = load i32, ptr @CS_FORCED_LV, align 4, !tbaa !11
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %6, %3
br label %13
13: ; preds = %6, %12
%14 = phi i32 [ 0, %12 ], [ 1, %6 ]
ret i32 %14
}
declare ptr @current_proc(...) 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 = !{!"proc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| darwin-xnu_bsd_kern_extr_kern_cs.c_csproc_forced_lv |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_snmp_parse_get_resp.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_snmp_parse_get_resp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64 }
%struct.snmp_pdu = type { i64, ptr }
%struct.TYPE_3__ = type { i64, i32 }
@.str = private unnamed_addr constant [20 x i8] c"Bad OID in response\00", align 1
@snmp_client = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@SNMP_V1 = dso_local local_unnamed_addr global i64 0, align 8
@SNMP_SYNTAX_NOSUCHOBJECT = dso_local local_unnamed_addr global i64 0, align 8
@SNMP_SYNTAX_NOSUCHINSTANCE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @snmp_parse_get_resp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
br i1 %4, label %35, label %5
5: ; preds = %2
%6 = getelementptr inbounds %struct.snmp_pdu, ptr %1, i64 0, i32 1
%7 = getelementptr inbounds %struct.snmp_pdu, ptr %0, i64 0, i32 1
br label %8
8: ; preds = %5, %31
%9 = phi i64 [ 0, %5 ], [ %32, %31 ]
%10 = load ptr, ptr %6, align 8, !tbaa !11
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 %9, i32 1
%12 = load ptr, ptr %7, align 8, !tbaa !11
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i64 %9, i32 1
%14 = tail call i64 @asn_compare_oid(ptr noundef nonnull %11, ptr noundef nonnull %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %8
%17 = tail call i32 @warnx(ptr noundef nonnull @.str) #2
br label %35
18: ; preds = %8
%19 = load i64, ptr @snmp_client, align 8, !tbaa !12
%20 = load i64, ptr @SNMP_V1, align 8, !tbaa !14
%21 = icmp eq i64 %19, %20
br i1 %21, label %31, label %22
22: ; preds = %18
%23 = load ptr, ptr %7, align 8, !tbaa !11
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %23, i64 %9
%25 = load i64, ptr %24, align 8, !tbaa !15
%26 = load i64, ptr @SNMP_SYNTAX_NOSUCHOBJECT, align 8, !tbaa !14
%27 = icmp eq i64 %25, %26
%28 = load i64, ptr @SNMP_SYNTAX_NOSUCHINSTANCE, align 8
%29 = icmp eq i64 %25, %28
%30 = select i1 %27, i1 true, i1 %29
br i1 %30, label %35, label %31
31: ; preds = %22, %18
%32 = add nuw i64 %9, 1
%33 = load i64, ptr %1, align 8, !tbaa !5
%34 = icmp ult i64 %32, %33
br i1 %34, label %8, label %35, !llvm.loop !18
35: ; preds = %22, %31, %2, %16
%36 = phi i32 [ -1, %16 ], [ 1, %2 ], [ 0, %22 ], [ 1, %31 ]
ret i32 %36
}
declare i64 @asn_compare_oid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @warnx(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 = !{!"snmp_pdu", !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, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_3__", !7, i64 0, !17, i64 8}
!17 = !{!"int", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_snmp_parse_get_resp.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/extr_bsnmptools.c_snmp_parse_get_resp.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 { i64 }
%struct.TYPE_3__ = type { i64, i32 }
@.str = private unnamed_addr constant [20 x i8] c"Bad OID in response\00", align 1
@snmp_client = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8
@SNMP_V1 = common local_unnamed_addr global i64 0, align 8
@SNMP_SYNTAX_NOSUCHOBJECT = common local_unnamed_addr global i64 0, align 8
@SNMP_SYNTAX_NOSUCHINSTANCE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 2) i32 @snmp_parse_get_resp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
br i1 %4, label %35, label %5
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = getelementptr inbounds i8, ptr %0, i64 8
br label %8
8: ; preds = %5, %31
%9 = phi i64 [ 0, %5 ], [ %32, %31 ]
%10 = load ptr, ptr %6, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 %9, i32 1
%12 = load ptr, ptr %7, align 8, !tbaa !12
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %12, i64 %9, i32 1
%14 = tail call i64 @asn_compare_oid(ptr noundef nonnull %11, ptr noundef nonnull %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %8
%17 = tail call i32 @warnx(ptr noundef nonnull @.str) #2
br label %35
18: ; preds = %8
%19 = load i64, ptr @snmp_client, align 8, !tbaa !13
%20 = load i64, ptr @SNMP_V1, align 8, !tbaa !15
%21 = icmp eq i64 %19, %20
br i1 %21, label %31, label %22
22: ; preds = %18
%23 = load ptr, ptr %7, align 8, !tbaa !12
%24 = getelementptr inbounds %struct.TYPE_3__, ptr %23, i64 %9
%25 = load i64, ptr %24, align 8, !tbaa !16
%26 = load i64, ptr @SNMP_SYNTAX_NOSUCHOBJECT, align 8, !tbaa !15
%27 = icmp eq i64 %25, %26
%28 = load i64, ptr @SNMP_SYNTAX_NOSUCHINSTANCE, align 8
%29 = icmp eq i64 %25, %28
%30 = select i1 %27, i1 true, i1 %29
br i1 %30, label %35, label %31
31: ; preds = %22, %18
%32 = add nuw i64 %9, 1
%33 = load i64, ptr %1, align 8, !tbaa !6
%34 = icmp ult i64 %32, %33
br i1 %34, label %8, label %35, !llvm.loop !19
35: ; preds = %22, %31, %2, %16
%36 = phi i32 [ -1, %16 ], [ 1, %2 ], [ 0, %22 ], [ 1, %31 ]
ret i32 %36
}
declare i64 @asn_compare_oid(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @warnx(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 = !{!"snmp_pdu", !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, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_3__", !8, i64 0, !18, i64 8}
!18 = !{!"int", !9, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.sbin_bsnmpd_tools_libbsnmptools_extr_bsnmptools.c_snmp_parse_get_resp |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_init.c_qib_enable_wc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_init.c_qib_enable_wc.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
; Function Attrs: nounwind uwtable
define weak dso_local i32 @qib_enable_wc(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%3 = sub nsw i32 0, %2
ret i32 %3
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!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/infiniband/hw/qib/extr_qib_init.c_qib_enable_wc.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_init.c_qib_enable_wc.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
; Function Attrs: nounwind ssp uwtable(sync)
define weak i32 @qib_enable_wc(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%3 = sub nsw i32 0, %2
ret i32 %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" }
!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_infiniband_hw_qib_extr_qib_init.c_qib_enable_wc |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_pp.c_lima_pp_hard_reset_poll.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_pp.c_lima_pp_hard_reset_poll.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"
@LIMA_PP_PERF_CNT_0_LIMIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lima_pp_hard_reset_poll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @lima_pp_hard_reset_poll(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @LIMA_PP_PERF_CNT_0_LIMIT, align 4, !tbaa !5
%3 = tail call i32 @pp_write(i32 noundef %2, i32 noundef -1072037888) #2
%4 = load i32, ptr @LIMA_PP_PERF_CNT_0_LIMIT, align 4, !tbaa !5
%5 = tail call i32 @pp_read(i32 noundef %4) #2
%6 = icmp eq i32 %5, -1072037888
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @pp_write(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pp_read(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/lima/extr_lima_pp.c_lima_pp_hard_reset_poll.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_pp.c_lima_pp_hard_reset_poll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LIMA_PP_PERF_CNT_0_LIMIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lima_pp_hard_reset_poll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @lima_pp_hard_reset_poll(ptr nocapture readnone %0) #0 {
%2 = load i32, ptr @LIMA_PP_PERF_CNT_0_LIMIT, align 4, !tbaa !6
%3 = tail call i32 @pp_write(i32 noundef %2, i32 noundef -1072037888) #2
%4 = load i32, ptr @LIMA_PP_PERF_CNT_0_LIMIT, align 4, !tbaa !6
%5 = tail call i32 @pp_read(i32 noundef %4) #2
%6 = icmp eq i32 %5, -1072037888
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @pp_write(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pp_read(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_lima_extr_lima_pp.c_lima_pp_hard_reset_poll |
; ModuleID = 'AnghaBench/systemd/src/core/extr_cgroup.c_cgroup_context_cpu_shares.c'
source_filename = "AnghaBench/systemd/src/core/extr_cgroup.c_cgroup_context_cpu_shares.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 { i64, i64 }
@MANAGER_STARTING = dso_local local_unnamed_addr global i32 0, align 4
@MANAGER_INITIALIZING = dso_local local_unnamed_addr global i32 0, align 4
@CGROUP_CPU_SHARES_INVALID = dso_local local_unnamed_addr global i64 0, align 8
@CGROUP_CPU_SHARES_DEFAULT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @cgroup_context_cpu_shares], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @cgroup_context_cpu_shares(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @MANAGER_STARTING, align 4, !tbaa !5
%4 = load i32, ptr @MANAGER_INITIALIZING, align 4, !tbaa !5
%5 = tail call i64 @IN_SET(i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
%7 = load i64, ptr @CGROUP_CPU_SHARES_INVALID, align 8, !tbaa !9
br i1 %6, label %11, label %8
8: ; preds = %2
%9 = load i64, ptr %0, align 8, !tbaa !11
%10 = icmp eq i64 %9, %7
br i1 %10, label %11, label %17
11: ; preds = %8, %2
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = icmp eq i64 %13, %7
%15 = load i64, ptr @CGROUP_CPU_SHARES_DEFAULT, align 8
%16 = select i1 %14, i64 %15, i64 %13
br label %17
17: ; preds = %11, %8
%18 = phi i64 [ %9, %8 ], [ %16, %11 ]
ret i64 %18
}
declare i64 @IN_SET(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
| ; ModuleID = 'AnghaBench/systemd/src/core/extr_cgroup.c_cgroup_context_cpu_shares.c'
source_filename = "AnghaBench/systemd/src/core/extr_cgroup.c_cgroup_context_cpu_shares.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MANAGER_STARTING = common local_unnamed_addr global i32 0, align 4
@MANAGER_INITIALIZING = common local_unnamed_addr global i32 0, align 4
@CGROUP_CPU_SHARES_INVALID = common local_unnamed_addr global i64 0, align 8
@CGROUP_CPU_SHARES_DEFAULT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @cgroup_context_cpu_shares], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @cgroup_context_cpu_shares(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @MANAGER_STARTING, align 4, !tbaa !6
%4 = load i32, ptr @MANAGER_INITIALIZING, align 4, !tbaa !6
%5 = tail call i64 @IN_SET(i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
%6 = icmp eq i64 %5, 0
%7 = load i64, ptr @CGROUP_CPU_SHARES_INVALID, align 8, !tbaa !10
br i1 %6, label %11, label %8
8: ; preds = %2
%9 = load i64, ptr %0, align 8, !tbaa !12
%10 = icmp eq i64 %9, %7
br i1 %10, label %11, label %17
11: ; preds = %8, %2
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = icmp eq i64 %13, %7
%15 = load i64, ptr @CGROUP_CPU_SHARES_DEFAULT, align 8
%16 = select i1 %14, i64 %15, i64 %13
br label %17
17: ; preds = %11, %8
%18 = phi i64 [ %9, %8 ], [ %16, %11 ]
ret i64 %18
}
declare i64 @IN_SET(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
| systemd_src_core_extr_cgroup.c_cgroup_context_cpu_shares |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_bfin_mac.c_bfin_mdiobus_write.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_bfin_mac.c_bfin_mdiobus_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"
@STAOP = dso_local local_unnamed_addr global i32 0, align 4
@STABUSY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfin_mdiobus_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @bfin_mdiobus_write(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = tail call i32 (...) @bfin_mdio_poll() #2
%6 = trunc i64 %3 to i32
%7 = tail call i32 @bfin_write_EMAC_STADAT(i32 noundef %6) #2
%8 = sext i32 %1 to i64
%9 = tail call i32 @SET_PHYAD(i64 noundef %8) #2
%10 = sext i32 %2 to i64
%11 = tail call i32 @SET_REGAD(i64 noundef %10) #2
%12 = or i32 %11, %9
%13 = load i32, ptr @STAOP, align 4, !tbaa !5
%14 = or i32 %12, %13
%15 = load i32, ptr @STABUSY, align 4, !tbaa !5
%16 = or i32 %14, %15
%17 = tail call i32 @bfin_write_EMAC_STAADD(i32 noundef %16) #2
%18 = tail call i32 (...) @bfin_mdio_poll() #2
ret i32 0
}
declare i32 @bfin_mdio_poll(...) local_unnamed_addr #1
declare i32 @bfin_write_EMAC_STADAT(i32 noundef) local_unnamed_addr #1
declare i32 @bfin_write_EMAC_STAADD(i32 noundef) local_unnamed_addr #1
declare i32 @SET_PHYAD(i64 noundef) local_unnamed_addr #1
declare i32 @SET_REGAD(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_bfin_mac.c_bfin_mdiobus_write.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_bfin_mac.c_bfin_mdiobus_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STAOP = common local_unnamed_addr global i32 0, align 4
@STABUSY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bfin_mdiobus_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @bfin_mdiobus_write(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = tail call i32 @bfin_mdio_poll() #2
%6 = trunc i64 %3 to i32
%7 = tail call i32 @bfin_write_EMAC_STADAT(i32 noundef %6) #2
%8 = sext i32 %1 to i64
%9 = tail call i32 @SET_PHYAD(i64 noundef %8) #2
%10 = sext i32 %2 to i64
%11 = tail call i32 @SET_REGAD(i64 noundef %10) #2
%12 = or i32 %11, %9
%13 = load i32, ptr @STAOP, align 4, !tbaa !6
%14 = or i32 %12, %13
%15 = load i32, ptr @STABUSY, align 4, !tbaa !6
%16 = or i32 %14, %15
%17 = tail call i32 @bfin_write_EMAC_STAADD(i32 noundef %16) #2
%18 = tail call i32 @bfin_mdio_poll() #2
ret i32 0
}
declare i32 @bfin_mdio_poll(...) local_unnamed_addr #1
declare i32 @bfin_write_EMAC_STADAT(i32 noundef) local_unnamed_addr #1
declare i32 @bfin_write_EMAC_STAADD(i32 noundef) local_unnamed_addr #1
declare i32 @SET_PHYAD(i64 noundef) local_unnamed_addr #1
declare i32 @SET_REGAD(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"}
| fastsocket_kernel_drivers_net_extr_bfin_mac.c_bfin_mdiobus_write |
; ModuleID = 'AnghaBench/linux/drivers/s390/cio/extr_device_fsm.c_ccw_device_online_timeout.c'
source_filename = "AnghaBench/linux/drivers/s390/cio/extr_device_fsm.c_ccw_device_online_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"
%struct.TYPE_2__ = type { i32, i32, i32, i32 }
%struct.ccw_device = type { ptr, ptr }
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@DEV_STATE_TIMEOUT_KILL = dso_local local_unnamed_addr global i32 0, align 4
@DEV_EVENT_NOTOPER = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccw_device_online_timeout], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ccw_device_online_timeout(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @ccw_device_set_timeout(ptr noundef %0, i32 noundef 0) #2
%4 = load ptr, ptr %0, align 8, !tbaa !5
store i32 255, ptr %4, align 4, !tbaa !10
%5 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !13
%6 = sub nsw i32 0, %5
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 3
store i32 %6, ptr %7, align 4, !tbaa !14
%8 = tail call i32 @ccw_device_cancel_halt_clear(ptr noundef nonnull %0) #2
%9 = load i32, ptr @EBUSY, align 4, !tbaa !13
%10 = sub nsw i32 0, %9
%11 = icmp eq i32 %8, %10
br i1 %11, label %12, label %19
12: ; preds = %2
%13 = load i32, ptr @HZ, align 4, !tbaa !13
%14 = mul nsw i32 %13, 3
%15 = tail call i32 @ccw_device_set_timeout(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = load i32, ptr @DEV_STATE_TIMEOUT_KILL, align 4, !tbaa !13
%17 = load ptr, ptr %0, align 8, !tbaa !5
%18 = getelementptr inbounds %struct.TYPE_2__, ptr %17, i64 0, i32 2
store i32 %16, ptr %18, align 4, !tbaa !15
br label %36
19: ; preds = %2
%20 = icmp eq i32 %8, 0
br i1 %20, label %24, label %21
21: ; preds = %19
%22 = load i32, ptr @DEV_EVENT_NOTOPER, align 4, !tbaa !13
%23 = tail call i32 @dev_fsm_event(ptr noundef nonnull %0, i32 noundef %22) #2
br label %36
24: ; preds = %19
%25 = getelementptr inbounds %struct.ccw_device, ptr %0, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !16
%27 = icmp eq ptr %26, null
br i1 %27, label %36, label %28
28: ; preds = %24
%29 = load ptr, ptr %0, align 8, !tbaa !5
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !17
%32 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !13
%33 = sub nsw i32 0, %32
%34 = tail call i32 @ERR_PTR(i32 noundef %33) #2
%35 = tail call i32 %26(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %34) #2
br label %36
36: ; preds = %21, %28, %24, %12
ret void
}
declare i32 @ccw_device_set_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ccw_device_cancel_halt_clear(ptr noundef) local_unnamed_addr #1
declare i32 @dev_fsm_event(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR_PTR(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 = !{!"ccw_device", !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, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 12}
!15 = !{!11, !12, i64 8}
!16 = !{!6, !7, i64 8}
!17 = !{!11, !12, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/s390/cio/extr_device_fsm.c_ccw_device_online_timeout.c'
source_filename = "AnghaBench/linux/drivers/s390/cio/extr_device_fsm.c_ccw_device_online_timeout.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@DEV_STATE_TIMEOUT_KILL = common local_unnamed_addr global i32 0, align 4
@DEV_EVENT_NOTOPER = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ccw_device_online_timeout], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ccw_device_online_timeout(ptr noundef %0, i32 %1) #0 {
%3 = tail call i32 @ccw_device_set_timeout(ptr noundef %0, i32 noundef 0) #2
%4 = load ptr, ptr %0, align 8, !tbaa !6
store i32 255, ptr %4, align 4, !tbaa !11
%5 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !14
%6 = sub nsw i32 0, %5
%7 = getelementptr inbounds i8, ptr %4, i64 12
store i32 %6, ptr %7, align 4, !tbaa !15
%8 = tail call i32 @ccw_device_cancel_halt_clear(ptr noundef nonnull %0) #2
%9 = load i32, ptr @EBUSY, align 4, !tbaa !14
%10 = sub nsw i32 0, %9
%11 = icmp eq i32 %8, %10
br i1 %11, label %12, label %19
12: ; preds = %2
%13 = load i32, ptr @HZ, align 4, !tbaa !14
%14 = mul nsw i32 %13, 3
%15 = tail call i32 @ccw_device_set_timeout(ptr noundef nonnull %0, i32 noundef %14) #2
%16 = load i32, ptr @DEV_STATE_TIMEOUT_KILL, align 4, !tbaa !14
%17 = load ptr, ptr %0, align 8, !tbaa !6
%18 = getelementptr inbounds i8, ptr %17, i64 8
store i32 %16, ptr %18, align 4, !tbaa !16
br label %36
19: ; preds = %2
%20 = icmp eq i32 %8, 0
br i1 %20, label %24, label %21
21: ; preds = %19
%22 = load i32, ptr @DEV_EVENT_NOTOPER, align 4, !tbaa !14
%23 = tail call i32 @dev_fsm_event(ptr noundef nonnull %0, i32 noundef %22) #2
br label %36
24: ; preds = %19
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !17
%27 = icmp eq ptr %26, null
br i1 %27, label %36, label %28
28: ; preds = %24
%29 = load ptr, ptr %0, align 8, !tbaa !6
%30 = getelementptr inbounds i8, ptr %29, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !18
%32 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !14
%33 = sub nsw i32 0, %32
%34 = tail call i32 @ERR_PTR(i32 noundef %33) #2
%35 = tail call i32 %26(ptr noundef nonnull %0, i32 noundef %31, i32 noundef %34) #2
br label %36
36: ; preds = %21, %28, %24, %12
ret void
}
declare i32 @ccw_device_set_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ccw_device_cancel_halt_clear(ptr noundef) local_unnamed_addr #1
declare i32 @dev_fsm_event(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ERR_PTR(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 = !{!"ccw_device", !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, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 12}
!16 = !{!12, !13, i64 8}
!17 = !{!7, !8, i64 8}
!18 = !{!12, !13, i64 4}
| linux_drivers_s390_cio_extr_device_fsm.c_ccw_device_online_timeout |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpio/extr_pca953x.c_pca953x_write_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpio/extr_pca953x.c_pca953x_write_reg.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.pca953x_chip = type { ptr, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@.str = private unnamed_addr constant [25 x i8] c"failed writing register\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pca953x_write_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pca953x_write_reg(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.pca953x_chip, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = icmp slt i32 %5, 9
%7 = load ptr, ptr %0, align 8, !tbaa !12
br i1 %6, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %7, i32 noundef %1, i32 noundef %2) #2
br label %13
10: ; preds = %3
%11 = shl i32 %1, 1
%12 = tail call i32 @i2c_smbus_write_word_data(ptr noundef %7, i32 noundef %11, i32 noundef %2) #2
br label %13
13: ; preds = %10, %8
%14 = phi i32 [ %9, %8 ], [ %12, %10 ]
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %0, align 8, !tbaa !12
%18 = tail call i32 @dev_err(ptr noundef %17, ptr noundef nonnull @.str) #2
br label %19
19: ; preds = %13, %16
%20 = phi i32 [ %14, %16 ], [ 0, %13 ]
ret i32 %20
}
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_write_word_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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, !11, i64 8}
!6 = !{!"pca953x_chip", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpio/extr_pca953x.c_pca953x_write_reg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpio/extr_pca953x.c_pca953x_write_reg.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 [25 x i8] c"failed writing register\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pca953x_write_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @pca953x_write_reg(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = icmp slt i32 %5, 9
%7 = load ptr, ptr %0, align 8, !tbaa !13
br i1 %6, label %8, label %10
8: ; preds = %3
%9 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %7, i32 noundef %1, i32 noundef %2) #2
br label %13
10: ; preds = %3
%11 = shl i32 %1, 1
%12 = tail call i32 @i2c_smbus_write_word_data(ptr noundef %7, i32 noundef %11, i32 noundef %2) #2
br label %13
13: ; preds = %10, %8
%14 = phi i32 [ %9, %8 ], [ %12, %10 ]
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %0, align 8, !tbaa !13
%18 = tail call i32 @dev_err(ptr noundef %17, ptr noundef nonnull @.str) #2
br label %19
19: ; preds = %13, %16
%20 = phi i32 [ %14, %16 ], [ 0, %13 ]
ret i32 %20
}
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_smbus_write_word_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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, !12, i64 8}
!7 = !{!"pca953x_chip", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_gpio_extr_pca953x.c_pca953x_write_reg |
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_match.c_add_entry.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_match.c_add_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"
%struct.archive_match = type { i32, i32, %struct.TYPE_3__, i32 }
%struct.TYPE_3__ = type { ptr }
%struct.match_file = type { i32, i32, i32, i32, i32, i32, i32 }
@rb_ops_wcs = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"pathname is NULL\00", align 1
@ARCHIVE_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@rb_ops_mbs = dso_local global i32 0, align 4
@ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4
@TIME_IS_SET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @add_entry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @add_entry(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @calloc(i32 noundef 1, i32 noundef 28) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @error_nomem(ptr noundef %0) #2
br label %51
8: ; preds = %3
%9 = tail call ptr @archive_entry_pathname(ptr noundef %2) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = tail call i32 @free(ptr noundef nonnull %4) #2
%13 = getelementptr inbounds %struct.archive_match, ptr %0, i64 0, i32 3
%14 = load i32, ptr @EINVAL, align 4, !tbaa !5
%15 = tail call i32 @archive_set_error(ptr noundef nonnull %13, i32 noundef %14, ptr noundef nonnull @.str) #2
%16 = load i32, ptr @ARCHIVE_FAILED, align 4, !tbaa !5
br label %51
17: ; preds = %8
%18 = getelementptr inbounds %struct.match_file, ptr %4, i64 0, i32 1
%19 = tail call i32 @archive_mstring_copy_mbs(ptr noundef nonnull %18, ptr noundef nonnull %9) #2
%20 = getelementptr inbounds %struct.archive_match, ptr %0, i64 0, i32 2
store ptr @rb_ops_mbs, ptr %20, align 8, !tbaa !9
store i32 %1, ptr %4, align 4, !tbaa !13
%21 = tail call i32 @archive_entry_mtime(ptr noundef %2) #2
%22 = getelementptr inbounds %struct.match_file, ptr %4, i64 0, i32 5
store i32 %21, ptr %22, align 4, !tbaa !15
%23 = tail call i32 @archive_entry_mtime_nsec(ptr noundef %2) #2
%24 = getelementptr inbounds %struct.match_file, ptr %4, i64 0, i32 4
store i32 %23, ptr %24, align 4, !tbaa !16
%25 = tail call i32 @archive_entry_ctime(ptr noundef %2) #2
%26 = getelementptr inbounds %struct.match_file, ptr %4, i64 0, i32 3
store i32 %25, ptr %26, align 4, !tbaa !17
%27 = tail call i32 @archive_entry_ctime_nsec(ptr noundef %2) #2
%28 = getelementptr inbounds %struct.match_file, ptr %4, i64 0, i32 2
store i32 %27, ptr %28, align 4, !tbaa !18
%29 = getelementptr inbounds %struct.match_file, ptr %4, i64 0, i32 6
%30 = tail call i32 @__archive_rb_tree_insert_node(ptr noundef nonnull %20, ptr noundef nonnull %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %44
32: ; preds = %17
%33 = tail call i64 @__archive_rb_tree_find_node(ptr noundef nonnull %20, ptr noundef nonnull %9) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %40, label %35
35: ; preds = %32
%36 = inttoptr i64 %33 to ptr
%37 = load i32, ptr %4, align 4, !tbaa !13
store i32 %37, ptr %36, align 4, !tbaa !13
%38 = getelementptr inbounds %struct.match_file, ptr %36, i64 0, i32 2
%39 = load <4 x i32>, ptr %28, align 4, !tbaa !5
store <4 x i32> %39, ptr %38, align 4, !tbaa !5
br label %40
40: ; preds = %35, %32
%41 = tail call i32 @archive_mstring_clean(ptr noundef nonnull %18) #2
%42 = tail call i32 @free(ptr noundef nonnull %4) #2
%43 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
br label %51
44: ; preds = %17
%45 = getelementptr inbounds %struct.archive_match, ptr %0, i64 0, i32 1
%46 = tail call i32 @entry_list_add(ptr noundef nonnull %45, ptr noundef nonnull %4) #2
%47 = load i32, ptr @TIME_IS_SET, align 4, !tbaa !5
%48 = load i32, ptr %0, align 8, !tbaa !19
%49 = or i32 %48, %47
store i32 %49, ptr %0, align 8, !tbaa !19
%50 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5
br label %51
51: ; preds = %44, %40, %11, %6
%52 = phi i32 [ %7, %6 ], [ %16, %11 ], [ %50, %44 ], [ %43, %40 ]
ret i32 %52
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @error_nomem(ptr noundef) local_unnamed_addr #1
declare ptr @archive_entry_pathname(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @archive_set_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @archive_mstring_copy_mbs(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @archive_entry_mtime(ptr noundef) local_unnamed_addr #1
declare i32 @archive_entry_mtime_nsec(ptr noundef) local_unnamed_addr #1
declare i32 @archive_entry_ctime(ptr noundef) local_unnamed_addr #1
declare i32 @archive_entry_ctime_nsec(ptr noundef) local_unnamed_addr #1
declare i32 @__archive_rb_tree_insert_node(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @__archive_rb_tree_find_node(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @archive_mstring_clean(ptr noundef) local_unnamed_addr #1
declare i32 @entry_list_add(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, !12, i64 8}
!10 = !{!"archive_match", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"match_file", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24}
!15 = !{!14, !6, i64 20}
!16 = !{!14, !6, i64 16}
!17 = !{!14, !6, i64 12}
!18 = !{!14, !6, i64 8}
!19 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_match.c_add_entry.c'
source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_match.c_add_entry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rb_ops_wcs = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"pathname is NULL\00", align 1
@ARCHIVE_FAILED = common local_unnamed_addr global i32 0, align 4
@rb_ops_mbs = common global i32 0, align 4
@ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4
@TIME_IS_SET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @add_entry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @add_entry(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @calloc(i32 noundef 1, i32 noundef 28) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @error_nomem(ptr noundef %0) #2
br label %51
8: ; preds = %3
%9 = tail call ptr @archive_entry_pathname(ptr noundef %2) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = tail call i32 @free(ptr noundef nonnull %4) #2
%13 = getelementptr inbounds i8, ptr %0, i64 16
%14 = load i32, ptr @EINVAL, align 4, !tbaa !6
%15 = tail call i32 @archive_set_error(ptr noundef nonnull %13, i32 noundef %14, ptr noundef nonnull @.str) #2
%16 = load i32, ptr @ARCHIVE_FAILED, align 4, !tbaa !6
br label %51
17: ; preds = %8
%18 = getelementptr inbounds i8, ptr %4, i64 4
%19 = tail call i32 @archive_mstring_copy_mbs(ptr noundef nonnull %18, ptr noundef nonnull %9) #2
%20 = getelementptr inbounds i8, ptr %0, i64 8
store ptr @rb_ops_mbs, ptr %20, align 8, !tbaa !10
store i32 %1, ptr %4, align 4, !tbaa !14
%21 = tail call i32 @archive_entry_mtime(ptr noundef %2) #2
%22 = getelementptr inbounds i8, ptr %4, i64 20
store i32 %21, ptr %22, align 4, !tbaa !16
%23 = tail call i32 @archive_entry_mtime_nsec(ptr noundef %2) #2
%24 = getelementptr inbounds i8, ptr %4, i64 16
store i32 %23, ptr %24, align 4, !tbaa !17
%25 = tail call i32 @archive_entry_ctime(ptr noundef %2) #2
%26 = getelementptr inbounds i8, ptr %4, i64 12
store i32 %25, ptr %26, align 4, !tbaa !18
%27 = tail call i32 @archive_entry_ctime_nsec(ptr noundef %2) #2
%28 = getelementptr inbounds i8, ptr %4, i64 8
store i32 %27, ptr %28, align 4, !tbaa !19
%29 = getelementptr inbounds i8, ptr %4, i64 24
%30 = tail call i32 @__archive_rb_tree_insert_node(ptr noundef nonnull %20, ptr noundef nonnull %29) #2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %44
32: ; preds = %17
%33 = tail call i64 @__archive_rb_tree_find_node(ptr noundef nonnull %20, ptr noundef nonnull %9) #2
%34 = icmp eq i64 %33, 0
br i1 %34, label %40, label %35
35: ; preds = %32
%36 = inttoptr i64 %33 to ptr
%37 = load i32, ptr %4, align 4, !tbaa !14
store i32 %37, ptr %36, align 4, !tbaa !14
%38 = getelementptr inbounds i8, ptr %36, i64 8
%39 = load <4 x i32>, ptr %28, align 4, !tbaa !6
store <4 x i32> %39, ptr %38, align 4, !tbaa !6
br label %40
40: ; preds = %35, %32
%41 = tail call i32 @archive_mstring_clean(ptr noundef nonnull %18) #2
%42 = tail call i32 @free(ptr noundef nonnull %4) #2
%43 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
br label %51
44: ; preds = %17
%45 = getelementptr inbounds i8, ptr %0, i64 4
%46 = tail call i32 @entry_list_add(ptr noundef nonnull %45, ptr noundef nonnull %4) #2
%47 = load i32, ptr @TIME_IS_SET, align 4, !tbaa !6
%48 = load i32, ptr %0, align 8, !tbaa !20
%49 = or i32 %48, %47
store i32 %49, ptr %0, align 8, !tbaa !20
%50 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6
br label %51
51: ; preds = %44, %40, %11, %6
%52 = phi i32 [ %7, %6 ], [ %16, %11 ], [ %50, %44 ], [ %43, %40 ]
ret i32 %52
}
declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @error_nomem(ptr noundef) local_unnamed_addr #1
declare ptr @archive_entry_pathname(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @archive_set_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @archive_mstring_copy_mbs(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @archive_entry_mtime(ptr noundef) local_unnamed_addr #1
declare i32 @archive_entry_mtime_nsec(ptr noundef) local_unnamed_addr #1
declare i32 @archive_entry_ctime(ptr noundef) local_unnamed_addr #1
declare i32 @archive_entry_ctime_nsec(ptr noundef) local_unnamed_addr #1
declare i32 @__archive_rb_tree_insert_node(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @__archive_rb_tree_find_node(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @archive_mstring_clean(ptr noundef) local_unnamed_addr #1
declare i32 @entry_list_add(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, !13, i64 8}
!11 = !{!"archive_match", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"match_file", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!16 = !{!15, !7, i64 20}
!17 = !{!15, !7, i64 16}
!18 = !{!15, !7, i64 12}
!19 = !{!15, !7, i64 8}
!20 = !{!11, !7, i64 0}
| freebsd_contrib_libarchive_libarchive_extr_archive_match.c_add_entry |
; ModuleID = 'AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_fse_compress.c_FSE_writeNCount_generic.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_fse_compress.c_FSE_writeNCount_generic.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"
@FSE_MIN_TABLELOG = dso_local local_unnamed_addr global i32 0, align 4
@dstSize_tooSmall = dso_local local_unnamed_addr global i32 0, align 4
@GENERIC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @FSE_writeNCount_generic], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @FSE_writeNCount_generic(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = getelementptr inbounds i64, ptr %0, i64 %1
%8 = add i32 %3, 1
%9 = icmp ne i32 %8, 0
%10 = icmp ne i32 %4, 31
%11 = and i1 %9, %10
br i1 %11, label %12, label %184
12: ; preds = %6
%13 = load i32, ptr @FSE_MIN_TABLELOG, align 4, !tbaa !5
%14 = sub i32 %4, %13
%15 = shl nuw nsw i32 1, %4
%16 = add nuw nsw i32 %15, 1
%17 = add i32 %4, 1
%18 = icmp eq i32 %5, 0
%19 = getelementptr inbounds i64, ptr %7, i64 -2
%20 = zext i32 %8 to i64
br label %21
21: ; preds = %12, %167
%22 = phi i32 [ 0, %12 ], [ %136, %167 ]
%23 = phi ptr [ %0, %12 ], [ %170, %167 ]
%24 = phi i32 [ 0, %12 ], [ %115, %167 ]
%25 = phi i32 [ 4, %12 ], [ %169, %167 ]
%26 = phi i32 [ %14, %12 ], [ %168, %167 ]
%27 = phi i32 [ %15, %12 ], [ %151, %167 ]
%28 = phi i32 [ %16, %12 ], [ %124, %167 ]
%29 = phi i32 [ %17, %12 ], [ %150, %167 ]
%30 = icmp eq i32 %22, 0
br i1 %30, label %110, label %31
31: ; preds = %21
%32 = icmp ult i32 %24, %8
br i1 %32, label %33, label %45
33: ; preds = %31
%34 = zext i32 %24 to i64
br label %35
35: ; preds = %33, %40
%36 = phi i64 [ %34, %33 ], [ %41, %40 ]
%37 = getelementptr inbounds i16, ptr %2, i64 %36
%38 = load i16, ptr %37, align 2, !tbaa !9
%39 = icmp eq i16 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = add nuw nsw i64 %36, 1
%42 = icmp eq i64 %41, %20
br i1 %42, label %174, label %35, !llvm.loop !11
43: ; preds = %35
%44 = trunc i64 %36 to i32
br label %45
45: ; preds = %43, %31
%46 = phi i32 [ %24, %31 ], [ %44, %43 ]
%47 = icmp eq i32 %46, %8
br i1 %47, label %174, label %48
48: ; preds = %45
%49 = add i32 %24, 24
%50 = icmp ult i32 %46, %49
br i1 %50, label %53, label %51
51: ; preds = %48
%52 = shl i32 65535, %25
br label %59
53: ; preds = %68, %48
%54 = phi i32 [ %26, %48 ], [ %75, %68 ]
%55 = phi ptr [ %23, %48 ], [ %74, %68 ]
%56 = phi i32 [ %24, %48 ], [ %60, %68 ]
%57 = add i32 %56, 3
%58 = icmp ult i32 %46, %57
br i1 %58, label %87, label %78
59: ; preds = %51, %68
%60 = phi i32 [ %49, %51 ], [ %76, %68 ]
%61 = phi ptr [ %23, %51 ], [ %74, %68 ]
%62 = phi i32 [ %26, %51 ], [ %75, %68 ]
%63 = icmp ugt ptr %61, %19
%64 = select i1 %18, i1 %63, i1 false
br i1 %64, label %65, label %68
65: ; preds = %59
%66 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !5
%67 = tail call i64 @ERROR(i32 noundef %66) #3
br label %208
68: ; preds = %59
%69 = add i32 %62, %52
%70 = zext i32 %69 to i64
store i64 %70, ptr %61, align 8, !tbaa !13
%71 = lshr i32 %69, 8
%72 = zext nneg i32 %71 to i64
%73 = getelementptr inbounds i64, ptr %61, i64 1
store i64 %72, ptr %73, align 8, !tbaa !13
%74 = getelementptr inbounds i64, ptr %61, i64 2
%75 = lshr i32 %69, 16
%76 = add i32 %60, 24
%77 = icmp ult i32 %46, %76
br i1 %77, label %53, label %59, !llvm.loop !15
78: ; preds = %53, %78
%79 = phi i32 [ %85, %78 ], [ %57, %53 ]
%80 = phi i32 [ %84, %78 ], [ %25, %53 ]
%81 = phi i32 [ %83, %78 ], [ %54, %53 ]
%82 = shl i32 3, %80
%83 = add i32 %82, %81
%84 = add nsw i32 %80, 2
%85 = add i32 %79, 3
%86 = icmp ult i32 %46, %85
br i1 %86, label %87, label %78, !llvm.loop !16
87: ; preds = %78, %53
%88 = phi i32 [ %54, %53 ], [ %83, %78 ]
%89 = phi i32 [ %25, %53 ], [ %84, %78 ]
%90 = phi i32 [ %56, %53 ], [ %79, %78 ]
%91 = sub i32 %46, %90
%92 = shl i32 %91, %89
%93 = add i32 %92, %88
%94 = add nsw i32 %89, 2
%95 = icmp sgt i32 %89, 14
br i1 %95, label %96, label %110
96: ; preds = %87
%97 = icmp ugt ptr %55, %19
%98 = select i1 %18, i1 %97, i1 false
br i1 %98, label %99, label %102
99: ; preds = %96
%100 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !5
%101 = tail call i64 @ERROR(i32 noundef %100) #3
br label %208
102: ; preds = %96
%103 = zext i32 %93 to i64
store i64 %103, ptr %55, align 8, !tbaa !13
%104 = lshr i32 %93, 8
%105 = zext nneg i32 %104 to i64
%106 = getelementptr inbounds i64, ptr %55, i64 1
store i64 %105, ptr %106, align 8, !tbaa !13
%107 = getelementptr inbounds i64, ptr %55, i64 2
%108 = lshr i32 %93, 16
%109 = add nsw i32 %89, -14
br label %110
110: ; preds = %87, %102, %21
%111 = phi i32 [ %26, %21 ], [ %93, %87 ], [ %108, %102 ]
%112 = phi i32 [ %25, %21 ], [ %94, %87 ], [ %109, %102 ]
%113 = phi i32 [ %24, %21 ], [ %46, %87 ], [ %46, %102 ]
%114 = phi ptr [ %23, %21 ], [ %55, %87 ], [ %107, %102 ]
%115 = add nuw i32 %113, 1
%116 = zext i32 %113 to i64
%117 = getelementptr inbounds i16, ptr %2, i64 %116
%118 = load i16, ptr %117, align 2, !tbaa !9
%119 = sext i16 %118 to i32
%120 = shl nsw i32 %27, 1
%121 = xor i32 %28, -1
%122 = add i32 %120, %121
%123 = tail call i32 @llvm.abs.i32(i32 %119, i1 true)
%124 = sub nsw i32 %28, %123
%125 = add nsw i32 %119, 1
%126 = icmp slt i32 %125, %27
%127 = select i1 %126, i32 0, i32 %122
%128 = add nsw i32 %127, %125
%129 = shl i32 %128, %112
%130 = add i32 %129, %111
%131 = add nsw i32 %112, %29
%132 = icmp slt i32 %128, %122
%133 = sext i1 %132 to i32
%134 = add i32 %131, %133
%135 = icmp eq i32 %128, 1
%136 = zext i1 %135 to i32
%137 = icmp sgt i32 %124, 0
br i1 %137, label %138, label %140
138: ; preds = %110
%139 = icmp slt i32 %124, %27
br i1 %139, label %143, label %149
140: ; preds = %110
%141 = load i32, ptr @GENERIC, align 4, !tbaa !5
%142 = tail call i64 @ERROR(i32 noundef %141) #3
br label %208
143: ; preds = %138, %143
%144 = phi i32 [ %147, %143 ], [ %27, %138 ]
%145 = phi i32 [ %146, %143 ], [ %29, %138 ]
%146 = add nsw i32 %145, -1
%147 = ashr i32 %144, 1
%148 = icmp slt i32 %124, %147
br i1 %148, label %143, label %149, !llvm.loop !17
149: ; preds = %143, %138
%150 = phi i32 [ %29, %138 ], [ %146, %143 ]
%151 = phi i32 [ %27, %138 ], [ %147, %143 ]
%152 = icmp sgt i32 %134, 16
br i1 %152, label %153, label %167
153: ; preds = %149
%154 = icmp ugt ptr %114, %19
%155 = select i1 %18, i1 %154, i1 false
br i1 %155, label %156, label %159
156: ; preds = %153
%157 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !5
%158 = tail call i64 @ERROR(i32 noundef %157) #3
br label %208
159: ; preds = %153
%160 = zext i32 %130 to i64
store i64 %160, ptr %114, align 8, !tbaa !13
%161 = lshr i32 %130, 8
%162 = zext nneg i32 %161 to i64
%163 = getelementptr inbounds i64, ptr %114, i64 1
store i64 %162, ptr %163, align 8, !tbaa !13
%164 = getelementptr inbounds i64, ptr %114, i64 2
%165 = lshr i32 %130, 16
%166 = add nsw i32 %134, -16
br label %167
167: ; preds = %159, %149
%168 = phi i32 [ %165, %159 ], [ %130, %149 ]
%169 = phi i32 [ %166, %159 ], [ %134, %149 ]
%170 = phi ptr [ %164, %159 ], [ %114, %149 ]
%171 = icmp ult i32 %115, %8
%172 = icmp ne i32 %124, 1
%173 = and i1 %171, %172
br i1 %173, label %21, label %174, !llvm.loop !18
174: ; preds = %167, %45, %40
%175 = phi i32 [ %28, %40 ], [ %28, %45 ], [ %124, %167 ]
%176 = phi i32 [ %26, %40 ], [ %26, %45 ], [ %168, %167 ]
%177 = phi i32 [ %25, %40 ], [ %25, %45 ], [ %169, %167 ]
%178 = phi ptr [ %23, %40 ], [ %23, %45 ], [ %170, %167 ]
%179 = phi i32 [ %8, %40 ], [ %8, %45 ], [ %115, %167 ]
%180 = icmp eq i32 %175, 1
%181 = add nsw i32 %177, 7
%182 = sdiv i32 %181, 8
%183 = sext i32 %182 to i64
br i1 %180, label %187, label %184
184: ; preds = %6, %174
%185 = load i32, ptr @GENERIC, align 4, !tbaa !5
%186 = tail call i64 @ERROR(i32 noundef %185) #3
br label %208
187: ; preds = %174
%188 = icmp ule i32 %179, %8
%189 = zext i1 %188 to i32
%190 = tail call i32 @assert(i32 noundef %189) #3
%191 = icmp eq i32 %5, 0
%192 = getelementptr inbounds i64, ptr %7, i64 -2
%193 = icmp ugt ptr %178, %192
%194 = select i1 %191, i1 %193, i1 false
br i1 %194, label %195, label %198
195: ; preds = %187
%196 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !5
%197 = tail call i64 @ERROR(i32 noundef %196) #3
br label %208
198: ; preds = %187
%199 = zext i32 %176 to i64
store i64 %199, ptr %178, align 8, !tbaa !13
%200 = lshr i32 %176, 8
%201 = zext nneg i32 %200 to i64
%202 = getelementptr inbounds i64, ptr %178, i64 1
store i64 %201, ptr %202, align 8, !tbaa !13
%203 = getelementptr inbounds i64, ptr %178, i64 %183
%204 = ptrtoint ptr %203 to i64
%205 = ptrtoint ptr %0 to i64
%206 = sub i64 %204, %205
%207 = ashr exact i64 %206, 3
br label %208
208: ; preds = %99, %65, %140, %198, %195, %184, %156
%209 = phi i64 [ %186, %184 ], [ %207, %198 ], [ %197, %195 ], [ %158, %156 ], [ %142, %140 ], [ %101, %99 ], [ %67, %65 ]
ret i64 %209
}
declare i64 @ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"short", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
| ; ModuleID = 'AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_fse_compress.c_FSE_writeNCount_generic.c'
source_filename = "AnghaBench/reactos/drivers/filesystems/btrfs/zstd/extr_fse_compress.c_FSE_writeNCount_generic.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FSE_MIN_TABLELOG = common local_unnamed_addr global i32 0, align 4
@dstSize_tooSmall = common local_unnamed_addr global i32 0, align 4
@GENERIC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @FSE_writeNCount_generic], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @FSE_writeNCount_generic(ptr noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = add i32 %3, 1
%8 = icmp ne i32 %7, 0
%9 = icmp ne i32 %4, 31
%10 = and i1 %8, %9
br i1 %10, label %11, label %184
11: ; preds = %6
%12 = getelementptr inbounds i64, ptr %0, i64 %1
%13 = load i32, ptr @FSE_MIN_TABLELOG, align 4, !tbaa !6
%14 = sub i32 %4, %13
%15 = shl nuw nsw i32 1, %4
%16 = add nuw nsw i32 %15, 1
%17 = add i32 %4, 1
%18 = icmp eq i32 %5, 0
%19 = getelementptr inbounds i8, ptr %12, i64 -16
%20 = zext i32 %7 to i64
br label %21
21: ; preds = %11, %167
%22 = phi i32 [ 0, %11 ], [ %136, %167 ]
%23 = phi ptr [ %0, %11 ], [ %170, %167 ]
%24 = phi i32 [ 0, %11 ], [ %115, %167 ]
%25 = phi i32 [ 4, %11 ], [ %169, %167 ]
%26 = phi i32 [ %14, %11 ], [ %168, %167 ]
%27 = phi i32 [ %15, %11 ], [ %151, %167 ]
%28 = phi i32 [ %16, %11 ], [ %124, %167 ]
%29 = phi i32 [ %17, %11 ], [ %150, %167 ]
%30 = icmp eq i32 %22, 0
br i1 %30, label %110, label %31
31: ; preds = %21
%32 = icmp ult i32 %24, %7
br i1 %32, label %33, label %45
33: ; preds = %31
%34 = zext i32 %24 to i64
br label %35
35: ; preds = %33, %40
%36 = phi i64 [ %34, %33 ], [ %41, %40 ]
%37 = getelementptr inbounds i16, ptr %2, i64 %36
%38 = load i16, ptr %37, align 2, !tbaa !10
%39 = icmp eq i16 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %35
%41 = add nuw nsw i64 %36, 1
%42 = icmp eq i64 %41, %20
br i1 %42, label %174, label %35, !llvm.loop !12
43: ; preds = %35
%44 = trunc nuw i64 %36 to i32
br label %45
45: ; preds = %43, %31
%46 = phi i32 [ %24, %31 ], [ %44, %43 ]
%47 = icmp eq i32 %46, %7
br i1 %47, label %174, label %48
48: ; preds = %45
%49 = add i32 %24, 24
%50 = icmp ult i32 %46, %49
br i1 %50, label %53, label %51
51: ; preds = %48
%52 = shl i32 65535, %25
br label %59
53: ; preds = %68, %48
%54 = phi i32 [ %26, %48 ], [ %75, %68 ]
%55 = phi ptr [ %23, %48 ], [ %74, %68 ]
%56 = phi i32 [ %24, %48 ], [ %60, %68 ]
%57 = add i32 %56, 3
%58 = icmp ult i32 %46, %57
br i1 %58, label %87, label %78
59: ; preds = %51, %68
%60 = phi i32 [ %49, %51 ], [ %76, %68 ]
%61 = phi ptr [ %23, %51 ], [ %74, %68 ]
%62 = phi i32 [ %26, %51 ], [ %75, %68 ]
%63 = icmp ugt ptr %61, %19
%64 = select i1 %18, i1 %63, i1 false
br i1 %64, label %65, label %68
65: ; preds = %59
%66 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !6
%67 = tail call i64 @ERROR(i32 noundef %66) #3
br label %206
68: ; preds = %59
%69 = add i32 %62, %52
%70 = zext i32 %69 to i64
store i64 %70, ptr %61, align 8, !tbaa !14
%71 = lshr i32 %69, 8
%72 = zext nneg i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %61, i64 8
store i64 %72, ptr %73, align 8, !tbaa !14
%74 = getelementptr inbounds i8, ptr %61, i64 16
%75 = lshr i32 %69, 16
%76 = add i32 %60, 24
%77 = icmp ult i32 %46, %76
br i1 %77, label %53, label %59, !llvm.loop !16
78: ; preds = %53, %78
%79 = phi i32 [ %85, %78 ], [ %57, %53 ]
%80 = phi i32 [ %84, %78 ], [ %25, %53 ]
%81 = phi i32 [ %83, %78 ], [ %54, %53 ]
%82 = shl i32 3, %80
%83 = add i32 %82, %81
%84 = add nsw i32 %80, 2
%85 = add i32 %79, 3
%86 = icmp ult i32 %46, %85
br i1 %86, label %87, label %78, !llvm.loop !17
87: ; preds = %78, %53
%88 = phi i32 [ %54, %53 ], [ %83, %78 ]
%89 = phi i32 [ %25, %53 ], [ %84, %78 ]
%90 = phi i32 [ %56, %53 ], [ %79, %78 ]
%91 = sub i32 %46, %90
%92 = shl i32 %91, %89
%93 = add i32 %92, %88
%94 = add nsw i32 %89, 2
%95 = icmp sgt i32 %89, 14
br i1 %95, label %96, label %110
96: ; preds = %87
%97 = icmp ugt ptr %55, %19
%98 = select i1 %18, i1 %97, i1 false
br i1 %98, label %99, label %102
99: ; preds = %96
%100 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !6
%101 = tail call i64 @ERROR(i32 noundef %100) #3
br label %206
102: ; preds = %96
%103 = zext i32 %93 to i64
store i64 %103, ptr %55, align 8, !tbaa !14
%104 = lshr i32 %93, 8
%105 = zext nneg i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %55, i64 8
store i64 %105, ptr %106, align 8, !tbaa !14
%107 = getelementptr inbounds i8, ptr %55, i64 16
%108 = lshr i32 %93, 16
%109 = add nsw i32 %89, -14
br label %110
110: ; preds = %87, %102, %21
%111 = phi i32 [ %26, %21 ], [ %93, %87 ], [ %108, %102 ]
%112 = phi i32 [ %25, %21 ], [ %94, %87 ], [ %109, %102 ]
%113 = phi i32 [ %24, %21 ], [ %46, %87 ], [ %46, %102 ]
%114 = phi ptr [ %23, %21 ], [ %55, %87 ], [ %107, %102 ]
%115 = add nuw i32 %113, 1
%116 = zext i32 %113 to i64
%117 = getelementptr inbounds i16, ptr %2, i64 %116
%118 = load i16, ptr %117, align 2, !tbaa !10
%119 = sext i16 %118 to i32
%120 = shl nsw i32 %27, 1
%121 = xor i32 %28, -1
%122 = add i32 %120, %121
%123 = tail call i32 @llvm.abs.i32(i32 %119, i1 true)
%124 = sub nsw i32 %28, %123
%125 = add nsw i32 %119, 1
%126 = icmp slt i32 %125, %27
%127 = select i1 %126, i32 0, i32 %122
%128 = add nsw i32 %127, %125
%129 = shl i32 %128, %112
%130 = add i32 %129, %111
%131 = add nsw i32 %112, %29
%132 = icmp slt i32 %128, %122
%133 = sext i1 %132 to i32
%134 = add i32 %131, %133
%135 = icmp eq i32 %128, 1
%136 = zext i1 %135 to i32
%137 = icmp sgt i32 %124, 0
br i1 %137, label %138, label %140
138: ; preds = %110
%139 = icmp slt i32 %124, %27
br i1 %139, label %143, label %149
140: ; preds = %110
%141 = load i32, ptr @GENERIC, align 4, !tbaa !6
%142 = tail call i64 @ERROR(i32 noundef %141) #3
br label %206
143: ; preds = %138, %143
%144 = phi i32 [ %147, %143 ], [ %27, %138 ]
%145 = phi i32 [ %146, %143 ], [ %29, %138 ]
%146 = add nsw i32 %145, -1
%147 = ashr i32 %144, 1
%148 = icmp slt i32 %124, %147
br i1 %148, label %143, label %149, !llvm.loop !18
149: ; preds = %143, %138
%150 = phi i32 [ %29, %138 ], [ %146, %143 ]
%151 = phi i32 [ %27, %138 ], [ %147, %143 ]
%152 = icmp sgt i32 %134, 16
br i1 %152, label %153, label %167
153: ; preds = %149
%154 = icmp ugt ptr %114, %19
%155 = select i1 %18, i1 %154, i1 false
br i1 %155, label %156, label %159
156: ; preds = %153
%157 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !6
%158 = tail call i64 @ERROR(i32 noundef %157) #3
br label %206
159: ; preds = %153
%160 = zext i32 %130 to i64
store i64 %160, ptr %114, align 8, !tbaa !14
%161 = lshr i32 %130, 8
%162 = zext nneg i32 %161 to i64
%163 = getelementptr inbounds i8, ptr %114, i64 8
store i64 %162, ptr %163, align 8, !tbaa !14
%164 = getelementptr inbounds i8, ptr %114, i64 16
%165 = lshr i32 %130, 16
%166 = add nsw i32 %134, -16
br label %167
167: ; preds = %159, %149
%168 = phi i32 [ %165, %159 ], [ %130, %149 ]
%169 = phi i32 [ %166, %159 ], [ %134, %149 ]
%170 = phi ptr [ %164, %159 ], [ %114, %149 ]
%171 = icmp ult i32 %115, %7
%172 = icmp ne i32 %124, 1
%173 = and i1 %171, %172
br i1 %173, label %21, label %174, !llvm.loop !19
174: ; preds = %167, %45, %40
%175 = phi i32 [ %28, %40 ], [ %28, %45 ], [ %124, %167 ]
%176 = phi i32 [ %26, %40 ], [ %26, %45 ], [ %168, %167 ]
%177 = phi i32 [ %25, %40 ], [ %25, %45 ], [ %169, %167 ]
%178 = phi ptr [ %23, %40 ], [ %23, %45 ], [ %170, %167 ]
%179 = phi i32 [ %7, %40 ], [ %7, %45 ], [ %115, %167 ]
%180 = icmp eq i32 %175, 1
%181 = add nsw i32 %177, 7
%182 = sdiv i32 %181, 8
%183 = sext i32 %182 to i64
br i1 %180, label %187, label %184
184: ; preds = %6, %174
%185 = load i32, ptr @GENERIC, align 4, !tbaa !6
%186 = tail call i64 @ERROR(i32 noundef %185) #3
br label %206
187: ; preds = %174
%188 = icmp ule i32 %179, %7
%189 = zext i1 %188 to i32
%190 = tail call i32 @assert(i32 noundef %189) #3
%191 = icmp ugt ptr %178, %19
%192 = select i1 %18, i1 %191, i1 false
br i1 %192, label %193, label %196
193: ; preds = %187
%194 = load i32, ptr @dstSize_tooSmall, align 4, !tbaa !6
%195 = tail call i64 @ERROR(i32 noundef %194) #3
br label %206
196: ; preds = %187
%197 = zext i32 %176 to i64
store i64 %197, ptr %178, align 8, !tbaa !14
%198 = lshr i32 %176, 8
%199 = zext nneg i32 %198 to i64
%200 = getelementptr inbounds i8, ptr %178, i64 8
store i64 %199, ptr %200, align 8, !tbaa !14
%201 = getelementptr inbounds i64, ptr %178, i64 %183
%202 = ptrtoint ptr %201 to i64
%203 = ptrtoint ptr %0 to i64
%204 = sub i64 %202, %203
%205 = ashr exact i64 %204, 3
br label %206
206: ; preds = %99, %65, %140, %196, %193, %184, %156
%207 = phi i64 [ %186, %184 ], [ %205, %196 ], [ %195, %193 ], [ %158, %156 ], [ %142, %140 ], [ %101, %99 ], [ %67, %65 ]
ret i64 %207
}
declare i64 @ERROR(i32 noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"short", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
| reactos_drivers_filesystems_btrfs_zstd_extr_fse_compress.c_FSE_writeNCount_generic |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_jit.c_jitopt_flag.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_jit.c_jitopt_flag.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"
@JIT_F_OPTSTRING = dso_local local_unnamed_addr global ptr null, align 8
@JIT_F_OPT_FIRST = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @jitopt_flag], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @jitopt_flag(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr @JIT_F_OPTSTRING, align 8, !tbaa !5
%4 = load i8, ptr %1, align 1, !tbaa !9
switch i8 %4, label %19 [
i8 43, label %5
i8 45, label %7
i8 110, label %9
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %1, i64 1
br label %19
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 1
br label %19
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %1, i64 1
%11 = load i8, ptr %10, align 1, !tbaa !9
%12 = icmp eq i8 %11, 111
br i1 %12, label %13, label %19
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %1, i64 2
%15 = load i8, ptr %14, align 1, !tbaa !9
%16 = icmp eq i8 %15, 45
%17 = select i1 %16, i64 3, i64 2
%18 = getelementptr inbounds i8, ptr %1, i64 %17
br label %19
19: ; preds = %2, %7, %13, %9, %5
%20 = phi ptr [ %6, %5 ], [ %8, %7 ], [ %18, %13 ], [ %1, %9 ], [ %1, %2 ]
%21 = phi i1 [ false, %5 ], [ true, %7 ], [ true, %13 ], [ false, %9 ], [ false, %2 ]
%22 = load i64, ptr %3, align 8, !tbaa !10
%23 = icmp eq i64 %22, 0
br i1 %23, label %53, label %24
24: ; preds = %19
%25 = load i32, ptr @JIT_F_OPT_FIRST, align 4, !tbaa !12
br label %26
26: ; preds = %24, %47
%27 = phi i64 [ %51, %47 ], [ %22, %24 ]
%28 = phi i32 [ %50, %47 ], [ %25, %24 ]
%29 = phi ptr [ %49, %47 ], [ %3, %24 ]
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = tail call i64 @strncmp(ptr noundef %20, ptr noundef nonnull %30, i64 noundef %27) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %47
33: ; preds = %26
%34 = getelementptr inbounds i8, ptr %20, i64 %27
%35 = load i8, ptr %34, align 1, !tbaa !9
%36 = icmp eq i8 %35, 0
br i1 %36, label %37, label %47
37: ; preds = %33
br i1 %21, label %41, label %38
38: ; preds = %37
%39 = load i32, ptr %0, align 4, !tbaa !14
%40 = or i32 %39, %28
br label %45
41: ; preds = %37
%42 = xor i32 %28, -1
%43 = load i32, ptr %0, align 4, !tbaa !14
%44 = and i32 %43, %42
br label %45
45: ; preds = %38, %41
%46 = phi i32 [ %44, %41 ], [ %40, %38 ]
store i32 %46, ptr %0, align 4, !tbaa !14
br label %53
47: ; preds = %26, %33
%48 = add i64 %27, 1
%49 = getelementptr inbounds i8, ptr %29, i64 %48
%50 = shl i32 %28, 1
%51 = load i64, ptr %49, align 8, !tbaa !10
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %26
53: ; preds = %47, %19, %45
%54 = phi i32 [ 1, %45 ], [ 0, %19 ], [ 0, %47 ]
ret i32 %54
}
declare i64 @strncmp(ptr 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_3__", !13, i64 0}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_jit.c_jitopt_flag.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_jit.c_jitopt_flag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@JIT_F_OPTSTRING = common local_unnamed_addr global ptr null, align 8
@JIT_F_OPT_FIRST = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @jitopt_flag], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @jitopt_flag(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr @JIT_F_OPTSTRING, align 8, !tbaa !6
%4 = load i8, ptr %1, align 1, !tbaa !10
switch i8 %4, label %19 [
i8 43, label %5
i8 45, label %7
i8 110, label %9
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %1, i64 1
br label %19
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 1
br label %19
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %1, i64 1
%11 = load i8, ptr %10, align 1, !tbaa !10
%12 = icmp eq i8 %11, 111
br i1 %12, label %13, label %19
13: ; preds = %9
%14 = getelementptr inbounds i8, ptr %1, i64 2
%15 = load i8, ptr %14, align 1, !tbaa !10
%16 = icmp eq i8 %15, 45
%17 = select i1 %16, i64 3, i64 2
%18 = getelementptr inbounds i8, ptr %1, i64 %17
br label %19
19: ; preds = %2, %7, %13, %9, %5
%20 = phi ptr [ %6, %5 ], [ %8, %7 ], [ %18, %13 ], [ %1, %9 ], [ %1, %2 ]
%21 = phi i1 [ false, %5 ], [ true, %7 ], [ true, %13 ], [ false, %9 ], [ false, %2 ]
%22 = load i64, ptr %3, align 8, !tbaa !11
%23 = icmp eq i64 %22, 0
br i1 %23, label %53, label %24
24: ; preds = %19
%25 = load i32, ptr @JIT_F_OPT_FIRST, align 4, !tbaa !13
br label %26
26: ; preds = %24, %47
%27 = phi i64 [ %51, %47 ], [ %22, %24 ]
%28 = phi i32 [ %50, %47 ], [ %25, %24 ]
%29 = phi ptr [ %49, %47 ], [ %3, %24 ]
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = tail call i64 @strncmp(ptr noundef %20, ptr noundef nonnull %30, i64 noundef %27) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %47
33: ; preds = %26
%34 = getelementptr inbounds i8, ptr %20, i64 %27
%35 = load i8, ptr %34, align 1, !tbaa !10
%36 = icmp eq i8 %35, 0
br i1 %36, label %37, label %47
37: ; preds = %33
br i1 %21, label %41, label %38
38: ; preds = %37
%39 = load i32, ptr %0, align 4, !tbaa !15
%40 = or i32 %39, %28
br label %45
41: ; preds = %37
%42 = xor i32 %28, -1
%43 = load i32, ptr %0, align 4, !tbaa !15
%44 = and i32 %43, %42
br label %45
45: ; preds = %38, %41
%46 = phi i32 [ %44, %41 ], [ %40, %38 ]
store i32 %46, ptr %0, align 4, !tbaa !15
br label %53
47: ; preds = %26, %33
%48 = add i64 %27, 1
%49 = getelementptr inbounds i8, ptr %29, i64 %48
%50 = shl i32 %28, 1
%51 = load i64, ptr %49, align 8, !tbaa !11
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %26
53: ; preds = %47, %19, %45
%54 = phi i32 [ 1, %45 ], [ 0, %19 ], [ 0, %47 ]
ret i32 %54
}
declare i64 @strncmp(ptr 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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_3__", !14, i64 0}
| xLua_build_luajit-2.1.0b3_src_extr_lib_jit.c_jitopt_flag |
; ModuleID = 'AnghaBench/linux/drivers/firmware/imx/extr_scu-pd.c_imx_sc_pd_power_on.c'
source_filename = "AnghaBench/linux/drivers/firmware/imx/extr_scu-pd.c_imx_sc_pd_power_on.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 @imx_sc_pd_power_on], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @imx_sc_pd_power_on(ptr noundef %0) #0 {
%2 = tail call i32 @imx_sc_pd_power(ptr noundef %0, i32 noundef 1) #2
ret i32 %2
}
declare i32 @imx_sc_pd_power(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/linux/drivers/firmware/imx/extr_scu-pd.c_imx_sc_pd_power_on.c'
source_filename = "AnghaBench/linux/drivers/firmware/imx/extr_scu-pd.c_imx_sc_pd_power_on.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 @imx_sc_pd_power_on], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @imx_sc_pd_power_on(ptr noundef %0) #0 {
%2 = tail call i32 @imx_sc_pd_power(ptr noundef %0, i32 noundef 1) #2
ret i32 %2
}
declare i32 @imx_sc_pd_power(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)"}
| linux_drivers_firmware_imx_extr_scu-pd.c_imx_sc_pd_power_on |
; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/extr_syncpt.c_host1x_syncpt_load_wait_base.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/extr_syncpt.c_host1x_syncpt_load_wait_base.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.host1x_syncpt = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @host1x_syncpt_load_wait_base(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.host1x_syncpt, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @host1x_hw_syncpt_load_wait_base(i32 noundef %3, ptr noundef %0) #2
%5 = load i32, ptr %0, align 4, !tbaa !10
ret i32 %5
}
declare i32 @host1x_hw_syncpt_load_wait_base(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"host1x_syncpt", !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/linux/drivers/gpu/host1x/extr_syncpt.c_host1x_syncpt_load_wait_base.c'
source_filename = "AnghaBench/linux/drivers/gpu/host1x/extr_syncpt.c_host1x_syncpt_load_wait_base.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 @host1x_syncpt_load_wait_base(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @host1x_hw_syncpt_load_wait_base(i32 noundef %3, ptr noundef %0) #2
%5 = load i32, ptr %0, align 4, !tbaa !11
ret i32 %5
}
declare i32 @host1x_hw_syncpt_load_wait_base(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"host1x_syncpt", !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}
| linux_drivers_gpu_host1x_extr_syncpt.c_host1x_syncpt_load_wait_base |
; ModuleID = 'AnghaBench/kphp-kdb/dns/extr_dns-binlog-diff.c_dns_record_aaaa.c'
source_filename = "AnghaBench/kphp-kdb/dns/extr_dns-binlog-diff.c_dns_record_aaaa.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"
@dns_type_aaaa = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dns_record_aaaa], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dns_record_aaaa(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @dns_type_aaaa, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = tail call i32 @add_record(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @add_record(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"lev_dns_record_aaaa", !6, i64 0}
| ; ModuleID = 'AnghaBench/kphp-kdb/dns/extr_dns-binlog-diff.c_dns_record_aaaa.c'
source_filename = "AnghaBench/kphp-kdb/dns/extr_dns-binlog-diff.c_dns_record_aaaa.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dns_type_aaaa = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dns_record_aaaa], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dns_record_aaaa(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @dns_type_aaaa, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i32 @add_record(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @add_record(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"lev_dns_record_aaaa", !7, i64 0}
| kphp-kdb_dns_extr_dns-binlog-diff.c_dns_record_aaaa |
; ModuleID = 'AnghaBench/freebsd/sys/dev/xl/extr_if_xl.c_xl_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/xl/extr_if_xl.c_xl_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.xl_type = type { i64, i64, ptr }
@xl_devs = dso_local local_unnamed_addr global ptr null, align 8
@BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xl_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xl_probe(i32 noundef %0) #0 {
%2 = load ptr, ptr @xl_devs, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.xl_type, ptr %2, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %25, label %6
6: ; preds = %1, %20
%7 = phi ptr [ %21, %20 ], [ %2, %1 ]
%8 = tail call i64 @pci_get_vendor(i32 noundef %0) #2
%9 = load i64, ptr %7, align 8, !tbaa !12
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %6
%12 = tail call i64 @pci_get_device(i32 noundef %0) #2
%13 = getelementptr inbounds %struct.xl_type, ptr %7, i64 0, i32 1
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = icmp eq i64 %12, %14
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = getelementptr inbounds %struct.xl_type, ptr %7, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !9
%19 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef %18) #2
br label %25
20: ; preds = %11, %6
%21 = getelementptr inbounds %struct.xl_type, ptr %7, i64 1
%22 = getelementptr inbounds %struct.xl_type, ptr %7, i64 1, i32 2
%23 = load ptr, ptr %22, align 8, !tbaa !9
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %6, !llvm.loop !14
25: ; preds = %20, %1, %16
%26 = phi ptr [ @BUS_PROBE_DEFAULT, %16 ], [ @ENXIO, %1 ], [ @ENXIO, %20 ]
%27 = load i32, ptr %26, align 4, !tbaa !16
ret i32 %27
}
declare i64 @pci_get_vendor(i32 noundef) local_unnamed_addr #1
declare i64 @pci_get_device(i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"xl_type", !11, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!10, !11, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/xl/extr_if_xl.c_xl_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/xl/extr_if_xl.c_xl_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xl_devs = common local_unnamed_addr global ptr null, align 8
@BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@ENXIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xl_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @xl_probe(i32 noundef %0) #0 {
%2 = load ptr, ptr @xl_devs, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %25, label %6
6: ; preds = %1, %20
%7 = phi ptr [ %21, %20 ], [ %2, %1 ]
%8 = tail call i64 @pci_get_vendor(i32 noundef %0) #2
%9 = load i64, ptr %7, align 8, !tbaa !13
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %6
%12 = tail call i64 @pci_get_device(i32 noundef %0) #2
%13 = getelementptr inbounds i8, ptr %7, i64 8
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = icmp eq i64 %12, %14
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = getelementptr inbounds i8, ptr %7, i64 16
%18 = load ptr, ptr %17, align 8, !tbaa !10
%19 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef %18) #2
br label %25
20: ; preds = %11, %6
%21 = getelementptr inbounds i8, ptr %7, i64 24
%22 = getelementptr inbounds i8, ptr %7, i64 40
%23 = load ptr, ptr %22, align 8, !tbaa !10
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %6, !llvm.loop !15
25: ; preds = %20, %1, %16
%26 = phi ptr [ @BUS_PROBE_DEFAULT, %16 ], [ @ENXIO, %1 ], [ @ENXIO, %20 ]
%27 = load i32, ptr %26, align 4, !tbaa !17
ret i32 %27
}
declare i64 @pci_get_vendor(i32 noundef) local_unnamed_addr #1
declare i64 @pci_get_device(i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"xl_type", !12, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!11, !12, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !8, i64 0}
| freebsd_sys_dev_xl_extr_if_xl.c_xl_probe |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/selftests/extr_mock_dmabuf.c_mock_dmabuf.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/selftests/extr_mock_dmabuf.c_mock_dmabuf.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, ptr, i32, ptr }
%struct.mock_dmabuf = type { i32, ptr }
@exp_info = dso_local global %struct.TYPE_4__ zeroinitializer, align 8
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@mock_dmabuf_ops = dso_local global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@O_CLOEXEC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mock_dmabuf], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @mock_dmabuf(i32 noundef %0) #0 {
%2 = tail call i32 @DEFINE_DMA_BUF_EXPORT_INFO(ptr noundef nonnull byval(%struct.TYPE_4__) align 8 @exp_info) #2
%3 = shl i32 %0, 3
%4 = add i32 %3, 16
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%6 = tail call ptr @kmalloc(i32 noundef %4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %49, label %8
8: ; preds = %1
store i32 %0, ptr %6, align 8, !tbaa !9
%9 = icmp sgt i32 %0, 0
br i1 %9, label %10, label %23
10: ; preds = %8
%11 = getelementptr inbounds %struct.mock_dmabuf, ptr %6, i64 0, i32 1
%12 = zext nneg i32 %0 to i64
br label %13
13: ; preds = %10, %20
%14 = phi i64 [ 0, %10 ], [ %21, %20 ]
%15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%16 = tail call i32 @alloc_page(i32 noundef %15) #2
%17 = load ptr, ptr %11, align 8, !tbaa !12
%18 = getelementptr inbounds i32, ptr %17, i64 %14
store i32 %16, ptr %18, align 4, !tbaa !5
%19 = icmp eq i32 %16, 0
br i1 %19, label %31, label %20
20: ; preds = %13
%21 = add nuw nsw i64 %14, 1
%22 = icmp eq i64 %21, %12
br i1 %22, label %23, label %13, !llvm.loop !13
23: ; preds = %20, %8
%24 = phi i32 [ 0, %8 ], [ %0, %20 ]
store ptr @mock_dmabuf_ops, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @exp_info, i64 0, i32 3), align 8, !tbaa !15
%25 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5
%26 = mul nsw i32 %25, %0
store i32 %26, ptr @exp_info, align 8, !tbaa !17
%27 = load i32, ptr @O_CLOEXEC, align 4, !tbaa !5
store i32 %27, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @exp_info, i64 0, i32 2), align 8, !tbaa !18
store ptr %6, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @exp_info, i64 0, i32 1), align 8, !tbaa !19
%28 = tail call ptr @dma_buf_export(ptr noundef nonnull @exp_info) #2
%29 = tail call i64 @IS_ERR(ptr noundef %28) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %53, label %33
31: ; preds = %13
%32 = trunc i64 %14 to i32
br label %33
33: ; preds = %31, %23
%34 = phi i32 [ %24, %23 ], [ %32, %31 ]
%35 = icmp eq i32 %34, 0
br i1 %35, label %47, label %36
36: ; preds = %33
%37 = getelementptr inbounds %struct.mock_dmabuf, ptr %6, i64 0, i32 1
%38 = zext nneg i32 %34 to i64
br label %39
39: ; preds = %36, %39
%40 = phi i64 [ %38, %36 ], [ %41, %39 ]
%41 = add nsw i64 %40, -1
%42 = load ptr, ptr %37, align 8, !tbaa !12
%43 = getelementptr inbounds i32, ptr %42, i64 %41
%44 = load i32, ptr %43, align 4, !tbaa !5
%45 = tail call i32 @put_page(i32 noundef %44) #2
%46 = icmp eq i64 %41, 0
br i1 %46, label %47, label %39, !llvm.loop !20
47: ; preds = %39, %33
%48 = tail call i32 @kfree(ptr noundef nonnull %6) #2
br label %49
49: ; preds = %1, %47
%50 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%51 = sub nsw i32 0, %50
%52 = tail call ptr @ERR_PTR(i32 noundef %51) #2
br label %53
53: ; preds = %49, %23
%54 = phi ptr [ %28, %23 ], [ %52, %49 ]
ret ptr %54
}
declare i32 @DEFINE_DMA_BUF_EXPORT_INFO(ptr noundef byval(%struct.TYPE_4__) align 8) local_unnamed_addr #1
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1
declare i32 @alloc_page(i32 noundef) local_unnamed_addr #1
declare ptr @dma_buf_export(ptr noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @put_page(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, !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 = !{!"mock_dmabuf", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !11, i64 24}
!16 = !{!"TYPE_4__", !6, i64 0, !11, i64 8, !6, i64 16, !11, i64 24}
!17 = !{!16, !6, i64 0}
!18 = !{!16, !6, i64 16}
!19 = !{!16, !11, i64 8}
!20 = distinct !{!20, !14}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/selftests/extr_mock_dmabuf.c_mock_dmabuf.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/selftests/extr_mock_dmabuf.c_mock_dmabuf.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, ptr, i32, ptr }
@exp_info = common global %struct.TYPE_4__ zeroinitializer, align 8
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@mock_dmabuf_ops = common global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@O_CLOEXEC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mock_dmabuf], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @mock_dmabuf(i32 noundef %0) #0 {
%2 = alloca %struct.TYPE_4__, align 8
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) @exp_info, i64 32, i1 false), !tbaa.struct !6
%3 = call i32 @DEFINE_DMA_BUF_EXPORT_INFO(ptr noundef nonnull %2) #4
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #4
%4 = shl i32 %0, 3
%5 = add i32 %4, 16
%6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !7
%7 = call ptr @kmalloc(i32 noundef %5, i32 noundef %6) #4
%8 = icmp eq ptr %7, null
br i1 %8, label %50, label %9
9: ; preds = %1
store i32 %0, ptr %7, align 8, !tbaa !13
%10 = icmp sgt i32 %0, 0
br i1 %10, label %11, label %24
11: ; preds = %9
%12 = getelementptr inbounds i8, ptr %7, i64 8
%13 = zext nneg i32 %0 to i64
br label %14
14: ; preds = %11, %21
%15 = phi i64 [ 0, %11 ], [ %22, %21 ]
%16 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !7
%17 = call i32 @alloc_page(i32 noundef %16) #4
%18 = load ptr, ptr %12, align 8, !tbaa !15
%19 = getelementptr inbounds i32, ptr %18, i64 %15
store i32 %17, ptr %19, align 4, !tbaa !7
%20 = icmp eq i32 %17, 0
br i1 %20, label %32, label %21
21: ; preds = %14
%22 = add nuw nsw i64 %15, 1
%23 = icmp eq i64 %22, %13
br i1 %23, label %24, label %14, !llvm.loop !16
24: ; preds = %21, %9
%25 = phi i32 [ 0, %9 ], [ %0, %21 ]
store ptr @mock_dmabuf_ops, ptr getelementptr inbounds (i8, ptr @exp_info, i64 24), align 8, !tbaa !18
%26 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !7
%27 = mul nsw i32 %26, %0
store i32 %27, ptr @exp_info, align 8, !tbaa !20
%28 = load i32, ptr @O_CLOEXEC, align 4, !tbaa !7
store i32 %28, ptr getelementptr inbounds (i8, ptr @exp_info, i64 16), align 8, !tbaa !21
store ptr %7, ptr getelementptr inbounds (i8, ptr @exp_info, i64 8), align 8, !tbaa !22
%29 = call ptr @dma_buf_export(ptr noundef nonnull @exp_info) #4
%30 = call i64 @IS_ERR(ptr noundef %29) #4
%31 = icmp eq i64 %30, 0
br i1 %31, label %54, label %34
32: ; preds = %14
%33 = trunc nuw nsw i64 %15 to i32
br label %34
34: ; preds = %32, %24
%35 = phi i32 [ %25, %24 ], [ %33, %32 ]
%36 = icmp eq i32 %35, 0
br i1 %36, label %48, label %37
37: ; preds = %34
%38 = getelementptr inbounds i8, ptr %7, i64 8
%39 = zext nneg i32 %35 to i64
br label %40
40: ; preds = %37, %40
%41 = phi i64 [ %39, %37 ], [ %42, %40 ]
%42 = add nsw i64 %41, -1
%43 = load ptr, ptr %38, align 8, !tbaa !15
%44 = getelementptr inbounds i32, ptr %43, i64 %42
%45 = load i32, ptr %44, align 4, !tbaa !7
%46 = call i32 @put_page(i32 noundef %45) #4
%47 = icmp eq i64 %42, 0
br i1 %47, label %48, label %40, !llvm.loop !23
48: ; preds = %40, %34
%49 = call i32 @kfree(ptr noundef nonnull %7) #4
br label %50
50: ; preds = %1, %48
%51 = load i32, ptr @ENOMEM, align 4, !tbaa !7
%52 = sub nsw i32 0, %51
%53 = call ptr @ERR_PTR(i32 noundef %52) #4
br label %54
54: ; preds = %50, %24
%55 = phi ptr [ %29, %24 ], [ %53, %50 ]
ret ptr %55
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @DEFINE_DMA_BUF_EXPORT_INFO(ptr noundef) local_unnamed_addr #2
; 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) #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #2
declare i32 @alloc_page(i32 noundef) local_unnamed_addr #2
declare ptr @dma_buf_export(ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2
declare i32 @put_page(i32 noundef) local_unnamed_addr #2
declare i32 @kfree(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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{i64 0, i64 4, !7, i64 8, i64 8, !11, i64 16, i64 4, !7, i64 24, i64 8, !11}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"mock_dmabuf", !8, i64 0, !12, i64 8}
!15 = !{!14, !12, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !12, i64 24}
!19 = !{!"TYPE_4__", !8, i64 0, !12, i64 8, !8, i64 16, !12, i64 24}
!20 = !{!19, !8, i64 0}
!21 = !{!19, !8, i64 16}
!22 = !{!19, !12, i64 8}
!23 = distinct !{!23, !17}
| linux_drivers_gpu_drm_i915_gem_selftests_extr_mock_dmabuf.c_mock_dmabuf |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/extr_..steeringmlx5dr.h_mlx5dr_action_destroy.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/extr_..steeringmlx5dr.h_mlx5dr_action_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5dr_action_destroy], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @mlx5dr_action_destroy(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/extr_..steeringmlx5dr.h_mlx5dr_action_destroy.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/extr_..steeringmlx5dr.h_mlx5dr_action_destroy.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 @mlx5dr_action_destroy], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @mlx5dr_action_destroy(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_ethernet_mellanox_mlx5_core_diag_extr_..steeringmlx5dr.h_mlx5dr_action_destroy |
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_xattr.c_ceph_vxattrcb_dir_rfiles.c'
source_filename = "AnghaBench/linux/fs/ceph/extr_xattr.c_ceph_vxattrcb_dir_rfiles.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 [5 x i8] c"%lld\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @ceph_vxattrcb_dir_rfiles], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ceph_vxattrcb_dir_rfiles(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @ceph_fmt_xattr(ptr noundef %1, i64 noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
ret i32 %5
}
declare i32 @ceph_fmt_xattr(ptr noundef, i64 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 = !{!"ceph_inode_info", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/fs/ceph/extr_xattr.c_ceph_vxattrcb_dir_rfiles.c'
source_filename = "AnghaBench/linux/fs/ceph/extr_xattr.c_ceph_vxattrcb_dir_rfiles.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 [5 x i8] c"%lld\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @ceph_vxattrcb_dir_rfiles], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ceph_vxattrcb_dir_rfiles(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @ceph_fmt_xattr(ptr noundef %1, i64 noundef %2, ptr noundef nonnull @.str, i32 noundef %4) #2
ret i32 %5
}
declare i32 @ceph_fmt_xattr(ptr noundef, i64 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 = !{!"ceph_inode_info", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_fs_ceph_extr_xattr.c_ceph_vxattrcb_dir_rfiles |
; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_clk-rpm.c_clk_rpm_round_rate.c'
source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_clk-rpm.c_clk_rpm_round_rate.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 @clk_rpm_round_rate], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i64 @clk_rpm_round_rate(ptr nocapture readnone %0, i64 noundef returned %1, ptr nocapture readnone %2) #0 {
ret i64 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_clk-rpm.c_clk_rpm_round_rate.c'
source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_clk-rpm.c_clk_rpm_round_rate.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 @clk_rpm_round_rate], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i64 @clk_rpm_round_rate(ptr nocapture readnone %0, i64 noundef returned %1, ptr nocapture readnone %2) #0 {
ret i64 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_clk_qcom_extr_clk-rpm.c_clk_rpm_round_rate |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_..aq_ring.h_aq_ring_next_dx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_..aq_ring.h_aq_ring_next_dx.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 @aq_ring_next_dx], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @aq_ring_next_dx(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = add i32 %1, 1
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = icmp ult i32 %3, %4
%6 = select i1 %5, i32 %3, i32 0
ret i32 %6
}
attributes #0 = { inlinehint 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 = !{!"aq_ring_s", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_..aq_ring.h_aq_ring_next_dx.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/extr_..aq_ring.h_aq_ring_next_dx.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 @aq_ring_next_dx], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @aq_ring_next_dx(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = add i32 %1, 1
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = icmp ult i32 %3, %4
%6 = select i1 %5, i32 %3, i32 0
ret i32 %6
}
attributes #0 = { inlinehint 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 = !{!"aq_ring_s", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_aquantia_atlantic_hw_atl_extr_..aq_ring.h_aq_ring_next_dx |
; ModuleID = 'AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm4x.c_etm4_enable_hw_smp_call.c'
source_filename = "AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm4x.c_etm4_enable_hw_smp_call.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.etm4_enable_arg = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @etm4_enable_hw_smp_call], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @etm4_enable_hw_smp_call(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i64 @WARN_ON(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = tail call i32 @etm4_enable_hw(i32 noundef %7) #2
%9 = getelementptr inbounds %struct.etm4_enable_arg, ptr %0, i64 0, i32 1
store i32 %8, ptr %9, align 4, !tbaa !10
br label %10
10: ; preds = %1, %6
ret void
}
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @etm4_enable_hw(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 = !{!"etm4_enable_arg", !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 4}
| ; ModuleID = 'AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm4x.c_etm4_enable_hw_smp_call.c'
source_filename = "AnghaBench/linux/drivers/hwtracing/coresight/extr_coresight-etm4x.c_etm4_enable_hw_smp_call.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 @etm4_enable_hw_smp_call], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @etm4_enable_hw_smp_call(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
%3 = zext i1 %2 to i32
%4 = tail call i64 @WARN_ON(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = tail call i32 @etm4_enable_hw(i32 noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %8, ptr %9, align 4, !tbaa !11
br label %10
10: ; preds = %1, %6
ret void
}
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i32 @etm4_enable_hw(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 = !{!"etm4_enable_arg", !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 4}
| linux_drivers_hwtracing_coresight_extr_coresight-etm4x.c_etm4_enable_hw_smp_call |
; ModuleID = 'AnghaBench/masscan/src/extr_rawsock-pcapfile.c_pcapfile_get_timestamps.c'
source_filename = "AnghaBench/masscan/src/extr_rawsock-pcapfile.c_pcapfile_get_timestamps.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.PcapFile = type { i32, i32 }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local void @pcapfile_get_timestamps(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds %struct.PcapFile, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
store i32 %5, ptr %1, align 4, !tbaa !10
%6 = load i32, ptr %0, align 4, !tbaa !11
store i32 %6, ptr %2, align 4, !tbaa !10
ret void
}
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 4}
!6 = !{!"PcapFile", !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/masscan/src/extr_rawsock-pcapfile.c_pcapfile_get_timestamps.c'
source_filename = "AnghaBench/masscan/src/extr_rawsock-pcapfile.c_pcapfile_get_timestamps.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: readwrite) uwtable(sync)
define void @pcapfile_get_timestamps(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
store i32 %5, ptr %1, align 4, !tbaa !11
%6 = load i32, ptr %0, align 4, !tbaa !12
store i32 %6, ptr %2, align 4, !tbaa !11
ret void
}
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 4}
!7 = !{!"PcapFile", !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}
| masscan_src_extr_rawsock-pcapfile.c_pcapfile_get_timestamps |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibmad/extr_dump.c_mad_dump_cc_congestionlogca.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibmad/extr_dump.c_mad_dump_cc_congestionlogca.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"
@IB_CC_CONGESTION_LOG_CA_FIRST_F = dso_local local_unnamed_addr global i32 0, align 4
@IB_CC_CONGESTION_LOG_CA_LAST_F = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @mad_dump_cc_congestionlogca(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @IB_CC_CONGESTION_LOG_CA_FIRST_F, align 4, !tbaa !5
%6 = load i32, ptr @IB_CC_CONGESTION_LOG_CA_LAST_F, align 4, !tbaa !5
%7 = tail call i32 @_dump_fields(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %5, i32 noundef %6) #2
ret void
}
declare i32 @_dump_fields(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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibmad/extr_dump.c_mad_dump_cc_congestionlogca.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libibmad/extr_dump.c_mad_dump_cc_congestionlogca.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IB_CC_CONGESTION_LOG_CA_FIRST_F = common local_unnamed_addr global i32 0, align 4
@IB_CC_CONGESTION_LOG_CA_LAST_F = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @mad_dump_cc_congestionlogca(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = load i32, ptr @IB_CC_CONGESTION_LOG_CA_FIRST_F, align 4, !tbaa !6
%6 = load i32, ptr @IB_CC_CONGESTION_LOG_CA_LAST_F, align 4, !tbaa !6
%7 = tail call i32 @_dump_fields(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %5, i32 noundef %6) #2
ret void
}
declare i32 @_dump_fields(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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_ofed_libibmad_extr_dump.c_mad_dump_cc_congestionlogca |
; ModuleID = 'AnghaBench/linux/arch/s390/kvm/extr_intercept.c_handle_partial_execution.c'
source_filename = "AnghaBench/linux/arch/s390/kvm/extr_intercept.c_handle_partial_execution.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.kvm_vcpu = type { %struct.TYPE_6__, %struct.TYPE_4__ }
%struct.TYPE_6__ = type { ptr }
%struct.TYPE_4__ = type { i32 }
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @handle_partial_execution], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @handle_partial_execution(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = add nsw i32 %3, 1
store i32 %4, ptr %2, align 8, !tbaa !5
%5 = load ptr, ptr %0, align 8, !tbaa !13
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = icmp eq i32 %6, 45652
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 @handle_mvpg_pei(ptr noundef nonnull %0) #2
br label %18
10: ; preds = %1
%11 = and i32 %6, -256
%12 = icmp eq i32 %11, 44544
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = tail call i32 @kvm_s390_handle_sigp_pei(ptr noundef nonnull %0) #2
br label %18
15: ; preds = %10
%16 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16
%17 = sub nsw i32 0, %16
br label %18
18: ; preds = %15, %13, %8
%19 = phi i32 [ %9, %8 ], [ %14, %13 ], [ %17, %15 ]
ret i32 %19
}
declare i32 @handle_mvpg_pei(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_s390_handle_sigp_pei(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 = !{!"kvm_vcpu", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!6, !8, i64 0}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_5__", !12, i64 0}
!16 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/s390/kvm/extr_intercept.c_handle_partial_execution.c'
source_filename = "AnghaBench/linux/arch/s390/kvm/extr_intercept.c_handle_partial_execution.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 @handle_partial_execution], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @handle_partial_execution(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = add nsw i32 %3, 1
store i32 %4, ptr %2, align 8, !tbaa !6
%5 = load ptr, ptr %0, align 8, !tbaa !14
%6 = load i32, ptr %5, align 4, !tbaa !15
%7 = icmp eq i32 %6, 45652
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = tail call i32 @handle_mvpg_pei(ptr noundef nonnull %0) #2
br label %18
10: ; preds = %1
%11 = and i32 %6, -256
%12 = icmp eq i32 %11, 44544
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = tail call i32 @kvm_s390_handle_sigp_pei(ptr noundef nonnull %0) #2
br label %18
15: ; preds = %10
%16 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !17
%17 = sub nsw i32 0, %16
br label %18
18: ; preds = %15, %13, %8
%19 = phi i32 [ %9, %8 ], [ %14, %13 ], [ %17, %15 ]
ret i32 %19
}
declare i32 @handle_mvpg_pei(ptr noundef) local_unnamed_addr #1
declare i32 @kvm_s390_handle_sigp_pei(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 = !{!"kvm_vcpu", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!7, !9, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_5__", !13, i64 0}
!17 = !{!13, !13, i64 0}
| linux_arch_s390_kvm_extr_intercept.c_handle_partial_execution |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wl1251/extr_acx.c_wl1251_acx_aid.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wl1251/extr_acx.c_wl1251_acx_aid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DEBUG_ACX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"acx aid\00", align 1
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@ACX_AID = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"failed to set aid: %d\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @wl1251_acx_aid(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @DEBUG_ACX, align 4, !tbaa !5
%4 = tail call i32 @wl1251_debug(i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%6 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%10 = sub nsw i32 0, %9
br label %17
11: ; preds = %2
store i32 %1, ptr %6, align 4, !tbaa !9
%12 = load i32, ptr @ACX_AID, align 4, !tbaa !5
%13 = tail call i32 @wl1251_cmd_configure(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %6, i32 noundef 4) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = tail call i32 @wl1251_warning(ptr noundef nonnull @.str.1, i32 noundef %13) #2
br label %17
17: ; preds = %11, %15, %8
%18 = phi i32 [ %13, %15 ], [ %13, %11 ], [ %10, %8 ]
%19 = tail call i32 @kfree(ptr noundef %6) #2
ret i32 %18
}
declare i32 @wl1251_debug(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1251_cmd_configure(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1251_warning(ptr noundef, 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, !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 = !{!"acx_aid", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wl1251/extr_acx.c_wl1251_acx_aid.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wl1251/extr_acx.c_wl1251_acx_aid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DEBUG_ACX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"acx aid\00", align 1
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@ACX_AID = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"failed to set aid: %d\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @wl1251_acx_aid(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @DEBUG_ACX, align 4, !tbaa !6
%4 = tail call i32 @wl1251_debug(i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%6 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %2
%9 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%10 = sub nsw i32 0, %9
br label %17
11: ; preds = %2
store i32 %1, ptr %6, align 4, !tbaa !10
%12 = load i32, ptr @ACX_AID, align 4, !tbaa !6
%13 = tail call i32 @wl1251_cmd_configure(ptr noundef %0, i32 noundef %12, ptr noundef nonnull %6, i32 noundef 4) #2
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = tail call i32 @wl1251_warning(ptr noundef nonnull @.str.1, i32 noundef %13) #2
br label %17
17: ; preds = %11, %15, %8
%18 = phi i32 [ %13, %15 ], [ %13, %11 ], [ %10, %8 ]
%19 = tail call i32 @kfree(ptr noundef %6) #2
ret i32 %18
}
declare i32 @wl1251_debug(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1251_cmd_configure(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wl1251_warning(ptr noundef, 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, !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 = !{!"acx_aid", !7, i64 0}
| fastsocket_kernel_drivers_net_wireless_ti_wl1251_extr_acx.c_wl1251_acx_aid |
; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_llex.c_read_string.c'
source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_llex.c_read_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_12__ = type { i32, i32 }
@.str = private unnamed_addr constant [18 x i8] c"unfinished string\00", align 1
@TK_EOS = dso_local local_unnamed_addr global i32 0, align 4
@TK_STRING = dso_local local_unnamed_addr global i32 0, align 4
@UCHAR_MAX = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"escape sequence too large\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @read_string(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call i32 @save_and_next(ptr noundef %0) #2
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = icmp eq i32 %5, %1
br i1 %6, label %68, label %7
7: ; preds = %3, %12
%8 = phi i32 [ %13, %12 ], [ %5, %3 ]
switch i32 %8, label %66 [
i32 128, label %9
i32 10, label %15
i32 13, label %15
i32 92, label %18
]
9: ; preds = %7
%10 = load i32, ptr @TK_EOS, align 4, !tbaa !10
%11 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %10) #2
br label %12
12: ; preds = %27, %62, %18, %60, %38, %9, %15, %66
%13 = load i32, ptr %0, align 4, !tbaa !5
%14 = icmp eq i32 %13, %1
br i1 %14, label %68, label %7, !llvm.loop !11
15: ; preds = %7, %7
%16 = load i32, ptr @TK_STRING, align 4, !tbaa !10
%17 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %16) #2
br label %12
18: ; preds = %7
%19 = tail call i32 @next(ptr noundef nonnull %0) #2
%20 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %20, label %30 [
i32 97, label %62
i32 98, label %21
i32 102, label %22
i32 110, label %23
i32 114, label %24
i32 116, label %25
i32 118, label %26
i32 10, label %27
i32 13, label %27
i32 128, label %12
], !llvm.loop !11
21: ; preds = %18
br label %62
22: ; preds = %18
br label %62
23: ; preds = %18
br label %62
24: ; preds = %18
br label %62
25: ; preds = %18
br label %62
26: ; preds = %18
br label %62
27: ; preds = %18, %18
%28 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef 10) #2
%29 = tail call i32 @inclinenumber(ptr noundef nonnull %0) #2
br label %12, !llvm.loop !11
30: ; preds = %18
%31 = add i32 %20, -48
%32 = icmp ult i32 %31, 10
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = tail call i32 @next(ptr noundef nonnull %0) #2
%35 = load i32, ptr %0, align 4, !tbaa !5
%36 = add i32 %35, -48
%37 = icmp ult i32 %36, 10
br i1 %37, label %40, label %53, !llvm.loop !13
38: ; preds = %30
%39 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2
br label %12, !llvm.loop !11
40: ; preds = %33
%41 = mul nuw nsw i32 %31, 10
%42 = add nsw i32 %41, -48
%43 = add nsw i32 %42, %35
%44 = tail call i32 @next(ptr noundef nonnull %0) #2
%45 = load i32, ptr %0, align 4, !tbaa !5
%46 = add i32 %45, -48
%47 = icmp ult i32 %46, 10
br i1 %47, label %48, label %53, !llvm.loop !13
48: ; preds = %40
%49 = mul nuw nsw i32 %43, 10
%50 = add nsw i32 %49, -48
%51 = add nsw i32 %50, %45
%52 = tail call i32 @next(ptr noundef nonnull %0) #2
br label %53
53: ; preds = %48, %40, %33
%54 = phi i32 [ %31, %33 ], [ %43, %40 ], [ %51, %48 ]
%55 = load i32, ptr @UCHAR_MAX, align 4, !tbaa !10
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %60
57: ; preds = %53
%58 = load i32, ptr @TK_STRING, align 4, !tbaa !10
%59 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %58) #2
br label %60
60: ; preds = %57, %53
%61 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef %54) #2
br label %12, !llvm.loop !11
62: ; preds = %18, %26, %25, %24, %23, %22, %21
%63 = phi i32 [ 11, %26 ], [ 9, %25 ], [ 13, %24 ], [ 10, %23 ], [ 12, %22 ], [ 8, %21 ], [ 7, %18 ]
%64 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef %63) #2
%65 = tail call i32 @next(ptr noundef nonnull %0) #2
br label %12, !llvm.loop !11
66: ; preds = %7
%67 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2
br label %12
68: ; preds = %12, %3
%69 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2
%70 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1
%71 = load i32, ptr %70, align 4, !tbaa !14
%72 = tail call i64 @luaZ_buffer(i32 noundef %71) #2
%73 = add nsw i64 %72, 1
%74 = load i32, ptr %70, align 4, !tbaa !14
%75 = tail call i64 @luaZ_bufflen(i32 noundef %74) #2
%76 = add nsw i64 %75, -2
%77 = tail call i32 @luaX_newstring(ptr noundef nonnull %0, i64 noundef %73, i64 noundef %76) #2
store i32 %77, ptr %2, align 4, !tbaa !15
ret void
}
declare i32 @save_and_next(ptr noundef) local_unnamed_addr #1
declare i32 @luaX_lexerror(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @next(ptr noundef) local_unnamed_addr #1
declare i32 @save(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inclinenumber(ptr noundef) local_unnamed_addr #1
declare i32 @luaX_newstring(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @luaZ_buffer(i32 noundef) local_unnamed_addr #1
declare i64 @luaZ_bufflen(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_12__", !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!6, !7, i64 4}
!15 = !{!16, !7, i64 0}
!16 = !{!"TYPE_11__", !7, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_llex.c_read_string.c'
source_filename = "AnghaBench/Provenance/Cores/FCEU/FCEU/lua/src/extr_llex.c_read_string.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 [18 x i8] c"unfinished string\00", align 1
@TK_EOS = common local_unnamed_addr global i32 0, align 4
@TK_STRING = common local_unnamed_addr global i32 0, align 4
@UCHAR_MAX = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"escape sequence too large\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @read_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @read_string(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call i32 @save_and_next(ptr noundef %0) #2
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = icmp eq i32 %5, %1
br i1 %6, label %68, label %7
7: ; preds = %3, %12
%8 = phi i32 [ %13, %12 ], [ %5, %3 ]
switch i32 %8, label %66 [
i32 128, label %9
i32 10, label %15
i32 13, label %15
i32 92, label %18
]
9: ; preds = %7
%10 = load i32, ptr @TK_EOS, align 4, !tbaa !11
%11 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %10) #2
br label %12
12: ; preds = %27, %62, %18, %60, %38, %9, %15, %66
%13 = load i32, ptr %0, align 4, !tbaa !6
%14 = icmp eq i32 %13, %1
br i1 %14, label %68, label %7, !llvm.loop !12
15: ; preds = %7, %7
%16 = load i32, ptr @TK_STRING, align 4, !tbaa !11
%17 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %16) #2
br label %12
18: ; preds = %7
%19 = tail call i32 @next(ptr noundef nonnull %0) #2
%20 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %20, label %30 [
i32 97, label %62
i32 98, label %21
i32 102, label %22
i32 110, label %23
i32 114, label %24
i32 116, label %25
i32 118, label %26
i32 10, label %27
i32 13, label %27
i32 128, label %12
], !llvm.loop !12
21: ; preds = %18
br label %62
22: ; preds = %18
br label %62
23: ; preds = %18
br label %62
24: ; preds = %18
br label %62
25: ; preds = %18
br label %62
26: ; preds = %18
br label %62
27: ; preds = %18, %18
%28 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef 10) #2
%29 = tail call i32 @inclinenumber(ptr noundef nonnull %0) #2
br label %12, !llvm.loop !12
30: ; preds = %18
%31 = add i32 %20, -48
%32 = icmp ult i32 %31, 10
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = tail call i32 @next(ptr noundef nonnull %0) #2
%35 = load i32, ptr %0, align 4, !tbaa !6
%36 = add i32 %35, -48
%37 = icmp ult i32 %36, 10
br i1 %37, label %40, label %53, !llvm.loop !14
38: ; preds = %30
%39 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2
br label %12, !llvm.loop !12
40: ; preds = %33
%41 = mul nuw nsw i32 %31, 10
%42 = add nsw i32 %41, -48
%43 = add nsw i32 %42, %35
%44 = tail call i32 @next(ptr noundef nonnull %0) #2
%45 = load i32, ptr %0, align 4, !tbaa !6
%46 = add i32 %45, -48
%47 = icmp ult i32 %46, 10
br i1 %47, label %48, label %53, !llvm.loop !14
48: ; preds = %40
%49 = mul nuw nsw i32 %43, 10
%50 = add nsw i32 %49, -48
%51 = add nsw i32 %50, %45
%52 = tail call i32 @next(ptr noundef nonnull %0) #2
br label %53
53: ; preds = %48, %40, %33
%54 = phi i32 [ %31, %33 ], [ %43, %40 ], [ %51, %48 ]
%55 = load i32, ptr @UCHAR_MAX, align 4, !tbaa !11
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %60
57: ; preds = %53
%58 = load i32, ptr @TK_STRING, align 4, !tbaa !11
%59 = tail call i32 @luaX_lexerror(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %58) #2
br label %60
60: ; preds = %57, %53
%61 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef %54) #2
br label %12, !llvm.loop !12
62: ; preds = %18, %26, %25, %24, %23, %22, %21
%63 = phi i32 [ 11, %26 ], [ 9, %25 ], [ 13, %24 ], [ 10, %23 ], [ 12, %22 ], [ 8, %21 ], [ 7, %18 ]
%64 = tail call i32 @save(ptr noundef nonnull %0, i32 noundef %63) #2
%65 = tail call i32 @next(ptr noundef nonnull %0) #2
br label %12, !llvm.loop !12
66: ; preds = %7
%67 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2
br label %12
68: ; preds = %12, %3
%69 = tail call i32 @save_and_next(ptr noundef nonnull %0) #2
%70 = getelementptr inbounds i8, ptr %0, i64 4
%71 = load i32, ptr %70, align 4, !tbaa !15
%72 = tail call i64 @luaZ_buffer(i32 noundef %71) #2
%73 = add nsw i64 %72, 1
%74 = load i32, ptr %70, align 4, !tbaa !15
%75 = tail call i64 @luaZ_bufflen(i32 noundef %74) #2
%76 = add nsw i64 %75, -2
%77 = tail call i32 @luaX_newstring(ptr noundef nonnull %0, i64 noundef %73, i64 noundef %76) #2
store i32 %77, ptr %2, align 4, !tbaa !16
ret void
}
declare i32 @save_and_next(ptr noundef) local_unnamed_addr #1
declare i32 @luaX_lexerror(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @next(ptr noundef) local_unnamed_addr #1
declare i32 @save(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @inclinenumber(ptr noundef) local_unnamed_addr #1
declare i32 @luaX_newstring(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @luaZ_buffer(i32 noundef) local_unnamed_addr #1
declare i64 @luaZ_bufflen(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_12__", !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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!7, !8, i64 4}
!16 = !{!17, !8, i64 0}
!17 = !{!"TYPE_11__", !8, i64 0}
| Provenance_Cores_FCEU_FCEU_lua_src_extr_llex.c_read_string |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_ifstat.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_ifstat.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 { %struct.TYPE_8__, ptr }
%struct.TYPE_8__ = type { i64 }
@TK_ELSEIF = dso_local local_unnamed_addr global i64 0, align 8
@TK_ELSE = dso_local local_unnamed_addr global i64 0, align 8
@TK_END = dso_local local_unnamed_addr global i32 0, align 4
@TK_IF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ifstat], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ifstat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 -1, ptr %3, align 4, !tbaa !12
%6 = tail call i32 @test_then_block(ptr noundef %0) #3
%7 = load i64, ptr %0, align 8, !tbaa !14
%8 = load i64, ptr @TK_ELSEIF, align 8, !tbaa !15
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %2, %10
%11 = phi i32 [ %15, %10 ], [ %6, %2 ]
%12 = call i32 @luaK_jump(ptr noundef %5) #3
%13 = call i32 @luaK_concat(ptr noundef %5, ptr noundef nonnull %3, i32 noundef %12) #3
%14 = call i32 @luaK_patchtohere(ptr noundef %5, i32 noundef %11) #3
%15 = call i32 @test_then_block(ptr noundef nonnull %0) #3
%16 = load i64, ptr %0, align 8, !tbaa !14
%17 = load i64, ptr @TK_ELSEIF, align 8, !tbaa !15
%18 = icmp eq i64 %16, %17
br i1 %18, label %10, label %19, !llvm.loop !16
19: ; preds = %10, %2
%20 = phi i32 [ %6, %2 ], [ %15, %10 ]
%21 = phi i64 [ %7, %2 ], [ %16, %10 ]
%22 = load i64, ptr @TK_ELSE, align 8, !tbaa !15
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = call i32 @luaK_jump(ptr noundef %5) #3
%26 = call i32 @luaK_concat(ptr noundef %5, ptr noundef nonnull %3, i32 noundef %25) #3
%27 = call i32 @luaK_patchtohere(ptr noundef %5, i32 noundef %20) #3
%28 = call i32 @luaX_next(ptr noundef nonnull %0) #3
%29 = call i32 @block(ptr noundef nonnull %0) #3
br label %32
30: ; preds = %19
%31 = call i32 @luaK_concat(ptr noundef %5, ptr noundef nonnull %3, i32 noundef %20) #3
br label %32
32: ; preds = %30, %24
%33 = load i32, ptr %3, align 4, !tbaa !12
%34 = call i32 @luaK_patchtohere(ptr noundef %5, i32 noundef %33) #3
%35 = load i32, ptr @TK_END, align 4, !tbaa !12
%36 = load i32, ptr @TK_IF, align 4, !tbaa !12
%37 = call i32 @check_match(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef %1) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @test_then_block(ptr noundef) local_unnamed_addr #2
declare i32 @luaK_concat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaK_jump(ptr noundef) local_unnamed_addr #2
declare i32 @luaK_patchtohere(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaX_next(ptr noundef) local_unnamed_addr #2
declare i32 @block(ptr noundef) local_unnamed_addr #2
declare i32 @check_match(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 8}
!6 = !{!"TYPE_9__", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!6, !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_ifstat.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_ifstat.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TK_ELSEIF = common local_unnamed_addr global i64 0, align 8
@TK_ELSE = common local_unnamed_addr global i64 0, align 8
@TK_END = common local_unnamed_addr global i32 0, align 4
@TK_IF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ifstat], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ifstat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 -1, ptr %3, align 4, !tbaa !13
%6 = tail call i32 @test_then_block(ptr noundef %0) #3
%7 = load i64, ptr %0, align 8, !tbaa !15
%8 = load i64, ptr @TK_ELSEIF, align 8, !tbaa !16
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %2, %10
%11 = phi i32 [ %15, %10 ], [ %6, %2 ]
%12 = call i32 @luaK_jump(ptr noundef %5) #3
%13 = call i32 @luaK_concat(ptr noundef %5, ptr noundef nonnull %3, i32 noundef %12) #3
%14 = call i32 @luaK_patchtohere(ptr noundef %5, i32 noundef %11) #3
%15 = call i32 @test_then_block(ptr noundef nonnull %0) #3
%16 = load i64, ptr %0, align 8, !tbaa !15
%17 = load i64, ptr @TK_ELSEIF, align 8, !tbaa !16
%18 = icmp eq i64 %16, %17
br i1 %18, label %10, label %19, !llvm.loop !17
19: ; preds = %10, %2
%20 = phi i32 [ %6, %2 ], [ %15, %10 ]
%21 = phi i64 [ %7, %2 ], [ %16, %10 ]
%22 = load i64, ptr @TK_ELSE, align 8, !tbaa !16
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = call i32 @luaK_jump(ptr noundef %5) #3
%26 = call i32 @luaK_concat(ptr noundef %5, ptr noundef nonnull %3, i32 noundef %25) #3
%27 = call i32 @luaK_patchtohere(ptr noundef %5, i32 noundef %20) #3
%28 = call i32 @luaX_next(ptr noundef nonnull %0) #3
%29 = call i32 @block(ptr noundef nonnull %0) #3
br label %32
30: ; preds = %19
%31 = call i32 @luaK_concat(ptr noundef %5, ptr noundef nonnull %3, i32 noundef %20) #3
br label %32
32: ; preds = %30, %24
%33 = load i32, ptr %3, align 4, !tbaa !13
%34 = call i32 @luaK_patchtohere(ptr noundef %5, i32 noundef %33) #3
%35 = load i32, ptr @TK_END, align 4, !tbaa !13
%36 = load i32, ptr @TK_IF, align 4, !tbaa !13
%37 = call i32 @check_match(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef %1) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @test_then_block(ptr noundef) local_unnamed_addr #2
declare i32 @luaK_concat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaK_jump(ptr noundef) local_unnamed_addr #2
declare i32 @luaK_patchtohere(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @luaX_next(ptr noundef) local_unnamed_addr #2
declare i32 @block(ptr noundef) local_unnamed_addr #2
declare i32 @check_match(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 8}
!7 = !{!"TYPE_9__", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_8__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!7, !9, i64 0}
!16 = !{!9, !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_ifstat |
; ModuleID = 'AnghaBench/vlc/src/player/extr_player.c_vlc_player_ChangeRateOffset.c'
source_filename = "AnghaBench/vlc/src/player/extr_player.c_vlc_player_ChangeRateOffset.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"
@vlc_player_ChangeRateOffset.rates = internal constant [17 x float] [float 1.562500e-02, float 3.125000e-02, float 6.250000e-02, float 1.250000e-01, float 2.500000e-01, float 0x3FD5555560000000, float 5.000000e-01, float 0x3FE5555560000000, float 1.000000e+00, float 1.500000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 8.000000e+00, float 1.600000e+01, float 3.200000e+01, float 6.400000e+01], align 16
@llvm.compiler.used = appending global [1 x ptr] [ptr @vlc_player_ChangeRateOffset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vlc_player_ChangeRateOffset(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call float @vlc_player_GetRate(ptr noundef %0) #2
%4 = icmp eq i32 %1, 0
%5 = select i1 %4, float 0x3FECCCCCC0000000, float 0x3FF19999A0000000
%6 = fmul float %5, %3
%7 = tail call i64 @ARRAY_SIZE(ptr noundef nonnull @vlc_player_ChangeRateOffset.rates) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %34, label %9
9: ; preds = %2
%10 = xor i1 %4, true
%11 = fcmp olt float %6, 1.562500e-02
%12 = select i1 %10, i1 %11, i1 false
br i1 %12, label %24, label %13
13: ; preds = %9
%14 = tail call i64 @ARRAY_SIZE(ptr noundef nonnull @vlc_player_ChangeRateOffset.rates) #2
%15 = icmp ugt i64 %14, 1
br i1 %15, label %16, label %34
16: ; preds = %13, %30
%17 = phi i64 [ %31, %30 ], [ 1, %13 ]
%18 = getelementptr inbounds [17 x float], ptr @vlc_player_ChangeRateOffset.rates, i64 0, i64 %17
%19 = load float, ptr %18, align 4, !tbaa !5
br i1 %4, label %22, label %20
20: ; preds = %16
%21 = fcmp ogt float %19, %6
br i1 %21, label %24, label %30
22: ; preds = %16
%23 = fcmp ult float %19, %6
br i1 %23, label %30, label %24
24: ; preds = %9, %22, %20
%25 = phi i64 [ %17, %20 ], [ %17, %22 ], [ 0, %9 ]
%26 = sext i1 %4 to i64
%27 = add i64 %25, %26
%28 = getelementptr inbounds [17 x float], ptr @vlc_player_ChangeRateOffset.rates, i64 0, i64 %27
%29 = load float, ptr %28, align 4, !tbaa !5
br label %34
30: ; preds = %20, %22
%31 = add nuw i64 %17, 1
%32 = tail call i64 @ARRAY_SIZE(ptr noundef nonnull @vlc_player_ChangeRateOffset.rates) #2
%33 = icmp ult i64 %31, %32
br i1 %33, label %16, label %34, !llvm.loop !9
34: ; preds = %13, %30, %2, %24
%35 = phi float [ %29, %24 ], [ %6, %2 ], [ %6, %30 ], [ %6, %13 ]
%36 = tail call i32 @vlc_player_ChangeRate(ptr noundef %0, float noundef %35) #2
ret void
}
declare float @vlc_player_GetRate(ptr noundef) local_unnamed_addr #1
declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_player_ChangeRate(ptr noundef, float 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.peeled.count", i32 1}
| ; ModuleID = 'AnghaBench/vlc/src/player/extr_player.c_vlc_player_ChangeRateOffset.c'
source_filename = "AnghaBench/vlc/src/player/extr_player.c_vlc_player_ChangeRateOffset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vlc_player_ChangeRateOffset.rates = internal constant [17 x float] [float 1.562500e-02, float 3.125000e-02, float 6.250000e-02, float 1.250000e-01, float 2.500000e-01, float 0x3FD5555560000000, float 5.000000e-01, float 0x3FE5555560000000, float 1.000000e+00, float 1.500000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 8.000000e+00, float 1.600000e+01, float 3.200000e+01, float 6.400000e+01], align 4
@llvm.used = appending global [1 x ptr] [ptr @vlc_player_ChangeRateOffset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vlc_player_ChangeRateOffset(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call float @vlc_player_GetRate(ptr noundef %0) #2
%4 = icmp eq i32 %1, 0
%5 = select i1 %4, float 0x3FECCCCCC0000000, float 0x3FF19999A0000000
%6 = fmul float %5, %3
%7 = tail call i64 @ARRAY_SIZE(ptr noundef nonnull @vlc_player_ChangeRateOffset.rates) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %34, label %9
9: ; preds = %2
%10 = xor i1 %4, true
%11 = fcmp olt float %6, 1.562500e-02
%12 = select i1 %10, i1 %11, i1 false
br i1 %12, label %24, label %13
13: ; preds = %9
%14 = tail call i64 @ARRAY_SIZE(ptr noundef nonnull @vlc_player_ChangeRateOffset.rates) #2
%15 = icmp ugt i64 %14, 1
br i1 %15, label %16, label %34
16: ; preds = %13, %30
%17 = phi i64 [ %31, %30 ], [ 1, %13 ]
%18 = getelementptr inbounds [17 x float], ptr @vlc_player_ChangeRateOffset.rates, i64 0, i64 %17
%19 = load float, ptr %18, align 4, !tbaa !6
br i1 %4, label %22, label %20
20: ; preds = %16
%21 = fcmp ogt float %19, %6
br i1 %21, label %24, label %30
22: ; preds = %16
%23 = fcmp ult float %19, %6
br i1 %23, label %30, label %24
24: ; preds = %9, %22, %20
%25 = phi i64 [ %17, %20 ], [ %17, %22 ], [ 0, %9 ]
%26 = sext i1 %4 to i64
%27 = add i64 %25, %26
%28 = getelementptr inbounds [17 x float], ptr @vlc_player_ChangeRateOffset.rates, i64 0, i64 %27
%29 = load float, ptr %28, align 4, !tbaa !6
br label %34
30: ; preds = %20, %22
%31 = add nuw i64 %17, 1
%32 = tail call i64 @ARRAY_SIZE(ptr noundef nonnull @vlc_player_ChangeRateOffset.rates) #2
%33 = icmp ult i64 %31, %32
br i1 %33, label %16, label %34, !llvm.loop !10
34: ; preds = %13, %30, %2, %24
%35 = phi float [ %29, %24 ], [ %6, %2 ], [ %6, %30 ], [ %6, %13 ]
%36 = tail call i32 @vlc_player_ChangeRate(ptr noundef %0, float noundef %35) #2
ret void
}
declare float @vlc_player_GetRate(ptr noundef) local_unnamed_addr #1
declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @vlc_player_ChangeRate(ptr noundef, float 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 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11, !12}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!"llvm.loop.peeled.count", i32 1}
| vlc_src_player_extr_player.c_vlc_player_ChangeRateOffset |
; ModuleID = 'AnghaBench/linux/arch/powerpc/sysdev/xics/extr_icp-hv.c_icp_hv_eoi.c'
source_filename = "AnghaBench/linux/arch/powerpc/sysdev/xics/extr_icp-hv.c_icp_hv_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 @icp_hv_eoi], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @icp_hv_eoi(ptr noundef %0) #0 {
%2 = tail call i64 @irqd_to_hwirq(ptr noundef %0) #2
%3 = trunc i64 %2 to i32
%4 = tail call i32 (...) @iosync() #2
%5 = tail call i32 (...) @xics_pop_cppr() #2
%6 = shl i32 %5, 24
%7 = or i32 %6, %3
%8 = tail call i32 @icp_hv_set_xirr(i32 noundef %7) #2
ret void
}
declare i64 @irqd_to_hwirq(ptr noundef) local_unnamed_addr #1
declare i32 @iosync(...) local_unnamed_addr #1
declare i32 @icp_hv_set_xirr(i32 noundef) local_unnamed_addr #1
declare i32 @xics_pop_cppr(...) 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/arch/powerpc/sysdev/xics/extr_icp-hv.c_icp_hv_eoi.c'
source_filename = "AnghaBench/linux/arch/powerpc/sysdev/xics/extr_icp-hv.c_icp_hv_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 @icp_hv_eoi], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @icp_hv_eoi(ptr noundef %0) #0 {
%2 = tail call i64 @irqd_to_hwirq(ptr noundef %0) #2
%3 = trunc i64 %2 to i32
%4 = tail call i32 @iosync() #2
%5 = tail call i32 @xics_pop_cppr() #2
%6 = shl i32 %5, 24
%7 = or i32 %6, %3
%8 = tail call i32 @icp_hv_set_xirr(i32 noundef %7) #2
ret void
}
declare i64 @irqd_to_hwirq(ptr noundef) local_unnamed_addr #1
declare i32 @iosync(...) local_unnamed_addr #1
declare i32 @icp_hv_set_xirr(i32 noundef) local_unnamed_addr #1
declare i32 @xics_pop_cppr(...) 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_arch_powerpc_sysdev_xics_extr_icp-hv.c_icp_hv_eoi |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/tls/extr_tlsv1_record.c_tlsv1_record_receive.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/tls/extr_tlsv1_record.c_tlsv1_record_receive.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.tlsv1_record_layer = type { i64, i64, i64, i64, ptr, i32, i32, i32 }
@TLS_RECORD_HEADER_LEN = dso_local local_unnamed_addr global i64 0, align 8
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c"TLSv1: Too short record (in_len=%lu) - need more data\00", align 1
@MSG_MSGDUMP = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"TLSv1: Record Layer - Received\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"TLSv1: Received content type %d version %d.%d length %d\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"TLSv1: Unexpected protocol version %u.%u\00", align 1
@TLS_ALERT_PROTOCOL_VERSION = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [33 x i8] c"TLSv1: Record overflow (len=%lu)\00", align 1
@TLS_ALERT_RECORD_OVERFLOW = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [60 x i8] c"TLSv1: Not all record data included (rlen=%lu > in_len=%lu)\00", align 1
@TLS_CONTENT_TYPE_HANDSHAKE = dso_local local_unnamed_addr global i32 0, align 4
@TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC = dso_local local_unnamed_addr global i32 0, align 4
@TLS_CONTENT_TYPE_ALERT = dso_local local_unnamed_addr global i32 0, align 4
@TLS_CONTENT_TYPE_APPLICATION_DATA = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [52 x i8] c"TLSv1: Ignore record with unknown content type 0x%x\00", align 1
@TLS_ALERT_UNEXPECTED_MESSAGE = dso_local local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [63 x i8] c"TLSv1: Not enough output buffer for processing received record\00", align 1
@TLS_ALERT_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@TLS_NULL_WITH_NULL_NULL = dso_local local_unnamed_addr global i64 0, align 8
@TLS_ALERT_DECRYPTION_FAILED = dso_local local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [37 x i8] c"TLSv1: Record Layer - Decrypted data\00", align 1
@TLS_VERSION_1_1 = dso_local local_unnamed_addr global i64 0, align 8
@.str.9 = private unnamed_addr constant [32 x i8] c"TLSv1.1: Not enough room for IV\00", align 1
@.str.10 = private unnamed_addr constant [33 x i8] c"TLSv1: Too short record (no pad)\00", align 1
@.str.11 = private unnamed_addr constant [62 x i8] c"TLSv1: Incorrect pad length (%u, plen=%lu) in received record\00", align 1
@.str.12 = private unnamed_addr constant [38 x i8] c"TLSv1: Invalid pad in received record\00", align 1
@.str.13 = private unnamed_addr constant [65 x i8] c"TLSv1: Record Layer - Decrypted data with IV and padding removed\00", align 1
@.str.14 = private unnamed_addr constant [39 x i8] c"TLSv1: Too short record; no hash value\00", align 1
@TLS_ALERT_BAD_RECORD_MAC = dso_local local_unnamed_addr global i32 0, align 4
@.str.15 = private unnamed_addr constant [48 x i8] c"TLSv1: Record Layer - Failed to initialize HMAC\00", align 1
@TLS_SEQ_NUM_LEN = dso_local local_unnamed_addr global i64 0, align 8
@.str.16 = private unnamed_addr constant [47 x i8] c"TLSv1: Record Layer - Failed to calculate HMAC\00", align 1
@.str.17 = private unnamed_addr constant [67 x i8] c"TLSv1: Invalid HMAC value in received message (force_mac_error=%d)\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @tlsv1_record_receive(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr nocapture noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
%7 = alloca i64, align 8
%8 = alloca [2 x i32], align 4
%9 = alloca [100 x i32], align 16
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %9) #3
%10 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !5
%11 = icmp ugt i64 %10, %2
br i1 %11, label %12, label %18
12: ; preds = %6
%13 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%14 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %13, ptr noundef nonnull @.str, i64 noundef %2) #3
%15 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !9
%16 = trunc i64 %2 to i32
%17 = tail call i32 @wpa_hexdump(i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %1, i32 noundef %16) #3
br label %223
18: ; preds = %6
%19 = load i32, ptr %1, align 4, !tbaa !9
%20 = getelementptr inbounds i32, ptr %1, i64 3
%21 = tail call i64 @WPA_GET_BE16(ptr noundef nonnull %20) #3
%22 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%23 = getelementptr inbounds i32, ptr %1, i64 1
%24 = load i32, ptr %23, align 4, !tbaa !9
%25 = getelementptr inbounds i32, ptr %1, i64 2
%26 = load i32, ptr %25, align 4, !tbaa !9
%27 = trunc i64 %21 to i32
%28 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %22, ptr noundef nonnull @.str.2, i32 noundef %19, i32 noundef %24, i32 noundef %26, i32 noundef %27) #3
%29 = load i32, ptr %23, align 4, !tbaa !9
%30 = icmp eq i32 %29, 3
br i1 %30, label %36, label %31
31: ; preds = %18
%32 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%33 = load i32, ptr %25, align 4, !tbaa !9
%34 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %32, ptr noundef nonnull @.str.3, i32 noundef %29, i32 noundef %33) #3
%35 = load i32, ptr @TLS_ALERT_PROTOCOL_VERSION, align 4, !tbaa !9
store i32 %35, ptr %5, align 4, !tbaa !9
br label %223
36: ; preds = %18
%37 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !5
%38 = add i64 %37, %21
%39 = icmp ugt i64 %38, 18432
br i1 %39, label %40, label %44
40: ; preds = %36
%41 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%42 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %41, ptr noundef nonnull @.str.4, i64 noundef %38) #3
%43 = load i32, ptr @TLS_ALERT_RECORD_OVERFLOW, align 4, !tbaa !9
store i32 %43, ptr %5, align 4, !tbaa !9
br label %223
44: ; preds = %36
%45 = getelementptr inbounds i32, ptr %1, i64 %37
%46 = sub i64 %2, %37
%47 = icmp ugt i64 %21, %46
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%50 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %49, ptr noundef nonnull @.str.5, i64 noundef %21, i64 noundef %46) #3
br label %223
51: ; preds = %44
%52 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !9
%53 = tail call i32 @wpa_hexdump(i32 noundef %52, ptr noundef nonnull @.str.1, ptr noundef nonnull %45, i32 noundef %27) #3
%54 = load i32, ptr @TLS_CONTENT_TYPE_HANDSHAKE, align 4, !tbaa !9
%55 = icmp eq i32 %19, %54
%56 = load i32, ptr @TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC, align 4
%57 = icmp eq i32 %19, %56
%58 = select i1 %55, i1 true, i1 %57
%59 = load i32, ptr @TLS_CONTENT_TYPE_ALERT, align 4
%60 = icmp eq i32 %19, %59
%61 = select i1 %58, i1 true, i1 %60
%62 = load i32, ptr @TLS_CONTENT_TYPE_APPLICATION_DATA, align 4
%63 = icmp eq i32 %19, %62
%64 = select i1 %61, i1 true, i1 %63
br i1 %64, label %69, label %65
65: ; preds = %51
%66 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%67 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %66, ptr noundef nonnull @.str.6, i32 noundef %19) #3
%68 = load i32, ptr @TLS_ALERT_UNEXPECTED_MESSAGE, align 4, !tbaa !9
store i32 %68, ptr %5, align 4, !tbaa !9
br label %223
69: ; preds = %51
%70 = load i64, ptr %4, align 8, !tbaa !5
%71 = icmp ult i64 %70, %21
br i1 %71, label %72, label %76
72: ; preds = %69
%73 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%74 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %73, ptr noundef nonnull @.str.7) #3
%75 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !9
store i32 %75, ptr %5, align 4, !tbaa !9
br label %223
76: ; preds = %69
%77 = load i64, ptr %0, align 8, !tbaa !11
%78 = load i64, ptr @TLS_NULL_WITH_NULL_NULL, align 8, !tbaa !5
%79 = icmp eq i64 %77, %78
br i1 %79, label %204, label %80
80: ; preds = %76
%81 = getelementptr inbounds %struct.tlsv1_record_layer, ptr %0, i64 0, i32 7
%82 = load i32, ptr %81, align 8, !tbaa !14
%83 = tail call i64 @crypto_cipher_decrypt(i32 noundef %82, ptr noundef nonnull %45, ptr noundef %3, i64 noundef %21) #3
%84 = icmp slt i64 %83, 0
br i1 %84, label %85, label %87
85: ; preds = %80
%86 = load i32, ptr @TLS_ALERT_DECRYPTION_FAILED, align 4, !tbaa !9
store i32 %86, ptr %5, align 4, !tbaa !9
br label %223
87: ; preds = %80
%88 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !9
%89 = tail call i32 @wpa_hexdump_key(i32 noundef %88, ptr noundef nonnull @.str.8, ptr noundef %3, i64 noundef %21) #3
%90 = getelementptr inbounds %struct.tlsv1_record_layer, ptr %0, i64 0, i32 1
%91 = load i64, ptr %90, align 8, !tbaa !15
%92 = icmp eq i64 %91, 0
br i1 %92, label %150, label %93
93: ; preds = %87
%94 = getelementptr inbounds %struct.tlsv1_record_layer, ptr %0, i64 0, i32 2
%95 = load i64, ptr %94, align 8, !tbaa !16
%96 = load i64, ptr @TLS_VERSION_1_1, align 8, !tbaa !5
%97 = icmp slt i64 %95, %96
br i1 %97, label %109, label %98
98: ; preds = %93
%99 = icmp ult i64 %21, %91
br i1 %99, label %100, label %103
100: ; preds = %98
%101 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%102 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %101, ptr noundef nonnull @.str.9) #3
br label %150
103: ; preds = %98
%104 = getelementptr inbounds i32, ptr %3, i64 %91
%105 = sub i64 %21, %91
%106 = tail call i32 @os_memmove(ptr noundef %3, ptr noundef nonnull %104, i64 noundef %105) #3
%107 = load i64, ptr %90, align 8, !tbaa !15
%108 = sub i64 %21, %107
br label %109
109: ; preds = %103, %93
%110 = phi i64 [ %108, %103 ], [ %21, %93 ]
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %109
%113 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%114 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %113, ptr noundef nonnull @.str.10) #3
br label %150
115: ; preds = %109
%116 = add i64 %110, -1
%117 = getelementptr inbounds i32, ptr %3, i64 %116
%118 = load i32, ptr %117, align 4, !tbaa !9
%119 = sext i32 %118 to i64
%120 = icmp ugt i64 %110, %119
br i1 %120, label %124, label %121
121: ; preds = %115
%122 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%123 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %122, ptr noundef nonnull @.str.11, i32 noundef %118, i64 noundef %110) #3
br label %150
124: ; preds = %115
%125 = xor i64 %119, -1
%126 = add i64 %110, %125
%127 = icmp ult i64 %126, %116
br i1 %127, label %131, label %144
128: ; preds = %131
%129 = add i64 %132, 1
%130 = icmp eq i64 %129, %116
br i1 %130, label %144, label %131, !llvm.loop !17
131: ; preds = %124, %128
%132 = phi i64 [ %129, %128 ], [ %126, %124 ]
%133 = getelementptr inbounds i32, ptr %3, i64 %132
%134 = load i32, ptr %133, align 4, !tbaa !9
%135 = icmp eq i32 %134, %118
br i1 %135, label %128, label %136
136: ; preds = %131
%137 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%138 = getelementptr inbounds i32, ptr %3, i64 %110
%139 = sub nsw i64 0, %119
%140 = getelementptr inbounds i32, ptr %138, i64 %139
%141 = getelementptr inbounds i32, ptr %140, i64 -1
%142 = add nsw i32 %118, 1
%143 = tail call i32 @wpa_hexdump(i32 noundef %137, ptr noundef nonnull @.str.12, ptr noundef nonnull %141, i32 noundef %142) #3
br label %150
144: ; preds = %128, %124
%145 = add nsw i32 %118, 1
%146 = sext i32 %145 to i64
%147 = sub i64 %110, %146
%148 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !9
%149 = tail call i32 @wpa_hexdump_key(i32 noundef %148, ptr noundef nonnull @.str.13, ptr noundef nonnull %3, i64 noundef %147) #3
br label %150
150: ; preds = %87, %144, %136, %121, %112, %100
%151 = phi i1 [ true, %100 ], [ true, %112 ], [ true, %121 ], [ true, %136 ], [ false, %144 ], [ false, %87 ]
%152 = phi i32 [ 1, %100 ], [ 1, %112 ], [ 1, %121 ], [ 1, %136 ], [ 0, %144 ], [ 0, %87 ]
%153 = phi i64 [ %21, %100 ], [ 0, %112 ], [ %110, %121 ], [ %110, %136 ], [ %147, %144 ], [ %21, %87 ]
%154 = getelementptr inbounds %struct.tlsv1_record_layer, ptr %0, i64 0, i32 3
%155 = load i64, ptr %154, align 8, !tbaa !19
%156 = icmp ult i64 %153, %155
br i1 %156, label %157, label %161
157: ; preds = %150
%158 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%159 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %158, ptr noundef nonnull @.str.14) #3
%160 = load i32, ptr @TLS_ALERT_BAD_RECORD_MAC, align 4, !tbaa !9
store i32 %160, ptr %5, align 4, !tbaa !9
br label %223
161: ; preds = %150
%162 = sub i64 %153, %155
%163 = getelementptr inbounds %struct.tlsv1_record_layer, ptr %0, i64 0, i32 6
%164 = load i32, ptr %163, align 4, !tbaa !20
%165 = getelementptr inbounds %struct.tlsv1_record_layer, ptr %0, i64 0, i32 5
%166 = load i32, ptr %165, align 8, !tbaa !21
%167 = tail call ptr @crypto_hash_init(i32 noundef %164, i32 noundef %166, i64 noundef %155) #3
%168 = icmp eq ptr %167, null
br i1 %168, label %169, label %173
169: ; preds = %161
%170 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%171 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %170, ptr noundef nonnull @.str.15) #3
%172 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !9
store i32 %172, ptr %5, align 4, !tbaa !9
br label %223
173: ; preds = %161
%174 = getelementptr inbounds %struct.tlsv1_record_layer, ptr %0, i64 0, i32 4
%175 = load ptr, ptr %174, align 8, !tbaa !22
%176 = load i64, ptr @TLS_SEQ_NUM_LEN, align 8, !tbaa !5
%177 = tail call i32 @crypto_hash_update(ptr noundef nonnull %167, ptr noundef %175, i64 noundef %176) #3
%178 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !5
%179 = sub i64 0, %178
%180 = getelementptr inbounds i32, ptr %45, i64 %179
%181 = tail call i32 @crypto_hash_update(ptr noundef nonnull %167, ptr noundef nonnull %180, i64 noundef 3) #3
%182 = call i32 @WPA_PUT_BE16(ptr noundef nonnull %8, i64 noundef %162) #3
%183 = call i32 @crypto_hash_update(ptr noundef nonnull %167, ptr noundef nonnull %8, i64 noundef 2) #3
%184 = call i32 @crypto_hash_update(ptr noundef nonnull %167, ptr noundef %3, i64 noundef %162) #3
store i64 400, ptr %7, align 8, !tbaa !5
%185 = call i64 @crypto_hash_finish(ptr noundef nonnull %167, ptr noundef nonnull %9, ptr noundef nonnull %7) #3
%186 = icmp slt i64 %185, 0
br i1 %186, label %187, label %191
187: ; preds = %173
%188 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%189 = call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %188, ptr noundef nonnull @.str.16) #3
%190 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !9
store i32 %190, ptr %5, align 4, !tbaa !9
br label %223
191: ; preds = %173
%192 = load i64, ptr %7, align 8, !tbaa !5
%193 = load i64, ptr %154, align 8, !tbaa !19
%194 = icmp eq i64 %192, %193
br i1 %194, label %195, label %200
195: ; preds = %191
%196 = getelementptr inbounds i32, ptr %3, i64 %162
%197 = call i64 @os_memcmp_const(ptr noundef nonnull %9, ptr noundef %196, i64 noundef %192) #3
%198 = icmp ne i64 %197, 0
%199 = or i1 %151, %198
br i1 %199, label %200, label %206
200: ; preds = %195, %191
%201 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%202 = call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %201, ptr noundef nonnull @.str.17, i32 noundef %152) #3
%203 = load i32, ptr @TLS_ALERT_BAD_RECORD_MAC, align 4, !tbaa !9
store i32 %203, ptr %5, align 4, !tbaa !9
br label %223
204: ; preds = %76
%205 = tail call i32 @os_memcpy(ptr noundef %3, ptr noundef nonnull %45, i64 noundef %21) #3
br label %206
206: ; preds = %195, %204
%207 = phi i64 [ %21, %204 ], [ %162, %195 ]
store i64 %207, ptr %4, align 8, !tbaa !5
%208 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !5
%209 = add i64 %208, %207
%210 = icmp ugt i64 %209, 17408
br i1 %210, label %211, label %215
211: ; preds = %206
%212 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !9
%213 = call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %212, ptr noundef nonnull @.str.4, i64 noundef %209) #3
%214 = load i32, ptr @TLS_ALERT_RECORD_OVERFLOW, align 4, !tbaa !9
store i32 %214, ptr %5, align 4, !tbaa !9
br label %223
215: ; preds = %206
%216 = getelementptr inbounds %struct.tlsv1_record_layer, ptr %0, i64 0, i32 4
%217 = load ptr, ptr %216, align 8, !tbaa !22
%218 = load i64, ptr @TLS_SEQ_NUM_LEN, align 8, !tbaa !5
%219 = call i32 @inc_byte_array(ptr noundef %217, i64 noundef %218) #3
%220 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !5
%221 = add i64 %220, %21
%222 = trunc i64 %221 to i32
br label %223
223: ; preds = %85, %157, %169, %187, %200, %215, %211, %72, %65, %48, %40, %31, %12
%224 = phi i32 [ 0, %12 ], [ -1, %31 ], [ -1, %40 ], [ 0, %48 ], [ -1, %65 ], [ -1, %72 ], [ -1, %211 ], [ %222, %215 ], [ -1, %200 ], [ -1, %187 ], [ -1, %169 ], [ -1, %157 ], [ -1, %85 ]
call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %224
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @wpa_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @WPA_GET_BE16(ptr noundef) local_unnamed_addr #2
declare i64 @crypto_cipher_decrypt(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpa_hexdump_key(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @os_memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @crypto_hash_init(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @crypto_hash_update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @WPA_PUT_BE16(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @crypto_hash_finish(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @os_memcmp_const(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @inc_byte_array(ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"tlsv1_record_layer", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !10, i64 40, !10, i64 44, !10, i64 48}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !10, i64 48}
!15 = !{!12, !6, i64 8}
!16 = !{!12, !6, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !6, i64 24}
!20 = !{!12, !10, i64 44}
!21 = !{!12, !10, i64 40}
!22 = !{!12, !13, i64 32}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/tls/extr_tlsv1_record.c_tlsv1_record_receive.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/tls/extr_tlsv1_record.c_tlsv1_record_receive.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TLS_RECORD_HEADER_LEN = common local_unnamed_addr global i64 0, align 8
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c"TLSv1: Too short record (in_len=%lu) - need more data\00", align 1
@MSG_MSGDUMP = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"TLSv1: Record Layer - Received\00", align 1
@.str.2 = private unnamed_addr constant [56 x i8] c"TLSv1: Received content type %d version %d.%d length %d\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"TLSv1: Unexpected protocol version %u.%u\00", align 1
@TLS_ALERT_PROTOCOL_VERSION = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [33 x i8] c"TLSv1: Record overflow (len=%lu)\00", align 1
@TLS_ALERT_RECORD_OVERFLOW = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [60 x i8] c"TLSv1: Not all record data included (rlen=%lu > in_len=%lu)\00", align 1
@TLS_CONTENT_TYPE_HANDSHAKE = common local_unnamed_addr global i32 0, align 4
@TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC = common local_unnamed_addr global i32 0, align 4
@TLS_CONTENT_TYPE_ALERT = common local_unnamed_addr global i32 0, align 4
@TLS_CONTENT_TYPE_APPLICATION_DATA = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [52 x i8] c"TLSv1: Ignore record with unknown content type 0x%x\00", align 1
@TLS_ALERT_UNEXPECTED_MESSAGE = common local_unnamed_addr global i32 0, align 4
@.str.7 = private unnamed_addr constant [63 x i8] c"TLSv1: Not enough output buffer for processing received record\00", align 1
@TLS_ALERT_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4
@TLS_NULL_WITH_NULL_NULL = common local_unnamed_addr global i64 0, align 8
@TLS_ALERT_DECRYPTION_FAILED = common local_unnamed_addr global i32 0, align 4
@.str.8 = private unnamed_addr constant [37 x i8] c"TLSv1: Record Layer - Decrypted data\00", align 1
@TLS_VERSION_1_1 = common local_unnamed_addr global i64 0, align 8
@.str.9 = private unnamed_addr constant [32 x i8] c"TLSv1.1: Not enough room for IV\00", align 1
@.str.10 = private unnamed_addr constant [33 x i8] c"TLSv1: Too short record (no pad)\00", align 1
@.str.11 = private unnamed_addr constant [62 x i8] c"TLSv1: Incorrect pad length (%u, plen=%lu) in received record\00", align 1
@.str.12 = private unnamed_addr constant [38 x i8] c"TLSv1: Invalid pad in received record\00", align 1
@.str.13 = private unnamed_addr constant [65 x i8] c"TLSv1: Record Layer - Decrypted data with IV and padding removed\00", align 1
@.str.14 = private unnamed_addr constant [39 x i8] c"TLSv1: Too short record; no hash value\00", align 1
@TLS_ALERT_BAD_RECORD_MAC = common local_unnamed_addr global i32 0, align 4
@.str.15 = private unnamed_addr constant [48 x i8] c"TLSv1: Record Layer - Failed to initialize HMAC\00", align 1
@TLS_SEQ_NUM_LEN = common local_unnamed_addr global i64 0, align 8
@.str.16 = private unnamed_addr constant [47 x i8] c"TLSv1: Record Layer - Failed to calculate HMAC\00", align 1
@.str.17 = private unnamed_addr constant [67 x i8] c"TLSv1: Invalid HMAC value in received message (force_mac_error=%d)\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @tlsv1_record_receive(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr nocapture noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
%7 = alloca i64, align 8
%8 = alloca [2 x i32], align 4
%9 = alloca [100 x i32], align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %9) #3
%10 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !6
%11 = icmp ugt i64 %10, %2
br i1 %11, label %12, label %18
12: ; preds = %6
%13 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%14 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %13, ptr noundef nonnull @.str, i64 noundef %2) #3
%15 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !10
%16 = trunc i64 %2 to i32
%17 = tail call i32 @wpa_hexdump(i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef %1, i32 noundef %16) #3
br label %223
18: ; preds = %6
%19 = load i32, ptr %1, align 4, !tbaa !10
%20 = getelementptr inbounds i8, ptr %1, i64 12
%21 = tail call i64 @WPA_GET_BE16(ptr noundef nonnull %20) #3
%22 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%23 = getelementptr inbounds i8, ptr %1, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !10
%25 = getelementptr inbounds i8, ptr %1, i64 8
%26 = load i32, ptr %25, align 4, !tbaa !10
%27 = trunc i64 %21 to i32
%28 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %22, ptr noundef nonnull @.str.2, i32 noundef %19, i32 noundef %24, i32 noundef %26, i32 noundef %27) #3
%29 = load i32, ptr %23, align 4, !tbaa !10
%30 = icmp eq i32 %29, 3
br i1 %30, label %36, label %31
31: ; preds = %18
%32 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%33 = load i32, ptr %25, align 4, !tbaa !10
%34 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %32, ptr noundef nonnull @.str.3, i32 noundef %29, i32 noundef %33) #3
%35 = load i32, ptr @TLS_ALERT_PROTOCOL_VERSION, align 4, !tbaa !10
store i32 %35, ptr %5, align 4, !tbaa !10
br label %223
36: ; preds = %18
%37 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !6
%38 = add i64 %37, %21
%39 = icmp ugt i64 %38, 18432
br i1 %39, label %40, label %44
40: ; preds = %36
%41 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%42 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %41, ptr noundef nonnull @.str.4, i64 noundef %38) #3
%43 = load i32, ptr @TLS_ALERT_RECORD_OVERFLOW, align 4, !tbaa !10
store i32 %43, ptr %5, align 4, !tbaa !10
br label %223
44: ; preds = %36
%45 = getelementptr inbounds i32, ptr %1, i64 %37
%46 = sub i64 %2, %37
%47 = icmp ugt i64 %21, %46
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%50 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %49, ptr noundef nonnull @.str.5, i64 noundef %21, i64 noundef %46) #3
br label %223
51: ; preds = %44
%52 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !10
%53 = tail call i32 @wpa_hexdump(i32 noundef %52, ptr noundef nonnull @.str.1, ptr noundef nonnull %45, i32 noundef %27) #3
%54 = load i32, ptr @TLS_CONTENT_TYPE_HANDSHAKE, align 4, !tbaa !10
%55 = icmp eq i32 %19, %54
%56 = load i32, ptr @TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC, align 4
%57 = icmp eq i32 %19, %56
%58 = select i1 %55, i1 true, i1 %57
%59 = load i32, ptr @TLS_CONTENT_TYPE_ALERT, align 4
%60 = icmp eq i32 %19, %59
%61 = select i1 %58, i1 true, i1 %60
%62 = load i32, ptr @TLS_CONTENT_TYPE_APPLICATION_DATA, align 4
%63 = icmp eq i32 %19, %62
%64 = select i1 %61, i1 true, i1 %63
br i1 %64, label %69, label %65
65: ; preds = %51
%66 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%67 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %66, ptr noundef nonnull @.str.6, i32 noundef %19) #3
%68 = load i32, ptr @TLS_ALERT_UNEXPECTED_MESSAGE, align 4, !tbaa !10
store i32 %68, ptr %5, align 4, !tbaa !10
br label %223
69: ; preds = %51
%70 = load i64, ptr %4, align 8, !tbaa !6
%71 = icmp ult i64 %70, %21
br i1 %71, label %72, label %76
72: ; preds = %69
%73 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%74 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %73, ptr noundef nonnull @.str.7) #3
%75 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !10
store i32 %75, ptr %5, align 4, !tbaa !10
br label %223
76: ; preds = %69
%77 = load i64, ptr %0, align 8, !tbaa !12
%78 = load i64, ptr @TLS_NULL_WITH_NULL_NULL, align 8, !tbaa !6
%79 = icmp eq i64 %77, %78
br i1 %79, label %204, label %80
80: ; preds = %76
%81 = getelementptr inbounds i8, ptr %0, i64 48
%82 = load i32, ptr %81, align 8, !tbaa !15
%83 = tail call i64 @crypto_cipher_decrypt(i32 noundef %82, ptr noundef nonnull %45, ptr noundef %3, i64 noundef %21) #3
%84 = icmp slt i64 %83, 0
br i1 %84, label %85, label %87
85: ; preds = %80
%86 = load i32, ptr @TLS_ALERT_DECRYPTION_FAILED, align 4, !tbaa !10
store i32 %86, ptr %5, align 4, !tbaa !10
br label %223
87: ; preds = %80
%88 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !10
%89 = tail call i32 @wpa_hexdump_key(i32 noundef %88, ptr noundef nonnull @.str.8, ptr noundef %3, i64 noundef %21) #3
%90 = getelementptr inbounds i8, ptr %0, i64 8
%91 = load i64, ptr %90, align 8, !tbaa !16
%92 = icmp eq i64 %91, 0
br i1 %92, label %150, label %93
93: ; preds = %87
%94 = getelementptr inbounds i8, ptr %0, i64 16
%95 = load i64, ptr %94, align 8, !tbaa !17
%96 = load i64, ptr @TLS_VERSION_1_1, align 8, !tbaa !6
%97 = icmp slt i64 %95, %96
br i1 %97, label %109, label %98
98: ; preds = %93
%99 = icmp ult i64 %21, %91
br i1 %99, label %100, label %103
100: ; preds = %98
%101 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%102 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %101, ptr noundef nonnull @.str.9) #3
br label %150
103: ; preds = %98
%104 = getelementptr inbounds i32, ptr %3, i64 %91
%105 = sub i64 %21, %91
%106 = tail call i32 @os_memmove(ptr noundef %3, ptr noundef nonnull %104, i64 noundef %105) #3
%107 = load i64, ptr %90, align 8, !tbaa !16
%108 = sub i64 %21, %107
br label %109
109: ; preds = %103, %93
%110 = phi i64 [ %108, %103 ], [ %21, %93 ]
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %109
%113 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%114 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %113, ptr noundef nonnull @.str.10) #3
br label %150
115: ; preds = %109
%116 = add i64 %110, -1
%117 = getelementptr inbounds i32, ptr %3, i64 %116
%118 = load i32, ptr %117, align 4, !tbaa !10
%119 = sext i32 %118 to i64
%120 = icmp ugt i64 %110, %119
br i1 %120, label %124, label %121
121: ; preds = %115
%122 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%123 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %122, ptr noundef nonnull @.str.11, i32 noundef %118, i64 noundef %110) #3
br label %150
124: ; preds = %115
%125 = xor i64 %119, -1
%126 = add i64 %110, %125
%127 = icmp ult i64 %126, %116
br i1 %127, label %131, label %144
128: ; preds = %131
%129 = add i64 %132, 1
%130 = icmp eq i64 %129, %116
br i1 %130, label %144, label %131, !llvm.loop !18
131: ; preds = %124, %128
%132 = phi i64 [ %129, %128 ], [ %126, %124 ]
%133 = getelementptr inbounds i32, ptr %3, i64 %132
%134 = load i32, ptr %133, align 4, !tbaa !10
%135 = icmp eq i32 %134, %118
br i1 %135, label %128, label %136
136: ; preds = %131
%137 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%138 = getelementptr inbounds i32, ptr %3, i64 %110
%139 = sub nsw i64 0, %119
%140 = getelementptr inbounds i32, ptr %138, i64 %139
%141 = getelementptr inbounds i8, ptr %140, i64 -4
%142 = add nsw i32 %118, 1
%143 = tail call i32 @wpa_hexdump(i32 noundef %137, ptr noundef nonnull @.str.12, ptr noundef nonnull %141, i32 noundef %142) #3
br label %150
144: ; preds = %128, %124
%145 = add nsw i32 %118, 1
%146 = sext i32 %145 to i64
%147 = sub i64 %110, %146
%148 = load i32, ptr @MSG_MSGDUMP, align 4, !tbaa !10
%149 = tail call i32 @wpa_hexdump_key(i32 noundef %148, ptr noundef nonnull @.str.13, ptr noundef nonnull %3, i64 noundef %147) #3
br label %150
150: ; preds = %87, %144, %136, %121, %112, %100
%151 = phi i1 [ true, %100 ], [ true, %112 ], [ true, %121 ], [ true, %136 ], [ false, %144 ], [ false, %87 ]
%152 = phi i32 [ 1, %100 ], [ 1, %112 ], [ 1, %121 ], [ 1, %136 ], [ 0, %144 ], [ 0, %87 ]
%153 = phi i64 [ %21, %100 ], [ 0, %112 ], [ %110, %121 ], [ %110, %136 ], [ %147, %144 ], [ %21, %87 ]
%154 = getelementptr inbounds i8, ptr %0, i64 24
%155 = load i64, ptr %154, align 8, !tbaa !20
%156 = icmp ult i64 %153, %155
br i1 %156, label %157, label %161
157: ; preds = %150
%158 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%159 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %158, ptr noundef nonnull @.str.14) #3
%160 = load i32, ptr @TLS_ALERT_BAD_RECORD_MAC, align 4, !tbaa !10
store i32 %160, ptr %5, align 4, !tbaa !10
br label %223
161: ; preds = %150
%162 = sub i64 %153, %155
%163 = getelementptr inbounds i8, ptr %0, i64 44
%164 = load i32, ptr %163, align 4, !tbaa !21
%165 = getelementptr inbounds i8, ptr %0, i64 40
%166 = load i32, ptr %165, align 8, !tbaa !22
%167 = tail call ptr @crypto_hash_init(i32 noundef %164, i32 noundef %166, i64 noundef %155) #3
%168 = icmp eq ptr %167, null
br i1 %168, label %169, label %173
169: ; preds = %161
%170 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%171 = tail call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %170, ptr noundef nonnull @.str.15) #3
%172 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !10
store i32 %172, ptr %5, align 4, !tbaa !10
br label %223
173: ; preds = %161
%174 = getelementptr inbounds i8, ptr %0, i64 32
%175 = load ptr, ptr %174, align 8, !tbaa !23
%176 = load i64, ptr @TLS_SEQ_NUM_LEN, align 8, !tbaa !6
%177 = tail call i32 @crypto_hash_update(ptr noundef nonnull %167, ptr noundef %175, i64 noundef %176) #3
%178 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !6
%179 = sub i64 0, %178
%180 = getelementptr inbounds i32, ptr %45, i64 %179
%181 = tail call i32 @crypto_hash_update(ptr noundef nonnull %167, ptr noundef nonnull %180, i64 noundef 3) #3
%182 = call i32 @WPA_PUT_BE16(ptr noundef nonnull %8, i64 noundef %162) #3
%183 = call i32 @crypto_hash_update(ptr noundef nonnull %167, ptr noundef nonnull %8, i64 noundef 2) #3
%184 = call i32 @crypto_hash_update(ptr noundef nonnull %167, ptr noundef %3, i64 noundef %162) #3
store i64 400, ptr %7, align 8, !tbaa !6
%185 = call i64 @crypto_hash_finish(ptr noundef nonnull %167, ptr noundef nonnull %9, ptr noundef nonnull %7) #3
%186 = icmp slt i64 %185, 0
br i1 %186, label %187, label %191
187: ; preds = %173
%188 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%189 = call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %188, ptr noundef nonnull @.str.16) #3
%190 = load i32, ptr @TLS_ALERT_INTERNAL_ERROR, align 4, !tbaa !10
store i32 %190, ptr %5, align 4, !tbaa !10
br label %223
191: ; preds = %173
%192 = load i64, ptr %7, align 8, !tbaa !6
%193 = load i64, ptr %154, align 8, !tbaa !20
%194 = icmp eq i64 %192, %193
br i1 %194, label %195, label %200
195: ; preds = %191
%196 = getelementptr inbounds i32, ptr %3, i64 %162
%197 = call i64 @os_memcmp_const(ptr noundef nonnull %9, ptr noundef %196, i64 noundef %192) #3
%198 = icmp ne i64 %197, 0
%199 = or i1 %151, %198
br i1 %199, label %200, label %206
200: ; preds = %195, %191
%201 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%202 = call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %201, ptr noundef nonnull @.str.17, i32 noundef %152) #3
%203 = load i32, ptr @TLS_ALERT_BAD_RECORD_MAC, align 4, !tbaa !10
store i32 %203, ptr %5, align 4, !tbaa !10
br label %223
204: ; preds = %76
%205 = tail call i32 @os_memcpy(ptr noundef %3, ptr noundef nonnull %45, i64 noundef %21) #3
br label %206
206: ; preds = %195, %204
%207 = phi i64 [ %21, %204 ], [ %162, %195 ]
store i64 %207, ptr %4, align 8, !tbaa !6
%208 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !6
%209 = add i64 %208, %207
%210 = icmp ugt i64 %209, 17408
br i1 %210, label %211, label %215
211: ; preds = %206
%212 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !10
%213 = call i32 (i32, ptr, ...) @wpa_printf(i32 noundef %212, ptr noundef nonnull @.str.4, i64 noundef %209) #3
%214 = load i32, ptr @TLS_ALERT_RECORD_OVERFLOW, align 4, !tbaa !10
store i32 %214, ptr %5, align 4, !tbaa !10
br label %223
215: ; preds = %206
%216 = getelementptr inbounds i8, ptr %0, i64 32
%217 = load ptr, ptr %216, align 8, !tbaa !23
%218 = load i64, ptr @TLS_SEQ_NUM_LEN, align 8, !tbaa !6
%219 = call i32 @inc_byte_array(ptr noundef %217, i64 noundef %218) #3
%220 = load i64, ptr @TLS_RECORD_HEADER_LEN, align 8, !tbaa !6
%221 = add i64 %220, %21
%222 = trunc i64 %221 to i32
br label %223
223: ; preds = %85, %157, %169, %187, %200, %215, %211, %72, %65, %48, %40, %31, %12
%224 = phi i32 [ 0, %12 ], [ -1, %31 ], [ -1, %40 ], [ 0, %48 ], [ -1, %65 ], [ -1, %72 ], [ -1, %211 ], [ %222, %215 ], [ -1, %200 ], [ -1, %187 ], [ -1, %169 ], [ -1, %157 ], [ -1, %85 ]
call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
ret i32 %224
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @wpa_printf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @wpa_hexdump(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @WPA_GET_BE16(ptr noundef) local_unnamed_addr #2
declare i64 @crypto_cipher_decrypt(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @wpa_hexdump_key(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @os_memmove(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare ptr @crypto_hash_init(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @crypto_hash_update(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @WPA_PUT_BE16(ptr noundef, i64 noundef) local_unnamed_addr #2
declare i64 @crypto_hash_finish(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @os_memcmp_const(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @os_memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @inc_byte_array(ptr noundef, i64 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"tlsv1_record_layer", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !14, i64 32, !11, i64 40, !11, i64 44, !11, i64 48}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!13, !11, i64 48}
!16 = !{!13, !7, i64 8}
!17 = !{!13, !7, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!13, !7, i64 24}
!21 = !{!13, !11, i64 44}
!22 = !{!13, !11, i64 40}
!23 = !{!13, !14, i64 32}
| freebsd_contrib_wpa_src_tls_extr_tlsv1_record.c_tlsv1_record_receive |
; ModuleID = 'AnghaBench/jemalloc/src/extr_ctl.c_arenas_i2a.c'
source_filename = "AnghaBench/jemalloc/src/extr_ctl.c_arenas_i2a.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 @arenas_i2a], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @arenas_i2a(i64 noundef %0) #0 {
%2 = tail call i32 @arenas_i2a_impl(i64 noundef %0, i32 noundef 1, i32 noundef 0) #2
ret i32 %2
}
declare i32 @arenas_i2a_impl(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)"}
| ; ModuleID = 'AnghaBench/jemalloc/src/extr_ctl.c_arenas_i2a.c'
source_filename = "AnghaBench/jemalloc/src/extr_ctl.c_arenas_i2a.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 @arenas_i2a], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @arenas_i2a(i64 noundef %0) #0 {
%2 = tail call i32 @arenas_i2a_impl(i64 noundef %0, i32 noundef 1, i32 noundef 0) #2
ret i32 %2
}
declare i32 @arenas_i2a_impl(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)"}
| jemalloc_src_extr_ctl.c_arenas_i2a |
; ModuleID = 'AnghaBench/libgit2/src/extr_patch_parse.c_parse_patch_hunks.c'
source_filename = "AnghaBench/libgit2/src/extr_patch_parse.c_parse_patch_hunks.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_17__ = type { ptr, i32, i32 }
%struct.TYPE_20__ = type { i64, i32 }
@.str = private unnamed_addr constant [5 x i8] c"@@ -\00", align 1
@GIT_DIFF_FLAG_NOT_BINARY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_patch_hunks], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parse_patch_hunks(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @git_parse_ctx_contains_s(ptr noundef %1, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %24, label %5
5: ; preds = %2
%6 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 2
%7 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1
br label %11
8: ; preds = %21
%9 = tail call i64 @git_parse_ctx_contains_s(ptr noundef %1, ptr noundef nonnull @.str) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %24, label %11, !llvm.loop !5
11: ; preds = %5, %8
%12 = load i32, ptr %6, align 4, !tbaa !7
%13 = tail call ptr @git_array_alloc(i32 noundef %12) #2
%14 = tail call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %13) #2
%15 = tail call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 16) #2
%16 = load i32, ptr %7, align 8, !tbaa !14
%17 = tail call i32 @git_array_size(i32 noundef %16) #2
%18 = getelementptr inbounds %struct.TYPE_20__, ptr %13, i64 0, i32 1
store i32 %17, ptr %18, align 8, !tbaa !15
store i64 0, ptr %13, align 8, !tbaa !18
%19 = tail call i32 @parse_hunk_header(ptr noundef nonnull %13, ptr noundef %1) #2
%20 = icmp slt i32 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %11
%22 = tail call i32 @parse_hunk_body(ptr noundef nonnull %0, ptr noundef nonnull %13, ptr noundef %1) #2
%23 = icmp slt i32 %22, 0
br i1 %23, label %30, label %8, !llvm.loop !5
24: ; preds = %8, %2
%25 = phi i32 [ 0, %2 ], [ %22, %8 ]
%26 = load i32, ptr @GIT_DIFF_FLAG_NOT_BINARY, align 4, !tbaa !19
%27 = load ptr, ptr %0, align 8, !tbaa !20
%28 = load i32, ptr %27, align 4, !tbaa !21
%29 = or i32 %28, %26
store i32 %29, ptr %27, align 4, !tbaa !21
br label %30
30: ; preds = %11, %21, %24
%31 = phi i32 [ %25, %24 ], [ %22, %21 ], [ %19, %11 ]
ret i32 %31
}
declare i64 @git_parse_ctx_contains_s(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @git_array_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @git_array_size(i32 noundef) local_unnamed_addr #1
declare i32 @parse_hunk_header(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @parse_hunk_body(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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !13, i64 12}
!8 = !{!"TYPE_18__", !9, i64 0}
!9 = !{!"TYPE_17__", !10, i64 0, !13, i64 8, !13, i64 12}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"int", !11, i64 0}
!14 = !{!8, !13, i64 8}
!15 = !{!16, !13, i64 8}
!16 = !{!"TYPE_20__", !17, i64 0, !13, i64 8}
!17 = !{!"long", !11, i64 0}
!18 = !{!16, !17, i64 0}
!19 = !{!13, !13, i64 0}
!20 = !{!8, !10, i64 0}
!21 = !{!22, !13, i64 0}
!22 = !{!"TYPE_16__", !13, i64 0}
| ; ModuleID = 'AnghaBench/libgit2/src/extr_patch_parse.c_parse_patch_hunks.c'
source_filename = "AnghaBench/libgit2/src/extr_patch_parse.c_parse_patch_hunks.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 [5 x i8] c"@@ -\00", align 1
@GIT_DIFF_FLAG_NOT_BINARY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parse_patch_hunks], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parse_patch_hunks(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i64 @git_parse_ctx_contains_s(ptr noundef %1, ptr noundef nonnull @.str) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %24, label %5
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 12
%7 = getelementptr inbounds i8, ptr %0, i64 8
br label %11
8: ; preds = %21
%9 = tail call i64 @git_parse_ctx_contains_s(ptr noundef %1, ptr noundef nonnull @.str) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %24, label %11, !llvm.loop !6
11: ; preds = %5, %8
%12 = load i32, ptr %6, align 4, !tbaa !8
%13 = tail call ptr @git_array_alloc(i32 noundef %12) #2
%14 = tail call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %13) #2
%15 = tail call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 16) #2
%16 = load i32, ptr %7, align 8, !tbaa !15
%17 = tail call i32 @git_array_size(i32 noundef %16) #2
%18 = getelementptr inbounds i8, ptr %13, i64 8
store i32 %17, ptr %18, align 8, !tbaa !16
store i64 0, ptr %13, align 8, !tbaa !19
%19 = tail call i32 @parse_hunk_header(ptr noundef nonnull %13, ptr noundef %1) #2
%20 = icmp slt i32 %19, 0
br i1 %20, label %30, label %21
21: ; preds = %11
%22 = tail call i32 @parse_hunk_body(ptr noundef nonnull %0, ptr noundef nonnull %13, ptr noundef %1) #2
%23 = icmp slt i32 %22, 0
br i1 %23, label %30, label %8, !llvm.loop !6
24: ; preds = %8, %2
%25 = phi i32 [ 0, %2 ], [ %22, %8 ]
%26 = load i32, ptr @GIT_DIFF_FLAG_NOT_BINARY, align 4, !tbaa !20
%27 = load ptr, ptr %0, align 8, !tbaa !21
%28 = load i32, ptr %27, align 4, !tbaa !22
%29 = or i32 %28, %26
store i32 %29, ptr %27, align 4, !tbaa !22
br label %30
30: ; preds = %11, %21, %24
%31 = phi i32 [ %25, %24 ], [ %22, %21 ], [ %19, %11 ]
ret i32 %31
}
declare i64 @git_parse_ctx_contains_s(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @git_array_alloc(i32 noundef) local_unnamed_addr #1
declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @git_array_size(i32 noundef) local_unnamed_addr #1
declare i32 @parse_hunk_header(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @parse_hunk_body(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 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !14, i64 12}
!9 = !{!"TYPE_18__", !10, i64 0}
!10 = !{!"TYPE_17__", !11, i64 0, !14, i64 8, !14, i64 12}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C/C++ TBAA"}
!14 = !{!"int", !12, i64 0}
!15 = !{!9, !14, i64 8}
!16 = !{!17, !14, i64 8}
!17 = !{!"TYPE_20__", !18, i64 0, !14, i64 8}
!18 = !{!"long", !12, i64 0}
!19 = !{!17, !18, i64 0}
!20 = !{!14, !14, i64 0}
!21 = !{!9, !11, i64 0}
!22 = !{!23, !14, i64 0}
!23 = !{!"TYPE_16__", !14, i64 0}
| libgit2_src_extr_patch_parse.c_parse_patch_hunks |
; ModuleID = 'AnghaBench/freebsd/sys/dev/cp/extr_cpddk.c_l68.c'
source_filename = "AnghaBench/freebsd/sys/dev/cp/extr_cpddk.c_l68.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, i32, i32, i32, i32, i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @l68], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @l68(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %2, label %50 [
i32 4, label %3
i32 7, label %3
i32 8, label %3
]
3: ; preds = %1, %1, %1
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 8
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = icmp eq i32 %5, 0
%7 = select i1 %6, i8 1, i8 3
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 7
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = icmp eq i32 %9, 0
%11 = or disjoint i8 %7, 8
%12 = select i1 %10, i8 %7, i8 %11
%13 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %3
%17 = or disjoint i8 %12, 48
br label %27
18: ; preds = %3
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5
%20 = load i32, ptr %19, align 4, !tbaa !13
%21 = icmp eq i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %18
switch i32 %2, label %27 [
i32 4, label %23
i32 7, label %25
]
23: ; preds = %22
%24 = or disjoint i8 %12, 16
br label %27
25: ; preds = %22
%26 = or disjoint i8 %12, 32
br label %27
27: ; preds = %18, %22, %25, %23, %16
%28 = phi i8 [ %17, %16 ], [ %12, %22 ], [ %26, %25 ], [ %24, %23 ], [ %12, %18 ]
%29 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4
%30 = load i32, ptr %29, align 4, !tbaa !14
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %27
%33 = or i8 %28, -128
br label %40
34: ; preds = %27
%35 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%36 = load i32, ptr %35, align 4, !tbaa !15
%37 = icmp eq i32 %36, 0
%38 = or i8 %28, 64
%39 = select i1 %37, i8 %28, i8 %38
br label %40
40: ; preds = %34, %32
%41 = phi i8 [ %33, %32 ], [ %39, %34 ]
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%43 = load i32, ptr %42, align 4, !tbaa !16
%44 = icmp eq i32 %43, 0
%45 = or i8 %41, 4
%46 = select i1 %44, i8 %41, i8 %45
%47 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%48 = load i32, ptr %47, align 4, !tbaa !17
%49 = tail call i32 @l(i32 noundef %48, i32 noundef 8, i8 noundef zeroext %46) #2
br label %50
50: ; preds = %1, %40
ret void
}
declare i32 @l(i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 32}
!11 = !{!6, !7, i64 28}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !7, i64 20}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !7, i64 8}
!17 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/cp/extr_cpddk.c_l68.c'
source_filename = "AnghaBench/freebsd/sys/dev/cp/extr_cpddk.c_l68.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 @l68], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @l68(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %2, label %50 [
i32 4, label %3
i32 7, label %3
i32 8, label %3
]
3: ; preds = %1, %1, %1
%4 = getelementptr inbounds i8, ptr %0, i64 32
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = icmp eq i32 %5, 0
%7 = select i1 %6, i8 1, i8 3
%8 = getelementptr inbounds i8, ptr %0, i64 28
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = icmp eq i32 %9, 0
%11 = or disjoint i8 %7, 8
%12 = select i1 %10, i8 %7, i8 %11
%13 = getelementptr inbounds i8, ptr %0, i64 24
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %3
%17 = or disjoint i8 %12, 48
br label %27
18: ; preds = %3
%19 = getelementptr inbounds i8, ptr %0, i64 20
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = icmp eq i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %18
switch i32 %2, label %27 [
i32 4, label %23
i32 7, label %25
]
23: ; preds = %22
%24 = or disjoint i8 %12, 16
br label %27
25: ; preds = %22
%26 = or disjoint i8 %12, 32
br label %27
27: ; preds = %18, %22, %25, %23, %16
%28 = phi i8 [ %17, %16 ], [ %12, %22 ], [ %26, %25 ], [ %24, %23 ], [ %12, %18 ]
%29 = getelementptr inbounds i8, ptr %0, i64 16
%30 = load i32, ptr %29, align 4, !tbaa !15
%31 = icmp eq i32 %30, 0
br i1 %31, label %34, label %32
32: ; preds = %27
%33 = or i8 %28, -128
br label %40
34: ; preds = %27
%35 = getelementptr inbounds i8, ptr %0, i64 12
%36 = load i32, ptr %35, align 4, !tbaa !16
%37 = icmp eq i32 %36, 0
%38 = or i8 %28, 64
%39 = select i1 %37, i8 %28, i8 %38
br label %40
40: ; preds = %34, %32
%41 = phi i8 [ %33, %32 ], [ %39, %34 ]
%42 = getelementptr inbounds i8, ptr %0, i64 8
%43 = load i32, ptr %42, align 4, !tbaa !17
%44 = icmp eq i32 %43, 0
%45 = or i8 %41, 4
%46 = select i1 %44, i8 %41, i8 %45
%47 = getelementptr inbounds i8, ptr %0, i64 4
%48 = load i32, ptr %47, align 4, !tbaa !18
%49 = tail call i32 @l(i32 noundef %48, i32 noundef 8, i8 noundef zeroext %46) #2
br label %50
50: ; preds = %1, %40
ret void
}
declare i32 @l(i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 32}
!12 = !{!7, !8, i64 28}
!13 = !{!7, !8, i64 24}
!14 = !{!7, !8, i64 20}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 12}
!17 = !{!7, !8, i64 8}
!18 = !{!7, !8, i64 4}
| freebsd_sys_dev_cp_extr_cpddk.c_l68 |
; ModuleID = 'AnghaBench/reactos/base/applications/cmdutils/attrib/extr_attrib.c_wmain.c'
source_filename = "AnghaBench/reactos/base/applications/cmdutils/attrib/extr_attrib.c_wmain.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_PATH = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i32] [i32 47, i32 63, i32 0], align 4
@StdOut = dso_local local_unnamed_addr global i32 0, align 4
@STRING_ATTRIB_HELP = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i32] [i32 47, i32 115, i32 0], align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i32] [i32 47, i32 100, i32 0], align 4
@StdErr = dso_local local_unnamed_addr global i32 0, align 4
@STRING_ERROR_INVALID_PARAM_FORMAT = dso_local local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_ARCHIVE = dso_local local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_HIDDEN = dso_local local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_READONLY = dso_local local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_SYSTEM = dso_local local_unnamed_addr global i32 0, align 4
@UNICODE_NULL = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i32] [i32 42, i32 46, i32 42, i32 0], align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @wmain(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MAX_PATH, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 16
%6 = alloca i32, i64 %4, align 16
%7 = load i32, ptr @FALSE, align 4, !tbaa !5
%8 = tail call i32 (...) @ConInitStdStreams() #2
%9 = icmp sgt i32 %0, 1
br i1 %9, label %10, label %129
10: ; preds = %2
%11 = getelementptr inbounds ptr, ptr %1, i64 1
%12 = load ptr, ptr %11, align 8, !tbaa !9
%13 = tail call i64 @wcscmp(ptr noundef %12, ptr noundef nonnull @.str) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i32, ptr @StdOut, align 4, !tbaa !5
%17 = load i32, ptr @STRING_ATTRIB_HELP, align 4, !tbaa !5
%18 = tail call i32 @ConResPuts(i32 noundef %16, i32 noundef %17) #2
br label %171
19: ; preds = %10
%20 = zext nneg i32 %0 to i64
br label %24
21: ; preds = %40
br i1 %9, label %22, label %129
22: ; preds = %21
%23 = zext nneg i32 %0 to i64
br label %45
24: ; preds = %19, %40
%25 = phi i64 [ 1, %19 ], [ %43, %40 ]
%26 = phi i32 [ %7, %19 ], [ %42, %40 ]
%27 = phi i32 [ %7, %19 ], [ %41, %40 ]
%28 = getelementptr inbounds ptr, ptr %1, i64 %25
%29 = load ptr, ptr %28, align 8, !tbaa !9
%30 = tail call i64 @wcsicmp(ptr noundef %29, ptr noundef nonnull @.str.1) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %24
%33 = load i32, ptr @TRUE, align 4, !tbaa !5
br label %40
34: ; preds = %24
%35 = load ptr, ptr %28, align 8, !tbaa !9
%36 = tail call i64 @wcsicmp(ptr noundef %35, ptr noundef nonnull @.str.2) #2
%37 = icmp eq i64 %36, 0
%38 = load i32, ptr @TRUE, align 4
%39 = select i1 %37, i32 %38, i32 %26
br label %40
40: ; preds = %34, %32
%41 = phi i32 [ %33, %32 ], [ %27, %34 ]
%42 = phi i32 [ %26, %32 ], [ %39, %34 ]
%43 = add nuw nsw i64 %25, 1
%44 = icmp eq i64 %43, %20
br i1 %44, label %21, label %24, !llvm.loop !11
45: ; preds = %22, %124
%46 = phi i64 [ 1, %22 ], [ %127, %124 ]
%47 = phi i32 [ 0, %22 ], [ %126, %124 ]
%48 = phi i32 [ 0, %22 ], [ %125, %124 ]
%49 = getelementptr inbounds ptr, ptr %1, i64 %46
%50 = load ptr, ptr %49, align 8, !tbaa !9
%51 = load i32, ptr %50, align 4, !tbaa !5
switch i32 %51, label %124 [
i32 43, label %52
i32 45, label %86
]
52: ; preds = %45
%53 = tail call i32 @wcslen(ptr noundef nonnull %50) #2
%54 = icmp eq i32 %53, 2
br i1 %54, label %60, label %55
55: ; preds = %52
%56 = load i32, ptr @StdErr, align 4, !tbaa !5
%57 = load i32, ptr @STRING_ERROR_INVALID_PARAM_FORMAT, align 4, !tbaa !5
%58 = load ptr, ptr %49, align 8, !tbaa !9
%59 = tail call i32 @ConResPrintf(i32 noundef %56, i32 noundef %57, ptr noundef %58) #2
br label %171
60: ; preds = %52
%61 = load ptr, ptr %49, align 8, !tbaa !9
%62 = getelementptr inbounds i32, ptr %61, i64 1
%63 = load i32, ptr %62, align 4, !tbaa !5
%64 = tail call i32 @towupper(i32 noundef %63) #2
switch i32 %64, label %81 [
i32 65, label %65
i32 72, label %69
i32 82, label %73
i32 83, label %77
]
65: ; preds = %60
%66 = load i32, ptr @FILE_ATTRIBUTE_ARCHIVE, align 4, !tbaa !5
%67 = or i32 %66, %47
%68 = or i32 %66, %48
br label %124
69: ; preds = %60
%70 = load i32, ptr @FILE_ATTRIBUTE_HIDDEN, align 4, !tbaa !5
%71 = or i32 %70, %47
%72 = or i32 %70, %48
br label %124
73: ; preds = %60
%74 = load i32, ptr @FILE_ATTRIBUTE_READONLY, align 4, !tbaa !5
%75 = or i32 %74, %47
%76 = or i32 %74, %48
br label %124
77: ; preds = %60
%78 = load i32, ptr @FILE_ATTRIBUTE_SYSTEM, align 4, !tbaa !5
%79 = or i32 %78, %47
%80 = or i32 %78, %48
br label %124
81: ; preds = %60
%82 = load i32, ptr @StdErr, align 4, !tbaa !5
%83 = load i32, ptr @STRING_ERROR_INVALID_PARAM_FORMAT, align 4, !tbaa !5
%84 = load ptr, ptr %49, align 8, !tbaa !9
%85 = tail call i32 @ConResPrintf(i32 noundef %82, i32 noundef %83, ptr noundef %84) #2
br label %171
86: ; preds = %45
%87 = tail call i32 @wcslen(ptr noundef nonnull %50) #2
%88 = icmp eq i32 %87, 2
br i1 %88, label %94, label %89
89: ; preds = %86
%90 = load i32, ptr @StdErr, align 4, !tbaa !5
%91 = load i32, ptr @STRING_ERROR_INVALID_PARAM_FORMAT, align 4, !tbaa !5
%92 = load ptr, ptr %49, align 8, !tbaa !9
%93 = tail call i32 @ConResPrintf(i32 noundef %90, i32 noundef %91, ptr noundef %92) #2
br label %171
94: ; preds = %86
%95 = load ptr, ptr %49, align 8, !tbaa !9
%96 = getelementptr inbounds i32, ptr %95, i64 1
%97 = load i32, ptr %96, align 4, !tbaa !5
%98 = tail call i32 @towupper(i32 noundef %97) #2
switch i32 %98, label %119 [
i32 65, label %99
i32 72, label %104
i32 82, label %109
i32 83, label %114
]
99: ; preds = %94
%100 = load i32, ptr @FILE_ATTRIBUTE_ARCHIVE, align 4, !tbaa !5
%101 = or i32 %100, %47
%102 = xor i32 %100, -1
%103 = and i32 %48, %102
br label %124
104: ; preds = %94
%105 = load i32, ptr @FILE_ATTRIBUTE_HIDDEN, align 4, !tbaa !5
%106 = or i32 %105, %47
%107 = xor i32 %105, -1
%108 = and i32 %48, %107
br label %124
109: ; preds = %94
%110 = load i32, ptr @FILE_ATTRIBUTE_READONLY, align 4, !tbaa !5
%111 = or i32 %110, %47
%112 = xor i32 %110, -1
%113 = and i32 %48, %112
br label %124
114: ; preds = %94
%115 = load i32, ptr @FILE_ATTRIBUTE_SYSTEM, align 4, !tbaa !5
%116 = or i32 %115, %47
%117 = xor i32 %115, -1
%118 = and i32 %48, %117
br label %124
119: ; preds = %94
%120 = load i32, ptr @StdErr, align 4, !tbaa !5
%121 = load i32, ptr @STRING_ERROR_INVALID_PARAM_FORMAT, align 4, !tbaa !5
%122 = load ptr, ptr %49, align 8, !tbaa !9
%123 = tail call i32 @ConResPrintf(i32 noundef %120, i32 noundef %121, ptr noundef %122) #2
br label %171
124: ; preds = %45, %77, %73, %69, %65, %99, %104, %109, %114
%125 = phi i32 [ %80, %77 ], [ %76, %73 ], [ %72, %69 ], [ %68, %65 ], [ %118, %114 ], [ %113, %109 ], [ %108, %104 ], [ %103, %99 ], [ %48, %45 ]
%126 = phi i32 [ %79, %77 ], [ %75, %73 ], [ %71, %69 ], [ %67, %65 ], [ %116, %114 ], [ %111, %109 ], [ %106, %104 ], [ %101, %99 ], [ %47, %45 ]
%127 = add nuw nsw i64 %46, 1
%128 = icmp eq i64 %127, %23
br i1 %128, label %129, label %45, !llvm.loop !13
129: ; preds = %124, %2, %21
%130 = phi i32 [ %42, %21 ], [ %7, %2 ], [ %42, %124 ]
%131 = phi i32 [ %41, %21 ], [ %7, %2 ], [ %41, %124 ]
%132 = phi i32 [ 0, %21 ], [ 0, %2 ], [ %125, %124 ]
%133 = phi i32 [ 0, %21 ], [ 0, %2 ], [ %126, %124 ]
%134 = icmp eq i32 %0, 1
br i1 %134, label %139, label %135
135: ; preds = %129
br i1 %9, label %136, label %171
136: ; preds = %135
%137 = icmp eq i32 %133, 0
%138 = zext nneg i32 %0 to i64
br label %153
139: ; preds = %129
%140 = load i32, ptr @MAX_PATH, align 4, !tbaa !5
%141 = call i32 @GetCurrentDirectory(i32 noundef %140, ptr noundef nonnull %5) #2
%142 = sext i32 %141 to i64
%143 = getelementptr i32, ptr %5, i64 %142
%144 = getelementptr i32, ptr %143, i64 -1
%145 = load i32, ptr %144, align 4, !tbaa !5
%146 = icmp eq i32 %145, 92
br i1 %146, label %150, label %147
147: ; preds = %139
store i32 92, ptr %143, align 4, !tbaa !5
%148 = load i32, ptr @UNICODE_NULL, align 4, !tbaa !5
%149 = getelementptr i32, ptr %143, i64 1
store i32 %148, ptr %149, align 4, !tbaa !5
br label %150
150: ; preds = %147, %139
%151 = call i32 @wcscpy(ptr noundef nonnull %6, ptr noundef nonnull @.str.3) #2
%152 = call i32 @PrintAttribute(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %131) #2
br label %171
153: ; preds = %136, %168
%154 = phi i64 [ 1, %136 ], [ %169, %168 ]
%155 = getelementptr inbounds ptr, ptr %1, i64 %154
%156 = load ptr, ptr %155, align 8, !tbaa !9
%157 = load i32, ptr %156, align 4, !tbaa !5
switch i32 %157, label %158 [
i32 43, label %168
i32 45, label %168
i32 47, label %168
]
158: ; preds = %153
%159 = load i32, ptr @MAX_PATH, align 4, !tbaa !5
%160 = call i32 @GetFullPathName(ptr noundef nonnull %156, i32 noundef %159, ptr noundef nonnull %5, ptr noundef null) #2
%161 = call ptr @wcsrchr(ptr noundef nonnull %5, i32 noundef 92) #2
%162 = getelementptr inbounds i8, ptr %161, i64 1
%163 = call i32 @wcscpy(ptr noundef nonnull %6, ptr noundef nonnull %162) #2
store i8 0, ptr %162, align 1, !tbaa !14
br i1 %137, label %164, label %166
164: ; preds = %158
%165 = call i32 @PrintAttribute(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %131) #2
br label %168
166: ; preds = %158
%167 = call i32 @ChangeAttribute(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %133, i32 noundef %132, i32 noundef %131, i32 noundef %130) #2
br label %168
168: ; preds = %164, %166, %153, %153, %153
%169 = add nuw nsw i64 %154, 1
%170 = icmp eq i64 %169, %138
br i1 %170, label %171, label %153, !llvm.loop !15
171: ; preds = %168, %135, %150, %119, %89, %81, %55, %15
%172 = phi i32 [ 0, %15 ], [ -1, %55 ], [ -1, %81 ], [ -1, %89 ], [ -1, %119 ], [ 0, %150 ], [ 0, %135 ], [ 0, %168 ]
ret i32 %172
}
declare i32 @ConInitStdStreams(...) local_unnamed_addr #1
declare i64 @wcscmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ConResPuts(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @wcsicmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wcslen(ptr noundef) local_unnamed_addr #1
declare i32 @ConResPrintf(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @towupper(i32 noundef) local_unnamed_addr #1
declare i32 @GetCurrentDirectory(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wcscpy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PrintAttribute(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetFullPathName(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @wcsrchr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ChangeAttribute(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !12}
| ; ModuleID = 'AnghaBench/reactos/base/applications/cmdutils/attrib/extr_attrib.c_wmain.c'
source_filename = "AnghaBench/reactos/base/applications/cmdutils/attrib/extr_attrib.c_wmain.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAX_PATH = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i32] [i32 47, i32 63, i32 0], align 4
@StdOut = common local_unnamed_addr global i32 0, align 4
@STRING_ATTRIB_HELP = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i32] [i32 47, i32 115, i32 0], align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i32] [i32 47, i32 100, i32 0], align 4
@StdErr = common local_unnamed_addr global i32 0, align 4
@STRING_ERROR_INVALID_PARAM_FORMAT = common local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_ARCHIVE = common local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_HIDDEN = common local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_READONLY = common local_unnamed_addr global i32 0, align 4
@FILE_ATTRIBUTE_SYSTEM = common local_unnamed_addr global i32 0, align 4
@UNICODE_NULL = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i32] [i32 42, i32 46, i32 42, i32 0], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @wmain(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @MAX_PATH, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 4
%6 = alloca i32, i64 %4, align 4
%7 = load i32, ptr @FALSE, align 4, !tbaa !6
%8 = tail call i32 @ConInitStdStreams() #2
%9 = icmp sgt i32 %0, 1
br i1 %9, label %10, label %126
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %1, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !10
%13 = tail call i64 @wcscmp(ptr noundef %12, ptr noundef nonnull @.str) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i32, ptr @StdOut, align 4, !tbaa !6
%17 = load i32, ptr @STRING_ATTRIB_HELP, align 4, !tbaa !6
%18 = tail call i32 @ConResPuts(i32 noundef %16, i32 noundef %17) #2
br label %168
19: ; preds = %10
%20 = zext nneg i32 %0 to i64
br label %21
21: ; preds = %19, %37
%22 = phi i64 [ 1, %19 ], [ %40, %37 ]
%23 = phi i32 [ %7, %19 ], [ %39, %37 ]
%24 = phi i32 [ %7, %19 ], [ %38, %37 ]
%25 = getelementptr inbounds ptr, ptr %1, i64 %22
%26 = load ptr, ptr %25, align 8, !tbaa !10
%27 = tail call i64 @wcsicmp(ptr noundef %26, ptr noundef nonnull @.str.1) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %21
%30 = load i32, ptr @TRUE, align 4, !tbaa !6
br label %37
31: ; preds = %21
%32 = load ptr, ptr %25, align 8, !tbaa !10
%33 = tail call i64 @wcsicmp(ptr noundef %32, ptr noundef nonnull @.str.2) #2
%34 = icmp eq i64 %33, 0
%35 = load i32, ptr @TRUE, align 4
%36 = select i1 %34, i32 %35, i32 %23
br label %37
37: ; preds = %31, %29
%38 = phi i32 [ %30, %29 ], [ %24, %31 ]
%39 = phi i32 [ %23, %29 ], [ %36, %31 ]
%40 = add nuw nsw i64 %22, 1
%41 = icmp eq i64 %40, %20
br i1 %41, label %42, label %21, !llvm.loop !12
42: ; preds = %37, %121
%43 = phi i64 [ %124, %121 ], [ 1, %37 ]
%44 = phi i32 [ %123, %121 ], [ 0, %37 ]
%45 = phi i32 [ %122, %121 ], [ 0, %37 ]
%46 = getelementptr inbounds ptr, ptr %1, i64 %43
%47 = load ptr, ptr %46, align 8, !tbaa !10
%48 = load i32, ptr %47, align 4, !tbaa !6
switch i32 %48, label %121 [
i32 43, label %49
i32 45, label %83
]
49: ; preds = %42
%50 = tail call i32 @wcslen(ptr noundef nonnull %47) #2
%51 = icmp eq i32 %50, 2
br i1 %51, label %57, label %52
52: ; preds = %49
%53 = load i32, ptr @StdErr, align 4, !tbaa !6
%54 = load i32, ptr @STRING_ERROR_INVALID_PARAM_FORMAT, align 4, !tbaa !6
%55 = load ptr, ptr %46, align 8, !tbaa !10
%56 = tail call i32 @ConResPrintf(i32 noundef %53, i32 noundef %54, ptr noundef %55) #2
br label %168
57: ; preds = %49
%58 = load ptr, ptr %46, align 8, !tbaa !10
%59 = getelementptr inbounds i8, ptr %58, i64 4
%60 = load i32, ptr %59, align 4, !tbaa !6
%61 = tail call i32 @towupper(i32 noundef %60) #2
switch i32 %61, label %78 [
i32 65, label %62
i32 72, label %66
i32 82, label %70
i32 83, label %74
]
62: ; preds = %57
%63 = load i32, ptr @FILE_ATTRIBUTE_ARCHIVE, align 4, !tbaa !6
%64 = or i32 %63, %44
%65 = or i32 %63, %45
br label %121
66: ; preds = %57
%67 = load i32, ptr @FILE_ATTRIBUTE_HIDDEN, align 4, !tbaa !6
%68 = or i32 %67, %44
%69 = or i32 %67, %45
br label %121
70: ; preds = %57
%71 = load i32, ptr @FILE_ATTRIBUTE_READONLY, align 4, !tbaa !6
%72 = or i32 %71, %44
%73 = or i32 %71, %45
br label %121
74: ; preds = %57
%75 = load i32, ptr @FILE_ATTRIBUTE_SYSTEM, align 4, !tbaa !6
%76 = or i32 %75, %44
%77 = or i32 %75, %45
br label %121
78: ; preds = %57
%79 = load i32, ptr @StdErr, align 4, !tbaa !6
%80 = load i32, ptr @STRING_ERROR_INVALID_PARAM_FORMAT, align 4, !tbaa !6
%81 = load ptr, ptr %46, align 8, !tbaa !10
%82 = tail call i32 @ConResPrintf(i32 noundef %79, i32 noundef %80, ptr noundef %81) #2
br label %168
83: ; preds = %42
%84 = tail call i32 @wcslen(ptr noundef nonnull %47) #2
%85 = icmp eq i32 %84, 2
br i1 %85, label %91, label %86
86: ; preds = %83
%87 = load i32, ptr @StdErr, align 4, !tbaa !6
%88 = load i32, ptr @STRING_ERROR_INVALID_PARAM_FORMAT, align 4, !tbaa !6
%89 = load ptr, ptr %46, align 8, !tbaa !10
%90 = tail call i32 @ConResPrintf(i32 noundef %87, i32 noundef %88, ptr noundef %89) #2
br label %168
91: ; preds = %83
%92 = load ptr, ptr %46, align 8, !tbaa !10
%93 = getelementptr inbounds i8, ptr %92, i64 4
%94 = load i32, ptr %93, align 4, !tbaa !6
%95 = tail call i32 @towupper(i32 noundef %94) #2
switch i32 %95, label %116 [
i32 65, label %96
i32 72, label %101
i32 82, label %106
i32 83, label %111
]
96: ; preds = %91
%97 = load i32, ptr @FILE_ATTRIBUTE_ARCHIVE, align 4, !tbaa !6
%98 = or i32 %97, %44
%99 = xor i32 %97, -1
%100 = and i32 %45, %99
br label %121
101: ; preds = %91
%102 = load i32, ptr @FILE_ATTRIBUTE_HIDDEN, align 4, !tbaa !6
%103 = or i32 %102, %44
%104 = xor i32 %102, -1
%105 = and i32 %45, %104
br label %121
106: ; preds = %91
%107 = load i32, ptr @FILE_ATTRIBUTE_READONLY, align 4, !tbaa !6
%108 = or i32 %107, %44
%109 = xor i32 %107, -1
%110 = and i32 %45, %109
br label %121
111: ; preds = %91
%112 = load i32, ptr @FILE_ATTRIBUTE_SYSTEM, align 4, !tbaa !6
%113 = or i32 %112, %44
%114 = xor i32 %112, -1
%115 = and i32 %45, %114
br label %121
116: ; preds = %91
%117 = load i32, ptr @StdErr, align 4, !tbaa !6
%118 = load i32, ptr @STRING_ERROR_INVALID_PARAM_FORMAT, align 4, !tbaa !6
%119 = load ptr, ptr %46, align 8, !tbaa !10
%120 = tail call i32 @ConResPrintf(i32 noundef %117, i32 noundef %118, ptr noundef %119) #2
br label %168
121: ; preds = %42, %74, %70, %66, %62, %96, %101, %106, %111
%122 = phi i32 [ %77, %74 ], [ %73, %70 ], [ %69, %66 ], [ %65, %62 ], [ %115, %111 ], [ %110, %106 ], [ %105, %101 ], [ %100, %96 ], [ %45, %42 ]
%123 = phi i32 [ %76, %74 ], [ %72, %70 ], [ %68, %66 ], [ %64, %62 ], [ %113, %111 ], [ %108, %106 ], [ %103, %101 ], [ %98, %96 ], [ %44, %42 ]
%124 = add nuw nsw i64 %43, 1
%125 = icmp eq i64 %124, %20
br i1 %125, label %126, label %42, !llvm.loop !14
126: ; preds = %121, %2
%127 = phi i32 [ %7, %2 ], [ %39, %121 ]
%128 = phi i32 [ %7, %2 ], [ %38, %121 ]
%129 = phi i32 [ 0, %2 ], [ %122, %121 ]
%130 = phi i32 [ 0, %2 ], [ %123, %121 ]
%131 = icmp eq i32 %0, 1
br i1 %131, label %136, label %132
132: ; preds = %126
br i1 %9, label %133, label %168
133: ; preds = %132
%134 = icmp eq i32 %130, 0
%135 = zext nneg i32 %0 to i64
br label %150
136: ; preds = %126
%137 = load i32, ptr @MAX_PATH, align 4, !tbaa !6
%138 = call i32 @GetCurrentDirectory(i32 noundef %137, ptr noundef nonnull %5) #2
%139 = sext i32 %138 to i64
%140 = getelementptr i32, ptr %5, i64 %139
%141 = getelementptr i8, ptr %140, i64 -4
%142 = load i32, ptr %141, align 4, !tbaa !6
%143 = icmp eq i32 %142, 92
br i1 %143, label %147, label %144
144: ; preds = %136
store i32 92, ptr %140, align 4, !tbaa !6
%145 = load i32, ptr @UNICODE_NULL, align 4, !tbaa !6
%146 = getelementptr i8, ptr %140, i64 4
store i32 %145, ptr %146, align 4, !tbaa !6
br label %147
147: ; preds = %144, %136
%148 = call i32 @wcscpy(ptr noundef nonnull %6, ptr noundef nonnull @.str.3) #2
%149 = call i32 @PrintAttribute(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %128) #2
br label %168
150: ; preds = %133, %165
%151 = phi i64 [ 1, %133 ], [ %166, %165 ]
%152 = getelementptr inbounds ptr, ptr %1, i64 %151
%153 = load ptr, ptr %152, align 8, !tbaa !10
%154 = load i32, ptr %153, align 4, !tbaa !6
switch i32 %154, label %155 [
i32 43, label %165
i32 45, label %165
i32 47, label %165
]
155: ; preds = %150
%156 = load i32, ptr @MAX_PATH, align 4, !tbaa !6
%157 = call i32 @GetFullPathName(ptr noundef nonnull %153, i32 noundef %156, ptr noundef nonnull %5, ptr noundef null) #2
%158 = call ptr @wcsrchr(ptr noundef nonnull %5, i32 noundef 92) #2
%159 = getelementptr inbounds i8, ptr %158, i64 1
%160 = call i32 @wcscpy(ptr noundef nonnull %6, ptr noundef nonnull %159) #2
store i8 0, ptr %159, align 1, !tbaa !15
br i1 %134, label %161, label %163
161: ; preds = %155
%162 = call i32 @PrintAttribute(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %128) #2
br label %165
163: ; preds = %155
%164 = call i32 @ChangeAttribute(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef %130, i32 noundef %129, i32 noundef %128, i32 noundef %127) #2
br label %165
165: ; preds = %161, %163, %150, %150, %150
%166 = add nuw nsw i64 %151, 1
%167 = icmp eq i64 %166, %135
br i1 %167, label %168, label %150, !llvm.loop !16
168: ; preds = %165, %132, %147, %116, %86, %78, %52, %15
%169 = phi i32 [ 0, %15 ], [ -1, %52 ], [ -1, %78 ], [ -1, %86 ], [ -1, %116 ], [ 0, %147 ], [ 0, %132 ], [ 0, %165 ]
ret i32 %169
}
declare i32 @ConInitStdStreams(...) local_unnamed_addr #1
declare i64 @wcscmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ConResPuts(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @wcsicmp(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wcslen(ptr noundef) local_unnamed_addr #1
declare i32 @ConResPrintf(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @towupper(i32 noundef) local_unnamed_addr #1
declare i32 @GetCurrentDirectory(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wcscpy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @PrintAttribute(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @GetFullPathName(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @wcsrchr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ChangeAttribute(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !13}
| reactos_base_applications_cmdutils_attrib_extr_attrib.c_wmain |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/matrox/extr_i2c-matroxfb.c_i2c_ddc1_done.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/matrox/extr_i2c-matroxfb.c_i2c_ddc1_done.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 @i2c_ddc1_done], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @i2c_ddc1_done(ptr noundef %0) #0 {
%2 = tail call i32 @i2c_bit_bus_del(ptr noundef %0) #2
ret void
}
declare i32 @i2c_bit_bus_del(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)"}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/matrox/extr_i2c-matroxfb.c_i2c_ddc1_done.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/matrox/extr_i2c-matroxfb.c_i2c_ddc1_done.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 @i2c_ddc1_done], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @i2c_ddc1_done(ptr noundef %0) #0 {
%2 = tail call i32 @i2c_bit_bus_del(ptr noundef %0) #2
ret void
}
declare i32 @i2c_bit_bus_del(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)"}
| linux_drivers_video_fbdev_matrox_extr_i2c-matroxfb.c_i2c_ddc1_done |
; ModuleID = 'AnghaBench/linux/drivers/staging/uwb/extr_includespec.h_uwb_rc_evt_bp_slot_change_no_slot.c'
source_filename = "AnghaBench/linux/drivers/staging/uwb/extr_includespec.h_uwb_rc_evt_bp_slot_change_no_slot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @uwb_rc_evt_bp_slot_change_no_slot], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @uwb_rc_evt_bp_slot_change_no_slot(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = lshr i32 %2, 7
%4 = and i32 %3, 1
ret i32 %4
}
attributes #0 = { inlinehint 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 = !{!"uwb_rc_evt_bp_slot_change", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/uwb/extr_includespec.h_uwb_rc_evt_bp_slot_change_no_slot.c'
source_filename = "AnghaBench/linux/drivers/staging/uwb/extr_includespec.h_uwb_rc_evt_bp_slot_change_no_slot.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 @uwb_rc_evt_bp_slot_change_no_slot], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @uwb_rc_evt_bp_slot_change_no_slot(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = lshr i32 %2, 7
%4 = and i32 %3, 1
ret i32 %4
}
attributes #0 = { inlinehint 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 = !{!"uwb_rc_evt_bp_slot_change", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_staging_uwb_extr_includespec.h_uwb_rc_evt_bp_slot_change_no_slot |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/math-emu/extr_fp_arith.c_fp_fcmp.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/math-emu/extr_fp_arith.c_fp_fcmp.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.fp_ext = type { i32 }
@PINSTR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"fcmp \00", align 1
@FPDATA = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @fp_fcmp(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @PINSTR, align 4, !tbaa !5
%4 = tail call i32 @dprint(i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = load ptr, ptr @FPDATA, align 8, !tbaa !9
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.fp_ext, ptr %6, i64 1
%8 = load i32, ptr %0, align 4, !tbaa !5
store i32 %8, ptr %7, align 4, !tbaa !5
%9 = load i32, ptr %1, align 4, !tbaa !13
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i32
store i32 %11, ptr %1, align 4, !tbaa !13
%12 = tail call ptr @fp_fadd(ptr noundef nonnull %7, ptr noundef nonnull %1) #2
ret ptr %12
}
declare i32 @dprint(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @fp_fadd(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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_2__", !10, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"fp_ext", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/math-emu/extr_fp_arith.c_fp_fcmp.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/math-emu/extr_fp_arith.c_fp_fcmp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PINSTR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"fcmp \00", align 1
@FPDATA = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @fp_fcmp(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @PINSTR, align 4, !tbaa !6
%4 = tail call i32 @dprint(i32 noundef %3, ptr noundef nonnull @.str) #2
%5 = load ptr, ptr @FPDATA, align 8, !tbaa !10
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = getelementptr inbounds i8, ptr %6, i64 4
%8 = load i32, ptr %0, align 4, !tbaa !6
store i32 %8, ptr %7, align 4, !tbaa !6
%9 = load i32, ptr %1, align 4, !tbaa !14
%10 = icmp eq i32 %9, 0
%11 = zext i1 %10 to i32
store i32 %11, ptr %1, align 4, !tbaa !14
%12 = tail call ptr @fp_fadd(ptr noundef nonnull %7, ptr noundef nonnull %1) #2
ret ptr %12
}
declare i32 @dprint(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @fp_fadd(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 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"fp_ext", !7, i64 0}
| fastsocket_kernel_arch_m68k_math-emu_extr_fp_arith.c_fp_fcmp |
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_88pm860x-codec.c_snd_soc_put_volsw_2r_st.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_88pm860x-codec.c_snd_soc_put_volsw_2r_st.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.soc_mixer_control = type { i32, i32 }
%struct.TYPE_7__ = type { i32, i32 }
@st_table = dso_local local_unnamed_addr global ptr null, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@PM860X_SIDETONE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_soc_put_volsw_2r_st], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_soc_put_volsw_2r_st(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = tail call ptr @snd_soc_kcontrol_component(ptr noundef nonnull %0) #2
%6 = load i32, ptr %4, align 4, !tbaa !10
%7 = getelementptr inbounds %struct.soc_mixer_control, ptr %4, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = load ptr, ptr %1, align 8, !tbaa !14
%10 = load i32, ptr %9, align 4, !tbaa !19
%11 = getelementptr inbounds i32, ptr %9, i64 1
%12 = load i32, ptr %11, align 4, !tbaa !19
%13 = load ptr, ptr @st_table, align 8, !tbaa !20
%14 = tail call i32 @ARRAY_SIZE(ptr noundef %13) #2
%15 = icmp ult i32 %10, %14
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load ptr, ptr @st_table, align 8, !tbaa !20
%18 = tail call i32 @ARRAY_SIZE(ptr noundef %17) #2
%19 = icmp ult i32 %12, %18
br i1 %19, label %23, label %20
20: ; preds = %16, %2
%21 = load i32, ptr @EINVAL, align 4, !tbaa !19
%22 = sub nsw i32 0, %21
br label %51
23: ; preds = %16
%24 = load ptr, ptr @st_table, align 8, !tbaa !20
%25 = zext i32 %10 to i64
%26 = getelementptr inbounds %struct.TYPE_7__, ptr %24, i64 %25
%27 = load i32, ptr %26, align 4, !tbaa !21
%28 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %6, i32 noundef 63, i32 noundef %27) #2
%29 = icmp slt i32 %28, 0
br i1 %29, label %51, label %30
30: ; preds = %23
%31 = load i32, ptr @PM860X_SIDETONE_SHIFT, align 4, !tbaa !19
%32 = load ptr, ptr @st_table, align 8, !tbaa !20
%33 = getelementptr inbounds %struct.TYPE_7__, ptr %32, i64 %25, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !23
%35 = shl i32 %34, 4
%36 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %31, i32 noundef 240, i32 noundef %35) #2
%37 = icmp slt i32 %36, 0
br i1 %37, label %51, label %38
38: ; preds = %30
%39 = load ptr, ptr @st_table, align 8, !tbaa !20
%40 = zext i32 %12 to i64
%41 = getelementptr inbounds %struct.TYPE_7__, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !21
%43 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %8, i32 noundef 63, i32 noundef %42) #2
%44 = icmp slt i32 %43, 0
br i1 %44, label %51, label %45
45: ; preds = %38
%46 = load i32, ptr @PM860X_SIDETONE_SHIFT, align 4, !tbaa !19
%47 = load ptr, ptr @st_table, align 8, !tbaa !20
%48 = getelementptr inbounds %struct.TYPE_7__, ptr %47, i64 %40, i32 1
%49 = load i32, ptr %48, align 4, !tbaa !23
%50 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %46, i32 noundef 15, i32 noundef %49) #2
br label %51
51: ; preds = %38, %30, %23, %45, %20
%52 = phi i32 [ %22, %20 ], [ %50, %45 ], [ %28, %23 ], [ %36, %30 ], [ %43, %38 ]
ret i32 %52
}
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_update_bits(ptr 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 = !{!"snd_kcontrol", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"soc_mixer_control", !12, i64 0, !12, i64 4}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
!14 = !{!15, !18, i64 0}
!15 = !{!"snd_ctl_elem_value", !16, i64 0}
!16 = !{!"TYPE_6__", !17, i64 0}
!17 = !{!"TYPE_5__", !18, i64 0}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!18, !18, i64 0}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_7__", !12, i64 0, !12, i64 4}
!23 = !{!22, !12, i64 4}
| ; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_88pm860x-codec.c_snd_soc_put_volsw_2r_st.c'
source_filename = "AnghaBench/linux/sound/soc/codecs/extr_88pm860x-codec.c_snd_soc_put_volsw_2r_st.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { i32, i32 }
@st_table = common local_unnamed_addr global ptr null, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@PM860X_SIDETONE_SHIFT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_soc_put_volsw_2r_st], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @snd_soc_put_volsw_2r_st(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = tail call ptr @snd_soc_kcontrol_component(ptr noundef nonnull %0) #2
%6 = load i32, ptr %4, align 4, !tbaa !11
%7 = getelementptr inbounds i8, ptr %4, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = load ptr, ptr %1, align 8, !tbaa !15
%10 = load i32, ptr %9, align 4, !tbaa !20
%11 = getelementptr inbounds i8, ptr %9, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !20
%13 = load ptr, ptr @st_table, align 8, !tbaa !21
%14 = tail call i32 @ARRAY_SIZE(ptr noundef %13) #2
%15 = icmp ult i32 %10, %14
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load ptr, ptr @st_table, align 8, !tbaa !21
%18 = tail call i32 @ARRAY_SIZE(ptr noundef %17) #2
%19 = icmp ult i32 %12, %18
br i1 %19, label %23, label %20
20: ; preds = %16, %2
%21 = load i32, ptr @EINVAL, align 4, !tbaa !20
%22 = sub nsw i32 0, %21
br label %51
23: ; preds = %16
%24 = load ptr, ptr @st_table, align 8, !tbaa !21
%25 = zext i32 %10 to i64
%26 = getelementptr inbounds %struct.TYPE_7__, ptr %24, i64 %25
%27 = load i32, ptr %26, align 4, !tbaa !22
%28 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %6, i32 noundef 63, i32 noundef %27) #2
%29 = icmp slt i32 %28, 0
br i1 %29, label %51, label %30
30: ; preds = %23
%31 = load i32, ptr @PM860X_SIDETONE_SHIFT, align 4, !tbaa !20
%32 = load ptr, ptr @st_table, align 8, !tbaa !21
%33 = getelementptr inbounds %struct.TYPE_7__, ptr %32, i64 %25, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !24
%35 = shl i32 %34, 4
%36 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %31, i32 noundef 240, i32 noundef %35) #2
%37 = icmp slt i32 %36, 0
br i1 %37, label %51, label %38
38: ; preds = %30
%39 = load ptr, ptr @st_table, align 8, !tbaa !21
%40 = zext i32 %12 to i64
%41 = getelementptr inbounds %struct.TYPE_7__, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !22
%43 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %8, i32 noundef 63, i32 noundef %42) #2
%44 = icmp slt i32 %43, 0
br i1 %44, label %51, label %45
45: ; preds = %38
%46 = load i32, ptr @PM860X_SIDETONE_SHIFT, align 4, !tbaa !20
%47 = load ptr, ptr @st_table, align 8, !tbaa !21
%48 = getelementptr inbounds %struct.TYPE_7__, ptr %47, i64 %40, i32 1
%49 = load i32, ptr %48, align 4, !tbaa !24
%50 = tail call i32 @snd_soc_component_update_bits(ptr noundef %5, i32 noundef %46, i32 noundef 15, i32 noundef %49) #2
br label %51
51: ; preds = %38, %30, %23, %45, %20
%52 = phi i32 [ %22, %20 ], [ %50, %45 ], [ %28, %23 ], [ %36, %30 ], [ %43, %38 ]
ret i32 %52
}
declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @snd_soc_component_update_bits(ptr 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 = !{!"snd_kcontrol", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"soc_mixer_control", !13, i64 0, !13, i64 4}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!16, !19, i64 0}
!16 = !{!"snd_ctl_elem_value", !17, i64 0}
!17 = !{!"TYPE_6__", !18, i64 0}
!18 = !{!"TYPE_5__", !19, i64 0}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!19, !19, i64 0}
!22 = !{!23, !13, i64 0}
!23 = !{!"TYPE_7__", !13, i64 0, !13, i64 4}
!24 = !{!23, !13, i64 4}
| linux_sound_soc_codecs_extr_88pm860x-codec.c_snd_soc_put_volsw_2r_st |
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_rcutorture.c_sched_torture_read_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_rcutorture.c_sched_torture_read_lock.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 @sched_torture_read_lock], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @sched_torture_read_lock() #0 {
%1 = tail call i32 (...) @preempt_disable() #2
ret i32 0
}
declare i32 @preempt_disable(...) 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/fastsocket/kernel/kernel/extr_rcutorture.c_sched_torture_read_lock.c'
source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_rcutorture.c_sched_torture_read_lock.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 @sched_torture_read_lock], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @sched_torture_read_lock() #0 {
%1 = tail call i32 @preempt_disable() #2
ret i32 0
}
declare i32 @preempt_disable(...) 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)"}
| fastsocket_kernel_kernel_extr_rcutorture.c_sched_torture_read_lock |
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-rv8803.c_rv8803_write_reg.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-rv8803.c_rv8803_write_reg.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"
@RV8803_I2C_TRY_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Unable to write register 0x%02x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rv8803_write_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rv8803_write_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @RV8803_I2C_TRY_COUNT, align 4, !tbaa !5
br label %5
5: ; preds = %21, %3
%6 = phi i32 [ %4, %3 ], [ %22, %21 ]
%7 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
%8 = load i32, ptr @ENXIO, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
%10 = icmp eq i32 %7, %9
br i1 %10, label %18, label %11
11: ; preds = %5
%12 = load i32, ptr @EIO, align 4, !tbaa !5
%13 = sub nsw i32 0, %12
%14 = icmp ne i32 %7, %13
%15 = add nsw i32 %6, -1
%16 = icmp eq i32 %15, 0
%17 = select i1 %14, i1 true, i1 %16
br i1 %17, label %23, label %21
18: ; preds = %5
%19 = add nsw i32 %6, -1
%20 = icmp eq i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18, %11
%22 = phi i32 [ %19, %18 ], [ %15, %11 ]
br label %5, !llvm.loop !9
23: ; preds = %11, %18
%24 = icmp eq i32 %7, 0
br i1 %24, label %27, label %25
25: ; preds = %23
%26 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1) #2
br label %27
27: ; preds = %25, %23
ret i32 %7
}
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-rv8803.c_rv8803_write_reg.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-rv8803.c_rv8803_write_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RV8803_I2C_TRY_COUNT = common local_unnamed_addr global i32 0, align 4
@ENXIO = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"Unable to write register 0x%02x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rv8803_write_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rv8803_write_reg(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @RV8803_I2C_TRY_COUNT, align 4, !tbaa !6
br label %5
5: ; preds = %21, %3
%6 = phi i32 [ %4, %3 ], [ %22, %21 ]
%7 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
%8 = load i32, ptr @ENXIO, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
%10 = icmp eq i32 %7, %9
br i1 %10, label %18, label %11
11: ; preds = %5
%12 = load i32, ptr @EIO, align 4, !tbaa !6
%13 = sub nsw i32 0, %12
%14 = icmp ne i32 %7, %13
%15 = add nsw i32 %6, -1
%16 = icmp eq i32 %15, 0
%17 = select i1 %14, i1 true, i1 %16
br i1 %17, label %23, label %21
18: ; preds = %5
%19 = add nsw i32 %6, -1
%20 = icmp eq i32 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18, %11
%22 = phi i32 [ %19, %18 ], [ %15, %11 ]
br label %5, !llvm.loop !10
23: ; preds = %11, %18
%24 = icmp eq i32 %7, 0
br i1 %24, label %27, label %25
25: ; preds = %23
%26 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1) #2
br label %27
27: ; preds = %25, %23
ret i32 %7
}
declare i32 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_drivers_rtc_extr_rtc-rv8803.c_rv8803_write_reg |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_context.c_drm_ctxbitmap_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_context.c_drm_ctxbitmap_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.drm_device = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @drm_ctxbitmap_free(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mutex_lock(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.drm_device, ptr %0, i64 0, i32 1
%5 = tail call i32 @idr_remove(ptr noundef nonnull %4, i32 noundef %1) #2
%6 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @idr_remove(ptr 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)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_context.c_drm_ctxbitmap_free.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_context.c_drm_ctxbitmap_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @drm_ctxbitmap_free(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mutex_lock(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = tail call i32 @idr_remove(ptr noundef nonnull %4, i32 noundef %1) #2
%6 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret void
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @idr_remove(ptr 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)"}
| fastsocket_kernel_drivers_gpu_drm_extr_drm_context.c_drm_ctxbitmap_free |
; ModuleID = 'AnghaBench/lab/engine/code/sys/extr_sys_win32.c_Sys_FOpen.c'
source_filename = "AnghaBench/lab/engine/code/sys/extr_sys_win32.c_Sys_FOpen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: nofree nounwind uwtable
define dso_local noalias i32* @Sys_FOpen(i8* nocapture noundef readonly %0, i8* nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i64 @strlen(i8* noundef nonnull dereferenceable(1) %0)
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = add i64 %3, -1
%7 = getelementptr inbounds i8, i8* %0, i64 %6
%8 = load i8, i8* %7, align 1, !tbaa !5
switch i8 %8, label %9 [
i8 32, label %11
i8 46, label %11
]
9: ; preds = %5
%10 = tail call i32* @fopen(i8* noundef nonnull %0, i8* noundef %1)
br label %11
11: ; preds = %2, %5, %5, %9
%12 = phi i32* [ %10, %9 ], [ null, %5 ], [ null, %5 ], [ null, %2 ]
ret i32* %12
}
; Function Attrs: argmemonly mustprogress nofree nounwind readonly willreturn
declare i64 @strlen(i8* nocapture noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef i32* @fopen(i8* nocapture noundef readonly, i8* nocapture noundef readonly) local_unnamed_addr #2
attributes #0 = { nofree nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { argmemonly mustprogress nofree nounwind readonly willreturn "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+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 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/lab/engine/code/sys/extr_sys_win32.c_Sys_FOpen.c'
source_filename = "AnghaBench/lab/engine/code/sys/extr_sys_win32.c_Sys_FOpen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nofree nounwind ssp uwtable(sync)
define noalias noundef ptr @Sys_FOpen(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #3
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %2
%6 = getelementptr i8, ptr %0, i64 %3
%7 = getelementptr i8, ptr %6, i64 -1
%8 = load i8, ptr %7, align 1, !tbaa !6
switch i8 %8, label %9 [
i8 32, label %11
i8 46, label %11
]
9: ; preds = %5
%10 = tail call ptr @fopen(ptr noundef nonnull %0, ptr noundef %1)
br label %11
11: ; preds = %2, %5, %5, %9
%12 = phi ptr [ %10, %9 ], [ null, %5 ], [ null, %5 ], [ null, %2 ]
ret ptr %12
}
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2
attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { 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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| lab_engine_code_sys_extr_sys_win32.c_Sys_FOpen |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum.c_mlxsw_sp1_ptp_egr_fifo_event_func.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum.c_mlxsw_sp1_ptp_egr_fifo_event_func.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_sp1_ptp_egr_fifo_event_func], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mlxsw_sp1_ptp_egr_fifo_event_func(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @mlxsw_sp1_ptp_fifo_event_func(ptr noundef %2, ptr noundef %1, i32 noundef 0) #2
ret void
}
declare i32 @mlxsw_sp1_ptp_fifo_event_func(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)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum.c_mlxsw_sp1_ptp_egr_fifo_event_func.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum.c_mlxsw_sp1_ptp_egr_fifo_event_func.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @mlxsw_sp1_ptp_egr_fifo_event_func], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mlxsw_sp1_ptp_egr_fifo_event_func(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @mlxsw_sp1_ptp_fifo_event_func(ptr noundef %2, ptr noundef %1, i32 noundef 0) #2
ret void
}
declare i32 @mlxsw_sp1_ptp_fifo_event_func(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)"}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum.c_mlxsw_sp1_ptp_egr_fifo_event_func |
; ModuleID = 'AnghaBench/linux/drivers/media/platform/rcar-vin/extr_rcar-csi2.c_rcsi2_parse_v4l2.c'
source_filename = "AnghaBench/linux/drivers/media/platform/rcar-vin/extr_rcar-csi2.c_rcsi2_parse_v4l2.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_fwnode_endpoint = type { i64, %struct.TYPE_6__, %struct.TYPE_4__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, ptr }
%struct.TYPE_4__ = type { i64, i64 }
%struct.rcar_csi2 = type { i32, ptr, i32 }
@ENOTCONN = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_MBUS_CSI2_DPHY = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [21 x i8] c"Unsupported bus: %u\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"Unsupported number of data-lanes: %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"data-lanes must be in 1-4 range\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rcsi2_parse_v4l2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rcsi2_parse_v4l2(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.v4l2_fwnode_endpoint, ptr %1, i64 0, i32 2, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = getelementptr inbounds %struct.v4l2_fwnode_endpoint, ptr %1, i64 0, i32 2
%8 = load i64, ptr %7, align 8, !tbaa !15
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6, %2
%11 = load i32, ptr @ENOTCONN, align 4, !tbaa !16
%12 = sub nsw i32 0, %11
br label %66
13: ; preds = %6
%14 = load i64, ptr %1, align 8, !tbaa !17
%15 = load i64, ptr @V4L2_MBUS_CSI2_DPHY, align 8, !tbaa !18
%16 = icmp eq i64 %14, %15
br i1 %16, label %23, label %17
17: ; preds = %13
%18 = getelementptr inbounds %struct.rcar_csi2, ptr %0, i64 0, i32 2
%19 = load i32, ptr %18, align 8, !tbaa !19
%20 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %19, ptr noundef nonnull @.str, i64 noundef %14) #2
%21 = load i32, ptr @EINVAL, align 4, !tbaa !16
%22 = sub nsw i32 0, %21
br label %66
23: ; preds = %13
%24 = getelementptr inbounds %struct.v4l2_fwnode_endpoint, ptr %1, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !21
store i32 %25, ptr %0, align 8, !tbaa !22
switch i32 %25, label %26 [
i32 1, label %32
i32 2, label %32
i32 4, label %32
]
26: ; preds = %23
%27 = getelementptr inbounds %struct.rcar_csi2, ptr %0, i64 0, i32 2
%28 = load i32, ptr %27, align 8, !tbaa !19
%29 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %28, ptr noundef nonnull @.str.1, i32 noundef %25) #2
%30 = load i32, ptr @EINVAL, align 4, !tbaa !16
%31 = sub nsw i32 0, %30
br label %66
32: ; preds = %23, %23, %23
%33 = getelementptr inbounds %struct.rcar_csi2, ptr %0, i64 0, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !23
%35 = tail call i32 @ARRAY_SIZE(ptr noundef %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %66, label %37
37: ; preds = %32
%38 = getelementptr inbounds %struct.v4l2_fwnode_endpoint, ptr %1, i64 0, i32 1, i32 0, i32 1
br label %44
39: ; preds = %54
%40 = add nuw nsw i64 %45, 1
%41 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %56) #2
%42 = zext i32 %41 to i64
%43 = icmp ult i64 %40, %42
br i1 %43, label %44, label %66, !llvm.loop !24
44: ; preds = %37, %39
%45 = phi i64 [ 0, %37 ], [ %40, %39 ]
%46 = load i32, ptr %0, align 8, !tbaa !22
%47 = zext i32 %46 to i64
%48 = icmp ult i64 %45, %47
%49 = trunc i64 %45 to i32
br i1 %48, label %50, label %54
50: ; preds = %44
%51 = load ptr, ptr %38, align 8, !tbaa !26
%52 = getelementptr inbounds i32, ptr %51, i64 %45
%53 = load i32, ptr %52, align 4, !tbaa !16
br label %54
54: ; preds = %44, %50
%55 = phi i32 [ %53, %50 ], [ %49, %44 ]
%56 = load ptr, ptr %33, align 8, !tbaa !23
%57 = getelementptr inbounds i32, ptr %56, i64 %45
store i32 %55, ptr %57, align 4, !tbaa !16
%58 = add i32 %55, -5
%59 = icmp ult i32 %58, -4
br i1 %59, label %60, label %39
60: ; preds = %54
%61 = getelementptr inbounds %struct.rcar_csi2, ptr %0, i64 0, i32 2
%62 = load i32, ptr %61, align 8, !tbaa !19
%63 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %62, ptr noundef nonnull @.str.2) #2
%64 = load i32, ptr @EINVAL, align 4, !tbaa !16
%65 = sub nsw i32 0, %64
br label %66
66: ; preds = %39, %32, %60, %26, %17, %10
%67 = phi i32 [ %12, %10 ], [ %22, %17 ], [ %31, %26 ], [ %65, %60 ], [ 0, %32 ], [ 0, %39 ]
ret i32 %67
}
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(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 32}
!6 = !{!"v4l2_fwnode_endpoint", !7, i64 0, !10, i64 8, !14, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_6__", !11, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0, !13, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"TYPE_4__", !7, i64 0, !7, i64 8}
!15 = !{!6, !7, i64 24}
!16 = !{!12, !12, i64 0}
!17 = !{!6, !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !12, i64 16}
!20 = !{!"rcar_csi2", !12, i64 0, !13, i64 8, !12, i64 16}
!21 = !{!6, !12, i64 8}
!22 = !{!20, !12, i64 0}
!23 = !{!20, !13, i64 8}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!6, !13, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/media/platform/rcar-vin/extr_rcar-csi2.c_rcsi2_parse_v4l2.c'
source_filename = "AnghaBench/linux/drivers/media/platform/rcar-vin/extr_rcar-csi2.c_rcsi2_parse_v4l2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOTCONN = common local_unnamed_addr global i32 0, align 4
@V4L2_MBUS_CSI2_DPHY = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [21 x i8] c"Unsupported bus: %u\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"Unsupported number of data-lanes: %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"data-lanes must be in 1-4 range\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rcsi2_parse_v4l2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rcsi2_parse_v4l2(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 32
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 24
%8 = load i64, ptr %7, align 8, !tbaa !16
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6, %2
%11 = load i32, ptr @ENOTCONN, align 4, !tbaa !17
%12 = sub nsw i32 0, %11
br label %66
13: ; preds = %6
%14 = load i64, ptr %1, align 8, !tbaa !18
%15 = load i64, ptr @V4L2_MBUS_CSI2_DPHY, align 8, !tbaa !19
%16 = icmp eq i64 %14, %15
br i1 %16, label %23, label %17
17: ; preds = %13
%18 = getelementptr inbounds i8, ptr %0, i64 16
%19 = load i32, ptr %18, align 8, !tbaa !20
%20 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %19, ptr noundef nonnull @.str, i64 noundef %14) #2
%21 = load i32, ptr @EINVAL, align 4, !tbaa !17
%22 = sub nsw i32 0, %21
br label %66
23: ; preds = %13
%24 = getelementptr inbounds i8, ptr %1, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !22
store i32 %25, ptr %0, align 8, !tbaa !23
switch i32 %25, label %26 [
i32 1, label %32
i32 2, label %32
i32 4, label %32
]
26: ; preds = %23
%27 = getelementptr inbounds i8, ptr %0, i64 16
%28 = load i32, ptr %27, align 8, !tbaa !20
%29 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %28, ptr noundef nonnull @.str.1, i32 noundef %25) #2
%30 = load i32, ptr @EINVAL, align 4, !tbaa !17
%31 = sub nsw i32 0, %30
br label %66
32: ; preds = %23, %23, %23
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !24
%35 = tail call i32 @ARRAY_SIZE(ptr noundef %34) #2
%36 = icmp eq i32 %35, 0
br i1 %36, label %66, label %37
37: ; preds = %32
%38 = getelementptr inbounds i8, ptr %1, i64 16
br label %44
39: ; preds = %54
%40 = add nuw nsw i64 %45, 1
%41 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %56) #2
%42 = zext i32 %41 to i64
%43 = icmp ult i64 %40, %42
br i1 %43, label %44, label %66, !llvm.loop !25
44: ; preds = %37, %39
%45 = phi i64 [ 0, %37 ], [ %40, %39 ]
%46 = load i32, ptr %0, align 8, !tbaa !23
%47 = zext i32 %46 to i64
%48 = icmp ult i64 %45, %47
%49 = trunc nuw i64 %45 to i32
br i1 %48, label %50, label %54
50: ; preds = %44
%51 = load ptr, ptr %38, align 8, !tbaa !27
%52 = getelementptr inbounds i32, ptr %51, i64 %45
%53 = load i32, ptr %52, align 4, !tbaa !17
br label %54
54: ; preds = %44, %50
%55 = phi i32 [ %53, %50 ], [ %49, %44 ]
%56 = load ptr, ptr %33, align 8, !tbaa !24
%57 = getelementptr inbounds i32, ptr %56, i64 %45
store i32 %55, ptr %57, align 4, !tbaa !17
%58 = add i32 %55, -5
%59 = icmp ult i32 %58, -4
br i1 %59, label %60, label %39
60: ; preds = %54
%61 = getelementptr inbounds i8, ptr %0, i64 16
%62 = load i32, ptr %61, align 8, !tbaa !20
%63 = tail call i32 (i32, ptr, ...) @dev_err(i32 noundef %62, ptr noundef nonnull @.str.2) #2
%64 = load i32, ptr @EINVAL, align 4, !tbaa !17
%65 = sub nsw i32 0, %64
br label %66
66: ; preds = %39, %32, %60, %26, %17, %10
%67 = phi i32 [ %12, %10 ], [ %22, %17 ], [ %31, %26 ], [ %65, %60 ], [ 0, %32 ], [ 0, %39 ]
ret i32 %67
}
declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(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 32}
!7 = !{!"v4l2_fwnode_endpoint", !8, i64 0, !11, i64 8, !15, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0, !14, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!"TYPE_4__", !8, i64 0, !8, i64 8}
!16 = !{!7, !8, i64 24}
!17 = !{!13, !13, i64 0}
!18 = !{!7, !8, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !13, i64 16}
!21 = !{!"rcar_csi2", !13, i64 0, !14, i64 8, !13, i64 16}
!22 = !{!7, !13, i64 8}
!23 = !{!21, !13, i64 0}
!24 = !{!21, !14, i64 8}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!7, !14, i64 16}
| linux_drivers_media_platform_rcar-vin_extr_rcar-csi2.c_rcsi2_parse_v4l2 |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/bt8xx/extr_bttv-driver.c_radio_s_input.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/bt8xx/extr_bttv-driver.c_radio_s_input.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @radio_s_input], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @radio_s_input(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = tail call i64 @unlikely(i32 noundef %2) #2
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @EINVAL, align 4
%7 = sub nsw i32 0, %6
%8 = select i1 %5, i32 0, i32 %7
ret i32 %8
}
declare i64 @unlikely(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/fastsocket/kernel/drivers/media/video/bt8xx/extr_bttv-driver.c_radio_s_input.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/bt8xx/extr_bttv-driver.c_radio_s_input.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
@llvm.used = appending global [1 x ptr] [ptr @radio_s_input], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @radio_s_input(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = tail call i64 @unlikely(i32 noundef %2) #2
%5 = icmp eq i64 %4, 0
%6 = load i32, ptr @EINVAL, align 4
%7 = sub nsw i32 0, %6
%8 = select i1 %5, i32 0, i32 %7
ret i32 %8
}
declare i64 @unlikely(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)"}
| fastsocket_kernel_drivers_media_video_bt8xx_extr_bttv-driver.c_radio_s_input |
; ModuleID = 'AnghaBench/sway/sway/commands/input/extr_scroll_button.c_input_cmd_scroll_button.c'
source_filename = "AnghaBench/sway/sway/commands/input/extr_scroll_button.c_input_cmd_scroll_button.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 [14 x i8] c"scroll_button\00", align 1
@EXPECTED_AT_LEAST = dso_local local_unnamed_addr global i32 0, align 4
@config = dso_local local_unnamed_addr global ptr null, align 8
@CMD_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"No input device defined.\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"disable\00", align 1
@CMD_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@CMD_INVALID = dso_local local_unnamed_addr global i32 0, align 4
@SWAY_SCROLL_UP = dso_local local_unnamed_addr global i64 0, align 8
@SWAY_SCROLL_DOWN = dso_local local_unnamed_addr global i64 0, align 8
@SWAY_SCROLL_LEFT = dso_local local_unnamed_addr global i64 0, align 8
@SWAY_SCROLL_RIGHT = dso_local local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [53 x i8] c"X11 axis buttons are not supported for scroll_button\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Unknown button %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @input_cmd_scroll_button(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = load i32, ptr @EXPECTED_AT_LEAST, align 4, !tbaa !5
%5 = tail call ptr @checkarg(i32 noundef %0, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef 1) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %57
7: ; preds = %2
%8 = load ptr, ptr @config, align 8, !tbaa !9
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @CMD_FAILURE, align 4, !tbaa !5
%13 = tail call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %12, ptr noundef nonnull @.str.1) #3
br label %57
14: ; preds = %7
%15 = load ptr, ptr %1, align 8, !tbaa !9
%16 = tail call i64 @strcmp(ptr noundef %15, ptr noundef nonnull @.str.2) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
store i64 0, ptr %9, align 8, !tbaa !14
%19 = load i32, ptr @CMD_SUCCESS, align 4, !tbaa !5
%20 = tail call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %19, ptr noundef null) #3
br label %57
21: ; preds = %14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store ptr null, ptr %3, align 8, !tbaa !9
%22 = load ptr, ptr %1, align 8, !tbaa !9
%23 = call i64 @get_mouse_button(ptr noundef %22, ptr noundef nonnull %3) #3
%24 = load ptr, ptr %3, align 8, !tbaa !9
%25 = icmp eq ptr %24, null
br i1 %25, label %31, label %26
26: ; preds = %21
%27 = load i32, ptr @CMD_INVALID, align 4, !tbaa !5
%28 = call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %27, ptr noundef nonnull %24) #3
%29 = load ptr, ptr %3, align 8, !tbaa !9
%30 = call i32 @free(ptr noundef %29) #3
br label %55
31: ; preds = %21
%32 = load i64, ptr @SWAY_SCROLL_UP, align 8, !tbaa !17
%33 = icmp eq i64 %23, %32
%34 = load i64, ptr @SWAY_SCROLL_DOWN, align 8
%35 = icmp eq i64 %23, %34
%36 = select i1 %33, i1 true, i1 %35
%37 = load i64, ptr @SWAY_SCROLL_LEFT, align 8
%38 = icmp eq i64 %23, %37
%39 = select i1 %36, i1 true, i1 %38
%40 = load i64, ptr @SWAY_SCROLL_RIGHT, align 8
%41 = icmp eq i64 %23, %40
%42 = select i1 %39, i1 true, i1 %41
br i1 %42, label %43, label %46
43: ; preds = %31
%44 = load i32, ptr @CMD_INVALID, align 4, !tbaa !5
%45 = call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %44, ptr noundef nonnull @.str.3) #3
br label %55
46: ; preds = %31
%47 = icmp eq i64 %23, 0
br i1 %47, label %48, label %52
48: ; preds = %46
%49 = load i32, ptr @CMD_INVALID, align 4, !tbaa !5
%50 = load ptr, ptr %1, align 8, !tbaa !9
%51 = call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %49, ptr noundef nonnull @.str.4, ptr noundef %50) #3
br label %55
52: ; preds = %46
store i64 %23, ptr %9, align 8, !tbaa !14
%53 = load i32, ptr @CMD_SUCCESS, align 4, !tbaa !5
%54 = call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %53, ptr noundef null) #3
br label %55
55: ; preds = %52, %48, %43, %26
%56 = phi ptr [ %28, %26 ], [ %45, %43 ], [ %54, %52 ], [ %51, %48 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
br label %57
57: ; preds = %11, %18, %55, %2
%58 = phi ptr [ %5, %2 ], [ %20, %18 ], [ %56, %55 ], [ %13, %11 ]
ret ptr %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @checkarg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @cmd_results_new(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @get_mouse_button(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
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 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !10, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"input_config", !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!16, !16, i64 0}
| ; ModuleID = 'AnghaBench/sway/sway/commands/input/extr_scroll_button.c_input_cmd_scroll_button.c'
source_filename = "AnghaBench/sway/sway/commands/input/extr_scroll_button.c_input_cmd_scroll_button.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 [14 x i8] c"scroll_button\00", align 1
@EXPECTED_AT_LEAST = common local_unnamed_addr global i32 0, align 4
@config = common local_unnamed_addr global ptr null, align 8
@CMD_FAILURE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"No input device defined.\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"disable\00", align 1
@CMD_SUCCESS = common local_unnamed_addr global i32 0, align 4
@CMD_INVALID = common local_unnamed_addr global i32 0, align 4
@SWAY_SCROLL_UP = common local_unnamed_addr global i64 0, align 8
@SWAY_SCROLL_DOWN = common local_unnamed_addr global i64 0, align 8
@SWAY_SCROLL_LEFT = common local_unnamed_addr global i64 0, align 8
@SWAY_SCROLL_RIGHT = common local_unnamed_addr global i64 0, align 8
@.str.3 = private unnamed_addr constant [53 x i8] c"X11 axis buttons are not supported for scroll_button\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Unknown button %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @input_cmd_scroll_button(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca ptr, align 8
%4 = load i32, ptr @EXPECTED_AT_LEAST, align 4, !tbaa !6
%5 = tail call ptr @checkarg(i32 noundef %0, ptr noundef nonnull @.str, i32 noundef %4, i32 noundef 1) #3
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %57
7: ; preds = %2
%8 = load ptr, ptr @config, align 8, !tbaa !10
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i32, ptr @CMD_FAILURE, align 4, !tbaa !6
%13 = tail call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %12, ptr noundef nonnull @.str.1) #3
br label %57
14: ; preds = %7
%15 = load ptr, ptr %1, align 8, !tbaa !10
%16 = tail call i64 @strcmp(ptr noundef %15, ptr noundef nonnull @.str.2) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
store i64 0, ptr %9, align 8, !tbaa !15
%19 = load i32, ptr @CMD_SUCCESS, align 4, !tbaa !6
%20 = tail call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %19, ptr noundef null) #3
br label %57
21: ; preds = %14
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store ptr null, ptr %3, align 8, !tbaa !10
%22 = load ptr, ptr %1, align 8, !tbaa !10
%23 = call i64 @get_mouse_button(ptr noundef %22, ptr noundef nonnull %3) #3
%24 = load ptr, ptr %3, align 8, !tbaa !10
%25 = icmp eq ptr %24, null
br i1 %25, label %31, label %26
26: ; preds = %21
%27 = load i32, ptr @CMD_INVALID, align 4, !tbaa !6
%28 = call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %27, ptr noundef nonnull %24) #3
%29 = load ptr, ptr %3, align 8, !tbaa !10
%30 = call i32 @free(ptr noundef %29) #3
br label %55
31: ; preds = %21
%32 = load i64, ptr @SWAY_SCROLL_UP, align 8, !tbaa !18
%33 = icmp eq i64 %23, %32
%34 = load i64, ptr @SWAY_SCROLL_DOWN, align 8
%35 = icmp eq i64 %23, %34
%36 = select i1 %33, i1 true, i1 %35
%37 = load i64, ptr @SWAY_SCROLL_LEFT, align 8
%38 = icmp eq i64 %23, %37
%39 = select i1 %36, i1 true, i1 %38
%40 = load i64, ptr @SWAY_SCROLL_RIGHT, align 8
%41 = icmp eq i64 %23, %40
%42 = select i1 %39, i1 true, i1 %41
br i1 %42, label %43, label %46
43: ; preds = %31
%44 = load i32, ptr @CMD_INVALID, align 4, !tbaa !6
%45 = call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %44, ptr noundef nonnull @.str.3) #3
br label %55
46: ; preds = %31
%47 = icmp eq i64 %23, 0
br i1 %47, label %48, label %52
48: ; preds = %46
%49 = load i32, ptr @CMD_INVALID, align 4, !tbaa !6
%50 = load ptr, ptr %1, align 8, !tbaa !10
%51 = call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %49, ptr noundef nonnull @.str.4, ptr noundef %50) #3
br label %55
52: ; preds = %46
store i64 %23, ptr %9, align 8, !tbaa !15
%53 = load i32, ptr @CMD_SUCCESS, align 4, !tbaa !6
%54 = call ptr (i32, ptr, ...) @cmd_results_new(i32 noundef %53, ptr noundef null) #3
br label %55
55: ; preds = %52, %48, %43, %26
%56 = phi ptr [ %28, %26 ], [ %45, %43 ], [ %54, %52 ], [ %51, %48 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
br label %57
57: ; preds = %11, %18, %55, %2
%58 = phi ptr [ %5, %2 ], [ %20, %18 ], [ %56, %55 ], [ %13, %11 ]
ret ptr %58
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @checkarg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @cmd_results_new(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @get_mouse_button(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
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 0}
!13 = !{!"TYPE_4__", !14, i64 0}
!14 = !{!"TYPE_3__", !11, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"input_config", !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!17, !17, i64 0}
| sway_sway_commands_input_extr_scroll_button.c_input_cmd_scroll_button |
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_rdp.c_rdp_send_fonts.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_rdp.c_rdp_send_fonts.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"
@False = dso_local local_unnamed_addr global i32 0, align 4
@RDP_DATA_PDU_FONT2 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rdp_send_fonts], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rdp_send_fonts(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @rdp_init_data(ptr noundef %0, i32 noundef 8) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = load i32, ptr @False, align 4, !tbaa !5
br label %15
7: ; preds = %2
%8 = tail call i32 @out_uint16(ptr noundef nonnull %3, i32 noundef 0) #2
%9 = tail call i32 @out_uint16_le(ptr noundef nonnull %3, i32 noundef 0) #2
%10 = tail call i32 @out_uint16_le(ptr noundef nonnull %3, i32 noundef %1) #2
%11 = tail call i32 @out_uint16_le(ptr noundef nonnull %3, i32 noundef 50) #2
%12 = tail call i32 @s_mark_end(ptr noundef nonnull %3) #2
%13 = load i32, ptr @RDP_DATA_PDU_FONT2, align 4, !tbaa !5
%14 = tail call i32 @rdp_send_data(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %13) #2
br label %15
15: ; preds = %7, %5
%16 = phi i32 [ %6, %5 ], [ %14, %7 ]
ret i32 %16
}
declare ptr @rdp_init_data(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @out_uint16(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @out_uint16_le(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s_mark_end(ptr noundef) local_unnamed_addr #1
declare i32 @rdp_send_data(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"}
| ; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_rdp.c_rdp_send_fonts.c'
source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_rdp.c_rdp_send_fonts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@False = common local_unnamed_addr global i32 0, align 4
@RDP_DATA_PDU_FONT2 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rdp_send_fonts], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rdp_send_fonts(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @rdp_init_data(ptr noundef %0, i32 noundef 8) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %7
5: ; preds = %2
%6 = load i32, ptr @False, align 4, !tbaa !6
br label %15
7: ; preds = %2
%8 = tail call i32 @out_uint16(ptr noundef nonnull %3, i32 noundef 0) #2
%9 = tail call i32 @out_uint16_le(ptr noundef nonnull %3, i32 noundef 0) #2
%10 = tail call i32 @out_uint16_le(ptr noundef nonnull %3, i32 noundef %1) #2
%11 = tail call i32 @out_uint16_le(ptr noundef nonnull %3, i32 noundef 50) #2
%12 = tail call i32 @s_mark_end(ptr noundef nonnull %3) #2
%13 = load i32, ptr @RDP_DATA_PDU_FONT2, align 4, !tbaa !6
%14 = tail call i32 @rdp_send_data(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %13) #2
br label %15
15: ; preds = %7, %5
%16 = phi i32 [ %6, %5 ], [ %14, %7 ]
ret i32 %16
}
declare ptr @rdp_init_data(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @out_uint16(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @out_uint16_le(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @s_mark_end(ptr noundef) local_unnamed_addr #1
declare i32 @rdp_send_data(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"}
| reactos_modules_rosapps_applications_net_tsclient_rdesktop_extr_rdp.c_rdp_send_fonts |
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_generichash/extr_crypto_generichash.c_crypto_generichash_bytes_max.c'
source_filename = "AnghaBench/libsodium/src/libsodium/crypto_generichash/extr_crypto_generichash.c_crypto_generichash_bytes_max.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"
@crypto_generichash_BYTES_MAX = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i64 @crypto_generichash_bytes_max() local_unnamed_addr #0 {
%1 = load i64, ptr @crypto_generichash_BYTES_MAX, align 8, !tbaa !5
ret i64 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_generichash/extr_crypto_generichash.c_crypto_generichash_bytes_max.c'
source_filename = "AnghaBench/libsodium/src/libsodium/crypto_generichash/extr_crypto_generichash.c_crypto_generichash_bytes_max.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@crypto_generichash_BYTES_MAX = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i64 @crypto_generichash_bytes_max() local_unnamed_addr #0 {
%1 = load i64, ptr @crypto_generichash_BYTES_MAX, align 8, !tbaa !6
ret i64 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| libsodium_src_libsodium_crypto_generichash_extr_crypto_generichash.c_crypto_generichash_bytes_max |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_reset_hw.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_reset_hw.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"
@PCI_REG_COMMAND = dso_local local_unnamed_addr global i32 0, align 4
@CMD_IO_SPACE = dso_local local_unnamed_addr global i32 0, align 4
@CMD_MEMORY_SPACE = dso_local local_unnamed_addr global i32 0, align 4
@CMD_BUS_MASTER = dso_local local_unnamed_addr global i32 0, align 4
@REG_MASTER_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@MASTER_CTRL_SOFT_RST = dso_local local_unnamed_addr global i32 0, align 4
@REG_IDLE_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @atl2_reset_hw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @atl2_reset_hw(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @PCI_REG_COMMAND, align 4, !tbaa !5
%4 = call i32 @atl2_read_pci_cfg(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = load i32, ptr @CMD_IO_SPACE, align 4, !tbaa !5
%7 = load i32, ptr @CMD_MEMORY_SPACE, align 4, !tbaa !5
%8 = or i32 %7, %6
%9 = load i32, ptr @CMD_BUS_MASTER, align 4, !tbaa !5
%10 = or i32 %8, %9
%11 = and i32 %10, %5
%12 = icmp eq i32 %11, %10
br i1 %12, label %17, label %13
13: ; preds = %1
%14 = or i32 %10, %5
store i32 %14, ptr %2, align 4, !tbaa !5
%15 = load i32, ptr @PCI_REG_COMMAND, align 4, !tbaa !5
%16 = call i32 @atl2_write_pci_cfg(ptr noundef %0, i32 noundef %15, ptr noundef nonnull %2) #3
br label %17
17: ; preds = %13, %1
%18 = load i32, ptr @REG_MASTER_CTRL, align 4, !tbaa !5
%19 = load i32, ptr @MASTER_CTRL_SOFT_RST, align 4, !tbaa !5
%20 = call i32 @ATL2_WRITE_REG(ptr noundef %0, i32 noundef %18, i32 noundef %19) #3
%21 = call i32 (...) @wmb() #3
%22 = call i32 @msleep(i32 noundef 1) #3
%23 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%24 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %23) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %83, label %26
26: ; preds = %17
%27 = call i32 @msleep(i32 noundef 1) #3
%28 = call i32 (...) @cpu_relax() #3
%29 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%30 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %29) #3
%31 = icmp eq i64 %30, 0
br i1 %31, label %83, label %32
32: ; preds = %26
%33 = call i32 @msleep(i32 noundef 1) #3
%34 = call i32 (...) @cpu_relax() #3
%35 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%36 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %35) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %83, label %38
38: ; preds = %32
%39 = call i32 @msleep(i32 noundef 1) #3
%40 = call i32 (...) @cpu_relax() #3
%41 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%42 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %41) #3
%43 = icmp eq i64 %42, 0
br i1 %43, label %83, label %44
44: ; preds = %38
%45 = call i32 @msleep(i32 noundef 1) #3
%46 = call i32 (...) @cpu_relax() #3
%47 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%48 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %47) #3
%49 = icmp eq i64 %48, 0
br i1 %49, label %83, label %50
50: ; preds = %44
%51 = call i32 @msleep(i32 noundef 1) #3
%52 = call i32 (...) @cpu_relax() #3
%53 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%54 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %53) #3
%55 = icmp eq i64 %54, 0
br i1 %55, label %83, label %56
56: ; preds = %50
%57 = call i32 @msleep(i32 noundef 1) #3
%58 = call i32 (...) @cpu_relax() #3
%59 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%60 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %59) #3
%61 = icmp eq i64 %60, 0
br i1 %61, label %83, label %62
62: ; preds = %56
%63 = call i32 @msleep(i32 noundef 1) #3
%64 = call i32 (...) @cpu_relax() #3
%65 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%66 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %65) #3
%67 = icmp eq i64 %66, 0
br i1 %67, label %83, label %68
68: ; preds = %62
%69 = call i32 @msleep(i32 noundef 1) #3
%70 = call i32 (...) @cpu_relax() #3
%71 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%72 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %71) #3
%73 = icmp eq i64 %72, 0
br i1 %73, label %83, label %74
74: ; preds = %68
%75 = call i32 @msleep(i32 noundef 1) #3
%76 = call i32 (...) @cpu_relax() #3
%77 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !5
%78 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %77) #3
%79 = icmp eq i64 %78, 0
br i1 %79, label %83, label %80
80: ; preds = %74
%81 = call i32 @msleep(i32 noundef 1) #3
%82 = call i32 (...) @cpu_relax() #3
br label %83
83: ; preds = %80, %74, %68, %62, %56, %50, %44, %38, %32, %26, %17
%84 = phi i64 [ 0, %17 ], [ 0, %26 ], [ 0, %32 ], [ 0, %38 ], [ 0, %44 ], [ 0, %50 ], [ 0, %56 ], [ 0, %62 ], [ 0, %68 ], [ 0, %74 ], [ %78, %80 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i64 %84
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @atl2_read_pci_cfg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atl2_write_pci_cfg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ATL2_WRITE_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wmb(...) local_unnamed_addr #2
declare i32 @msleep(i32 noundef) local_unnamed_addr #2
declare i64 @ATL2_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpu_relax(...) 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"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_reset_hw.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl2.c_atl2_reset_hw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCI_REG_COMMAND = common local_unnamed_addr global i32 0, align 4
@CMD_IO_SPACE = common local_unnamed_addr global i32 0, align 4
@CMD_MEMORY_SPACE = common local_unnamed_addr global i32 0, align 4
@CMD_BUS_MASTER = common local_unnamed_addr global i32 0, align 4
@REG_MASTER_CTRL = common local_unnamed_addr global i32 0, align 4
@MASTER_CTRL_SOFT_RST = common local_unnamed_addr global i32 0, align 4
@REG_IDLE_STATUS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @atl2_reset_hw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @atl2_reset_hw(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = load i32, ptr @PCI_REG_COMMAND, align 4, !tbaa !6
%4 = call i32 @atl2_read_pci_cfg(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2) #3
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = load i32, ptr @CMD_IO_SPACE, align 4, !tbaa !6
%7 = load i32, ptr @CMD_MEMORY_SPACE, align 4, !tbaa !6
%8 = or i32 %7, %6
%9 = load i32, ptr @CMD_BUS_MASTER, align 4, !tbaa !6
%10 = or i32 %8, %9
%11 = and i32 %10, %5
%12 = icmp eq i32 %11, %10
br i1 %12, label %17, label %13
13: ; preds = %1
%14 = or i32 %10, %5
store i32 %14, ptr %2, align 4, !tbaa !6
%15 = load i32, ptr @PCI_REG_COMMAND, align 4, !tbaa !6
%16 = call i32 @atl2_write_pci_cfg(ptr noundef %0, i32 noundef %15, ptr noundef nonnull %2) #3
br label %17
17: ; preds = %13, %1
%18 = load i32, ptr @REG_MASTER_CTRL, align 4, !tbaa !6
%19 = load i32, ptr @MASTER_CTRL_SOFT_RST, align 4, !tbaa !6
%20 = call i32 @ATL2_WRITE_REG(ptr noundef %0, i32 noundef %18, i32 noundef %19) #3
%21 = call i32 @wmb() #3
%22 = call i32 @msleep(i32 noundef 1) #3
%23 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%24 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %23) #3
%25 = icmp eq i64 %24, 0
br i1 %25, label %83, label %26
26: ; preds = %17
%27 = call i32 @msleep(i32 noundef 1) #3
%28 = call i32 @cpu_relax() #3
%29 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%30 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %29) #3
%31 = icmp eq i64 %30, 0
br i1 %31, label %83, label %32
32: ; preds = %26
%33 = call i32 @msleep(i32 noundef 1) #3
%34 = call i32 @cpu_relax() #3
%35 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%36 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %35) #3
%37 = icmp eq i64 %36, 0
br i1 %37, label %83, label %38
38: ; preds = %32
%39 = call i32 @msleep(i32 noundef 1) #3
%40 = call i32 @cpu_relax() #3
%41 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%42 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %41) #3
%43 = icmp eq i64 %42, 0
br i1 %43, label %83, label %44
44: ; preds = %38
%45 = call i32 @msleep(i32 noundef 1) #3
%46 = call i32 @cpu_relax() #3
%47 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%48 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %47) #3
%49 = icmp eq i64 %48, 0
br i1 %49, label %83, label %50
50: ; preds = %44
%51 = call i32 @msleep(i32 noundef 1) #3
%52 = call i32 @cpu_relax() #3
%53 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%54 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %53) #3
%55 = icmp eq i64 %54, 0
br i1 %55, label %83, label %56
56: ; preds = %50
%57 = call i32 @msleep(i32 noundef 1) #3
%58 = call i32 @cpu_relax() #3
%59 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%60 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %59) #3
%61 = icmp eq i64 %60, 0
br i1 %61, label %83, label %62
62: ; preds = %56
%63 = call i32 @msleep(i32 noundef 1) #3
%64 = call i32 @cpu_relax() #3
%65 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%66 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %65) #3
%67 = icmp eq i64 %66, 0
br i1 %67, label %83, label %68
68: ; preds = %62
%69 = call i32 @msleep(i32 noundef 1) #3
%70 = call i32 @cpu_relax() #3
%71 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%72 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %71) #3
%73 = icmp eq i64 %72, 0
br i1 %73, label %83, label %74
74: ; preds = %68
%75 = call i32 @msleep(i32 noundef 1) #3
%76 = call i32 @cpu_relax() #3
%77 = load i32, ptr @REG_IDLE_STATUS, align 4, !tbaa !6
%78 = call i64 @ATL2_READ_REG(ptr noundef %0, i32 noundef %77) #3
%79 = icmp eq i64 %78, 0
br i1 %79, label %83, label %80
80: ; preds = %74
%81 = call i32 @msleep(i32 noundef 1) #3
%82 = call i32 @cpu_relax() #3
br label %83
83: ; preds = %80, %74, %68, %62, %56, %50, %44, %38, %32, %26, %17
%84 = phi i64 [ 0, %17 ], [ 0, %26 ], [ 0, %32 ], [ 0, %38 ], [ 0, %44 ], [ 0, %50 ], [ 0, %56 ], [ 0, %62 ], [ 0, %68 ], [ 0, %74 ], [ %78, %80 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i64 %84
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @atl2_read_pci_cfg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atl2_write_pci_cfg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ATL2_WRITE_REG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @wmb(...) local_unnamed_addr #2
declare i32 @msleep(i32 noundef) local_unnamed_addr #2
declare i64 @ATL2_READ_REG(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cpu_relax(...) 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"}
| linux_drivers_net_ethernet_atheros_atlx_extr_atl2.c_atl2_reset_hw |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_sme.c_cfg80211_sme_disassoc.c'
source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_sme.c_cfg80211_sme_disassoc.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.wireless_dev = type { ptr, i32 }
@ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4
@CFG80211_CONN_IDLE = dso_local local_unnamed_addr global i64 0, align 8
@WLAN_REASON_DEAUTH_LEAVING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @cfg80211_sme_disassoc(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.wireless_dev, ptr %3, i64 0, i32 1
%5 = load i32, ptr %4, align 8, !tbaa !10
%6 = tail call ptr @wiphy_to_dev(i32 noundef %5) #2
%7 = load i32, ptr @ETH_ALEN, align 4, !tbaa !13
%8 = zext i32 %7 to i64
%9 = alloca i32, i64 %8, align 16
%10 = tail call i32 @ASSERT_WDEV_LOCK(ptr noundef %3) #2
%11 = load ptr, ptr %3, align 8, !tbaa !14
%12 = icmp eq ptr %11, null
br i1 %12, label %23, label %13
13: ; preds = %2
%14 = load i64, ptr %11, align 8, !tbaa !15
%15 = load i64, ptr @CFG80211_CONN_IDLE, align 8, !tbaa !18
%16 = icmp eq i64 %14, %15
br i1 %16, label %23, label %17
17: ; preds = %13
%18 = load i32, ptr %1, align 4, !tbaa !19
%19 = load i32, ptr @ETH_ALEN, align 4, !tbaa !13
%20 = call i32 @memcpy(ptr noundef nonnull %9, i32 noundef %18, i32 noundef %19) #2
%21 = load i32, ptr @WLAN_REASON_DEAUTH_LEAVING, align 4, !tbaa !13
%22 = call i32 @__cfg80211_mlme_deauth(ptr noundef %6, ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef null, i32 noundef 0, i32 noundef %21, i32 noundef 0) #2
br label %23
23: ; preds = %13, %2, %17
ret void
}
declare ptr @wiphy_to_dev(i32 noundef) local_unnamed_addr #1
declare i32 @ASSERT_WDEV_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__cfg80211_mlme_deauth(ptr noundef, ptr noundef, ptr noundef, ptr 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 = !{!"net_device", !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 = !{!"wireless_dev", !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 = !{!17, !17, i64 0}
!19 = !{!20, !12, i64 0}
!20 = !{!"cfg80211_internal_bss", !21, i64 0}
!21 = !{!"TYPE_4__", !12, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/wireless/extr_sme.c_cfg80211_sme_disassoc.c'
source_filename = "AnghaBench/fastsocket/kernel/net/wireless/extr_sme.c_cfg80211_sme_disassoc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETH_ALEN = common local_unnamed_addr global i32 0, align 4
@CFG80211_CONN_IDLE = common local_unnamed_addr global i64 0, align 8
@WLAN_REASON_DEAUTH_LEAVING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @cfg80211_sme_disassoc(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load i32, ptr %4, align 8, !tbaa !11
%6 = tail call ptr @wiphy_to_dev(i32 noundef %5) #2
%7 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14
%8 = zext i32 %7 to i64
%9 = alloca i32, i64 %8, align 4
%10 = tail call i32 @ASSERT_WDEV_LOCK(ptr noundef %3) #2
%11 = load ptr, ptr %3, align 8, !tbaa !15
%12 = icmp eq ptr %11, null
br i1 %12, label %23, label %13
13: ; preds = %2
%14 = load i64, ptr %11, align 8, !tbaa !16
%15 = load i64, ptr @CFG80211_CONN_IDLE, align 8, !tbaa !19
%16 = icmp eq i64 %14, %15
br i1 %16, label %23, label %17
17: ; preds = %13
%18 = load i32, ptr %1, align 4, !tbaa !20
%19 = load i32, ptr @ETH_ALEN, align 4, !tbaa !14
%20 = call i32 @memcpy(ptr noundef nonnull %9, i32 noundef %18, i32 noundef %19) #2
%21 = load i32, ptr @WLAN_REASON_DEAUTH_LEAVING, align 4, !tbaa !14
%22 = call i32 @__cfg80211_mlme_deauth(ptr noundef %6, ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef null, i32 noundef 0, i32 noundef %21, i32 noundef 0) #2
br label %23
23: ; preds = %13, %2, %17
ret void
}
declare ptr @wiphy_to_dev(i32 noundef) local_unnamed_addr #1
declare i32 @ASSERT_WDEV_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__cfg80211_mlme_deauth(ptr noundef, ptr noundef, ptr noundef, ptr 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 = !{!"net_device", !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 = !{!"wireless_dev", !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 = !{!18, !18, i64 0}
!20 = !{!21, !13, i64 0}
!21 = !{!"cfg80211_internal_bss", !22, i64 0}
!22 = !{!"TYPE_4__", !13, i64 0}
| fastsocket_kernel_net_wireless_extr_sme.c_cfg80211_sme_disassoc |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/extr_ixp4xx_hss.c_hss_hdlc_attach.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/extr_ixp4xx_hss.c_hss_hdlc_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"
@ENCODING_NRZ = dso_local local_unnamed_addr global i16 0, align 2
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@PKT_HDLC_CRC_32 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hss_hdlc_attach], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hss_hdlc_attach(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 {
%4 = tail call ptr @dev_to_port(ptr noundef %0) #2
%5 = load i16, ptr @ENCODING_NRZ, align 2, !tbaa !5
%6 = icmp eq i16 %5, %1
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i32, ptr @EINVAL, align 4, !tbaa !9
%9 = sub nsw i32 0, %8
br label %17
10: ; preds = %3
switch i16 %2, label %14 [
i16 129, label %11
i16 128, label %12
]
11: ; preds = %10
store i32 0, ptr %4, align 4, !tbaa !11
br label %17
12: ; preds = %10
%13 = load i32, ptr @PKT_HDLC_CRC_32, align 4, !tbaa !9
store i32 %13, ptr %4, align 4, !tbaa !11
br label %17
14: ; preds = %10
%15 = load i32, ptr @EINVAL, align 4, !tbaa !9
%16 = sub nsw i32 0, %15
br label %17
17: ; preds = %14, %12, %11, %7
%18 = phi i32 [ %9, %7 ], [ %16, %14 ], [ 0, %12 ], [ 0, %11 ]
ret i32 %18
}
declare ptr @dev_to_port(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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"port", !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/extr_ixp4xx_hss.c_hss_hdlc_attach.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/extr_ixp4xx_hss.c_hss_hdlc_attach.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENCODING_NRZ = common local_unnamed_addr global i16 0, align 2
@EINVAL = common local_unnamed_addr global i32 0, align 4
@PKT_HDLC_CRC_32 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hss_hdlc_attach], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @hss_hdlc_attach(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2) #0 {
%4 = tail call ptr @dev_to_port(ptr noundef %0) #2
%5 = load i16, ptr @ENCODING_NRZ, align 2, !tbaa !6
%6 = icmp eq i16 %5, %1
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i32, ptr @EINVAL, align 4, !tbaa !10
%9 = sub nsw i32 0, %8
br label %17
10: ; preds = %3
switch i16 %2, label %14 [
i16 129, label %11
i16 128, label %12
]
11: ; preds = %10
store i32 0, ptr %4, align 4, !tbaa !12
br label %17
12: ; preds = %10
%13 = load i32, ptr @PKT_HDLC_CRC_32, align 4, !tbaa !10
store i32 %13, ptr %4, align 4, !tbaa !12
br label %17
14: ; preds = %10
%15 = load i32, ptr @EINVAL, align 4, !tbaa !10
%16 = sub nsw i32 0, %15
br label %17
17: ; preds = %14, %12, %11, %7
%18 = phi i32 [ %9, %7 ], [ %16, %14 ], [ 0, %12 ], [ 0, %11 ]
ret i32 %18
}
declare ptr @dev_to_port(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 = !{!"short", !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 = !{!"port", !11, i64 0}
| fastsocket_kernel_drivers_net_wan_extr_ixp4xx_hss.c_hss_hdlc_attach |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_atapi_transform.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_atapi_transform.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.umass_softc = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr, i32 }
@UDMASS_SCSI = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Invalid command length: %d bytes\0A\00", align 1
@ATAPI_COMMAND_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@FORCE_SHORT_INQUIRY = dso_local local_unnamed_addr global i32 0, align 4
@SHORT_INQUIRY_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@NO_TEST_UNIT_READY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Converted TEST_UNIT_READY to START_UNIT\0A\00", align 1
@SSS_START = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [50 x i8] c"Unsupported ATAPI command 0x%02x - trying anyway\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @umass_atapi_transform], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @umass_atapi_transform(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = add i32 %2, -9
%5 = icmp ult i32 %4, -8
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @UDMASS_SCSI, align 4, !tbaa !5
%8 = tail call i32 (ptr, i32, ptr, ...) @DPRINTF(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %44
9: ; preds = %3
%10 = load i32, ptr @ATAPI_COMMAND_LENGTH, align 4, !tbaa !5
%11 = getelementptr inbounds %struct.umass_softc, ptr %0, i64 0, i32 1
%12 = getelementptr inbounds %struct.umass_softc, ptr %0, i64 0, i32 1, i32 1
store i32 %10, ptr %12, align 8, !tbaa !9
%13 = load ptr, ptr %11, align 8, !tbaa !13
%14 = tail call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %10) #2
%15 = load i32, ptr %1, align 4, !tbaa !5
switch i32 %15, label %38 [
i32 144, label %16
i32 130, label %27
i32 134, label %41
i32 135, label %41
i32 132, label %41
i32 133, label %41
i32 140, label %41
i32 136, label %41
i32 139, label %41
i32 129, label %41
i32 141, label %41
i32 131, label %41
i32 143, label %41
i32 142, label %41
i32 137, label %41
i32 66, label %41
i32 67, label %41
i32 68, label %41
i32 71, label %41
i32 72, label %41
i32 73, label %41
i32 75, label %41
i32 81, label %41
i32 82, label %41
i32 84, label %41
i32 89, label %41
i32 91, label %41
i32 92, label %41
i32 93, label %41
i32 161, label %41
i32 165, label %41
i32 166, label %41
i32 173, label %41
i32 187, label %41
i32 229, label %41
]
16: ; preds = %9
%17 = load i32, ptr %0, align 8, !tbaa !14
%18 = load i32, ptr @FORCE_SHORT_INQUIRY, align 4, !tbaa !5
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %41, label %21
21: ; preds = %16
%22 = load ptr, ptr %11, align 8, !tbaa !13
%23 = tail call i32 @memcpy(ptr noundef %22, ptr noundef nonnull %1, i32 noundef %2) #2
%24 = load i32, ptr @SHORT_INQUIRY_LENGTH, align 4, !tbaa !5
%25 = load ptr, ptr %11, align 8, !tbaa !13
%26 = getelementptr inbounds i32, ptr %25, i64 4
store i32 %24, ptr %26, align 4, !tbaa !5
br label %44
27: ; preds = %9
%28 = load i32, ptr %0, align 8, !tbaa !14
%29 = load i32, ptr @NO_TEST_UNIT_READY, align 4, !tbaa !5
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
br i1 %31, label %41, label %32
32: ; preds = %27
%33 = load i32, ptr @UDMASS_SCSI, align 4, !tbaa !5
%34 = tail call i32 (ptr, i32, ptr, ...) @DPRINTF(ptr noundef nonnull %0, i32 noundef %33, ptr noundef nonnull @.str.1) #2
%35 = load ptr, ptr %11, align 8, !tbaa !13
store i32 132, ptr %35, align 4, !tbaa !5
%36 = load i32, ptr @SSS_START, align 4, !tbaa !5
%37 = getelementptr inbounds i32, ptr %35, i64 4
store i32 %36, ptr %37, align 4, !tbaa !5
br label %44
38: ; preds = %9
%39 = load i32, ptr @UDMASS_SCSI, align 4, !tbaa !5
%40 = tail call i32 (ptr, i32, ptr, ...) @DPRINTF(ptr noundef nonnull %0, i32 noundef %39, ptr noundef nonnull @.str.2, i32 noundef %15) #2
br label %41
41: ; preds = %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %27, %16, %38
%42 = load ptr, ptr %11, align 8, !tbaa !13
%43 = tail call i32 @memcpy(ptr noundef %42, ptr noundef nonnull %1, i32 noundef %2) #2
br label %44
44: ; preds = %41, %32, %21, %6
%45 = phi i32 [ 0, %6 ], [ 1, %41 ], [ 1, %32 ], [ 1, %21 ]
ret i32 %45
}
declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
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, !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 = !{!"umass_softc", !6, i64 0, !11, i64 8}
!11 = !{!"TYPE_2__", !12, i64 0, !6, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_atapi_transform.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/storage/extr_umass.c_umass_atapi_transform.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UDMASS_SCSI = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Invalid command length: %d bytes\0A\00", align 1
@ATAPI_COMMAND_LENGTH = common local_unnamed_addr global i32 0, align 4
@FORCE_SHORT_INQUIRY = common local_unnamed_addr global i32 0, align 4
@SHORT_INQUIRY_LENGTH = common local_unnamed_addr global i32 0, align 4
@NO_TEST_UNIT_READY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Converted TEST_UNIT_READY to START_UNIT\0A\00", align 1
@SSS_START = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [50 x i8] c"Unsupported ATAPI command 0x%02x - trying anyway\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @umass_atapi_transform], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @umass_atapi_transform(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = add i32 %2, -9
%5 = icmp ult i32 %4, -8
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @UDMASS_SCSI, align 4, !tbaa !6
%8 = tail call i32 (ptr, i32, ptr, ...) @DPRINTF(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %2) #2
br label %44
9: ; preds = %3
%10 = load i32, ptr @ATAPI_COMMAND_LENGTH, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %10, ptr %12, align 8, !tbaa !10
%13 = load ptr, ptr %11, align 8, !tbaa !14
%14 = tail call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %10) #2
%15 = load i32, ptr %1, align 4, !tbaa !6
switch i32 %15, label %38 [
i32 144, label %16
i32 130, label %27
i32 134, label %41
i32 135, label %41
i32 132, label %41
i32 133, label %41
i32 140, label %41
i32 136, label %41
i32 139, label %41
i32 129, label %41
i32 141, label %41
i32 131, label %41
i32 143, label %41
i32 142, label %41
i32 137, label %41
i32 66, label %41
i32 67, label %41
i32 68, label %41
i32 71, label %41
i32 72, label %41
i32 73, label %41
i32 75, label %41
i32 81, label %41
i32 82, label %41
i32 84, label %41
i32 89, label %41
i32 91, label %41
i32 92, label %41
i32 93, label %41
i32 161, label %41
i32 165, label %41
i32 166, label %41
i32 173, label %41
i32 187, label %41
i32 229, label %41
]
16: ; preds = %9
%17 = load i32, ptr %0, align 8, !tbaa !15
%18 = load i32, ptr @FORCE_SHORT_INQUIRY, align 4, !tbaa !6
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %41, label %21
21: ; preds = %16
%22 = load ptr, ptr %11, align 8, !tbaa !14
%23 = tail call i32 @memcpy(ptr noundef %22, ptr noundef nonnull %1, i32 noundef %2) #2
%24 = load i32, ptr @SHORT_INQUIRY_LENGTH, align 4, !tbaa !6
%25 = load ptr, ptr %11, align 8, !tbaa !14
%26 = getelementptr inbounds i8, ptr %25, i64 16
store i32 %24, ptr %26, align 4, !tbaa !6
br label %44
27: ; preds = %9
%28 = load i32, ptr %0, align 8, !tbaa !15
%29 = load i32, ptr @NO_TEST_UNIT_READY, align 4, !tbaa !6
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
br i1 %31, label %41, label %32
32: ; preds = %27
%33 = load i32, ptr @UDMASS_SCSI, align 4, !tbaa !6
%34 = tail call i32 (ptr, i32, ptr, ...) @DPRINTF(ptr noundef nonnull %0, i32 noundef %33, ptr noundef nonnull @.str.1) #2
%35 = load ptr, ptr %11, align 8, !tbaa !14
store i32 132, ptr %35, align 4, !tbaa !6
%36 = load i32, ptr @SSS_START, align 4, !tbaa !6
%37 = getelementptr inbounds i8, ptr %35, i64 16
store i32 %36, ptr %37, align 4, !tbaa !6
br label %44
38: ; preds = %9
%39 = load i32, ptr @UDMASS_SCSI, align 4, !tbaa !6
%40 = tail call i32 (ptr, i32, ptr, ...) @DPRINTF(ptr noundef nonnull %0, i32 noundef %39, ptr noundef nonnull @.str.2, i32 noundef %15) #2
br label %41
41: ; preds = %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %9, %27, %16, %38
%42 = load ptr, ptr %11, align 8, !tbaa !14
%43 = tail call i32 @memcpy(ptr noundef %42, ptr noundef nonnull %1, i32 noundef %2) #2
br label %44
44: ; preds = %41, %32, %21, %6
%45 = phi i32 [ 0, %6 ], [ 1, %41 ], [ 1, %32 ], [ 1, %21 ]
ret i32 %45
}
declare i32 @DPRINTF(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1
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, !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 = !{!"umass_softc", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0, !7, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 8}
!15 = !{!11, !7, i64 0}
| freebsd_sys_dev_usb_storage_extr_umass.c_umass_atapi_transform |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7473.c_show_fan_min.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7473.c_show_fan_min.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"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @show_fan_min], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @show_fan_min(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #4
%5 = tail call ptr @adt7473_update_device(ptr noundef %0) #4
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i64, ptr %4, align 8, !tbaa !10
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = tail call i64 @FAN_DATA_VALID(i32 noundef %9) #4
%11 = icmp eq i64 %10, 0
br i1 %11, label %19, label %12
12: ; preds = %3
%13 = load ptr, ptr %5, align 8, !tbaa !5
%14 = load i64, ptr %4, align 8, !tbaa !10
%15 = getelementptr inbounds i32, ptr %13, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = tail call i32 @FAN_PERIOD_TO_RPM(i32 noundef %16) #4
%18 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %17)
br label %20
19: ; preds = %3
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %2, ptr noundef nonnull align 1 dereferenceable(3) @.str.1, i64 3, i1 false)
br label %20
20: ; preds = %19, %12
%21 = phi i32 [ %18, %12 ], [ 2, %19 ]
ret i32 %21
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @adt7473_update_device(ptr noundef) local_unnamed_addr #1
declare i64 @FAN_DATA_VALID(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @FAN_PERIOD_TO_RPM(i32 noundef) local_unnamed_addr #1
; Function Attrs: 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) #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"adt7473_data", !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 = !{!"sensor_device_attribute", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7473.c_show_fan_min.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_adt7473.c_show_fan_min.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"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @show_fan_min], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @show_fan_min(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #4
%5 = tail call ptr @adt7473_update_device(ptr noundef %0) #4
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i64, ptr %4, align 8, !tbaa !11
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = tail call i64 @FAN_DATA_VALID(i32 noundef %9) #4
%11 = icmp eq i64 %10, 0
br i1 %11, label %19, label %12
12: ; preds = %3
%13 = load ptr, ptr %5, align 8, !tbaa !6
%14 = load i64, ptr %4, align 8, !tbaa !11
%15 = getelementptr inbounds i32, ptr %13, i64 %14
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @FAN_PERIOD_TO_RPM(i32 noundef %16) #4
%18 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %17)
br label %20
19: ; preds = %3
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %2, ptr noundef nonnull align 1 dereferenceable(3) @.str.1, i64 3, i1 false)
br label %20
20: ; preds = %19, %12
%21 = phi i32 [ %18, %12 ], [ 2, %19 ]
ret i32 %21
}
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1
declare ptr @adt7473_update_device(ptr noundef) local_unnamed_addr #1
declare i64 @FAN_DATA_VALID(i32 noundef) local_unnamed_addr #1
; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2
declare i32 @FAN_PERIOD_TO_RPM(i32 noundef) local_unnamed_addr #1
; Function Attrs: 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) #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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"adt7473_data", !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 = !{!"sensor_device_attribute", !13, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_hwmon_extr_adt7473.c_show_fan_min |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/gdi32/extr_dc.c_dump_region.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/gdi32/extr_dc.c_dump_region.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 { %struct.TYPE_7__, i64 }
%struct.TYPE_7__ = type { i32 }
%struct.TYPE_9__ = type { i32, i32, i32, i32 }
@.str.1 = private unnamed_addr constant [10 x i8] c"%d rects:\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c" (%d,%d)-(%d,%d)\00", align 1
@str = private unnamed_addr constant [14 x i8] c"(null) region\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @dump_region], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dump_region(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 0
br i1 %2, label %3, label %5
3: ; preds = %1
%4 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
br label %42
5: ; preds = %1
%6 = tail call i64 @GetRegionData(i32 noundef %0, i64 noundef 0, ptr noundef null) #4
%7 = icmp eq i64 %6, 0
br i1 %7, label %42, label %8
8: ; preds = %5
%9 = tail call i32 (...) @GetProcessHeap() #4
%10 = tail call ptr @HeapAlloc(i32 noundef %9, i32 noundef 0, i64 noundef %6) #4
%11 = icmp eq ptr %10, null
br i1 %11, label %42, label %12
12: ; preds = %8
%13 = tail call i64 @GetRegionData(i32 noundef %0, i64 noundef %6, ptr noundef nonnull %10) #4
%14 = load i32, ptr %10, align 8, !tbaa !5
%15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %14)
%16 = load i32, ptr %10, align 8, !tbaa !5
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %38
18: ; preds = %12
%19 = getelementptr inbounds %struct.TYPE_8__, ptr %10, i64 0, i32 1
%20 = load i64, ptr %19, align 8, !tbaa !12
%21 = inttoptr i64 %20 to ptr
br label %22
22: ; preds = %18, %22
%23 = phi ptr [ %34, %22 ], [ %21, %18 ]
%24 = phi i64 [ %33, %22 ], [ 0, %18 ]
%25 = load i32, ptr %23, align 4, !tbaa !13
%26 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !15
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 2
%29 = load i32, ptr %28, align 4, !tbaa !16
%30 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 0, i32 3
%31 = load i32, ptr %30, align 4, !tbaa !17
%32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %25, i32 noundef %27, i32 noundef %29, i32 noundef %31)
%33 = add nuw nsw i64 %24, 1
%34 = getelementptr inbounds %struct.TYPE_9__, ptr %23, i64 1
%35 = load i32, ptr %10, align 8, !tbaa !5
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %33, %36
br i1 %37, label %22, label %38, !llvm.loop !18
38: ; preds = %22, %12
%39 = tail call i32 @putchar(i32 10)
%40 = tail call i32 (...) @GetProcessHeap() #4
%41 = tail call i32 @HeapFree(i32 noundef %40, i32 noundef 0, ptr noundef nonnull %10) #4
br label %42
42: ; preds = %8, %5, %38, %3
ret void
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
declare i64 @GetRegionData(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @HeapAlloc(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @GetProcessHeap(...) local_unnamed_addr #2
declare i32 @HeapFree(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-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 = { nofree nounwind }
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, !8, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0, !11, i64 8}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!6, !11, i64 8}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!15 = !{!14, !8, i64 4}
!16 = !{!14, !8, i64 8}
!17 = !{!14, !8, i64 12}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/gdi32/extr_dc.c_dump_region.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/gdi32/extr_dc.c_dump_region.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str.1 = private unnamed_addr constant [10 x i8] c"%d rects:\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c" (%d,%d)-(%d,%d)\00", align 1
@str = private unnamed_addr constant [14 x i8] c"(null) region\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @dump_region], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dump_region(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, 0
br i1 %2, label %3, label %5
3: ; preds = %1
%4 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
br label %42
5: ; preds = %1
%6 = tail call i64 @GetRegionData(i32 noundef %0, i64 noundef 0, ptr noundef null) #4
%7 = icmp eq i64 %6, 0
br i1 %7, label %42, label %8
8: ; preds = %5
%9 = tail call i32 @GetProcessHeap() #4
%10 = tail call ptr @HeapAlloc(i32 noundef %9, i32 noundef 0, i64 noundef %6) #4
%11 = icmp eq ptr %10, null
br i1 %11, label %42, label %12
12: ; preds = %8
%13 = tail call i64 @GetRegionData(i32 noundef %0, i64 noundef %6, ptr noundef nonnull %10) #4
%14 = load i32, ptr %10, align 8, !tbaa !6
%15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %14)
%16 = load i32, ptr %10, align 8, !tbaa !6
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %38
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %10, i64 8
%20 = load i64, ptr %19, align 8, !tbaa !13
%21 = inttoptr i64 %20 to ptr
br label %22
22: ; preds = %18, %22
%23 = phi ptr [ %34, %22 ], [ %21, %18 ]
%24 = phi i64 [ %33, %22 ], [ 0, %18 ]
%25 = load i32, ptr %23, align 4, !tbaa !14
%26 = getelementptr inbounds i8, ptr %23, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !16
%28 = getelementptr inbounds i8, ptr %23, i64 8
%29 = load i32, ptr %28, align 4, !tbaa !17
%30 = getelementptr inbounds i8, ptr %23, i64 12
%31 = load i32, ptr %30, align 4, !tbaa !18
%32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %25, i32 noundef %27, i32 noundef %29, i32 noundef %31)
%33 = add nuw nsw i64 %24, 1
%34 = getelementptr inbounds i8, ptr %23, i64 16
%35 = load i32, ptr %10, align 8, !tbaa !6
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %33, %36
br i1 %37, label %22, label %38, !llvm.loop !19
38: ; preds = %22, %12
%39 = tail call i32 @putchar(i32 10)
%40 = tail call i32 @GetProcessHeap() #4
%41 = tail call i32 @HeapFree(i32 noundef %40, i32 noundef 0, ptr noundef nonnull %10) #4
br label %42
42: ; preds = %8, %5, %38, %3
ret void
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
declare i64 @GetRegionData(i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @HeapAlloc(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @GetProcessHeap(...) local_unnamed_addr #2
declare i32 @HeapFree(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { nofree nounwind }
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, !9, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0, !12, i64 8}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!7, !12, i64 8}
!14 = !{!15, !9, i64 0}
!15 = !{!"TYPE_9__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!16 = !{!15, !9, i64 4}
!17 = !{!15, !9, i64 8}
!18 = !{!15, !9, i64 12}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
| reactos_modules_rostests_winetests_gdi32_extr_dc.c_dump_region |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_do_remove_driverfs_files.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_do_remove_driverfs_files.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"
@sdebug_driverfs_driver = dso_local global i32 0, align 4
@driver_attr_map = dso_local global i32 0, align 4
@driver_attr_ato = dso_local global i32 0, align 4
@driver_attr_guard = dso_local global i32 0, align 4
@driver_attr_dif = dso_local global i32 0, align 4
@driver_attr_dix = dso_local global i32 0, align 4
@driver_attr_sector_size = dso_local global i32 0, align 4
@driver_attr_vpd_use_hostno = dso_local global i32 0, align 4
@driver_attr_virtual_gb = dso_local global i32 0, align 4
@driver_attr_scsi_level = dso_local global i32 0, align 4
@driver_attr_opts = dso_local global i32 0, align 4
@driver_attr_ptype = dso_local global i32 0, align 4
@driver_attr_num_tgts = dso_local global i32 0, align 4
@driver_attr_num_parts = dso_local global i32 0, align 4
@driver_attr_no_uld = dso_local global i32 0, align 4
@driver_attr_no_lun_0 = dso_local global i32 0, align 4
@driver_attr_max_queue = dso_local global i32 0, align 4
@driver_attr_max_luns = dso_local global i32 0, align 4
@driver_attr_fake_rw = dso_local global i32 0, align 4
@driver_attr_every_nth = dso_local global i32 0, align 4
@driver_attr_dsense = dso_local global i32 0, align 4
@driver_attr_dev_size_mb = dso_local global i32 0, align 4
@driver_attr_delay = dso_local global i32 0, align 4
@driver_attr_add_host = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_remove_driverfs_files], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @do_remove_driverfs_files() #0 {
%1 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_map) #2
%2 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_ato) #2
%3 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_guard) #2
%4 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_dif) #2
%5 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_dix) #2
%6 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_sector_size) #2
%7 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_vpd_use_hostno) #2
%8 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_virtual_gb) #2
%9 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_scsi_level) #2
%10 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_opts) #2
%11 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_ptype) #2
%12 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_num_tgts) #2
%13 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_num_parts) #2
%14 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_no_uld) #2
%15 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_no_lun_0) #2
%16 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_max_queue) #2
%17 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_max_luns) #2
%18 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_fake_rw) #2
%19 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_every_nth) #2
%20 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_dsense) #2
%21 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_dev_size_mb) #2
%22 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_delay) #2
%23 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_add_host) #2
ret void
}
declare i32 @driver_remove_file(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/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_do_remove_driverfs_files.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_debug.c_do_remove_driverfs_files.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sdebug_driverfs_driver = common global i32 0, align 4
@driver_attr_map = common global i32 0, align 4
@driver_attr_ato = common global i32 0, align 4
@driver_attr_guard = common global i32 0, align 4
@driver_attr_dif = common global i32 0, align 4
@driver_attr_dix = common global i32 0, align 4
@driver_attr_sector_size = common global i32 0, align 4
@driver_attr_vpd_use_hostno = common global i32 0, align 4
@driver_attr_virtual_gb = common global i32 0, align 4
@driver_attr_scsi_level = common global i32 0, align 4
@driver_attr_opts = common global i32 0, align 4
@driver_attr_ptype = common global i32 0, align 4
@driver_attr_num_tgts = common global i32 0, align 4
@driver_attr_num_parts = common global i32 0, align 4
@driver_attr_no_uld = common global i32 0, align 4
@driver_attr_no_lun_0 = common global i32 0, align 4
@driver_attr_max_queue = common global i32 0, align 4
@driver_attr_max_luns = common global i32 0, align 4
@driver_attr_fake_rw = common global i32 0, align 4
@driver_attr_every_nth = common global i32 0, align 4
@driver_attr_dsense = common global i32 0, align 4
@driver_attr_dev_size_mb = common global i32 0, align 4
@driver_attr_delay = common global i32 0, align 4
@driver_attr_add_host = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @do_remove_driverfs_files], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @do_remove_driverfs_files() #0 {
%1 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_map) #2
%2 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_ato) #2
%3 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_guard) #2
%4 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_dif) #2
%5 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_dix) #2
%6 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_sector_size) #2
%7 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_vpd_use_hostno) #2
%8 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_virtual_gb) #2
%9 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_scsi_level) #2
%10 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_opts) #2
%11 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_ptype) #2
%12 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_num_tgts) #2
%13 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_num_parts) #2
%14 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_no_uld) #2
%15 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_no_lun_0) #2
%16 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_max_queue) #2
%17 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_max_luns) #2
%18 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_fake_rw) #2
%19 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_every_nth) #2
%20 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_dsense) #2
%21 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_dev_size_mb) #2
%22 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_delay) #2
%23 = tail call i32 @driver_remove_file(ptr noundef nonnull @sdebug_driverfs_driver, ptr noundef nonnull @driver_attr_add_host) #2
ret void
}
declare i32 @driver_remove_file(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)"}
| fastsocket_kernel_drivers_scsi_extr_scsi_debug.c_do_remove_driverfs_files |
; ModuleID = 'AnghaBench/linux/drivers/input/rmi4/extr_rmi_f34.c_rmi_driver_update_fw_status_show.c'
source_filename = "AnghaBench/linux/drivers/input/rmi4/extr_rmi_f34.c_rmi_driver_update_fw_status_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rmi_driver_update_fw_status_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rmi_driver_update_fw_status_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @rmi_f34_status(i64 noundef %5) #2
br label %9
9: ; preds = %7, %3
%10 = phi i32 [ %8, %7 ], [ 0, %3 ]
%11 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !10
%12 = tail call i32 @scnprintf(ptr noundef %2, i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %10) #2
ret i32 %12
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @rmi_f34_status(i64 noundef) local_unnamed_addr #1
declare i32 @scnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"rmi_driver_data", !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}
| ; ModuleID = 'AnghaBench/linux/drivers/input/rmi4/extr_rmi_f34.c_rmi_driver_update_fw_status_show.c'
source_filename = "AnghaBench/linux/drivers/input/rmi4/extr_rmi_f34.c_rmi_driver_update_fw_status_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rmi_driver_update_fw_status_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rmi_driver_update_fw_status_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %3
%8 = tail call i32 @rmi_f34_status(i64 noundef %5) #2
br label %9
9: ; preds = %7, %3
%10 = phi i32 [ %8, %7 ], [ 0, %3 ]
%11 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11
%12 = tail call i32 @scnprintf(ptr noundef %2, i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %10) #2
ret i32 %12
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @rmi_f34_status(i64 noundef) local_unnamed_addr #1
declare i32 @scnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"rmi_driver_data", !8, i64 0}
!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}
| linux_drivers_input_rmi4_extr_rmi_f34.c_rmi_driver_update_fw_status_show |
; ModuleID = 'AnghaBench/systemd/src/core/extr_dbus-service.c_bus_service_commit_properties.c'
source_filename = "AnghaBench/systemd/src/core/extr_dbus-service.c_bus_service_commit_properties.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 noundef i32 @bus_service_commit_properties(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = tail call i32 @unit_invalidate_cgroup_members_masks(ptr noundef %0) #2
%4 = tail call i32 @unit_realize_cgroup(ptr noundef %0) #2
ret i32 0
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @unit_invalidate_cgroup_members_masks(ptr noundef) local_unnamed_addr #1
declare i32 @unit_realize_cgroup(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/systemd/src/core/extr_dbus-service.c_bus_service_commit_properties.c'
source_filename = "AnghaBench/systemd/src/core/extr_dbus-service.c_bus_service_commit_properties.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 noundef i32 @bus_service_commit_properties(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @assert(ptr noundef %0) #2
%3 = tail call i32 @unit_invalidate_cgroup_members_masks(ptr noundef %0) #2
%4 = tail call i32 @unit_realize_cgroup(ptr noundef %0) #2
ret i32 0
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @unit_invalidate_cgroup_members_masks(ptr noundef) local_unnamed_addr #1
declare i32 @unit_realize_cgroup(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)"}
| systemd_src_core_extr_dbus-service.c_bus_service_commit_properties |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.