IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_utilcirclebuf.h_circlebuf_pop_back.c' source_filename = "AnghaBench/obs-studio/libobs/extr_utilcirclebuf.h_circlebuf_pop_back.c" target datalayout = "e-m:e-p270:32:32-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.circlebuf = type { i64, i64, i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @circlebuf_pop_back], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @circlebuf_pop_back(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @circlebuf_peek_back(ptr noundef %0, ptr noundef %1, i64 noundef %2) #3 %5 = getelementptr inbounds %struct.circlebuf, ptr %0, i64 0, i32 3 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = sub i64 %6, %2 store i64 %7, ptr %5, align 8, !tbaa !5 %8 = icmp eq i64 %6, %2 %9 = getelementptr inbounds %struct.circlebuf, ptr %0, i64 0, i32 1 br i1 %8, label %10, label %11 10: ; preds = %3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %21 11: ; preds = %3 %12 = load i64, ptr %9, align 8, !tbaa !10 %13 = icmp ugt i64 %12, %2 br i1 %13, label %19, label %14 14: ; preds = %11 %15 = getelementptr inbounds %struct.circlebuf, ptr %0, i64 0, i32 2 %16 = load i64, ptr %15, align 8, !tbaa !11 %17 = sub i64 %12, %2 %18 = add i64 %17, %16 store i64 %18, ptr %9, align 8, !tbaa !10 br label %21 19: ; preds = %11 %20 = sub i64 %12, %2 store i64 %20, ptr %9, align 8, !tbaa !10 br label %21 21: ; preds = %10, %19, %14 ret void } declare i32 @circlebuf_peek_back(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"circlebuf", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_utilcirclebuf.h_circlebuf_pop_back.c' source_filename = "AnghaBench/obs-studio/libobs/extr_utilcirclebuf.h_circlebuf_pop_back.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 @circlebuf_pop_back], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @circlebuf_pop_back(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @circlebuf_peek_back(ptr noundef %0, ptr noundef %1, i64 noundef %2) #3 %5 = getelementptr inbounds i8, ptr %0, i64 24 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = sub i64 %6, %2 store i64 %7, ptr %5, align 8, !tbaa !6 %8 = icmp eq i64 %6, %2 %9 = getelementptr inbounds i8, ptr %0, i64 8 br i1 %8, label %10, label %11 10: ; preds = %3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %21 11: ; preds = %3 %12 = load i64, ptr %9, align 8, !tbaa !11 %13 = icmp ugt i64 %12, %2 br i1 %13, label %19, label %14 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = load i64, ptr %15, align 8, !tbaa !12 %17 = sub i64 %12, %2 %18 = add i64 %17, %16 store i64 %18, ptr %9, align 8, !tbaa !11 br label %21 19: ; preds = %11 %20 = sub i64 %12, %2 store i64 %20, ptr %9, align 8, !tbaa !11 br label %21 21: ; preds = %10, %19, %14 ret void } declare i32 @circlebuf_peek_back(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"circlebuf", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 16}
obs-studio_libobs_extr_utilcirclebuf.h_circlebuf_pop_back
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_23171.c_platform_list.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_23171.c_platform_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr } @target = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [14 x i8] c"[*] %u\09: %s.\0A\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local void @platform_list() local_unnamed_addr #0 { %1 = load ptr, ptr @target, align 8, !tbaa !5 %2 = load ptr, ptr %1, align 8, !tbaa !9 %3 = icmp eq ptr %2, null br i1 %3, label %14, label %4 4: ; preds = %0, %4 %5 = phi ptr [ %12, %4 ], [ %2, %0 ] %6 = phi i32 [ %8, %4 ], [ 0, %0 ] %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %6, ptr noundef nonnull %5) %8 = add i32 %6, 1 %9 = load ptr, ptr @target, align 8, !tbaa !5 %10 = zext i32 %8 to i64 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %10 %12 = load ptr, ptr %11, align 8, !tbaa !9 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %4, !llvm.loop !11 14: ; preds = %4, %0 %15 = tail call i32 @putchar(i32 10) %16 = tail call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3 attributes #0 = { 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 = { 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 = { 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 = { nofree 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_23171.c_platform_list.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_23171.c_platform_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { ptr } @target = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [14 x i8] c"[*] %u\09: %s.\0A\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @platform_list() local_unnamed_addr #0 { %1 = load ptr, ptr @target, align 8, !tbaa !6 %2 = load ptr, ptr %1, align 8, !tbaa !10 %3 = icmp eq ptr %2, null br i1 %3, label %14, label %4 4: ; preds = %0, %4 %5 = phi ptr [ %12, %4 ], [ %2, %0 ] %6 = phi i32 [ %8, %4 ], [ 0, %0 ] %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %6, ptr noundef nonnull %5) %8 = add i32 %6, 1 %9 = load ptr, ptr @target, align 8, !tbaa !6 %10 = zext i32 %8 to i64 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 %10 %12 = load ptr, ptr %11, align 8, !tbaa !10 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %4, !llvm.loop !12 14: ; preds = %4, %0 %15 = tail call i32 @putchar(i32 10) %16 = tail call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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 = { 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 = { nofree 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
exploitdb_exploits_linux_remote_extr_23171.c_platform_list
; ModuleID = 'AnghaBench/systemd/src/core/extr_timer.c_timer_dispatch.c' source_filename = "AnghaBench/systemd/src/core/extr_timer.c_timer_dispatch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TIMER_WAITING = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"Timer elapsed.\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @timer_dispatch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @timer_dispatch(ptr nocapture readnone %0, i32 %1, ptr noundef %2) #0 { %4 = tail call ptr @TIMER(ptr noundef %2) #2 %5 = tail call i32 @assert(ptr noundef %4) #2 %6 = load i64, ptr %4, align 8, !tbaa !5 %7 = load i64, ptr @TIMER_WAITING, align 8, !tbaa !10 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = tail call i32 @UNIT(ptr noundef nonnull %4) #2 %11 = tail call i32 @log_unit_debug(i32 noundef %10, ptr noundef nonnull @.str) #2 %12 = tail call i32 @timer_enter_running(ptr noundef nonnull %4) #2 br label %13 13: ; preds = %3, %9 ret i32 0 } declare ptr @TIMER(ptr noundef) local_unnamed_addr #1 declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @log_unit_debug(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @UNIT(ptr noundef) local_unnamed_addr #1 declare i32 @timer_enter_running(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_6__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/systemd/src/core/extr_timer.c_timer_dispatch.c' source_filename = "AnghaBench/systemd/src/core/extr_timer.c_timer_dispatch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TIMER_WAITING = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"Timer elapsed.\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @timer_dispatch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @timer_dispatch(ptr nocapture readnone %0, i32 %1, ptr noundef %2) #0 { %4 = tail call ptr @TIMER(ptr noundef %2) #2 %5 = tail call i32 @assert(ptr noundef %4) #2 %6 = load i64, ptr %4, align 8, !tbaa !6 %7 = load i64, ptr @TIMER_WAITING, align 8, !tbaa !11 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = tail call i32 @UNIT(ptr noundef nonnull %4) #2 %11 = tail call i32 @log_unit_debug(i32 noundef %10, ptr noundef nonnull @.str) #2 %12 = tail call i32 @timer_enter_running(ptr noundef nonnull %4) #2 br label %13 13: ; preds = %3, %9 ret i32 0 } declare ptr @TIMER(ptr noundef) local_unnamed_addr #1 declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @log_unit_debug(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @UNIT(ptr noundef) local_unnamed_addr #1 declare i32 @timer_enter_running(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_6__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
systemd_src_core_extr_timer.c_timer_dispatch
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-ctrl.c_pvr2_ctrl_set_value.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-ctrl.c_pvr2_ctrl_set_value.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @pvr2_ctrl_set_value(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @pvr2_ctrl_set_mask_value(ptr noundef %0, i32 noundef -1, i32 noundef %1) #2 ret i32 %3 } declare i32 @pvr2_ctrl_set_mask_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-ctrl.c_pvr2_ctrl_set_value.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-ctrl.c_pvr2_ctrl_set_value.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 @pvr2_ctrl_set_value(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @pvr2_ctrl_set_mask_value(ptr noundef %0, i32 noundef -1, i32 noundef %1) #2 ret i32 %3 } declare i32 @pvr2_ctrl_set_mask_value(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)"}
fastsocket_kernel_drivers_media_video_pvrusb2_extr_pvrusb2-ctrl.c_pvr2_ctrl_set_value
; ModuleID = 'AnghaBench/libuv/src/unix/extr_linux-syscalls.c_uv__inotify_rm_watch.c' source_filename = "AnghaBench/libuv/src/unix/extr_linux-syscalls.c_uv__inotify_rm_watch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOSYS = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @__NR_inotify_rm_watch = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable define dso_local noundef i32 @uv__inotify_rm_watch(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @ENOSYS, align 4, !tbaa !5 store i32 %3, ptr @errno, align 4, !tbaa !5 ret i32 -1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, 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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libuv/src/unix/extr_linux-syscalls.c_uv__inotify_rm_watch.c' source_filename = "AnghaBench/libuv/src/unix/extr_linux-syscalls.c_uv__inotify_rm_watch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOSYS = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @__NR_inotify_rm_watch = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) define noundef i32 @uv__inotify_rm_watch(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @ENOSYS, align 4, !tbaa !6 store i32 %3, ptr @errno, align 4, !tbaa !6 ret i32 -1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, 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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libuv_src_unix_extr_linux-syscalls.c_uv__inotify_rm_watch
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_api.c_tc_indr_block_call.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_api.c_tc_indr_block_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.flow_block_offload = type { i32, i32, ptr, i32, ptr, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @tc_indr_block_call], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @tc_indr_block_call(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca %struct.flow_block_offload, align 8 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #3 store i32 %3, ptr %6, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.flow_block_offload, ptr %6, i64 0, i32 1 store i32 0, ptr %7, align 4, !tbaa !11 %8 = getelementptr inbounds %struct.flow_block_offload, ptr %6, i64 0, i32 2 store ptr %4, ptr %8, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.flow_block_offload, ptr %6, i64 0, i32 3 %10 = tail call i32 @tcf_block_shared(ptr noundef %0) #3 store i32 %10, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.flow_block_offload, ptr %6, i64 0, i32 4 store ptr %0, ptr %11, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.flow_block_offload, ptr %6, i64 0, i32 5 %13 = tail call i32 @dev_net(ptr noundef %1) #3 store i32 %13, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds %struct.flow_block_offload, ptr %6, i64 0, i32 6 %15 = load i32, ptr %2, align 4, !tbaa !16 store i32 %15, ptr %14, align 4, !tbaa !18 %16 = call i32 @INIT_LIST_HEAD(ptr noundef nonnull %7) #3 %17 = call i32 @flow_indr_block_call(ptr noundef %1, ptr noundef nonnull %6, i32 noundef %3) #3 %18 = call i32 @tcf_block_setup(ptr noundef %0, ptr noundef nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #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 @tcf_block_shared(ptr noundef) local_unnamed_addr #2 declare i32 @dev_net(ptr noundef) local_unnamed_addr #2 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #2 declare i32 @flow_indr_block_call(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tcf_block_setup(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"flow_block_offload", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 36} !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 = !{!6, !7, i64 16} !14 = !{!6, !10, i64 24} !15 = !{!6, !7, i64 32} !16 = !{!17, !7, i64 0} !17 = !{!"tcf_block_ext_info", !7, i64 0} !18 = !{!6, !7, i64 36}
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_api.c_tc_indr_block_call.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_api.c_tc_indr_block_call.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.flow_block_offload = type { i32, i32, ptr, i32, ptr, i32, i32 } @llvm.used = appending global [1 x ptr] [ptr @tc_indr_block_call], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @tc_indr_block_call(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca %struct.flow_block_offload, align 8 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #3 store i32 %3, ptr %6, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %6, i64 4 store i32 0, ptr %7, align 4, !tbaa !12 %8 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %4, ptr %8, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %6, i64 16 %10 = tail call i32 @tcf_block_shared(ptr noundef %0) #3 store i32 %10, ptr %9, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %6, i64 24 store ptr %0, ptr %11, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %6, i64 32 %13 = tail call i32 @dev_net(ptr noundef %1) #3 store i32 %13, ptr %12, align 8, !tbaa !16 %14 = getelementptr inbounds i8, ptr %6, i64 36 %15 = load i32, ptr %2, align 4, !tbaa !17 store i32 %15, ptr %14, align 4, !tbaa !19 %16 = call i32 @INIT_LIST_HEAD(ptr noundef nonnull %7) #3 %17 = call i32 @flow_indr_block_call(ptr noundef %1, ptr noundef nonnull %6, i32 noundef %3) #3 %18 = call i32 @tcf_block_setup(ptr noundef %0, ptr noundef nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #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 @tcf_block_shared(ptr noundef) local_unnamed_addr #2 declare i32 @dev_net(ptr noundef) local_unnamed_addr #2 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #2 declare i32 @flow_indr_block_call(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @tcf_block_setup(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"flow_block_offload", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24, !8, i64 32, !8, i64 36} !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 = !{!7, !8, i64 16} !15 = !{!7, !11, i64 24} !16 = !{!7, !8, i64 32} !17 = !{!18, !8, i64 0} !18 = !{!"tcf_block_ext_info", !8, i64 0} !19 = !{!7, !8, i64 36}
linux_net_sched_extr_cls_api.c_tc_indr_block_call
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_cmd_parser.c_intel_gvt_clean_cmd_parser.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_cmd_parser.c_intel_gvt_clean_cmd_parser.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @intel_gvt_clean_cmd_parser(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @clean_cmd_table(ptr noundef %0) #2 ret void } declare i32 @clean_cmd_table(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_cmd_parser.c_intel_gvt_clean_cmd_parser.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_cmd_parser.c_intel_gvt_clean_cmd_parser.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 @intel_gvt_clean_cmd_parser(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @clean_cmd_table(ptr noundef %0) #2 ret void } declare i32 @clean_cmd_table(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_i915_gvt_extr_cmd_parser.c_intel_gvt_clean_cmd_parser
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-mapped_section.c_asid_null.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-mapped_section.c_asid_null.c" target datalayout = "e-m:e-p270:32:32-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.pt_mapped_section = type { i32 } %struct.pt_asid = type { i32, i32 } @pt_asid_no_cr3 = dso_local local_unnamed_addr global i32 0, align 4 @pt_asid_no_vmcs = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @asid_null], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @asid_null() #0 { %1 = alloca %struct.pt_mapped_section, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = call i32 @pt_msec_init(ptr noundef nonnull %1, ptr noundef null, ptr noundef null, i32 noundef 8192, i32 noundef 256, i32 noundef 4096) #3 %3 = call ptr @pt_msec_asid(ptr noundef nonnull %1) #3 %4 = call i32 @ptu_ptr(ptr noundef %3) #3 %5 = getelementptr inbounds %struct.pt_asid, ptr %3, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load i32, ptr @pt_asid_no_cr3, align 4, !tbaa !10 %8 = call i32 @ptu_uint_eq(i32 noundef %6, i32 noundef %7) #3 %9 = load i32, ptr %3, align 4, !tbaa !11 %10 = load i32, ptr @pt_asid_no_vmcs, align 4, !tbaa !10 %11 = call i32 @ptu_uint_eq(i32 noundef %9, i32 noundef %10) #3 %12 = call i32 (...) @ptu_passed() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pt_msec_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @pt_msec_asid(ptr noundef) local_unnamed_addr #2 declare i32 @ptu_ptr(ptr noundef) local_unnamed_addr #2 declare i32 @ptu_uint_eq(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ptu_passed(...) 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 = !{!"pt_asid", !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/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-mapped_section.c_asid_null.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-mapped_section.c_asid_null.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.pt_mapped_section = type { i32 } @pt_asid_no_cr3 = common local_unnamed_addr global i32 0, align 4 @pt_asid_no_vmcs = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @asid_null], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @asid_null() #0 { %1 = alloca %struct.pt_mapped_section, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = call i32 @pt_msec_init(ptr noundef nonnull %1, ptr noundef null, ptr noundef null, i32 noundef 8192, i32 noundef 256, i32 noundef 4096) #3 %3 = call ptr @pt_msec_asid(ptr noundef nonnull %1) #3 %4 = call i32 @ptu_ptr(ptr noundef %3) #3 %5 = getelementptr inbounds i8, ptr %3, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load i32, ptr @pt_asid_no_cr3, align 4, !tbaa !11 %8 = call i32 @ptu_uint_eq(i32 noundef %6, i32 noundef %7) #3 %9 = load i32, ptr %3, align 4, !tbaa !12 %10 = load i32, ptr @pt_asid_no_vmcs, align 4, !tbaa !11 %11 = call i32 @ptu_uint_eq(i32 noundef %9, i32 noundef %10) #3 %12 = call i32 @ptu_passed() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pt_msec_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @pt_msec_asid(ptr noundef) local_unnamed_addr #2 declare i32 @ptu_ptr(ptr noundef) local_unnamed_addr #2 declare i32 @ptu_uint_eq(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ptu_passed(...) 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 = !{!"pt_asid", !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}
freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-mapped_section.c_asid_null
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_cdata.c_lj_cdata_setfin.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_cdata.c_lj_cdata_setfin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LJ_TNIL = dso_local local_unnamed_addr global i32 0, align 4 @LJ_GC_CDATA_FIN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @lj_cdata_setfin(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 %6 = tail call i32 @G(ptr noundef %0) #3 %7 = tail call ptr @ctype_ctsG(i32 noundef %6) #3 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = tail call i64 @gcref(i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %31, label %12 12: ; preds = %4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %13 = call i32 @setcdataV(ptr noundef %0, ptr noundef nonnull %5, ptr noundef %1) #3 %14 = call i32 @lj_gc_anybarriert(ptr noundef %0, ptr noundef nonnull %8) #3 %15 = call ptr @lj_tab_set(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %5) #3 %16 = load i32, ptr @LJ_TNIL, align 4, !tbaa !13 %17 = icmp eq i32 %16, %3 br i1 %17, label %18, label %24 18: ; preds = %12 %19 = call i32 @setnilV(ptr noundef %15) #3 %20 = load i32, ptr @LJ_GC_CDATA_FIN, align 4, !tbaa !13 %21 = xor i32 %20, -1 %22 = load i32, ptr %1, align 4, !tbaa !14 %23 = and i32 %22, %21 br label %29 24: ; preds = %12 %25 = call i32 @setgcV(ptr noundef %0, ptr noundef %15, ptr noundef %2, i32 noundef %3) #3 %26 = load i32, ptr @LJ_GC_CDATA_FIN, align 4, !tbaa !13 %27 = load i32, ptr %1, align 4, !tbaa !14 %28 = or i32 %27, %26 br label %29 29: ; preds = %24, %18 %30 = phi i32 [ %28, %24 ], [ %23, %18 ] store i32 %30, ptr %1, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %31 31: ; preds = %29, %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 ptr @ctype_ctsG(i32 noundef) local_unnamed_addr #2 declare i32 @G(ptr noundef) local_unnamed_addr #2 declare i64 @gcref(i32 noundef) local_unnamed_addr #2 declare i32 @setcdataV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lj_gc_anybarriert(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @lj_tab_set(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setnilV(ptr noundef) local_unnamed_addr #2 declare i32 @setgcV(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_10__", !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_8__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_9__", !12, i64 0}
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_cdata.c_lj_cdata_setfin.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lj_cdata.c_lj_cdata_setfin.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LJ_TNIL = common local_unnamed_addr global i32 0, align 4 @LJ_GC_CDATA_FIN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @lj_cdata_setfin(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 %6 = tail call i32 @G(ptr noundef %0) #3 %7 = tail call ptr @ctype_ctsG(i32 noundef %6) #3 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i64 @gcref(i32 noundef %9) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %31, label %12 12: ; preds = %4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %13 = call i32 @setcdataV(ptr noundef %0, ptr noundef nonnull %5, ptr noundef %1) #3 %14 = call i32 @lj_gc_anybarriert(ptr noundef %0, ptr noundef nonnull %8) #3 %15 = call ptr @lj_tab_set(ptr noundef %0, ptr noundef nonnull %8, ptr noundef nonnull %5) #3 %16 = load i32, ptr @LJ_TNIL, align 4, !tbaa !14 %17 = icmp eq i32 %16, %3 br i1 %17, label %18, label %24 18: ; preds = %12 %19 = call i32 @setnilV(ptr noundef %15) #3 %20 = load i32, ptr @LJ_GC_CDATA_FIN, align 4, !tbaa !14 %21 = xor i32 %20, -1 %22 = load i32, ptr %1, align 4, !tbaa !15 %23 = and i32 %22, %21 br label %29 24: ; preds = %12 %25 = call i32 @setgcV(ptr noundef %0, ptr noundef %15, ptr noundef %2, i32 noundef %3) #3 %26 = load i32, ptr @LJ_GC_CDATA_FIN, align 4, !tbaa !14 %27 = load i32, ptr %1, align 4, !tbaa !15 %28 = or i32 %27, %26 br label %29 29: ; preds = %24, %18 %30 = phi i32 [ %28, %24 ], [ %23, %18 ] store i32 %30, ptr %1, align 4, !tbaa !15 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 br label %31 31: ; preds = %29, %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 ptr @ctype_ctsG(i32 noundef) local_unnamed_addr #2 declare i32 @G(ptr noundef) local_unnamed_addr #2 declare i64 @gcref(i32 noundef) local_unnamed_addr #2 declare i32 @setcdataV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lj_gc_anybarriert(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @lj_tab_set(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @setnilV(ptr noundef) local_unnamed_addr #2 declare i32 @setgcV(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_10__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_9__", !13, i64 0}
xLua_build_luajit-2.1.0b3_src_extr_lj_cdata.c_lj_cdata_setfin
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/netxen/extr_netxen_nic_init.c_netxen_process_rxbuf.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/netxen/extr_netxen_nic_init.c_netxen_process_rxbuf.c" target datalayout = "e-m:e-p270:32:32-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.nx_host_rds_ring = type { i32, ptr } %struct.netxen_adapter = type { %struct.TYPE_4__, ptr, i32 } %struct.TYPE_4__ = type { i32 } %struct.netxen_rx_buffer = type { i32, ptr, i32 } @PCI_DMA_FROMDEVICE = dso_local local_unnamed_addr global i32 0, align 4 @NETIF_F_RXCSUM = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_CKSUM_OK = dso_local local_unnamed_addr global i64 0, align 8 @CHECKSUM_UNNECESSARY = dso_local local_unnamed_addr global i32 0, align 4 @CHECKSUM_NONE = dso_local local_unnamed_addr global i32 0, align 4 @NETXEN_BUFFER_FREE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @netxen_process_rxbuf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @netxen_process_rxbuf(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds %struct.nx_host_rds_ring, ptr %1, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.netxen_adapter, ptr %0, i64 0, i32 2 %8 = load i32, ptr %7, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.netxen_rx_buffer, ptr %6, i64 %2, i32 2 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = load i32, ptr %1, align 8, !tbaa !16 %12 = load i32, ptr @PCI_DMA_FROMDEVICE, align 4, !tbaa !17 %13 = tail call i32 @pci_unmap_single(i32 noundef %8, i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 %14 = getelementptr inbounds %struct.netxen_rx_buffer, ptr %6, i64 %2, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !18 %16 = icmp eq ptr %15, null br i1 %16, label %36, label %17 17: ; preds = %4 %18 = getelementptr inbounds %struct.netxen_adapter, ptr %0, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !19 %20 = load i32, ptr %19, align 4, !tbaa !20 %21 = load i32, ptr @NETIF_F_RXCSUM, align 4, !tbaa !17 %22 = and i32 %21, %20 %23 = icmp ne i32 %22, 0 %24 = load i64, ptr @STATUS_CKSUM_OK, align 8 %25 = icmp eq i64 %24, %3 %26 = select i1 %23, i1 %25, i1 false %27 = zext i1 %26 to i32 %28 = tail call i64 @likely(i32 noundef %27) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %17 %31 = load i32, ptr %0, align 8, !tbaa !22 %32 = add nsw i32 %31, 1 store i32 %32, ptr %0, align 8, !tbaa !22 br label %33 33: ; preds = %17, %30 %34 = phi ptr [ @CHECKSUM_UNNECESSARY, %30 ], [ @CHECKSUM_NONE, %17 ] %35 = load i32, ptr %34, align 4, !tbaa !17 store i32 %35, ptr %15, align 4, !tbaa !23 store ptr null, ptr %14, align 8, !tbaa !18 br label %36 36: ; preds = %4, %33 %37 = getelementptr inbounds %struct.netxen_rx_buffer, ptr %6, i64 %2 %38 = load i32, ptr @NETXEN_BUFFER_FREE, align 4, !tbaa !17 store i32 %38, ptr %37, align 8, !tbaa !25 ret ptr %15 } declare i32 @pci_unmap_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @likely(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 = !{!"nx_host_rds_ring", !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, !7, i64 16} !12 = !{!"netxen_adapter", !13, i64 0, !10, i64 8, !7, i64 16} !13 = !{!"TYPE_4__", !7, i64 0} !14 = !{!15, !7, i64 16} !15 = !{!"netxen_rx_buffer", !7, i64 0, !10, i64 8, !7, i64 16} !16 = !{!6, !7, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!15, !10, i64 8} !19 = !{!12, !10, i64 8} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_3__", !7, i64 0} !22 = !{!12, !7, i64 0} !23 = !{!24, !7, i64 0} !24 = !{!"sk_buff", !7, i64 0} !25 = !{!15, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/netxen/extr_netxen_nic_init.c_netxen_process_rxbuf.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/netxen/extr_netxen_nic_init.c_netxen_process_rxbuf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.netxen_rx_buffer = type { i32, ptr, i32 } @PCI_DMA_FROMDEVICE = common local_unnamed_addr global i32 0, align 4 @NETIF_F_RXCSUM = common local_unnamed_addr global i32 0, align 4 @STATUS_CKSUM_OK = common local_unnamed_addr global i64 0, align 8 @CHECKSUM_UNNECESSARY = common local_unnamed_addr global i32 0, align 4 @CHECKSUM_NONE = common local_unnamed_addr global i32 0, align 4 @NETXEN_BUFFER_FREE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @netxen_process_rxbuf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @netxen_process_rxbuf(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = getelementptr inbounds %struct.netxen_rx_buffer, ptr %6, i64 %2 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load i32, ptr %8, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %7, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !15 %12 = load i32, ptr %1, align 8, !tbaa !17 %13 = load i32, ptr @PCI_DMA_FROMDEVICE, align 4, !tbaa !18 %14 = tail call i32 @pci_unmap_single(i32 noundef %9, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %7, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !19 %17 = icmp eq ptr %16, null br i1 %17, label %37, label %18 18: ; preds = %4 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load ptr, ptr %19, align 8, !tbaa !20 %21 = load i32, ptr %20, align 4, !tbaa !21 %22 = load i32, ptr @NETIF_F_RXCSUM, align 4, !tbaa !18 %23 = and i32 %22, %21 %24 = icmp ne i32 %23, 0 %25 = load i64, ptr @STATUS_CKSUM_OK, align 8 %26 = icmp eq i64 %25, %3 %27 = select i1 %24, i1 %26, i1 false %28 = zext i1 %27 to i32 %29 = tail call i64 @likely(i32 noundef %28) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %18 %32 = load i32, ptr %0, align 8, !tbaa !23 %33 = add nsw i32 %32, 1 store i32 %33, ptr %0, align 8, !tbaa !23 br label %34 34: ; preds = %18, %31 %35 = phi ptr [ @CHECKSUM_UNNECESSARY, %31 ], [ @CHECKSUM_NONE, %18 ] %36 = load i32, ptr %35, align 4, !tbaa !18 store i32 %36, ptr %16, align 4, !tbaa !24 store ptr null, ptr %15, align 8, !tbaa !19 br label %37 37: ; preds = %4, %34 %38 = load i32, ptr @NETXEN_BUFFER_FREE, align 4, !tbaa !18 store i32 %38, ptr %7, align 8, !tbaa !26 ret ptr %16 } declare i32 @pci_unmap_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @likely(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 = !{!"nx_host_rds_ring", !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, !8, i64 16} !13 = !{!"netxen_adapter", !14, i64 0, !11, i64 8, !8, i64 16} !14 = !{!"TYPE_4__", !8, i64 0} !15 = !{!16, !8, i64 16} !16 = !{!"netxen_rx_buffer", !8, i64 0, !11, i64 8, !8, i64 16} !17 = !{!7, !8, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!16, !11, i64 8} !20 = !{!13, !11, i64 8} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_3__", !8, i64 0} !23 = !{!13, !8, i64 0} !24 = !{!25, !8, i64 0} !25 = !{!"sk_buff", !8, i64 0} !26 = !{!16, !8, i64 0}
linux_drivers_net_ethernet_qlogic_netxen_extr_netxen_nic_init.c_netxen_process_rxbuf
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_curve25519.c_fe51_1.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_curve25519.c_fe51_1.c" target datalayout = "e-m:e-p270:32:32-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 @fe51_1], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @fe51_1(ptr nocapture noundef writeonly %0) #0 { store i32 1, ptr %0, align 4, !tbaa !5 %2 = getelementptr inbounds i32, ptr %0, i64 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %2, i8 0, i64 16, i1 false) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/crypto/openssl/crypto/ec/extr_curve25519.c_fe51_1.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_curve25519.c_fe51_1.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 @fe51_1], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @fe51_1(ptr nocapture noundef writeonly %0) #0 { store i32 1, ptr %0, align 4, !tbaa !6 %2 = getelementptr inbounds i8, ptr %0, i64 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %2, i8 0, i64 16, i1 false) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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_crypto_openssl_crypto_ec_extr_curve25519.c_fe51_1
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mss3.c_decode_fill_block.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mss3.c_decode_fill_block.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @decode_fill_block], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @decode_fill_block(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %7 = tail call i64 @decode_coeff(ptr noundef %0, ptr noundef nonnull %6) #2 %8 = load i32, ptr %1, align 4, !tbaa !5 %9 = trunc i64 %7 to i32 %10 = add i32 %8, %9 store i32 %10, ptr %1, align 4, !tbaa !5 %11 = icmp sgt i32 %4, 0 br i1 %11, label %12, label %22 12: ; preds = %5 %13 = sext i32 %3 to i64 br label %14 14: ; preds = %12, %14 %15 = phi i32 [ 0, %12 ], [ %19, %14 ] %16 = phi ptr [ %2, %12 ], [ %20, %14 ] %17 = load i32, ptr %1, align 4, !tbaa !5 %18 = tail call i32 @memset(ptr noundef %16, i32 noundef %17, i32 noundef %4) #2 %19 = add nuw nsw i32 %15, 1 %20 = getelementptr inbounds i32, ptr %16, i64 %13 %21 = icmp eq i32 %19, %4 br i1 %21, label %22, label %14, !llvm.loop !10 22: ; preds = %14, %5 ret void } declare i64 @decode_coeff(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_mss3.c_decode_fill_block.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_mss3.c_decode_fill_block.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 @decode_fill_block], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @decode_fill_block(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = tail call i64 @decode_coeff(ptr noundef %0, ptr noundef nonnull %6) #2 %8 = load i32, ptr %1, align 4, !tbaa !6 %9 = trunc i64 %7 to i32 %10 = add i32 %8, %9 store i32 %10, ptr %1, align 4, !tbaa !6 %11 = icmp sgt i32 %4, 0 br i1 %11, label %12, label %22 12: ; preds = %5 %13 = sext i32 %3 to i64 br label %14 14: ; preds = %12, %14 %15 = phi i32 [ 0, %12 ], [ %19, %14 ] %16 = phi ptr [ %2, %12 ], [ %20, %14 ] %17 = load i32, ptr %1, align 4, !tbaa !6 %18 = tail call i32 @memset(ptr noundef %16, i32 noundef %17, i32 noundef %4) #2 %19 = add nuw nsw i32 %15, 1 %20 = getelementptr inbounds i32, ptr %16, i64 %13 %21 = icmp eq i32 %19, %4 br i1 %21, label %22, label %14, !llvm.loop !11 22: ; preds = %14, %5 ret void } declare i64 @decode_coeff(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavcodec_extr_mss3.c_decode_fill_block
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_subr.c_tcp_update_stats_per_flow.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_subr.c_tcp_update_stats_per_flow.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32 } %struct.TYPE_9__ = type { i32 } %struct.TYPE_10__ = type { i32 } %struct.ifnet_stats_per_flow = type { i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 } %struct.ifnet = type { i32, ptr, ptr } %struct.TYPE_6__ = type { i32, i32, ptr } %struct.TYPE_7__ = type { i32, i32, ptr } @TE_SETUPSENT = dso_local local_unnamed_addr global i32 0, align 4 @TE_CLIENT_SETUP = dso_local local_unnamed_addr global i32 0, align 4 @ecn_client_setup = dso_local local_unnamed_addr global i32 0, align 4 @ecn_client_success = dso_local local_unnamed_addr global i32 0, align 4 @TE_LOST_SYN = dso_local local_unnamed_addr global i32 0, align 4 @ecn_syn_lost = dso_local local_unnamed_addr global i32 0, align 4 @ecn_peer_nosupport = dso_local local_unnamed_addr global i32 0, align 4 @ecn_server_setup = dso_local local_unnamed_addr global i32 0, align 4 @ecn_server_success = dso_local local_unnamed_addr global i32 0, align 4 @ecn_synack_lost = dso_local local_unnamed_addr global i32 0, align 4 @ecn_off_conn = dso_local local_unnamed_addr global i32 0, align 4 @TE_RECV_ECN_CE = dso_local local_unnamed_addr global i32 0, align 4 @tcpstat = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4 @ecn_conn_recv_ce = dso_local local_unnamed_addr global i32 0, align 4 @TE_RECV_ECN_ECE = dso_local local_unnamed_addr global i32 0, align 4 @ecn_conn_recv_ece = dso_local local_unnamed_addr global i32 0, align 4 @ecn_conn_plce = dso_local local_unnamed_addr global i32 0, align 4 @ecn_conn_noplce = dso_local local_unnamed_addr global i32 0, align 4 @ecn_conn_plnoce = dso_local local_unnamed_addr global i32 0, align 4 @ecn_on = dso_local local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4 @ecn_off = dso_local local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 4 @ecn_fallback_synloss = dso_local local_unnamed_addr global i32 0, align 4 @ecn_fallback_droprst = dso_local local_unnamed_addr global i32 0, align 4 @ecn_fallback_droprxmt = dso_local local_unnamed_addr global i32 0, align 4 @ecn_fallback_ce = dso_local local_unnamed_addr global i32 0, align 4 @ecn_fallback_reorder = dso_local local_unnamed_addr global i32 0, align 4 @ecn_recv_ce = dso_local local_unnamed_addr global i32 0, align 4 @ecn_recv_ece = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @tcp_update_stats_per_flow(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %220, label %4 4: ; preds = %2 %5 = tail call i32 @IF_FULLY_ATTACHED(ptr noundef nonnull %1) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %220, label %7 7: ; preds = %4 %8 = tail call i32 @ifnet_lock_shared(ptr noundef nonnull %1) #2 %9 = load i32, ptr %0, align 8, !tbaa !5 %10 = load i32, ptr @TE_SETUPSENT, align 4, !tbaa !11 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 br i1 %12, label %43, label %13 13: ; preds = %7 %14 = load i32, ptr @TE_CLIENT_SETUP, align 4, !tbaa !11 %15 = and i32 %14, %9 %16 = icmp eq i32 %15, 0 %17 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 5 %18 = load i64, ptr %17, align 8, !tbaa !12 br i1 %16, label %31, label %19 19: ; preds = %13 %20 = load i32, ptr @ecn_client_setup, align 4, !tbaa !11 %21 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %18, i32 noundef %20) #2 %22 = load i32, ptr %0, align 8, !tbaa !5 %23 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %22) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %45 25: ; preds = %19 %26 = load i32, ptr %0, align 8, !tbaa !5 %27 = load i32, ptr @TE_LOST_SYN, align 4, !tbaa !11 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 %30 = select i1 %29, ptr @ecn_peer_nosupport, ptr @ecn_syn_lost br label %45 31: ; preds = %13 %32 = load i32, ptr @ecn_server_setup, align 4, !tbaa !11 %33 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %18, i32 noundef %32) #2 %34 = load i32, ptr %0, align 8, !tbaa !5 %35 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %34) #2 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %45 37: ; preds = %31 %38 = load i32, ptr %0, align 8, !tbaa !5 %39 = load i32, ptr @TE_LOST_SYN, align 4, !tbaa !11 %40 = and i32 %39, %38 %41 = icmp eq i32 %40, 0 %42 = select i1 %41, ptr @ecn_peer_nosupport, ptr @ecn_synack_lost br label %45 43: ; preds = %7 %44 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 5 br label %45 45: ; preds = %31, %19, %37, %25, %43 %46 = phi ptr [ @ecn_off_conn, %43 ], [ %30, %25 ], [ %42, %37 ], [ @ecn_client_success, %19 ], [ @ecn_server_success, %31 ] %47 = phi ptr [ %44, %43 ], [ %17, %25 ], [ %17, %37 ], [ %17, %19 ], [ %17, %31 ] %48 = load i64, ptr %47, align 8, !tbaa !12 %49 = load i32, ptr %46, align 4, !tbaa !11 %50 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %48, i32 noundef %49) #2 %51 = load i32, ptr %0, align 8, !tbaa !5 %52 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %51) #2 %53 = icmp eq i64 %52, 0 br i1 %53, label %112, label %54 54: ; preds = %45 %55 = load i32, ptr %0, align 8, !tbaa !5 %56 = load i32, ptr @TE_RECV_ECN_CE, align 4, !tbaa !11 %57 = and i32 %56, %55 %58 = icmp eq i32 %57, 0 br i1 %58, label %67, label %59 59: ; preds = %54 %60 = load i32, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @tcpstat, i64 0, i32 4), align 4, !tbaa !13 %61 = add nsw i32 %60, 1 store i32 %61, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @tcpstat, i64 0, i32 4), align 4, !tbaa !13 %62 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 5 %63 = load i64, ptr %62, align 8, !tbaa !12 %64 = load i32, ptr @ecn_conn_recv_ce, align 4, !tbaa !11 %65 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %63, i32 noundef %64) #2 %66 = load i32, ptr %0, align 8, !tbaa !5 br label %67 67: ; preds = %59, %54 %68 = phi i32 [ %66, %59 ], [ %55, %54 ] %69 = load i32, ptr @TE_RECV_ECN_ECE, align 4, !tbaa !11 %70 = and i32 %69, %68 %71 = icmp eq i32 %70, 0 br i1 %71, label %81, label %72 72: ; preds = %67 %73 = load i32, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @tcpstat, i64 0, i32 3), align 4, !tbaa !15 %74 = add nsw i32 %73, 1 store i32 %74, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @tcpstat, i64 0, i32 3), align 4, !tbaa !15 %75 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 5 %76 = load i64, ptr %75, align 8, !tbaa !12 %77 = load i32, ptr @ecn_conn_recv_ece, align 4, !tbaa !11 %78 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %76, i32 noundef %77) #2 %79 = load i32, ptr %0, align 8, !tbaa !5 %80 = load i32, ptr @TE_RECV_ECN_ECE, align 4, !tbaa !11 br label %81 81: ; preds = %72, %67 %82 = phi i32 [ %80, %72 ], [ %69, %67 ] %83 = phi i32 [ %79, %72 ], [ %68, %67 ] %84 = load i32, ptr @TE_RECV_ECN_CE, align 4, !tbaa !11 %85 = or i32 %82, %84 %86 = and i32 %85, %83 %87 = icmp eq i32 %86, 0 %88 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 1 %89 = load i64, ptr %88, align 8, !tbaa !16 %90 = icmp sgt i64 %89, 0 br i1 %87, label %98, label %91 91: ; preds = %81 br i1 %90, label %103, label %92 92: ; preds = %91 %93 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 2 %94 = load i64, ptr %93, align 8, !tbaa !17 %95 = icmp sgt i64 %94, 0 %96 = select i1 %95, ptr getelementptr inbounds (%struct.TYPE_8__, ptr @tcpstat, i64 0, i32 2), ptr getelementptr inbounds (%struct.TYPE_8__, ptr @tcpstat, i64 0, i32 1) %97 = select i1 %95, ptr @ecn_conn_plce, ptr @ecn_conn_noplce br label %103 98: ; preds = %81 br i1 %90, label %103, label %99 99: ; preds = %98 %100 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 2 %101 = load i64, ptr %100, align 8, !tbaa !17 %102 = icmp sgt i64 %101, 0 br i1 %102, label %103, label %112 103: ; preds = %92, %98, %99, %91 %104 = phi ptr [ getelementptr inbounds (%struct.TYPE_8__, ptr @tcpstat, i64 0, i32 2), %91 ], [ @tcpstat, %99 ], [ @tcpstat, %98 ], [ %96, %92 ] %105 = phi ptr [ @ecn_conn_plce, %91 ], [ @ecn_conn_plnoce, %99 ], [ @ecn_conn_plnoce, %98 ], [ %97, %92 ] %106 = load i32, ptr %104, align 4, !tbaa !11 %107 = add nsw i32 %106, 1 store i32 %107, ptr %104, align 4, !tbaa !11 %108 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 5 %109 = load i64, ptr %108, align 8, !tbaa !12 %110 = load i32, ptr %105, align 4, !tbaa !11 %111 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %109, i32 noundef %110) #2 br label %112 112: ; preds = %103, %99, %45 %113 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 12 %114 = load i64, ptr %113, align 8, !tbaa !18 %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %218 116: ; preds = %112 %117 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 5 %118 = load i64, ptr %117, align 8, !tbaa !12 %119 = icmp eq i64 %118, 0 %120 = tail call ptr (...) @net_uptime() #2 br i1 %119, label %134, label %121 121: ; preds = %116 %122 = getelementptr inbounds %struct.ifnet, ptr %1, i64 0, i32 2 %123 = load ptr, ptr %122, align 8, !tbaa !19 %124 = getelementptr inbounds %struct.TYPE_6__, ptr %123, i64 0, i32 2 store ptr %120, ptr %124, align 8, !tbaa !22 %125 = load i32, ptr %0, align 8, !tbaa !5 %126 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %125) #2 %127 = icmp eq i64 %126, 0 %128 = load ptr, ptr %122, align 8, !tbaa !19 br i1 %127, label %132, label %129 129: ; preds = %121 %130 = getelementptr inbounds %struct.TYPE_6__, ptr %128, i64 0, i32 1 %131 = tail call i32 @tcp_flow_ecn_perf_stats(ptr noundef nonnull %0, ptr noundef nonnull %130) #2 br label %147 132: ; preds = %121 %133 = tail call i32 @tcp_flow_ecn_perf_stats(ptr noundef nonnull %0, ptr noundef %128) #2 br label %147 134: ; preds = %116 %135 = getelementptr inbounds %struct.ifnet, ptr %1, i64 0, i32 1 %136 = load ptr, ptr %135, align 8, !tbaa !24 %137 = getelementptr inbounds %struct.TYPE_7__, ptr %136, i64 0, i32 2 store ptr %120, ptr %137, align 8, !tbaa !25 %138 = load i32, ptr %0, align 8, !tbaa !5 %139 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %138) #2 %140 = icmp eq i64 %139, 0 %141 = load ptr, ptr %135, align 8, !tbaa !24 br i1 %140, label %145, label %142 142: ; preds = %134 %143 = getelementptr inbounds %struct.TYPE_7__, ptr %141, i64 0, i32 1 %144 = tail call i32 @tcp_flow_ecn_perf_stats(ptr noundef nonnull %0, ptr noundef nonnull %143) #2 br label %147 145: ; preds = %134 %146 = tail call i32 @tcp_flow_ecn_perf_stats(ptr noundef nonnull %0, ptr noundef %141) #2 br label %147 147: ; preds = %142, %145, %129, %132 %148 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 11 %149 = load i64, ptr %148, align 8, !tbaa !27 %150 = icmp eq i64 %149, 0 br i1 %150, label %160, label %151 151: ; preds = %147 %152 = load i32, ptr %0, align 8, !tbaa !5 %153 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %152) #2 %154 = icmp eq i64 %153, 0 %155 = load i64, ptr %117, align 8, !tbaa !12 %156 = load i32, ptr @ecn_off, align 4 %157 = load i32, ptr @ecn_on, align 4 %158 = select i1 %154, i32 %156, i32 %157 %159 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %155, i32 noundef %158) #2 br label %160 160: ; preds = %151, %147 %161 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 10 %162 = load i64, ptr %161, align 8, !tbaa !28 %163 = icmp eq i64 %162, 0 br i1 %163, label %168, label %164 164: ; preds = %160 %165 = load i64, ptr %117, align 8, !tbaa !12 %166 = load i32, ptr @ecn_fallback_synloss, align 4, !tbaa !11 %167 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %165, i32 noundef %166) #2 br label %168 168: ; preds = %164, %160 %169 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 9 %170 = load i64, ptr %169, align 8, !tbaa !29 %171 = icmp eq i64 %170, 0 br i1 %171, label %176, label %172 172: ; preds = %168 %173 = load i64, ptr %117, align 8, !tbaa !12 %174 = load i32, ptr @ecn_fallback_droprst, align 4, !tbaa !11 %175 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %173, i32 noundef %174) #2 br label %176 176: ; preds = %172, %168 %177 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 8 %178 = load i64, ptr %177, align 8, !tbaa !30 %179 = icmp eq i64 %178, 0 br i1 %179, label %184, label %180 180: ; preds = %176 %181 = load i64, ptr %117, align 8, !tbaa !12 %182 = load i32, ptr @ecn_fallback_droprxmt, align 4, !tbaa !11 %183 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %181, i32 noundef %182) #2 br label %184 184: ; preds = %180, %176 %185 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 7 %186 = load i64, ptr %185, align 8, !tbaa !31 %187 = icmp eq i64 %186, 0 br i1 %187, label %192, label %188 188: ; preds = %184 %189 = load i64, ptr %117, align 8, !tbaa !12 %190 = load i32, ptr @ecn_fallback_ce, align 4, !tbaa !11 %191 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %189, i32 noundef %190) #2 br label %192 192: ; preds = %188, %184 %193 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 6 %194 = load i64, ptr %193, align 8, !tbaa !32 %195 = icmp eq i64 %194, 0 br i1 %195, label %200, label %196 196: ; preds = %192 %197 = load i64, ptr %117, align 8, !tbaa !12 %198 = load i32, ptr @ecn_fallback_reorder, align 4, !tbaa !11 %199 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %197, i32 noundef %198) #2 br label %200 200: ; preds = %196, %192 %201 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 3 %202 = load i64, ptr %201, align 8, !tbaa !33 %203 = icmp sgt i64 %202, 0 br i1 %203, label %204, label %208 204: ; preds = %200 %205 = load i64, ptr %117, align 8, !tbaa !12 %206 = load i32, ptr @ecn_recv_ce, align 4, !tbaa !11 %207 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %205, i32 noundef %206) #2 br label %208 208: ; preds = %204, %200 %209 = getelementptr inbounds %struct.ifnet_stats_per_flow, ptr %0, i64 0, i32 4 %210 = load i64, ptr %209, align 8, !tbaa !34 %211 = icmp sgt i64 %210, 0 br i1 %211, label %212, label %216 212: ; preds = %208 %213 = load i64, ptr %117, align 8, !tbaa !12 %214 = load i32, ptr @ecn_recv_ece, align 4, !tbaa !11 %215 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %213, i32 noundef %214) #2 br label %216 216: ; preds = %212, %208 %217 = tail call i32 @tcp_flow_lim_stats(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %218 218: ; preds = %112, %216 %219 = tail call i32 @ifnet_lock_done(ptr noundef nonnull %1) #2 br label %220 220: ; preds = %218, %2, %4 ret void } declare i32 @IF_FULLY_ATTACHED(ptr noundef) local_unnamed_addr #1 declare i32 @ifnet_lock_shared(ptr noundef) local_unnamed_addr #1 declare i32 @IFP_PER_FLOW_STAT(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @FLOW_ECN_ENABLED(i32 noundef) local_unnamed_addr #1 declare i32 @ifnet_lock_done(ptr noundef) local_unnamed_addr #1 declare ptr @net_uptime(...) local_unnamed_addr #1 declare i32 @tcp_flow_ecn_perf_stats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tcp_flow_lim_stats(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 = !{!"ifnet_stats_per_flow", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 40} !13 = !{!14, !7, i64 16} !14 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !15 = !{!14, !7, i64 12} !16 = !{!6, !10, i64 8} !17 = !{!6, !10, i64 16} !18 = !{!6, !10, i64 96} !19 = !{!20, !21, i64 16} !20 = !{!"ifnet", !7, i64 0, !21, i64 8, !21, i64 16} !21 = !{!"any pointer", !8, i64 0} !22 = !{!23, !21, i64 8} !23 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !21, i64 8} !24 = !{!20, !21, i64 8} !25 = !{!26, !21, i64 8} !26 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !21, i64 8} !27 = !{!6, !10, i64 88} !28 = !{!6, !10, i64 80} !29 = !{!6, !10, i64 72} !30 = !{!6, !10, i64 64} !31 = !{!6, !10, i64 56} !32 = !{!6, !10, i64 48} !33 = !{!6, !10, i64 24} !34 = !{!6, !10, i64 32}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_subr.c_tcp_update_stats_per_flow.c' source_filename = "AnghaBench/darwin-xnu/bsd/netinet/extr_tcp_subr.c_tcp_update_stats_per_flow.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32, i32, i32, i32, i32 } %struct.TYPE_9__ = type { i32 } %struct.TYPE_10__ = type { i32 } @TE_SETUPSENT = common local_unnamed_addr global i32 0, align 4 @TE_CLIENT_SETUP = common local_unnamed_addr global i32 0, align 4 @ecn_client_setup = common local_unnamed_addr global i32 0, align 4 @ecn_client_success = common local_unnamed_addr global i32 0, align 4 @TE_LOST_SYN = common local_unnamed_addr global i32 0, align 4 @ecn_syn_lost = common local_unnamed_addr global i32 0, align 4 @ecn_peer_nosupport = common local_unnamed_addr global i32 0, align 4 @ecn_server_setup = common local_unnamed_addr global i32 0, align 4 @ecn_server_success = common local_unnamed_addr global i32 0, align 4 @ecn_synack_lost = common local_unnamed_addr global i32 0, align 4 @ecn_off_conn = common local_unnamed_addr global i32 0, align 4 @TE_RECV_ECN_CE = common local_unnamed_addr global i32 0, align 4 @tcpstat = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4 @ecn_conn_recv_ce = common local_unnamed_addr global i32 0, align 4 @TE_RECV_ECN_ECE = common local_unnamed_addr global i32 0, align 4 @ecn_conn_recv_ece = common local_unnamed_addr global i32 0, align 4 @ecn_conn_plce = common local_unnamed_addr global i32 0, align 4 @ecn_conn_noplce = common local_unnamed_addr global i32 0, align 4 @ecn_conn_plnoce = common local_unnamed_addr global i32 0, align 4 @ecn_on = common local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4 @ecn_off = common local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 4 @ecn_fallback_synloss = common local_unnamed_addr global i32 0, align 4 @ecn_fallback_droprst = common local_unnamed_addr global i32 0, align 4 @ecn_fallback_droprxmt = common local_unnamed_addr global i32 0, align 4 @ecn_fallback_ce = common local_unnamed_addr global i32 0, align 4 @ecn_fallback_reorder = common local_unnamed_addr global i32 0, align 4 @ecn_recv_ce = common local_unnamed_addr global i32 0, align 4 @ecn_recv_ece = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @tcp_update_stats_per_flow(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %1, null br i1 %3, label %220, label %4 4: ; preds = %2 %5 = tail call i32 @IF_FULLY_ATTACHED(ptr noundef nonnull %1) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %220, label %7 7: ; preds = %4 %8 = tail call i32 @ifnet_lock_shared(ptr noundef nonnull %1) #2 %9 = load i32, ptr %0, align 8, !tbaa !6 %10 = load i32, ptr @TE_SETUPSENT, align 4, !tbaa !12 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 br i1 %12, label %43, label %13 13: ; preds = %7 %14 = load i32, ptr @TE_CLIENT_SETUP, align 4, !tbaa !12 %15 = and i32 %14, %9 %16 = icmp eq i32 %15, 0 %17 = getelementptr inbounds i8, ptr %0, i64 40 %18 = load i64, ptr %17, align 8, !tbaa !13 br i1 %16, label %31, label %19 19: ; preds = %13 %20 = load i32, ptr @ecn_client_setup, align 4, !tbaa !12 %21 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %18, i32 noundef %20) #2 %22 = load i32, ptr %0, align 8, !tbaa !6 %23 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %22) #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %45 25: ; preds = %19 %26 = load i32, ptr %0, align 8, !tbaa !6 %27 = load i32, ptr @TE_LOST_SYN, align 4, !tbaa !12 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 %30 = select i1 %29, ptr @ecn_peer_nosupport, ptr @ecn_syn_lost br label %45 31: ; preds = %13 %32 = load i32, ptr @ecn_server_setup, align 4, !tbaa !12 %33 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %18, i32 noundef %32) #2 %34 = load i32, ptr %0, align 8, !tbaa !6 %35 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %34) #2 %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %45 37: ; preds = %31 %38 = load i32, ptr %0, align 8, !tbaa !6 %39 = load i32, ptr @TE_LOST_SYN, align 4, !tbaa !12 %40 = and i32 %39, %38 %41 = icmp eq i32 %40, 0 %42 = select i1 %41, ptr @ecn_peer_nosupport, ptr @ecn_synack_lost br label %45 43: ; preds = %7 %44 = getelementptr inbounds i8, ptr %0, i64 40 br label %45 45: ; preds = %31, %19, %37, %25, %43 %46 = phi ptr [ @ecn_off_conn, %43 ], [ %30, %25 ], [ %42, %37 ], [ @ecn_client_success, %19 ], [ @ecn_server_success, %31 ] %47 = phi ptr [ %44, %43 ], [ %17, %25 ], [ %17, %37 ], [ %17, %19 ], [ %17, %31 ] %48 = load i64, ptr %47, align 8, !tbaa !13 %49 = load i32, ptr %46, align 4, !tbaa !12 %50 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %48, i32 noundef %49) #2 %51 = load i32, ptr %0, align 8, !tbaa !6 %52 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %51) #2 %53 = icmp eq i64 %52, 0 br i1 %53, label %112, label %54 54: ; preds = %45 %55 = load i32, ptr %0, align 8, !tbaa !6 %56 = load i32, ptr @TE_RECV_ECN_CE, align 4, !tbaa !12 %57 = and i32 %56, %55 %58 = icmp eq i32 %57, 0 br i1 %58, label %67, label %59 59: ; preds = %54 %60 = load i32, ptr getelementptr inbounds (i8, ptr @tcpstat, i64 16), align 4, !tbaa !14 %61 = add nsw i32 %60, 1 store i32 %61, ptr getelementptr inbounds (i8, ptr @tcpstat, i64 16), align 4, !tbaa !14 %62 = getelementptr inbounds i8, ptr %0, i64 40 %63 = load i64, ptr %62, align 8, !tbaa !13 %64 = load i32, ptr @ecn_conn_recv_ce, align 4, !tbaa !12 %65 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %63, i32 noundef %64) #2 %66 = load i32, ptr %0, align 8, !tbaa !6 br label %67 67: ; preds = %59, %54 %68 = phi i32 [ %66, %59 ], [ %55, %54 ] %69 = load i32, ptr @TE_RECV_ECN_ECE, align 4, !tbaa !12 %70 = and i32 %69, %68 %71 = icmp eq i32 %70, 0 br i1 %71, label %81, label %72 72: ; preds = %67 %73 = load i32, ptr getelementptr inbounds (i8, ptr @tcpstat, i64 12), align 4, !tbaa !16 %74 = add nsw i32 %73, 1 store i32 %74, ptr getelementptr inbounds (i8, ptr @tcpstat, i64 12), align 4, !tbaa !16 %75 = getelementptr inbounds i8, ptr %0, i64 40 %76 = load i64, ptr %75, align 8, !tbaa !13 %77 = load i32, ptr @ecn_conn_recv_ece, align 4, !tbaa !12 %78 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %76, i32 noundef %77) #2 %79 = load i32, ptr %0, align 8, !tbaa !6 %80 = load i32, ptr @TE_RECV_ECN_ECE, align 4, !tbaa !12 br label %81 81: ; preds = %72, %67 %82 = phi i32 [ %80, %72 ], [ %69, %67 ] %83 = phi i32 [ %79, %72 ], [ %68, %67 ] %84 = load i32, ptr @TE_RECV_ECN_CE, align 4, !tbaa !12 %85 = or i32 %82, %84 %86 = and i32 %85, %83 %87 = icmp eq i32 %86, 0 %88 = getelementptr inbounds i8, ptr %0, i64 8 %89 = load i64, ptr %88, align 8, !tbaa !17 %90 = icmp sgt i64 %89, 0 br i1 %87, label %98, label %91 91: ; preds = %81 br i1 %90, label %103, label %92 92: ; preds = %91 %93 = getelementptr inbounds i8, ptr %0, i64 16 %94 = load i64, ptr %93, align 8, !tbaa !18 %95 = icmp sgt i64 %94, 0 %96 = select i1 %95, ptr getelementptr inbounds (i8, ptr @tcpstat, i64 8), ptr getelementptr inbounds (i8, ptr @tcpstat, i64 4) %97 = select i1 %95, ptr @ecn_conn_plce, ptr @ecn_conn_noplce br label %103 98: ; preds = %81 br i1 %90, label %103, label %99 99: ; preds = %98 %100 = getelementptr inbounds i8, ptr %0, i64 16 %101 = load i64, ptr %100, align 8, !tbaa !18 %102 = icmp sgt i64 %101, 0 br i1 %102, label %103, label %112 103: ; preds = %92, %98, %99, %91 %104 = phi ptr [ getelementptr inbounds (i8, ptr @tcpstat, i64 8), %91 ], [ @tcpstat, %99 ], [ @tcpstat, %98 ], [ %96, %92 ] %105 = phi ptr [ @ecn_conn_plce, %91 ], [ @ecn_conn_plnoce, %99 ], [ @ecn_conn_plnoce, %98 ], [ %97, %92 ] %106 = load i32, ptr %104, align 4, !tbaa !12 %107 = add nsw i32 %106, 1 store i32 %107, ptr %104, align 4, !tbaa !12 %108 = getelementptr inbounds i8, ptr %0, i64 40 %109 = load i64, ptr %108, align 8, !tbaa !13 %110 = load i32, ptr %105, align 4, !tbaa !12 %111 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %109, i32 noundef %110) #2 br label %112 112: ; preds = %103, %99, %45 %113 = getelementptr inbounds i8, ptr %0, i64 96 %114 = load i64, ptr %113, align 8, !tbaa !19 %115 = icmp eq i64 %114, 0 br i1 %115, label %116, label %218 116: ; preds = %112 %117 = getelementptr inbounds i8, ptr %0, i64 40 %118 = load i64, ptr %117, align 8, !tbaa !13 %119 = icmp eq i64 %118, 0 %120 = tail call ptr @net_uptime() #2 br i1 %119, label %134, label %121 121: ; preds = %116 %122 = getelementptr inbounds i8, ptr %1, i64 16 %123 = load ptr, ptr %122, align 8, !tbaa !20 %124 = getelementptr inbounds i8, ptr %123, i64 8 store ptr %120, ptr %124, align 8, !tbaa !23 %125 = load i32, ptr %0, align 8, !tbaa !6 %126 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %125) #2 %127 = icmp eq i64 %126, 0 %128 = load ptr, ptr %122, align 8, !tbaa !20 br i1 %127, label %132, label %129 129: ; preds = %121 %130 = getelementptr inbounds i8, ptr %128, i64 4 %131 = tail call i32 @tcp_flow_ecn_perf_stats(ptr noundef nonnull %0, ptr noundef nonnull %130) #2 br label %147 132: ; preds = %121 %133 = tail call i32 @tcp_flow_ecn_perf_stats(ptr noundef nonnull %0, ptr noundef %128) #2 br label %147 134: ; preds = %116 %135 = getelementptr inbounds i8, ptr %1, i64 8 %136 = load ptr, ptr %135, align 8, !tbaa !25 %137 = getelementptr inbounds i8, ptr %136, i64 8 store ptr %120, ptr %137, align 8, !tbaa !26 %138 = load i32, ptr %0, align 8, !tbaa !6 %139 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %138) #2 %140 = icmp eq i64 %139, 0 %141 = load ptr, ptr %135, align 8, !tbaa !25 br i1 %140, label %145, label %142 142: ; preds = %134 %143 = getelementptr inbounds i8, ptr %141, i64 4 %144 = tail call i32 @tcp_flow_ecn_perf_stats(ptr noundef nonnull %0, ptr noundef nonnull %143) #2 br label %147 145: ; preds = %134 %146 = tail call i32 @tcp_flow_ecn_perf_stats(ptr noundef nonnull %0, ptr noundef %141) #2 br label %147 147: ; preds = %142, %145, %129, %132 %148 = getelementptr inbounds i8, ptr %0, i64 88 %149 = load i64, ptr %148, align 8, !tbaa !28 %150 = icmp eq i64 %149, 0 br i1 %150, label %160, label %151 151: ; preds = %147 %152 = load i32, ptr %0, align 8, !tbaa !6 %153 = tail call i64 @FLOW_ECN_ENABLED(i32 noundef %152) #2 %154 = icmp eq i64 %153, 0 %155 = load i64, ptr %117, align 8, !tbaa !13 %156 = load i32, ptr @ecn_off, align 4 %157 = load i32, ptr @ecn_on, align 4 %158 = select i1 %154, i32 %156, i32 %157 %159 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %155, i32 noundef %158) #2 br label %160 160: ; preds = %151, %147 %161 = getelementptr inbounds i8, ptr %0, i64 80 %162 = load i64, ptr %161, align 8, !tbaa !29 %163 = icmp eq i64 %162, 0 br i1 %163, label %168, label %164 164: ; preds = %160 %165 = load i64, ptr %117, align 8, !tbaa !13 %166 = load i32, ptr @ecn_fallback_synloss, align 4, !tbaa !12 %167 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %165, i32 noundef %166) #2 br label %168 168: ; preds = %164, %160 %169 = getelementptr inbounds i8, ptr %0, i64 72 %170 = load i64, ptr %169, align 8, !tbaa !30 %171 = icmp eq i64 %170, 0 br i1 %171, label %176, label %172 172: ; preds = %168 %173 = load i64, ptr %117, align 8, !tbaa !13 %174 = load i32, ptr @ecn_fallback_droprst, align 4, !tbaa !12 %175 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %173, i32 noundef %174) #2 br label %176 176: ; preds = %172, %168 %177 = getelementptr inbounds i8, ptr %0, i64 64 %178 = load i64, ptr %177, align 8, !tbaa !31 %179 = icmp eq i64 %178, 0 br i1 %179, label %184, label %180 180: ; preds = %176 %181 = load i64, ptr %117, align 8, !tbaa !13 %182 = load i32, ptr @ecn_fallback_droprxmt, align 4, !tbaa !12 %183 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %181, i32 noundef %182) #2 br label %184 184: ; preds = %180, %176 %185 = getelementptr inbounds i8, ptr %0, i64 56 %186 = load i64, ptr %185, align 8, !tbaa !32 %187 = icmp eq i64 %186, 0 br i1 %187, label %192, label %188 188: ; preds = %184 %189 = load i64, ptr %117, align 8, !tbaa !13 %190 = load i32, ptr @ecn_fallback_ce, align 4, !tbaa !12 %191 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %189, i32 noundef %190) #2 br label %192 192: ; preds = %188, %184 %193 = getelementptr inbounds i8, ptr %0, i64 48 %194 = load i64, ptr %193, align 8, !tbaa !33 %195 = icmp eq i64 %194, 0 br i1 %195, label %200, label %196 196: ; preds = %192 %197 = load i64, ptr %117, align 8, !tbaa !13 %198 = load i32, ptr @ecn_fallback_reorder, align 4, !tbaa !12 %199 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %197, i32 noundef %198) #2 br label %200 200: ; preds = %196, %192 %201 = getelementptr inbounds i8, ptr %0, i64 24 %202 = load i64, ptr %201, align 8, !tbaa !34 %203 = icmp sgt i64 %202, 0 br i1 %203, label %204, label %208 204: ; preds = %200 %205 = load i64, ptr %117, align 8, !tbaa !13 %206 = load i32, ptr @ecn_recv_ce, align 4, !tbaa !12 %207 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %205, i32 noundef %206) #2 br label %208 208: ; preds = %204, %200 %209 = getelementptr inbounds i8, ptr %0, i64 32 %210 = load i64, ptr %209, align 8, !tbaa !35 %211 = icmp sgt i64 %210, 0 br i1 %211, label %212, label %216 212: ; preds = %208 %213 = load i64, ptr %117, align 8, !tbaa !13 %214 = load i32, ptr @ecn_recv_ece, align 4, !tbaa !12 %215 = tail call i32 @IFP_PER_FLOW_STAT(i64 noundef %213, i32 noundef %214) #2 br label %216 216: ; preds = %212, %208 %217 = tail call i32 @tcp_flow_lim_stats(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %218 218: ; preds = %112, %216 %219 = tail call i32 @ifnet_lock_done(ptr noundef nonnull %1) #2 br label %220 220: ; preds = %218, %2, %4 ret void } declare i32 @IF_FULLY_ATTACHED(ptr noundef) local_unnamed_addr #1 declare i32 @ifnet_lock_shared(ptr noundef) local_unnamed_addr #1 declare i32 @IFP_PER_FLOW_STAT(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @FLOW_ECN_ENABLED(i32 noundef) local_unnamed_addr #1 declare i32 @ifnet_lock_done(ptr noundef) local_unnamed_addr #1 declare ptr @net_uptime(...) local_unnamed_addr #1 declare i32 @tcp_flow_ecn_perf_stats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tcp_flow_lim_stats(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 = !{!"ifnet_stats_per_flow", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 40} !14 = !{!15, !8, i64 16} !15 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !16 = !{!15, !8, i64 12} !17 = !{!7, !11, i64 8} !18 = !{!7, !11, i64 16} !19 = !{!7, !11, i64 96} !20 = !{!21, !22, i64 16} !21 = !{!"ifnet", !8, i64 0, !22, i64 8, !22, i64 16} !22 = !{!"any pointer", !9, i64 0} !23 = !{!24, !22, i64 8} !24 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !22, i64 8} !25 = !{!21, !22, i64 8} !26 = !{!27, !22, i64 8} !27 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !22, i64 8} !28 = !{!7, !11, i64 88} !29 = !{!7, !11, i64 80} !30 = !{!7, !11, i64 72} !31 = !{!7, !11, i64 64} !32 = !{!7, !11, i64 56} !33 = !{!7, !11, i64 48} !34 = !{!7, !11, i64 24} !35 = !{!7, !11, i64 32}
darwin-xnu_bsd_netinet_extr_tcp_subr.c_tcp_update_stats_per_flow
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rose/extr_rose_link.c_rose_transmit_link.c' source_filename = "AnghaBench/fastsocket/kernel/net/rose/extr_rose_link.c_rose_transmit_link.c" target datalayout = "e-m:e-p270:32:32-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.rose_neigh = type { i64, i32, i64, i64 } @AX25_P_ROSE = dso_local local_unnamed_addr global i32 0, align 4 @FW_ACCEPT = dso_local local_unnamed_addr global i64 0, align 8 @PF_ROSE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @rose_transmit_link(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.rose_neigh, ptr %1, i64 0, i32 3 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @rose_loopback_queue(ptr noundef %0, ptr noundef nonnull %1) #2 br label %33 8: ; preds = %2 %9 = tail call i32 @rose_link_up(ptr noundef nonnull %1) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = getelementptr inbounds %struct.rose_neigh, ptr %1, i64 0, i32 2 store i64 0, ptr %12, align 8, !tbaa !11 br label %13 13: ; preds = %11, %8 %14 = tail call ptr @skb_push(ptr noundef %0, i32 noundef 1) #2 %15 = load i32, ptr @AX25_P_ROSE, align 4, !tbaa !12 %16 = trunc i32 %15 to i8 store i8 %16, ptr %14, align 1, !tbaa !13 %17 = getelementptr inbounds %struct.rose_neigh, ptr %1, i64 0, i32 2 %18 = load i64, ptr %17, align 8, !tbaa !11 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %20 20: ; preds = %13 %21 = tail call i32 @rose_send_frame(ptr noundef %0, ptr noundef nonnull %1) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %33 23: ; preds = %20 %24 = tail call i32 @kfree_skb(ptr noundef %0) #2 br label %33 25: ; preds = %13 %26 = getelementptr inbounds %struct.rose_neigh, ptr %1, i64 0, i32 1 %27 = tail call i32 @skb_queue_tail(ptr noundef nonnull %26, ptr noundef %0) #2 %28 = tail call i32 @rose_t0timer_running(ptr noundef nonnull %1) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = tail call i32 @rose_transmit_restart_request(ptr noundef nonnull %1) #2 store i64 0, ptr %1, align 8, !tbaa !14 %32 = tail call i32 @rose_start_t0timer(ptr noundef nonnull %1) #2 br label %33 33: ; preds = %23, %20, %30, %25, %6 ret void } declare i32 @rose_loopback_queue(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rose_link_up(ptr noundef) local_unnamed_addr #1 declare ptr @skb_push(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rose_send_frame(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @skb_queue_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rose_t0timer_running(ptr noundef) local_unnamed_addr #1 declare i32 @rose_transmit_restart_request(ptr noundef) local_unnamed_addr #1 declare i32 @rose_start_t0timer(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"rose_neigh", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 16} !12 = !{!10, !10, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rose/extr_rose_link.c_rose_transmit_link.c' source_filename = "AnghaBench/fastsocket/kernel/net/rose/extr_rose_link.c_rose_transmit_link.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AX25_P_ROSE = common local_unnamed_addr global i32 0, align 4 @FW_ACCEPT = common local_unnamed_addr global i64 0, align 8 @PF_ROSE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @rose_transmit_link(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 24 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @rose_loopback_queue(ptr noundef %0, ptr noundef nonnull %1) #2 br label %33 8: ; preds = %2 %9 = tail call i32 @rose_link_up(ptr noundef nonnull %1) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %1, i64 16 store i64 0, ptr %12, align 8, !tbaa !12 br label %13 13: ; preds = %11, %8 %14 = tail call ptr @skb_push(ptr noundef %0, i32 noundef 1) #2 %15 = load i32, ptr @AX25_P_ROSE, align 4, !tbaa !13 %16 = trunc i32 %15 to i8 store i8 %16, ptr %14, align 1, !tbaa !14 %17 = getelementptr inbounds i8, ptr %1, i64 16 %18 = load i64, ptr %17, align 8, !tbaa !12 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %20 20: ; preds = %13 %21 = tail call i32 @rose_send_frame(ptr noundef %0, ptr noundef nonnull %1) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %33 23: ; preds = %20 %24 = tail call i32 @kfree_skb(ptr noundef %0) #2 br label %33 25: ; preds = %13 %26 = getelementptr inbounds i8, ptr %1, i64 8 %27 = tail call i32 @skb_queue_tail(ptr noundef nonnull %26, ptr noundef %0) #2 %28 = tail call i32 @rose_t0timer_running(ptr noundef nonnull %1) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = tail call i32 @rose_transmit_restart_request(ptr noundef nonnull %1) #2 store i64 0, ptr %1, align 8, !tbaa !15 %32 = tail call i32 @rose_start_t0timer(ptr noundef nonnull %1) #2 br label %33 33: ; preds = %23, %20, %30, %25, %6 ret void } declare i32 @rose_loopback_queue(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rose_link_up(ptr noundef) local_unnamed_addr #1 declare ptr @skb_push(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rose_send_frame(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @skb_queue_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rose_t0timer_running(ptr noundef) local_unnamed_addr #1 declare i32 @rose_transmit_restart_request(ptr noundef) local_unnamed_addr #1 declare i32 @rose_start_t0timer(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"rose_neigh", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 16} !13 = !{!11, !11, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!7, !8, i64 0}
fastsocket_kernel_net_rose_extr_rose_link.c_rose_transmit_link
; ModuleID = 'AnghaBench/git/extr_mailinfo.c_is_rfc2822_header.c' source_filename = "AnghaBench/git/extr_mailinfo.c_is_rfc2822_header.c" target datalayout = "e-m:e-p270:32:32-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 [6 x i8] c"From \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c">From \00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_rfc2822_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @is_rfc2822_header(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i64 @starts_with(ptr noundef %2, ptr noundef nonnull @.str) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %19 5: ; preds = %1 %6 = tail call i64 @starts_with(ptr noundef %2, ptr noundef nonnull @.str.1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %19 8: ; preds = %5, %11 %9 = phi ptr [ %12, %11 ], [ %2, %5 ] %10 = load i8, ptr %9, align 1, !tbaa !10 switch i8 %10, label %11 [ i8 0, label %19 i8 58, label %18 ] 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %9, i64 1 %13 = add i8 %10, -33 %14 = icmp ult i8 %13, 25 %15 = add i8 %10, -59 %16 = icmp ult i8 %15, 68 %17 = or i1 %14, %16 br i1 %17, label %8, label %19, !llvm.loop !11 18: ; preds = %8 br label %19 19: ; preds = %8, %11, %18, %1, %5 %20 = phi i32 [ 1, %5 ], [ 1, %1 ], [ 1, %18 ], [ 0, %11 ], [ 0, %8 ] ret i32 %20 } declare i64 @starts_with(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 = !{!"strbuf", !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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/git/extr_mailinfo.c_is_rfc2822_header.c' source_filename = "AnghaBench/git/extr_mailinfo.c_is_rfc2822_header.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 [6 x i8] c"From \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c">From \00", align 1 @llvm.used = appending global [1 x ptr] [ptr @is_rfc2822_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @is_rfc2822_header(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i64 @starts_with(ptr noundef %2, ptr noundef nonnull @.str) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %19 5: ; preds = %1 %6 = tail call i64 @starts_with(ptr noundef %2, ptr noundef nonnull @.str.1) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %19 8: ; preds = %5, %11 %9 = phi ptr [ %12, %11 ], [ %2, %5 ] %10 = load i8, ptr %9, align 1, !tbaa !11 switch i8 %10, label %11 [ i8 0, label %19 i8 58, label %18 ] 11: ; preds = %8 %12 = getelementptr inbounds i8, ptr %9, i64 1 %13 = add i8 %10, -33 %14 = icmp ult i8 %13, 25 %15 = add i8 %10, -59 %16 = icmp ult i8 %15, 68 %17 = or i1 %14, %16 br i1 %17, label %8, label %19, !llvm.loop !12 18: ; preds = %8 br label %19 19: ; preds = %8, %11, %18, %1, %5 %20 = phi i32 [ 1, %5 ], [ 1, %1 ], [ 1, %18 ], [ 0, %11 ], [ 0, %8 ] ret i32 %20 } declare i64 @starts_with(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 = !{!"strbuf", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!9, !9, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
git_extr_mailinfo.c_is_rfc2822_header
; ModuleID = 'AnghaBench/php-src/ext/date/lib/extr_parse_iso_intervals.c_timelib_string.c' source_filename = "AnghaBench/php-src/ext/date/lib/extr_parse_iso_intervals.c_timelib_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_3__ = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @timelib_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @timelib_string(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !10 %5 = add i64 %3, 1 %6 = sub i64 %5, %4 %7 = tail call ptr @timelib_calloc(i32 noundef 1, i64 noundef %6) #2 %8 = load i64, ptr %0, align 8, !tbaa !10 %9 = load i64, ptr %2, align 8, !tbaa !5 %10 = sub nsw i64 %9, %8 %11 = tail call i32 @memcpy(ptr noundef %7, i64 noundef %8, i64 noundef %10) #2 ret ptr %7 } declare ptr @timelib_calloc(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i64 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, !7, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/date/lib/extr_parse_iso_intervals.c_timelib_string.c' source_filename = "AnghaBench/php-src/ext/date/lib/extr_parse_iso_intervals.c_timelib_string.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 @timelib_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @timelib_string(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !11 %5 = add i64 %3, 1 %6 = sub i64 %5, %4 %7 = tail call ptr @timelib_calloc(i32 noundef 1, i64 noundef %6) #2 %8 = load i64, ptr %0, align 8, !tbaa !11 %9 = load i64, ptr %2, align 8, !tbaa !6 %10 = sub nsw i64 %9, %8 %11 = tail call i32 @memcpy(ptr noundef %7, i64 noundef %8, i64 noundef %10) #2 ret ptr %7 } declare ptr @timelib_calloc(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i64 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, !8, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
php-src_ext_date_lib_extr_parse_iso_intervals.c_timelib_string
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_checkpoint.c___prepare_cp_block.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_checkpoint.c___prepare_cp_block.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.f2fs_checkpoint = type { ptr, ptr, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @__prepare_cp_block], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__prepare_cp_block(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @F2FS_CKPT(ptr noundef %0) #3 %4 = tail call ptr @NM_I(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = load i32, ptr %4, align 4, !tbaa !5 store i32 %5, ptr %2, align 4, !tbaa !10 %6 = call i32 @next_free_nid(ptr noundef %0, ptr noundef nonnull %2) #3 %7 = call i32 @valid_user_blocks(ptr noundef %0) #3 %8 = call i32 @cpu_to_le64(i32 noundef %7) #3 %9 = getelementptr inbounds %struct.f2fs_checkpoint, ptr %3, i64 0, i32 3 store i32 %8, ptr %9, align 8, !tbaa !11 %10 = call i32 @valid_node_count(ptr noundef %0) #3 %11 = call ptr @cpu_to_le32(i32 noundef %10) #3 %12 = getelementptr inbounds %struct.f2fs_checkpoint, ptr %3, i64 0, i32 2 store ptr %11, ptr %12, align 8, !tbaa !14 %13 = call i32 @valid_inode_count(ptr noundef %0) #3 %14 = call ptr @cpu_to_le32(i32 noundef %13) #3 %15 = getelementptr inbounds %struct.f2fs_checkpoint, ptr %3, i64 0, i32 1 store ptr %14, ptr %15, align 8, !tbaa !15 %16 = load i32, ptr %2, align 4, !tbaa !10 %17 = call ptr @cpu_to_le32(i32 noundef %16) #3 store ptr %17, ptr %3, align 8, !tbaa !16 call void @llvm.lifetime.end.p0(i64 4, 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 ptr @F2FS_CKPT(ptr noundef) local_unnamed_addr #2 declare ptr @NM_I(ptr noundef) local_unnamed_addr #2 declare i32 @next_free_nid(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le64(i32 noundef) local_unnamed_addr #2 declare i32 @valid_user_blocks(ptr noundef) local_unnamed_addr #2 declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @valid_node_count(ptr noundef) local_unnamed_addr #2 declare i32 @valid_inode_count(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 = !{!"f2fs_nm_info", !7, i64 0} !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 24} !12 = !{!"f2fs_checkpoint", !13, i64 0, !13, i64 8, !13, i64 16, !7, i64 24} !13 = !{!"any pointer", !8, i64 0} !14 = !{!12, !13, i64 16} !15 = !{!12, !13, i64 8} !16 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_checkpoint.c___prepare_cp_block.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_checkpoint.c___prepare_cp_block.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 @__prepare_cp_block], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__prepare_cp_block(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @F2FS_CKPT(ptr noundef %0) #3 %4 = tail call ptr @NM_I(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = load i32, ptr %4, align 4, !tbaa !6 store i32 %5, ptr %2, align 4, !tbaa !11 %6 = call i32 @next_free_nid(ptr noundef %0, ptr noundef nonnull %2) #3 %7 = call i32 @valid_user_blocks(ptr noundef %0) #3 %8 = call i32 @cpu_to_le64(i32 noundef %7) #3 %9 = getelementptr inbounds i8, ptr %3, i64 24 store i32 %8, ptr %9, align 8, !tbaa !12 %10 = call i32 @valid_node_count(ptr noundef %0) #3 %11 = call ptr @cpu_to_le32(i32 noundef %10) #3 %12 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %11, ptr %12, align 8, !tbaa !15 %13 = call i32 @valid_inode_count(ptr noundef %0) #3 %14 = call ptr @cpu_to_le32(i32 noundef %13) #3 %15 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %14, ptr %15, align 8, !tbaa !16 %16 = load i32, ptr %2, align 4, !tbaa !11 %17 = call ptr @cpu_to_le32(i32 noundef %16) #3 store ptr %17, ptr %3, align 8, !tbaa !17 call void @llvm.lifetime.end.p0(i64 4, 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 ptr @F2FS_CKPT(ptr noundef) local_unnamed_addr #2 declare ptr @NM_I(ptr noundef) local_unnamed_addr #2 declare i32 @next_free_nid(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le64(i32 noundef) local_unnamed_addr #2 declare i32 @valid_user_blocks(ptr noundef) local_unnamed_addr #2 declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @valid_node_count(ptr noundef) local_unnamed_addr #2 declare i32 @valid_inode_count(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 = !{!"f2fs_nm_info", !8, i64 0} !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 24} !13 = !{!"f2fs_checkpoint", !14, i64 0, !14, i64 8, !14, i64 16, !8, i64 24} !14 = !{!"any pointer", !9, i64 0} !15 = !{!13, !14, i64 16} !16 = !{!13, !14, i64 8} !17 = !{!13, !14, i64 0}
linux_fs_f2fs_extr_checkpoint.c___prepare_cp_block
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_remove.c' source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } %struct.ibmvfc_host = type { ptr, i32, i32 } @ENTER = dso_local local_unnamed_addr global i32 0, align 4 @ibmvfc_trace_attr = dso_local global i32 0, align 4 @IBMVFC_HOST_OFFLINE = dso_local local_unnamed_addr global i32 0, align 4 @DID_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ibmvfc_driver_lock = dso_local global i32 0, align 4 @LEAVE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ibmvfc_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ibmvfc_remove(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1 %5 = tail call i32 @ibmvfc_remove_trace_file(ptr noundef nonnull %4, ptr noundef nonnull @ibmvfc_trace_attr) #2 %6 = load ptr, ptr %2, align 8, !tbaa !5 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call i32 @spin_lock_irqsave(i32 noundef %7, i64 noundef undef) #2 %9 = load i32, ptr @IBMVFC_HOST_OFFLINE, align 4, !tbaa !14 %10 = tail call i32 @ibmvfc_link_down(ptr noundef nonnull %2, i32 noundef %9) #2 %11 = load ptr, ptr %2, align 8, !tbaa !5 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = tail call i32 @spin_unlock_irqrestore(i32 noundef %12, i64 noundef undef) #2 %14 = tail call i32 @ibmvfc_wait_while_resetting(ptr noundef nonnull %2) #2 %15 = tail call i32 @ibmvfc_release_crq_queue(ptr noundef nonnull %2) #2 %16 = getelementptr inbounds %struct.ibmvfc_host, ptr %2, i64 0, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = tail call i32 @kthread_stop(i32 noundef %17) #2 %19 = load ptr, ptr %2, align 8, !tbaa !5 %20 = tail call i32 @fc_remove_host(ptr noundef %19) #2 %21 = load ptr, ptr %2, align 8, !tbaa !5 %22 = tail call i32 @scsi_remove_host(ptr noundef %21) #2 %23 = load ptr, ptr %2, align 8, !tbaa !5 %24 = load i32, ptr %23, align 4, !tbaa !11 %25 = tail call i32 @spin_lock_irqsave(i32 noundef %24, i64 noundef undef) #2 %26 = load i32, ptr @DID_ERROR, align 4, !tbaa !14 %27 = tail call i32 @ibmvfc_purge_requests(ptr noundef nonnull %2, i32 noundef %26) #2 %28 = load ptr, ptr %2, align 8, !tbaa !5 %29 = load i32, ptr %28, align 4, !tbaa !11 %30 = tail call i32 @spin_unlock_irqrestore(i32 noundef %29, i64 noundef undef) #2 %31 = tail call i32 @ibmvfc_free_event_pool(ptr noundef nonnull %2) #2 %32 = tail call i32 @ibmvfc_free_mem(ptr noundef nonnull %2) #2 %33 = tail call i32 @spin_lock(ptr noundef nonnull @ibmvfc_driver_lock) #2 %34 = getelementptr inbounds %struct.ibmvfc_host, ptr %2, i64 0, i32 1 %35 = tail call i32 @list_del(ptr noundef nonnull %34) #2 %36 = tail call i32 @spin_unlock(ptr noundef nonnull @ibmvfc_driver_lock) #2 %37 = load ptr, ptr %2, align 8, !tbaa !5 %38 = tail call i32 @scsi_host_put(ptr noundef %37) #2 ret i32 0 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @ibmvfc_remove_trace_file(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ibmvfc_link_down(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ibmvfc_wait_while_resetting(ptr noundef) local_unnamed_addr #1 declare i32 @ibmvfc_release_crq_queue(ptr noundef) local_unnamed_addr #1 declare i32 @kthread_stop(i32 noundef) local_unnamed_addr #1 declare i32 @fc_remove_host(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_remove_host(ptr noundef) local_unnamed_addr #1 declare i32 @ibmvfc_purge_requests(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ibmvfc_free_event_pool(ptr noundef) local_unnamed_addr #1 declare i32 @ibmvfc_free_mem(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_host_put(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 = !{!"ibmvfc_host", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_6__", !10, i64 0, !13, i64 4} !13 = !{!"TYPE_5__", !10, i64 0} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_remove.c' source_filename = "AnghaBench/linux/drivers/scsi/ibmvscsi/extr_ibmvfc.c_ibmvfc_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENTER = common local_unnamed_addr global i32 0, align 4 @ibmvfc_trace_attr = common global i32 0, align 4 @IBMVFC_HOST_OFFLINE = common local_unnamed_addr global i32 0, align 4 @DID_ERROR = common local_unnamed_addr global i32 0, align 4 @ibmvfc_driver_lock = common global i32 0, align 4 @LEAVE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ibmvfc_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ibmvfc_remove(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 4 %5 = tail call i32 @ibmvfc_remove_trace_file(ptr noundef nonnull %4, ptr noundef nonnull @ibmvfc_trace_attr) #2 %6 = load ptr, ptr %2, align 8, !tbaa !6 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = tail call i32 @spin_lock_irqsave(i32 noundef %7, i64 noundef undef) #2 %9 = load i32, ptr @IBMVFC_HOST_OFFLINE, align 4, !tbaa !15 %10 = tail call i32 @ibmvfc_link_down(ptr noundef nonnull %2, i32 noundef %9) #2 %11 = load ptr, ptr %2, align 8, !tbaa !6 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = tail call i32 @spin_unlock_irqrestore(i32 noundef %12, i64 noundef undef) #2 %14 = tail call i32 @ibmvfc_wait_while_resetting(ptr noundef nonnull %2) #2 %15 = tail call i32 @ibmvfc_release_crq_queue(ptr noundef nonnull %2) #2 %16 = getelementptr inbounds i8, ptr %2, i64 12 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = tail call i32 @kthread_stop(i32 noundef %17) #2 %19 = load ptr, ptr %2, align 8, !tbaa !6 %20 = tail call i32 @fc_remove_host(ptr noundef %19) #2 %21 = load ptr, ptr %2, align 8, !tbaa !6 %22 = tail call i32 @scsi_remove_host(ptr noundef %21) #2 %23 = load ptr, ptr %2, align 8, !tbaa !6 %24 = load i32, ptr %23, align 4, !tbaa !12 %25 = tail call i32 @spin_lock_irqsave(i32 noundef %24, i64 noundef undef) #2 %26 = load i32, ptr @DID_ERROR, align 4, !tbaa !15 %27 = tail call i32 @ibmvfc_purge_requests(ptr noundef nonnull %2, i32 noundef %26) #2 %28 = load ptr, ptr %2, align 8, !tbaa !6 %29 = load i32, ptr %28, align 4, !tbaa !12 %30 = tail call i32 @spin_unlock_irqrestore(i32 noundef %29, i64 noundef undef) #2 %31 = tail call i32 @ibmvfc_free_event_pool(ptr noundef nonnull %2) #2 %32 = tail call i32 @ibmvfc_free_mem(ptr noundef nonnull %2) #2 %33 = tail call i32 @spin_lock(ptr noundef nonnull @ibmvfc_driver_lock) #2 %34 = getelementptr inbounds i8, ptr %2, i64 8 %35 = tail call i32 @list_del(ptr noundef nonnull %34) #2 %36 = tail call i32 @spin_unlock(ptr noundef nonnull @ibmvfc_driver_lock) #2 %37 = load ptr, ptr %2, align 8, !tbaa !6 %38 = tail call i32 @scsi_host_put(ptr noundef %37) #2 ret i32 0 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @ibmvfc_remove_trace_file(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ibmvfc_link_down(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ibmvfc_wait_while_resetting(ptr noundef) local_unnamed_addr #1 declare i32 @ibmvfc_release_crq_queue(ptr noundef) local_unnamed_addr #1 declare i32 @kthread_stop(i32 noundef) local_unnamed_addr #1 declare i32 @fc_remove_host(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_remove_host(ptr noundef) local_unnamed_addr #1 declare i32 @ibmvfc_purge_requests(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ibmvfc_free_event_pool(ptr noundef) local_unnamed_addr #1 declare i32 @ibmvfc_free_mem(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @scsi_host_put(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 = !{!"ibmvfc_host", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_6__", !11, i64 0, !14, i64 4} !14 = !{!"TYPE_5__", !11, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 12}
linux_drivers_scsi_ibmvscsi_extr_ibmvfc.c_ibmvfc_remove
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_mc13xxx-core.c_mc13xxx_handler_adcdone.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_mc13xxx-core.c_mc13xxx_handler_adcdone.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mc13xxx_handler_adcdone], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mc13xxx_handler_adcdone(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @complete_all(ptr noundef %1) #2 %4 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 ret i32 %4 } declare i32 @complete_all(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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/mfd/extr_mc13xxx-core.c_mc13xxx_handler_adcdone.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_mc13xxx-core.c_mc13xxx_handler_adcdone.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mc13xxx_handler_adcdone], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mc13xxx_handler_adcdone(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @complete_all(ptr noundef %1) #2 %4 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 ret i32 %4 } declare i32 @complete_all(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_mfd_extr_mc13xxx-core.c_mc13xxx_handler_adcdone
; ModuleID = 'AnghaBench/linux/net/xfrm/extr_xfrm_user.c_copy_from_user_sec_ctx.c' source_filename = "AnghaBench/linux/net/xfrm/extr_xfrm_user.c_copy_from_user_sec_ctx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @XFRMA_SEC_CTX = dso_local local_unnamed_addr global i64 0, align 8 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @copy_from_user_sec_ctx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @copy_from_user_sec_ctx(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr @XFRMA_SEC_CTX, align 8, !tbaa !5 %4 = getelementptr inbounds ptr, ptr %1, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !9 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %2 %8 = tail call ptr @nla_data(ptr noundef nonnull %5) #2 %9 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %10 = tail call i32 @security_xfrm_policy_alloc(ptr noundef %0, ptr noundef %8, i32 noundef %9) #2 br label %11 11: ; preds = %2, %7 %12 = phi i32 [ %10, %7 ], [ 0, %2 ] ret i32 %12 } declare ptr @nla_data(ptr noundef) local_unnamed_addr #1 declare i32 @security_xfrm_policy_alloc(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/xfrm/extr_xfrm_user.c_copy_from_user_sec_ctx.c' source_filename = "AnghaBench/linux/net/xfrm/extr_xfrm_user.c_copy_from_user_sec_ctx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XFRMA_SEC_CTX = common local_unnamed_addr global i64 0, align 8 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @copy_from_user_sec_ctx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @copy_from_user_sec_ctx(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr @XFRMA_SEC_CTX, align 8, !tbaa !6 %4 = getelementptr inbounds ptr, ptr %1, i64 %3 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %2 %8 = tail call ptr @nla_data(ptr noundef nonnull %5) #2 %9 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %10 = tail call i32 @security_xfrm_policy_alloc(ptr noundef %0, ptr noundef %8, i32 noundef %9) #2 br label %11 11: ; preds = %2, %7 %12 = phi i32 [ %10, %7 ], [ 0, %2 ] ret i32 %12 } declare ptr @nla_data(ptr noundef) local_unnamed_addr #1 declare i32 @security_xfrm_policy_alloc(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
linux_net_xfrm_extr_xfrm_user.c_copy_from_user_sec_ctx
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_hcp_if.c_hipz_h_query_port.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_hcp_if.c_hipz_h_query_port.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EHCA_PAGESIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"response block not page aligned\00", align 1 @H_PARAMETER = dso_local local_unnamed_addr global i32 0, align 4 @H_QUERY_PORT = dso_local local_unnamed_addr global i32 0, align 4 @ehca_debug_level = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"response_block\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @hipz_h_query_port(i32 %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @virt_to_abs(ptr noundef %2) #2 %5 = load i32, ptr @EHCA_PAGESIZE, align 4, !tbaa !5 %6 = add nsw i32 %5, -1 %7 = and i32 %6, %4 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = tail call i32 @ehca_gen_err(ptr noundef nonnull @.str) #2 %11 = load i32, ptr @H_PARAMETER, align 4, !tbaa !5 br label %19 12: ; preds = %3 %13 = load i32, ptr @H_QUERY_PORT, align 4, !tbaa !5 %14 = tail call i32 @ehca_plpar_hcall_norets(i32 noundef %13, i32 noundef %0, i32 noundef %1, i32 noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 %15 = load i32, ptr @ehca_debug_level, align 4, !tbaa !5 %16 = icmp sgt i32 %15, 1 br i1 %16, label %17, label %19 17: ; preds = %12 %18 = tail call i32 @ehca_dmp(ptr noundef %2, i32 noundef 64, ptr noundef nonnull @.str.1) #2 br label %19 19: ; preds = %12, %17, %9 %20 = phi i32 [ %11, %9 ], [ %14, %17 ], [ %14, %12 ] ret i32 %20 } declare i32 @virt_to_abs(ptr noundef) local_unnamed_addr #1 declare i32 @ehca_gen_err(ptr noundef) local_unnamed_addr #1 declare i32 @ehca_plpar_hcall_norets(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ehca_dmp(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/ehca/extr_hcp_if.c_hipz_h_query_port.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_hcp_if.c_hipz_h_query_port.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EHCA_PAGESIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"response block not page aligned\00", align 1 @H_PARAMETER = common local_unnamed_addr global i32 0, align 4 @H_QUERY_PORT = common local_unnamed_addr global i32 0, align 4 @ehca_debug_level = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"response_block\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @hipz_h_query_port(i64 %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @virt_to_abs(ptr noundef %2) #2 %5 = load i32, ptr @EHCA_PAGESIZE, align 4, !tbaa !6 %6 = add nsw i32 %5, -1 %7 = and i32 %6, %4 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = tail call i32 @ehca_gen_err(ptr noundef nonnull @.str) #2 %11 = load i32, ptr @H_PARAMETER, align 4, !tbaa !6 br label %20 12: ; preds = %3 %13 = trunc i64 %0 to i32 %14 = load i32, ptr @H_QUERY_PORT, align 4, !tbaa !6 %15 = tail call i32 @ehca_plpar_hcall_norets(i32 noundef %14, i32 noundef %13, i32 noundef %1, i32 noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) #2 %16 = load i32, ptr @ehca_debug_level, align 4, !tbaa !6 %17 = icmp sgt i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = tail call i32 @ehca_dmp(ptr noundef %2, i32 noundef 64, ptr noundef nonnull @.str.1) #2 br label %20 20: ; preds = %12, %18, %9 %21 = phi i32 [ %11, %9 ], [ %15, %18 ], [ %15, %12 ] ret i32 %21 } declare i32 @virt_to_abs(ptr noundef) local_unnamed_addr #1 declare i32 @ehca_gen_err(ptr noundef) local_unnamed_addr #1 declare i32 @ehca_plpar_hcall_norets(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ehca_dmp(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_infiniband_hw_ehca_extr_hcp_if.c_hipz_h_query_port
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_NCR5380.c_NCR5380_maybe_reset_bus.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_NCR5380.c_NCR5380_maybe_reset_bus.c" target datalayout = "e-m:e-p270:32:32-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_REG = dso_local local_unnamed_addr global i32 0, align 4 @SR_BSY = dso_local local_unnamed_addr global i32 0, align 4 @KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"SCSI bus busy, waiting up to five seconds\0A\00", align 1 @HZ = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"bus busy, attempting abort\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"bus busy, attempting reset\0A\00", align 1 @FLAG_TOSHIBA_DELAY = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [18 x i8] c"bus locked solid\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @NCR5380_maybe_reset_bus], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @NCR5380_maybe_reset_bus(ptr noundef %0) #0 { %2 = tail call ptr @shost_priv(ptr noundef %0) #2 %3 = load i32, ptr @STATUS_REG, align 4, !tbaa !5 %4 = tail call i32 @NCR5380_read(i32 noundef %3) #2 %5 = load i32, ptr @SR_BSY, align 4, !tbaa !5 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %46, label %8 8: ; preds = %1, %39 %9 = phi i32 [ %40, %39 ], [ 1, %1 ] switch i32 %9, label %39 [ i32 1, label %10 i32 3, label %10 i32 5, label %10 i32 2, label %18 i32 4, label %22 i32 6, label %34 ] 10: ; preds = %8, %8, %8 %11 = load i32, ptr @KERN_ERR, align 4, !tbaa !5 %12 = tail call i32 @shost_printk(i32 noundef %11, ptr noundef %0, ptr noundef nonnull @.str) #2 %13 = load i32, ptr @STATUS_REG, align 4, !tbaa !5 %14 = load i32, ptr @SR_BSY, align 4, !tbaa !5 %15 = load i32, ptr @HZ, align 4, !tbaa !5 %16 = mul nsw i32 %15, 5 %17 = tail call i32 @NCR5380_poll_politely(ptr noundef %2, i32 noundef %13, i32 noundef %14, i32 noundef 0, i32 noundef %16) #2 br label %39 18: ; preds = %8 %19 = load i32, ptr @KERN_ERR, align 4, !tbaa !5 %20 = tail call i32 @shost_printk(i32 noundef %19, ptr noundef %0, ptr noundef nonnull @.str.1) #2 %21 = tail call i32 @do_abort(ptr noundef %0) #2 br label %39 22: ; preds = %8 %23 = load i32, ptr @KERN_ERR, align 4, !tbaa !5 %24 = tail call i32 @shost_printk(i32 noundef %23, ptr noundef %0, ptr noundef nonnull @.str.2) #2 %25 = tail call i32 @do_reset(ptr noundef %0) #2 %26 = load i32, ptr %2, align 4, !tbaa !9 %27 = load i32, ptr @FLAG_TOSHIBA_DELAY, align 4, !tbaa !5 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %22 %31 = tail call i32 @msleep(i32 noundef 2500) #2 br label %39 32: ; preds = %22 %33 = tail call i32 @msleep(i32 noundef 500) #2 br label %39 34: ; preds = %8 %35 = load i32, ptr @KERN_ERR, align 4, !tbaa !5 %36 = tail call i32 @shost_printk(i32 noundef %35, ptr noundef %0, ptr noundef nonnull @.str.3) #2 %37 = load i32, ptr @ENXIO, align 4, !tbaa !5 %38 = sub nsw i32 0, %37 br label %46 39: ; preds = %10, %18, %8, %32, %30 %40 = add nuw nsw i32 %9, 1 %41 = load i32, ptr @STATUS_REG, align 4, !tbaa !5 %42 = tail call i32 @NCR5380_read(i32 noundef %41) #2 %43 = load i32, ptr @SR_BSY, align 4, !tbaa !5 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %8, !llvm.loop !11 46: ; preds = %39, %1, %34 %47 = phi i32 [ %38, %34 ], [ 0, %1 ], [ 0, %39 ] ret i32 %47 } declare ptr @shost_priv(ptr noundef) local_unnamed_addr #1 declare i32 @NCR5380_read(i32 noundef) local_unnamed_addr #1 declare i32 @shost_printk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @NCR5380_poll_politely(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @do_abort(ptr noundef) local_unnamed_addr #1 declare i32 @do_reset(ptr noundef) local_unnamed_addr #1 declare i32 @msleep(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 = !{!"NCR5380_hostdata", !6, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_NCR5380.c_NCR5380_maybe_reset_bus.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_NCR5380.c_NCR5380_maybe_reset_bus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STATUS_REG = common local_unnamed_addr global i32 0, align 4 @SR_BSY = common local_unnamed_addr global i32 0, align 4 @KERN_ERR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"SCSI bus busy, waiting up to five seconds\0A\00", align 1 @HZ = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"bus busy, attempting abort\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"bus busy, attempting reset\0A\00", align 1 @FLAG_TOSHIBA_DELAY = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [18 x i8] c"bus locked solid\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @NCR5380_maybe_reset_bus], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @NCR5380_maybe_reset_bus(ptr noundef %0) #0 { %2 = tail call ptr @shost_priv(ptr noundef %0) #2 %3 = load i32, ptr @STATUS_REG, align 4, !tbaa !6 %4 = tail call i32 @NCR5380_read(i32 noundef %3) #2 %5 = load i32, ptr @SR_BSY, align 4, !tbaa !6 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %46, label %8 8: ; preds = %1, %39 %9 = phi i32 [ %40, %39 ], [ 1, %1 ] switch i32 %9, label %39 [ i32 1, label %10 i32 3, label %10 i32 5, label %10 i32 2, label %18 i32 4, label %22 i32 6, label %34 ] 10: ; preds = %8, %8, %8 %11 = load i32, ptr @KERN_ERR, align 4, !tbaa !6 %12 = tail call i32 @shost_printk(i32 noundef %11, ptr noundef %0, ptr noundef nonnull @.str) #2 %13 = load i32, ptr @STATUS_REG, align 4, !tbaa !6 %14 = load i32, ptr @SR_BSY, align 4, !tbaa !6 %15 = load i32, ptr @HZ, align 4, !tbaa !6 %16 = mul nsw i32 %15, 5 %17 = tail call i32 @NCR5380_poll_politely(ptr noundef %2, i32 noundef %13, i32 noundef %14, i32 noundef 0, i32 noundef %16) #2 br label %39 18: ; preds = %8 %19 = load i32, ptr @KERN_ERR, align 4, !tbaa !6 %20 = tail call i32 @shost_printk(i32 noundef %19, ptr noundef %0, ptr noundef nonnull @.str.1) #2 %21 = tail call i32 @do_abort(ptr noundef %0) #2 br label %39 22: ; preds = %8 %23 = load i32, ptr @KERN_ERR, align 4, !tbaa !6 %24 = tail call i32 @shost_printk(i32 noundef %23, ptr noundef %0, ptr noundef nonnull @.str.2) #2 %25 = tail call i32 @do_reset(ptr noundef %0) #2 %26 = load i32, ptr %2, align 4, !tbaa !10 %27 = load i32, ptr @FLAG_TOSHIBA_DELAY, align 4, !tbaa !6 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %22 %31 = tail call i32 @msleep(i32 noundef 2500) #2 br label %39 32: ; preds = %22 %33 = tail call i32 @msleep(i32 noundef 500) #2 br label %39 34: ; preds = %8 %35 = load i32, ptr @KERN_ERR, align 4, !tbaa !6 %36 = tail call i32 @shost_printk(i32 noundef %35, ptr noundef %0, ptr noundef nonnull @.str.3) #2 %37 = load i32, ptr @ENXIO, align 4, !tbaa !6 %38 = sub nsw i32 0, %37 br label %46 39: ; preds = %10, %18, %8, %32, %30 %40 = add nuw nsw i32 %9, 1 %41 = load i32, ptr @STATUS_REG, align 4, !tbaa !6 %42 = tail call i32 @NCR5380_read(i32 noundef %41) #2 %43 = load i32, ptr @SR_BSY, align 4, !tbaa !6 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %8, !llvm.loop !12 46: ; preds = %39, %1, %34 %47 = phi i32 [ %38, %34 ], [ 0, %1 ], [ 0, %39 ] ret i32 %47 } declare ptr @shost_priv(ptr noundef) local_unnamed_addr #1 declare i32 @NCR5380_read(i32 noundef) local_unnamed_addr #1 declare i32 @shost_printk(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @NCR5380_poll_politely(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @do_abort(ptr noundef) local_unnamed_addr #1 declare i32 @do_reset(ptr noundef) local_unnamed_addr #1 declare i32 @msleep(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 = !{!"NCR5380_hostdata", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_drivers_scsi_extr_NCR5380.c_NCR5380_maybe_reset_bus
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/daemon/extr_remote.c_bogus_del_kcache.c' source_filename = "AnghaBench/freebsd/contrib/unbound/daemon/extr_remote.c_bogus_del_kcache.c" target datalayout = "e-m:e-p270:32:32-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.key_entry_data = type { i32, i64 } %struct.del_info = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @bogus_del_kcache], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal void @bogus_del_kcache(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = getelementptr inbounds %struct.key_entry_data, ptr %4, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 br i1 %7, label %13, label %8 8: ; preds = %2 %9 = getelementptr inbounds %struct.del_info, ptr %1, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !13 store i32 %10, ptr %4, align 8, !tbaa !15 %11 = load i32, ptr %1, align 4, !tbaa !16 %12 = add nsw i32 %11, 1 store i32 %12, ptr %1, align 4, !tbaa !16 br label %13 13: ; preds = %8, %2 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn 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, !7, i64 0} !6 = !{!"lruhash_entry", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"key_entry_data", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 4} !14 = !{!"del_info", !12, i64 0, !12, i64 4} !15 = !{!11, !12, i64 0} !16 = !{!14, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/daemon/extr_remote.c_bogus_del_kcache.c' source_filename = "AnghaBench/freebsd/contrib/unbound/daemon/extr_remote.c_bogus_del_kcache.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 @bogus_del_kcache], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @bogus_del_kcache(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = icmp eq i64 %6, 0 br i1 %7, label %13, label %8 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %1, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !14 store i32 %10, ptr %4, align 8, !tbaa !16 %11 = load i32, ptr %1, align 4, !tbaa !17 %12 = add nsw i32 %11, 1 store i32 %12, ptr %1, align 4, !tbaa !17 br label %13 13: ; preds = %8, %2 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn 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, !8, i64 0} !7 = !{!"lruhash_entry", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"key_entry_data", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 4} !15 = !{!"del_info", !13, i64 0, !13, i64 4} !16 = !{!12, !13, i64 0} !17 = !{!15, !13, i64 0}
freebsd_contrib_unbound_daemon_extr_remote.c_bogus_del_kcache
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_mgmt.c_send_settings_rsp.c' source_filename = "AnghaBench/linux/net/bluetooth/extr_mgmt.c_send_settings_rsp.c" target datalayout = "e-m:e-p270:32:32-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 @send_settings_rsp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @send_settings_rsp(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @get_current_settings(ptr noundef %2) #3 %6 = tail call i32 @cpu_to_le32(i32 noundef %5) #3 store i32 %6, ptr %4, align 4, !tbaa !5 %7 = load i32, ptr %2, align 4, !tbaa !9 %8 = call i32 @mgmt_cmd_complete(ptr noundef %0, i32 noundef %7, i32 noundef %1, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @get_current_settings(ptr noundef) local_unnamed_addr #2 declare i32 @mgmt_cmd_complete(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"hci_dev", !6, i64 0}
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_mgmt.c_send_settings_rsp.c' source_filename = "AnghaBench/linux/net/bluetooth/extr_mgmt.c_send_settings_rsp.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 @send_settings_rsp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @send_settings_rsp(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @get_current_settings(ptr noundef %2) #3 %6 = tail call i32 @cpu_to_le32(i32 noundef %5) #3 store i32 %6, ptr %4, align 4, !tbaa !6 %7 = load i32, ptr %2, align 4, !tbaa !10 %8 = call i32 @mgmt_cmd_complete(ptr noundef %0, i32 noundef %7, i32 noundef %1, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @get_current_settings(ptr noundef) local_unnamed_addr #2 declare i32 @mgmt_cmd_complete(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"hci_dev", !7, i64 0}
linux_net_bluetooth_extr_mgmt.c_send_settings_rsp
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/preonic/keymaps/kjwon15/extr_keymap.c_encoder_update_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/preonic/keymaps/kjwon15/extr_keymap.c_encoder_update_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @muse_mode = dso_local local_unnamed_addr global i64 0, align 8 @_RAISE = dso_local local_unnamed_addr global i32 0, align 4 @muse_offset = dso_local local_unnamed_addr global i32 0, align 4 @muse_tempo = dso_local local_unnamed_addr global i32 0, align 4 @KC_PGDN = dso_local local_unnamed_addr global i32 0, align 4 @KC_PGUP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @encoder_update_user(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @muse_mode, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %22, label %5 5: ; preds = %2 %6 = load i32, ptr @_RAISE, align 4, !tbaa !9 %7 = tail call i64 @IS_LAYER_ON(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 %9 = icmp eq i32 %1, 0 br i1 %8, label %16, label %10 10: ; preds = %5 %11 = load i32, ptr @muse_offset, align 4, !tbaa !9 br i1 %9, label %14, label %12 12: ; preds = %10 %13 = add nsw i32 %11, 1 store i32 %13, ptr @muse_offset, align 4, !tbaa !9 br label %30 14: ; preds = %10 %15 = add nsw i32 %11, -1 store i32 %15, ptr @muse_offset, align 4, !tbaa !9 br label %30 16: ; preds = %5 %17 = load i32, ptr @muse_tempo, align 4, !tbaa !9 br i1 %9, label %20, label %18 18: ; preds = %16 %19 = add nsw i32 %17, 1 store i32 %19, ptr @muse_tempo, align 4, !tbaa !9 br label %30 20: ; preds = %16 %21 = add nsw i32 %17, -1 store i32 %21, ptr @muse_tempo, align 4, !tbaa !9 br label %30 22: ; preds = %2 %23 = icmp eq i32 %1, 0 br i1 %23, label %27, label %24 24: ; preds = %22 %25 = load i32, ptr @KC_PGDN, align 4, !tbaa !9 %26 = tail call i32 @tap_code(i32 noundef %25) #2 br label %30 27: ; preds = %22 %28 = load i32, ptr @KC_PGUP, align 4, !tbaa !9 %29 = tail call i32 @tap_code(i32 noundef %28) #2 br label %30 30: ; preds = %24, %27, %14, %12, %20, %18 ret void } declare i64 @IS_LAYER_ON(i32 noundef) local_unnamed_addr #1 declare i32 @tap_code(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/qmk_firmware/keyboards/preonic/keymaps/kjwon15/extr_keymap.c_encoder_update_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/preonic/keymaps/kjwon15/extr_keymap.c_encoder_update_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @muse_mode = common local_unnamed_addr global i64 0, align 8 @_RAISE = common local_unnamed_addr global i32 0, align 4 @muse_offset = common local_unnamed_addr global i32 0, align 4 @muse_tempo = common local_unnamed_addr global i32 0, align 4 @KC_PGDN = common local_unnamed_addr global i32 0, align 4 @KC_PGUP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @encoder_update_user(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @muse_mode, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %22, label %5 5: ; preds = %2 %6 = load i32, ptr @_RAISE, align 4, !tbaa !10 %7 = tail call i64 @IS_LAYER_ON(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 %9 = icmp eq i32 %1, 0 br i1 %8, label %16, label %10 10: ; preds = %5 %11 = load i32, ptr @muse_offset, align 4, !tbaa !10 br i1 %9, label %14, label %12 12: ; preds = %10 %13 = add nsw i32 %11, 1 store i32 %13, ptr @muse_offset, align 4, !tbaa !10 br label %30 14: ; preds = %10 %15 = add nsw i32 %11, -1 store i32 %15, ptr @muse_offset, align 4, !tbaa !10 br label %30 16: ; preds = %5 %17 = load i32, ptr @muse_tempo, align 4, !tbaa !10 br i1 %9, label %20, label %18 18: ; preds = %16 %19 = add nsw i32 %17, 1 store i32 %19, ptr @muse_tempo, align 4, !tbaa !10 br label %30 20: ; preds = %16 %21 = add nsw i32 %17, -1 store i32 %21, ptr @muse_tempo, align 4, !tbaa !10 br label %30 22: ; preds = %2 %23 = icmp eq i32 %1, 0 br i1 %23, label %27, label %24 24: ; preds = %22 %25 = load i32, ptr @KC_PGDN, align 4, !tbaa !10 %26 = tail call i32 @tap_code(i32 noundef %25) #2 br label %30 27: ; preds = %22 %28 = load i32, ptr @KC_PGUP, align 4, !tbaa !10 %29 = tail call i32 @tap_code(i32 noundef %28) #2 br label %30 30: ; preds = %24, %27, %14, %12, %20, %18 ret void } declare i64 @IS_LAYER_ON(i32 noundef) local_unnamed_addr #1 declare i32 @tap_code(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}
qmk_firmware_keyboards_preonic_keymaps_kjwon15_extr_keymap.c_encoder_update_user
; ModuleID = 'AnghaBench/linux/drivers/md/extr_md.c_md_thread.c' source_filename = "AnghaBench/linux/drivers/md/extr_md.c_md_thread.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.md_thread = type { ptr, i32, i32, i32 } @SIGKILL = dso_local local_unnamed_addr global i32 0, align 4 @current = dso_local local_unnamed_addr global i32 0, align 4 @THREAD_WAKEUP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @md_thread], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @md_thread(ptr noundef %0) #0 { %2 = load i32, ptr @SIGKILL, align 4, !tbaa !5 %3 = tail call i32 @allow_signal(i32 noundef %2) #2 %4 = tail call i64 (...) @kthread_should_stop() #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %48 6: ; preds = %1 %7 = getelementptr inbounds %struct.md_thread, ptr %0, i64 0, i32 3 %8 = getelementptr inbounds %struct.md_thread, ptr %0, i64 0, i32 1 %9 = getelementptr inbounds %struct.md_thread, ptr %0, i64 0, i32 2 br label %10 10: ; preds = %6, %45 %11 = load i32, ptr @current, align 4, !tbaa !5 %12 = tail call i64 @signal_pending(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr @current, align 4, !tbaa !5 %16 = tail call i32 @flush_signals(i32 noundef %15) #2 br label %17 17: ; preds = %14, %10 %18 = load i32, ptr %7, align 8, !tbaa !9 %19 = load i32, ptr @THREAD_WAKEUP, align 4, !tbaa !5 %20 = tail call i64 @test_bit(i32 noundef %19, ptr noundef nonnull %8) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %17 %23 = tail call i64 (...) @kthread_should_stop() #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %22 %26 = tail call i64 (...) @kthread_should_park() #2 %27 = icmp ne i64 %26, 0 br label %28 28: ; preds = %25, %22, %17 %29 = phi i1 [ true, %22 ], [ true, %17 ], [ %27, %25 ] %30 = zext i1 %29 to i32 %31 = load i32, ptr %9, align 4, !tbaa !12 %32 = tail call i32 @wait_event_interruptible_timeout(i32 noundef %18, i32 noundef %30, i32 noundef %31) #2 %33 = load i32, ptr @THREAD_WAKEUP, align 4, !tbaa !5 %34 = tail call i32 @clear_bit(i32 noundef %33, ptr noundef nonnull %8) #2 %35 = tail call i64 (...) @kthread_should_park() #2 %36 = icmp eq i64 %35, 0 br i1 %36, label %39, label %37 37: ; preds = %28 %38 = tail call i32 (...) @kthread_parkme() #2 br label %39 39: ; preds = %37, %28 %40 = tail call i64 (...) @kthread_should_stop() #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %39 %43 = load ptr, ptr %0, align 8, !tbaa !13 %44 = tail call i32 %43(ptr noundef nonnull %0) #2 br label %45 45: ; preds = %42, %39 %46 = tail call i64 (...) @kthread_should_stop() #2 %47 = icmp eq i64 %46, 0 br i1 %47, label %10, label %48, !llvm.loop !14 48: ; preds = %45, %1 ret i32 0 } declare i32 @allow_signal(i32 noundef) local_unnamed_addr #1 declare i64 @kthread_should_stop(...) local_unnamed_addr #1 declare i64 @signal_pending(i32 noundef) local_unnamed_addr #1 declare i32 @flush_signals(i32 noundef) local_unnamed_addr #1 declare i32 @wait_event_interruptible_timeout(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @kthread_should_park(...) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kthread_parkme(...) 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 = !{!"md_thread", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 12} !13 = !{!10, !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_md.c_md_thread.c' source_filename = "AnghaBench/linux/drivers/md/extr_md.c_md_thread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SIGKILL = common local_unnamed_addr global i32 0, align 4 @current = common local_unnamed_addr global i32 0, align 4 @THREAD_WAKEUP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @md_thread], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @md_thread(ptr noundef %0) #0 { %2 = load i32, ptr @SIGKILL, align 4, !tbaa !6 %3 = tail call i32 @allow_signal(i32 noundef %2) #2 %4 = tail call i64 @kthread_should_stop() #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %48 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = getelementptr inbounds i8, ptr %0, i64 12 br label %10 10: ; preds = %6, %45 %11 = load i32, ptr @current, align 4, !tbaa !6 %12 = tail call i64 @signal_pending(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr @current, align 4, !tbaa !6 %16 = tail call i32 @flush_signals(i32 noundef %15) #2 br label %17 17: ; preds = %14, %10 %18 = load i32, ptr %7, align 8, !tbaa !10 %19 = load i32, ptr @THREAD_WAKEUP, align 4, !tbaa !6 %20 = tail call i64 @test_bit(i32 noundef %19, ptr noundef nonnull %8) #2 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %17 %23 = tail call i64 @kthread_should_stop() #2 %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %22 %26 = tail call i64 @kthread_should_park() #2 %27 = icmp ne i64 %26, 0 br label %28 28: ; preds = %25, %22, %17 %29 = phi i1 [ true, %22 ], [ true, %17 ], [ %27, %25 ] %30 = zext i1 %29 to i32 %31 = load i32, ptr %9, align 4, !tbaa !13 %32 = tail call i32 @wait_event_interruptible_timeout(i32 noundef %18, i32 noundef %30, i32 noundef %31) #2 %33 = load i32, ptr @THREAD_WAKEUP, align 4, !tbaa !6 %34 = tail call i32 @clear_bit(i32 noundef %33, ptr noundef nonnull %8) #2 %35 = tail call i64 @kthread_should_park() #2 %36 = icmp eq i64 %35, 0 br i1 %36, label %39, label %37 37: ; preds = %28 %38 = tail call i32 @kthread_parkme() #2 br label %39 39: ; preds = %37, %28 %40 = tail call i64 @kthread_should_stop() #2 %41 = icmp eq i64 %40, 0 br i1 %41, label %42, label %45 42: ; preds = %39 %43 = load ptr, ptr %0, align 8, !tbaa !14 %44 = tail call i32 %43(ptr noundef nonnull %0) #2 br label %45 45: ; preds = %42, %39 %46 = tail call i64 @kthread_should_stop() #2 %47 = icmp eq i64 %46, 0 br i1 %47, label %10, label %48, !llvm.loop !15 48: ; preds = %45, %1 ret i32 0 } declare i32 @allow_signal(i32 noundef) local_unnamed_addr #1 declare i64 @kthread_should_stop(...) local_unnamed_addr #1 declare i64 @signal_pending(i32 noundef) local_unnamed_addr #1 declare i32 @flush_signals(i32 noundef) local_unnamed_addr #1 declare i32 @wait_event_interruptible_timeout(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @kthread_should_park(...) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kthread_parkme(...) 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 = !{!"md_thread", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 12} !14 = !{!11, !12, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_drivers_md_extr_md.c_md_thread
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_prtfile.c_WritePortalFile.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_prtfile.c_WritePortalFile.c" target datalayout = "e-m:e-p270:32:32-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 [25 x i8] c"--- WritePortalFile ---\0A\00", align 1 @num_visclusters = dso_local local_unnamed_addr global i32 0, align 4 @num_visportals = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"%s.prt\00", align 1 @source = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [12 x i8] c"writing %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @pf = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"Error opening %s\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @PORTALFILE = dso_local local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"%5i visclusters\0A\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"%5i visportals\0A\00", align 1 @clusterleaf = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @WritePortalFile(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [1024 x i8], align 16 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #3 %3 = tail call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str) #3 %4 = load ptr, ptr %0, align 8, !tbaa !5 store i32 0, ptr @num_visclusters, align 4, !tbaa !10 store i32 0, ptr @num_visportals, align 4, !tbaa !10 %5 = tail call i32 @Tree_FreePortals_r(ptr noundef %4) #3 %6 = tail call i32 @MakeHeadnodePortals(ptr noundef nonnull %0) #3 %7 = tail call i32 @CreateVisPortals_r(ptr noundef %4) #3 %8 = tail call i32 @NumberLeafs_r(ptr noundef %4) #3 %9 = load ptr, ptr @source, align 8, !tbaa !12 %10 = call i32 @sprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, ptr noundef %9) #3 %11 = call i32 @printf(ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #3 %12 = call i32 @fopen(ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #3 store i32 %12, ptr @pf, align 4, !tbaa !10 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = call i32 @Error(ptr noundef nonnull @.str.4, ptr noundef nonnull %2) #3 %16 = load i32, ptr @pf, align 4, !tbaa !10 br label %17 17: ; preds = %14, %1 %18 = phi i32 [ %16, %14 ], [ %12, %1 ] %19 = load ptr, ptr @PORTALFILE, align 8, !tbaa !12 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef nonnull @.str.5, ptr noundef %19) #3 %21 = load i32, ptr @pf, align 4, !tbaa !10 %22 = load i32, ptr @num_visclusters, align 4, !tbaa !10 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef nonnull @.str.6, i32 noundef %22) #3 %24 = load i32, ptr @pf, align 4, !tbaa !10 %25 = load i32, ptr @num_visportals, align 4, !tbaa !10 %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef nonnull @.str.6, i32 noundef %25) #3 %27 = load i32, ptr @num_visclusters, align 4, !tbaa !10 %28 = call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str.7, i32 noundef %27) #3 %29 = load i32, ptr @num_visportals, align 4, !tbaa !10 %30 = call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str.8, i32 noundef %29) #3 %31 = call i32 @WritePortalFile_r(ptr noundef %4) #3 %32 = load i32, ptr @pf, align 4, !tbaa !10 %33 = call i32 @fclose(i32 noundef %32) #3 store i32 1, ptr @clusterleaf, align 4, !tbaa !10 %34 = call i32 @SaveClusters_r(ptr noundef %4) #3 call void @llvm.lifetime.end.p0(i64 1024, 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 @qprintf(ptr noundef, ...) local_unnamed_addr #2 declare i32 @Tree_FreePortals_r(ptr noundef) local_unnamed_addr #2 declare i32 @MakeHeadnodePortals(ptr noundef) local_unnamed_addr #2 declare i32 @CreateVisPortals_r(ptr noundef) local_unnamed_addr #2 declare i32 @NumberLeafs_r(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fopen(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @WritePortalFile_r(ptr noundef) local_unnamed_addr #2 declare i32 @fclose(i32 noundef) local_unnamed_addr #2 declare i32 @SaveClusters_r(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 = !{!"TYPE_4__", !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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/bspc/extr_prtfile.c_WritePortalFile.c' source_filename = "AnghaBench/lab/engine/code/bspc/extr_prtfile.c_WritePortalFile.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"--- WritePortalFile ---\0A\00", align 1 @num_visclusters = common local_unnamed_addr global i32 0, align 4 @num_visportals = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"%s.prt\00", align 1 @source = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [12 x i8] c"writing %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @pf = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"Error opening %s\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @PORTALFILE = common local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"%5i visclusters\0A\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"%5i visportals\0A\00", align 1 @clusterleaf = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @WritePortalFile(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [1024 x i8], align 1 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #3 %3 = tail call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str) #3 %4 = load ptr, ptr %0, align 8, !tbaa !6 store i32 0, ptr @num_visclusters, align 4, !tbaa !11 store i32 0, ptr @num_visportals, align 4, !tbaa !11 %5 = tail call i32 @Tree_FreePortals_r(ptr noundef %4) #3 %6 = tail call i32 @MakeHeadnodePortals(ptr noundef nonnull %0) #3 %7 = tail call i32 @CreateVisPortals_r(ptr noundef %4) #3 %8 = tail call i32 @NumberLeafs_r(ptr noundef %4) #3 %9 = load ptr, ptr @source, align 8, !tbaa !13 %10 = call i32 @sprintf(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, ptr noundef %9) #3 %11 = call i32 @printf(ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #3 %12 = call i32 @fopen(ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #3 store i32 %12, ptr @pf, align 4, !tbaa !11 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = call i32 @Error(ptr noundef nonnull @.str.4, ptr noundef nonnull %2) #3 %16 = load i32, ptr @pf, align 4, !tbaa !11 br label %17 17: ; preds = %14, %1 %18 = phi i32 [ %16, %14 ], [ %12, %1 ] %19 = load ptr, ptr @PORTALFILE, align 8, !tbaa !13 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef nonnull @.str.5, ptr noundef %19) #3 %21 = load i32, ptr @pf, align 4, !tbaa !11 %22 = load i32, ptr @num_visclusters, align 4, !tbaa !11 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef nonnull @.str.6, i32 noundef %22) #3 %24 = load i32, ptr @pf, align 4, !tbaa !11 %25 = load i32, ptr @num_visportals, align 4, !tbaa !11 %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %24, ptr noundef nonnull @.str.6, i32 noundef %25) #3 %27 = load i32, ptr @num_visclusters, align 4, !tbaa !11 %28 = call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str.7, i32 noundef %27) #3 %29 = load i32, ptr @num_visportals, align 4, !tbaa !11 %30 = call i32 (ptr, ...) @qprintf(ptr noundef nonnull @.str.8, i32 noundef %29) #3 %31 = call i32 @WritePortalFile_r(ptr noundef %4) #3 %32 = load i32, ptr @pf, align 4, !tbaa !11 %33 = call i32 @fclose(i32 noundef %32) #3 store i32 1, ptr @clusterleaf, align 4, !tbaa !11 %34 = call i32 @SaveClusters_r(ptr noundef %4) #3 call void @llvm.lifetime.end.p0(i64 1024, 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 @qprintf(ptr noundef, ...) local_unnamed_addr #2 declare i32 @Tree_FreePortals_r(ptr noundef) local_unnamed_addr #2 declare i32 @MakeHeadnodePortals(ptr noundef) local_unnamed_addr #2 declare i32 @CreateVisPortals_r(ptr noundef) local_unnamed_addr #2 declare i32 @NumberLeafs_r(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fopen(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @WritePortalFile_r(ptr noundef) local_unnamed_addr #2 declare i32 @fclose(i32 noundef) local_unnamed_addr #2 declare i32 @SaveClusters_r(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 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0}
lab_engine_code_bspc_extr_prtfile.c_WritePortalFile
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce110/extr_dce110_hw_sequencer.c_enable_fbc.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce110/extr_dce110_hw_sequencer.c_enable_fbc.c" target datalayout = "e-m:e-p270:32:32-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.compr_addr_and_pitch_params = type { i32, i32, i32, i32, i32, i32 } %struct.dc = type { ptr, ptr } %struct.pipe_ctx = type { %struct.TYPE_13__, ptr } %struct.TYPE_13__ = type { ptr } %struct.compressor = type { ptr, %struct.TYPE_14__ } %struct.TYPE_14__ = type { i32 } %struct.TYPE_16__ = type { ptr, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @enable_fbc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @enable_fbc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca %struct.compr_addr_and_pitch_params, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 store i64 0, ptr %3, align 8, !tbaa !5 %5 = call i64 @should_enable_fbc(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3) #4 %6 = icmp eq i64 %5, 0 br i1 %6, label %34, label %7 7: ; preds = %2 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4 %8 = getelementptr inbounds i8, ptr %4, i64 12 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %8, i8 0, i64 12, i1 false) %9 = getelementptr inbounds %struct.dc, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !9 %11 = load ptr, ptr %1, align 8, !tbaa !12 %12 = load i64, ptr %3, align 8, !tbaa !5 %13 = getelementptr inbounds %struct.pipe_ctx, ptr %11, i64 %12 %14 = getelementptr inbounds %struct.pipe_ctx, ptr %11, i64 %12, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = getelementptr inbounds %struct.compr_addr_and_pitch_params, ptr %4, i64 0, i32 1 %17 = load <2 x i32>, ptr %15, align 4, !tbaa !18 store <2 x i32> %17, ptr %16, align 4, !tbaa !18 %18 = load ptr, ptr %13, align 8, !tbaa !20 %19 = load i32, ptr %18, align 4, !tbaa !21 store i32 %19, ptr %4, align 4, !tbaa !23 %20 = load ptr, ptr %0, align 8, !tbaa !25 %21 = load i32, ptr %20, align 4, !tbaa !26 %22 = getelementptr inbounds %struct.compressor, ptr %10, i64 0, i32 1 store i32 %21, ptr %22, align 8, !tbaa !28 %23 = load ptr, ptr %10, align 8, !tbaa !31 %24 = getelementptr inbounds %struct.TYPE_16__, ptr %23, i64 0, i32 2 %25 = load ptr, ptr %24, align 8, !tbaa !32 %26 = call i32 %25(ptr noundef nonnull %10, ptr noundef nonnull %4) #4 %27 = load ptr, ptr %10, align 8, !tbaa !31 %28 = getelementptr inbounds %struct.TYPE_16__, ptr %27, i64 0, i32 1 %29 = load ptr, ptr %28, align 8, !tbaa !34 %30 = call i32 %29(ptr noundef nonnull %10, i32 noundef 1) #4 %31 = load ptr, ptr %10, align 8, !tbaa !31 %32 = load ptr, ptr %31, align 8, !tbaa !35 %33 = call i32 %32(ptr noundef nonnull %10, ptr noundef nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4 br label %34 34: ; preds = %7, %2 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @should_enable_fbc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"dc", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"dc_state", !14, i64 0} !14 = !{!"TYPE_9__", !11, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"pipe_ctx", !17, i64 0, !11, i64 8} !17 = !{!"TYPE_13__", !11, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"int", !7, i64 0} !20 = !{!16, !11, i64 0} !21 = !{!22, !19, i64 0} !22 = !{!"TYPE_12__", !19, i64 0} !23 = !{!24, !19, i64 0} !24 = !{!"compr_addr_and_pitch_params", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20} !25 = !{!10, !11, i64 0} !26 = !{!27, !19, i64 0} !27 = !{!"TYPE_15__", !19, i64 0} !28 = !{!29, !19, i64 8} !29 = !{!"compressor", !11, i64 0, !30, i64 8} !30 = !{!"TYPE_14__", !19, i64 0} !31 = !{!29, !11, i64 0} !32 = !{!33, !11, i64 16} !33 = !{!"TYPE_16__", !11, i64 0, !11, i64 8, !11, i64 16} !34 = !{!33, !11, i64 8} !35 = !{!33, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce110/extr_dce110_hw_sequencer.c_enable_fbc.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce110/extr_dce110_hw_sequencer.c_enable_fbc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.compr_addr_and_pitch_params = type { i32, i32, i32, i32, i32, i32 } %struct.pipe_ctx = type { %struct.TYPE_13__, ptr } %struct.TYPE_13__ = type { ptr } @llvm.used = appending global [1 x ptr] [ptr @enable_fbc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @enable_fbc(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca %struct.compr_addr_and_pitch_params, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 store i64 0, ptr %3, align 8, !tbaa !6 %5 = call i64 @should_enable_fbc(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %3) #4 %6 = icmp eq i64 %5, 0 br i1 %6, label %34, label %7 7: ; preds = %2 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4 %8 = getelementptr inbounds i8, ptr %4, i64 12 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %8, i8 0, i64 12, i1 false) %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = load ptr, ptr %1, align 8, !tbaa !13 %12 = load i64, ptr %3, align 8, !tbaa !6 %13 = getelementptr inbounds %struct.pipe_ctx, ptr %11, i64 %12 %14 = getelementptr inbounds i8, ptr %13, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = getelementptr inbounds i8, ptr %4, i64 4 %17 = load <2 x i32>, ptr %15, align 4, !tbaa !19 store <2 x i32> %17, ptr %16, align 4, !tbaa !19 %18 = load ptr, ptr %13, align 8, !tbaa !21 %19 = load i32, ptr %18, align 4, !tbaa !22 store i32 %19, ptr %4, align 4, !tbaa !24 %20 = load ptr, ptr %0, align 8, !tbaa !26 %21 = load i32, ptr %20, align 4, !tbaa !27 %22 = getelementptr inbounds i8, ptr %10, i64 8 store i32 %21, ptr %22, align 8, !tbaa !29 %23 = load ptr, ptr %10, align 8, !tbaa !32 %24 = getelementptr inbounds i8, ptr %23, i64 16 %25 = load ptr, ptr %24, align 8, !tbaa !33 %26 = call i32 %25(ptr noundef nonnull %10, ptr noundef nonnull %4) #4 %27 = load ptr, ptr %10, align 8, !tbaa !32 %28 = getelementptr inbounds i8, ptr %27, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !35 %30 = call i32 %29(ptr noundef nonnull %10, i32 noundef 1) #4 %31 = load ptr, ptr %10, align 8, !tbaa !32 %32 = load ptr, ptr %31, align 8, !tbaa !36 %33 = call i32 %32(ptr noundef nonnull %10, ptr noundef nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4 br label %34 34: ; preds = %7, %2 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @should_enable_fbc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, 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 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: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"dc", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"dc_state", !15, i64 0} !15 = !{!"TYPE_9__", !12, i64 0} !16 = !{!17, !12, i64 8} !17 = !{!"pipe_ctx", !18, i64 0, !12, i64 8} !18 = !{!"TYPE_13__", !12, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"int", !8, i64 0} !21 = !{!17, !12, i64 0} !22 = !{!23, !20, i64 0} !23 = !{!"TYPE_12__", !20, i64 0} !24 = !{!25, !20, i64 0} !25 = !{!"compr_addr_and_pitch_params", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12, !20, i64 16, !20, i64 20} !26 = !{!11, !12, i64 0} !27 = !{!28, !20, i64 0} !28 = !{!"TYPE_15__", !20, i64 0} !29 = !{!30, !20, i64 8} !30 = !{!"compressor", !12, i64 0, !31, i64 8} !31 = !{!"TYPE_14__", !20, i64 0} !32 = !{!30, !12, i64 0} !33 = !{!34, !12, i64 16} !34 = !{!"TYPE_16__", !12, i64 0, !12, i64 8, !12, i64 16} !35 = !{!34, !12, i64 8} !36 = !{!34, !12, i64 0}
linux_drivers_gpu_drm_amd_display_dc_dce110_extr_dce110_hw_sequencer.c_enable_fbc
; ModuleID = 'AnghaBench/curl/lib/extr_hash.c_Curl_hash_str.c' source_filename = "AnghaBench/curl/lib/extr_hash.c_Curl_hash_str.c" target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local i64 @Curl_hash_str(ptr noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 %1 %5 = icmp sgt i64 %1, 0 br i1 %5, label %6, label %15 6: ; preds = %3, %6 %7 = phi i64 [ %13, %6 ], [ 5381, %3 ] %8 = phi ptr [ %10, %6 ], [ %0, %3 ] %9 = mul i64 %7, 33 %10 = getelementptr inbounds i8, ptr %8, i64 1 %11 = load i8, ptr %8, align 1, !tbaa !5 %12 = sext i8 %11 to i64 %13 = xor i64 %9, %12 %14 = icmp ult ptr %10, %4 br i1 %14, label %6, label %15, !llvm.loop !8 15: ; preds = %6, %3 %16 = phi i64 [ 5381, %3 ], [ %13, %6 ] %17 = urem i64 %16, %2 ret i64 %17 } 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/curl/lib/extr_hash.c_Curl_hash_str.c' source_filename = "AnghaBench/curl/lib/extr_hash.c_Curl_hash_str.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define i64 @Curl_hash_str(ptr noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 %1 %5 = icmp sgt i64 %1, 0 br i1 %5, label %6, label %15 6: ; preds = %3, %6 %7 = phi i64 [ %13, %6 ], [ 5381, %3 ] %8 = phi ptr [ %10, %6 ], [ %0, %3 ] %9 = mul i64 %7, 33 %10 = getelementptr inbounds i8, ptr %8, i64 1 %11 = load i8, ptr %8, align 1, !tbaa !6 %12 = sext i8 %11 to i64 %13 = xor i64 %9, %12 %14 = icmp ult ptr %10, %4 br i1 %14, label %6, label %15, !llvm.loop !9 15: ; preds = %6, %3 %16 = phi i64 [ 5381, %3 ], [ %13, %6 ] %17 = urem i64 %16, %2 ret i64 %17 } 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
curl_lib_extr_hash.c_Curl_hash_str
; ModuleID = 'AnghaBench/git/extr_read-cache.c_set_alternate_index_output.c' source_filename = "AnghaBench/git/extr_read-cache.c_set_alternate_index_output.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @alternate_index_output = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @set_alternate_index_output(ptr noundef %0) local_unnamed_addr #0 { store ptr %0, ptr @alternate_index_output, align 8, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/git/extr_read-cache.c_set_alternate_index_output.c' source_filename = "AnghaBench/git/extr_read-cache.c_set_alternate_index_output.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @alternate_index_output = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @set_alternate_index_output(ptr noundef %0) local_unnamed_addr #0 { store ptr %0, ptr @alternate_index_output, align 8, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
git_extr_read-cache.c_set_alternate_index_output
; ModuleID = 'AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_platform.c_sp_write_reg32.c' source_filename = "AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_platform.c_sp_write_reg32.c" target datalayout = "e-m:e-p270:32:32-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 @sp_write_reg32], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sp_write_reg32(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = shl nsw i32 %1, 2 %6 = sext i32 %5 to i64 %7 = add nsw i64 %4, %6 %8 = tail call i32 @iowrite8(i32 noundef %2, i64 noundef %7) #2 ret void } declare i32 @iowrite8(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sja1000_priv", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_platform.c_sp_write_reg32.c' source_filename = "AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_platform.c_sp_write_reg32.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 @sp_write_reg32], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sp_write_reg32(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = shl nsw i32 %1, 2 %6 = sext i32 %5 to i64 %7 = add nsw i64 %4, %6 %8 = tail call i32 @iowrite8(i32 noundef %2, i64 noundef %7) #2 ret void } declare i32 @iowrite8(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sja1000_priv", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_can_sja1000_extr_sja1000_platform.c_sp_write_reg32
; ModuleID = 'AnghaBench/linux/drivers/s390/char/extr_monreader.c_mon_rec_start.c' source_filename = "AnghaBench/linux/drivers/s390/char/extr_monreader.c_mon_rec_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mon_rec_start], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @mon_rec_start(ptr noundef %0) #0 { %2 = tail call i64 @mon_mca_start(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = add i64 %2, 4 %5 = add i64 %4, %3 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr %6, align 4, !tbaa !10 ret i32 %7 } declare i64 @mon_mca_start(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"mon_msg", !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/s390/char/extr_monreader.c_mon_rec_start.c' source_filename = "AnghaBench/linux/drivers/s390/char/extr_monreader.c_mon_rec_start.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 @mon_rec_start], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @mon_rec_start(ptr noundef %0) #0 { %2 = tail call i64 @mon_mca_start(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = add i64 %2, 4 %5 = add i64 %4, %3 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr %6, align 4, !tbaa !11 ret i32 %7 } declare i64 @mon_mca_start(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"mon_msg", !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_s390_char_extr_monreader.c_mon_rec_start
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_hdsenc.c_write_manifest.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_hdsenc.c_write_manifest.c" target datalayout = "e-m:e-p270:32:32-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_13__ = type { ptr, ptr, ptr, ptr } %struct.TYPE_12__ = type { i32, ptr } %struct.TYPE_11__ = type { double, i32, i32, i32 } @.str = private unnamed_addr constant [13 x i8] c"%s/index.f4m\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"%s/index.f4m.tmp\00", align 1 @AVIO_FLAG_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"Unable to open %s for writing\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"<?xml version=\221.0\22 encoding=\22utf-8\22?>\0A\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c"<manifest xmlns=\22http://ns.adobe.com/f4m/1.0\22>\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"\09<id>%s</id>\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"\09<streamType>%s</streamType>\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"recorded\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"live\00", align 1 @.str.9 = private unnamed_addr constant [41 x i8] c"\09<deliveryType>streaming</deliveryType>\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"\09<duration>%f</duration>\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [73 x i8] c"\09<bootstrapInfo profile=\22named\22 url=\22stream%d.abst\22 id=\22bootstrap%d\22 />\0A\00", align 1 @.str.12 = private unnamed_addr constant [68 x i8] c"\09<media bitrate=\22%d\22 url=\22stream%d\22 bootstrapInfoId=\22bootstrap%d\22>\0A\00", align 1 @.str.13 = private unnamed_addr constant [27 x i8] c"\09\09<metadata>%s</metadata>\0A\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"\09</media>\0A\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"</manifest>\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_manifest], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @write_manifest(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca [1024 x i8], align 16 %5 = alloca [1024 x i8], align 16 %6 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 3 %7 = load ptr, ptr %6, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3 %8 = load i32, ptr %7, align 8, !tbaa !10 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %20 10: ; preds = %2 %11 = getelementptr inbounds %struct.TYPE_12__, ptr %7, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = load double, ptr %12, align 8, !tbaa !14 %14 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = load ptr, ptr %15, align 8, !tbaa !18 %17 = load i32, ptr %16, align 4, !tbaa !19 %18 = tail call double @av_q2d(i32 noundef %17) #3 %19 = fmul double %13, %18 br label %20 20: ; preds = %10, %2 %21 = phi double [ %19, %10 ], [ 0.000000e+00, %2 ] %22 = load ptr, ptr %0, align 8, !tbaa !21 %23 = call i32 @snprintf(ptr noundef nonnull %4, i32 noundef 1024, ptr noundef nonnull @.str, ptr noundef %22) #3 %24 = load ptr, ptr %0, align 8, !tbaa !21 %25 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef 1024, ptr noundef nonnull @.str.1, ptr noundef %24) #3 %26 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !22 %28 = load i32, ptr @AVIO_FLAG_WRITE, align 4, !tbaa !23 %29 = call i32 %27(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef %28, ptr noundef null) #3 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %20 %32 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !23 %33 = call i32 @av_log(ptr noundef nonnull %0, i32 noundef %32, ptr noundef nonnull @.str.2, ptr noundef nonnull %5) #3 br label %98 34: ; preds = %20 %35 = load ptr, ptr %3, align 8, !tbaa !18 %36 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %35, ptr noundef nonnull @.str.3) #3 %37 = load ptr, ptr %3, align 8, !tbaa !18 %38 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %37, ptr noundef nonnull @.str.4) #3 %39 = load ptr, ptr %3, align 8, !tbaa !18 %40 = load ptr, ptr %0, align 8, !tbaa !21 %41 = call i32 @av_basename(ptr noundef %40) #3 %42 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %39, ptr noundef nonnull @.str.5, i32 noundef %41) #3 %43 = load ptr, ptr %3, align 8, !tbaa !18 %44 = icmp eq i32 %1, 0 %45 = select i1 %44, ptr @.str.8, ptr @.str.7 %46 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %43, ptr noundef nonnull @.str.6, ptr noundef nonnull %45) #3 %47 = load ptr, ptr %3, align 8, !tbaa !18 %48 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %47, ptr noundef nonnull @.str.9) #3 br i1 %44, label %52, label %49 49: ; preds = %34 %50 = load ptr, ptr %3, align 8, !tbaa !18 %51 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %50, ptr noundef nonnull @.str.10, double noundef %21) #3 br label %52 52: ; preds = %49, %34 %53 = load i32, ptr %7, align 8, !tbaa !10 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %91 55: ; preds = %52 %56 = getelementptr inbounds %struct.TYPE_12__, ptr %7, i64 0, i32 1 br label %57 57: ; preds = %55, %69 %58 = phi i64 [ 0, %55 ], [ %87, %69 ] %59 = load ptr, ptr %56, align 8, !tbaa !13 %60 = getelementptr inbounds %struct.TYPE_11__, ptr %59, i64 %58, i32 2 %61 = load i32, ptr %60, align 4, !tbaa !24 %62 = call i32 @AV_BASE64_SIZE(i32 noundef %61) #3 %63 = call ptr @av_malloc(i32 noundef %62) #3 %64 = icmp eq ptr %63, null br i1 %64, label %65, label %69 65: ; preds = %57 %66 = call i32 @ff_format_io_close(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %67 = load i32, ptr @ENOMEM, align 4, !tbaa !23 %68 = call i32 @AVERROR(i32 noundef %67) #3 br label %98 69: ; preds = %57 %70 = getelementptr inbounds %struct.TYPE_11__, ptr %59, i64 %58, i32 3 %71 = load i32, ptr %70, align 8, !tbaa !25 %72 = load i32, ptr %60, align 4, !tbaa !24 %73 = call i32 @av_base64_encode(ptr noundef nonnull %63, i32 noundef %62, i32 noundef %71, i32 noundef %72) #3 %74 = load ptr, ptr %3, align 8, !tbaa !18 %75 = trunc i64 %58 to i32 %76 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %74, ptr noundef nonnull @.str.11, i32 noundef %75, i32 noundef %75) #3 %77 = load ptr, ptr %3, align 8, !tbaa !18 %78 = getelementptr inbounds %struct.TYPE_11__, ptr %59, i64 %58, i32 1 %79 = load i32, ptr %78, align 8, !tbaa !26 %80 = sdiv i32 %79, 1000 %81 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %77, ptr noundef nonnull @.str.12, i32 noundef %80, i32 noundef %75, i32 noundef %75) #3 %82 = load ptr, ptr %3, align 8, !tbaa !18 %83 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %82, ptr noundef nonnull @.str.13, ptr noundef nonnull %63) #3 %84 = load ptr, ptr %3, align 8, !tbaa !18 %85 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %84, ptr noundef nonnull @.str.14) #3 %86 = call i32 @av_free(ptr noundef nonnull %63) #3 %87 = add nuw nsw i64 %58, 1 %88 = load i32, ptr %7, align 8, !tbaa !10 %89 = sext i32 %88 to i64 %90 = icmp slt i64 %87, %89 br i1 %90, label %57, label %91, !llvm.loop !27 91: ; preds = %69, %52 %92 = load ptr, ptr %3, align 8, !tbaa !18 %93 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %92, ptr noundef nonnull @.str.15) #3 %94 = load ptr, ptr %3, align 8, !tbaa !18 %95 = call i32 @avio_flush(ptr noundef %94) #3 %96 = call i32 @ff_format_io_close(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %97 = call i32 @ff_rename(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %0) #3 br label %98 98: ; preds = %65, %91, %31 %99 = phi i32 [ %29, %31 ], [ %97, %91 ], [ %68, %65 ] call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %99 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare double @av_q2d(i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avio_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @av_basename(ptr noundef) local_unnamed_addr #2 declare i32 @AV_BASE64_SIZE(i32 noundef) local_unnamed_addr #2 declare ptr @av_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @ff_format_io_close(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i32 @av_base64_encode(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @avio_flush(ptr noundef) local_unnamed_addr #2 declare i32 @ff_rename(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"TYPE_13__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_12__", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !7, i64 8} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_11__", !16, i64 0, !12, i64 8, !12, i64 12, !12, i64 16} !16 = !{!"double", !8, i64 0} !17 = !{!6, !7, i64 16} !18 = !{!7, !7, i64 0} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_10__", !12, i64 0} !21 = !{!6, !7, i64 0} !22 = !{!6, !7, i64 8} !23 = !{!12, !12, i64 0} !24 = !{!15, !12, i64 12} !25 = !{!15, !12, i64 16} !26 = !{!15, !12, i64 8} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_hdsenc.c_write_manifest.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_hdsenc.c_write_manifest.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_11__ = type { double, i32, i32, i32 } @.str = private unnamed_addr constant [13 x i8] c"%s/index.f4m\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"%s/index.f4m.tmp\00", align 1 @AVIO_FLAG_WRITE = common local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"Unable to open %s for writing\0A\00", align 1 @.str.3 = private unnamed_addr constant [40 x i8] c"<?xml version=\221.0\22 encoding=\22utf-8\22?>\0A\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c"<manifest xmlns=\22http://ns.adobe.com/f4m/1.0\22>\0A\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"\09<id>%s</id>\0A\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"\09<streamType>%s</streamType>\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"recorded\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"live\00", align 1 @.str.9 = private unnamed_addr constant [41 x i8] c"\09<deliveryType>streaming</deliveryType>\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"\09<duration>%f</duration>\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [73 x i8] c"\09<bootstrapInfo profile=\22named\22 url=\22stream%d.abst\22 id=\22bootstrap%d\22 />\0A\00", align 1 @.str.12 = private unnamed_addr constant [68 x i8] c"\09<media bitrate=\22%d\22 url=\22stream%d\22 bootstrapInfoId=\22bootstrap%d\22>\0A\00", align 1 @.str.13 = private unnamed_addr constant [27 x i8] c"\09\09<metadata>%s</metadata>\0A\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"\09</media>\0A\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"</manifest>\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @write_manifest], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @write_manifest(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca [1024 x i8], align 1 %5 = alloca [1024 x i8], align 1 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load ptr, ptr %6, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3 %8 = load i32, ptr %7, align 8, !tbaa !11 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %20 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %7, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !14 %13 = load double, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds i8, ptr %0, i64 16 %15 = load ptr, ptr %14, align 8, !tbaa !18 %16 = load ptr, ptr %15, align 8, !tbaa !19 %17 = load i32, ptr %16, align 4, !tbaa !20 %18 = tail call double @av_q2d(i32 noundef %17) #3 %19 = fmul double %13, %18 br label %20 20: ; preds = %10, %2 %21 = phi double [ %19, %10 ], [ 0.000000e+00, %2 ] %22 = load ptr, ptr %0, align 8, !tbaa !22 %23 = call i32 @snprintf(ptr noundef nonnull %4, i32 noundef 1024, ptr noundef nonnull @.str, ptr noundef %22) #3 %24 = load ptr, ptr %0, align 8, !tbaa !22 %25 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef 1024, ptr noundef nonnull @.str.1, ptr noundef %24) #3 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !23 %28 = load i32, ptr @AVIO_FLAG_WRITE, align 4, !tbaa !24 %29 = call i32 %27(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %5, i32 noundef %28, ptr noundef null) #3 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %20 %32 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !24 %33 = call i32 @av_log(ptr noundef nonnull %0, i32 noundef %32, ptr noundef nonnull @.str.2, ptr noundef nonnull %5) #3 br label %99 34: ; preds = %20 %35 = load ptr, ptr %3, align 8, !tbaa !19 %36 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %35, ptr noundef nonnull @.str.3) #3 %37 = load ptr, ptr %3, align 8, !tbaa !19 %38 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %37, ptr noundef nonnull @.str.4) #3 %39 = load ptr, ptr %3, align 8, !tbaa !19 %40 = load ptr, ptr %0, align 8, !tbaa !22 %41 = call i32 @av_basename(ptr noundef %40) #3 %42 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %39, ptr noundef nonnull @.str.5, i32 noundef %41) #3 %43 = load ptr, ptr %3, align 8, !tbaa !19 %44 = icmp eq i32 %1, 0 %45 = select i1 %44, ptr @.str.8, ptr @.str.7 %46 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %43, ptr noundef nonnull @.str.6, ptr noundef nonnull %45) #3 %47 = load ptr, ptr %3, align 8, !tbaa !19 %48 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %47, ptr noundef nonnull @.str.9) #3 br i1 %44, label %52, label %49 49: ; preds = %34 %50 = load ptr, ptr %3, align 8, !tbaa !19 %51 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %50, ptr noundef nonnull @.str.10, double noundef %21) #3 br label %52 52: ; preds = %49, %34 %53 = load i32, ptr %7, align 8, !tbaa !11 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %92 55: ; preds = %52 %56 = getelementptr inbounds i8, ptr %7, i64 8 br label %57 57: ; preds = %55, %70 %58 = phi i64 [ 0, %55 ], [ %88, %70 ] %59 = load ptr, ptr %56, align 8, !tbaa !14 %60 = getelementptr inbounds %struct.TYPE_11__, ptr %59, i64 %58 %61 = getelementptr inbounds i8, ptr %60, i64 12 %62 = load i32, ptr %61, align 4, !tbaa !25 %63 = call i32 @AV_BASE64_SIZE(i32 noundef %62) #3 %64 = call ptr @av_malloc(i32 noundef %63) #3 %65 = icmp eq ptr %64, null br i1 %65, label %66, label %70 66: ; preds = %57 %67 = call i32 @ff_format_io_close(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %68 = load i32, ptr @ENOMEM, align 4, !tbaa !24 %69 = call i32 @AVERROR(i32 noundef %68) #3 br label %99 70: ; preds = %57 %71 = getelementptr inbounds i8, ptr %60, i64 16 %72 = load i32, ptr %71, align 8, !tbaa !26 %73 = load i32, ptr %61, align 4, !tbaa !25 %74 = call i32 @av_base64_encode(ptr noundef nonnull %64, i32 noundef %63, i32 noundef %72, i32 noundef %73) #3 %75 = load ptr, ptr %3, align 8, !tbaa !19 %76 = trunc nuw nsw i64 %58 to i32 %77 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %75, ptr noundef nonnull @.str.11, i32 noundef %76, i32 noundef %76) #3 %78 = load ptr, ptr %3, align 8, !tbaa !19 %79 = getelementptr inbounds i8, ptr %60, i64 8 %80 = load i32, ptr %79, align 8, !tbaa !27 %81 = sdiv i32 %80, 1000 %82 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %78, ptr noundef nonnull @.str.12, i32 noundef %81, i32 noundef %76, i32 noundef %76) #3 %83 = load ptr, ptr %3, align 8, !tbaa !19 %84 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %83, ptr noundef nonnull @.str.13, ptr noundef nonnull %64) #3 %85 = load ptr, ptr %3, align 8, !tbaa !19 %86 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %85, ptr noundef nonnull @.str.14) #3 %87 = call i32 @av_free(ptr noundef nonnull %64) #3 %88 = add nuw nsw i64 %58, 1 %89 = load i32, ptr %7, align 8, !tbaa !11 %90 = sext i32 %89 to i64 %91 = icmp slt i64 %88, %90 br i1 %91, label %57, label %92, !llvm.loop !28 92: ; preds = %70, %52 %93 = load ptr, ptr %3, align 8, !tbaa !19 %94 = call i32 (ptr, ptr, ...) @avio_printf(ptr noundef %93, ptr noundef nonnull @.str.15) #3 %95 = load ptr, ptr %3, align 8, !tbaa !19 %96 = call i32 @avio_flush(ptr noundef %95) #3 %97 = call i32 @ff_format_io_close(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %98 = call i32 @ff_rename(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %0) #3 br label %99 99: ; preds = %66, %92, %31 %100 = phi i32 [ %29, %31 ], [ %98, %92 ], [ %69, %66 ] call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %100 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare double @av_q2d(i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @avio_printf(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @av_basename(ptr noundef) local_unnamed_addr #2 declare i32 @AV_BASE64_SIZE(i32 noundef) local_unnamed_addr #2 declare ptr @av_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @ff_format_io_close(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i32 @av_base64_encode(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @avio_flush(ptr noundef) local_unnamed_addr #2 declare i32 @ff_rename(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"TYPE_13__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_12__", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !8, i64 8} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_11__", !17, i64 0, !13, i64 8, !13, i64 12, !13, i64 16} !17 = !{!"double", !9, i64 0} !18 = !{!7, !8, i64 16} !19 = !{!8, !8, i64 0} !20 = !{!21, !13, i64 0} !21 = !{!"TYPE_10__", !13, i64 0} !22 = !{!7, !8, i64 0} !23 = !{!7, !8, i64 8} !24 = !{!13, !13, i64 0} !25 = !{!16, !13, i64 12} !26 = !{!16, !13, i64 16} !27 = !{!16, !13, i64 8} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavformat_extr_hdsenc.c_write_manifest
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_stts751.c_stts751_update_alert.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_stts751.c_stts751_update_alert.c" target datalayout = "e-m:e-p270:32:32-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.stts751_priv = type { i64, i32, i32, i32, i32, ptr, i64 } @stts751_intervals = dso_local local_unnamed_addr global ptr null, align 8 @STTS751_REG_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"status reg %x\0A\00", align 1 @STTS751_STATUS_TRIPH = dso_local local_unnamed_addr global i32 0, align 4 @STTS751_STATUS_TRIPL = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [26 x i8] c"invalidating alert cache\0A\00", align 1 @STTS751_STATUS_TRIPT = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [46 x i8] c"max_alert: %d, min_alert: %d, therm_trip: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @stts751_update_alert], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @stts751_update_alert(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr @stts751_intervals, align 8, !tbaa !5 %3 = load i64, ptr %0, align 8, !tbaa !9 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = tail call i32 @msecs_to_jiffies(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 5 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = load i32, ptr @STTS751_REG_STATUS, align 4, !tbaa !13 %10 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef %8, i32 noundef %9) #2 %11 = icmp slt i32 %10, 0 br i1 %11, label %63, label %12 12: ; preds = %1 %13 = sdiv i32 %6, 10 %14 = add nsw i32 %13, %6 %15 = load ptr, ptr %7, align 8, !tbaa !14 %16 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %15, ptr noundef nonnull @.str, i32 noundef %10) #2 %17 = load i32, ptr @STTS751_STATUS_TRIPH, align 4, !tbaa !13 %18 = load i32, ptr @STTS751_STATUS_TRIPL, align 4, !tbaa !13 %19 = or i32 %18, %17 %20 = and i32 %19, %10 %21 = load i64, ptr @jiffies, align 8, !tbaa !15 %22 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 6 %23 = load i64, ptr %22, align 8, !tbaa !16 %24 = sext i32 %14 to i64 %25 = add nsw i64 %23, %24 %26 = tail call i64 @time_after(i64 noundef %21, i64 noundef %25) #2 %27 = icmp ne i64 %26, 0 %28 = icmp ne i32 %20, 0 %29 = select i1 %27, i1 true, i1 %28 br i1 %29, label %34, label %30 30: ; preds = %12 %31 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 1 %32 = load i32, ptr %31, align 8, !tbaa !17 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %30, %12 %35 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 2 store i32 0, ptr %35, align 4, !tbaa !18 %36 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 3 store i32 0, ptr %36, align 8, !tbaa !19 %37 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 1 store i32 1, ptr %37, align 8, !tbaa !17 %38 = load i64, ptr @jiffies, align 8, !tbaa !15 store i64 %38, ptr %22, align 8, !tbaa !16 %39 = load ptr, ptr %7, align 8, !tbaa !14 %40 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %39, ptr noundef nonnull @.str.1) #2 br label %41 41: ; preds = %34, %30 %42 = load i32, ptr @STTS751_STATUS_TRIPH, align 4, !tbaa !13 %43 = and i32 %42, %10 %44 = icmp ne i32 %43, 0 %45 = zext i1 %44 to i32 %46 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 2 %47 = load i32, ptr %46, align 4, !tbaa !18 %48 = or i32 %47, %45 store i32 %48, ptr %46, align 4, !tbaa !18 %49 = load i32, ptr @STTS751_STATUS_TRIPL, align 4, !tbaa !13 %50 = and i32 %49, %10 %51 = icmp ne i32 %50, 0 %52 = zext i1 %51 to i32 %53 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 3 %54 = load i32, ptr %53, align 8, !tbaa !19 %55 = or i32 %54, %52 store i32 %55, ptr %53, align 8, !tbaa !19 %56 = load i32, ptr @STTS751_STATUS_TRIPT, align 4, !tbaa !13 %57 = and i32 %56, %10 %58 = icmp ne i32 %57, 0 %59 = zext i1 %58 to i32 %60 = getelementptr inbounds %struct.stts751_priv, ptr %0, i64 0, i32 4 store i32 %59, ptr %60, align 4, !tbaa !20 %61 = load ptr, ptr %7, align 8, !tbaa !14 %62 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %61, ptr noundef nonnull @.str.2, i32 noundef %48, i32 noundef %55, i32 noundef %59) #2 br label %63 63: ; preds = %1, %41 %64 = phi i32 [ 0, %41 ], [ %10, %1 ] ret i32 %64 } declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @i2c_smbus_read_byte_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"stts751_priv", !11, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !6, i64 24, !11, i64 32} !11 = !{!"long", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!10, !6, i64 24} !15 = !{!11, !11, i64 0} !16 = !{!10, !11, i64 32} !17 = !{!10, !12, i64 8} !18 = !{!10, !12, i64 12} !19 = !{!10, !12, i64 16} !20 = !{!10, !12, i64 20}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_stts751.c_stts751_update_alert.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_stts751.c_stts751_update_alert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stts751_intervals = common local_unnamed_addr global ptr null, align 8 @STTS751_REG_STATUS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"status reg %x\0A\00", align 1 @STTS751_STATUS_TRIPH = common local_unnamed_addr global i32 0, align 4 @STTS751_STATUS_TRIPL = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [26 x i8] c"invalidating alert cache\0A\00", align 1 @STTS751_STATUS_TRIPT = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [46 x i8] c"max_alert: %d, min_alert: %d, therm_trip: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @stts751_update_alert], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @stts751_update_alert(ptr nocapture noundef %0) #0 { %2 = load ptr, ptr @stts751_intervals, align 8, !tbaa !6 %3 = load i64, ptr %0, align 8, !tbaa !10 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr %4, align 4, !tbaa !14 %6 = tail call i32 @msecs_to_jiffies(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load ptr, ptr %7, align 8, !tbaa !15 %9 = load i32, ptr @STTS751_REG_STATUS, align 4, !tbaa !14 %10 = tail call i32 @i2c_smbus_read_byte_data(ptr noundef %8, i32 noundef %9) #2 %11 = icmp slt i32 %10, 0 br i1 %11, label %62, label %12 12: ; preds = %1 %13 = sdiv i32 %6, 10 %14 = add nsw i32 %13, %6 %15 = load ptr, ptr %7, align 8, !tbaa !15 %16 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %15, ptr noundef nonnull @.str, i32 noundef %10) #2 %17 = load i32, ptr @STTS751_STATUS_TRIPH, align 4, !tbaa !14 %18 = load i32, ptr @STTS751_STATUS_TRIPL, align 4, !tbaa !14 %19 = or i32 %18, %17 %20 = and i32 %19, %10 %21 = load i64, ptr @jiffies, align 8, !tbaa !16 %22 = getelementptr inbounds i8, ptr %0, i64 32 %23 = load i64, ptr %22, align 8, !tbaa !17 %24 = sext i32 %14 to i64 %25 = add nsw i64 %23, %24 %26 = tail call i64 @time_after(i64 noundef %21, i64 noundef %25) #2 %27 = icmp ne i64 %26, 0 %28 = icmp ne i32 %20, 0 %29 = select i1 %27, i1 true, i1 %28 br i1 %29, label %34, label %30 30: ; preds = %12 %31 = getelementptr inbounds i8, ptr %0, i64 8 %32 = load i32, ptr %31, align 8, !tbaa !18 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %40 34: ; preds = %30, %12 %35 = getelementptr inbounds i8, ptr %0, i64 16 store i32 0, ptr %35, align 8, !tbaa !19 %36 = getelementptr inbounds i8, ptr %0, i64 8 store <2 x i32> <i32 1, i32 0>, ptr %36, align 8, !tbaa !14 %37 = load i64, ptr @jiffies, align 8, !tbaa !16 store i64 %37, ptr %22, align 8, !tbaa !17 %38 = load ptr, ptr %7, align 8, !tbaa !15 %39 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %38, ptr noundef nonnull @.str.1) #2 br label %40 40: ; preds = %34, %30 %41 = load i32, ptr @STTS751_STATUS_TRIPH, align 4, !tbaa !14 %42 = and i32 %41, %10 %43 = icmp ne i32 %42, 0 %44 = zext i1 %43 to i32 %45 = getelementptr inbounds i8, ptr %0, i64 12 %46 = load i32, ptr %45, align 4, !tbaa !20 %47 = or i32 %46, %44 store i32 %47, ptr %45, align 4, !tbaa !20 %48 = load i32, ptr @STTS751_STATUS_TRIPL, align 4, !tbaa !14 %49 = and i32 %48, %10 %50 = icmp ne i32 %49, 0 %51 = zext i1 %50 to i32 %52 = getelementptr inbounds i8, ptr %0, i64 16 %53 = load i32, ptr %52, align 8, !tbaa !19 %54 = or i32 %53, %51 store i32 %54, ptr %52, align 8, !tbaa !19 %55 = load i32, ptr @STTS751_STATUS_TRIPT, align 4, !tbaa !14 %56 = and i32 %55, %10 %57 = icmp ne i32 %56, 0 %58 = zext i1 %57 to i32 %59 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %58, ptr %59, align 4, !tbaa !21 %60 = load ptr, ptr %7, align 8, !tbaa !15 %61 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %60, ptr noundef nonnull @.str.2, i32 noundef %47, i32 noundef %54, i32 noundef %58) #2 br label %62 62: ; preds = %1, %40 %63 = phi i32 [ 0, %40 ], [ %10, %1 ] ret i32 %63 } declare i32 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @i2c_smbus_read_byte_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @time_after(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"stts751_priv", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !12, i64 32} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!11, !7, i64 24} !16 = !{!12, !12, i64 0} !17 = !{!11, !12, i64 32} !18 = !{!11, !13, i64 8} !19 = !{!11, !13, i64 16} !20 = !{!11, !13, i64 12} !21 = !{!11, !13, i64 20}
linux_drivers_hwmon_extr_stts751.c_stts751_update_alert
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_mac_addr_match.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_mac_addr_match.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @lpfc_fcf_record_mac_0 = dso_local local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_1 = dso_local local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_2 = dso_local local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_3 = dso_local local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_4 = dso_local local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_5 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_mac_addr_match], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lpfc_mac_addr_match(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @lpfc_fcf_record_mac_0, align 4, !tbaa !9 %5 = tail call i64 @bf_get(i32 noundef %4, ptr noundef %1) #2 %6 = icmp eq i64 %3, %5 br i1 %6, label %7, label %38 7: ; preds = %2 %8 = getelementptr inbounds i64, ptr %0, i64 1 %9 = load i64, ptr %8, align 8, !tbaa !5 %10 = load i32, ptr @lpfc_fcf_record_mac_1, align 4, !tbaa !9 %11 = tail call i64 @bf_get(i32 noundef %10, ptr noundef %1) #2 %12 = icmp eq i64 %9, %11 br i1 %12, label %13, label %38 13: ; preds = %7 %14 = getelementptr inbounds i64, ptr %0, i64 2 %15 = load i64, ptr %14, align 8, !tbaa !5 %16 = load i32, ptr @lpfc_fcf_record_mac_2, align 4, !tbaa !9 %17 = tail call i64 @bf_get(i32 noundef %16, ptr noundef %1) #2 %18 = icmp eq i64 %15, %17 br i1 %18, label %19, label %38 19: ; preds = %13 %20 = getelementptr inbounds i64, ptr %0, i64 3 %21 = load i64, ptr %20, align 8, !tbaa !5 %22 = load i32, ptr @lpfc_fcf_record_mac_3, align 4, !tbaa !9 %23 = tail call i64 @bf_get(i32 noundef %22, ptr noundef %1) #2 %24 = icmp eq i64 %21, %23 br i1 %24, label %25, label %38 25: ; preds = %19 %26 = getelementptr inbounds i64, ptr %0, i64 4 %27 = load i64, ptr %26, align 8, !tbaa !5 %28 = load i32, ptr @lpfc_fcf_record_mac_4, align 4, !tbaa !9 %29 = tail call i64 @bf_get(i32 noundef %28, ptr noundef %1) #2 %30 = icmp eq i64 %27, %29 br i1 %30, label %31, label %38 31: ; preds = %25 %32 = getelementptr inbounds i64, ptr %0, i64 5 %33 = load i64, ptr %32, align 8, !tbaa !5 %34 = load i32, ptr @lpfc_fcf_record_mac_5, align 4, !tbaa !9 %35 = tail call i64 @bf_get(i32 noundef %34, ptr noundef %1) #2 %36 = icmp eq i64 %33, %35 %37 = zext i1 %36 to i32 br label %38 38: ; preds = %31, %25, %19, %13, %7, %2 %39 = phi i32 [ 0, %2 ], [ 0, %7 ], [ 0, %13 ], [ 0, %19 ], [ 0, %25 ], [ %37, %31 ] ret i32 %39 } declare i64 @bf_get(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 = !{!"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/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_mac_addr_match.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_mac_addr_match.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @lpfc_fcf_record_mac_0 = common local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_1 = common local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_2 = common local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_3 = common local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_4 = common local_unnamed_addr global i32 0, align 4 @lpfc_fcf_record_mac_5 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lpfc_mac_addr_match], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @lpfc_mac_addr_match(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @lpfc_fcf_record_mac_0, align 4, !tbaa !10 %5 = tail call i64 @bf_get(i32 noundef %4, ptr noundef %1) #2 %6 = icmp eq i64 %3, %5 br i1 %6, label %7, label %38 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !6 %10 = load i32, ptr @lpfc_fcf_record_mac_1, align 4, !tbaa !10 %11 = tail call i64 @bf_get(i32 noundef %10, ptr noundef %1) #2 %12 = icmp eq i64 %9, %11 br i1 %12, label %13, label %38 13: ; preds = %7 %14 = getelementptr inbounds i8, ptr %0, i64 16 %15 = load i64, ptr %14, align 8, !tbaa !6 %16 = load i32, ptr @lpfc_fcf_record_mac_2, align 4, !tbaa !10 %17 = tail call i64 @bf_get(i32 noundef %16, ptr noundef %1) #2 %18 = icmp eq i64 %15, %17 br i1 %18, label %19, label %38 19: ; preds = %13 %20 = getelementptr inbounds i8, ptr %0, i64 24 %21 = load i64, ptr %20, align 8, !tbaa !6 %22 = load i32, ptr @lpfc_fcf_record_mac_3, align 4, !tbaa !10 %23 = tail call i64 @bf_get(i32 noundef %22, ptr noundef %1) #2 %24 = icmp eq i64 %21, %23 br i1 %24, label %25, label %38 25: ; preds = %19 %26 = getelementptr inbounds i8, ptr %0, i64 32 %27 = load i64, ptr %26, align 8, !tbaa !6 %28 = load i32, ptr @lpfc_fcf_record_mac_4, align 4, !tbaa !10 %29 = tail call i64 @bf_get(i32 noundef %28, ptr noundef %1) #2 %30 = icmp eq i64 %27, %29 br i1 %30, label %31, label %38 31: ; preds = %25 %32 = getelementptr inbounds i8, ptr %0, i64 40 %33 = load i64, ptr %32, align 8, !tbaa !6 %34 = load i32, ptr @lpfc_fcf_record_mac_5, align 4, !tbaa !10 %35 = tail call i64 @bf_get(i32 noundef %34, ptr noundef %1) #2 %36 = icmp eq i64 %33, %35 %37 = zext i1 %36 to i32 br label %38 38: ; preds = %31, %25, %19, %13, %7, %2 %39 = phi i32 [ 0, %2 ], [ 0, %7 ], [ 0, %13 ], [ 0, %19 ], [ 0, %25 ], [ %37, %31 ] ret i32 %39 } declare i64 @bf_get(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 = !{!"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}
linux_drivers_scsi_lpfc_extr_lpfc_hbadisc.c_lpfc_mac_addr_match
; ModuleID = 'AnghaBench/linux/mm/extr_slub.c_node_nr_slabs.c' source_filename = "AnghaBench/linux/mm/extr_slub.c_node_nr_slabs.c" target datalayout = "e-m:e-p270:32:32-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 @node_nr_slabs], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i64 @node_nr_slabs(ptr nocapture readnone %0) #0 { ret i64 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/mm/extr_slub.c_node_nr_slabs.c' source_filename = "AnghaBench/linux/mm/extr_slub.c_node_nr_slabs.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 @node_nr_slabs], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i64 @node_nr_slabs(ptr nocapture readnone %0) #0 { ret i64 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_mm_extr_slub.c_node_nr_slabs
; ModuleID = 'AnghaBench/linux/net/dccp/extr_ccid.h_ccid_hc_tx_get_info.c' source_filename = "AnghaBench/linux/net/dccp/extr_ccid.h_ccid_hc_tx_get_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @ccid_hc_tx_get_info], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @ccid_hc_tx_get_info(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = icmp eq ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 %5(ptr noundef %1, ptr noundef %2) #1 br label %9 9: ; preds = %7, %3 ret void } attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ccid", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/dccp/extr_ccid.h_ccid_hc_tx_get_info.c' source_filename = "AnghaBench/linux/net/dccp/extr_ccid.h_ccid_hc_tx_get_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 @ccid_hc_tx_get_info], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @ccid_hc_tx_get_info(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = icmp eq ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 %5(ptr noundef %1, ptr noundef %2) #1 br label %9 9: ; preds = %7, %3 ret void } attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ccid", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0}
linux_net_dccp_extr_ccid.h_ccid_hc_tx_get_info
; ModuleID = 'AnghaBench/openpilot/phonelibs/json/src/extr_json.c_append_node.c' source_filename = "AnghaBench/openpilot/phonelibs/json/src/extr_json.c_append_node.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { %struct.TYPE_5__, ptr, ptr, ptr } %struct.TYPE_5__ = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @append_node], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @append_node(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 3 store ptr %0, ptr %3, align 8, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 2 store ptr %4, ptr %5, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 store ptr null, ptr %6, align 8, !tbaa !13 %7 = icmp eq ptr %4, null %8 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %9 = getelementptr inbounds %struct.TYPE_6__, ptr %4, i64 0, i32 1 %10 = select i1 %7, ptr %8, ptr %9 store ptr %1, ptr %10, align 8, !tbaa !14 store ptr %1, ptr %0, align 8, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 32} !6 = !{!"TYPE_6__", !7, i64 0, !8, i64 16, !8, i64 24, !8, i64 32} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!6, !8, i64 0} !12 = !{!6, !8, i64 24} !13 = !{!6, !8, i64 16} !14 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/openpilot/phonelibs/json/src/extr_json.c_append_node.c' source_filename = "AnghaBench/openpilot/phonelibs/json/src/extr_json.c_append_node.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 @append_node], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @append_node(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 32 store ptr %0, ptr %3, align 8, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !12 %5 = getelementptr inbounds i8, ptr %1, i64 24 store ptr %4, ptr %5, align 8, !tbaa !13 %6 = getelementptr inbounds i8, ptr %1, i64 16 store ptr null, ptr %6, align 8, !tbaa !14 %7 = icmp eq ptr %4, null %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = getelementptr inbounds i8, ptr %4, i64 16 %10 = select i1 %7, ptr %8, ptr %9 store ptr %1, ptr %10, align 8, !tbaa !15 store ptr %1, ptr %0, align 8, !tbaa !12 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 32} !7 = !{!"TYPE_6__", !8, i64 0, !9, i64 16, !9, i64 24, !9, i64 32} !8 = !{!"TYPE_5__", !9, i64 0, !9, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!7, !9, i64 0} !13 = !{!7, !9, i64 24} !14 = !{!7, !9, i64 16} !15 = !{!9, !9, i64 0}
openpilot_phonelibs_json_src_extr_json.c_append_node
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_tvp514x.c_tvp514x_enum_mbus_code.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_tvp514x.c_tvp514x_enum_mbus_code.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.v4l2_subdev_mbus_code_enum = type { i64, i64, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @MEDIA_BUS_FMT_UYVY8_2X8 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tvp514x_enum_mbus_code], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tvp514x_enum_mbus_code(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i64, ptr %2, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.v4l2_subdev_mbus_code_enum, ptr %2, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = tail call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #2 store i64 %6, ptr %5, align 8, !tbaa !11 store i64 %4, ptr %2, align 8, !tbaa !5 %8 = icmp eq i64 %6, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !12 %11 = sub nsw i32 0, %10 br label %15 12: ; preds = %3 %13 = load i32, ptr @MEDIA_BUS_FMT_UYVY8_2X8, align 4, !tbaa !12 %14 = getelementptr inbounds %struct.v4l2_subdev_mbus_code_enum, ptr %2, i64 0, i32 2 store i32 %13, ptr %14, align 8, !tbaa !13 br label %15 15: ; preds = %12, %9 %16 = phi i32 [ %11, %9 ], [ 0, %12 ] ret i32 %16 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_subdev_mbus_code_enum", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_tvp514x.c_tvp514x_enum_mbus_code.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_tvp514x.c_tvp514x_enum_mbus_code.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 @MEDIA_BUS_FMT_UYVY8_2X8 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tvp514x_enum_mbus_code], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @tvp514x_enum_mbus_code(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i64, ptr %2, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = tail call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #2 store i64 %6, ptr %5, align 8, !tbaa !12 store i64 %4, ptr %2, align 8, !tbaa !6 %8 = icmp eq i64 %6, 0 br i1 %8, label %12, label %9 9: ; preds = %3 %10 = load i32, ptr @EINVAL, align 4, !tbaa !13 %11 = sub nsw i32 0, %10 br label %15 12: ; preds = %3 %13 = load i32, ptr @MEDIA_BUS_FMT_UYVY8_2X8, align 4, !tbaa !13 %14 = getelementptr inbounds i8, ptr %2, i64 16 store i32 %13, ptr %14, align 8, !tbaa !14 br label %15 15: ; preds = %12, %9 %16 = phi i32 [ %11, %9 ], [ 0, %12 ] ret i32 %16 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_subdev_mbus_code_enum", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 16}
linux_drivers_media_i2c_extr_tvp514x.c_tvp514x_enum_mbus_code
; ModuleID = 'AnghaBench/freebsd/contrib/amd/amd/extr_am_ops.c_ops_showamfstypes.c' source_filename = "AnghaBench/freebsd/contrib/amd/amd/extr_am_ops.c_ops_showamfstypes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @vops = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\0A \00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ops_showamfstypes(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { store i8 0, ptr %0, align 1, !tbaa !5 %3 = load ptr, ptr @vops, align 8, !tbaa !8 %4 = load ptr, ptr %3, align 8, !tbaa !8 %5 = icmp eq ptr %4, null br i1 %5, label %33, label %6 6: ; preds = %2, %29 %7 = phi ptr [ %31, %29 ], [ %4, %2 ] %8 = phi i64 [ %30, %29 ], [ 0, %2 ] %9 = phi ptr [ %12, %29 ], [ %3, %2 ] %10 = load ptr, ptr %7, align 8, !tbaa !10 %11 = tail call i32 @xstrlcat(ptr noundef nonnull %0, ptr noundef %10, i64 noundef %1) #3 %12 = getelementptr inbounds ptr, ptr %9, i64 1 %13 = load ptr, ptr %12, align 8, !tbaa !8 %14 = icmp eq ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %6 %16 = tail call i32 @xstrlcat(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %1) #3 br label %17 17: ; preds = %15, %6 %18 = load ptr, ptr %9, align 8, !tbaa !8 %19 = load ptr, ptr %18, align 8, !tbaa !10 %20 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %19) %21 = shl i64 %8, 32 %22 = ashr exact i64 %21, 32 %23 = add nsw i64 %22, 2 %24 = add i64 %23, %20 %25 = trunc i64 %24 to i32 %26 = icmp sgt i32 %25, 62 br i1 %26, label %27, label %29 27: ; preds = %17 %28 = tail call i32 @xstrlcat(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %1) #3 br label %29 29: ; preds = %17, %27 %30 = phi i64 [ 0, %27 ], [ %24, %17 ] %31 = load ptr, ptr %12, align 8, !tbaa !8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %6, !llvm.loop !12 33: ; preds = %29, %2 ret void } declare i32 @xstrlcat(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture 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 = { "no-trapping-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 nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"any pointer", !6, i64 0} !10 = !{!11, !9, i64 0} !11 = !{!"am_ops", !9, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/amd/amd/extr_am_ops.c_ops_showamfstypes.c' source_filename = "AnghaBench/freebsd/contrib/amd/amd/extr_am_ops.c_ops_showamfstypes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @vops = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\0A \00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ops_showamfstypes(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { store i8 0, ptr %0, align 1, !tbaa !6 %3 = load ptr, ptr @vops, align 8, !tbaa !9 %4 = load ptr, ptr %3, align 8, !tbaa !9 %5 = icmp eq ptr %4, null br i1 %5, label %33, label %6 6: ; preds = %2, %29 %7 = phi ptr [ %31, %29 ], [ %4, %2 ] %8 = phi i64 [ %30, %29 ], [ 0, %2 ] %9 = phi ptr [ %12, %29 ], [ %3, %2 ] %10 = load ptr, ptr %7, align 8, !tbaa !11 %11 = tail call i32 @xstrlcat(ptr noundef nonnull %0, ptr noundef %10, i64 noundef %1) #3 %12 = getelementptr inbounds i8, ptr %9, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !9 %14 = icmp eq ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %6 %16 = tail call i32 @xstrlcat(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %1) #3 br label %17 17: ; preds = %15, %6 %18 = load ptr, ptr %9, align 8, !tbaa !9 %19 = load ptr, ptr %18, align 8, !tbaa !11 %20 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %19) %21 = shl i64 %8, 32 %22 = ashr exact i64 %21, 32 %23 = add nsw i64 %22, 2 %24 = add i64 %23, %20 %25 = trunc i64 %24 to i32 %26 = icmp sgt i32 %25, 62 br i1 %26, label %27, label %29 27: ; preds = %17 %28 = tail call i32 @xstrlcat(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %1) #3 br label %29 29: ; preds = %17, %27 %30 = phi i64 [ 0, %27 ], [ %24, %17 ] %31 = load ptr, ptr %12, align 8, !tbaa !9 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %6, !llvm.loop !13 33: ; preds = %29, %2 ret void } declare i32 @xstrlcat(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"am_ops", !10, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_amd_amd_extr_am_ops.c_ops_showamfstypes
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_gtkglwidget.c_yui_gl_init.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_gtkglwidget.c_yui_gl_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @yui_gl_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @yui_gl_init(ptr nocapture noundef writeonly %0) #0 { store ptr null, ptr %0, align 8, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_gtkglwidget.c_yui_gl_init.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/gtk/extr_gtkglwidget.c_yui_gl_init.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 @yui_gl_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @yui_gl_init(ptr nocapture noundef writeonly %0) #0 { store ptr null, ptr %0, align 8, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
Provenance_Cores_Yabause_yabause_src_gtk_extr_gtkglwidget.c_yui_gl_init
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_rtl28xxu.c_rtl2831u_frontend_attach.c' source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_rtl28xxu.c_rtl2831u_frontend_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.rtl2830_platform_data = type { ptr, ptr } %struct.i2c_board_info = type { i32, i32, ptr } %struct.rtl28xxu_dev = type { i32, ptr, i32, i32, %struct.rtl2830_platform_data } %struct.dvb_usb_device = type { ptr, i32 } @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @rtl2830_qt1010_platform_data = dso_local local_unnamed_addr global %struct.rtl2830_platform_data zeroinitializer, align 8 @rtl2830_mt2060_platform_data = dso_local local_unnamed_addr global %struct.rtl2830_platform_data zeroinitializer, align 8 @rtl2830_mxl5005s_platform_data = dso_local local_unnamed_addr global %struct.rtl2830_platform_data zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [18 x i8] c"unknown tuner %s\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"rtl2830\00", align 1 @I2C_NAME_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"failed=%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtl2831u_frontend_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rtl2831u_frontend_attach(ptr noundef %0) #0 { %2 = alloca %struct.i2c_board_info, align 8 %3 = tail call ptr @adap_to_d(ptr noundef %0) #4 %4 = tail call ptr @d_to_priv(ptr noundef %3) #4 %5 = getelementptr inbounds %struct.rtl28xxu_dev, ptr %4, i64 0, i32 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 %6 = load ptr, ptr %3, align 8, !tbaa !5 %7 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %6, ptr noundef nonnull @.str) #4 %8 = load i32, ptr %4, align 8, !tbaa !11 switch i32 %8, label %12 [ i32 128, label %9 i32 130, label %10 i32 129, label %11 ] 9: ; preds = %1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) @rtl2830_qt1010_platform_data, i64 16, i1 false), !tbaa.struct !14 br label %17 10: ; preds = %1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) @rtl2830_mt2060_platform_data, i64 16, i1 false), !tbaa.struct !14 br label %17 11: ; preds = %1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) @rtl2830_mxl5005s_platform_data, i64 16, i1 false), !tbaa.struct !14 br label %17 12: ; preds = %1 %13 = load ptr, ptr %3, align 8, !tbaa !5 %14 = getelementptr inbounds %struct.rtl28xxu_dev, ptr %4, i64 0, i32 3 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = tail call i32 @dev_err(ptr noundef %13, ptr noundef nonnull @.str.1, i32 noundef %15) #4 br label %47 17: ; preds = %11, %10, %9 %18 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #4 %19 = getelementptr inbounds %struct.i2c_board_info, ptr %2, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = load i32, ptr @I2C_NAME_SIZE, align 4, !tbaa !19 %22 = call i32 @strscpy(i32 noundef %20, ptr noundef nonnull @.str.2, i32 noundef %21) #4 store i32 16, ptr %2, align 8, !tbaa !20 %23 = getelementptr inbounds %struct.i2c_board_info, ptr %2, i64 0, i32 2 store ptr %5, ptr %23, align 8, !tbaa !21 %24 = load i32, ptr %19, align 4, !tbaa !17 %25 = call i32 @request_module(ptr noundef nonnull @.str.3, i32 noundef %24) #4 %26 = getelementptr inbounds %struct.dvb_usb_device, ptr %3, i64 0, i32 1 %27 = call ptr @i2c_new_device(ptr noundef nonnull %26, ptr noundef nonnull %2) #4 %28 = icmp eq ptr %27, null br i1 %28, label %47, label %29 29: ; preds = %17 %30 = load ptr, ptr %27, align 8, !tbaa !22 %31 = icmp eq ptr %30, null br i1 %31, label %47, label %32 32: ; preds = %29 %33 = load i32, ptr %30, align 4, !tbaa !25 %34 = call i32 @try_module_get(i32 noundef %33) #4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = call i32 @i2c_unregister_device(ptr noundef nonnull %27) #4 br label %47 38: ; preds = %32 %39 = getelementptr inbounds %struct.rtl28xxu_dev, ptr %4, i64 0, i32 4, i32 1 %40 = load ptr, ptr %39, align 8, !tbaa !27 %41 = call i32 %40(ptr noundef nonnull %27) #4 %42 = load ptr, ptr %0, align 8, !tbaa !28 store i32 %41, ptr %42, align 4, !tbaa !19 %43 = load ptr, ptr %5, align 8, !tbaa !30 %44 = call i32 %43(ptr noundef nonnull %27) #4 %45 = getelementptr inbounds %struct.rtl28xxu_dev, ptr %4, i64 0, i32 2 store i32 %44, ptr %45, align 8, !tbaa !31 %46 = getelementptr inbounds %struct.rtl28xxu_dev, ptr %4, i64 0, i32 1 store ptr %27, ptr %46, align 8, !tbaa !32 br label %52 47: ; preds = %17, %29, %36, %12 %48 = load i32, ptr @ENODEV, align 4, !tbaa !19 %49 = sub nsw i32 0, %48 %50 = load ptr, ptr %3, align 8, !tbaa !5 %51 = call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %50, ptr noundef nonnull @.str.4, i32 noundef %49) #4 br label %52 52: ; preds = %47, %38 %53 = phi i32 [ %49, %47 ], [ 0, %38 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @adap_to_d(ptr noundef) local_unnamed_addr #2 declare ptr @d_to_priv(ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, 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 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strscpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @request_module(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @i2c_new_device(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @try_module_get(i32 noundef) local_unnamed_addr #2 declare i32 @i2c_unregister_device(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 = { mustprogress 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 = !{!"dvb_usb_device", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"rtl28xxu_dev", !10, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !13, i64 24} !13 = !{!"rtl2830_platform_data", !7, i64 0, !7, i64 8} !14 = !{i64 0, i64 8, !15, i64 8, i64 8, !15} !15 = !{!7, !7, i64 0} !16 = !{!12, !10, i64 20} !17 = !{!18, !10, i64 4} !18 = !{!"i2c_board_info", !10, i64 0, !10, i64 4, !7, i64 8} !19 = !{!10, !10, i64 0} !20 = !{!18, !10, i64 0} !21 = !{!18, !7, i64 8} !22 = !{!23, !7, i64 0} !23 = !{!"i2c_client", !24, i64 0} !24 = !{!"TYPE_5__", !7, i64 0} !25 = !{!26, !10, i64 0} !26 = !{!"TYPE_4__", !10, i64 0} !27 = !{!13, !7, i64 8} !28 = !{!29, !7, i64 0} !29 = !{!"dvb_usb_adapter", !7, i64 0} !30 = !{!13, !7, i64 0} !31 = !{!12, !10, i64 16} !32 = !{!12, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_rtl28xxu.c_rtl2831u_frontend_attach.c' source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_rtl28xxu.c_rtl2831u_frontend_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.rtl2830_platform_data = type { ptr, ptr } %struct.i2c_board_info = type { i32, i32, ptr } @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @rtl2830_qt1010_platform_data = common local_unnamed_addr global %struct.rtl2830_platform_data zeroinitializer, align 8 @rtl2830_mt2060_platform_data = common local_unnamed_addr global %struct.rtl2830_platform_data zeroinitializer, align 8 @rtl2830_mxl5005s_platform_data = common local_unnamed_addr global %struct.rtl2830_platform_data zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [18 x i8] c"unknown tuner %s\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [8 x i8] c"rtl2830\00", align 1 @I2C_NAME_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"failed=%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rtl2831u_frontend_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @rtl2831u_frontend_attach(ptr noundef %0) #0 { %2 = alloca %struct.i2c_board_info, align 8 %3 = tail call ptr @adap_to_d(ptr noundef %0) #4 %4 = tail call ptr @d_to_priv(ptr noundef %3) #4 %5 = getelementptr inbounds i8, ptr %4, i64 24 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 %6 = load ptr, ptr %3, align 8, !tbaa !6 %7 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %6, ptr noundef nonnull @.str) #4 %8 = load i32, ptr %4, align 8, !tbaa !12 switch i32 %8, label %12 [ i32 128, label %9 i32 130, label %10 i32 129, label %11 ] 9: ; preds = %1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) @rtl2830_qt1010_platform_data, i64 16, i1 false), !tbaa.struct !15 br label %17 10: ; preds = %1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) @rtl2830_mt2060_platform_data, i64 16, i1 false), !tbaa.struct !15 br label %17 11: ; preds = %1 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) @rtl2830_mxl5005s_platform_data, i64 16, i1 false), !tbaa.struct !15 br label %17 12: ; preds = %1 %13 = load ptr, ptr %3, align 8, !tbaa !6 %14 = getelementptr inbounds i8, ptr %4, i64 20 %15 = load i32, ptr %14, align 4, !tbaa !17 %16 = tail call i32 @dev_err(ptr noundef %13, ptr noundef nonnull @.str.1, i32 noundef %15) #4 br label %47 17: ; preds = %11, %10, %9 %18 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #4 %19 = getelementptr inbounds i8, ptr %2, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !18 %21 = load i32, ptr @I2C_NAME_SIZE, align 4, !tbaa !20 %22 = call i32 @strscpy(i32 noundef %20, ptr noundef nonnull @.str.2, i32 noundef %21) #4 store i32 16, ptr %2, align 8, !tbaa !21 %23 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %5, ptr %23, align 8, !tbaa !22 %24 = load i32, ptr %19, align 4, !tbaa !18 %25 = call i32 @request_module(ptr noundef nonnull @.str.3, i32 noundef %24) #4 %26 = getelementptr inbounds i8, ptr %3, i64 8 %27 = call ptr @i2c_new_device(ptr noundef nonnull %26, ptr noundef nonnull %2) #4 %28 = icmp eq ptr %27, null br i1 %28, label %47, label %29 29: ; preds = %17 %30 = load ptr, ptr %27, align 8, !tbaa !23 %31 = icmp eq ptr %30, null br i1 %31, label %47, label %32 32: ; preds = %29 %33 = load i32, ptr %30, align 4, !tbaa !26 %34 = call i32 @try_module_get(i32 noundef %33) #4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = call i32 @i2c_unregister_device(ptr noundef nonnull %27) #4 br label %47 38: ; preds = %32 %39 = getelementptr inbounds i8, ptr %4, i64 32 %40 = load ptr, ptr %39, align 8, !tbaa !28 %41 = call i32 %40(ptr noundef nonnull %27) #4 %42 = load ptr, ptr %0, align 8, !tbaa !29 store i32 %41, ptr %42, align 4, !tbaa !20 %43 = load ptr, ptr %5, align 8, !tbaa !31 %44 = call i32 %43(ptr noundef nonnull %27) #4 %45 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %44, ptr %45, align 8, !tbaa !32 %46 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %27, ptr %46, align 8, !tbaa !33 br label %52 47: ; preds = %17, %29, %36, %12 %48 = load i32, ptr @ENODEV, align 4, !tbaa !20 %49 = sub nsw i32 0, %48 %50 = load ptr, ptr %3, align 8, !tbaa !6 %51 = call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %50, ptr noundef nonnull @.str.4, i32 noundef %49) #4 br label %52 52: ; preds = %47, %38 %53 = phi i32 [ %49, %47 ], [ 0, %38 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @adap_to_d(ptr noundef) local_unnamed_addr #2 declare ptr @d_to_priv(ptr noundef) local_unnamed_addr #2 declare i32 @dev_dbg(ptr noundef, 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 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strscpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @request_module(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @i2c_new_device(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @try_module_get(i32 noundef) local_unnamed_addr #2 declare i32 @i2c_unregister_device(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 = { 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 = !{!7, !8, i64 0} !7 = !{!"dvb_usb_device", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"rtl28xxu_dev", !11, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !14, i64 24} !14 = !{!"rtl2830_platform_data", !8, i64 0, !8, i64 8} !15 = !{i64 0, i64 8, !16, i64 8, i64 8, !16} !16 = !{!8, !8, i64 0} !17 = !{!13, !11, i64 20} !18 = !{!19, !11, i64 4} !19 = !{!"i2c_board_info", !11, i64 0, !11, i64 4, !8, i64 8} !20 = !{!11, !11, i64 0} !21 = !{!19, !11, i64 0} !22 = !{!19, !8, i64 8} !23 = !{!24, !8, i64 0} !24 = !{!"i2c_client", !25, i64 0} !25 = !{!"TYPE_5__", !8, i64 0} !26 = !{!27, !11, i64 0} !27 = !{!"TYPE_4__", !11, i64 0} !28 = !{!14, !8, i64 8} !29 = !{!30, !8, i64 0} !30 = !{!"dvb_usb_adapter", !8, i64 0} !31 = !{!14, !8, i64 0} !32 = !{!13, !11, i64 16} !33 = !{!13, !8, i64 8}
linux_drivers_media_usb_dvb-usb-v2_extr_rtl28xxu.c_rtl2831u_frontend_attach
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/sn/kernel/extr_tiocx.c_tiocx_intr_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/sn/kernel/extr_tiocx.c_tiocx_intr_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" %struct.ia64_sal_retval = type { i64, i64 } @SN_SAL_IOIF_INTERRUPT = dso_local local_unnamed_addr global i32 0, align 4 @SAL_INTR_ALLOC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @tiocx_intr_alloc], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @tiocx_intr_alloc(i32 noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca %struct.ia64_sal_retval, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false) %8 = load i32, ptr @SN_SAL_IOIF_INTERRUPT, align 4, !tbaa !5 %9 = load i32, ptr @SAL_INTR_ALLOC, align 4, !tbaa !5 %10 = call i32 @ia64_sal_oemcall_nolock(ptr noundef nonnull %7, i32 noundef %8, i32 noundef %9, i32 noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #4 %11 = load i64, ptr %7, align 8, !tbaa !9 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4 ret i64 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ia64_sal_oemcall_nolock(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"ia64_sal_retval", !11, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/sn/kernel/extr_tiocx.c_tiocx_intr_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/sn/kernel/extr_tiocx.c_tiocx_intr_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ia64_sal_retval = type { i64, i64 } @SN_SAL_IOIF_INTERRUPT = common local_unnamed_addr global i32 0, align 4 @SAL_INTR_ALLOC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @tiocx_intr_alloc], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i64 @tiocx_intr_alloc(i32 noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca %struct.ia64_sal_retval, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false) %8 = load i32, ptr @SN_SAL_IOIF_INTERRUPT, align 4, !tbaa !6 %9 = load i32, ptr @SAL_INTR_ALLOC, align 4, !tbaa !6 %10 = call i32 @ia64_sal_oemcall_nolock(ptr noundef nonnull %7, i32 noundef %8, i32 noundef %9, i32 noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #4 %11 = load i64, ptr %7, align 8, !tbaa !10 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4 ret i64 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ia64_sal_oemcall_nolock(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"ia64_sal_retval", !12, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0}
fastsocket_kernel_arch_ia64_sn_kernel_extr_tiocx.c_tiocx_intr_alloc
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_exec.c_map_vmap.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_exec.c_map_vmap.c" target datalayout = "e-m:e-p270:32:32-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.vmap_and_bfd = type { ptr, ptr } %struct.vmap = type { ptr, ptr, ptr, ptr } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @bfdsec_to_vmap = dso_local local_unnamed_addr global i32 0, align 4 @vmap = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @map_vmap(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.vmap_and_bfd, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = tail call i64 @xmalloc(i32 noundef 32) #3 %5 = inttoptr i64 %4 to ptr %6 = tail call i32 @memset(ptr noundef %5, i8 noundef signext 0, i32 noundef 32) #3 %7 = getelementptr inbounds %struct.vmap, ptr %5, i64 0, i32 2 store ptr null, ptr %7, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.vmap, ptr %5, i64 0, i32 3 store ptr %0, ptr %8, align 8, !tbaa !10 %9 = icmp eq ptr %1, null %10 = select i1 %9, ptr %0, ptr %1 %11 = tail call ptr @bfd_get_filename(ptr noundef %10) #3 store ptr %11, ptr %5, align 8, !tbaa !11 br i1 %9, label %14, label %12 12: ; preds = %2 %13 = tail call ptr @bfd_get_filename(ptr noundef %0) #3 br label %14 14: ; preds = %2, %12 %15 = phi ptr [ %13, %12 ], [ @.str, %2 ] %16 = getelementptr inbounds %struct.vmap, ptr %5, i64 0, i32 1 store ptr %15, ptr %16, align 8, !tbaa !12 %17 = getelementptr inbounds %struct.vmap_and_bfd, ptr %3, i64 0, i32 1 store ptr %1, ptr %17, align 8, !tbaa !13 store ptr %5, ptr %3, align 8, !tbaa !15 %18 = load i32, ptr @bfdsec_to_vmap, align 4, !tbaa !16 %19 = call i32 @bfd_map_over_sections(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %3) #3 br label %20 20: ; preds = %20, %14 %21 = phi ptr [ @vmap, %14 ], [ %24, %20 ] %22 = load ptr, ptr %21, align 8, !tbaa !18 %23 = icmp eq ptr %22, null %24 = getelementptr inbounds %struct.vmap, ptr %22, i64 0, i32 2 br i1 %23, label %25, label %20, !llvm.loop !19 25: ; preds = %20 store ptr %5, ptr %21, align 8, !tbaa !18 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret ptr %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @xmalloc(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare ptr @bfd_get_filename(ptr noundef) local_unnamed_addr #2 declare i32 @bfd_map_over_sections(ptr 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 16} !6 = !{!"vmap", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 24} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!14, !7, i64 8} !14 = !{!"vmap_and_bfd", !7, i64 0, !7, i64 8} !15 = !{!14, !7, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !8, i64 0} !18 = !{!7, !7, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_exec.c_map_vmap.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_exec.c_map_vmap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vmap_and_bfd = type { ptr, ptr } @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @bfdsec_to_vmap = common local_unnamed_addr global i32 0, align 4 @vmap = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @map_vmap(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.vmap_and_bfd, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = tail call i64 @xmalloc(i32 noundef 32) #3 %5 = inttoptr i64 %4 to ptr %6 = tail call i32 @memset(ptr noundef %5, i8 noundef signext 0, i32 noundef 32) #3 %7 = getelementptr inbounds i8, ptr %5, i64 16 store ptr null, ptr %7, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %5, i64 24 store ptr %0, ptr %8, align 8, !tbaa !11 %9 = icmp eq ptr %1, null %10 = select i1 %9, ptr %0, ptr %1 %11 = tail call ptr @bfd_get_filename(ptr noundef %10) #3 store ptr %11, ptr %5, align 8, !tbaa !12 br i1 %9, label %14, label %12 12: ; preds = %2 %13 = tail call ptr @bfd_get_filename(ptr noundef %0) #3 br label %14 14: ; preds = %2, %12 %15 = phi ptr [ %13, %12 ], [ @.str, %2 ] %16 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %15, ptr %16, align 8, !tbaa !13 %17 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %1, ptr %17, align 8, !tbaa !14 store ptr %5, ptr %3, align 8, !tbaa !16 %18 = load i32, ptr @bfdsec_to_vmap, align 4, !tbaa !17 %19 = call i32 @bfd_map_over_sections(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %3) #3 br label %20 20: ; preds = %20, %14 %21 = phi ptr [ @vmap, %14 ], [ %24, %20 ] %22 = load ptr, ptr %21, align 8, !tbaa !19 %23 = icmp eq ptr %22, null %24 = getelementptr inbounds i8, ptr %22, i64 16 br i1 %23, label %25, label %20, !llvm.loop !20 25: ; preds = %20 store ptr %5, ptr %21, align 8, !tbaa !19 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret ptr %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @xmalloc(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare ptr @bfd_get_filename(ptr noundef) local_unnamed_addr #2 declare i32 @bfd_map_over_sections(ptr 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 16} !7 = !{!"vmap", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 24} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!15, !8, i64 8} !15 = !{!"vmap_and_bfd", !8, i64 0, !8, i64 8} !16 = !{!15, !8, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"int", !9, i64 0} !19 = !{!8, !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gdb_gdb_extr_exec.c_map_vmap
; ModuleID = 'AnghaBench/systemd/src/basic/extr_alloc-util.c_memdup_suffix0.c' source_filename = "AnghaBench/systemd/src/basic/extr_alloc-util.c_memdup_suffix0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SIZE_MAX = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @memdup_suffix0(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 %4 = icmp ne ptr %0, null %5 = or i1 %4, %3 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #3 %8 = load i64, ptr @SIZE_MAX, align 8, !tbaa !5 %9 = icmp eq i64 %8, %1 %10 = zext i1 %9 to i32 %11 = tail call i64 @_unlikely_(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %2 %14 = add i64 %1, 1 %15 = tail call ptr @malloc(i64 noundef %14) #4 %16 = icmp eq ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %13 %18 = tail call i64 @mempcpy(ptr noundef nonnull %15, ptr noundef %0, i64 noundef %1) #3 %19 = inttoptr i64 %18 to ptr store i64 0, ptr %19, align 8, !tbaa !5 br label %20 20: ; preds = %13, %2, %17 %21 = phi ptr [ %15, %17 ], [ null, %2 ], [ null, %13 ] ret ptr %21 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i64 @_unlikely_(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2 declare i64 @mempcpy(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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/systemd/src/basic/extr_alloc-util.c_memdup_suffix0.c' source_filename = "AnghaBench/systemd/src/basic/extr_alloc-util.c_memdup_suffix0.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SIZE_MAX = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @memdup_suffix0(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 %4 = icmp ne ptr %0, null %5 = or i1 %4, %3 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #3 %8 = load i64, ptr @SIZE_MAX, align 8, !tbaa !6 %9 = icmp eq i64 %8, %1 %10 = zext i1 %9 to i32 %11 = tail call i64 @_unlikely_(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %2 %14 = add i64 %1, 1 %15 = tail call ptr @malloc(i64 noundef %14) #4 %16 = icmp eq ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %13 %18 = tail call i64 @mempcpy(ptr noundef nonnull %15, ptr noundef %0, i64 noundef %1) #3 %19 = inttoptr i64 %18 to ptr store i64 0, ptr %19, align 8, !tbaa !6 br label %20 20: ; preds = %13, %2, %17 %21 = phi ptr [ %15, %17 ], [ null, %2 ], [ null, %13 ] ret ptr %21 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i64 @_unlikely_(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2 declare i64 @mempcpy(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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
systemd_src_basic_extr_alloc-util.c_memdup_suffix0
; ModuleID = 'AnghaBench/freebsd/sys/fs/udf/extr_udf_vnops.c_udf_uiodir.c' source_filename = "AnghaBench/freebsd/sys/fs/udf/extr_udf_vnops.c_udf_uiodir.c" target datalayout = "e-m:e-p270:32:32-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.udf_uiodir = type { i64, i64, i32, i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @udf_uiodir], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @udf_uiodir(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds %struct.udf_uiodir, ptr %0, i64 0, i32 4 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %19, label %8 8: ; preds = %4 %9 = load i64, ptr %0, align 8, !tbaa !12 %10 = add nsw i64 %9, 1 store i64 %10, ptr %0, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.udf_uiodir, ptr %0, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !13 %13 = icmp slt i64 %9, %12 br i1 %13, label %16, label %14 14: ; preds = %8 %15 = getelementptr inbounds %struct.udf_uiodir, ptr %0, i64 0, i32 3 store i64 0, ptr %15, align 8, !tbaa !14 br label %28 16: ; preds = %8 %17 = trunc i64 %3 to i32 %18 = getelementptr inbounds i32, ptr %6, i64 1 store ptr %18, ptr %5, align 8, !tbaa !5 store i32 %17, ptr %6, align 4, !tbaa !15 br label %19 19: ; preds = %16, %4 %20 = load i32, ptr %2, align 4, !tbaa !16 %21 = icmp slt i32 %20, %1 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = getelementptr inbounds %struct.udf_uiodir, ptr %0, i64 0, i32 3 store i64 0, ptr %23, align 8, !tbaa !14 br label %28 24: ; preds = %19 %25 = getelementptr inbounds %struct.udf_uiodir, ptr %0, i64 0, i32 2 %26 = load i32, ptr %25, align 8, !tbaa !18 %27 = tail call i32 @uiomove(i32 noundef %26, i32 noundef %1, ptr noundef nonnull %2) #2 br label %28 28: ; preds = %24, %22, %14 %29 = phi i32 [ -1, %14 ], [ -1, %22 ], [ %27, %24 ] ret i32 %29 } declare i32 @uiomove(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 32} !6 = !{!"udf_uiodir", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !11, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!6, !7, i64 24} !15 = !{!10, !10, i64 0} !16 = !{!17, !10, i64 0} !17 = !{!"uio", !10, i64 0} !18 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/freebsd/sys/fs/udf/extr_udf_vnops.c_udf_uiodir.c' source_filename = "AnghaBench/freebsd/sys/fs/udf/extr_udf_vnops.c_udf_uiodir.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 @udf_uiodir], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @udf_uiodir(ptr nocapture noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %0, i64 32 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %19, label %8 8: ; preds = %4 %9 = load i64, ptr %0, align 8, !tbaa !13 %10 = add nsw i64 %9, 1 store i64 %10, ptr %0, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !14 %13 = icmp slt i64 %9, %12 br i1 %13, label %16, label %14 14: ; preds = %8 %15 = getelementptr inbounds i8, ptr %0, i64 24 store i64 0, ptr %15, align 8, !tbaa !15 br label %28 16: ; preds = %8 %17 = trunc i64 %3 to i32 %18 = getelementptr inbounds i8, ptr %6, i64 4 store ptr %18, ptr %5, align 8, !tbaa !6 store i32 %17, ptr %6, align 4, !tbaa !16 br label %19 19: ; preds = %16, %4 %20 = load i32, ptr %2, align 4, !tbaa !17 %21 = icmp slt i32 %20, %1 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %0, i64 24 store i64 0, ptr %23, align 8, !tbaa !15 br label %28 24: ; preds = %19 %25 = getelementptr inbounds i8, ptr %0, i64 16 %26 = load i32, ptr %25, align 8, !tbaa !19 %27 = tail call i32 @uiomove(i32 noundef %26, i32 noundef %1, ptr noundef nonnull %2) #2 br label %28 28: ; preds = %24, %22, %14 %29 = phi i32 [ -1, %14 ], [ -1, %22 ], [ %27, %24 ] ret i32 %29 } declare i32 @uiomove(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 32} !7 = !{!"udf_uiodir", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !12, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!7, !8, i64 24} !16 = !{!11, !11, i64 0} !17 = !{!18, !11, i64 0} !18 = !{!"uio", !11, i64 0} !19 = !{!7, !11, i64 16}
freebsd_sys_fs_udf_extr_udf_vnops.c_udf_uiodir
; ModuleID = 'AnghaBench/git/xdiff/extr_xutils.c_xdl_guess_lines.c' source_filename = "AnghaBench/git/xdiff/extr_xutils.c_xdl_guess_lines.c" target datalayout = "e-m:e-p270:32:32-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 i64 @xdl_guess_lines(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call ptr @xdl_mmfile_first(ptr noundef %0, ptr noundef nonnull %3) #3 %5 = icmp eq ptr %4, null br i1 %5, label %37, label %6 6: ; preds = %2 %7 = load i64, ptr %3, align 8, !tbaa !5 %8 = getelementptr inbounds i8, ptr %4, i64 %7 %9 = icmp sgt i64 %1, 0 %10 = icmp sgt i64 %7, 0 %11 = select i1 %9, i1 %10, i1 false br i1 %11, label %12, label %37 12: ; preds = %6 %13 = ptrtoint ptr %8 to i64 br label %14 14: ; preds = %12, %14 %15 = phi i64 [ 0, %12 ], [ %17, %14 ] %16 = phi ptr [ %4, %12 ], [ %24, %14 ] %17 = add nuw nsw i64 %15, 1 %18 = ptrtoint ptr %16 to i64 %19 = sub i64 %13, %18 %20 = trunc i64 %19 to i32 %21 = call ptr @memchr(ptr noundef %16, i8 noundef signext 10, i32 noundef %20) #3 %22 = icmp eq ptr %21, null %23 = getelementptr inbounds i8, ptr %21, i64 1 %24 = select i1 %22, ptr %8, ptr %23 %25 = icmp slt i64 %17, %1 %26 = icmp ult ptr %24, %8 %27 = select i1 %25, i1 %26, i1 false br i1 %27, label %14, label %28, !llvm.loop !9 28: ; preds = %14 %29 = icmp eq ptr %24, %4 br i1 %29, label %37, label %30 30: ; preds = %28 %31 = ptrtoint ptr %4 to i64 %32 = ptrtoint ptr %24 to i64 %33 = sub i64 %32, %31 %34 = call i64 @xdl_mmfile_size(ptr noundef %0) #3 %35 = sdiv i64 %33, %17 %36 = sdiv i64 %34, %35 br label %37 37: ; preds = %6, %2, %30, %28 %38 = phi i64 [ %36, %30 ], [ %17, %28 ], [ 0, %2 ], [ 0, %6 ] %39 = add nsw i64 %38, 1 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i64 %39 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @xdl_mmfile_first(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare i64 @xdl_mmfile_size(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/git/xdiff/extr_xutils.c_xdl_guess_lines.c' source_filename = "AnghaBench/git/xdiff/extr_xutils.c_xdl_guess_lines.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i64 -9223372036854775807, -9223372036854775808) i64 @xdl_guess_lines(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call ptr @xdl_mmfile_first(ptr noundef %0, ptr noundef nonnull %3) #3 %5 = icmp eq ptr %4, null br i1 %5, label %37, label %6 6: ; preds = %2 %7 = load i64, ptr %3, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %4, i64 %7 %9 = icmp sgt i64 %1, 0 %10 = icmp sgt i64 %7, 0 %11 = select i1 %9, i1 %10, i1 false br i1 %11, label %12, label %37 12: ; preds = %6 %13 = ptrtoint ptr %8 to i64 br label %14 14: ; preds = %12, %14 %15 = phi i64 [ 0, %12 ], [ %17, %14 ] %16 = phi ptr [ %4, %12 ], [ %24, %14 ] %17 = add nuw nsw i64 %15, 1 %18 = ptrtoint ptr %16 to i64 %19 = sub i64 %13, %18 %20 = trunc i64 %19 to i32 %21 = call ptr @memchr(ptr noundef %16, i8 noundef signext 10, i32 noundef %20) #3 %22 = icmp eq ptr %21, null %23 = getelementptr inbounds i8, ptr %21, i64 1 %24 = select i1 %22, ptr %8, ptr %23 %25 = icmp slt i64 %17, %1 %26 = icmp ult ptr %24, %8 %27 = select i1 %25, i1 %26, i1 false br i1 %27, label %14, label %28, !llvm.loop !10 28: ; preds = %14 %29 = icmp eq ptr %24, %4 br i1 %29, label %37, label %30 30: ; preds = %28 %31 = ptrtoint ptr %4 to i64 %32 = ptrtoint ptr %24 to i64 %33 = sub i64 %32, %31 %34 = call i64 @xdl_mmfile_size(ptr noundef %0) #3 %35 = sdiv i64 %33, %17 %36 = sdiv i64 %34, %35 br label %37 37: ; preds = %6, %2, %30, %28 %38 = phi i64 [ %36, %30 ], [ %17, %28 ], [ 0, %2 ], [ 0, %6 ] %39 = add nsw i64 %38, 1 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i64 %39 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @xdl_mmfile_first(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #2 declare i64 @xdl_mmfile_size(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
git_xdiff_extr_xutils.c_xdl_guess_lines
; ModuleID = 'AnghaBench/nodemcu-firmware/app/pm/extr_swtimer.c_swtmr_resume_timers.c' source_filename = "AnghaBench/nodemcu-firmware/app/pm/extr_swtimer.c_swtmr_resume_timers.c" target datalayout = "e-m:e-p270:32:32-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 } @L_REGISTRY = dso_local local_unnamed_addr global i32 0, align 4 @SUSP_LIST_STR = dso_local local_unnamed_addr global i32 0, align 4 @FRC2_COUNT_ADDRESS = dso_local local_unnamed_addr global i32 0, align 4 @timer_list = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @swtmr_resume_timers() local_unnamed_addr #0 { %1 = alloca i64, align 8 %2 = tail call ptr (...) @lua_getstate() #3 %3 = tail call i32 @push_swtmr_registry_key(ptr noundef %2) #3 %4 = load i32, ptr @L_REGISTRY, align 4, !tbaa !5 %5 = tail call i32 @lua_rawget(ptr noundef %2, i32 noundef %4) #3 %6 = load i32, ptr @SUSP_LIST_STR, align 4, !tbaa !5 %7 = tail call i32 @lua_pushstring(ptr noundef %2, i32 noundef %6) #3 %8 = tail call i32 @lua_rawget(ptr noundef %2, i32 noundef -2) #3 %9 = tail call i32 @lua_istable(ptr noundef %2, i32 noundef -2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %0 %12 = tail call i32 @lua_isuserdata(ptr noundef %2, i32 noundef -1) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11, %0 %15 = tail call i32 @lua_pop(ptr noundef %2, i32 noundef 2) #3 br label %68 16: ; preds = %11 %17 = tail call ptr @lua_touserdata(ptr noundef %2, i32 noundef -1) #3 %18 = tail call i32 @lua_pop(ptr noundef %2, i32 noundef 1) #3 %19 = load i32, ptr @SUSP_LIST_STR, align 4, !tbaa !5 %20 = tail call i32 @lua_pushstring(ptr noundef %2, i32 noundef %19) #3 %21 = tail call i32 @lua_pushnil(ptr noundef %2) #3 %22 = tail call i32 @lua_rawset(ptr noundef %2, i32 noundef -3) #3 %23 = tail call i32 @lua_pop(ptr noundef %2, i32 noundef 1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) %24 = load i32, ptr @FRC2_COUNT_ADDRESS, align 4, !tbaa !5 %25 = tail call i64 @RTC_REG_READ(i32 noundef %24) #3 store volatile i64 %25, ptr %1, align 8, !tbaa !9 %26 = icmp eq ptr %17, null br i1 %26, label %67, label %27 27: ; preds = %16 %28 = load ptr, ptr @timer_list, align 8, !tbaa !11 br label %29 29: ; preds = %27, %64 %30 = phi ptr [ %33, %64 ], [ %17, %27 ] %31 = phi ptr [ %65, %64 ], [ %28, %27 ] %32 = getelementptr inbounds %struct.TYPE_4__, ptr %30, i64 0, i32 1 %33 = load ptr, ptr %32, align 8, !tbaa !13 %34 = load volatile i64, ptr %1, align 8, !tbaa !9 %35 = load volatile i64, ptr %30, align 8, !tbaa !15 %36 = add nsw i64 %35, %34 store volatile i64 %36, ptr %30, align 8, !tbaa !15 %37 = icmp eq ptr %31, null br i1 %37, label %64, label %38 38: ; preds = %29, %61 %39 = phi ptr [ %62, %61 ], [ %31, %29 ] %40 = load volatile i64, ptr %30, align 8, !tbaa !15 %41 = load volatile i64, ptr %39, align 8, !tbaa !15 %42 = icmp sgt i64 %40, %41 br i1 %42, label %43, label %55 43: ; preds = %38 %44 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 0, i32 1 %45 = load ptr, ptr %44, align 8, !tbaa !13 %46 = icmp eq ptr %45, null br i1 %46, label %53, label %47 47: ; preds = %43 %48 = load volatile i64, ptr %30, align 8, !tbaa !15 %49 = load volatile i64, ptr %45, align 8, !tbaa !15 %50 = icmp slt i64 %48, %49 br i1 %50, label %51, label %61 51: ; preds = %47 %52 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 0, i32 1 store ptr %45, ptr %32, align 8, !tbaa !13 store ptr %30, ptr %52, align 8, !tbaa !13 br label %64 53: ; preds = %43 %54 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 0, i32 1 store ptr %30, ptr %54, align 8, !tbaa !13 store ptr null, ptr %32, align 8, !tbaa !13 br label %64 55: ; preds = %38 %56 = icmp eq ptr %39, %31 br i1 %56, label %60, label %57 57: ; preds = %55 %58 = getelementptr inbounds %struct.TYPE_4__, ptr %39, i64 0, i32 1 %59 = load ptr, ptr %58, align 8, !tbaa !13 br label %61 60: ; preds = %55 store ptr %31, ptr %32, align 8, !tbaa !13 store ptr %30, ptr @timer_list, align 8, !tbaa !11 br label %64 61: ; preds = %57, %47 %62 = phi ptr [ %59, %57 ], [ %45, %47 ] %63 = icmp eq ptr %62, null br i1 %63, label %64, label %38, !llvm.loop !16 64: ; preds = %61, %29, %60, %53, %51 %65 = phi ptr [ %30, %60 ], [ %31, %53 ], [ %31, %51 ], [ null, %29 ], [ %31, %61 ] %66 = icmp eq ptr %33, null br i1 %66, label %67, label %29, !llvm.loop !18 67: ; preds = %64, %16 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) br label %68 68: ; preds = %67, %14 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @lua_getstate(...) local_unnamed_addr #2 declare i32 @push_swtmr_registry_key(ptr noundef) local_unnamed_addr #2 declare i32 @lua_rawget(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushstring(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_istable(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_isuserdata(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushnil(ptr noundef) local_unnamed_addr #2 declare i32 @lua_rawset(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @RTC_REG_READ(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, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"TYPE_4__", !10, i64 0, !12, i64 8} !15 = !{!14, !10, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/pm/extr_swtimer.c_swtmr_resume_timers.c' source_filename = "AnghaBench/nodemcu-firmware/app/pm/extr_swtimer.c_swtmr_resume_timers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @L_REGISTRY = common local_unnamed_addr global i32 0, align 4 @SUSP_LIST_STR = common local_unnamed_addr global i32 0, align 4 @FRC2_COUNT_ADDRESS = common local_unnamed_addr global i32 0, align 4 @timer_list = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @swtmr_resume_timers() local_unnamed_addr #0 { %1 = alloca i64, align 8 %2 = tail call ptr @lua_getstate() #3 %3 = tail call i32 @push_swtmr_registry_key(ptr noundef %2) #3 %4 = load i32, ptr @L_REGISTRY, align 4, !tbaa !6 %5 = tail call i32 @lua_rawget(ptr noundef %2, i32 noundef %4) #3 %6 = load i32, ptr @SUSP_LIST_STR, align 4, !tbaa !6 %7 = tail call i32 @lua_pushstring(ptr noundef %2, i32 noundef %6) #3 %8 = tail call i32 @lua_rawget(ptr noundef %2, i32 noundef -2) #3 %9 = tail call i32 @lua_istable(ptr noundef %2, i32 noundef -2) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %0 %12 = tail call i32 @lua_isuserdata(ptr noundef %2, i32 noundef -1) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11, %0 %15 = tail call i32 @lua_pop(ptr noundef %2, i32 noundef 2) #3 br label %68 16: ; preds = %11 %17 = tail call ptr @lua_touserdata(ptr noundef %2, i32 noundef -1) #3 %18 = tail call i32 @lua_pop(ptr noundef %2, i32 noundef 1) #3 %19 = load i32, ptr @SUSP_LIST_STR, align 4, !tbaa !6 %20 = tail call i32 @lua_pushstring(ptr noundef %2, i32 noundef %19) #3 %21 = tail call i32 @lua_pushnil(ptr noundef %2) #3 %22 = tail call i32 @lua_rawset(ptr noundef %2, i32 noundef -3) #3 %23 = tail call i32 @lua_pop(ptr noundef %2, i32 noundef 1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) %24 = load i32, ptr @FRC2_COUNT_ADDRESS, align 4, !tbaa !6 %25 = tail call i64 @RTC_REG_READ(i32 noundef %24) #3 store volatile i64 %25, ptr %1, align 8, !tbaa !10 %26 = icmp eq ptr %17, null br i1 %26, label %67, label %27 27: ; preds = %16 %28 = load ptr, ptr @timer_list, align 8, !tbaa !12 br label %29 29: ; preds = %27, %64 %30 = phi ptr [ %33, %64 ], [ %17, %27 ] %31 = phi ptr [ %65, %64 ], [ %28, %27 ] %32 = getelementptr inbounds i8, ptr %30, i64 8 %33 = load ptr, ptr %32, align 8, !tbaa !14 %34 = load volatile i64, ptr %1, align 8, !tbaa !10 %35 = load volatile i64, ptr %30, align 8, !tbaa !16 %36 = add nsw i64 %35, %34 store volatile i64 %36, ptr %30, align 8, !tbaa !16 %37 = icmp eq ptr %31, null br i1 %37, label %64, label %38 38: ; preds = %29, %61 %39 = phi ptr [ %62, %61 ], [ %31, %29 ] %40 = load volatile i64, ptr %30, align 8, !tbaa !16 %41 = load volatile i64, ptr %39, align 8, !tbaa !16 %42 = icmp sgt i64 %40, %41 br i1 %42, label %43, label %55 43: ; preds = %38 %44 = getelementptr inbounds i8, ptr %39, i64 8 %45 = load ptr, ptr %44, align 8, !tbaa !14 %46 = icmp eq ptr %45, null br i1 %46, label %53, label %47 47: ; preds = %43 %48 = load volatile i64, ptr %30, align 8, !tbaa !16 %49 = load volatile i64, ptr %45, align 8, !tbaa !16 %50 = icmp slt i64 %48, %49 br i1 %50, label %51, label %61 51: ; preds = %47 %52 = getelementptr inbounds i8, ptr %39, i64 8 store ptr %45, ptr %32, align 8, !tbaa !14 store ptr %30, ptr %52, align 8, !tbaa !14 br label %64 53: ; preds = %43 %54 = getelementptr inbounds i8, ptr %39, i64 8 store ptr %30, ptr %54, align 8, !tbaa !14 store ptr null, ptr %32, align 8, !tbaa !14 br label %64 55: ; preds = %38 %56 = icmp eq ptr %39, %31 br i1 %56, label %60, label %57 57: ; preds = %55 %58 = getelementptr inbounds i8, ptr %39, i64 8 %59 = load ptr, ptr %58, align 8, !tbaa !14 br label %61 60: ; preds = %55 store ptr %39, ptr %32, align 8, !tbaa !14 store ptr %30, ptr @timer_list, align 8, !tbaa !12 br label %64 61: ; preds = %57, %47 %62 = phi ptr [ %59, %57 ], [ %45, %47 ] %63 = icmp eq ptr %62, null br i1 %63, label %64, label %38, !llvm.loop !17 64: ; preds = %61, %29, %60, %53, %51 %65 = phi ptr [ %30, %60 ], [ %31, %53 ], [ %31, %51 ], [ null, %29 ], [ %31, %61 ] %66 = icmp eq ptr %33, null br i1 %66, label %67, label %29, !llvm.loop !19 67: ; preds = %64, %16 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) br label %68 68: ; preds = %67, %14 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @lua_getstate(...) local_unnamed_addr #2 declare i32 @push_swtmr_registry_key(ptr noundef) local_unnamed_addr #2 declare i32 @lua_rawget(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushstring(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_istable(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_isuserdata(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushnil(ptr noundef) local_unnamed_addr #2 declare i32 @lua_rawset(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @RTC_REG_READ(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, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 8} !15 = !{!"TYPE_4__", !11, i64 0, !13, i64 8} !16 = !{!15, !11, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18}
nodemcu-firmware_app_pm_extr_swtimer.c_swtmr_resume_timers
; ModuleID = 'AnghaBench/goaccess/src/extr_sort.c_cmp_data_asc.c' source_filename = "AnghaBench/goaccess/src/extr_sort.c_cmp_data_asc.c" target datalayout = "e-m:e-p270:32:32-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 @cmp_data_asc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cmp_data_asc(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = load ptr, ptr %1, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @strcmp(i32 noundef %4, i32 noundef %6) #2 ret i32 %7 } declare i32 @strcmp(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 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/goaccess/src/extr_sort.c_cmp_data_asc.c' source_filename = "AnghaBench/goaccess/src/extr_sort.c_cmp_data_asc.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 @cmp_data_asc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cmp_data_asc(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = load ptr, ptr %1, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @strcmp(i32 noundef %4, i32 noundef %6) #2 ret i32 %7 } declare i32 @strcmp(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 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !9, i64 0}
goaccess_src_extr_sort.c_cmp_data_asc
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/atmel/extr_nand-controller.c_atmel_nand_pmecc_enable.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/atmel/extr_nand-controller.c_atmel_nand_pmecc_enable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"Failed to enable ECC engine (err = %d)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @atmel_nand_pmecc_enable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @atmel_nand_pmecc_enable(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @to_atmel_nand(ptr noundef %0) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call ptr @to_nand_controller(i32 noundef %5) #2 %7 = icmp eq i32 %2, 0 br i1 %7, label %8, label %15 8: ; preds = %3 %9 = load i32, ptr %4, align 4, !tbaa !10 %10 = tail call i32 @atmel_pmecc_enable(i32 noundef %9, i32 noundef %1) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %8 %13 = load i32, ptr %6, align 4, !tbaa !12 %14 = tail call i32 @dev_err(i32 noundef %13, ptr noundef nonnull @.str, i32 noundef %10) #2 br label %15 15: ; preds = %8, %12, %3 %16 = phi i32 [ 0, %3 ], [ %10, %12 ], [ 0, %8 ] ret i32 %16 } declare ptr @to_atmel_nand(ptr noundef) local_unnamed_addr #1 declare ptr @to_nand_controller(i32 noundef) local_unnamed_addr #1 declare i32 @atmel_pmecc_enable(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(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 = !{!"nand_chip", !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 = !{!"atmel_nand", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"atmel_nand_controller", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/atmel/extr_nand-controller.c_atmel_nand_pmecc_enable.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/atmel/extr_nand-controller.c_atmel_nand_pmecc_enable.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 [40 x i8] c"Failed to enable ECC engine (err = %d)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @atmel_nand_pmecc_enable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @atmel_nand_pmecc_enable(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @to_atmel_nand(ptr noundef %0) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call ptr @to_nand_controller(i32 noundef %5) #2 %7 = icmp eq i32 %2, 0 br i1 %7, label %8, label %15 8: ; preds = %3 %9 = load i32, ptr %4, align 4, !tbaa !11 %10 = tail call i32 @atmel_pmecc_enable(i32 noundef %9, i32 noundef %1) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %8 %13 = load i32, ptr %6, align 4, !tbaa !13 %14 = tail call i32 @dev_err(i32 noundef %13, ptr noundef nonnull @.str, i32 noundef %10) #2 br label %15 15: ; preds = %8, %12, %3 %16 = phi i32 [ 0, %3 ], [ %10, %12 ], [ 0, %8 ] ret i32 %16 } declare ptr @to_atmel_nand(ptr noundef) local_unnamed_addr #1 declare ptr @to_nand_controller(i32 noundef) local_unnamed_addr #1 declare i32 @atmel_pmecc_enable(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(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 = !{!"nand_chip", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"atmel_nand", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"atmel_nand_controller", !8, i64 0}
linux_drivers_mtd_nand_raw_atmel_extr_nand-controller.c_atmel_nand_pmecc_enable
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_trhash_compare.c' source_filename = "AnghaBench/curl/lib/extr_multi.c_trhash_compare.c" target datalayout = "e-m:e-p270:32:32-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 @trhash_compare], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i64 @trhash_compare(ptr nocapture noundef readonly %0, i64 %1, ptr nocapture noundef readonly %2, i64 %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load ptr, ptr %2, align 8, !tbaa !5 %7 = icmp eq ptr %5, %6 %8 = zext i1 %7 to i64 ret i64 %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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/curl/lib/extr_multi.c_trhash_compare.c' source_filename = "AnghaBench/curl/lib/extr_multi.c_trhash_compare.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 @trhash_compare], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i64 0, 2) i64 @trhash_compare(ptr nocapture noundef readonly %0, i64 %1, ptr nocapture noundef readonly %2, i64 %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load ptr, ptr %2, align 8, !tbaa !6 %7 = icmp eq ptr %5, %6 %8 = zext i1 %7 to i64 ret i64 %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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
curl_lib_extr_multi.c_trhash_compare
; ModuleID = 'AnghaBench/linux/drivers/vfio/extr_vfio.c_vfio_device_put.c' source_filename = "AnghaBench/linux/drivers/vfio/extr_vfio.c_vfio_device_put.c" target datalayout = "e-m:e-p270:32:32-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.vfio_device = type { i32, ptr } @vfio_device_release = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @vfio_device_put(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.vfio_device, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @vfio_device_release, align 4, !tbaa !11 %5 = tail call i32 @kref_put_mutex(ptr noundef %0, i32 noundef %4, ptr noundef %3) #2 %6 = tail call i32 @vfio_group_put(ptr noundef %3) #2 ret void } declare i32 @kref_put_mutex(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vfio_group_put(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 = !{!"vfio_device", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/vfio/extr_vfio.c_vfio_device_put.c' source_filename = "AnghaBench/linux/drivers/vfio/extr_vfio.c_vfio_device_put.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @vfio_device_release = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @vfio_device_put(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @vfio_device_release, align 4, !tbaa !12 %5 = tail call i32 @kref_put_mutex(ptr noundef %0, i32 noundef %4, ptr noundef %3) #2 %6 = tail call i32 @vfio_group_put(ptr noundef %3) #2 ret void } declare i32 @kref_put_mutex(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vfio_group_put(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 = !{!"vfio_device", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0}
linux_drivers_vfio_extr_vfio.c_vfio_device_put
; ModuleID = 'AnghaBench/RetroArch/frontend/drivers/extr_platform_ctr.c_frontend_ctr_init.c' source_filename = "AnghaBench/RetroArch/frontend/drivers/extr_platform_ctr.c_frontend_ctr_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" @GSP_BGR8_OES = dso_local local_unnamed_addr global i32 0, align 4 @GSP_RGB565_OES = dso_local local_unnamed_addr global i32 0, align 4 @gfxTopLeftFramebuffers = dso_local local_unnamed_addr global ptr null, align 8 @gfxBottomFramebuffers = dso_local local_unnamed_addr global ptr null, align 8 @gfxTopRightFramebuffers = dso_local local_unnamed_addr global ptr null, align 8 @GFX_TOP = dso_local local_unnamed_addr global i32 0, align 4 @GFX_BOTTOM = dso_local local_unnamed_addr global i32 0, align 4 @__ctr_patch_services = dso_local local_unnamed_addr global i32 0, align 4 @audio_null = dso_local local_unnamed_addr global ptr null, align 8 @audio_ctr_csnd = dso_local local_unnamed_addr global ptr null, align 8 @audio_ctr_dsp = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @frontend_ctr_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @frontend_ctr_init(ptr nocapture readnone %0) #0 { %2 = tail call i32 (...) @verbosity_enable() #2 %3 = load i32, ptr @GSP_BGR8_OES, align 4, !tbaa !5 %4 = load i32, ptr @GSP_RGB565_OES, align 4, !tbaa !5 %5 = tail call i32 @gfxInit(i32 noundef %3, i32 noundef %4, i32 noundef 0) #2 %6 = load ptr, ptr @gfxTopLeftFramebuffers, align 8, !tbaa !9 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = tail call i32 @linearFree(i64 noundef %7) #2 %9 = load ptr, ptr @gfxTopLeftFramebuffers, align 8, !tbaa !9 %10 = getelementptr inbounds i64, ptr %9, i64 1 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = tail call i32 @linearFree(i64 noundef %11) #2 %13 = load ptr, ptr @gfxBottomFramebuffers, align 8, !tbaa !9 %14 = load i64, ptr %13, align 8, !tbaa !11 %15 = tail call i32 @linearFree(i64 noundef %14) #2 %16 = load ptr, ptr @gfxBottomFramebuffers, align 8, !tbaa !9 %17 = getelementptr inbounds i64, ptr %16, i64 1 %18 = load i64, ptr %17, align 8, !tbaa !11 %19 = tail call i32 @linearFree(i64 noundef %18) #2 %20 = load ptr, ptr @gfxTopRightFramebuffers, align 8, !tbaa !9 %21 = load i64, ptr %20, align 8, !tbaa !11 %22 = tail call i32 @linearFree(i64 noundef %21) #2 %23 = load ptr, ptr @gfxTopRightFramebuffers, align 8, !tbaa !9 %24 = getelementptr inbounds i64, ptr %23, i64 1 %25 = load i64, ptr %24, align 8, !tbaa !11 %26 = tail call i32 @linearFree(i64 noundef %25) #2 %27 = tail call i64 @linearAlloc(i32 noundef 576000) #2 %28 = load ptr, ptr @gfxTopLeftFramebuffers, align 8, !tbaa !9 store i64 %27, ptr %28, align 8, !tbaa !11 %29 = add nsw i64 %27, 288000 %30 = load ptr, ptr @gfxTopRightFramebuffers, align 8, !tbaa !9 store i64 %29, ptr %30, align 8, !tbaa !11 %31 = tail call i64 @linearAlloc(i32 noundef 576000) #2 %32 = load ptr, ptr @gfxTopLeftFramebuffers, align 8, !tbaa !9 %33 = getelementptr inbounds i64, ptr %32, i64 1 store i64 %31, ptr %33, align 8, !tbaa !11 %34 = add nsw i64 %31, 288000 %35 = load ptr, ptr @gfxTopRightFramebuffers, align 8, !tbaa !9 %36 = getelementptr inbounds i64, ptr %35, i64 1 store i64 %34, ptr %36, align 8, !tbaa !11 %37 = tail call i64 @linearAlloc(i32 noundef 153600) #2 %38 = load ptr, ptr @gfxBottomFramebuffers, align 8, !tbaa !9 store i64 %37, ptr %38, align 8, !tbaa !11 %39 = tail call i64 @linearAlloc(i32 noundef 153600) #2 %40 = load ptr, ptr @gfxBottomFramebuffers, align 8, !tbaa !9 %41 = getelementptr inbounds i64, ptr %40, i64 1 store i64 %39, ptr %41, align 8, !tbaa !11 %42 = load i32, ptr @GFX_TOP, align 4, !tbaa !5 %43 = tail call i32 @gfxSetFramebufferInfo(i32 noundef %42, i32 noundef 0) #2 %44 = load i32, ptr @GFX_BOTTOM, align 4, !tbaa !5 %45 = tail call i32 @gfxSetFramebufferInfo(i32 noundef %44, i32 noundef 0) #2 %46 = tail call i32 @gfxSet3D(i32 noundef 1) #2 %47 = load i32, ptr @GFX_BOTTOM, align 4, !tbaa !5 %48 = tail call i32 @consoleInit(i32 noundef %47, ptr noundef null) #2 %49 = tail call i32 @osSetSpeedupEnable(i32 noundef 0) #2 %50 = load i32, ptr @__ctr_patch_services, align 4, !tbaa !5 %51 = tail call i32 @svchax_init(i32 noundef %50) #2 %52 = tail call i32 @osSetSpeedupEnable(i32 noundef 1) #2 %53 = tail call i64 (...) @csndInit() #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %1 %56 = load ptr, ptr @audio_null, align 8, !tbaa !9 store ptr %56, ptr @audio_ctr_csnd, align 8, !tbaa !9 br label %57 57: ; preds = %55, %1 %58 = tail call i32 (...) @ctr_check_dspfirm() #2 %59 = tail call i64 (...) @ndspInit() #2 %60 = icmp eq i64 %59, 0 br i1 %60, label %63, label %61 61: ; preds = %57 %62 = load ptr, ptr @audio_null, align 8, !tbaa !9 store ptr %62, ptr @audio_ctr_dsp, align 8, !tbaa !9 br label %63 63: ; preds = %61, %57 %64 = tail call i32 (...) @cfguInit() #2 %65 = tail call i32 (...) @ptmuInit() #2 %66 = tail call i32 (...) @mcuHwcInit() #2 ret void } declare i32 @verbosity_enable(...) local_unnamed_addr #1 declare i32 @gfxInit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @linearFree(i64 noundef) local_unnamed_addr #1 declare i64 @linearAlloc(i32 noundef) local_unnamed_addr #1 declare i32 @gfxSetFramebufferInfo(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gfxSet3D(i32 noundef) local_unnamed_addr #1 declare i32 @consoleInit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @svchax_init(i32 noundef) local_unnamed_addr #1 declare i32 @osSetSpeedupEnable(i32 noundef) local_unnamed_addr #1 declare i64 @csndInit(...) local_unnamed_addr #1 declare i32 @ctr_check_dspfirm(...) local_unnamed_addr #1 declare i64 @ndspInit(...) local_unnamed_addr #1 declare i32 @cfguInit(...) local_unnamed_addr #1 declare i32 @ptmuInit(...) local_unnamed_addr #1 declare i32 @mcuHwcInit(...) 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, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/frontend/drivers/extr_platform_ctr.c_frontend_ctr_init.c' source_filename = "AnghaBench/RetroArch/frontend/drivers/extr_platform_ctr.c_frontend_ctr_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GSP_BGR8_OES = common local_unnamed_addr global i32 0, align 4 @GSP_RGB565_OES = common local_unnamed_addr global i32 0, align 4 @gfxTopLeftFramebuffers = common local_unnamed_addr global ptr null, align 8 @gfxBottomFramebuffers = common local_unnamed_addr global ptr null, align 8 @gfxTopRightFramebuffers = common local_unnamed_addr global ptr null, align 8 @GFX_TOP = common local_unnamed_addr global i32 0, align 4 @GFX_BOTTOM = common local_unnamed_addr global i32 0, align 4 @__ctr_patch_services = common local_unnamed_addr global i32 0, align 4 @audio_null = common local_unnamed_addr global ptr null, align 8 @audio_ctr_csnd = common local_unnamed_addr global ptr null, align 8 @audio_ctr_dsp = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @frontend_ctr_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @frontend_ctr_init(ptr nocapture readnone %0) #0 { %2 = tail call i32 @verbosity_enable() #2 %3 = load i32, ptr @GSP_BGR8_OES, align 4, !tbaa !6 %4 = load i32, ptr @GSP_RGB565_OES, align 4, !tbaa !6 %5 = tail call i32 @gfxInit(i32 noundef %3, i32 noundef %4, i32 noundef 0) #2 %6 = load ptr, ptr @gfxTopLeftFramebuffers, align 8, !tbaa !10 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @linearFree(i64 noundef %7) #2 %9 = load ptr, ptr @gfxTopLeftFramebuffers, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = tail call i32 @linearFree(i64 noundef %11) #2 %13 = load ptr, ptr @gfxBottomFramebuffers, align 8, !tbaa !10 %14 = load i64, ptr %13, align 8, !tbaa !12 %15 = tail call i32 @linearFree(i64 noundef %14) #2 %16 = load ptr, ptr @gfxBottomFramebuffers, align 8, !tbaa !10 %17 = getelementptr inbounds i8, ptr %16, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !12 %19 = tail call i32 @linearFree(i64 noundef %18) #2 %20 = load ptr, ptr @gfxTopRightFramebuffers, align 8, !tbaa !10 %21 = load i64, ptr %20, align 8, !tbaa !12 %22 = tail call i32 @linearFree(i64 noundef %21) #2 %23 = load ptr, ptr @gfxTopRightFramebuffers, align 8, !tbaa !10 %24 = getelementptr inbounds i8, ptr %23, i64 8 %25 = load i64, ptr %24, align 8, !tbaa !12 %26 = tail call i32 @linearFree(i64 noundef %25) #2 %27 = tail call i64 @linearAlloc(i32 noundef 576000) #2 %28 = load ptr, ptr @gfxTopLeftFramebuffers, align 8, !tbaa !10 store i64 %27, ptr %28, align 8, !tbaa !12 %29 = add nsw i64 %27, 288000 %30 = load ptr, ptr @gfxTopRightFramebuffers, align 8, !tbaa !10 store i64 %29, ptr %30, align 8, !tbaa !12 %31 = tail call i64 @linearAlloc(i32 noundef 576000) #2 %32 = load ptr, ptr @gfxTopLeftFramebuffers, align 8, !tbaa !10 %33 = getelementptr inbounds i8, ptr %32, i64 8 store i64 %31, ptr %33, align 8, !tbaa !12 %34 = add nsw i64 %31, 288000 %35 = load ptr, ptr @gfxTopRightFramebuffers, align 8, !tbaa !10 %36 = getelementptr inbounds i8, ptr %35, i64 8 store i64 %34, ptr %36, align 8, !tbaa !12 %37 = tail call i64 @linearAlloc(i32 noundef 153600) #2 %38 = load ptr, ptr @gfxBottomFramebuffers, align 8, !tbaa !10 store i64 %37, ptr %38, align 8, !tbaa !12 %39 = tail call i64 @linearAlloc(i32 noundef 153600) #2 %40 = load ptr, ptr @gfxBottomFramebuffers, align 8, !tbaa !10 %41 = getelementptr inbounds i8, ptr %40, i64 8 store i64 %39, ptr %41, align 8, !tbaa !12 %42 = load i32, ptr @GFX_TOP, align 4, !tbaa !6 %43 = tail call i32 @gfxSetFramebufferInfo(i32 noundef %42, i32 noundef 0) #2 %44 = load i32, ptr @GFX_BOTTOM, align 4, !tbaa !6 %45 = tail call i32 @gfxSetFramebufferInfo(i32 noundef %44, i32 noundef 0) #2 %46 = tail call i32 @gfxSet3D(i32 noundef 1) #2 %47 = load i32, ptr @GFX_BOTTOM, align 4, !tbaa !6 %48 = tail call i32 @consoleInit(i32 noundef %47, ptr noundef null) #2 %49 = tail call i32 @osSetSpeedupEnable(i32 noundef 0) #2 %50 = load i32, ptr @__ctr_patch_services, align 4, !tbaa !6 %51 = tail call i32 @svchax_init(i32 noundef %50) #2 %52 = tail call i32 @osSetSpeedupEnable(i32 noundef 1) #2 %53 = tail call i64 @csndInit() #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %1 %56 = load ptr, ptr @audio_null, align 8, !tbaa !10 store ptr %56, ptr @audio_ctr_csnd, align 8, !tbaa !10 br label %57 57: ; preds = %55, %1 %58 = tail call i32 @ctr_check_dspfirm() #2 %59 = tail call i64 @ndspInit() #2 %60 = icmp eq i64 %59, 0 br i1 %60, label %63, label %61 61: ; preds = %57 %62 = load ptr, ptr @audio_null, align 8, !tbaa !10 store ptr %62, ptr @audio_ctr_dsp, align 8, !tbaa !10 br label %63 63: ; preds = %61, %57 %64 = tail call i32 @cfguInit() #2 %65 = tail call i32 @ptmuInit() #2 %66 = tail call i32 @mcuHwcInit() #2 ret void } declare i32 @verbosity_enable(...) local_unnamed_addr #1 declare i32 @gfxInit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @linearFree(i64 noundef) local_unnamed_addr #1 declare i64 @linearAlloc(i32 noundef) local_unnamed_addr #1 declare i32 @gfxSetFramebufferInfo(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gfxSet3D(i32 noundef) local_unnamed_addr #1 declare i32 @consoleInit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @svchax_init(i32 noundef) local_unnamed_addr #1 declare i32 @osSetSpeedupEnable(i32 noundef) local_unnamed_addr #1 declare i64 @csndInit(...) local_unnamed_addr #1 declare i32 @ctr_check_dspfirm(...) local_unnamed_addr #1 declare i64 @ndspInit(...) local_unnamed_addr #1 declare i32 @cfguInit(...) local_unnamed_addr #1 declare i32 @ptmuInit(...) local_unnamed_addr #1 declare i32 @mcuHwcInit(...) 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, !13, i64 0} !13 = !{!"long", !8, i64 0}
RetroArch_frontend_drivers_extr_platform_ctr.c_frontend_ctr_init
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_odm.c_FindMinimumRSSI.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_odm.c_FindMinimumRSSI.c" target datalayout = "e-m:e-p270:32:32-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.hal_com_data = type { %struct.TYPE_2__, %struct.dm_priv } %struct.TYPE_2__ = type { i32 } %struct.dm_priv = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @FindMinimumRSSI], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @FindMinimumRSSI(ptr noundef %0) #0 { %2 = tail call ptr @GET_HAL_DATA(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.hal_com_data, ptr %2, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.hal_com_data, ptr %2, i64 0, i32 1, i32 1 store i64 %4, ptr %5, align 8, !tbaa !10 ret void } declare ptr @GET_HAL_DATA(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 = !{!"dm_priv", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_odm.c_FindMinimumRSSI.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_odm.c_FindMinimumRSSI.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 @FindMinimumRSSI], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @FindMinimumRSSI(ptr noundef %0) #0 { %2 = tail call ptr @GET_HAL_DATA(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %2, i64 16 store i64 %4, ptr %5, align 8, !tbaa !11 ret void } declare ptr @GET_HAL_DATA(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 = !{!"dm_priv", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8}
linux_drivers_staging_rtl8723bs_hal_extr_odm.c_FindMinimumRSSI
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_..wifi.h_rtl_get_tid.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_..wifi.h_rtl_get_tid.c" target datalayout = "e-m:e-p270:32:32-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 @rtl_get_tid], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @rtl_get_tid(ptr noundef %0) #0 { %2 = tail call i32 @rtl_get_hdr(ptr noundef %0) #2 %3 = tail call i32 @rtl_get_tid_h(i32 noundef %2) #2 ret i32 %3 } declare i32 @rtl_get_tid_h(i32 noundef) local_unnamed_addr #1 declare i32 @rtl_get_hdr(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/net/wireless/realtek/rtlwifi/rtl8723be/extr_..wifi.h_rtl_get_tid.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_..wifi.h_rtl_get_tid.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 @rtl_get_tid], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @rtl_get_tid(ptr noundef %0) #0 { %2 = tail call i32 @rtl_get_hdr(ptr noundef %0) #2 %3 = tail call i32 @rtl_get_tid_h(i32 noundef %2) #2 ret i32 %3 } declare i32 @rtl_get_tid_h(i32 noundef) local_unnamed_addr #1 declare i32 @rtl_get_hdr(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_net_wireless_realtek_rtlwifi_rtl8723be_extr_..wifi.h_rtl_get_tid
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc_surface.c_dc_create_gamma.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc_surface.c_dc_create_gamma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @dc_create_gamma() local_unnamed_addr #0 { %1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %2 = tail call ptr @kvzalloc(i32 noundef 4, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @kref_init(ptr noundef nonnull %2) #2 br label %6 6: ; preds = %0, %4 ret ptr %2 } declare ptr @kvzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kref_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc_surface.c_dc_create_gamma.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/core/extr_dc_surface.c_dc_create_gamma.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @dc_create_gamma() local_unnamed_addr #0 { %1 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %2 = tail call ptr @kvzalloc(i32 noundef 4, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @kref_init(ptr noundef nonnull %2) #2 br label %6 6: ; preds = %0, %4 ret ptr %2 } declare ptr @kvzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kref_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_amd_display_dc_core_extr_dc_surface.c_dc_create_gamma
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/agp/extr_generic.c_agp_free_key.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/agp/extr_generic.c_agp_free_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXKEY = dso_local local_unnamed_addr global i32 0, align 4 @agp_bridge = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @agp_free_key(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp sgt i32 %0, -1 %3 = load i32, ptr @MAXKEY, align 4 %4 = icmp sgt i32 %3, %0 %5 = select i1 %2, i1 %4, i1 false br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load ptr, ptr @agp_bridge, align 8, !tbaa !5 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = tail call i32 @clear_bit(i32 noundef %0, i32 noundef %8) #2 br label %10 10: ; preds = %1, %6 ret void } declare i32 @clear_bit(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, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/agp/extr_generic.c_agp_free_key.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/agp/extr_generic.c_agp_free_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXKEY = common local_unnamed_addr global i32 0, align 4 @agp_bridge = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @agp_free_key(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp sgt i32 %0, -1 %3 = load i32, ptr @MAXKEY, align 4 %4 = icmp sgt i32 %3, %0 %5 = select i1 %2, i1 %4, i1 false br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load ptr, ptr @agp_bridge, align 8, !tbaa !6 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = tail call i32 @clear_bit(i32 noundef %0, i32 noundef %8) #2 br label %10 10: ; preds = %1, %6 ret void } declare i32 @clear_bit(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, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
fastsocket_kernel_drivers_char_agp_extr_generic.c_agp_free_key
; ModuleID = 'AnghaBench/kcp/extr_ikcp.c_ikcp_free.c' source_filename = "AnghaBench/kcp/extr_ikcp.c_ikcp_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ikcp_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ikcp_free(ptr noundef %0) #0 { %2 = tail call i32 @ikcp_free_hook(ptr noundef %0) #2 ret void } declare i32 @ikcp_free_hook(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/kcp/extr_ikcp.c_ikcp_free.c' source_filename = "AnghaBench/kcp/extr_ikcp.c_ikcp_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ikcp_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ikcp_free(ptr noundef %0) #0 { %2 = tail call i32 @ikcp_free_hook(ptr noundef %0) #2 ret void } declare i32 @ikcp_free_hook(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)"}
kcp_extr_ikcp.c_ikcp_free
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_ftrace.c_ftrace_call_replace.c' source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_ftrace.c_ftrace_call_replace.c" target datalayout = "e-m:e-p270:32:32-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.ftrace_call_insn = type { i64, i64, i64, i64 } @ftrace_call_code = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ftrace_call_replace], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable define internal noundef ptr @ftrace_call_replace(i64 noundef %0, i64 noundef %1) #0 { %3 = load ptr, ptr @ftrace_call_code, align 8, !tbaa !5 %4 = sub i64 %1, %0 %5 = add i64 %4, -16 %6 = lshr i64 %5, 24 store i64 %6, ptr %3, align 8, !tbaa !9 %7 = lshr i64 %5, 40 %8 = getelementptr inbounds %struct.ftrace_call_insn, ptr %3, i64 0, i32 1 store i64 %7, ptr %8, align 8, !tbaa !12 %9 = lshr i64 %5, 4 %10 = getelementptr inbounds %struct.ftrace_call_insn, ptr %3, i64 0, i32 2 store i64 %9, ptr %10, align 8, !tbaa !13 %11 = lshr i64 %5, 63 %12 = getelementptr inbounds %struct.ftrace_call_insn, ptr %3, i64 0, i32 3 store i64 %11, ptr %12, align 8, !tbaa !14 ret ptr %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"ftrace_call_insn", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!10, !11, i64 16} !14 = !{!10, !11, i64 24}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_ftrace.c_ftrace_call_replace.c' source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_ftrace.c_ftrace_call_replace.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ftrace_call_code = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @ftrace_call_replace], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) define internal noundef ptr @ftrace_call_replace(i64 noundef %0, i64 noundef %1) #0 { %3 = load ptr, ptr @ftrace_call_code, align 8, !tbaa !6 %4 = sub i64 %1, %0 %5 = add i64 %4, -16 %6 = insertelement <2 x i64> poison, i64 %5, i64 0 %7 = shufflevector <2 x i64> %6, <2 x i64> poison, <2 x i32> zeroinitializer %8 = lshr <2 x i64> %7, <i64 24, i64 40> store <2 x i64> %8, ptr %3, align 8, !tbaa !10 %9 = getelementptr inbounds i8, ptr %3, i64 16 %10 = lshr <2 x i64> %7, <i64 4, i64 63> store <2 x i64> %10, ptr %9, align 8, !tbaa !10 ret ptr %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
fastsocket_kernel_arch_ia64_kernel_extr_ftrace.c_ftrace_call_replace
; ModuleID = 'AnghaBench/FFmpeg/libavutil/tests/extr_tree.c_main.c' source_filename = "AnghaBench/FFmpeg/libavutil/tests/extr_tree.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AV_LOG_INFO = dso_local local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"FATAL error %d\0A\00", align 1 @AV_LOG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"inserting %4d\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Memory allocation failure.\0A\00", align 1 @cmp = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"removing %4d\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"removal failure %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 store ptr null, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 store ptr null, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 %7 = icmp slt i32 %0, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !9 br label %14 10: ; preds = %2 %11 = getelementptr inbounds ptr, ptr %1, i64 1 %12 = load ptr, ptr %11, align 8, !tbaa !5 %13 = tail call i32 @atoi(ptr nocapture noundef %12) br label %14 14: ; preds = %10, %8 %15 = phi i32 [ %9, %8 ], [ %13, %10 ] %16 = tail call i32 @av_log_set_level(i32 noundef %15) #4 %17 = call i32 @av_lfg_init(ptr noundef nonnull %5, i32 noundef 1) #4 br label %18 18: ; preds = %14, %63 %19 = phi i32 [ 0, %14 ], [ %66, %63 ] %20 = call i32 @av_lfg_get(ptr noundef nonnull %5) #4 %21 = srem i32 %20, 86294 %22 = load ptr, ptr %3, align 8, !tbaa !5 %23 = call i32 @check(ptr noundef %22) #4 %24 = icmp sgt i32 %23, 999 br i1 %24, label %25, label %30 25: ; preds = %18 %26 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %27 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %26, ptr noundef nonnull @.str, i32 noundef %19) #4 %28 = load ptr, ptr %3, align 8, !tbaa !5 %29 = call i32 @print(ptr noundef %28, i32 noundef 0) #4 br label %73 30: ; preds = %18 %31 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !9 %32 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %31, ptr noundef nonnull @.str.1, i32 noundef %21) #4 %33 = load ptr, ptr %4, align 8, !tbaa !5 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %41 35: ; preds = %30 %36 = call ptr (...) @av_tree_node_alloc() #4 store ptr %36, ptr %4, align 8, !tbaa !5 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %40 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %39, ptr noundef nonnull @.str.2) #4 br label %73 41: ; preds = %30, %35 %42 = add nsw i32 %21, 1 %43 = sext i32 %42 to i64 %44 = inttoptr i64 %43 to ptr %45 = load i32, ptr @cmp, align 4, !tbaa !9 %46 = call i32 @av_tree_insert(ptr noundef nonnull %3, ptr noundef %44, i32 noundef %45, ptr noundef nonnull %4) #4 %47 = call i32 @av_lfg_get(ptr noundef nonnull %5) #4 %48 = srem i32 %47, 86294 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 store ptr null, ptr %6, align 8, !tbaa !5 %49 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !9 %50 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %49, ptr noundef nonnull @.str.3, i32 noundef %48) #4 %51 = add nsw i32 %48, 1 %52 = sext i32 %51 to i64 %53 = inttoptr i64 %52 to ptr %54 = load i32, ptr @cmp, align 4, !tbaa !9 %55 = call i32 @av_tree_insert(ptr noundef nonnull %3, ptr noundef %53, i32 noundef %54, ptr noundef nonnull %6) #4 %56 = load ptr, ptr %3, align 8, !tbaa !5 %57 = load i32, ptr @cmp, align 4, !tbaa !9 %58 = call ptr @av_tree_find(ptr noundef %56, ptr noundef %53, i32 noundef %57, ptr noundef null) #4 %59 = icmp eq ptr %58, null br i1 %59, label %63, label %60 60: ; preds = %41 %61 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !9 %62 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %61, ptr noundef nonnull @.str.4, i32 noundef %19) #4 br label %63 63: ; preds = %60, %41 %64 = load ptr, ptr %6, align 8, !tbaa !5 %65 = call i32 @av_free(ptr noundef %64) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 %66 = add nuw nsw i32 %19, 1 %67 = icmp eq i32 %66, 10000 br i1 %67, label %68, label %18, !llvm.loop !11 68: ; preds = %63 %69 = load ptr, ptr %4, align 8, !tbaa !5 %70 = call i32 @av_free(ptr noundef %69) #4 %71 = load ptr, ptr %3, align 8, !tbaa !5 %72 = call i32 @av_tree_destroy(ptr noundef %71) #4 br label %73 73: ; preds = %38, %25, %68 %74 = phi i32 [ 0, %68 ], [ 1, %25 ], [ 1, %38 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %74 } ; 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 nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @av_log_set_level(i32 noundef) local_unnamed_addr #3 declare i32 @av_lfg_init(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @av_lfg_get(ptr noundef) local_unnamed_addr #3 declare i32 @check(ptr noundef) local_unnamed_addr #3 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3 declare i32 @print(ptr noundef, i32 noundef) local_unnamed_addr #3 declare ptr @av_tree_node_alloc(...) local_unnamed_addr #3 declare i32 @av_tree_insert(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare ptr @av_tree_find(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @av_free(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @av_tree_destroy(ptr 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = !{!"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/FFmpeg/libavutil/tests/extr_tree.c_main.c' source_filename = "AnghaBench/FFmpeg/libavutil/tests/extr_tree.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV_LOG_INFO = common local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"FATAL error %d\0A\00", align 1 @AV_LOG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"inserting %4d\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"Memory allocation failure.\0A\00", align 1 @cmp = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"removing %4d\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"removal failure %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 store ptr null, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 store ptr null, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 %7 = icmp slt i32 %0, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i32, ptr @AV_LOG_INFO, align 4, !tbaa !10 br label %14 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %1, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !6 %13 = tail call i32 @atoi(ptr nocapture noundef %12) br label %14 14: ; preds = %10, %8 %15 = phi i32 [ %9, %8 ], [ %13, %10 ] %16 = tail call i32 @av_log_set_level(i32 noundef %15) #4 %17 = call i32 @av_lfg_init(ptr noundef nonnull %5, i32 noundef 1) #4 br label %18 18: ; preds = %14, %63 %19 = phi i32 [ 0, %14 ], [ %66, %63 ] %20 = call i32 @av_lfg_get(ptr noundef nonnull %5) #4 %21 = srem i32 %20, 86294 %22 = load ptr, ptr %3, align 8, !tbaa !6 %23 = call i32 @check(ptr noundef %22) #4 %24 = icmp sgt i32 %23, 999 br i1 %24, label %25, label %30 25: ; preds = %18 %26 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %27 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %26, ptr noundef nonnull @.str, i32 noundef %19) #4 %28 = load ptr, ptr %3, align 8, !tbaa !6 %29 = call i32 @print(ptr noundef %28, i32 noundef 0) #4 br label %73 30: ; preds = %18 %31 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !10 %32 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %31, ptr noundef nonnull @.str.1, i32 noundef %21) #4 %33 = load ptr, ptr %4, align 8, !tbaa !6 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %41 35: ; preds = %30 %36 = call ptr @av_tree_node_alloc() #4 store ptr %36, ptr %4, align 8, !tbaa !6 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %40 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %39, ptr noundef nonnull @.str.2) #4 br label %73 41: ; preds = %30, %35 %42 = add nsw i32 %21, 1 %43 = sext i32 %42 to i64 %44 = inttoptr i64 %43 to ptr %45 = load i32, ptr @cmp, align 4, !tbaa !10 %46 = call i32 @av_tree_insert(ptr noundef nonnull %3, ptr noundef %44, i32 noundef %45, ptr noundef nonnull %4) #4 %47 = call i32 @av_lfg_get(ptr noundef nonnull %5) #4 %48 = srem i32 %47, 86294 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4 store ptr null, ptr %6, align 8, !tbaa !6 %49 = load i32, ptr @AV_LOG_DEBUG, align 4, !tbaa !10 %50 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %49, ptr noundef nonnull @.str.3, i32 noundef %48) #4 %51 = add nsw i32 %48, 1 %52 = sext i32 %51 to i64 %53 = inttoptr i64 %52 to ptr %54 = load i32, ptr @cmp, align 4, !tbaa !10 %55 = call i32 @av_tree_insert(ptr noundef nonnull %3, ptr noundef %53, i32 noundef %54, ptr noundef nonnull %6) #4 %56 = load ptr, ptr %3, align 8, !tbaa !6 %57 = load i32, ptr @cmp, align 4, !tbaa !10 %58 = call ptr @av_tree_find(ptr noundef %56, ptr noundef %53, i32 noundef %57, ptr noundef null) #4 %59 = icmp eq ptr %58, null br i1 %59, label %63, label %60 60: ; preds = %41 %61 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !10 %62 = call i32 (ptr, i32, ptr, ...) @av_log(ptr noundef null, i32 noundef %61, ptr noundef nonnull @.str.4, i32 noundef %19) #4 br label %63 63: ; preds = %60, %41 %64 = load ptr, ptr %6, align 8, !tbaa !6 %65 = call i32 @av_free(ptr noundef %64) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4 %66 = add nuw nsw i32 %19, 1 %67 = icmp eq i32 %66, 10000 br i1 %67, label %68, label %18, !llvm.loop !12 68: ; preds = %63 %69 = load ptr, ptr %4, align 8, !tbaa !6 %70 = call i32 @av_free(ptr noundef %69) #4 %71 = load ptr, ptr %3, align 8, !tbaa !6 %72 = call i32 @av_tree_destroy(ptr noundef %71) #4 br label %73 73: ; preds = %38, %25, %68 %74 = phi i32 [ 0, %68 ], [ 1, %25 ], [ 1, %38 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %74 } ; 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 nofree nounwind willreturn memory(read) declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2 declare i32 @av_log_set_level(i32 noundef) local_unnamed_addr #3 declare i32 @av_lfg_init(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @av_lfg_get(ptr noundef) local_unnamed_addr #3 declare i32 @check(ptr noundef) local_unnamed_addr #3 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3 declare i32 @print(ptr noundef, i32 noundef) local_unnamed_addr #3 declare ptr @av_tree_node_alloc(...) local_unnamed_addr #3 declare i32 @av_tree_insert(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare ptr @av_tree_find(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @av_free(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @av_tree_destroy(ptr 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nofree nounwind willreturn memory(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 #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 = !{!"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"}
FFmpeg_libavutil_tests_extr_tree.c_main
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/atmel/extr_abdac.c_atmel_abdac_open.c' source_filename = "AnghaBench/fastsocket/kernel/sound/atmel/extr_abdac.c_atmel_abdac_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } %struct.atmel_abdac = type { i32, i32, ptr, ptr } @atmel_abdac_hw = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @SNDRV_PCM_HW_PARAM_RATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @atmel_abdac_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @atmel_abdac_open(ptr noundef %0) #0 { %2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.atmel_abdac, ptr %2, i64 0, i32 3 store ptr %0, ptr %3, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.atmel_abdac, ptr %2, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i32, ptr %2, align 8, !tbaa !12 %7 = sext i32 %6 to i64 %8 = getelementptr i32, ptr %5, i64 %7 %9 = getelementptr i32, ptr %8, i64 -1 %10 = load i32, ptr %9, align 4, !tbaa !13 store i32 %10, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @atmel_abdac_hw, i64 0, i32 1), align 4, !tbaa !14 %11 = load i32, ptr %5, align 4, !tbaa !13 store i32 %11, ptr @atmel_abdac_hw, align 8, !tbaa !16 %12 = load ptr, ptr %0, align 8, !tbaa !17 %13 = load i64, ptr @atmel_abdac_hw, align 8 store i64 %13, ptr %12, align 4 %14 = load ptr, ptr %0, align 8, !tbaa !17 %15 = load i32, ptr @SNDRV_PCM_HW_PARAM_RATE, align 4, !tbaa !13 %16 = getelementptr inbounds %struct.atmel_abdac, ptr %2, i64 0, i32 1 %17 = tail call i32 @snd_pcm_hw_constraint_list(ptr noundef %14, i32 noundef 0, i32 noundef %15, ptr noundef nonnull %16) #2 ret i32 %17 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @snd_pcm_hw_constraint_list(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"atmel_abdac", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 4} !15 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !16 = !{!15, !7, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"snd_pcm_substream", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/atmel/extr_abdac.c_atmel_abdac_open.c' source_filename = "AnghaBench/fastsocket/kernel/sound/atmel/extr_abdac.c_atmel_abdac_open.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, i32 } @atmel_abdac_hw = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @SNDRV_PCM_HW_PARAM_RATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @atmel_abdac_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @atmel_abdac_open(ptr noundef %0) #0 { %2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 16 store ptr %0, ptr %3, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i32, ptr %2, align 8, !tbaa !13 %7 = sext i32 %6 to i64 %8 = getelementptr i32, ptr %5, i64 %7 %9 = getelementptr i8, ptr %8, i64 -4 %10 = load i32, ptr %9, align 4, !tbaa !14 store i32 %10, ptr getelementptr inbounds (i8, ptr @atmel_abdac_hw, i64 4), align 4, !tbaa !15 %11 = load i32, ptr %5, align 4, !tbaa !14 store i32 %11, ptr @atmel_abdac_hw, align 4, !tbaa !17 %12 = load ptr, ptr %0, align 8, !tbaa !18 %13 = load i64, ptr @atmel_abdac_hw, align 4 store i64 %13, ptr %12, align 4 %14 = load ptr, ptr %0, align 8, !tbaa !18 %15 = load i32, ptr @SNDRV_PCM_HW_PARAM_RATE, align 4, !tbaa !14 %16 = getelementptr inbounds i8, ptr %2, i64 4 %17 = tail call i32 @snd_pcm_hw_constraint_list(ptr noundef %14, i32 noundef 0, i32 noundef %15, ptr noundef nonnull %16) #2 ret i32 %17 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @snd_pcm_hw_constraint_list(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"atmel_abdac", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 4} !16 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !17 = !{!16, !8, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"snd_pcm_substream", !11, i64 0}
fastsocket_kernel_sound_atmel_extr_abdac.c_atmel_abdac_open
; ModuleID = 'AnghaBench/reactos/dll/win32/advpack/extr_install.c_is_full_path.c' source_filename = "AnghaBench/reactos/dll/win32/advpack/extr_install.c_is_full_path.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_full_path], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @is_full_path(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %20, label %3 3: ; preds = %1 %4 = tail call i32 @lstrlenW(ptr noundef nonnull %0) #2 %5 = icmp slt i32 %4, 3 br i1 %5, label %20, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 1 %8 = load i8, ptr %7, align 1, !tbaa !5 %9 = icmp eq i8 %8, 58 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %0, i64 2 %12 = load i8, ptr %11, align 1, !tbaa !5 %13 = icmp eq i8 %12, 92 br i1 %13, label %20, label %19 14: ; preds = %6 %15 = load i8, ptr %0, align 1, !tbaa !5 %16 = icmp eq i8 %15, 92 %17 = icmp eq i8 %8, 92 %18 = and i1 %17, %16 br i1 %18, label %20, label %19 19: ; preds = %10, %14 br label %20 20: ; preds = %14, %10, %1, %3, %19 %21 = phi ptr [ @FALSE, %19 ], [ @FALSE, %3 ], [ @FALSE, %1 ], [ @TRUE, %10 ], [ @TRUE, %14 ] %22 = load i32, ptr %21, align 4, !tbaa !8 ret i32 %22 } declare i32 @lstrlenW(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/advpack/extr_install.c_is_full_path.c' source_filename = "AnghaBench/reactos/dll/win32/advpack/extr_install.c_is_full_path.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 @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_full_path], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @is_full_path(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %20, label %3 3: ; preds = %1 %4 = tail call i32 @lstrlenW(ptr noundef nonnull %0) #2 %5 = icmp slt i32 %4, 3 br i1 %5, label %20, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 1 %8 = load i8, ptr %7, align 1, !tbaa !6 %9 = icmp eq i8 %8, 58 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %0, i64 2 %12 = load i8, ptr %11, align 1, !tbaa !6 %13 = icmp eq i8 %12, 92 br i1 %13, label %20, label %19 14: ; preds = %6 %15 = load i8, ptr %0, align 1, !tbaa !6 %16 = icmp eq i8 %15, 92 %17 = icmp eq i8 %8, 92 %18 = and i1 %17, %16 br i1 %18, label %20, label %19 19: ; preds = %10, %14 br label %20 20: ; preds = %14, %10, %1, %3, %19 %21 = phi ptr [ @FALSE, %19 ], [ @FALSE, %3 ], [ @FALSE, %1 ], [ @TRUE, %10 ], [ @TRUE, %14 ] %22 = load i32, ptr %21, align 4, !tbaa !9 ret i32 %22 } declare i32 @lstrlenW(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
reactos_dll_win32_advpack_extr_install.c_is_full_path
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_xfacedec.c_pop_greys.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_xfacedec.c_pop_greys.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @XFACE_WIDTH = dso_local local_unnamed_addr global i32 0, align 4 @ff_xface_probranges_2x2 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pop_greys], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pop_greys(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp sgt i32 %2, 3 br i1 %5, label %6, label %24 6: ; preds = %4, %6 %7 = phi i32 [ %11, %6 ], [ %3, %4 ] %8 = phi i32 [ %10, %6 ], [ %2, %4 ] %9 = phi ptr [ %22, %6 ], [ %1, %4 ] %10 = lshr i32 %8, 1 %11 = sdiv i32 %7, 2 tail call void @pop_greys(ptr noundef %0, ptr noundef %9, i32 noundef %10, i32 noundef %11) %12 = zext nneg i32 %10 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 tail call void @pop_greys(ptr noundef %0, ptr noundef %13, i32 noundef %10, i32 noundef %11) %14 = load i32, ptr @XFACE_WIDTH, align 4, !tbaa !5 %15 = mul nsw i32 %14, %11 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %9, i64 %16 tail call void @pop_greys(ptr noundef %0, ptr noundef %17, i32 noundef %10, i32 noundef %11) %18 = load i32, ptr @XFACE_WIDTH, align 4, !tbaa !5 %19 = mul nsw i32 %18, %11 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %9, i64 %20 %22 = getelementptr inbounds i8, ptr %21, i64 %12 %23 = icmp ugt i32 %8, 7 br i1 %23, label %6, label %24 24: ; preds = %6, %4 %25 = phi ptr [ %1, %4 ], [ %22, %6 ] %26 = load i32, ptr @ff_xface_probranges_2x2, align 4, !tbaa !5 %27 = tail call i32 @pop_integer(ptr noundef %0, i32 noundef %26) #2 %28 = and i32 %27, 1 %29 = icmp eq i32 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %24 store i8 1, ptr %25, align 1, !tbaa !9 br label %31 31: ; preds = %30, %24 %32 = and i32 %27, 2 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %31 %35 = getelementptr inbounds i8, ptr %25, i64 1 store i8 1, ptr %35, align 1, !tbaa !9 br label %36 36: ; preds = %34, %31 %37 = and i32 %27, 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %36 %40 = load i32, ptr @XFACE_WIDTH, align 4, !tbaa !5 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %25, i64 %41 store i8 1, ptr %42, align 1, !tbaa !9 br label %43 43: ; preds = %39, %36 %44 = and i32 %27, 8 %45 = icmp eq i32 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %43 %47 = load i32, ptr @XFACE_WIDTH, align 4, !tbaa !5 %48 = sext i32 %47 to i64 %49 = getelementptr i8, ptr %25, i64 %48 %50 = getelementptr i8, ptr %49, i64 1 store i8 1, ptr %50, align 1, !tbaa !9 br label %51 51: ; preds = %43, %46 ret void } declare i32 @pop_integer(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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_xfacedec.c_pop_greys.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_xfacedec.c_pop_greys.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XFACE_WIDTH = common local_unnamed_addr global i32 0, align 4 @ff_xface_probranges_2x2 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pop_greys], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pop_greys(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp sgt i32 %2, 3 br i1 %5, label %6, label %24 6: ; preds = %4, %6 %7 = phi i32 [ %11, %6 ], [ %3, %4 ] %8 = phi i32 [ %10, %6 ], [ %2, %4 ] %9 = phi ptr [ %22, %6 ], [ %1, %4 ] %10 = lshr i32 %8, 1 %11 = sdiv i32 %7, 2 tail call void @pop_greys(ptr noundef %0, ptr noundef %9, i32 noundef %10, i32 noundef %11) %12 = zext nneg i32 %10 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 tail call void @pop_greys(ptr noundef %0, ptr noundef %13, i32 noundef %10, i32 noundef %11) %14 = load i32, ptr @XFACE_WIDTH, align 4, !tbaa !6 %15 = mul nsw i32 %14, %11 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %9, i64 %16 tail call void @pop_greys(ptr noundef %0, ptr noundef %17, i32 noundef %10, i32 noundef %11) %18 = load i32, ptr @XFACE_WIDTH, align 4, !tbaa !6 %19 = mul nsw i32 %18, %11 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %9, i64 %20 %22 = getelementptr inbounds i8, ptr %21, i64 %12 %23 = icmp ugt i32 %8, 7 br i1 %23, label %6, label %24 24: ; preds = %6, %4 %25 = phi ptr [ %1, %4 ], [ %22, %6 ] %26 = load i32, ptr @ff_xface_probranges_2x2, align 4, !tbaa !6 %27 = tail call i32 @pop_integer(ptr noundef %0, i32 noundef %26) #2 %28 = and i32 %27, 1 %29 = icmp eq i32 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %24 store i8 1, ptr %25, align 1, !tbaa !10 br label %31 31: ; preds = %30, %24 %32 = and i32 %27, 2 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %31 %35 = getelementptr inbounds i8, ptr %25, i64 1 store i8 1, ptr %35, align 1, !tbaa !10 br label %36 36: ; preds = %34, %31 %37 = and i32 %27, 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %36 %40 = load i32, ptr @XFACE_WIDTH, align 4, !tbaa !6 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %25, i64 %41 store i8 1, ptr %42, align 1, !tbaa !10 br label %43 43: ; preds = %39, %36 %44 = and i32 %27, 8 %45 = icmp eq i32 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %43 %47 = load i32, ptr @XFACE_WIDTH, align 4, !tbaa !6 %48 = sext i32 %47 to i64 %49 = getelementptr i8, ptr %25, i64 %48 %50 = getelementptr i8, ptr %49, i64 1 store i8 1, ptr %50, align 1, !tbaa !10 br label %51 51: ; preds = %43, %46 ret void } declare i32 @pop_integer(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 = !{!8, !8, i64 0}
FFmpeg_libavcodec_extr_xfacedec.c_pop_greys
; ModuleID = 'AnghaBench/linux/tools/perf/lib/extr_evlist.c_perf_evlist__remove.c' source_filename = "AnghaBench/linux/tools/perf/lib/extr_evlist.c_perf_evlist__remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @perf_evlist__remove(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @list_del_init(ptr noundef %1) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = add nsw i32 %4, -1 store i32 %5, ptr %0, align 4, !tbaa !5 ret void } declare i32 @list_del_init(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 = !{!"perf_evlist", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/perf/lib/extr_evlist.c_perf_evlist__remove.c' source_filename = "AnghaBench/linux/tools/perf/lib/extr_evlist.c_perf_evlist__remove.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 @perf_evlist__remove(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @list_del_init(ptr noundef %1) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = add nsw i32 %4, -1 store i32 %5, ptr %0, align 4, !tbaa !6 ret void } declare i32 @list_del_init(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 = !{!"perf_evlist", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_tools_perf_lib_extr_evlist.c_perf_evlist__remove
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-raspberrypi-touchscreen.c_rpi_touchscreen_enable.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-raspberrypi-touchscreen.c_rpi_touchscreen_enable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REG_POWERON = dso_local local_unnamed_addr global i32 0, align 4 @REG_PORTB = dso_local local_unnamed_addr global i32 0, align 4 @DSI_LANEENABLE = dso_local local_unnamed_addr global i32 0, align 4 @DSI_LANEENABLE_CLOCK = dso_local local_unnamed_addr global i32 0, align 4 @DSI_LANEENABLE_D0 = dso_local local_unnamed_addr global i32 0, align 4 @PPI_D0S_CLRSIPOCOUNT = dso_local local_unnamed_addr global i32 0, align 4 @PPI_D1S_CLRSIPOCOUNT = dso_local local_unnamed_addr global i32 0, align 4 @PPI_D0S_ATMR = dso_local local_unnamed_addr global i32 0, align 4 @PPI_D1S_ATMR = dso_local local_unnamed_addr global i32 0, align 4 @PPI_LPTXTIMECNT = dso_local local_unnamed_addr global i32 0, align 4 @SPICMR = dso_local local_unnamed_addr global i32 0, align 4 @LCDCTRL = dso_local local_unnamed_addr global i32 0, align 4 @SYSCTRL = dso_local local_unnamed_addr global i32 0, align 4 @PPI_STARTPPI = dso_local local_unnamed_addr global i32 0, align 4 @DSI_STARTDSI = dso_local local_unnamed_addr global i32 0, align 4 @REG_PWM = dso_local local_unnamed_addr global i32 0, align 4 @REG_PORTA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rpi_touchscreen_enable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rpi_touchscreen_enable(ptr noundef %0) #0 { %2 = tail call ptr @panel_to_ts(ptr noundef %0) #2 %3 = load i32, ptr @REG_POWERON, align 4, !tbaa !5 %4 = tail call i32 @rpi_touchscreen_i2c_write(ptr noundef %2, i32 noundef %3, i32 noundef 1) #2 br label %5 5: ; preds = %5, %1 %6 = phi i32 [ 0, %1 ], [ %11, %5 ] %7 = load i32, ptr @REG_PORTB, align 4, !tbaa !5 %8 = tail call i32 @rpi_touchscreen_i2c_read(ptr noundef %2, i32 noundef %7) #2 %9 = and i32 %8, 1 %10 = icmp ne i32 %9, 0 %11 = add nuw nsw i32 %6, 1 %12 = icmp eq i32 %11, 100 %13 = select i1 %10, i1 true, i1 %12 br i1 %13, label %14, label %5, !llvm.loop !9 14: ; preds = %5 %15 = load i32, ptr @DSI_LANEENABLE, align 4, !tbaa !5 %16 = load i32, ptr @DSI_LANEENABLE_CLOCK, align 4, !tbaa !5 %17 = load i32, ptr @DSI_LANEENABLE_D0, align 4, !tbaa !5 %18 = or i32 %17, %16 %19 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %15, i32 noundef %18) #2 %20 = load i32, ptr @PPI_D0S_CLRSIPOCOUNT, align 4, !tbaa !5 %21 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %20, i32 noundef 5) #2 %22 = load i32, ptr @PPI_D1S_CLRSIPOCOUNT, align 4, !tbaa !5 %23 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %22, i32 noundef 5) #2 %24 = load i32, ptr @PPI_D0S_ATMR, align 4, !tbaa !5 %25 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %24, i32 noundef 0) #2 %26 = load i32, ptr @PPI_D1S_ATMR, align 4, !tbaa !5 %27 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %26, i32 noundef 0) #2 %28 = load i32, ptr @PPI_LPTXTIMECNT, align 4, !tbaa !5 %29 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %28, i32 noundef 3) #2 %30 = load i32, ptr @SPICMR, align 4, !tbaa !5 %31 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %30, i32 noundef 0) #2 %32 = load i32, ptr @LCDCTRL, align 4, !tbaa !5 %33 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %32, i32 noundef 1048912) #2 %34 = load i32, ptr @SYSCTRL, align 4, !tbaa !5 %35 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %34, i32 noundef 1039) #2 %36 = tail call i32 @msleep(i32 noundef 100) #2 %37 = load i32, ptr @PPI_STARTPPI, align 4, !tbaa !5 %38 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %37, i32 noundef 1) #2 %39 = load i32, ptr @DSI_STARTDSI, align 4, !tbaa !5 %40 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %39, i32 noundef 1) #2 %41 = tail call i32 @msleep(i32 noundef 100) #2 %42 = load i32, ptr @REG_PWM, align 4, !tbaa !5 %43 = tail call i32 @rpi_touchscreen_i2c_write(ptr noundef %2, i32 noundef %42, i32 noundef 255) #2 %44 = load i32, ptr @REG_PORTA, align 4, !tbaa !5 %45 = tail call i32 @BIT(i32 noundef 2) #2 %46 = tail call i32 @rpi_touchscreen_i2c_write(ptr noundef %2, i32 noundef %44, i32 noundef %45) #2 ret i32 0 } declare ptr @panel_to_ts(ptr noundef) local_unnamed_addr #1 declare i32 @rpi_touchscreen_i2c_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rpi_touchscreen_i2c_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rpi_touchscreen_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @BIT(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/gpu/drm/panel/extr_panel-raspberrypi-touchscreen.c_rpi_touchscreen_enable.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-raspberrypi-touchscreen.c_rpi_touchscreen_enable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_POWERON = common local_unnamed_addr global i32 0, align 4 @REG_PORTB = common local_unnamed_addr global i32 0, align 4 @DSI_LANEENABLE = common local_unnamed_addr global i32 0, align 4 @DSI_LANEENABLE_CLOCK = common local_unnamed_addr global i32 0, align 4 @DSI_LANEENABLE_D0 = common local_unnamed_addr global i32 0, align 4 @PPI_D0S_CLRSIPOCOUNT = common local_unnamed_addr global i32 0, align 4 @PPI_D1S_CLRSIPOCOUNT = common local_unnamed_addr global i32 0, align 4 @PPI_D0S_ATMR = common local_unnamed_addr global i32 0, align 4 @PPI_D1S_ATMR = common local_unnamed_addr global i32 0, align 4 @PPI_LPTXTIMECNT = common local_unnamed_addr global i32 0, align 4 @SPICMR = common local_unnamed_addr global i32 0, align 4 @LCDCTRL = common local_unnamed_addr global i32 0, align 4 @SYSCTRL = common local_unnamed_addr global i32 0, align 4 @PPI_STARTPPI = common local_unnamed_addr global i32 0, align 4 @DSI_STARTDSI = common local_unnamed_addr global i32 0, align 4 @REG_PWM = common local_unnamed_addr global i32 0, align 4 @REG_PORTA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rpi_touchscreen_enable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @rpi_touchscreen_enable(ptr noundef %0) #0 { %2 = tail call ptr @panel_to_ts(ptr noundef %0) #2 %3 = load i32, ptr @REG_POWERON, align 4, !tbaa !6 %4 = tail call i32 @rpi_touchscreen_i2c_write(ptr noundef %2, i32 noundef %3, i32 noundef 1) #2 br label %5 5: ; preds = %5, %1 %6 = phi i32 [ 0, %1 ], [ %11, %5 ] %7 = load i32, ptr @REG_PORTB, align 4, !tbaa !6 %8 = tail call i32 @rpi_touchscreen_i2c_read(ptr noundef %2, i32 noundef %7) #2 %9 = and i32 %8, 1 %10 = icmp ne i32 %9, 0 %11 = add nuw nsw i32 %6, 1 %12 = icmp eq i32 %11, 100 %13 = select i1 %10, i1 true, i1 %12 br i1 %13, label %14, label %5, !llvm.loop !10 14: ; preds = %5 %15 = load i32, ptr @DSI_LANEENABLE, align 4, !tbaa !6 %16 = load i32, ptr @DSI_LANEENABLE_CLOCK, align 4, !tbaa !6 %17 = load i32, ptr @DSI_LANEENABLE_D0, align 4, !tbaa !6 %18 = or i32 %17, %16 %19 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %15, i32 noundef %18) #2 %20 = load i32, ptr @PPI_D0S_CLRSIPOCOUNT, align 4, !tbaa !6 %21 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %20, i32 noundef 5) #2 %22 = load i32, ptr @PPI_D1S_CLRSIPOCOUNT, align 4, !tbaa !6 %23 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %22, i32 noundef 5) #2 %24 = load i32, ptr @PPI_D0S_ATMR, align 4, !tbaa !6 %25 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %24, i32 noundef 0) #2 %26 = load i32, ptr @PPI_D1S_ATMR, align 4, !tbaa !6 %27 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %26, i32 noundef 0) #2 %28 = load i32, ptr @PPI_LPTXTIMECNT, align 4, !tbaa !6 %29 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %28, i32 noundef 3) #2 %30 = load i32, ptr @SPICMR, align 4, !tbaa !6 %31 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %30, i32 noundef 0) #2 %32 = load i32, ptr @LCDCTRL, align 4, !tbaa !6 %33 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %32, i32 noundef 1048912) #2 %34 = load i32, ptr @SYSCTRL, align 4, !tbaa !6 %35 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %34, i32 noundef 1039) #2 %36 = tail call i32 @msleep(i32 noundef 100) #2 %37 = load i32, ptr @PPI_STARTPPI, align 4, !tbaa !6 %38 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %37, i32 noundef 1) #2 %39 = load i32, ptr @DSI_STARTDSI, align 4, !tbaa !6 %40 = tail call i32 @rpi_touchscreen_write(ptr noundef %2, i32 noundef %39, i32 noundef 1) #2 %41 = tail call i32 @msleep(i32 noundef 100) #2 %42 = load i32, ptr @REG_PWM, align 4, !tbaa !6 %43 = tail call i32 @rpi_touchscreen_i2c_write(ptr noundef %2, i32 noundef %42, i32 noundef 255) #2 %44 = load i32, ptr @REG_PORTA, align 4, !tbaa !6 %45 = tail call i32 @BIT(i32 noundef 2) #2 %46 = tail call i32 @rpi_touchscreen_i2c_write(ptr noundef %2, i32 noundef %44, i32 noundef %45) #2 ret i32 0 } declare ptr @panel_to_ts(ptr noundef) local_unnamed_addr #1 declare i32 @rpi_touchscreen_i2c_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rpi_touchscreen_i2c_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rpi_touchscreen_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @msleep(i32 noundef) local_unnamed_addr #1 declare i32 @BIT(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_gpu_drm_panel_extr_panel-raspberrypi-touchscreen.c_rpi_touchscreen_enable
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_zforce_ts.c_zforce_parse_dt.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_zforce_ts.c_zforce_parse_dt.c" target datalayout = "e-m:e-p270:32:32-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.zforce_ts_platdata = type { i32, i32 } @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"failed to allocate platform data\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"x-size\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"failed to get x-size property\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"y-size\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"failed to get y-size property\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @zforce_parse_dt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @zforce_parse_dt(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %6 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 8, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %15, label %8 8: ; preds = %4 %9 = getelementptr inbounds %struct.zforce_ts_platdata, ptr %6, i64 0, i32 1 %10 = tail call i64 @of_property_read_u32(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, ptr noundef nonnull %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = tail call i64 @of_property_read_u32(ptr noundef nonnull %2, ptr noundef nonnull @.str.3, ptr noundef nonnull %6) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %12, %8, %4 %16 = phi ptr [ @.str, %4 ], [ @.str.2, %8 ], [ @.str.4, %12 ] %17 = phi ptr [ @ENOMEM, %4 ], [ @EINVAL, %8 ], [ @EINVAL, %12 ] %18 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull %16) #2 br label %19 19: ; preds = %15, %1 %20 = phi ptr [ @ENOENT, %1 ], [ %17, %15 ] %21 = load i32, ptr %20, align 4, !tbaa !10 %22 = sub nsw i32 0, %21 %23 = tail call ptr @ERR_PTR(i32 noundef %22) #2 br label %24 24: ; preds = %19, %12 %25 = phi ptr [ %6, %12 ], [ %23, %19 ] ret ptr %25 } declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @of_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_zforce_ts.c_zforce_parse_dt.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_zforce_ts.c_zforce_parse_dt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOENT = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"failed to allocate platform data\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"x-size\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"failed to get x-size property\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"y-size\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"failed to get y-size property\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @zforce_parse_dt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @zforce_parse_dt(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %6 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 8, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %15, label %8 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %6, i64 4 %10 = tail call i64 @of_property_read_u32(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, ptr noundef nonnull %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %8 %13 = tail call i64 @of_property_read_u32(ptr noundef nonnull %2, ptr noundef nonnull @.str.3, ptr noundef nonnull %6) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %12, %8, %4 %16 = phi ptr [ @.str, %4 ], [ @.str.2, %8 ], [ @.str.4, %12 ] %17 = phi ptr [ @ENOMEM, %4 ], [ @EINVAL, %8 ], [ @EINVAL, %12 ] %18 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull %16) #2 br label %19 19: ; preds = %15, %1 %20 = phi ptr [ @ENOENT, %1 ], [ %17, %15 ] %21 = load i32, ptr %20, align 4, !tbaa !11 %22 = sub nsw i32 0, %21 %23 = tail call ptr @ERR_PTR(i32 noundef %22) #2 br label %24 24: ; preds = %19, %12 %25 = phi ptr [ %6, %12 ], [ %23, %19 ] ret ptr %25 } declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @of_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_input_touchscreen_extr_zforce_ts.c_zforce_parse_dt
; ModuleID = 'AnghaBench/linux/drivers/staging/greybus/extr_audio_apbridgea.c_gb_audio_apbridgea_set_rx_data_size.c' source_filename = "AnghaBench/linux/drivers/staging/greybus/extr_audio_apbridgea.c_gb_audio_apbridgea_set_rx_data_size.c" target datalayout = "e-m:e-p270:32:32-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.audio_apbridgea_set_rx_data_size_request = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr, i32 } @AUDIO_APBRIDGEA_TYPE_SET_RX_DATA_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @GB_APB_REQUEST_AUDIO_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @gb_audio_apbridgea_set_rx_data_size(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.audio_apbridgea_set_rx_data_size_request, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 %5 = load i32, ptr @AUDIO_APBRIDGEA_TYPE_SET_RX_DATA_SIZE, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.audio_apbridgea_set_rx_data_size_request, ptr %4, i64 0, i32 1 %7 = getelementptr inbounds %struct.audio_apbridgea_set_rx_data_size_request, ptr %4, i64 0, i32 1, i32 1 store i32 %5, ptr %7, align 8, !tbaa !9 %8 = tail call ptr @cpu_to_le16(i32 noundef %1) #3 store ptr %8, ptr %6, align 8, !tbaa !13 %9 = tail call ptr @cpu_to_le16(i32 noundef %2) #3 store ptr %9, ptr %4, align 8, !tbaa !14 %10 = load i32, ptr %0, align 4, !tbaa !15 %11 = load i32, ptr @GB_APB_REQUEST_AUDIO_CONTROL, align 4, !tbaa !5 %12 = call i32 @gb_hd_output(i32 noundef %10, ptr noundef nonnull %4, i32 noundef 24, i32 noundef %11, i32 noundef 1) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @gb_hd_output(i32 noundef, 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, !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 = !{!"audio_apbridgea_set_rx_data_size_request", !11, i64 0, !12, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_2__", !11, i64 0, !6, i64 8} !13 = !{!10, !11, i64 8} !14 = !{!10, !11, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"gb_connection", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/greybus/extr_audio_apbridgea.c_gb_audio_apbridgea_set_rx_data_size.c' source_filename = "AnghaBench/linux/drivers/staging/greybus/extr_audio_apbridgea.c_gb_audio_apbridgea_set_rx_data_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.audio_apbridgea_set_rx_data_size_request = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr, i32 } @AUDIO_APBRIDGEA_TYPE_SET_RX_DATA_SIZE = common local_unnamed_addr global i32 0, align 4 @GB_APB_REQUEST_AUDIO_CONTROL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @gb_audio_apbridgea_set_rx_data_size(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.audio_apbridgea_set_rx_data_size_request, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 %5 = load i32, ptr @AUDIO_APBRIDGEA_TYPE_SET_RX_DATA_SIZE, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %4, i64 8 %7 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %5, ptr %7, align 8, !tbaa !10 %8 = tail call ptr @cpu_to_le16(i32 noundef %1) #3 store ptr %8, ptr %6, align 8, !tbaa !14 %9 = tail call ptr @cpu_to_le16(i32 noundef %2) #3 store ptr %9, ptr %4, align 8, !tbaa !15 %10 = load i32, ptr %0, align 4, !tbaa !16 %11 = load i32, ptr @GB_APB_REQUEST_AUDIO_CONTROL, align 4, !tbaa !6 %12 = call i32 @gb_hd_output(i32 noundef %10, ptr noundef nonnull %4, i32 noundef 24, i32 noundef %11, i32 noundef 1) #3 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @gb_hd_output(i32 noundef, 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, !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 = !{!"audio_apbridgea_set_rx_data_size_request", !12, i64 0, !13, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_2__", !12, i64 0, !7, i64 8} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"gb_connection", !7, i64 0}
linux_drivers_staging_greybus_extr_audio_apbridgea.c_gb_audio_apbridgea_set_rx_data_size
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_request.c___hci_req_update_adv_data.c' source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_request.c___hci_req_update_adv_data.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hci_cp_le_set_ext_adv_data = type { ptr, i32, i32, i32, i64 } %struct.hci_cp_le_set_adv_data = type { ptr, i32, i32, i32, i64 } %struct.hci_dev = type { ptr, i32 } @HCI_LE_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @LE_SET_ADV_DATA_OP_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4 @LE_SET_ADV_DATA_NO_FRAG = dso_local local_unnamed_addr global i32 0, align 4 @HCI_OP_LE_SET_EXT_ADV_DATA = dso_local local_unnamed_addr global i32 0, align 4 @HCI_OP_LE_SET_ADV_DATA = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @__hci_req_update_adv_data(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.hci_cp_le_set_ext_adv_data, align 8 %4 = alloca %struct.hci_cp_le_set_adv_data, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr @HCI_LE_ENABLED, align 4, !tbaa !10 %7 = tail call i32 @hci_dev_test_flag(ptr noundef %5, i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %59, label %9 9: ; preds = %2 %10 = tail call i64 @ext_adv_capable(ptr noundef %5) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %38, label %12 12: ; preds = %9 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3 %13 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #3 %14 = getelementptr inbounds %struct.hci_cp_le_set_ext_adv_data, ptr %3, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = call ptr @create_instance_adv_data(ptr noundef %5, ptr noundef %1, i32 noundef %15) #3 %17 = load ptr, ptr %5, align 8, !tbaa !15 %18 = icmp eq ptr %17, %16 br i1 %18, label %19, label %25 19: ; preds = %12 %20 = load i32, ptr %14, align 8, !tbaa !12 %21 = getelementptr inbounds %struct.hci_dev, ptr %5, i64 0, i32 1 %22 = load i32, ptr %21, align 8, !tbaa !17 %23 = call i64 @memcmp(i32 noundef %20, i32 noundef %22, ptr noundef %16) #3 %24 = icmp eq i64 %23, 0 br i1 %24, label %37, label %25 25: ; preds = %19, %12 %26 = getelementptr inbounds %struct.hci_dev, ptr %5, i64 0, i32 1 %27 = load i32, ptr %26, align 8, !tbaa !17 %28 = load i32, ptr %14, align 8, !tbaa !12 %29 = call i32 @memcpy(i32 noundef %27, i32 noundef %28, i32 noundef 4) #3 store ptr %16, ptr %5, align 8, !tbaa !15 store ptr %16, ptr %3, align 8, !tbaa !18 %30 = getelementptr inbounds %struct.hci_cp_le_set_ext_adv_data, ptr %3, i64 0, i32 4 store i64 0, ptr %30, align 8, !tbaa !19 %31 = load i32, ptr @LE_SET_ADV_DATA_OP_COMPLETE, align 4, !tbaa !10 %32 = getelementptr inbounds %struct.hci_cp_le_set_ext_adv_data, ptr %3, i64 0, i32 3 store i32 %31, ptr %32, align 8, !tbaa !20 %33 = load i32, ptr @LE_SET_ADV_DATA_NO_FRAG, align 4, !tbaa !10 %34 = getelementptr inbounds %struct.hci_cp_le_set_ext_adv_data, ptr %3, i64 0, i32 2 store i32 %33, ptr %34, align 4, !tbaa !21 %35 = load i32, ptr @HCI_OP_LE_SET_EXT_ADV_DATA, align 4, !tbaa !10 %36 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %35, i32 noundef 32, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3 br label %59 37: ; preds = %19 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3 br label %59 38: ; preds = %9 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3 %39 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 32) #3 %40 = getelementptr inbounds %struct.hci_cp_le_set_adv_data, ptr %4, i64 0, i32 1 %41 = load i32, ptr %40, align 8, !tbaa !22 %42 = call ptr @create_instance_adv_data(ptr noundef %5, ptr noundef %1, i32 noundef %41) #3 %43 = load ptr, ptr %5, align 8, !tbaa !15 %44 = icmp eq ptr %43, %42 br i1 %44, label %45, label %51 45: ; preds = %38 %46 = load i32, ptr %40, align 8, !tbaa !22 %47 = getelementptr inbounds %struct.hci_dev, ptr %5, i64 0, i32 1 %48 = load i32, ptr %47, align 8, !tbaa !17 %49 = call i64 @memcmp(i32 noundef %46, i32 noundef %48, ptr noundef %42) #3 %50 = icmp eq i64 %49, 0 br i1 %50, label %58, label %51 51: ; preds = %45, %38 %52 = getelementptr inbounds %struct.hci_dev, ptr %5, i64 0, i32 1 %53 = load i32, ptr %52, align 8, !tbaa !17 %54 = load i32, ptr %40, align 8, !tbaa !22 %55 = call i32 @memcpy(i32 noundef %53, i32 noundef %54, i32 noundef 4) #3 store ptr %42, ptr %5, align 8, !tbaa !15 store ptr %42, ptr %4, align 8, !tbaa !24 %56 = load i32, ptr @HCI_OP_LE_SET_ADV_DATA, align 4, !tbaa !10 %57 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %56, i32 noundef 32, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3 br label %59 58: ; preds = %45 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3 br label %59 59: ; preds = %25, %51, %58, %37, %2 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 @hci_dev_test_flag(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ext_adv_capable(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @create_instance_adv_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @memcmp(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hci_req_add(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 0} !6 = !{!"hci_request", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"hci_cp_le_set_ext_adv_data", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !14, i64 24} !14 = !{!"long", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"hci_dev", !7, i64 0, !11, i64 8} !17 = !{!16, !11, i64 8} !18 = !{!13, !7, i64 0} !19 = !{!13, !14, i64 24} !20 = !{!13, !11, i64 16} !21 = !{!13, !11, i64 12} !22 = !{!23, !11, i64 8} !23 = !{!"hci_cp_le_set_adv_data", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !14, i64 24} !24 = !{!23, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_request.c___hci_req_update_adv_data.c' source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_request.c___hci_req_update_adv_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hci_cp_le_set_ext_adv_data = type { ptr, i32, i32, i32, i64 } %struct.hci_cp_le_set_adv_data = type { ptr, i32, i32, i32, i64 } @HCI_LE_ENABLED = common local_unnamed_addr global i32 0, align 4 @LE_SET_ADV_DATA_OP_COMPLETE = common local_unnamed_addr global i32 0, align 4 @LE_SET_ADV_DATA_NO_FRAG = common local_unnamed_addr global i32 0, align 4 @HCI_OP_LE_SET_EXT_ADV_DATA = common local_unnamed_addr global i32 0, align 4 @HCI_OP_LE_SET_ADV_DATA = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @__hci_req_update_adv_data(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.hci_cp_le_set_ext_adv_data, align 8 %4 = alloca %struct.hci_cp_le_set_adv_data, align 8 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr @HCI_LE_ENABLED, align 4, !tbaa !11 %7 = tail call i32 @hci_dev_test_flag(ptr noundef %5, i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %59, label %9 9: ; preds = %2 %10 = tail call i64 @ext_adv_capable(ptr noundef %5) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %38, label %12 12: ; preds = %9 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3 %13 = call i32 @memset(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32) #3 %14 = getelementptr inbounds i8, ptr %3, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = call ptr @create_instance_adv_data(ptr noundef %5, ptr noundef %1, i32 noundef %15) #3 %17 = load ptr, ptr %5, align 8, !tbaa !16 %18 = icmp eq ptr %17, %16 br i1 %18, label %19, label %25 19: ; preds = %12 %20 = load i32, ptr %14, align 8, !tbaa !13 %21 = getelementptr inbounds i8, ptr %5, i64 8 %22 = load i32, ptr %21, align 8, !tbaa !18 %23 = call i64 @memcmp(i32 noundef %20, i32 noundef %22, ptr noundef %16) #3 %24 = icmp eq i64 %23, 0 br i1 %24, label %37, label %25 25: ; preds = %19, %12 %26 = getelementptr inbounds i8, ptr %5, i64 8 %27 = load i32, ptr %26, align 8, !tbaa !18 %28 = load i32, ptr %14, align 8, !tbaa !13 %29 = call i32 @memcpy(i32 noundef %27, i32 noundef %28, i32 noundef 4) #3 store ptr %16, ptr %5, align 8, !tbaa !16 store ptr %16, ptr %3, align 8, !tbaa !19 %30 = getelementptr inbounds i8, ptr %3, i64 24 store i64 0, ptr %30, align 8, !tbaa !20 %31 = load i32, ptr @LE_SET_ADV_DATA_OP_COMPLETE, align 4, !tbaa !11 %32 = getelementptr inbounds i8, ptr %3, i64 16 store i32 %31, ptr %32, align 8, !tbaa !21 %33 = load i32, ptr @LE_SET_ADV_DATA_NO_FRAG, align 4, !tbaa !11 %34 = getelementptr inbounds i8, ptr %3, i64 12 store i32 %33, ptr %34, align 4, !tbaa !22 %35 = load i32, ptr @HCI_OP_LE_SET_EXT_ADV_DATA, align 4, !tbaa !11 %36 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %35, i32 noundef 32, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3 br label %59 37: ; preds = %19 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3 br label %59 38: ; preds = %9 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3 %39 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef 32) #3 %40 = getelementptr inbounds i8, ptr %4, i64 8 %41 = load i32, ptr %40, align 8, !tbaa !23 %42 = call ptr @create_instance_adv_data(ptr noundef %5, ptr noundef %1, i32 noundef %41) #3 %43 = load ptr, ptr %5, align 8, !tbaa !16 %44 = icmp eq ptr %43, %42 br i1 %44, label %45, label %51 45: ; preds = %38 %46 = load i32, ptr %40, align 8, !tbaa !23 %47 = getelementptr inbounds i8, ptr %5, i64 8 %48 = load i32, ptr %47, align 8, !tbaa !18 %49 = call i64 @memcmp(i32 noundef %46, i32 noundef %48, ptr noundef %42) #3 %50 = icmp eq i64 %49, 0 br i1 %50, label %58, label %51 51: ; preds = %45, %38 %52 = getelementptr inbounds i8, ptr %5, i64 8 %53 = load i32, ptr %52, align 8, !tbaa !18 %54 = load i32, ptr %40, align 8, !tbaa !23 %55 = call i32 @memcpy(i32 noundef %53, i32 noundef %54, i32 noundef 4) #3 store ptr %42, ptr %5, align 8, !tbaa !16 store ptr %42, ptr %4, align 8, !tbaa !25 %56 = load i32, ptr @HCI_OP_LE_SET_ADV_DATA, align 4, !tbaa !11 %57 = call i32 @hci_req_add(ptr noundef nonnull %0, i32 noundef %56, i32 noundef 32, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3 br label %59 58: ; preds = %45 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3 br label %59 59: ; preds = %25, %51, %58, %37, %2 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 @hci_dev_test_flag(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ext_adv_capable(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @create_instance_adv_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @memcmp(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @hci_req_add(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 0} !7 = !{!"hci_request", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"hci_cp_le_set_ext_adv_data", !8, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !15, i64 24} !15 = !{!"long", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"hci_dev", !8, i64 0, !12, i64 8} !18 = !{!17, !12, i64 8} !19 = !{!14, !8, i64 0} !20 = !{!14, !15, i64 24} !21 = !{!14, !12, i64 16} !22 = !{!14, !12, i64 12} !23 = !{!24, !12, i64 8} !24 = !{!"hci_cp_le_set_adv_data", !8, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !15, i64 24} !25 = !{!24, !8, i64 0}
linux_net_bluetooth_extr_hci_request.c___hci_req_update_adv_data
; ModuleID = 'AnghaBench/git/extr_graph.c_graph_show_line_prefix.c' source_filename = "AnghaBench/git/extr_graph.c_graph_show_line_prefix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.diff_options = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @graph_show_line_prefix], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @graph_show_line_prefix(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.diff_options, ptr %0, i64 0, i32 2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %3 %8 = getelementptr inbounds %struct.diff_options, ptr %0, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = load i32, ptr %0, align 4, !tbaa !11 %11 = tail call i32 @fwrite(i32 noundef %5, i32 noundef 1, i32 noundef %9, i32 noundef %10) #2 br label %12 12: ; preds = %1, %3, %7 ret void } declare i32 @fwrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"diff_options", !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 = !{!6, !7, i64 4} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/git/extr_graph.c_graph_show_line_prefix.c' source_filename = "AnghaBench/git/extr_graph.c_graph_show_line_prefix.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @graph_show_line_prefix], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @graph_show_line_prefix(ptr noundef readonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = load i32, ptr %0, align 4, !tbaa !12 %11 = tail call i32 @fwrite(i32 noundef %5, i32 noundef 1, i32 noundef %9, i32 noundef %10) #2 br label %12 12: ; preds = %1, %3, %7 ret void } declare i32 @fwrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"diff_options", !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 = !{!7, !8, i64 4} !12 = !{!7, !8, i64 0}
git_extr_graph.c_graph_show_line_prefix
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_dxv.c_get_opcodes.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_dxv.c_get_opcodes.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_opcodes], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_opcodes(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca [1024 x %struct.TYPE_8__], align 16 call void @llvm.lifetime.start.p0(i64 12288, ptr nonnull %6) #3 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = inttoptr i64 %7 to ptr %9 = call i32 @fill_optable(ptr noundef %1, ptr noundef nonnull %6, i32 noundef %4) #3 %10 = icmp slt i32 %9, 0 br i1 %10, label %68, label %11 11: ; preds = %5 %12 = call i32 @bytestream2_get_le32(ptr noundef nonnull %0) #3 %13 = add nsw i32 %12, 7 %14 = ashr i32 %13, 3 %15 = add nsw i32 %14, -4 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %11 %18 = call i32 @bytestream2_get_bytes_left(ptr noundef nonnull %0) #3 %19 = icmp ult i32 %18, %15 br i1 %19, label %20, label %22 20: ; preds = %17, %11 %21 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !10 br label %68 22: ; preds = %17 %23 = zext i32 %15 to i64 %24 = getelementptr inbounds i32, ptr %8, i64 %23 %25 = call i32 @AV_RL32(ptr noundef nonnull %24) #3 %26 = icmp sgt i32 %3, 0 br i1 %26, label %27, label %66 27: ; preds = %22 %28 = and i32 %13, 7 %29 = add nuw nsw i32 %28, 15 %30 = lshr i32 %25, %29 %31 = and i32 %30, 1023 %32 = sub nuw nsw i32 17, %28 %33 = zext nneg i32 %3 to i64 br label %34 34: ; preds = %27, %52 %35 = phi i64 [ 0, %27 ], [ %64, %52 ] %36 = phi i32 [ %25, %27 ], [ %63, %52 ] %37 = phi i32 [ %15, %27 ], [ %48, %52 ] %38 = phi i32 [ %32, %27 ], [ %60, %52 ] %39 = phi i32 [ %31, %27 ], [ %59, %52 ] %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1024 x %struct.TYPE_8__], ptr %6, i64 0, i64 %40 %42 = getelementptr inbounds [1024 x %struct.TYPE_8__], ptr %6, i64 0, i64 %40, i32 2 %43 = load i32, ptr %42, align 4, !tbaa !12 %44 = getelementptr inbounds i32, ptr %2, i64 %35 store i32 %43, ptr %44, align 4, !tbaa !10 %45 = load i32, ptr %41, align 4, !tbaa !14 %46 = add nsw i32 %45, %38 %47 = ashr i32 %46, 3 %48 = sub i32 %37, %47 %49 = icmp ugt i32 %48, %15 br i1 %49, label %50, label %52 50: ; preds = %34 %51 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !10 br label %68 52: ; preds = %34 %53 = shl i32 %36, %38 %54 = lshr i32 %53, 1 %55 = sub nsw i32 31, %45 %56 = lshr i32 %54, %55 %57 = getelementptr inbounds [1024 x %struct.TYPE_8__], ptr %6, i64 0, i64 %40, i32 1 %58 = load i32, ptr %57, align 4, !tbaa !15 %59 = add nsw i32 %58, %56 %60 = and i32 %46, 7 %61 = zext i32 %48 to i64 %62 = getelementptr inbounds i32, ptr %8, i64 %61 %63 = call i32 @AV_RL32(ptr noundef %62) #3 %64 = add nuw nsw i64 %35, 1 %65 = icmp eq i64 %64, %33 br i1 %65, label %66, label %34, !llvm.loop !16 66: ; preds = %52, %22 %67 = call i32 @bytestream2_skip(ptr noundef nonnull %0, i32 noundef %15) #3 br label %68 68: ; preds = %5, %66, %50, %20 %69 = phi i32 [ %21, %20 ], [ %51, %50 ], [ 0, %66 ], [ %9, %5 ] call void @llvm.lifetime.end.p0(i64 12288, ptr nonnull %6) #3 ret i32 %69 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fill_optable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bytestream2_get_le32(ptr noundef) local_unnamed_addr #2 declare i32 @bytestream2_get_bytes_left(ptr noundef) local_unnamed_addr #2 declare i32 @AV_RL32(ptr noundef) local_unnamed_addr #2 declare i32 @bytestream2_skip(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_9__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_8__", !11, i64 0, !11, i64 4, !11, i64 8} !14 = !{!13, !11, i64 0} !15 = !{!13, !11, i64 4} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_dxv.c_get_opcodes.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_dxv.c_get_opcodes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32, i32, i32 } @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_opcodes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_opcodes(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca [1024 x %struct.TYPE_8__], align 4 call void @llvm.lifetime.start.p0(i64 12288, ptr nonnull %6) #3 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = inttoptr i64 %7 to ptr %9 = call i32 @fill_optable(ptr noundef %1, ptr noundef nonnull %6, i32 noundef %4) #3 %10 = icmp slt i32 %9, 0 br i1 %10, label %68, label %11 11: ; preds = %5 %12 = call i32 @bytestream2_get_le32(ptr noundef nonnull %0) #3 %13 = add nsw i32 %12, 7 %14 = ashr i32 %13, 3 %15 = add nsw i32 %14, -4 %16 = icmp eq i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %11 %18 = call i32 @bytestream2_get_bytes_left(ptr noundef nonnull %0) #3 %19 = icmp ult i32 %18, %15 br i1 %19, label %20, label %22 20: ; preds = %17, %11 %21 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !11 br label %68 22: ; preds = %17 %23 = zext i32 %15 to i64 %24 = getelementptr inbounds i32, ptr %8, i64 %23 %25 = call i32 @AV_RL32(ptr noundef nonnull %24) #3 %26 = icmp sgt i32 %3, 0 br i1 %26, label %27, label %66 27: ; preds = %22 %28 = and i32 %13, 7 %29 = add nuw nsw i32 %28, 15 %30 = lshr i32 %25, %29 %31 = and i32 %30, 1023 %32 = sub nuw nsw i32 17, %28 %33 = zext nneg i32 %3 to i64 br label %34 34: ; preds = %27, %52 %35 = phi i64 [ 0, %27 ], [ %64, %52 ] %36 = phi i32 [ %25, %27 ], [ %63, %52 ] %37 = phi i32 [ %15, %27 ], [ %48, %52 ] %38 = phi i32 [ %32, %27 ], [ %60, %52 ] %39 = phi i32 [ %31, %27 ], [ %59, %52 ] %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1024 x %struct.TYPE_8__], ptr %6, i64 0, i64 %40 %42 = getelementptr inbounds i8, ptr %41, i64 8 %43 = load i32, ptr %42, align 4, !tbaa !13 %44 = getelementptr inbounds i32, ptr %2, i64 %35 store i32 %43, ptr %44, align 4, !tbaa !11 %45 = load i32, ptr %41, align 4, !tbaa !15 %46 = add nsw i32 %45, %38 %47 = ashr i32 %46, 3 %48 = sub i32 %37, %47 %49 = icmp ugt i32 %48, %15 br i1 %49, label %50, label %52 50: ; preds = %34 %51 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !11 br label %68 52: ; preds = %34 %53 = shl i32 %36, %38 %54 = lshr i32 %53, 1 %55 = sub nsw i32 31, %45 %56 = lshr i32 %54, %55 %57 = getelementptr inbounds i8, ptr %41, i64 4 %58 = load i32, ptr %57, align 4, !tbaa !16 %59 = add nsw i32 %58, %56 %60 = and i32 %46, 7 %61 = zext i32 %48 to i64 %62 = getelementptr inbounds i32, ptr %8, i64 %61 %63 = call i32 @AV_RL32(ptr noundef %62) #3 %64 = add nuw nsw i64 %35, 1 %65 = icmp eq i64 %64, %33 br i1 %65, label %66, label %34, !llvm.loop !17 66: ; preds = %52, %22 %67 = call i32 @bytestream2_skip(ptr noundef nonnull %0, i32 noundef %15) #3 br label %68 68: ; preds = %5, %66, %50, %20 %69 = phi i32 [ %21, %20 ], [ %51, %50 ], [ 0, %66 ], [ %9, %5 ] call void @llvm.lifetime.end.p0(i64 12288, ptr nonnull %6) #3 ret i32 %69 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fill_optable(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bytestream2_get_le32(ptr noundef) local_unnamed_addr #2 declare i32 @bytestream2_get_bytes_left(ptr noundef) local_unnamed_addr #2 declare i32 @AV_RL32(ptr noundef) local_unnamed_addr #2 declare i32 @bytestream2_skip(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_9__", !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} !13 = !{!14, !12, i64 8} !14 = !{!"TYPE_8__", !12, i64 0, !12, i64 4, !12, i64 8} !15 = !{!14, !12, i64 0} !16 = !{!14, !12, i64 4} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavcodec_extr_dxv.c_get_opcodes
; ModuleID = 'AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_get_sym.c' source_filename = "AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_get_sym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @YY_EOL = dso_local local_unnamed_addr global i32 0, align 4 @YY_WS = dso_local local_unnamed_addr global i32 0, align 4 @YY_ONE_LINE_COMMENT = dso_local local_unnamed_addr global i32 0, align 4 @YY_COMMENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_sym], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_sym() #0 { %1 = tail call i32 (...) @get_skip_sym() #2 %2 = load i32, ptr @YY_EOL, align 4, !tbaa !5 %3 = icmp eq i32 %1, %2 %4 = load i32, ptr @YY_WS, align 4 %5 = icmp eq i32 %1, %4 %6 = select i1 %3, i1 true, i1 %5 %7 = load i32, ptr @YY_ONE_LINE_COMMENT, align 4 %8 = icmp eq i32 %1, %7 %9 = select i1 %6, i1 true, i1 %8 %10 = load i32, ptr @YY_COMMENT, align 4 %11 = icmp eq i32 %1, %10 %12 = select i1 %9, i1 true, i1 %11 br i1 %12, label %13, label %41 13: ; preds = %0, %28 %14 = phi i1 [ %36, %28 ], [ %8, %0 ] %15 = phi i1 [ %33, %28 ], [ %5, %0 ] %16 = phi i1 [ %31, %28 ], [ %3, %0 ] %17 = phi i32 [ %29, %28 ], [ %1, %0 ] br i1 %16, label %18, label %20 18: ; preds = %13 %19 = tail call i32 @skip_EOL(i32 noundef %17) #2 br label %28 20: ; preds = %13 br i1 %15, label %21, label %23 21: ; preds = %20 %22 = tail call i32 @skip_WS(i32 noundef %17) #2 br label %28 23: ; preds = %20 br i1 %14, label %24, label %26 24: ; preds = %23 %25 = tail call i32 @skip_ONE_LINE_COMMENT(i32 noundef %17) #2 br label %28 26: ; preds = %23 %27 = tail call i32 @skip_COMMENT(i32 noundef %17) #2 br label %28 28: ; preds = %21, %26, %24, %18 %29 = phi i32 [ %19, %18 ], [ %22, %21 ], [ %25, %24 ], [ %27, %26 ] %30 = load i32, ptr @YY_EOL, align 4, !tbaa !5 %31 = icmp eq i32 %29, %30 %32 = load i32, ptr @YY_WS, align 4 %33 = icmp eq i32 %29, %32 %34 = select i1 %31, i1 true, i1 %33 %35 = load i32, ptr @YY_ONE_LINE_COMMENT, align 4 %36 = icmp eq i32 %29, %35 %37 = select i1 %34, i1 true, i1 %36 %38 = load i32, ptr @YY_COMMENT, align 4 %39 = icmp eq i32 %29, %38 %40 = select i1 %37, i1 true, i1 %39 br i1 %40, label %13, label %41, !llvm.loop !9 41: ; preds = %28, %0 %42 = phi i32 [ %1, %0 ], [ %29, %28 ] ret i32 %42 } declare i32 @get_skip_sym(...) local_unnamed_addr #1 declare i32 @skip_EOL(i32 noundef) local_unnamed_addr #1 declare i32 @skip_WS(i32 noundef) local_unnamed_addr #1 declare i32 @skip_ONE_LINE_COMMENT(i32 noundef) local_unnamed_addr #1 declare i32 @skip_COMMENT(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/php-src/ext/ffi/extr_ffi_parser.c_get_sym.c' source_filename = "AnghaBench/php-src/ext/ffi/extr_ffi_parser.c_get_sym.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @YY_EOL = common local_unnamed_addr global i32 0, align 4 @YY_WS = common local_unnamed_addr global i32 0, align 4 @YY_ONE_LINE_COMMENT = common local_unnamed_addr global i32 0, align 4 @YY_COMMENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_sym], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @get_sym() #0 { %1 = tail call i32 @get_skip_sym() #2 %2 = load i32, ptr @YY_EOL, align 4, !tbaa !6 %3 = icmp eq i32 %1, %2 %4 = load i32, ptr @YY_WS, align 4 %5 = icmp eq i32 %1, %4 %6 = select i1 %3, i1 true, i1 %5 %7 = load i32, ptr @YY_ONE_LINE_COMMENT, align 4 %8 = icmp eq i32 %1, %7 %9 = select i1 %6, i1 true, i1 %8 %10 = load i32, ptr @YY_COMMENT, align 4 %11 = icmp eq i32 %1, %10 %12 = select i1 %9, i1 true, i1 %11 br i1 %12, label %13, label %41 13: ; preds = %0, %28 %14 = phi i1 [ %36, %28 ], [ %8, %0 ] %15 = phi i1 [ %33, %28 ], [ %5, %0 ] %16 = phi i1 [ %31, %28 ], [ %3, %0 ] %17 = phi i32 [ %29, %28 ], [ %1, %0 ] br i1 %16, label %18, label %20 18: ; preds = %13 %19 = tail call i32 @skip_EOL(i32 noundef %17) #2 br label %28 20: ; preds = %13 br i1 %15, label %21, label %23 21: ; preds = %20 %22 = tail call i32 @skip_WS(i32 noundef %17) #2 br label %28 23: ; preds = %20 br i1 %14, label %24, label %26 24: ; preds = %23 %25 = tail call i32 @skip_ONE_LINE_COMMENT(i32 noundef %17) #2 br label %28 26: ; preds = %23 %27 = tail call i32 @skip_COMMENT(i32 noundef %17) #2 br label %28 28: ; preds = %21, %26, %24, %18 %29 = phi i32 [ %19, %18 ], [ %22, %21 ], [ %25, %24 ], [ %27, %26 ] %30 = load i32, ptr @YY_EOL, align 4, !tbaa !6 %31 = icmp eq i32 %29, %30 %32 = load i32, ptr @YY_WS, align 4 %33 = icmp eq i32 %29, %32 %34 = select i1 %31, i1 true, i1 %33 %35 = load i32, ptr @YY_ONE_LINE_COMMENT, align 4 %36 = icmp eq i32 %29, %35 %37 = select i1 %34, i1 true, i1 %36 %38 = load i32, ptr @YY_COMMENT, align 4 %39 = icmp eq i32 %29, %38 %40 = select i1 %37, i1 true, i1 %39 br i1 %40, label %13, label %41, !llvm.loop !10 41: ; preds = %28, %0 %42 = phi i32 [ %1, %0 ], [ %29, %28 ] ret i32 %42 } declare i32 @get_skip_sym(...) local_unnamed_addr #1 declare i32 @skip_EOL(i32 noundef) local_unnamed_addr #1 declare i32 @skip_WS(i32 noundef) local_unnamed_addr #1 declare i32 @skip_ONE_LINE_COMMENT(i32 noundef) local_unnamed_addr #1 declare i32 @skip_COMMENT(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"}
php-src_ext_ffi_extr_ffi_parser.c_get_sym
; ModuleID = 'AnghaBench/curl/tests/libtest/extr_lib502.c_test.c' source_filename = "AnghaBench/curl/tests/libtest/extr_lib502.c_test.c" target datalayout = "e-m:e-p270:32:32-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.timeval = type { i64, i64 } @CURL_GLOBAL_ALL = dso_local local_unnamed_addr global i32 0, align 4 @CURLOPT_URL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @test(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %8 = tail call i32 (...) @start_test_timing() #3 %9 = load i32, ptr @CURL_GLOBAL_ALL, align 4, !tbaa !5 %10 = tail call i32 @global_init(i32 noundef %9) #3 %11 = tail call i32 @easy_init(ptr noundef null) #3 %12 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !5 %13 = tail call i32 @easy_setopt(ptr noundef null, i32 noundef %12, ptr noundef %0) #3 %14 = tail call i32 @multi_init(ptr noundef null) #3 %15 = tail call i32 @multi_add_handle(ptr noundef null, ptr noundef null) #3 %16 = getelementptr inbounds %struct.timeval, ptr %3, i64 0, i32 1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 -99, ptr %7, align 4, !tbaa !5 store i64 0, ptr %16, align 8, !tbaa !9 store i64 100000, ptr %3, align 8, !tbaa !12 %17 = call i32 @multi_perform(ptr noundef null, ptr noundef nonnull %2) #3 %18 = call i32 (...) @abort_on_test_timeout() #3 %19 = load i32, ptr %2, align 4, !tbaa !5 %20 = icmp eq i32 %19, 0 br i1 %20, label %34, label %21 21: ; preds = %1, %21 %22 = call i32 @FD_ZERO(ptr noundef nonnull %4) #3 %23 = call i32 @FD_ZERO(ptr noundef nonnull %5) #3 %24 = call i32 @FD_ZERO(ptr noundef nonnull %6) #3 %25 = call i32 @multi_fdset(ptr noundef null, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %26 = load i32, ptr %7, align 4, !tbaa !5 %27 = add nsw i32 %26, 1 %28 = call i32 @select_test(i32 noundef %27, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %3) #3 %29 = call i32 (...) @abort_on_test_timeout() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 -99, ptr %7, align 4, !tbaa !5 store i64 0, ptr %16, align 8, !tbaa !9 store i64 100000, ptr %3, align 8, !tbaa !12 %30 = call i32 @multi_perform(ptr noundef null, ptr noundef nonnull %2) #3 %31 = call i32 (...) @abort_on_test_timeout() #3 %32 = load i32, ptr %2, align 4, !tbaa !5 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %21 34: ; preds = %21, %1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 %35 = call i32 @curl_multi_remove_handle(ptr noundef null, ptr noundef null) #3 %36 = call i32 @curl_multi_cleanup(ptr noundef null) #3 %37 = call i32 @curl_easy_cleanup(ptr noundef null) #3 %38 = call i32 (...) @curl_global_cleanup() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @start_test_timing(...) local_unnamed_addr #2 declare i32 @global_init(i32 noundef) local_unnamed_addr #2 declare i32 @easy_init(ptr noundef) local_unnamed_addr #2 declare i32 @easy_setopt(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @multi_init(ptr noundef) local_unnamed_addr #2 declare i32 @multi_add_handle(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @multi_perform(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @abort_on_test_timeout(...) local_unnamed_addr #2 declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2 declare i32 @multi_fdset(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @select_test(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @curl_multi_remove_handle(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @curl_multi_cleanup(ptr noundef) local_unnamed_addr #2 declare i32 @curl_easy_cleanup(ptr noundef) local_unnamed_addr #2 declare i32 @curl_global_cleanup(...) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"timeval", !11, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/curl/tests/libtest/extr_lib502.c_test.c' source_filename = "AnghaBench/curl/tests/libtest/extr_lib502.c_test.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.timeval = type { i64, i64 } @CURL_GLOBAL_ALL = common local_unnamed_addr global i32 0, align 4 @CURLOPT_URL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @test(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %8 = tail call i32 @start_test_timing() #3 %9 = load i32, ptr @CURL_GLOBAL_ALL, align 4, !tbaa !6 %10 = tail call i32 @global_init(i32 noundef %9) #3 %11 = tail call i32 @easy_init(ptr noundef null) #3 %12 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !6 %13 = tail call i32 @easy_setopt(ptr noundef null, i32 noundef %12, ptr noundef %0) #3 %14 = tail call i32 @multi_init(ptr noundef null) #3 %15 = tail call i32 @multi_add_handle(ptr noundef null, ptr noundef null) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 -99, ptr %7, align 4, !tbaa !6 store <2 x i64> <i64 100000, i64 0>, ptr %3, align 16, !tbaa !10 %16 = call i32 @multi_perform(ptr noundef null, ptr noundef nonnull %2) #3 %17 = call i32 @abort_on_test_timeout() #3 %18 = load i32, ptr %2, align 4, !tbaa !6 %19 = icmp eq i32 %18, 0 br i1 %19, label %33, label %20 20: ; preds = %1, %20 %21 = call i32 @FD_ZERO(ptr noundef nonnull %4) #3 %22 = call i32 @FD_ZERO(ptr noundef nonnull %5) #3 %23 = call i32 @FD_ZERO(ptr noundef nonnull %6) #3 %24 = call i32 @multi_fdset(ptr noundef null, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %25 = load i32, ptr %7, align 4, !tbaa !6 %26 = add nsw i32 %25, 1 %27 = call i32 @select_test(i32 noundef %26, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %3) #3 %28 = call i32 @abort_on_test_timeout() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 -99, ptr %7, align 4, !tbaa !6 store <2 x i64> <i64 100000, i64 0>, ptr %3, align 16, !tbaa !10 %29 = call i32 @multi_perform(ptr noundef null, ptr noundef nonnull %2) #3 %30 = call i32 @abort_on_test_timeout() #3 %31 = load i32, ptr %2, align 4, !tbaa !6 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %20 33: ; preds = %20, %1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 %34 = call i32 @curl_multi_remove_handle(ptr noundef null, ptr noundef null) #3 %35 = call i32 @curl_multi_cleanup(ptr noundef null) #3 %36 = call i32 @curl_easy_cleanup(ptr noundef null) #3 %37 = call i32 @curl_global_cleanup() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @start_test_timing(...) local_unnamed_addr #2 declare i32 @global_init(i32 noundef) local_unnamed_addr #2 declare i32 @easy_init(ptr noundef) local_unnamed_addr #2 declare i32 @easy_setopt(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @multi_init(ptr noundef) local_unnamed_addr #2 declare i32 @multi_add_handle(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @multi_perform(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @abort_on_test_timeout(...) local_unnamed_addr #2 declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2 declare i32 @multi_fdset(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @select_test(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @curl_multi_remove_handle(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @curl_multi_cleanup(ptr noundef) local_unnamed_addr #2 declare i32 @curl_easy_cleanup(ptr noundef) local_unnamed_addr #2 declare i32 @curl_global_cleanup(...) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
curl_tests_libtest_extr_lib502.c_test
; ModuleID = 'AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-server.c_sd_dhcp_server_set_timezone.c' source_filename = "AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-server.c_sd_dhcp_server_set_timezone.c" target datalayout = "e-m:e-p270:32:32-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 @LOG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sd_dhcp_server_set_timezone(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @EINVAL, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 %5 = tail call i32 @assert_return(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !5 %7 = tail call ptr @timezone_is_valid(ptr noundef %1, i32 noundef %6) #2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 %10 = tail call i32 @assert_return(ptr noundef %7, i32 noundef %9) #2 %11 = load i32, ptr %0, align 4, !tbaa !9 %12 = tail call i64 @streq_ptr(ptr noundef %1, i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = tail call i32 @free_and_strdup(ptr noundef nonnull %0, ptr noundef %1) #2 %16 = icmp slt i32 %15, 0 %17 = select i1 %16, i32 %15, i32 1 br label %18 18: ; preds = %14, %2 %19 = phi i32 [ 0, %2 ], [ %17, %14 ] ret i32 %19 } declare i32 @assert_return(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @timezone_is_valid(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @streq_ptr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_and_strdup(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, !6, i64 0} !10 = !{!"TYPE_5__", !6, i64 0}
; ModuleID = 'AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-server.c_sd_dhcp_server_set_timezone.c' source_filename = "AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-server.c_sd_dhcp_server_set_timezone.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 @LOG_DEBUG = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483648, 2) i32 @sd_dhcp_server_set_timezone(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @EINVAL, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 %5 = tail call i32 @assert_return(ptr noundef %0, i32 noundef %4) #2 %6 = load i32, ptr @LOG_DEBUG, align 4, !tbaa !6 %7 = tail call ptr @timezone_is_valid(ptr noundef %1, i32 noundef %6) #2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 %10 = tail call i32 @assert_return(ptr noundef %7, i32 noundef %9) #2 %11 = load i32, ptr %0, align 4, !tbaa !10 %12 = tail call i64 @streq_ptr(ptr noundef %1, i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = tail call i32 @free_and_strdup(ptr noundef nonnull %0, ptr noundef %1) #2 %16 = icmp slt i32 %15, 0 %17 = select i1 %16, i32 %15, i32 1 br label %18 18: ; preds = %14, %2 %19 = phi i32 [ 0, %2 ], [ %17, %14 ] ret i32 %19 } declare i32 @assert_return(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @timezone_is_valid(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @streq_ptr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_and_strdup(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, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0}
systemd_src_libsystemd-network_extr_sd-dhcp-server.c_sd_dhcp_server_set_timezone
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_lvds.c_rcar_lvds_dual_link.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_lvds.c_rcar_lvds_dual_link.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @rcar_lvds_dual_link(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @bridge_to_rcar_lvds(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !5 ret i32 %3 } declare ptr @bridge_to_rcar_lvds(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 = !{!"rcar_lvds", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_lvds.c_rcar_lvds_dual_link.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/rcar-du/extr_rcar_lvds.c_rcar_lvds_dual_link.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 @rcar_lvds_dual_link(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @bridge_to_rcar_lvds(ptr noundef %0) #2 %3 = load i32, ptr %2, align 4, !tbaa !6 ret i32 %3 } declare ptr @bridge_to_rcar_lvds(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 = !{!"rcar_lvds", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_rcar-du_extr_rcar_lvds.c_rcar_lvds_dual_link
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_SetZMode.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_SetZMode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__gx = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @GX_SetZMode(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @__gx, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !9 %6 = and i32 %5, -2 %7 = and i32 %0, 1 %8 = or disjoint i32 %6, %7 store i32 %8, ptr %4, align 4, !tbaa !9 %9 = and i32 %8, -15 %10 = tail call i32 @_SHIFTL(i32 noundef %1, i32 noundef 1, i32 noundef 3) #2 %11 = or i32 %9, %10 %12 = load ptr, ptr @__gx, align 8, !tbaa !5 store i32 %11, ptr %12, align 4, !tbaa !9 %13 = and i32 %11, -17 %14 = tail call i32 @_SHIFTL(i32 noundef %2, i32 noundef 4, i32 noundef 1) #2 %15 = or i32 %13, %14 %16 = load ptr, ptr @__gx, align 8, !tbaa !5 store i32 %15, ptr %16, align 4, !tbaa !9 %17 = tail call i32 @GX_LOAD_BP_REG(i32 noundef %15) #2 ret void } declare i32 @_SHIFTL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GX_LOAD_BP_REG(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, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_SetZMode.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_SetZMode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__gx = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @GX_SetZMode(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @__gx, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = and i32 %5, -2 %7 = and i32 %0, 1 %8 = or disjoint i32 %6, %7 store i32 %8, ptr %4, align 4, !tbaa !10 %9 = and i32 %8, -15 %10 = tail call i32 @_SHIFTL(i32 noundef %1, i32 noundef 1, i32 noundef 3) #2 %11 = or i32 %9, %10 %12 = load ptr, ptr @__gx, align 8, !tbaa !6 store i32 %11, ptr %12, align 4, !tbaa !10 %13 = and i32 %11, -17 %14 = tail call i32 @_SHIFTL(i32 noundef %2, i32 noundef 4, i32 noundef 1) #2 %15 = or i32 %13, %14 %16 = load ptr, ptr @__gx, align 8, !tbaa !6 store i32 %15, ptr %16, align 4, !tbaa !10 %17 = tail call i32 @GX_LOAD_BP_REG(i32 noundef %15) #2 ret void } declare i32 @_SHIFTL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GX_LOAD_BP_REG(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, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
RetroArch_wii_libogc_libogc_extr_gx.c_GX_SetZMode
; ModuleID = 'AnghaBench/postgres/src/pl/plpython/extr_plpy_procedure.c_PLy_procedure_valid.c' source_filename = "AnghaBench/postgres/src/pl/plpython/extr_plpy_procedure.c_PLy_procedure_valid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_5__ = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @PLy_procedure_valid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @PLy_procedure_valid(ptr noundef %0, ptr noundef %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %15, label %4 4: ; preds = %2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call i64 @HeapTupleHeaderGetRawXmin(i32 noundef %7) #2 %9 = icmp eq i64 %5, %8 br i1 %9, label %10, label %15 10: ; preds = %4 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %12 = tail call i64 @ItemPointerEquals(ptr noundef nonnull %11, ptr noundef nonnull %1) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i32 br label %15 15: ; preds = %10, %4, %2 %16 = phi i32 [ 0, %2 ], [ 0, %4 ], [ %14, %10 ] ret i32 %16 } declare i64 @HeapTupleHeaderGetRawXmin(i32 noundef) local_unnamed_addr #1 declare i64 @ItemPointerEquals(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_5__", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !10, i64 4} !12 = !{!"TYPE_6__", !10, i64 0, !10, i64 4}
; ModuleID = 'AnghaBench/postgres/src/pl/plpython/extr_plpy_procedure.c_PLy_procedure_valid.c' source_filename = "AnghaBench/postgres/src/pl/plpython/extr_plpy_procedure.c_PLy_procedure_valid.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 @PLy_procedure_valid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @PLy_procedure_valid(ptr noundef %0, ptr noundef %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %15, label %4 4: ; preds = %2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = tail call i64 @HeapTupleHeaderGetRawXmin(i32 noundef %7) #2 %9 = icmp eq i64 %5, %8 br i1 %9, label %10, label %15 10: ; preds = %4 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = tail call i64 @ItemPointerEquals(ptr noundef nonnull %11, ptr noundef nonnull %1) #2 %13 = icmp ne i64 %12, 0 %14 = zext i1 %13 to i32 br label %15 15: ; preds = %10, %4, %2 %16 = phi i32 [ 0, %2 ], [ 0, %4 ], [ %14, %10 ] ret i32 %16 } declare i64 @HeapTupleHeaderGetRawXmin(i32 noundef) local_unnamed_addr #1 declare i64 @ItemPointerEquals(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_5__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !11, i64 4} !13 = !{!"TYPE_6__", !11, i64 0, !11, i64 4}
postgres_src_pl_plpython_extr_plpy_procedure.c_PLy_procedure_valid
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/bnxt_re/extr_qplib_sp.c_bnxt_qplib_query_version.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/bnxt_re/extr_qplib_sp.c_bnxt_qplib_query_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" %struct.cmdq_query_version = type { i32 } %struct.creq_query_version_resp = type { i8, i8, i8, i8 } @QUERY_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bnxt_qplib_query_version], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bnxt_qplib_query_version(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca %struct.cmdq_query_version, align 4 %4 = alloca %struct.creq_query_version_resp, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @QUERY_VERSION, align 4, !tbaa !5 %6 = tail call i32 @RCFW_CMD_PREP(i32 undef, i32 noundef %5, i32 noundef 0) #3 %7 = call i32 @bnxt_qplib_rcfw_send_message(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load <4 x i8>, ptr %4, align 4, !tbaa !9 store <4 x i8> %10, ptr %1, align 1, !tbaa !9 br label %11 11: ; preds = %2, %9 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 @RCFW_CMD_PREP(i32, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bnxt_qplib_rcfw_send_message(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/bnxt_re/extr_qplib_sp.c_bnxt_qplib_query_version.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/bnxt_re/extr_qplib_sp.c_bnxt_qplib_query_version.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.cmdq_query_version = type { i32 } %struct.creq_query_version_resp = type { i8, i8, i8, i8 } @QUERY_VERSION = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bnxt_qplib_query_version], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bnxt_qplib_query_version(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca %struct.cmdq_query_version, align 4 %4 = alloca %struct.creq_query_version_resp, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @QUERY_VERSION, align 4, !tbaa !6 %6 = tail call i32 @RCFW_CMD_PREP(i64 0, i32 noundef %5, i32 noundef 0) #3 %7 = call i32 @bnxt_qplib_rcfw_send_message(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load <4 x i8>, ptr %4, align 4, !tbaa !10 store <4 x i8> %10, ptr %1, align 1, !tbaa !10 br label %11 11: ; preds = %2, %9 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 @RCFW_CMD_PREP(i64, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bnxt_qplib_rcfw_send_message(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
linux_drivers_infiniband_hw_bnxt_re_extr_qplib_sp.c_bnxt_qplib_query_version
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_acpi.c_pacpi_set_piomode.c' source_filename = "AnghaBench/linux/drivers/ata/extr_pata_acpi.c_pacpi_set_piomode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ata_device = type { i32, i32 } %struct.TYPE_5__ = type { i32, ptr } %struct.TYPE_4__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @pacpi_set_piomode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pacpi_set_piomode(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = load i32, ptr %4, align 8, !tbaa !13 %6 = and i32 %5, 16 %7 = icmp eq i32 %6, 0 %8 = select i1 %7, i32 0, i32 %3 %9 = getelementptr inbounds %struct.ata_device, ptr %1, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !16 %11 = tail call ptr @ata_timing_find_mode(i32 noundef %10) #2 %12 = load i32, ptr %11, align 4, !tbaa !17 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !19 %15 = sext i32 %8 to i64 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %15 store i32 %12, ptr %16, align 4, !tbaa !20 %17 = tail call i32 @ata_acpi_stm(ptr noundef nonnull %0, ptr noundef nonnull %4) #2 %18 = tail call i32 @ata_acpi_gtm(ptr noundef nonnull %0, ptr noundef nonnull %4) #2 ret void } declare ptr @ata_timing_find_mode(i32 noundef) local_unnamed_addr #1 declare i32 @ata_acpi_stm(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ata_acpi_gtm(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 = !{!"ata_device", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"ata_port", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"pata_acpi", !15, i64 0} !15 = !{!"TYPE_5__", !7, i64 0, !12, i64 8} !16 = !{!6, !7, i64 4} !17 = !{!18, !7, i64 0} !18 = !{!"ata_timing", !7, i64 0} !19 = !{!14, !12, i64 8} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_4__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/ata/extr_pata_acpi.c_pacpi_set_piomode.c' source_filename = "AnghaBench/linux/drivers/ata/extr_pata_acpi.c_pacpi_set_piomode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @pacpi_set_piomode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pacpi_set_piomode(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !11 %5 = load i32, ptr %4, align 8, !tbaa !14 %6 = and i32 %5, 16 %7 = icmp eq i32 %6, 0 %8 = select i1 %7, i32 0, i32 %3 %9 = getelementptr inbounds i8, ptr %1, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !17 %11 = tail call ptr @ata_timing_find_mode(i32 noundef %10) #2 %12 = load i32, ptr %11, align 4, !tbaa !18 %13 = getelementptr inbounds i8, ptr %4, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !20 %15 = sext i32 %8 to i64 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %15 store i32 %12, ptr %16, align 4, !tbaa !21 %17 = tail call i32 @ata_acpi_stm(ptr noundef nonnull %0, ptr noundef nonnull %4) #2 %18 = tail call i32 @ata_acpi_gtm(ptr noundef nonnull %0, ptr noundef nonnull %4) #2 ret void } declare ptr @ata_timing_find_mode(i32 noundef) local_unnamed_addr #1 declare i32 @ata_acpi_stm(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ata_acpi_gtm(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 = !{!"ata_device", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"ata_port", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"pata_acpi", !16, i64 0} !16 = !{!"TYPE_5__", !8, i64 0, !13, i64 8} !17 = !{!7, !8, i64 4} !18 = !{!19, !8, i64 0} !19 = !{!"ata_timing", !8, i64 0} !20 = !{!15, !13, i64 8} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_4__", !8, i64 0}
linux_drivers_ata_extr_pata_acpi.c_pacpi_set_piomode
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/extr_snmp_netgraph.c_ng_output_id.c' source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/extr_snmp_netgraph.c_ng_output_id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NG_PATHSIZ = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"[%x]:\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ng_output_id(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @NG_PATHSIZ, align 4, !tbaa !5 %7 = zext i32 %6 to i64 %8 = alloca i8, i64 %7, align 16 %9 = call i32 @sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str, i32 noundef %0) #2 %10 = call i32 @ng_output(ptr noundef nonnull %8, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #2 ret i32 %10 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ng_output(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/extr_snmp_netgraph.c_ng_output_id.c' source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/extr_snmp_netgraph.c_ng_output_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NG_PATHSIZ = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"[%x]:\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ng_output_id(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr @NG_PATHSIZ, align 4, !tbaa !6 %7 = zext i32 %6 to i64 %8 = alloca i8, i64 %7, align 1 %9 = call i32 @sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str, i32 noundef %0) #2 %10 = call i32 @ng_output(ptr noundef nonnull %8, i32 noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #2 ret i32 %10 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ng_output(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_usr.sbin_bsnmpd_modules_snmp_netgraph_extr_snmp_netgraph.c_ng_output_id
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_utils.c_ff_parse_creation_time_metadata.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_utils.c_ff_parse_creation_time_metadata.c" target datalayout = "e-m:e-p270:32:32-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"creation_time\00", align 1 @AV_LOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Failed to parse creation_time %s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ff_parse_creation_time_metadata(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call ptr @av_dict_get(i32 noundef %5, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0) #3 %7 = icmp eq ptr %6, null br i1 %7, label %21, label %8 8: ; preds = %3 %9 = load i32, ptr %6, align 4, !tbaa !10 %10 = call i32 @av_parse_time(ptr noundef nonnull %4, i32 noundef %9, i32 noundef 0) #3 %11 = icmp sgt i32 %10, -1 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = icmp eq i32 %2, 0 %14 = load i32, ptr %4, align 4, !tbaa !12 %15 = sdiv i32 %14, 1000000 %16 = select i1 %13, i32 %14, i32 %15 store i32 %16, ptr %1, align 4, !tbaa !12 br label %21 17: ; preds = %8 %18 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !12 %19 = load i32, ptr %6, align 4, !tbaa !10 %20 = call i32 @av_log(ptr noundef nonnull %0, i32 noundef %18, ptr noundef nonnull @.str.1, i32 noundef %19) #3 br label %21 21: ; preds = %3, %17, %12 %22 = phi i32 [ 1, %12 ], [ %10, %17 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @av_dict_get(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_parse_time(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_log(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, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_7__", !7, i64 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_utils.c_ff_parse_creation_time_metadata.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_utils.c_ff_parse_creation_time_metadata.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"creation_time\00", align 1 @AV_LOG_WARNING = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"Failed to parse creation_time %s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483648, 2) i32 @ff_parse_creation_time_metadata(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call ptr @av_dict_get(i32 noundef %5, ptr noundef nonnull @.str, ptr noundef null, i32 noundef 0) #3 %7 = icmp eq ptr %6, null br i1 %7, label %21, label %8 8: ; preds = %3 %9 = load i32, ptr %6, align 4, !tbaa !11 %10 = call i32 @av_parse_time(ptr noundef nonnull %4, i32 noundef %9, i32 noundef 0) #3 %11 = icmp sgt i32 %10, -1 br i1 %11, label %12, label %17 12: ; preds = %8 %13 = icmp eq i32 %2, 0 %14 = load i32, ptr %4, align 4, !tbaa !13 %15 = sdiv i32 %14, 1000000 %16 = select i1 %13, i32 %14, i32 %15 store i32 %16, ptr %1, align 4, !tbaa !13 br label %21 17: ; preds = %8 %18 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !13 %19 = load i32, ptr %6, align 4, !tbaa !11 %20 = call i32 @av_log(ptr noundef nonnull %0, i32 noundef %18, ptr noundef nonnull @.str.1, i32 noundef %19) #3 br label %21 21: ; preds = %3, %17, %12 %22 = phi i32 [ 1, %12 ], [ %10, %17 ], [ 0, %3 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @av_dict_get(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_parse_time(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @av_log(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, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_7__", !8, i64 0} !13 = !{!8, !8, i64 0}
FFmpeg_libavformat_extr_utils.c_ff_parse_creation_time_metadata
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c_transport_init_session.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c_transport_init_session.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.se_session = type { i32, i32, i32, i32, i32, i32 } @se_sess_cache = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"Unable to allocate struct se_session from se_sess_cache\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @transport_init_session() local_unnamed_addr #0 { %1 = load i32, ptr @se_sess_cache, align 4, !tbaa !5 %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %3 = tail call ptr @kmem_cache_zalloc(i32 noundef %1, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %0 %6 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 %9 = tail call ptr @ERR_PTR(i32 noundef %8) #2 br label %22 10: ; preds = %0 %11 = getelementptr inbounds %struct.se_session, ptr %3, i64 0, i32 5 %12 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds %struct.se_session, ptr %3, i64 0, i32 4 %14 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds %struct.se_session, ptr %3, i64 0, i32 3 %16 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %15) #2 %17 = getelementptr inbounds %struct.se_session, ptr %3, i64 0, i32 2 %18 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %17) #2 %19 = getelementptr inbounds %struct.se_session, ptr %3, i64 0, i32 1 %20 = tail call i32 @spin_lock_init(ptr noundef nonnull %19) #2 %21 = tail call i32 @kref_init(ptr noundef nonnull %3) #2 br label %22 22: ; preds = %10, %5 %23 = phi ptr [ %3, %10 ], [ %9, %5 ] ret ptr %23 } declare ptr @kmem_cache_zalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @kref_init(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/fastsocket/kernel/drivers/target/extr_target_core_transport.c_transport_init_session.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_transport.c_transport_init_session.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @se_sess_cache = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"Unable to allocate struct se_session from se_sess_cache\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @transport_init_session() local_unnamed_addr #0 { %1 = load i32, ptr @se_sess_cache, align 4, !tbaa !6 %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %3 = tail call ptr @kmem_cache_zalloc(i32 noundef %1, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %10 5: ; preds = %0 %6 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 %9 = tail call ptr @ERR_PTR(i32 noundef %8) #2 br label %22 10: ; preds = %0 %11 = getelementptr inbounds i8, ptr %3, i64 20 %12 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds i8, ptr %3, i64 16 %14 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds i8, ptr %3, i64 12 %16 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %15) #2 %17 = getelementptr inbounds i8, ptr %3, i64 8 %18 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %17) #2 %19 = getelementptr inbounds i8, ptr %3, i64 4 %20 = tail call i32 @spin_lock_init(ptr noundef nonnull %19) #2 %21 = tail call i32 @kref_init(ptr noundef nonnull %3) #2 br label %22 22: ; preds = %10, %5 %23 = phi ptr [ %3, %10 ], [ %9, %5 ] ret ptr %23 } declare ptr @kmem_cache_zalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @kref_init(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"}
fastsocket_kernel_drivers_target_extr_target_core_transport.c_transport_init_session
; ModuleID = 'AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_bus.c_ofw_clkbus_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_bus.c_ofw_clkbus_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @ofw_clkbus_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ofw_clkbus_attach(ptr noundef %0) #0 { %2 = tail call i64 @ofw_bus_get_node(ptr noundef %0) #2 %3 = tail call i32 @simplebus_init(ptr noundef %0, i64 noundef %2) #2 %4 = tail call i64 @OF_child(i64 noundef %2) #2 %5 = icmp sgt i64 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %1, %12 %7 = phi i64 [ %13, %12 ], [ %4, %1 ] %8 = tail call ptr @simplebus_add_device(ptr noundef %0, i64 noundef %7, i32 noundef 0, ptr noundef null, i32 noundef -1, ptr noundef null) #2 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %6 %11 = tail call i32 @device_probe_and_attach(ptr noundef nonnull %8) #2 br label %12 12: ; preds = %6, %10 %13 = tail call i64 @OF_peer(i64 noundef %7) #2 %14 = icmp sgt i64 %13, 0 br i1 %14, label %6, label %15, !llvm.loop !5 15: ; preds = %12, %1 %16 = tail call i32 @bus_generic_attach(ptr noundef %0) #2 ret i32 %16 } declare i64 @ofw_bus_get_node(ptr noundef) local_unnamed_addr #1 declare i32 @simplebus_init(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @OF_child(i64 noundef) local_unnamed_addr #1 declare ptr @simplebus_add_device(ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_probe_and_attach(ptr noundef) local_unnamed_addr #1 declare i64 @OF_peer(i64 noundef) local_unnamed_addr #1 declare i32 @bus_generic_attach(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"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_bus.c_ofw_clkbus_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/extres/clk/extr_clk_bus.c_ofw_clkbus_attach.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 @ofw_clkbus_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ofw_clkbus_attach(ptr noundef %0) #0 { %2 = tail call i64 @ofw_bus_get_node(ptr noundef %0) #2 %3 = tail call i32 @simplebus_init(ptr noundef %0, i64 noundef %2) #2 %4 = tail call i64 @OF_child(i64 noundef %2) #2 %5 = icmp sgt i64 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %1, %12 %7 = phi i64 [ %13, %12 ], [ %4, %1 ] %8 = tail call ptr @simplebus_add_device(ptr noundef %0, i64 noundef %7, i32 noundef 0, ptr noundef null, i32 noundef -1, ptr noundef null) #2 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %6 %11 = tail call i32 @device_probe_and_attach(ptr noundef nonnull %8) #2 br label %12 12: ; preds = %6, %10 %13 = tail call i64 @OF_peer(i64 noundef %7) #2 %14 = icmp sgt i64 %13, 0 br i1 %14, label %6, label %15, !llvm.loop !6 15: ; preds = %12, %1 %16 = tail call i32 @bus_generic_attach(ptr noundef %0) #2 ret i32 %16 } declare i64 @ofw_bus_get_node(ptr noundef) local_unnamed_addr #1 declare i32 @simplebus_init(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @OF_child(i64 noundef) local_unnamed_addr #1 declare ptr @simplebus_add_device(ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_probe_and_attach(ptr noundef) local_unnamed_addr #1 declare i64 @OF_peer(i64 noundef) local_unnamed_addr #1 declare i32 @bus_generic_attach(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"}
freebsd_sys_dev_extres_clk_extr_clk_bus.c_ofw_clkbus_attach
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/mach/extr_mach_msg.c_mach_voucher_deallocate.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/mach/extr_mach_msg.c_mach_voucher_deallocate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @mach_voucher_deallocate(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @mach_task_self() #2 %3 = tail call i32 @mach_port_deallocate(i32 noundef %2, i32 noundef %0) #2 ret i32 %3 } declare i32 @mach_port_deallocate(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mach_task_self(...) 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/darwin-xnu/libsyscall/mach/extr_mach_msg.c_mach_voucher_deallocate.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/mach/extr_mach_msg.c_mach_voucher_deallocate.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 @mach_voucher_deallocate(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @mach_task_self() #2 %3 = tail call i32 @mach_port_deallocate(i32 noundef %2, i32 noundef %0) #2 ret i32 %3 } declare i32 @mach_port_deallocate(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mach_task_self(...) 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)"}
darwin-xnu_libsyscall_mach_extr_mach_msg.c_mach_voucher_deallocate
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_get0_param.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_get0_param.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @SSL_get0_param(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_get0_param.c' source_filename = "AnghaBench/openssl/ssl/extr_ssl_lib.c_SSL_get0_param.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: read) uwtable(sync) define ptr @SSL_get0_param(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
openssl_ssl_extr_ssl_lib.c_SSL_get0_param
; ModuleID = 'AnghaBench/linux/drivers/media/platform/extr_via-camera.c_viacam_write_reg.c' source_filename = "AnghaBench/linux/drivers/media/platform/extr_via-camera.c_viacam_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @viacam_write_reg], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @viacam_write_reg(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = sext i32 %1 to i64 %6 = add nsw i64 %4, %5 %7 = tail call i32 @iowrite32(i32 noundef %2, i64 noundef %6) #2 ret void } declare i32 @iowrite32(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"via_camera", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/extr_via-camera.c_viacam_write_reg.c' source_filename = "AnghaBench/linux/drivers/media/platform/extr_via-camera.c_viacam_write_reg.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 @viacam_write_reg], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @viacam_write_reg(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = sext i32 %1 to i64 %6 = add nsw i64 %4, %5 %7 = tail call i32 @iowrite32(i32 noundef %2, i64 noundef %6) #2 ret void } declare i32 @iowrite32(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"via_camera", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_platform_extr_via-camera.c_viacam_write_reg
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_zs.c_recovery_delay.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_zs.c_recovery_delay.c" target datalayout = "e-m:e-p270:32:32-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 @recovery_delay], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @recovery_delay() #0 { %1 = tail call i32 @udelay(i32 noundef 2) #2 ret void } declare i32 @udelay(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/serial/extr_zs.c_recovery_delay.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_zs.c_recovery_delay.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 @recovery_delay], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @recovery_delay() #0 { %1 = tail call i32 @udelay(i32 noundef 2) #2 ret void } declare i32 @udelay(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_serial_extr_zs.c_recovery_delay
; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_clk-pll.c_clk_pll_recalc_rate.c' source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_clk-pll.c_clk_pll_recalc_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" %struct.clk_pll = type { i32, i64, i32, %struct.TYPE_2__, i32, i32, i32 } %struct.TYPE_2__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @clk_pll_recalc_rate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @clk_pll_recalc_rate(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = tail call ptr @to_clk_pll(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %8 = getelementptr inbounds %struct.clk_pll, ptr %7, i64 0, i32 3 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.clk_pll, ptr %7, i64 0, i32 6 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = call i32 @regmap_read(i32 noundef %9, i32 noundef %11, ptr noundef nonnull %3) #3 %13 = load i32, ptr %8, align 4, !tbaa !5 %14 = getelementptr inbounds %struct.clk_pll, ptr %7, i64 0, i32 5 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = call i32 @regmap_read(i32 noundef %13, i32 noundef %15, ptr noundef nonnull %4) #3 %17 = load i32, ptr %8, align 4, !tbaa !5 %18 = getelementptr inbounds %struct.clk_pll, ptr %7, i64 0, i32 4 %19 = load i32, ptr %18, align 8, !tbaa !14 %20 = call i32 @regmap_read(i32 noundef %17, i32 noundef %19, ptr noundef nonnull %5) #3 %21 = load i32, ptr %3, align 4, !tbaa !15 %22 = and i32 %21, 1023 store i32 %22, ptr %3, align 4, !tbaa !15 %23 = load i32, ptr %4, align 4, !tbaa !15 %24 = and i32 %23, 524287 store i32 %24, ptr %4, align 4, !tbaa !15 %25 = load i32, ptr %5, align 4, !tbaa !15 %26 = and i32 %25, 524287 store i32 %26, ptr %5, align 4, !tbaa !15 %27 = zext nneg i32 %22 to i64 %28 = mul i64 %27, %1 %29 = icmp eq i32 %26, 0 br i1 %29, label %36, label %30 30: ; preds = %2 %31 = trunc i64 %1 to i32 %32 = mul nsw i32 %24, %31 %33 = call i32 @do_div(i32 noundef %32, i32 noundef %26) #3 %34 = sext i32 %32 to i64 %35 = add i64 %28, %34 br label %36 36: ; preds = %30, %2 %37 = phi i64 [ %35, %30 ], [ %28, %2 ] %38 = getelementptr inbounds %struct.clk_pll, ptr %7, i64 0, i32 1 %39 = load i64, ptr %38, align 8, !tbaa !16 %40 = icmp eq i64 %39, 0 br i1 %40, label %57, label %41 41: ; preds = %36 %42 = load i32, ptr %8, align 4, !tbaa !5 %43 = getelementptr inbounds %struct.clk_pll, ptr %7, i64 0, i32 2 %44 = load i32, ptr %43, align 8, !tbaa !17 %45 = call i32 @regmap_read(i32 noundef %42, i32 noundef %44, ptr noundef nonnull %6) #3 %46 = load i32, ptr %7, align 8, !tbaa !18 %47 = load i32, ptr %6, align 4, !tbaa !15 %48 = ashr i32 %47, %46 store i32 %48, ptr %6, align 4, !tbaa !15 %49 = load i64, ptr %38, align 8, !tbaa !16 %50 = call i32 @BIT(i64 noundef %49) #3 %51 = add nsw i32 %50, -1 %52 = load i32, ptr %6, align 4, !tbaa !15 %53 = and i32 %52, %51 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = udiv i64 %37, %55 br label %57 57: ; preds = %41, %36 %58 = phi i64 [ %56, %41 ], [ %37, %36 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i64 %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 @to_clk_pll(ptr noundef) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @do_div(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BIT(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 20} !6 = !{!"clk_pll", !7, i64 0, !10, i64 8, !7, i64 16, !11, 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 = !{!"long", !8, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!6, !7, i64 32} !13 = !{!6, !7, i64 28} !14 = !{!6, !7, i64 24} !15 = !{!7, !7, i64 0} !16 = !{!6, !10, i64 8} !17 = !{!6, !7, i64 16} !18 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/clk/qcom/extr_clk-pll.c_clk_pll_recalc_rate.c' source_filename = "AnghaBench/linux/drivers/clk/qcom/extr_clk-pll.c_clk_pll_recalc_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_pll_recalc_rate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @clk_pll_recalc_rate(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = tail call ptr @to_clk_pll(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %8 = getelementptr inbounds i8, ptr %7, i64 20 %9 = load i32, ptr %8, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %7, i64 32 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = call i32 @regmap_read(i32 noundef %9, i32 noundef %11, ptr noundef nonnull %3) #3 %13 = load i32, ptr %8, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %7, i64 28 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = call i32 @regmap_read(i32 noundef %13, i32 noundef %15, ptr noundef nonnull %4) #3 %17 = load i32, ptr %8, align 4, !tbaa !6 %18 = getelementptr inbounds i8, ptr %7, i64 24 %19 = load i32, ptr %18, align 8, !tbaa !15 %20 = call i32 @regmap_read(i32 noundef %17, i32 noundef %19, ptr noundef nonnull %5) #3 %21 = load i32, ptr %3, align 4, !tbaa !16 %22 = and i32 %21, 1023 store i32 %22, ptr %3, align 4, !tbaa !16 %23 = load i32, ptr %4, align 4, !tbaa !16 %24 = and i32 %23, 524287 store i32 %24, ptr %4, align 4, !tbaa !16 %25 = load i32, ptr %5, align 4, !tbaa !16 %26 = and i32 %25, 524287 store i32 %26, ptr %5, align 4, !tbaa !16 %27 = zext nneg i32 %22 to i64 %28 = mul i64 %27, %1 %29 = icmp eq i32 %26, 0 br i1 %29, label %36, label %30 30: ; preds = %2 %31 = trunc i64 %1 to i32 %32 = mul nsw i32 %24, %31 %33 = call i32 @do_div(i32 noundef %32, i32 noundef %26) #3 %34 = sext i32 %32 to i64 %35 = add i64 %28, %34 br label %36 36: ; preds = %30, %2 %37 = phi i64 [ %35, %30 ], [ %28, %2 ] %38 = getelementptr inbounds i8, ptr %7, i64 8 %39 = load i64, ptr %38, align 8, !tbaa !17 %40 = icmp eq i64 %39, 0 br i1 %40, label %57, label %41 41: ; preds = %36 %42 = load i32, ptr %8, align 4, !tbaa !6 %43 = getelementptr inbounds i8, ptr %7, i64 16 %44 = load i32, ptr %43, align 8, !tbaa !18 %45 = call i32 @regmap_read(i32 noundef %42, i32 noundef %44, ptr noundef nonnull %6) #3 %46 = load i32, ptr %7, align 8, !tbaa !19 %47 = load i32, ptr %6, align 4, !tbaa !16 %48 = ashr i32 %47, %46 store i32 %48, ptr %6, align 4, !tbaa !16 %49 = load i64, ptr %38, align 8, !tbaa !17 %50 = call i32 @BIT(i64 noundef %49) #3 %51 = add nsw i32 %50, -1 %52 = load i32, ptr %6, align 4, !tbaa !16 %53 = and i32 %52, %51 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = udiv i64 %37, %55 br label %57 57: ; preds = %41, %36 %58 = phi i64 [ %56, %41 ], [ %37, %36 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i64 %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 @to_clk_pll(ptr noundef) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @do_div(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BIT(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 20} !7 = !{!"clk_pll", !8, i64 0, !11, i64 8, !8, i64 16, !12, 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 = !{!"long", !9, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!7, !8, i64 32} !14 = !{!7, !8, i64 28} !15 = !{!7, !8, i64 24} !16 = !{!8, !8, i64 0} !17 = !{!7, !11, i64 8} !18 = !{!7, !8, i64 16} !19 = !{!7, !8, i64 0}
linux_drivers_clk_qcom_extr_clk-pll.c_clk_pll_recalc_rate
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_nfsd_change_deleg_cb.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_nfsd_change_deleg_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @F_UNLCK = dso_local local_unnamed_addr global i32 0, align 4 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nfsd_change_deleg_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nfsd_change_deleg_cb(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @F_UNLCK, align 4, !tbaa !5 %4 = and i32 %3, %1 %5 = icmp eq i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @lease_modify(ptr noundef %0, i32 noundef %1) #2 br label %11 8: ; preds = %2 %9 = load i32, ptr @EAGAIN, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %11 11: ; preds = %8, %6 %12 = phi i32 [ %7, %6 ], [ %10, %8 ] ret i32 %12 } declare i32 @lease_modify(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/fs/nfsd/extr_nfs4state.c_nfsd_change_deleg_cb.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfsd/extr_nfs4state.c_nfsd_change_deleg_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @F_UNLCK = common local_unnamed_addr global i32 0, align 4 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nfsd_change_deleg_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nfsd_change_deleg_cb(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @F_UNLCK, align 4, !tbaa !6 %4 = and i32 %3, %1 %5 = icmp eq i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = tail call i32 @lease_modify(ptr noundef %0, i32 noundef %1) #2 br label %11 8: ; preds = %2 %9 = load i32, ptr @EAGAIN, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %11 11: ; preds = %8, %6 %12 = phi i32 [ %7, %6 ], [ %10, %8 ] ret i32 %12 } declare i32 @lease_modify(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_fs_nfsd_extr_nfs4state.c_nfsd_change_deleg_cb
; ModuleID = 'AnghaBench/redis/deps/jemalloc/test/unit/extr_emitter.c_emit_dict.c' source_filename = "AnghaBench/redis/deps/jemalloc/test/unit/extr_emitter.c_emit_dict.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"a string\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"This is the foo table:\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"abc\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"ABC\00", align 1 @emitter_type_bool = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [4 x i8] c"def\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"DEF\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"ghi\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"GHI\00", align 1 @emitter_type_int = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [10 x i8] c"note_key1\00", align 1 @emitter_type_string = dso_local local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [4 x i8] c"jkl\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"JKL\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"note_key2\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @emit_dict], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @emit_dict(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 1, ptr %3, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 123, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr @.str, ptr %5, align 8, !tbaa !9 %6 = tail call i32 @emitter_begin(ptr noundef %0) #3 %7 = tail call i32 @emitter_dict_begin(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #3 %8 = load i32, ptr @emitter_type_bool, align 4, !tbaa !5 %9 = call i32 @emitter_kv(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = load i32, ptr @emitter_type_bool, align 4, !tbaa !5 %11 = call i32 @emitter_kv(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, i32 noundef %10, ptr noundef nonnull %3) #3 %12 = load i32, ptr @emitter_type_int, align 4, !tbaa !5 %13 = load i32, ptr @emitter_type_string, align 4, !tbaa !5 %14 = call i32 (ptr, ptr, ptr, i32, ...) @emitter_kv_note(ptr noundef %0, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef %12, ptr noundef nonnull %4, ptr noundef nonnull @.str.9, i32 noundef %13, ptr noundef nonnull %5) #3 %15 = load i32, ptr @emitter_type_string, align 4, !tbaa !5 %16 = load i32, ptr @emitter_type_bool, align 4, !tbaa !5 %17 = call i32 (ptr, ptr, ptr, i32, ...) @emitter_kv_note(ptr noundef %0, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, i32 noundef %15, ptr noundef nonnull %5, ptr noundef nonnull @.str.12, i32 noundef %16, ptr noundef nonnull %2) #3 %18 = call i32 @emitter_dict_end(ptr noundef %0) #3 %19 = call i32 @emitter_end(ptr noundef %0) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, 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 @emitter_begin(ptr noundef) local_unnamed_addr #2 declare i32 @emitter_dict_begin(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @emitter_kv(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @emitter_kv_note(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @emitter_dict_end(ptr noundef) local_unnamed_addr #2 declare i32 @emitter_end(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/redis/deps/jemalloc/test/unit/extr_emitter.c_emit_dict.c' source_filename = "AnghaBench/redis/deps/jemalloc/test/unit/extr_emitter.c_emit_dict.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"a string\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"This is the foo table:\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"abc\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"ABC\00", align 1 @emitter_type_bool = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [4 x i8] c"def\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"DEF\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"ghi\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"GHI\00", align 1 @emitter_type_int = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [10 x i8] c"note_key1\00", align 1 @emitter_type_string = common local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [4 x i8] c"jkl\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"JKL\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"note_key2\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @emit_dict], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @emit_dict(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 1, ptr %3, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 123, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr @.str, ptr %5, align 8, !tbaa !10 %6 = tail call i32 @emitter_begin(ptr noundef %0) #3 %7 = tail call i32 @emitter_dict_begin(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #3 %8 = load i32, ptr @emitter_type_bool, align 4, !tbaa !6 %9 = call i32 @emitter_kv(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = load i32, ptr @emitter_type_bool, align 4, !tbaa !6 %11 = call i32 @emitter_kv(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, i32 noundef %10, ptr noundef nonnull %3) #3 %12 = load i32, ptr @emitter_type_int, align 4, !tbaa !6 %13 = load i32, ptr @emitter_type_string, align 4, !tbaa !6 %14 = call i32 (ptr, ptr, ptr, i32, ...) @emitter_kv_note(ptr noundef %0, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef %12, ptr noundef nonnull %4, ptr noundef nonnull @.str.9, i32 noundef %13, ptr noundef nonnull %5) #3 %15 = load i32, ptr @emitter_type_string, align 4, !tbaa !6 %16 = load i32, ptr @emitter_type_bool, align 4, !tbaa !6 %17 = call i32 (ptr, ptr, ptr, i32, ...) @emitter_kv_note(ptr noundef %0, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, i32 noundef %15, ptr noundef nonnull %5, ptr noundef nonnull @.str.12, i32 noundef %16, ptr noundef nonnull %2) #3 %18 = call i32 @emitter_dict_end(ptr noundef %0) #3 %19 = call i32 @emitter_end(ptr noundef %0) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, 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 @emitter_begin(ptr noundef) local_unnamed_addr #2 declare i32 @emitter_dict_begin(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @emitter_kv(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @emitter_kv_note(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @emitter_dict_end(ptr noundef) local_unnamed_addr #2 declare i32 @emitter_end(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}
redis_deps_jemalloc_test_unit_extr_emitter.c_emit_dict
; ModuleID = 'AnghaBench/vlc/test/src/input/extr_demux-run.c_vlc_demux_process_memory.c' source_filename = "AnghaBench/vlc/test/src/input/extr_demux-run.c_vlc_demux_process_memory.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @vlc_demux_process_memory(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @libvlc_create(ptr noundef %0) #2 %5 = icmp eq ptr %4, null br i1 %5, label %9, label %6 6: ; preds = %3 %7 = tail call i32 @libvlc_demux_process_memory(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 %8 = tail call i32 @libvlc_release(ptr noundef nonnull %4) #2 br label %9 9: ; preds = %3, %6 %10 = phi i32 [ %7, %6 ], [ -1, %3 ] ret i32 %10 } declare ptr @libvlc_create(ptr noundef) local_unnamed_addr #1 declare i32 @libvlc_demux_process_memory(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @libvlc_release(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/vlc/test/src/input/extr_demux-run.c_vlc_demux_process_memory.c' source_filename = "AnghaBench/vlc/test/src/input/extr_demux-run.c_vlc_demux_process_memory.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 @vlc_demux_process_memory(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @libvlc_create(ptr noundef %0) #2 %5 = icmp eq ptr %4, null br i1 %5, label %9, label %6 6: ; preds = %3 %7 = tail call i32 @libvlc_demux_process_memory(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 %8 = tail call i32 @libvlc_release(ptr noundef nonnull %4) #2 br label %9 9: ; preds = %3, %6 %10 = phi i32 [ %7, %6 ], [ -1, %3 ] ret i32 %10 } declare ptr @libvlc_create(ptr noundef) local_unnamed_addr #1 declare i32 @libvlc_demux_process_memory(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @libvlc_release(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)"}
vlc_test_src_input_extr_demux-run.c_vlc_demux_process_memory
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_set_freq.c' source_filename = "AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_set_freq.c" target datalayout = "e-m:e-p270:32:32-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.wl3501_card = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wl3501_set_freq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wl3501_set_freq(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, ptr nocapture readnone %3) #0 { %5 = tail call ptr @netdev_priv(ptr noundef %0) #2 %6 = load i32, ptr %2, align 4, !tbaa !5 %7 = load i32, ptr @EINVAL, align 4, !tbaa !8 %8 = sub nsw i32 0, %7 %9 = getelementptr inbounds %struct.wl3501_card, ptr %5, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = tail call i64 @iw_valid_channel(i32 noundef %10, i32 noundef %6) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %4 store i32 %6, ptr %5, align 4, !tbaa !12 %14 = tail call i32 @wl3501_reset(ptr noundef %0) #2 br label %15 15: ; preds = %13, %4 %16 = phi i32 [ %14, %13 ], [ %8, %4 ] ret i32 %16 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @iw_valid_channel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wl3501_reset(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = !{!11, !9, i64 4} !11 = !{!"wl3501_card", !9, i64 0, !9, i64 4} !12 = !{!11, !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_set_freq.c' source_filename = "AnghaBench/linux/drivers/net/wireless/extr_wl3501_cs.c_wl3501_set_freq.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 @wl3501_set_freq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wl3501_set_freq(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2, ptr nocapture readnone %3) #0 { %5 = tail call ptr @netdev_priv(ptr noundef %0) #2 %6 = load i32, ptr %2, align 4, !tbaa !6 %7 = load i32, ptr @EINVAL, align 4, !tbaa !9 %8 = sub nsw i32 0, %7 %9 = getelementptr inbounds i8, ptr %5, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = tail call i64 @iw_valid_channel(i32 noundef %10, i32 noundef %6) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %4 store i32 %6, ptr %5, align 4, !tbaa !13 %14 = tail call i32 @wl3501_reset(ptr noundef %0) #2 br label %15 15: ; preds = %13, %4 %16 = phi i32 [ %14, %13 ], [ %8, %4 ] ret i32 %16 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @iw_valid_channel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wl3501_reset(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 4} !12 = !{!"wl3501_card", !10, i64 0, !10, i64 4} !13 = !{!12, !10, i64 0}
linux_drivers_net_wireless_extr_wl3501_cs.c_wl3501_set_freq
; ModuleID = 'AnghaBench/freebsd/lib/libgpio/extr_gpio.c_gpio_pin_list.c' source_filename = "AnghaBench/freebsd/lib/libgpio/extr_gpio.c_gpio_pin_list.c" target datalayout = "e-m:e-p270:32:32-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 } @GPIOMAXPIN = dso_local local_unnamed_addr global i32 0, align 4 @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 @gpio_pin_list(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store ptr null, ptr %1, align 8, !tbaa !5 %4 = load i32, ptr @GPIOMAXPIN, align 4, !tbaa !9 %5 = call i64 @ioctl(i32 noundef %0, i32 noundef %4, ptr noundef nonnull %3) #3 %6 = icmp slt i64 %5, 0 br i1 %6, label %30, label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 4 %9 = icmp ugt i32 %8, 4096 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = load i32, ptr @EINVAL, align 4, !tbaa !9 store i32 %11, ptr @errno, align 4, !tbaa !9 br label %30 12: ; preds = %7 %13 = add nuw nsw i32 %8, 1 %14 = call ptr @calloc(i32 noundef %13, i32 noundef 4) #3 %15 = icmp eq ptr %14, null br i1 %15, label %30, label %16 16: ; preds = %12 %17 = load i32, ptr %3, align 4, !tbaa !9 %18 = icmp slt i32 %17, 0 br i1 %18, label %28, label %19 19: ; preds = %16, %19 %20 = phi i64 [ %24, %19 ], [ 0, %16 ] %21 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i64 %20 %22 = trunc i64 %20 to i32 store i32 %22, ptr %21, align 4, !tbaa !11 %23 = call i32 @gpio_pin_config(i32 noundef %0, ptr noundef nonnull %21) #3 %24 = add nuw nsw i64 %20, 1 %25 = load i32, ptr %3, align 4, !tbaa !9 %26 = sext i32 %25 to i64 %27 = icmp slt i64 %20, %26 br i1 %27, label %19, label %28, !llvm.loop !13 28: ; preds = %19, %16 %29 = phi i32 [ %17, %16 ], [ %25, %19 ] store ptr %14, ptr %1, align 8, !tbaa !5 br label %30 30: ; preds = %12, %2, %28, %10 %31 = phi i32 [ -1, %10 ], [ %29, %28 ], [ -1, %2 ], [ -1, %12 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gpio_pin_config(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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_5__", !10, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/lib/libgpio/extr_gpio.c_gpio_pin_list.c' source_filename = "AnghaBench/freebsd/lib/libgpio/extr_gpio.c_gpio_pin_list.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 { i32 } @GPIOMAXPIN = common local_unnamed_addr global i32 0, align 4 @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 @gpio_pin_list(i32 noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store ptr null, ptr %1, align 8, !tbaa !6 %4 = load i32, ptr @GPIOMAXPIN, align 4, !tbaa !10 %5 = call i64 @ioctl(i32 noundef %0, i32 noundef %4, ptr noundef nonnull %3) #3 %6 = icmp slt i64 %5, 0 br i1 %6, label %30, label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 4 %9 = icmp ugt i32 %8, 4096 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = load i32, ptr @EINVAL, align 4, !tbaa !10 store i32 %11, ptr @errno, align 4, !tbaa !10 br label %30 12: ; preds = %7 %13 = add nuw nsw i32 %8, 1 %14 = call ptr @calloc(i32 noundef %13, i32 noundef 4) #3 %15 = icmp eq ptr %14, null br i1 %15, label %30, label %16 16: ; preds = %12 %17 = load i32, ptr %3, align 4, !tbaa !10 %18 = icmp slt i32 %17, 0 br i1 %18, label %28, label %19 19: ; preds = %16, %19 %20 = phi i64 [ %24, %19 ], [ 0, %16 ] %21 = getelementptr inbounds %struct.TYPE_5__, ptr %14, i64 %20 %22 = trunc nuw nsw i64 %20 to i32 store i32 %22, ptr %21, align 4, !tbaa !12 %23 = call i32 @gpio_pin_config(i32 noundef %0, ptr noundef nonnull %21) #3 %24 = add nuw nsw i64 %20, 1 %25 = load i32, ptr %3, align 4, !tbaa !10 %26 = sext i32 %25 to i64 %27 = icmp slt i64 %20, %26 br i1 %27, label %19, label %28, !llvm.loop !14 28: ; preds = %19, %16 %29 = phi i32 [ %17, %16 ], [ %25, %19 ] store ptr %14, ptr %1, align 8, !tbaa !6 br label %30 30: ; preds = %12, %2, %28, %10 %31 = phi i32 [ -1, %10 ], [ %29, %28 ], [ -1, %2 ], [ -1, %12 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @calloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gpio_pin_config(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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_5__", !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_lib_libgpio_extr_gpio.c_gpio_pin_list
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_device.c_class_name.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_device.c_class_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @hfi1_class_name = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local ptr @class_name() local_unnamed_addr #0 { %1 = load ptr, ptr @hfi1_class_name, align 8, !tbaa !5 ret ptr %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_device.c_class_name.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_device.c_class_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @hfi1_class_name = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define ptr @class_name() local_unnamed_addr #0 { %1 = load ptr, ptr @hfi1_class_name, align 8, !tbaa !6 ret ptr %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_infiniband_hw_hfi1_extr_device.c_class_name
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc.c_bfa_diag_memclaim.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc.c_bfa_diag_memclaim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, i32 } @BFI_DIAG_DMA_BUF_SZ = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @bfa_diag_memclaim(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { store ptr %1, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 store i32 %2, ptr %4, align 8, !tbaa !12 %5 = load i32, ptr @BFI_DIAG_DMA_BUF_SZ, align 4, !tbaa !13 %6 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef %5) #2 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"bfa_diag_s", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc.c_bfa_diag_memclaim.c' source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_ioc.c_bfa_diag_memclaim.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BFI_DIAG_DMA_BUF_SZ = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @bfa_diag_memclaim(ptr nocapture noundef writeonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { store ptr %1, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %2, ptr %4, align 8, !tbaa !13 %5 = load i32, ptr @BFI_DIAG_DMA_BUF_SZ, align 4, !tbaa !14 %6 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef %5) #2 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"bfa_diag_s", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!12, !12, i64 0}
linux_drivers_scsi_bfa_extr_bfa_ioc.c_bfa_diag_memclaim
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_ir-jvc-decoder.c_ir_jvc_decode.c' source_filename = "AnghaBench/linux/drivers/media/rc/extr_ir-jvc-decoder.c_ir_jvc_decode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ir_raw_event = type { i32, i32, i64 } %struct.rc_dev = type { i32, ptr } %struct.jvc_dec = type { i32, i32, i32, i32, i32, i32 } @JVC_UNIT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"JVC decode started at state %d (%uus %s)\0A\00", align 1 @JVC_HEADER_PULSE = dso_local local_unnamed_addr global i32 0, align 4 @JVC_HEADER_SPACE = dso_local local_unnamed_addr global i32 0, align 4 @JVC_BIT_PULSE = dso_local local_unnamed_addr global i32 0, align 4 @JVC_BIT_1_SPACE = dso_local local_unnamed_addr global i32 0, align 4 @JVC_BIT_0_SPACE = dso_local local_unnamed_addr global i32 0, align 4 @JVC_NBITS = dso_local local_unnamed_addr global i32 0, align 4 @JVC_TRAILER_PULSE = dso_local local_unnamed_addr global i32 0, align 4 @JVC_TRAILER_SPACE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"JVC scancode 0x%04x\0A\00", align 1 @RC_PROTO_JVC = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"JVC repeat\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"JVC invalid repeat msg\0A\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"JVC decode failed at state %d (%uus %s)\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ir_jvc_decode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ir_jvc_decode(ptr noundef %0, i64 %1, i64 %2) #0 { %4 = alloca %struct.ir_raw_event, align 8 store i64 %1, ptr %4, align 8 %5 = getelementptr inbounds { i64, i64 }, ptr %4, i64 0, i32 1 store i64 %2, ptr %5, align 8 %6 = getelementptr inbounds %struct.rc_dev, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = tail call i32 @is_timing_event(i64 %1, i64 %2) #2 %9 = icmp eq i32 %8, 0 %10 = lshr i64 %1, 32 %11 = trunc i64 %10 to i32 %12 = trunc i64 %1 to i32 br i1 %9, label %13, label %16 13: ; preds = %3 %14 = icmp eq i64 %2, 0 br i1 %14, label %152, label %15 15: ; preds = %13 store i32 130, ptr %7, align 4, !tbaa !11 br label %152 16: ; preds = %3 %17 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %18 = sdiv i32 %17, 2 %19 = tail call i32 @geq_margin(i32 noundef %11, i32 noundef %17, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %145, label %21 21: ; preds = %16 %22 = load i32, ptr %7, align 4, !tbaa !11 %23 = tail call i32 @TO_US(i32 noundef %11) #2 %24 = tail call i32 @TO_STR(i32 noundef %12) #2 %25 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %22, i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr %7, align 4, !tbaa !11 %27 = icmp eq i32 %12, 0 br label %28 28: ; preds = %138, %21 %29 = phi i32 [ %144, %138 ], [ %26, %21 ] switch i32 %29, label %145 [ i32 130, label %30 i32 131, label %44 i32 134, label %52 i32 133, label %60 i32 129, label %89 i32 128, label %97 i32 132, label %137 ] 30: ; preds = %28 br i1 %27, label %145, label %31 31: ; preds = %30 %32 = load i32, ptr @JVC_HEADER_PULSE, align 4, !tbaa !13 %33 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %34 = sdiv i32 %33, 2 %35 = tail call i32 @eq_margin(i32 noundef %11, i32 noundef %32, i32 noundef %34) #2 %36 = icmp eq i32 %35, 0 br i1 %36, label %145, label %37 37: ; preds = %31 %38 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 5 store i32 0, ptr %38, align 4, !tbaa !14 %39 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 1 store i32 1, ptr %39, align 4, !tbaa !15 %40 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 2 %41 = load i32, ptr %40, align 4, !tbaa !16 %42 = icmp eq i32 %41, 0 %43 = zext i1 %42 to i32 store i32 %43, ptr %40, align 4, !tbaa !16 store i32 131, ptr %7, align 4, !tbaa !11 br label %152 44: ; preds = %28 br i1 %27, label %45, label %145 45: ; preds = %44 %46 = load i32, ptr @JVC_HEADER_SPACE, align 4, !tbaa !13 %47 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %48 = sdiv i32 %47, 2 %49 = tail call i32 @eq_margin(i32 noundef %11, i32 noundef %46, i32 noundef %48) #2 %50 = icmp eq i32 %49, 0 br i1 %50, label %145, label %51 51: ; preds = %45 store i32 134, ptr %7, align 4, !tbaa !11 br label %152 52: ; preds = %28 br i1 %27, label %145, label %53 53: ; preds = %52 %54 = load i32, ptr @JVC_BIT_PULSE, align 4, !tbaa !13 %55 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %56 = sdiv i32 %55, 2 %57 = tail call i32 @eq_margin(i32 noundef %11, i32 noundef %54, i32 noundef %56) #2 %58 = icmp eq i32 %57, 0 br i1 %58, label %145, label %59 59: ; preds = %53 store i32 133, ptr %7, align 4, !tbaa !11 br label %152 60: ; preds = %28 br i1 %27, label %61, label %145 61: ; preds = %60 %62 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 3 %63 = load i32, ptr %62, align 4, !tbaa !17 %64 = shl i32 %63, 1 store i32 %64, ptr %62, align 4, !tbaa !17 %65 = load i32, ptr @JVC_BIT_1_SPACE, align 4, !tbaa !13 %66 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %67 = sdiv i32 %66, 2 %68 = tail call i32 @eq_margin(i32 noundef %11, i32 noundef %65, i32 noundef %67) #2 %69 = icmp eq i32 %68, 0 br i1 %69, label %73, label %70 70: ; preds = %61 %71 = load i32, ptr %62, align 4, !tbaa !17 %72 = or i32 %71, 1 store i32 %72, ptr %62, align 4, !tbaa !17 br label %79 73: ; preds = %61 %74 = load i32, ptr @JVC_BIT_0_SPACE, align 4, !tbaa !13 %75 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %76 = sdiv i32 %75, 2 %77 = tail call i32 @eq_margin(i32 noundef %11, i32 noundef %74, i32 noundef %76) #2 %78 = icmp eq i32 %77, 0 br i1 %78, label %145, label %79 79: ; preds = %73, %70 %80 = phi ptr [ @JVC_BIT_1_SPACE, %70 ], [ @JVC_BIT_0_SPACE, %73 ] %81 = load i32, ptr %80, align 4, !tbaa !13 %82 = call i32 @decrease_duration(ptr noundef nonnull %4, i32 noundef %81) #2 %83 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 5 %84 = load i32, ptr %83, align 4, !tbaa !14 %85 = add nsw i32 %84, 1 store i32 %85, ptr %83, align 4, !tbaa !14 %86 = load i32, ptr @JVC_NBITS, align 4, !tbaa !13 %87 = icmp eq i32 %85, %86 %88 = select i1 %87, i32 129, i32 134 store i32 %88, ptr %7, align 4, !tbaa !11 br label %152 89: ; preds = %28 br i1 %27, label %145, label %90 90: ; preds = %89 %91 = load i32, ptr @JVC_TRAILER_PULSE, align 4, !tbaa !13 %92 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %93 = sdiv i32 %92, 2 %94 = tail call i32 @eq_margin(i32 noundef %11, i32 noundef %91, i32 noundef %93) #2 %95 = icmp eq i32 %94, 0 br i1 %95, label %145, label %96 96: ; preds = %90 store i32 128, ptr %7, align 4, !tbaa !11 br label %152 97: ; preds = %28 br i1 %27, label %98, label %145 98: ; preds = %97 %99 = load i32, ptr @JVC_TRAILER_SPACE, align 4, !tbaa !13 %100 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %101 = sdiv i32 %100, 2 %102 = tail call i32 @geq_margin(i32 noundef %11, i32 noundef %99, i32 noundef %101) #2 %103 = icmp eq i32 %102, 0 br i1 %103, label %145, label %104 104: ; preds = %98 %105 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 1 %106 = load i32, ptr %105, align 4, !tbaa !15 %107 = icmp eq i32 %106, 0 %108 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 3 %109 = load i32, ptr %108, align 4, !tbaa !17 br i1 %107, label %126, label %110 110: ; preds = %104 %111 = lshr i32 %109, 8 %112 = and i32 %111, 255 %113 = tail call i32 @bitrev8(i32 noundef %112) #2 %114 = shl i32 %113, 8 %115 = load i32, ptr %108, align 4, !tbaa !17 %116 = and i32 %115, 255 %117 = tail call i32 @bitrev8(i32 noundef %116) #2 %118 = or i32 %117, %114 %119 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %118) #2 %120 = load i32, ptr @RC_PROTO_JVC, align 4, !tbaa !13 %121 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 2 %122 = load i32, ptr %121, align 4, !tbaa !16 %123 = tail call i32 @rc_keydown(ptr noundef %0, i32 noundef %120, i32 noundef %118, i32 noundef %122) #2 store i32 0, ptr %105, align 4, !tbaa !15 %124 = load i32, ptr %108, align 4, !tbaa !17 %125 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 4 store i32 %124, ptr %125, align 4, !tbaa !18 br label %135 126: ; preds = %104 %127 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 4 %128 = load i32, ptr %127, align 4, !tbaa !18 %129 = icmp eq i32 %109, %128 br i1 %129, label %130, label %133 130: ; preds = %126 %131 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %132 = tail call i32 @rc_repeat(ptr noundef %0) #2 br label %135 133: ; preds = %126 %134 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.3) #2 br label %145 135: ; preds = %130, %110 %136 = getelementptr inbounds %struct.jvc_dec, ptr %7, i64 0, i32 5 store i32 0, ptr %136, align 4, !tbaa !14 store i32 132, ptr %7, align 4, !tbaa !11 br label %152 137: ; preds = %28 br i1 %27, label %145, label %138 138: ; preds = %137 %139 = load i32, ptr @JVC_HEADER_PULSE, align 4, !tbaa !13 %140 = load i32, ptr @JVC_UNIT, align 4, !tbaa !13 %141 = sdiv i32 %140, 2 %142 = tail call i32 @eq_margin(i32 noundef %11, i32 noundef %139, i32 noundef %141) #2 %143 = icmp eq i32 %142, 0 %144 = select i1 %143, i32 134, i32 130 store i32 %144, ptr %7, align 4, !tbaa !11 br label %28 145: ; preds = %28, %137, %133, %30, %31, %44, %45, %52, %53, %60, %73, %89, %90, %97, %98, %16 %146 = load i32, ptr %7, align 4, !tbaa !11 %147 = tail call i32 @TO_US(i32 noundef %11) #2 %148 = tail call i32 @TO_STR(i32 noundef %12) #2 %149 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %146, i32 noundef %147, i32 noundef %148) #2 store i32 130, ptr %7, align 4, !tbaa !11 %150 = load i32, ptr @EINVAL, align 4, !tbaa !13 %151 = sub nsw i32 0, %150 br label %152 152: ; preds = %13, %15, %145, %135, %96, %79, %59, %51, %37 %153 = phi i32 [ %151, %145 ], [ 0, %135 ], [ 0, %96 ], [ 0, %79 ], [ 0, %59 ], [ 0, %51 ], [ 0, %37 ], [ 0, %15 ], [ 0, %13 ] ret i32 %153 } declare i32 @is_timing_event(i64, i64) local_unnamed_addr #1 declare i32 @geq_margin(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @TO_US(i32 noundef) local_unnamed_addr #1 declare i32 @TO_STR(i32 noundef) local_unnamed_addr #1 declare i32 @eq_margin(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @decrease_duration(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bitrev8(i32 noundef) local_unnamed_addr #1 declare i32 @rc_keydown(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rc_repeat(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 = !{!"rc_dev", !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, !7, i64 0} !12 = !{!"jvc_dec", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !13 = !{!7, !7, i64 0} !14 = !{!12, !7, i64 20} !15 = !{!12, !7, i64 4} !16 = !{!12, !7, i64 8} !17 = !{!12, !7, i64 12} !18 = !{!12, !7, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/media/rc/extr_ir-jvc-decoder.c_ir_jvc_decode.c' source_filename = "AnghaBench/linux/drivers/media/rc/extr_ir-jvc-decoder.c_ir_jvc_decode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ir_raw_event = type { i32, i32, i64 } @JVC_UNIT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"JVC decode started at state %d (%uus %s)\0A\00", align 1 @JVC_HEADER_PULSE = common local_unnamed_addr global i32 0, align 4 @JVC_HEADER_SPACE = common local_unnamed_addr global i32 0, align 4 @JVC_BIT_PULSE = common local_unnamed_addr global i32 0, align 4 @JVC_BIT_1_SPACE = common local_unnamed_addr global i32 0, align 4 @JVC_BIT_0_SPACE = common local_unnamed_addr global i32 0, align 4 @JVC_NBITS = common local_unnamed_addr global i32 0, align 4 @JVC_TRAILER_PULSE = common local_unnamed_addr global i32 0, align 4 @JVC_TRAILER_SPACE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"JVC scancode 0x%04x\0A\00", align 1 @RC_PROTO_JVC = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"JVC repeat\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"JVC invalid repeat msg\0A\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"JVC decode failed at state %d (%uus %s)\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ir_jvc_decode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ir_jvc_decode(ptr noundef %0, [2 x i64] %1) #0 { %3 = alloca %struct.ir_raw_event, align 8 %4 = extractvalue [2 x i64] %1, 0 store i64 %4, ptr %3, align 8 %5 = extractvalue [2 x i64] %1, 1 %6 = getelementptr inbounds i8, ptr %3, i64 8 store i64 %5, ptr %6, align 8 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = tail call i32 @is_timing_event([2 x i64] %1) #2 %10 = icmp eq i32 %9, 0 %11 = lshr i64 %4, 32 %12 = trunc nuw i64 %11 to i32 %13 = trunc i64 %4 to i32 br i1 %10, label %14, label %17 14: ; preds = %2 %15 = icmp eq i64 %5, 0 br i1 %15, label %152, label %16 16: ; preds = %14 store i32 130, ptr %8, align 4, !tbaa !12 br label %152 17: ; preds = %2 %18 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %19 = sdiv i32 %18, 2 %20 = tail call i32 @geq_margin(i32 noundef %12, i32 noundef %18, i32 noundef %19) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %145, label %22 22: ; preds = %17 %23 = load i32, ptr %8, align 4, !tbaa !12 %24 = tail call i32 @TO_US(i32 noundef %12) #2 %25 = tail call i32 @TO_STR(i32 noundef %13) #2 %26 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %23, i32 noundef %24, i32 noundef %25) #2 %27 = load i32, ptr %8, align 4, !tbaa !12 %28 = icmp eq i32 %13, 0 br label %29 29: ; preds = %138, %22 %30 = phi i32 [ %144, %138 ], [ %27, %22 ] switch i32 %30, label %145 [ i32 130, label %31 i32 131, label %44 i32 134, label %52 i32 133, label %60 i32 129, label %89 i32 128, label %97 i32 132, label %137 ] 31: ; preds = %29 br i1 %28, label %145, label %32 32: ; preds = %31 %33 = load i32, ptr @JVC_HEADER_PULSE, align 4, !tbaa !14 %34 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %35 = sdiv i32 %34, 2 %36 = tail call i32 @eq_margin(i32 noundef %12, i32 noundef %33, i32 noundef %35) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %145, label %38 38: ; preds = %32 %39 = getelementptr inbounds i8, ptr %8, i64 20 store i32 0, ptr %39, align 4, !tbaa !15 %40 = getelementptr inbounds i8, ptr %8, i64 8 %41 = load i32, ptr %40, align 4, !tbaa !16 %42 = icmp eq i32 %41, 0 %43 = zext i1 %42 to i32 store i32 %43, ptr %40, align 4, !tbaa !16 store <2 x i32> <i32 131, i32 1>, ptr %8, align 4, !tbaa !14 br label %152 44: ; preds = %29 br i1 %28, label %45, label %145 45: ; preds = %44 %46 = load i32, ptr @JVC_HEADER_SPACE, align 4, !tbaa !14 %47 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %48 = sdiv i32 %47, 2 %49 = tail call i32 @eq_margin(i32 noundef %12, i32 noundef %46, i32 noundef %48) #2 %50 = icmp eq i32 %49, 0 br i1 %50, label %145, label %51 51: ; preds = %45 store i32 134, ptr %8, align 4, !tbaa !12 br label %152 52: ; preds = %29 br i1 %28, label %145, label %53 53: ; preds = %52 %54 = load i32, ptr @JVC_BIT_PULSE, align 4, !tbaa !14 %55 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %56 = sdiv i32 %55, 2 %57 = tail call i32 @eq_margin(i32 noundef %12, i32 noundef %54, i32 noundef %56) #2 %58 = icmp eq i32 %57, 0 br i1 %58, label %145, label %59 59: ; preds = %53 store i32 133, ptr %8, align 4, !tbaa !12 br label %152 60: ; preds = %29 br i1 %28, label %61, label %145 61: ; preds = %60 %62 = getelementptr inbounds i8, ptr %8, i64 12 %63 = load i32, ptr %62, align 4, !tbaa !17 %64 = shl i32 %63, 1 store i32 %64, ptr %62, align 4, !tbaa !17 %65 = load i32, ptr @JVC_BIT_1_SPACE, align 4, !tbaa !14 %66 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %67 = sdiv i32 %66, 2 %68 = tail call i32 @eq_margin(i32 noundef %12, i32 noundef %65, i32 noundef %67) #2 %69 = icmp eq i32 %68, 0 br i1 %69, label %73, label %70 70: ; preds = %61 %71 = load i32, ptr %62, align 4, !tbaa !17 %72 = or i32 %71, 1 store i32 %72, ptr %62, align 4, !tbaa !17 br label %79 73: ; preds = %61 %74 = load i32, ptr @JVC_BIT_0_SPACE, align 4, !tbaa !14 %75 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %76 = sdiv i32 %75, 2 %77 = tail call i32 @eq_margin(i32 noundef %12, i32 noundef %74, i32 noundef %76) #2 %78 = icmp eq i32 %77, 0 br i1 %78, label %145, label %79 79: ; preds = %73, %70 %80 = phi ptr [ @JVC_BIT_1_SPACE, %70 ], [ @JVC_BIT_0_SPACE, %73 ] %81 = load i32, ptr %80, align 4, !tbaa !14 %82 = call i32 @decrease_duration(ptr noundef nonnull %3, i32 noundef %81) #2 %83 = getelementptr inbounds i8, ptr %8, i64 20 %84 = load i32, ptr %83, align 4, !tbaa !15 %85 = add nsw i32 %84, 1 store i32 %85, ptr %83, align 4, !tbaa !15 %86 = load i32, ptr @JVC_NBITS, align 4, !tbaa !14 %87 = icmp eq i32 %85, %86 %88 = select i1 %87, i32 129, i32 134 store i32 %88, ptr %8, align 4, !tbaa !12 br label %152 89: ; preds = %29 br i1 %28, label %145, label %90 90: ; preds = %89 %91 = load i32, ptr @JVC_TRAILER_PULSE, align 4, !tbaa !14 %92 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %93 = sdiv i32 %92, 2 %94 = tail call i32 @eq_margin(i32 noundef %12, i32 noundef %91, i32 noundef %93) #2 %95 = icmp eq i32 %94, 0 br i1 %95, label %145, label %96 96: ; preds = %90 store i32 128, ptr %8, align 4, !tbaa !12 br label %152 97: ; preds = %29 br i1 %28, label %98, label %145 98: ; preds = %97 %99 = load i32, ptr @JVC_TRAILER_SPACE, align 4, !tbaa !14 %100 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %101 = sdiv i32 %100, 2 %102 = tail call i32 @geq_margin(i32 noundef %12, i32 noundef %99, i32 noundef %101) #2 %103 = icmp eq i32 %102, 0 br i1 %103, label %145, label %104 104: ; preds = %98 %105 = getelementptr inbounds i8, ptr %8, i64 4 %106 = load i32, ptr %105, align 4, !tbaa !18 %107 = icmp eq i32 %106, 0 %108 = getelementptr inbounds i8, ptr %8, i64 12 %109 = load i32, ptr %108, align 4, !tbaa !17 br i1 %107, label %126, label %110 110: ; preds = %104 %111 = lshr i32 %109, 8 %112 = and i32 %111, 255 %113 = tail call i32 @bitrev8(i32 noundef %112) #2 %114 = shl i32 %113, 8 %115 = load i32, ptr %108, align 4, !tbaa !17 %116 = and i32 %115, 255 %117 = tail call i32 @bitrev8(i32 noundef %116) #2 %118 = or i32 %117, %114 %119 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %118) #2 %120 = load i32, ptr @RC_PROTO_JVC, align 4, !tbaa !14 %121 = getelementptr inbounds i8, ptr %8, i64 8 %122 = load i32, ptr %121, align 4, !tbaa !16 %123 = tail call i32 @rc_keydown(ptr noundef %0, i32 noundef %120, i32 noundef %118, i32 noundef %122) #2 store i32 0, ptr %105, align 4, !tbaa !18 %124 = load i32, ptr %108, align 4, !tbaa !17 %125 = getelementptr inbounds i8, ptr %8, i64 16 store i32 %124, ptr %125, align 4, !tbaa !19 br label %135 126: ; preds = %104 %127 = getelementptr inbounds i8, ptr %8, i64 16 %128 = load i32, ptr %127, align 4, !tbaa !19 %129 = icmp eq i32 %109, %128 br i1 %129, label %130, label %133 130: ; preds = %126 %131 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %132 = tail call i32 @rc_repeat(ptr noundef %0) #2 br label %135 133: ; preds = %126 %134 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.3) #2 br label %145 135: ; preds = %130, %110 %136 = getelementptr inbounds i8, ptr %8, i64 20 store i32 0, ptr %136, align 4, !tbaa !15 store i32 132, ptr %8, align 4, !tbaa !12 br label %152 137: ; preds = %29 br i1 %28, label %145, label %138 138: ; preds = %137 %139 = load i32, ptr @JVC_HEADER_PULSE, align 4, !tbaa !14 %140 = load i32, ptr @JVC_UNIT, align 4, !tbaa !14 %141 = sdiv i32 %140, 2 %142 = tail call i32 @eq_margin(i32 noundef %12, i32 noundef %139, i32 noundef %141) #2 %143 = icmp eq i32 %142, 0 %144 = select i1 %143, i32 134, i32 130 store i32 %144, ptr %8, align 4, !tbaa !12 br label %29 145: ; preds = %29, %137, %133, %31, %32, %44, %45, %52, %53, %60, %73, %89, %90, %97, %98, %17 %146 = load i32, ptr %8, align 4, !tbaa !12 %147 = tail call i32 @TO_US(i32 noundef %12) #2 %148 = tail call i32 @TO_STR(i32 noundef %13) #2 %149 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %146, i32 noundef %147, i32 noundef %148) #2 store i32 130, ptr %8, align 4, !tbaa !12 %150 = load i32, ptr @EINVAL, align 4, !tbaa !14 %151 = sub nsw i32 0, %150 br label %152 152: ; preds = %14, %16, %145, %135, %96, %79, %59, %51, %38 %153 = phi i32 [ %151, %145 ], [ 0, %135 ], [ 0, %96 ], [ 0, %79 ], [ 0, %59 ], [ 0, %51 ], [ 0, %38 ], [ 0, %16 ], [ 0, %14 ] ret i32 %153 } declare i32 @is_timing_event([2 x i64]) local_unnamed_addr #1 declare i32 @geq_margin(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @TO_US(i32 noundef) local_unnamed_addr #1 declare i32 @TO_STR(i32 noundef) local_unnamed_addr #1 declare i32 @eq_margin(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @decrease_duration(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bitrev8(i32 noundef) local_unnamed_addr #1 declare i32 @rc_keydown(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rc_repeat(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 = !{!"rc_dev", !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, !8, i64 0} !13 = !{!"jvc_dec", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !14 = !{!8, !8, i64 0} !15 = !{!13, !8, i64 20} !16 = !{!13, !8, i64 8} !17 = !{!13, !8, i64 12} !18 = !{!13, !8, i64 4} !19 = !{!13, !8, i64 16}
linux_drivers_media_rc_extr_ir-jvc-decoder.c_ir_jvc_decode
; ModuleID = 'AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_irq_disable.c' source_filename = "AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_irq_disable.c" target datalayout = "e-m:e-p270:32:32-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 { i16, i16 } @CHA = dso_local local_unnamed_addr global i8 0, align 1 @IMR = dso_local local_unnamed_addr global i64 0, align 8 @CHB = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @irq_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @irq_disable(ptr noundef %0, i8 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = load i8, ptr @CHA, align 1, !tbaa !5 %5 = icmp eq i8 %4, %1 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = load i16, ptr %0, align 2, !tbaa !8 %8 = or i16 %7, %2 store i16 %8, ptr %0, align 2, !tbaa !8 %9 = zext i8 %1 to i64 %10 = load i64, ptr @IMR, align 8, !tbaa !11 %11 = add nsw i64 %10, %9 %12 = tail call i32 @write_reg16(ptr noundef nonnull %0, i64 noundef %11, i16 noundef zeroext %8) #2 br label %21 13: ; preds = %3 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %15 = load i16, ptr %14, align 2, !tbaa !13 %16 = or i16 %15, %2 store i16 %16, ptr %14, align 2, !tbaa !13 %17 = load i64, ptr @CHB, align 8, !tbaa !11 %18 = load i64, ptr @IMR, align 8, !tbaa !11 %19 = add nsw i64 %18, %17 %20 = tail call i32 @write_reg16(ptr noundef %0, i64 noundef %19, i16 noundef zeroext %16) #2 br label %21 21: ; preds = %13, %6 ret void } declare i32 @write_reg16(ptr noundef, i64 noundef, i16 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, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !10, i64 0} !9 = !{!"TYPE_4__", !10, i64 0, !10, i64 2} !10 = !{!"short", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !6, i64 0} !13 = !{!9, !10, i64 2}
; ModuleID = 'AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_irq_disable.c' source_filename = "AnghaBench/linux/drivers/char/pcmcia/extr_synclink_cs.c_irq_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CHA = common local_unnamed_addr global i8 0, align 1 @IMR = common local_unnamed_addr global i64 0, align 8 @CHB = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @irq_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @irq_disable(ptr noundef %0, i8 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = load i8, ptr @CHA, align 1, !tbaa !6 %5 = icmp eq i8 %4, %1 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = load i16, ptr %0, align 2, !tbaa !9 %8 = or i16 %7, %2 store i16 %8, ptr %0, align 2, !tbaa !9 %9 = load i8, ptr @CHA, align 1, !tbaa !6 %10 = zext i8 %9 to i64 %11 = load i64, ptr @IMR, align 8, !tbaa !12 %12 = add nsw i64 %11, %10 %13 = tail call i32 @write_reg16(ptr noundef nonnull %0, i64 noundef %12, i16 noundef zeroext %8) #2 br label %22 14: ; preds = %3 %15 = getelementptr inbounds i8, ptr %0, i64 2 %16 = load i16, ptr %15, align 2, !tbaa !14 %17 = or i16 %16, %2 store i16 %17, ptr %15, align 2, !tbaa !14 %18 = load i64, ptr @CHB, align 8, !tbaa !12 %19 = load i64, ptr @IMR, align 8, !tbaa !12 %20 = add nsw i64 %19, %18 %21 = tail call i32 @write_reg16(ptr noundef %0, i64 noundef %20, i16 noundef zeroext %17) #2 br label %22 22: ; preds = %14, %6 ret void } declare i32 @write_reg16(ptr noundef, i64 noundef, i16 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, !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, !11, i64 2} !11 = !{!"short", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!10, !11, i64 2}
linux_drivers_char_pcmcia_extr_synclink_cs.c_irq_disable
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_call_micmute_led_update.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_call_micmute_led_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.TYPE_2__ = type { i32, i32, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @call_micmute_led_update], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @call_micmute_led_update(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 8, !tbaa !10 switch i32 %3, label %9 [ i32 128, label %13 i32 129, label %4 i32 131, label %5 ] 4: ; preds = %1 br label %13 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 3 %7 = load i32, ptr %6, align 8, !tbaa !14 %8 = icmp ne i32 %7, 0 br label %13 9: ; preds = %1 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 3 %11 = load i32, ptr %10, align 8, !tbaa !14 %12 = icmp eq i32 %11, 0 br label %13 13: ; preds = %1, %9, %5, %4 %14 = phi i1 [ %12, %9 ], [ %8, %5 ], [ false, %4 ], [ true, %1 ] %15 = zext i1 %14 to i32 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = icmp eq i32 %17, %15 br i1 %18, label %25, label %19 19: ; preds = %13 store i32 %15, ptr %16, align 4, !tbaa !15 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %2, i64 0, i32 2 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = icmp eq ptr %21, null br i1 %22, label %25, label %23 23: ; preds = %19 %24 = tail call i32 %21(ptr noundef nonnull %0) #1 br label %25 25: ; preds = %19, %23, %13 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, !7, i64 0} !6 = !{!"hda_codec", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"hda_gen_spec", !12, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !13, i64 4, !7, i64 8, !13, i64 16} !13 = !{!"int", !8, i64 0} !14 = !{!11, !13, i64 16} !15 = !{!11, !13, i64 4} !16 = !{!11, !7, i64 8}
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_call_micmute_led_update.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_call_micmute_led_update.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 @call_micmute_led_update], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @call_micmute_led_update(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 8, !tbaa !11 switch i32 %3, label %9 [ i32 128, label %13 i32 129, label %4 i32 131, label %5 ] 4: ; preds = %1 br label %13 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %2, i64 16 %7 = load i32, ptr %6, align 8, !tbaa !15 %8 = icmp ne i32 %7, 0 br label %13 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %2, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !15 %12 = icmp eq i32 %11, 0 br label %13 13: ; preds = %1, %9, %5, %4 %14 = phi i1 [ %12, %9 ], [ %8, %5 ], [ false, %4 ], [ true, %1 ] %15 = zext i1 %14 to i32 %16 = getelementptr inbounds i8, ptr %2, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = icmp eq i32 %17, %15 br i1 %18, label %25, label %19 19: ; preds = %13 store i32 %15, ptr %16, align 4, !tbaa !16 %20 = getelementptr inbounds i8, ptr %2, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !17 %22 = icmp eq ptr %21, null br i1 %22, label %25, label %23 23: ; preds = %19 %24 = tail call i32 %21(ptr noundef nonnull %0) #1 br label %25 25: ; preds = %19, %23, %13 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, !8, i64 0} !7 = !{!"hda_codec", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 0} !12 = !{!"hda_gen_spec", !13, i64 0} !13 = !{!"TYPE_2__", !14, i64 0, !14, i64 4, !8, i64 8, !14, i64 16} !14 = !{!"int", !9, i64 0} !15 = !{!12, !14, i64 16} !16 = !{!12, !14, i64 4} !17 = !{!12, !8, i64 8}
linux_sound_pci_hda_extr_hda_generic.c_call_micmute_led_update
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_args.c_ngx_http_lua_ngx_req_get_uri_args.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_args.c_ngx_http_lua_ngx_req_get_uri_args.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i64, i32 } @.str = private unnamed_addr constant [39 x i8] c"expecting 0 or 1 arguments but seen %d\00", align 1 @NGX_HTTP_LUA_MAX_ARGS = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"no request object found\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"no memory\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_lua_ngx_req_get_uri_args], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ngx_http_lua_ngx_req_get_uri_args(ptr noundef %0) #0 { %2 = tail call i32 @lua_gettop(ptr noundef %0) #2 %3 = icmp ugt i32 %2, 1 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2 br label %43 6: ; preds = %1 %7 = icmp eq i32 %2, 1 br i1 %7, label %8, label %11 8: ; preds = %6 %9 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 1) #2 %10 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 1) #2 br label %13 11: ; preds = %6 %12 = load i32, ptr @NGX_HTTP_LUA_MAX_ARGS, align 4, !tbaa !5 br label %13 13: ; preds = %11, %8 %14 = phi i32 [ %9, %8 ], [ %12, %11 ] %15 = tail call ptr @ngx_http_lua_get_req(ptr noundef %0) #2 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %13 %18 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %43 19: ; preds = %13 %20 = tail call i32 @ngx_http_lua_check_fake_request(ptr noundef %0, ptr noundef nonnull %15) #2 %21 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 0, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !9 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = tail call i32 @lua_createtable(ptr noundef %0, i32 noundef 0, i32 noundef 0) #2 br label %43 26: ; preds = %19 %27 = load i32, ptr %15, align 8, !tbaa !13 %28 = tail call ptr @ngx_palloc(i32 noundef %27, i64 noundef %22) #2 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %26 %31 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.2) #2 br label %43 32: ; preds = %26 %33 = tail call i32 @lua_createtable(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2 %34 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 0, i32 1, i32 1 %35 = load i32, ptr %34, align 8, !tbaa !14 %36 = load i64, ptr %21, align 8, !tbaa !9 %37 = tail call i32 @ngx_memcpy(ptr noundef nonnull %28, i32 noundef %35, i64 noundef %36) #2 %38 = load i64, ptr %21, align 8, !tbaa !9 %39 = getelementptr inbounds i32, ptr %28, i64 %38 %40 = tail call i32 @ngx_http_lua_parse_args(ptr noundef %0, ptr noundef nonnull %28, ptr noundef nonnull %39, i32 noundef %14) #2 %41 = load i32, ptr %15, align 8, !tbaa !13 %42 = tail call i32 @ngx_pfree(i32 noundef %41, ptr noundef nonnull %28) #2 br label %43 43: ; preds = %32, %30, %24, %17, %4 %44 = phi i32 [ %5, %4 ], [ %18, %17 ], [ 1, %24 ], [ %31, %30 ], [ %40, %32 ] ret i32 %44 } declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1 declare i32 @luaL_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @luaL_checkinteger(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_http_lua_get_req(ptr noundef) local_unnamed_addr #1 declare i32 @ngx_http_lua_check_fake_request(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_palloc(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ngx_memcpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ngx_http_lua_parse_args(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_pfree(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 8} !10 = !{!"TYPE_6__", !6, i64 0, !11, i64 8} !11 = !{!"TYPE_5__", !12, i64 0, !6, i64 8} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 0} !14 = !{!10, !6, i64 16}
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_args.c_ngx_http_lua_ngx_req_get_uri_args.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_args.c_ngx_http_lua_ngx_req_get_uri_args.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 [39 x i8] c"expecting 0 or 1 arguments but seen %d\00", align 1 @NGX_HTTP_LUA_MAX_ARGS = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"no request object found\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"no memory\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ngx_http_lua_ngx_req_get_uri_args], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ngx_http_lua_ngx_req_get_uri_args(ptr noundef %0) #0 { %2 = tail call i32 @lua_gettop(ptr noundef %0) #2 %3 = icmp ugt i32 %2, 1 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %2) #2 br label %43 6: ; preds = %1 %7 = icmp eq i32 %2, 1 br i1 %7, label %8, label %11 8: ; preds = %6 %9 = tail call i32 @luaL_checkinteger(ptr noundef %0, i32 noundef 1) #2 %10 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 1) #2 br label %13 11: ; preds = %6 %12 = load i32, ptr @NGX_HTTP_LUA_MAX_ARGS, align 4, !tbaa !6 br label %13 13: ; preds = %11, %8 %14 = phi i32 [ %9, %8 ], [ %12, %11 ] %15 = tail call ptr @ngx_http_lua_get_req(ptr noundef %0) #2 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %13 %18 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %43 19: ; preds = %13 %20 = tail call i32 @ngx_http_lua_check_fake_request(ptr noundef %0, ptr noundef nonnull %15) #2 %21 = getelementptr inbounds i8, ptr %15, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !10 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %19 %25 = tail call i32 @lua_createtable(ptr noundef %0, i32 noundef 0, i32 noundef 0) #2 br label %43 26: ; preds = %19 %27 = load i32, ptr %15, align 8, !tbaa !14 %28 = tail call ptr @ngx_palloc(i32 noundef %27, i64 noundef %22) #2 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %26 %31 = tail call i32 (ptr, ptr, ...) @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.2) #2 br label %43 32: ; preds = %26 %33 = tail call i32 @lua_createtable(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2 %34 = getelementptr inbounds i8, ptr %15, i64 16 %35 = load i32, ptr %34, align 8, !tbaa !15 %36 = load i64, ptr %21, align 8, !tbaa !10 %37 = tail call i32 @ngx_memcpy(ptr noundef nonnull %28, i32 noundef %35, i64 noundef %36) #2 %38 = load i64, ptr %21, align 8, !tbaa !10 %39 = getelementptr inbounds i32, ptr %28, i64 %38 %40 = tail call i32 @ngx_http_lua_parse_args(ptr noundef %0, ptr noundef nonnull %28, ptr noundef nonnull %39, i32 noundef %14) #2 %41 = load i32, ptr %15, align 8, !tbaa !14 %42 = tail call i32 @ngx_pfree(i32 noundef %41, ptr noundef nonnull %28) #2 br label %43 43: ; preds = %32, %30, %24, %17, %4 %44 = phi i32 [ %5, %4 ], [ %18, %17 ], [ 1, %24 ], [ %31, %30 ], [ %40, %32 ] ret i32 %44 } declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1 declare i32 @luaL_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @luaL_checkinteger(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_http_lua_get_req(ptr noundef) local_unnamed_addr #1 declare i32 @ngx_http_lua_check_fake_request(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_palloc(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ngx_memcpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ngx_http_lua_parse_args(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_pfree(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"TYPE_6__", !7, i64 0, !12, i64 8} !12 = !{!"TYPE_5__", !13, i64 0, !7, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 0} !15 = !{!11, !7, i64 16}
tengine_modules_ngx_http_lua_module_src_extr_ngx_http_lua_args.c_ngx_http_lua_ngx_req_get_uri_args
; ModuleID = 'AnghaBench/postgres/src/backend/catalog/extr_namespace.c_CollationIsVisible.c' source_filename = "AnghaBench/postgres/src/backend/catalog/extr_namespace.c_CollationIsVisible.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i32 } @COLLOID = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"cache lookup failed for collation %u\00", align 1 @PG_CATALOG_NAMESPACE = dso_local local_unnamed_addr global i64 0, align 8 @activeSearchPath = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @CollationIsVisible(i64 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @COLLOID, align 4, !tbaa !5 %3 = tail call i32 @ObjectIdGetDatum(i64 noundef %0) #2 %4 = tail call i32 @SearchSysCache1(i32 noundef %2, i32 noundef %3) #2 %5 = tail call i32 @HeapTupleIsValid(i32 noundef %4) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr @ERROR, align 4, !tbaa !5 %9 = tail call i32 @elog(i32 noundef %8, ptr noundef nonnull @.str, i64 noundef %0) #2 br label %10 10: ; preds = %7, %1 %11 = tail call i64 @GETSTRUCT(i32 noundef %4) #2 %12 = inttoptr i64 %11 to ptr %13 = tail call i32 (...) @recomputeNamespacePath() #2 %14 = load i64, ptr %12, align 8, !tbaa !9 %15 = load i64, ptr @PG_CATALOG_NAMESPACE, align 8, !tbaa !12 %16 = icmp eq i64 %14, %15 br i1 %16, label %21, label %17 17: ; preds = %10 %18 = load i32, ptr @activeSearchPath, align 4, !tbaa !5 %19 = tail call i32 @list_member_oid(i32 noundef %18, i64 noundef %14) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %28, label %21 21: ; preds = %17, %10 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 0, i32 1 %23 = load i32, ptr %22, align 8, !tbaa !13 %24 = tail call ptr @NameStr(i32 noundef %23) #2 %25 = tail call i64 @CollationGetCollid(ptr noundef %24) #2 %26 = icmp eq i64 %25, %0 %27 = zext i1 %26 to i32 br label %28 28: ; preds = %17, %21 %29 = phi i32 [ %27, %21 ], [ 0, %17 ] %30 = tail call i32 @ReleaseSysCache(i32 noundef %4) #2 ret i32 %29 } declare i32 @SearchSysCache1(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ObjectIdGetDatum(i64 noundef) local_unnamed_addr #1 declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @GETSTRUCT(i32 noundef) local_unnamed_addr #1 declare i32 @recomputeNamespacePath(...) local_unnamed_addr #1 declare i32 @list_member_oid(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @NameStr(i32 noundef) local_unnamed_addr #1 declare i64 @CollationGetCollid(ptr noundef) local_unnamed_addr #1 declare i32 @ReleaseSysCache(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 = !{!"TYPE_2__", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/postgres/src/backend/catalog/extr_namespace.c_CollationIsVisible.c' source_filename = "AnghaBench/postgres/src/backend/catalog/extr_namespace.c_CollationIsVisible.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @COLLOID = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"cache lookup failed for collation %u\00", align 1 @PG_CATALOG_NAMESPACE = common local_unnamed_addr global i64 0, align 8 @activeSearchPath = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @CollationIsVisible(i64 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @COLLOID, align 4, !tbaa !6 %3 = tail call i32 @ObjectIdGetDatum(i64 noundef %0) #2 %4 = tail call i32 @SearchSysCache1(i32 noundef %2, i32 noundef %3) #2 %5 = tail call i32 @HeapTupleIsValid(i32 noundef %4) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr @ERROR, align 4, !tbaa !6 %9 = tail call i32 @elog(i32 noundef %8, ptr noundef nonnull @.str, i64 noundef %0) #2 br label %10 10: ; preds = %7, %1 %11 = tail call i64 @GETSTRUCT(i32 noundef %4) #2 %12 = inttoptr i64 %11 to ptr %13 = tail call i32 @recomputeNamespacePath() #2 %14 = load i64, ptr %12, align 8, !tbaa !10 %15 = load i64, ptr @PG_CATALOG_NAMESPACE, align 8, !tbaa !13 %16 = icmp eq i64 %14, %15 br i1 %16, label %21, label %17 17: ; preds = %10 %18 = load i32, ptr @activeSearchPath, align 4, !tbaa !6 %19 = tail call i32 @list_member_oid(i32 noundef %18, i64 noundef %14) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %28, label %21 21: ; preds = %17, %10 %22 = getelementptr inbounds i8, ptr %12, i64 8 %23 = load i32, ptr %22, align 8, !tbaa !14 %24 = tail call ptr @NameStr(i32 noundef %23) #2 %25 = tail call i64 @CollationGetCollid(ptr noundef %24) #2 %26 = icmp eq i64 %25, %0 %27 = zext i1 %26 to i32 br label %28 28: ; preds = %17, %21 %29 = phi i32 [ %27, %21 ], [ 0, %17 ] %30 = tail call i32 @ReleaseSysCache(i32 noundef %4) #2 ret i32 %29 } declare i32 @SearchSysCache1(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ObjectIdGetDatum(i64 noundef) local_unnamed_addr #1 declare i32 @HeapTupleIsValid(i32 noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @GETSTRUCT(i32 noundef) local_unnamed_addr #1 declare i32 @recomputeNamespacePath(...) local_unnamed_addr #1 declare i32 @list_member_oid(i32 noundef, i64 noundef) local_unnamed_addr #1 declare ptr @NameStr(i32 noundef) local_unnamed_addr #1 declare i64 @CollationGetCollid(ptr noundef) local_unnamed_addr #1 declare i32 @ReleaseSysCache(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 = !{!"TYPE_2__", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 8}
postgres_src_backend_catalog_extr_namespace.c_CollationIsVisible
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-pcie.c_cvmx_pcie_config_write8.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-pcie.c_cvmx_pcie_config_write8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @cvmx_pcie_config_write8(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = tail call i64 @__cvmx_pcie_build_config_addr(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %6 %10 = tail call i32 @cvmx_write64_uint8(i64 noundef %7, i32 noundef %5) #2 br label %11 11: ; preds = %9, %6 ret void } declare i64 @__cvmx_pcie_build_config_addr(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cvmx_write64_uint8(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-pcie.c_cvmx_pcie_config_write8.c' source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-pcie.c_cvmx_pcie_config_write8.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 @cvmx_pcie_config_write8(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = tail call i64 @__cvmx_pcie_build_config_addr(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %11, label %9 9: ; preds = %6 %10 = tail call i32 @cvmx_write64_uint8(i64 noundef %7, i32 noundef %5) #2 br label %11 11: ; preds = %9, %6 ret void } declare i64 @__cvmx_pcie_build_config_addr(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cvmx_write64_uint8(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_contrib_octeon-sdk_extr_cvmx-pcie.c_cvmx_pcie_config_write8