IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/systemd/src/core/extr_scope.c_scope_dump.c' source_filename = "AnghaBench/systemd/src/core/extr_scope.c_scope_dump.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { i32, i32, i32, i32 } @FORMAT_TIMESPAN_MAX = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"%sScope State: %s\0A%sResult: %s\0A%sRuntimeMaxSec: %s\0A\00", align 1 @USEC_PER_SEC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @scope_dump], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @scope_dump(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @SCOPE(ptr noundef %0) #2 %5 = load i32, ptr @FORMAT_TIMESPAN_MAX, align 4, !tbaa !5 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 16 %8 = tail call i32 @assert(ptr noundef %4) #2 %9 = tail call i32 @assert(ptr noundef %1) #2 %10 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 3 %11 = load i32, ptr %10, align 4, !tbaa !9 %12 = tail call ptr @scope_state_to_string(i32 noundef %11) #2 %13 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 2 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = tail call ptr @scope_result_to_string(i32 noundef %14) #2 %16 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = load i32, ptr @USEC_PER_SEC, align 4, !tbaa !5 %19 = call ptr @format_timespan(ptr noundef nonnull %7, i32 noundef %5, i32 noundef %17, i32 noundef %18) #2 %20 = call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef %2, ptr noundef %12, ptr noundef %2, ptr noundef %15, ptr noundef %2, ptr noundef %19) #2 %21 = call i32 @UNIT(ptr noundef %4) #2 %22 = call i32 @cgroup_context_dump(i32 noundef %21, ptr noundef %1, ptr noundef %2) #2 %23 = call i32 @kill_context_dump(ptr noundef %4, ptr noundef %1, ptr noundef %2) #2 ret void } declare ptr @SCOPE(ptr noundef) local_unnamed_addr #1 declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @scope_state_to_string(i32 noundef) local_unnamed_addr #1 declare ptr @scope_result_to_string(i32 noundef) local_unnamed_addr #1 declare ptr @format_timespan(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cgroup_context_dump(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @UNIT(ptr noundef) local_unnamed_addr #1 declare i32 @kill_context_dump(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"TYPE_10__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !11 = !{!10, !6, i64 8} !12 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/systemd/src/core/extr_scope.c_scope_dump.c' source_filename = "AnghaBench/systemd/src/core/extr_scope.c_scope_dump.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FORMAT_TIMESPAN_MAX = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"%sScope State: %s\0A%sResult: %s\0A%sRuntimeMaxSec: %s\0A\00", align 1 @USEC_PER_SEC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @scope_dump], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @scope_dump(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @SCOPE(ptr noundef %0) #2 %5 = load i32, ptr @FORMAT_TIMESPAN_MAX, align 4, !tbaa !6 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 1 %8 = tail call i32 @assert(ptr noundef %4) #2 %9 = tail call i32 @assert(ptr noundef %1) #2 %10 = getelementptr inbounds i8, ptr %4, i64 12 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = tail call ptr @scope_state_to_string(i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %4, i64 8 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = tail call ptr @scope_result_to_string(i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %4, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = load i32, ptr @USEC_PER_SEC, align 4, !tbaa !6 %19 = call ptr @format_timespan(ptr noundef nonnull %7, i32 noundef %5, i32 noundef %17, i32 noundef %18) #2 %20 = call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef %2, ptr noundef %12, ptr noundef %2, ptr noundef %15, ptr noundef %2, ptr noundef %19) #2 %21 = call i32 @UNIT(ptr noundef %4) #2 %22 = call i32 @cgroup_context_dump(i32 noundef %21, ptr noundef %1, ptr noundef %2) #2 %23 = call i32 @kill_context_dump(ptr noundef %4, ptr noundef %1, ptr noundef %2) #2 ret void } declare ptr @SCOPE(ptr noundef) local_unnamed_addr #1 declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @scope_state_to_string(i32 noundef) local_unnamed_addr #1 declare ptr @scope_result_to_string(i32 noundef) local_unnamed_addr #1 declare ptr @format_timespan(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cgroup_context_dump(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @UNIT(ptr noundef) local_unnamed_addr #1 declare i32 @kill_context_dump(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !12 = !{!11, !7, i64 8} !13 = !{!11, !7, i64 4}
systemd_src_core_extr_scope.c_scope_dump
; ModuleID = 'AnghaBench/systemd/src/shared/extr_json.c_json_variant_free_inner.c' source_filename = "AnghaBench/systemd/src/shared/extr_json.c_json_variant_free_inner.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i32, i32, i64, i32 } @JSON_VARIANT_ARRAY = dso_local local_unnamed_addr global i32 0, align 4 @JSON_VARIANT_OBJECT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @json_variant_free_inner], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @json_variant_free_inner(ptr noundef %0) #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 %3 = tail call i32 @json_variant_is_regular(ptr noundef %0) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %34, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4 %7 = load i32, ptr %6, align 8, !tbaa !5 %8 = tail call i32 @json_source_unref(i32 noundef %7) #2 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3 %10 = load i64, ptr %9, align 8, !tbaa !11 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %5 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = tail call i32 @json_variant_unref(i32 noundef %14) #2 br label %34 16: ; preds = %5 %17 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 8, !tbaa !13 %19 = load i32, ptr @JSON_VARIANT_ARRAY, align 4, !tbaa !14 %20 = load i32, ptr @JSON_VARIANT_OBJECT, align 4, !tbaa !14 %21 = tail call i64 @IN_SET(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %34, label %23 23: ; preds = %16 %24 = load i64, ptr %0, align 8, !tbaa !15 %25 = icmp eq i64 %24, 0 br i1 %25, label %34, label %26 26: ; preds = %23 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 1 br label %28 28: ; preds = %26, %28 %29 = phi i64 [ 0, %26 ], [ %31, %28 ] %30 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i64 %29 tail call void @json_variant_free_inner(ptr noundef nonnull %30) %31 = add nuw i64 %29, 1 %32 = load i64, ptr %0, align 8, !tbaa !15 %33 = icmp ult i64 %31, %32 br i1 %33, label %28, label %34, !llvm.loop !16 34: ; preds = %28, %23, %1, %12, %16 ret void } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @json_variant_is_regular(ptr noundef) local_unnamed_addr #1 declare i32 @json_source_unref(i32 noundef) local_unnamed_addr #1 declare i32 @json_variant_unref(i32 noundef) local_unnamed_addr #1 declare i64 @IN_SET(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !10, 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 = !{!6, !10, i64 12} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0} !15 = !{!6, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/systemd/src/shared/extr_json.c_json_variant_free_inner.c' source_filename = "AnghaBench/systemd/src/shared/extr_json.c_json_variant_free_inner.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i64, i32, i32, i64, i32 } @JSON_VARIANT_ARRAY = common local_unnamed_addr global i32 0, align 4 @JSON_VARIANT_OBJECT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @json_variant_free_inner], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @json_variant_free_inner(ptr noundef %0) #0 { %2 = tail call i32 @assert(ptr noundef %0) #2 %3 = tail call i32 @json_variant_is_regular(ptr noundef %0) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %34, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load i32, ptr %6, align 8, !tbaa !6 %8 = tail call i32 @json_source_unref(i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %5 %13 = getelementptr inbounds i8, ptr %0, i64 12 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = tail call i32 @json_variant_unref(i32 noundef %14) #2 br label %34 16: ; preds = %5 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !14 %19 = load i32, ptr @JSON_VARIANT_ARRAY, align 4, !tbaa !15 %20 = load i32, ptr @JSON_VARIANT_OBJECT, align 4, !tbaa !15 %21 = tail call i64 @IN_SET(i32 noundef %18, i32 noundef %19, i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %34, label %23 23: ; preds = %16 %24 = load i64, ptr %0, align 8, !tbaa !16 %25 = icmp eq i64 %24, 0 br i1 %25, label %34, label %26 26: ; preds = %23 %27 = getelementptr inbounds i8, ptr %0, i64 32 br label %28 28: ; preds = %26, %28 %29 = phi i64 [ 0, %26 ], [ %31, %28 ] %30 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i64 %29 tail call void @json_variant_free_inner(ptr noundef nonnull %30) %31 = add nuw i64 %29, 1 %32 = load i64, ptr %0, align 8, !tbaa !16 %33 = icmp ult i64 %31, %32 br i1 %33, label %28, label %34, !llvm.loop !17 34: ; preds = %28, %23, %1, %12, %16 ret void } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @json_variant_is_regular(ptr noundef) local_unnamed_addr #1 declare i32 @json_source_unref(i32 noundef) local_unnamed_addr #1 declare i32 @json_variant_unref(i32 noundef) local_unnamed_addr #1 declare i64 @IN_SET(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !11, 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 = !{!7, !11, i64 12} !14 = !{!7, !11, i64 8} !15 = !{!11, !11, i64 0} !16 = !{!7, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
systemd_src_shared_extr_json.c_json_variant_free_inner
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_iblinkinfo.c_filterdownport_check.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_iblinkinfo.c_filterdownport_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i64, ptr, i32 } %struct.TYPE_6__ = type { i64, i32 } @filterdownports_fabric = dso_local local_unnamed_addr global i32 0, align 4 @IB_PORT_STATE_F = dso_local local_unnamed_addr global i32 0, align 4 @IB_LINK_DOWN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @filterdownport_check(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr @filterdownports_fabric, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %5 = load i32, ptr %4, align 8, !tbaa !9 %6 = tail call ptr @ibnd_find_node_guid(i32 noundef %3, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %26, label %8 8: ; preds = %2 %9 = load i64, ptr %1, align 8, !tbaa !13 %10 = load i64, ptr %6, align 8, !tbaa !15 %11 = icmp ugt i64 %9, %10 br i1 %11, label %26, label %12 12: ; preds = %8 %13 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !16 %15 = getelementptr inbounds ptr, ptr %14, i64 %9 %16 = load ptr, ptr %15, align 8, !tbaa !17 %17 = icmp eq ptr %16, null br i1 %17, label %26, label %18 18: ; preds = %12 %19 = getelementptr inbounds %struct.TYPE_6__, ptr %16, i64 0, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !18 %21 = load i32, ptr @IB_PORT_STATE_F, align 4, !tbaa !5 %22 = tail call i32 @mad_get_field(i32 noundef %20, i32 noundef 0, i32 noundef %21) #2 %23 = load i32, ptr @IB_LINK_DOWN, align 4, !tbaa !5 %24 = icmp eq i32 %22, %23 %25 = zext i1 %24 to i32 br label %26 26: ; preds = %12, %8, %2, %18 %27 = phi i32 [ %25, %18 ], [ 0, %2 ], [ 0, %8 ], [ 0, %12 ] ret i32 %27 } declare ptr @ibnd_find_node_guid(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mad_get_field(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 16} !10 = !{!"TYPE_7__", !11, i64 0, !12, i64 8, !6, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_6__", !11, i64 0, !6, i64 8} !15 = !{!10, !11, i64 0} !16 = !{!10, !12, i64 8} !17 = !{!12, !12, i64 0} !18 = !{!14, !6, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_iblinkinfo.c_filterdownport_check.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_iblinkinfo.c_filterdownport_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @filterdownports_fabric = common local_unnamed_addr global i32 0, align 4 @IB_PORT_STATE_F = common local_unnamed_addr global i32 0, align 4 @IB_LINK_DOWN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @filterdownport_check(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr @filterdownports_fabric, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i32, ptr %4, align 8, !tbaa !10 %6 = tail call ptr @ibnd_find_node_guid(i32 noundef %3, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %26, label %8 8: ; preds = %2 %9 = load i64, ptr %1, align 8, !tbaa !14 %10 = load i64, ptr %6, align 8, !tbaa !16 %11 = icmp ugt i64 %9, %10 br i1 %11, label %26, label %12 12: ; preds = %8 %13 = getelementptr inbounds i8, ptr %6, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !17 %15 = getelementptr inbounds ptr, ptr %14, i64 %9 %16 = load ptr, ptr %15, align 8, !tbaa !18 %17 = icmp eq ptr %16, null br i1 %17, label %26, label %18 18: ; preds = %12 %19 = getelementptr inbounds i8, ptr %16, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !19 %21 = load i32, ptr @IB_PORT_STATE_F, align 4, !tbaa !6 %22 = tail call i32 @mad_get_field(i32 noundef %20, i32 noundef 0, i32 noundef %21) #2 %23 = load i32, ptr @IB_LINK_DOWN, align 4, !tbaa !6 %24 = icmp eq i32 %22, %23 %25 = zext i1 %24 to i32 br label %26 26: ; preds = %12, %8, %2, %18 %27 = phi i32 [ %25, %18 ], [ 0, %2 ], [ 0, %8 ], [ 0, %12 ] ret i32 %27 } declare ptr @ibnd_find_node_guid(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mad_get_field(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_7__", !12, i64 0, !13, i64 8, !7, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_6__", !12, i64 0, !7, i64 8} !16 = !{!11, !12, i64 0} !17 = !{!11, !13, i64 8} !18 = !{!13, !13, i64 0} !19 = !{!15, !7, i64 8}
freebsd_contrib_ofed_infiniband-diags_src_extr_iblinkinfo.c_filterdownport_check
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw2.c_verify_path.c' source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw2.c_verify_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" @NHF_BLACKHOLE = dso_local local_unnamed_addr global i32 0, align 4 @NHF_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @NHF_REJECT = dso_local local_unnamed_addr global i32 0, align 4 @NHR_IFAIF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @verify_path], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @verify_path(i32 %0, ptr nocapture readnone %1, i32 %2) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw2.c_verify_path.c' source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw2.c_verify_path.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NHF_BLACKHOLE = common local_unnamed_addr global i32 0, align 4 @NHF_DEFAULT = common local_unnamed_addr global i32 0, align 4 @NHF_REJECT = common local_unnamed_addr global i32 0, align 4 @NHR_IFAIF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @verify_path], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @verify_path(i64 %0, ptr nocapture readnone %1, i32 %2) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_netpfil_ipfw_extr_ip_fw2.c_verify_path
; ModuleID = 'AnghaBench/reactos/dll/win32/vbscript/extr_parser.tab.c_new_long_expression.c' source_filename = "AnghaBench/reactos/dll/win32/vbscript/extr_parser.tab.c_new_long_expression.c" target datalayout = "e-m:e-p270:32:32-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 @new_long_expression], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @new_long_expression(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @new_expression(ptr noundef %0, i32 noundef %1, i32 noundef 8) #2 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1 store i32 %2, ptr %7, align 4, !tbaa !5 br label %8 8: ; preds = %3, %6 ret ptr %4 } declare ptr @new_expression(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 4} !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"}
; ModuleID = 'AnghaBench/reactos/dll/win32/vbscript/extr_parser.tab.c_new_long_expression.c' source_filename = "AnghaBench/reactos/dll/win32/vbscript/extr_parser.tab.c_new_long_expression.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 @new_long_expression], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @new_long_expression(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @new_expression(ptr noundef %0, i32 noundef %1, i32 noundef 8) #2 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %2, ptr %7, align 4, !tbaa !6 br label %8 8: ; preds = %3, %6 ret ptr %4 } declare ptr @new_expression(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 4} !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"}
reactos_dll_win32_vbscript_extr_parser.tab.c_new_long_expression
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_cpuset.c_cpuset_modify_domain.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_cpuset.c_cpuset_modify_domain.c" target datalayout = "e-m:e-p270:32:32-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.domainlist = type { i32 } %struct.domainset = type { i64, i32 } %struct.cpuset = type { i32, ptr } @curthread = dso_local local_unnamed_addr global ptr null, align 8 @PRIV_SCHED_CPUSET = dso_local local_unnamed_addr global i32 0, align 4 @CPU_SET_ROOT = dso_local local_unnamed_addr global i32 0, align 4 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 @cpuset_lock = dso_local global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @DOMAINSET_POLICY_PREFER = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @cpuset_modify_domain], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cpuset_modify_domain(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.domainlist, align 4 %4 = alloca %struct.domainset, align 8 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load ptr, ptr @curthread, align 8, !tbaa !5 %7 = load i32, ptr @PRIV_SCHED_CPUSET, align 4, !tbaa !9 %8 = tail call i32 @priv_check(ptr noundef %6, i32 noundef %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %71 10: ; preds = %2 %11 = load ptr, ptr @curthread, align 8, !tbaa !5 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = tail call i64 @jailed(i32 noundef %12) #3 %14 = icmp eq i64 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %10 %16 = load i32, ptr %0, align 8, !tbaa !13 %17 = load i32, ptr @CPU_SET_ROOT, align 4, !tbaa !9 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %15 %21 = load i32, ptr @EPERM, align 4, !tbaa !9 br label %71 22: ; preds = %15, %10 %23 = call i32 @domainset_freelist_init(ptr noundef nonnull %3, i32 noundef 0) #3 %24 = call ptr @domainset_create(ptr noundef %1) #3 store i32 0, ptr %5, align 4, !tbaa !9 %25 = getelementptr inbounds %struct.cpuset, ptr %0, i64 0, i32 1 %26 = getelementptr inbounds %struct.domainset, ptr %24, i64 0, i32 1 br label %27 27: ; preds = %58, %22 %28 = phi i32 [ 0, %22 ], [ %59, %58 ] %29 = phi i32 [ 0, %22 ], [ %36, %58 ] %30 = icmp slt i32 %29, %28 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = sub nsw i32 %28, %29 %33 = call i32 @domainset_freelist_add(ptr noundef nonnull %3, i32 noundef %32) #3 %34 = load i32, ptr %5, align 4, !tbaa !9 br label %35 35: ; preds = %31, %27 %36 = phi i32 [ %34, %31 ], [ %29, %27 ] %37 = call ptr @cpuset_getroot(ptr noundef %0) #3 %38 = call i32 @mtx_lock_spin(ptr noundef nonnull @cpuset_lock) #3 %39 = getelementptr inbounds %struct.cpuset, ptr %37, i64 0, i32 1 %40 = load ptr, ptr %39, align 8, !tbaa !15 %41 = call i32 @domainset_valid(ptr noundef %40, ptr noundef %24) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %35 %44 = load i32, ptr @EINVAL, align 4, !tbaa !9 br label %64 45: ; preds = %35 %46 = load i64, ptr %24, align 8, !tbaa !16 %47 = load i64, ptr @DOMAINSET_POLICY_PREFER, align 8, !tbaa !19 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %53 49: ; preds = %45 %50 = load ptr, ptr %25, align 8, !tbaa !15 %51 = getelementptr inbounds %struct.domainset, ptr %50, i64 0, i32 1 %52 = call i32 @DOMAINSET_COPY(ptr noundef nonnull %51, ptr noundef nonnull %26) #3 br label %53 53: ; preds = %49, %45 %54 = call i32 @domainset_copy(ptr noundef nonnull %24, ptr noundef nonnull %4) #3 store i32 0, ptr %5, align 4, !tbaa !9 %55 = load ptr, ptr %25, align 8, !tbaa !15 %56 = call i32 @cpuset_testupdate_domain(ptr noundef %0, ptr noundef nonnull %4, ptr noundef %55, ptr noundef nonnull %5, i32 noundef 0) #3 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %64 58: ; preds = %53 %59 = load i32, ptr %5, align 4, !tbaa !9 %60 = icmp slt i32 %36, %59 br i1 %60, label %27, label %61, !llvm.loop !20 61: ; preds = %58 %62 = load ptr, ptr %25, align 8, !tbaa !15 %63 = call i32 @cpuset_update_domain(ptr noundef nonnull %0, ptr noundef nonnull %24, ptr noundef %62, ptr noundef nonnull %3) #3 br label %64 64: ; preds = %53, %61, %43 %65 = phi i32 [ 0, %61 ], [ %44, %43 ], [ %56, %53 ] %66 = call i32 @mtx_unlock_spin(ptr noundef nonnull @cpuset_lock) #3 %67 = call i32 @domainset_freelist_free(ptr noundef nonnull %3) #3 %68 = icmp eq i32 %65, 0 br i1 %68, label %69, label %71 69: ; preds = %64 %70 = call i32 (...) @domainset_notify() #3 br label %71 71: ; preds = %64, %69, %2, %20 %72 = phi i32 [ %21, %20 ], [ %8, %2 ], [ 0, %69 ], [ %65, %64 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %72 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @priv_check(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @jailed(i32 noundef) local_unnamed_addr #2 declare i32 @domainset_freelist_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @domainset_create(ptr noundef) local_unnamed_addr #2 declare i32 @domainset_freelist_add(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @cpuset_getroot(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_lock_spin(ptr noundef) local_unnamed_addr #2 declare i32 @domainset_valid(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DOMAINSET_COPY(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @domainset_copy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpuset_testupdate_domain(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpuset_update_domain(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtx_unlock_spin(ptr noundef) local_unnamed_addr #2 declare i32 @domainset_freelist_free(ptr noundef) local_unnamed_addr #2 declare i32 @domainset_notify(...) 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_3__", !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"cpuset", !10, i64 0, !6, i64 8} !15 = !{!14, !6, i64 8} !16 = !{!17, !18, i64 0} !17 = !{!"domainset", !18, i64 0, !10, i64 8} !18 = !{!"long", !7, i64 0} !19 = !{!18, !18, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_cpuset.c_cpuset_modify_domain.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_cpuset.c_cpuset_modify_domain.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.domainlist = type { i32 } %struct.domainset = type { i64, i32 } @curthread = common local_unnamed_addr global ptr null, align 8 @PRIV_SCHED_CPUSET = common local_unnamed_addr global i32 0, align 4 @CPU_SET_ROOT = common local_unnamed_addr global i32 0, align 4 @EPERM = common local_unnamed_addr global i32 0, align 4 @cpuset_lock = common global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @DOMAINSET_POLICY_PREFER = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @cpuset_modify_domain], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cpuset_modify_domain(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.domainlist, align 4 %4 = alloca %struct.domainset, align 8 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load ptr, ptr @curthread, align 8, !tbaa !6 %7 = load i32, ptr @PRIV_SCHED_CPUSET, align 4, !tbaa !10 %8 = tail call i32 @priv_check(ptr noundef %6, i32 noundef %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %71 10: ; preds = %2 %11 = load ptr, ptr @curthread, align 8, !tbaa !6 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = tail call i64 @jailed(i32 noundef %12) #3 %14 = icmp eq i64 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %10 %16 = load i32, ptr %0, align 8, !tbaa !14 %17 = load i32, ptr @CPU_SET_ROOT, align 4, !tbaa !10 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %15 %21 = load i32, ptr @EPERM, align 4, !tbaa !10 br label %71 22: ; preds = %15, %10 %23 = call i32 @domainset_freelist_init(ptr noundef nonnull %3, i32 noundef 0) #3 %24 = call ptr @domainset_create(ptr noundef %1) #3 store i32 0, ptr %5, align 4, !tbaa !10 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = getelementptr inbounds i8, ptr %24, i64 8 br label %27 27: ; preds = %58, %22 %28 = phi i32 [ 0, %22 ], [ %59, %58 ] %29 = phi i32 [ 0, %22 ], [ %36, %58 ] %30 = icmp slt i32 %29, %28 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = sub nsw i32 %28, %29 %33 = call i32 @domainset_freelist_add(ptr noundef nonnull %3, i32 noundef %32) #3 %34 = load i32, ptr %5, align 4, !tbaa !10 br label %35 35: ; preds = %31, %27 %36 = phi i32 [ %34, %31 ], [ %29, %27 ] %37 = call ptr @cpuset_getroot(ptr noundef %0) #3 %38 = call i32 @mtx_lock_spin(ptr noundef nonnull @cpuset_lock) #3 %39 = getelementptr inbounds i8, ptr %37, i64 8 %40 = load ptr, ptr %39, align 8, !tbaa !16 %41 = call i32 @domainset_valid(ptr noundef %40, ptr noundef %24) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %35 %44 = load i32, ptr @EINVAL, align 4, !tbaa !10 br label %64 45: ; preds = %35 %46 = load i64, ptr %24, align 8, !tbaa !17 %47 = load i64, ptr @DOMAINSET_POLICY_PREFER, align 8, !tbaa !20 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %53 49: ; preds = %45 %50 = load ptr, ptr %25, align 8, !tbaa !16 %51 = getelementptr inbounds i8, ptr %50, i64 8 %52 = call i32 @DOMAINSET_COPY(ptr noundef nonnull %51, ptr noundef nonnull %26) #3 br label %53 53: ; preds = %49, %45 %54 = call i32 @domainset_copy(ptr noundef nonnull %24, ptr noundef nonnull %4) #3 store i32 0, ptr %5, align 4, !tbaa !10 %55 = load ptr, ptr %25, align 8, !tbaa !16 %56 = call i32 @cpuset_testupdate_domain(ptr noundef %0, ptr noundef nonnull %4, ptr noundef %55, ptr noundef nonnull %5, i32 noundef 0) #3 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %64 58: ; preds = %53 %59 = load i32, ptr %5, align 4, !tbaa !10 %60 = icmp slt i32 %36, %59 br i1 %60, label %27, label %61, !llvm.loop !21 61: ; preds = %58 %62 = load ptr, ptr %25, align 8, !tbaa !16 %63 = call i32 @cpuset_update_domain(ptr noundef nonnull %0, ptr noundef nonnull %24, ptr noundef %62, ptr noundef nonnull %3) #3 br label %64 64: ; preds = %53, %61, %43 %65 = phi i32 [ 0, %61 ], [ %44, %43 ], [ %56, %53 ] %66 = call i32 @mtx_unlock_spin(ptr noundef nonnull @cpuset_lock) #3 %67 = call i32 @domainset_freelist_free(ptr noundef nonnull %3) #3 %68 = icmp eq i32 %65, 0 br i1 %68, label %69, label %71 69: ; preds = %64 %70 = call i32 @domainset_notify() #3 br label %71 71: ; preds = %64, %69, %2, %20 %72 = phi i32 [ %21, %20 ], [ %8, %2 ], [ 0, %69 ], [ %65, %64 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %72 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @priv_check(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @jailed(i32 noundef) local_unnamed_addr #2 declare i32 @domainset_freelist_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @domainset_create(ptr noundef) local_unnamed_addr #2 declare i32 @domainset_freelist_add(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @cpuset_getroot(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_lock_spin(ptr noundef) local_unnamed_addr #2 declare i32 @domainset_valid(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DOMAINSET_COPY(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @domainset_copy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpuset_testupdate_domain(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cpuset_update_domain(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtx_unlock_spin(ptr noundef) local_unnamed_addr #2 declare i32 @domainset_freelist_free(ptr noundef) local_unnamed_addr #2 declare i32 @domainset_notify(...) 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_3__", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"cpuset", !11, i64 0, !7, i64 8} !16 = !{!15, !7, i64 8} !17 = !{!18, !19, i64 0} !18 = !{!"domainset", !19, i64 0, !11, i64 8} !19 = !{!"long", !8, i64 0} !20 = !{!19, !19, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
freebsd_sys_kern_extr_kern_cpuset.c_cpuset_modify_domain
; ModuleID = 'AnghaBench/vlc/src/modules/extr_bank.c_module_EndBank.c' source_filename = "AnghaBench/vlc/src/modules/extr_bank.c_module_EndBank.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i64, i32, ptr, ptr } @modules = dso_local global %struct.TYPE_7__ zeroinitializer, align 8 @vlc_plugins = dso_local local_unnamed_addr global ptr null, align 8 @vlc_modcap_free = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @module_EndBank(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, 0 br i1 %2, label %5, label %3 3: ; preds = %1 %4 = tail call i32 @vlc_mutex_lock(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_7__, ptr @modules, i64 0, i32 1)) #3 br label %7 5: ; preds = %1 %6 = tail call i32 @vlc_mutex_assert(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_7__, ptr @modules, i64 0, i32 1)) #3 br label %7 7: ; preds = %5, %3 %8 = load i64, ptr @modules, align 8, !tbaa !5 %9 = icmp sgt i64 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #3 %12 = load i64, ptr @modules, align 8, !tbaa !5 %13 = add nsw i64 %12, -1 store i64 %13, ptr @modules, align 8, !tbaa !5 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %7 %16 = tail call i32 (...) @config_UnsortConfig() #3 %17 = load ptr, ptr @vlc_plugins, align 8, !tbaa !12 %18 = load ptr, ptr getelementptr inbounds (%struct.TYPE_7__, ptr @modules, i64 0, i32 3), align 8, !tbaa !13 %19 = load ptr, ptr getelementptr inbounds (%struct.TYPE_7__, ptr @modules, i64 0, i32 2), align 8, !tbaa !14 store ptr null, ptr @vlc_plugins, align 8, !tbaa !12 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (%struct.TYPE_7__, ptr @modules, i64 0, i32 2), i8 0, i64 16, i1 false) br label %20 20: ; preds = %15, %7 %21 = phi ptr [ %18, %15 ], [ null, %7 ] %22 = phi ptr [ %19, %15 ], [ null, %7 ] %23 = phi ptr [ %17, %15 ], [ null, %7 ] %24 = tail call i32 @vlc_mutex_unlock(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_7__, ptr @modules, i64 0, i32 1)) #3 %25 = load i32, ptr @vlc_modcap_free, align 4, !tbaa !15 %26 = tail call i32 @tdestroy(ptr noundef %22, i32 noundef %25) #3 %27 = icmp eq ptr %23, null br i1 %27, label %34, label %28 28: ; preds = %20, %28 %29 = phi ptr [ %30, %28 ], [ %23, %20 ] %30 = load ptr, ptr %29, align 8, !tbaa !16 %31 = tail call i32 @module_Unmap(ptr noundef nonnull %29) #3 %32 = tail call i32 @vlc_plugin_destroy(ptr noundef nonnull %29) #3 %33 = icmp eq ptr %30, null br i1 %33, label %34, label %28, !llvm.loop !18 34: ; preds = %28, %20 %35 = tail call i32 @block_ChainRelease(ptr noundef %21) #3 ret void } declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_mutex_assert(ptr noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @config_UnsortConfig(...) local_unnamed_addr #1 declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @tdestroy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @module_Unmap(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_plugin_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @block_ChainRelease(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !11, i64 24} !14 = !{!6, !11, i64 16} !15 = !{!10, !10, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_6__", !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/vlc/src/modules/extr_bank.c_module_EndBank.c' source_filename = "AnghaBench/vlc/src/modules/extr_bank.c_module_EndBank.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { i64, i32, ptr, ptr } @modules = common global %struct.TYPE_7__ zeroinitializer, align 8 @vlc_plugins = common local_unnamed_addr global ptr null, align 8 @vlc_modcap_free = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @module_EndBank(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, 0 br i1 %2, label %5, label %3 3: ; preds = %1 %4 = tail call i32 @vlc_mutex_lock(ptr noundef nonnull getelementptr inbounds (i8, ptr @modules, i64 8)) #3 br label %7 5: ; preds = %1 %6 = tail call i32 @vlc_mutex_assert(ptr noundef nonnull getelementptr inbounds (i8, ptr @modules, i64 8)) #3 br label %7 7: ; preds = %5, %3 %8 = load i64, ptr @modules, align 8, !tbaa !6 %9 = icmp sgt i64 %8, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @assert(i32 noundef %10) #3 %12 = load i64, ptr @modules, align 8, !tbaa !6 %13 = add nsw i64 %12, -1 store i64 %13, ptr @modules, align 8, !tbaa !6 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %7 %16 = tail call i32 @config_UnsortConfig() #3 %17 = load ptr, ptr @vlc_plugins, align 8, !tbaa !13 %18 = load ptr, ptr getelementptr inbounds (i8, ptr @modules, i64 24), align 8, !tbaa !14 %19 = load ptr, ptr getelementptr inbounds (i8, ptr @modules, i64 16), align 8, !tbaa !15 store ptr null, ptr @vlc_plugins, align 8, !tbaa !13 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) getelementptr inbounds (i8, ptr @modules, i64 16), i8 0, i64 16, i1 false) br label %20 20: ; preds = %15, %7 %21 = phi ptr [ %18, %15 ], [ null, %7 ] %22 = phi ptr [ %19, %15 ], [ null, %7 ] %23 = phi ptr [ %17, %15 ], [ null, %7 ] %24 = tail call i32 @vlc_mutex_unlock(ptr noundef nonnull getelementptr inbounds (i8, ptr @modules, i64 8)) #3 %25 = load i32, ptr @vlc_modcap_free, align 4, !tbaa !16 %26 = tail call i32 @tdestroy(ptr noundef %22, i32 noundef %25) #3 %27 = icmp eq ptr %23, null br i1 %27, label %34, label %28 28: ; preds = %20, %28 %29 = phi ptr [ %30, %28 ], [ %23, %20 ] %30 = load ptr, ptr %29, align 8, !tbaa !17 %31 = tail call i32 @module_Unmap(ptr noundef nonnull %29) #3 %32 = tail call i32 @vlc_plugin_destroy(ptr noundef nonnull %29) #3 %33 = icmp eq ptr %30, null br i1 %33, label %34, label %28, !llvm.loop !19 34: ; preds = %28, %20 %35 = tail call i32 @block_ChainRelease(ptr noundef %21) #3 ret void } declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_mutex_assert(ptr noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @config_UnsortConfig(...) local_unnamed_addr #1 declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @tdestroy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @module_Unmap(ptr noundef) local_unnamed_addr #1 declare i32 @vlc_plugin_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @block_ChainRelease(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !12, i64 24} !15 = !{!7, !12, i64 16} !16 = !{!11, !11, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_6__", !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
vlc_src_modules_extr_bank.c_module_EndBank
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_foreigncmds.c_CreateUserMapping.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_foreigncmds.c_CreateUserMapping.c" target datalayout = "e-m:e-p270:32:32-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_20__ = type { i64, i32, i32 } %struct.TYPE_23__ = type { i32, i32, i64, i64 } %struct.TYPE_21__ = type { i32, i32 } @Natts_pg_user_mapping = dso_local local_unnamed_addr global i32 0, align 4 @UserMappingRelationId = dso_local local_unnamed_addr global i32 0, align 4 @RowExclusiveLock = dso_local local_unnamed_addr global i32 0, align 4 @ROLESPEC_PUBLIC = dso_local local_unnamed_addr global i64 0, align 8 @ACL_ID_PUBLIC = dso_local local_unnamed_addr global i32 0, align 4 @USERMAPPINGUSERSERVER = dso_local local_unnamed_addr global i32 0, align 4 @Anum_pg_user_mapping_oid = dso_local local_unnamed_addr global i32 0, align 4 @NOTICE = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_DUPLICATE_OBJECT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [63 x i8] c"user mapping for \22%s\22 already exists for server \22%s\22, skipping\00", align 1 @InvalidObjectAddress = dso_local local_unnamed_addr global %struct.TYPE_20__ zeroinitializer, align 8 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [53 x i8] c"user mapping for \22%s\22 already exists for server \22%s\22\00", align 1 @UserMappingOidIndexId = dso_local local_unnamed_addr global i32 0, align 4 @Anum_pg_user_mapping_umuser = dso_local local_unnamed_addr global i32 0, align 4 @Anum_pg_user_mapping_umserver = dso_local local_unnamed_addr global i32 0, align 4 @Anum_pg_user_mapping_umoptions = dso_local local_unnamed_addr global i32 0, align 4 @ForeignServerRelationId = dso_local local_unnamed_addr global i32 0, align 4 @DEPENDENCY_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local { i64, i64 } @CreateUserMapping(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_20__, align 8 %3 = alloca %struct.TYPE_20__, align 8 %4 = load i32, ptr @Natts_pg_user_mapping, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = alloca i32, i64 %5, align 16 %7 = alloca i32, i64 %5, align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %8 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 3 %9 = load i64, ptr %8, align 8, !tbaa !9 %10 = inttoptr i64 %9 to ptr %11 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !5 %12 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !5 %13 = tail call ptr @table_open(i32 noundef %11, i32 noundef %12) #3 %14 = load i64, ptr %10, align 8, !tbaa !12 %15 = load i64, ptr @ROLESPEC_PUBLIC, align 8, !tbaa !14 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %1 %18 = load i32, ptr @ACL_ID_PUBLIC, align 4, !tbaa !5 br label %22 19: ; preds = %1 %20 = load i64, ptr %8, align 8, !tbaa !9 %21 = tail call i32 @get_rolespec_oid(i64 noundef %20, i32 noundef 0) #3 br label %22 22: ; preds = %19, %17 %23 = phi i32 [ %18, %17 ], [ %21, %19 ] %24 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 1 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = tail call ptr @GetForeignServerByName(i32 noundef %25, i32 noundef 0) #3 %27 = load i32, ptr %26, align 4, !tbaa !16 %28 = load i32, ptr %24, align 4, !tbaa !15 %29 = tail call i32 @user_mapping_ddl_aclcheck(i32 noundef %23, i32 noundef %27, i32 noundef %28) #3 %30 = load i32, ptr @USERMAPPINGUSERSERVER, align 4, !tbaa !5 %31 = load i32, ptr @Anum_pg_user_mapping_oid, align 4, !tbaa !5 %32 = tail call i32 @ObjectIdGetDatum(i32 noundef %23) #3 %33 = load i32, ptr %26, align 4, !tbaa !16 %34 = tail call i32 @ObjectIdGetDatum(i32 noundef %33) #3 %35 = tail call i32 @GetSysCacheOid2(i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %34) #3 %36 = tail call i64 @OidIsValid(i32 noundef %35) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %59, label %38 38: ; preds = %22 %39 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 2 %40 = load i64, ptr %39, align 8, !tbaa !18 %41 = icmp eq i64 %40, 0 %42 = load i32, ptr @ERRCODE_DUPLICATE_OBJECT, align 4, !tbaa !5 br i1 %41, label %52, label %43 43: ; preds = %38 %44 = load i32, ptr @NOTICE, align 4, !tbaa !5 %45 = tail call i32 @errcode(i32 noundef %42) #3 %46 = tail call i32 @MappingUserName(i32 noundef %23) #3 %47 = load i32, ptr %24, align 4, !tbaa !15 %48 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %46, i32 noundef %47) #3 %49 = tail call i32 @ereport(i32 noundef %44, i32 noundef %48) #3 %50 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !5 %51 = tail call i32 @table_close(ptr noundef %13, i32 noundef %50) #3 br label %122 52: ; preds = %38 %53 = load i32, ptr @ERROR, align 4, !tbaa !5 %54 = tail call i32 @errcode(i32 noundef %42) #3 %55 = tail call i32 @MappingUserName(i32 noundef %23) #3 %56 = load i32, ptr %24, align 4, !tbaa !15 %57 = tail call i32 @errmsg(ptr noundef nonnull @.str.1, i32 noundef %55, i32 noundef %56) #3 %58 = tail call i32 @ereport(i32 noundef %53, i32 noundef %57) #3 br label %59 59: ; preds = %52, %22 %60 = getelementptr inbounds %struct.TYPE_21__, ptr %26, i64 0, i32 1 %61 = load i32, ptr %60, align 4, !tbaa !19 %62 = tail call ptr @GetForeignDataWrapper(i32 noundef %61) #3 %63 = shl i32 %4, 2 %64 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %63) #3 %65 = call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef %63) #3 %66 = load i32, ptr @UserMappingOidIndexId, align 4, !tbaa !5 %67 = load i32, ptr @Anum_pg_user_mapping_oid, align 4, !tbaa !5 %68 = call i32 @GetNewOidWithIndex(ptr noundef %13, i32 noundef %66, i32 noundef %67) #3 %69 = call i32 @ObjectIdGetDatum(i32 noundef %68) #3 %70 = load i32, ptr @Anum_pg_user_mapping_oid, align 4, !tbaa !5 %71 = sext i32 %70 to i64 %72 = getelementptr i32, ptr %6, i64 %71 %73 = getelementptr i32, ptr %72, i64 -1 store i32 %69, ptr %73, align 4, !tbaa !5 %74 = call i32 @ObjectIdGetDatum(i32 noundef %23) #3 %75 = load i32, ptr @Anum_pg_user_mapping_umuser, align 4, !tbaa !5 %76 = sext i32 %75 to i64 %77 = getelementptr i32, ptr %6, i64 %76 %78 = getelementptr i32, ptr %77, i64 -1 store i32 %74, ptr %78, align 4, !tbaa !5 %79 = load i32, ptr %26, align 4, !tbaa !16 %80 = call i32 @ObjectIdGetDatum(i32 noundef %79) #3 %81 = load i32, ptr @Anum_pg_user_mapping_umserver, align 4, !tbaa !5 %82 = sext i32 %81 to i64 %83 = getelementptr i32, ptr %6, i64 %82 %84 = getelementptr i32, ptr %83, i64 -1 store i32 %80, ptr %84, align 4, !tbaa !5 %85 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !5 %86 = call i32 @PointerGetDatum(ptr noundef null) #3 %87 = load i32, ptr %0, align 8, !tbaa !20 %88 = load i32, ptr %62, align 4, !tbaa !21 %89 = call i32 @transformGenericOptions(i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88) #3 %90 = call i32 @DatumGetPointer(i32 noundef %89) #3 %91 = call i64 @PointerIsValid(i32 noundef %90) #3 %92 = icmp eq i64 %91, 0 %93 = load i32, ptr @Anum_pg_user_mapping_umoptions, align 4, !tbaa !5 %94 = sext i32 %93 to i64 %95 = select i1 %92, ptr %7, ptr %6 %96 = select i1 %92, i32 1, i32 %89 %97 = getelementptr i32, ptr %95, i64 %94 %98 = getelementptr i32, ptr %97, i64 -1 store i32 %96, ptr %98, align 4, !tbaa !5 %99 = load i32, ptr %13, align 4, !tbaa !23 %100 = call i32 @heap_form_tuple(i32 noundef %99, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %101 = call i32 @CatalogTupleInsert(ptr noundef nonnull %13, i32 noundef %100) #3 %102 = call i32 @heap_freetuple(i32 noundef %100) #3 %103 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !5 %104 = getelementptr inbounds %struct.TYPE_20__, ptr %2, i64 0, i32 2 store i32 %103, ptr %104, align 4, !tbaa !25 %105 = getelementptr inbounds %struct.TYPE_20__, ptr %2, i64 0, i32 1 store i32 %68, ptr %105, align 8, !tbaa !27 store i64 0, ptr %2, align 8, !tbaa !28 %106 = load i32, ptr @ForeignServerRelationId, align 4, !tbaa !5 %107 = getelementptr inbounds %struct.TYPE_20__, ptr %3, i64 0, i32 2 store i32 %106, ptr %107, align 4, !tbaa !25 %108 = load i32, ptr %26, align 4, !tbaa !16 %109 = getelementptr inbounds %struct.TYPE_20__, ptr %3, i64 0, i32 1 store i32 %108, ptr %109, align 8, !tbaa !27 store i64 0, ptr %3, align 8, !tbaa !28 %110 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !5 %111 = call i32 @recordDependencyOn(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %110) #3 %112 = call i64 @OidIsValid(i32 noundef %23) #3 %113 = icmp eq i64 %112, 0 br i1 %113, label %117, label %114 114: ; preds = %59 %115 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !5 %116 = call i32 @recordDependencyOnOwner(i32 noundef %115, i32 noundef %68, i32 noundef %23) #3 br label %117 117: ; preds = %114, %59 %118 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !5 %119 = call i32 @InvokeObjectPostCreateHook(i32 noundef %118, i32 noundef %68, i32 noundef 0) #3 %120 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !5 %121 = call i32 @table_close(ptr noundef nonnull %13, i32 noundef %120) #3 br label %122 122: ; preds = %117, %43 %123 = phi ptr [ %105, %117 ], [ getelementptr inbounds (%struct.TYPE_20__, ptr @InvalidObjectAddress, i64 0, i32 1), %43 ] %124 = phi ptr [ %2, %117 ], [ @InvalidObjectAddress, %43 ] %125 = load i64, ptr %123, align 8 %126 = load i64, ptr %124, align 8 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 %127 = insertvalue { i64, i64 } poison, i64 %126, 0 %128 = insertvalue { i64, i64 } %127, i64 %125, 1 ret { i64, i64 } %128 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @table_open(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_rolespec_oid(i64 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @GetForeignServerByName(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @user_mapping_ddl_aclcheck(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetSysCacheOid2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #2 declare i64 @OidIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errcode(i32 noundef) local_unnamed_addr #2 declare i32 @errmsg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MappingUserName(i32 noundef) local_unnamed_addr #2 declare i32 @table_close(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @GetForeignDataWrapper(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetNewOidWithIndex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @transformGenericOptions(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PointerGetDatum(ptr noundef) local_unnamed_addr #2 declare i64 @PointerIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @DatumGetPointer(i32 noundef) local_unnamed_addr #2 declare i32 @heap_form_tuple(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CatalogTupleInsert(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @heap_freetuple(i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOnOwner(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @InvokeObjectPostCreateHook(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, !11, i64 16} !10 = !{!"TYPE_23__", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_18__", !11, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!10, !6, i64 4} !16 = !{!17, !6, i64 0} !17 = !{!"TYPE_21__", !6, i64 0, !6, i64 4} !18 = !{!10, !11, i64 8} !19 = !{!17, !6, i64 4} !20 = !{!10, !6, i64 0} !21 = !{!22, !6, i64 0} !22 = !{!"TYPE_22__", !6, i64 0} !23 = !{!24, !6, i64 0} !24 = !{!"TYPE_19__", !6, i64 0} !25 = !{!26, !6, i64 12} !26 = !{!"TYPE_20__", !11, i64 0, !6, i64 8, !6, i64 12} !27 = !{!26, !6, i64 8} !28 = !{!26, !11, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_foreigncmds.c_CreateUserMapping.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_foreigncmds.c_CreateUserMapping.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_20__ = type { i64, i32, i32 } @Natts_pg_user_mapping = common local_unnamed_addr global i32 0, align 4 @UserMappingRelationId = common local_unnamed_addr global i32 0, align 4 @RowExclusiveLock = common local_unnamed_addr global i32 0, align 4 @ROLESPEC_PUBLIC = common local_unnamed_addr global i64 0, align 8 @ACL_ID_PUBLIC = common local_unnamed_addr global i32 0, align 4 @USERMAPPINGUSERSERVER = common local_unnamed_addr global i32 0, align 4 @Anum_pg_user_mapping_oid = common local_unnamed_addr global i32 0, align 4 @NOTICE = common local_unnamed_addr global i32 0, align 4 @ERRCODE_DUPLICATE_OBJECT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [63 x i8] c"user mapping for \22%s\22 already exists for server \22%s\22, skipping\00", align 1 @InvalidObjectAddress = common local_unnamed_addr global %struct.TYPE_20__ zeroinitializer, align 8 @ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [53 x i8] c"user mapping for \22%s\22 already exists for server \22%s\22\00", align 1 @UserMappingOidIndexId = common local_unnamed_addr global i32 0, align 4 @Anum_pg_user_mapping_umuser = common local_unnamed_addr global i32 0, align 4 @Anum_pg_user_mapping_umserver = common local_unnamed_addr global i32 0, align 4 @Anum_pg_user_mapping_umoptions = common local_unnamed_addr global i32 0, align 4 @ForeignServerRelationId = common local_unnamed_addr global i32 0, align 4 @DEPENDENCY_NORMAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define [2 x i64] @CreateUserMapping(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_20__, align 8 %3 = alloca %struct.TYPE_20__, align 8 %4 = load i32, ptr @Natts_pg_user_mapping, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = alloca i32, i64 %5, align 4 %7 = alloca i32, i64 %5, align 4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load i64, ptr %8, align 8, !tbaa !10 %10 = inttoptr i64 %9 to ptr %11 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !6 %12 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !6 %13 = tail call ptr @table_open(i32 noundef %11, i32 noundef %12) #3 %14 = load i64, ptr %10, align 8, !tbaa !13 %15 = load i64, ptr @ROLESPEC_PUBLIC, align 8, !tbaa !15 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %1 %18 = load i32, ptr @ACL_ID_PUBLIC, align 4, !tbaa !6 br label %22 19: ; preds = %1 %20 = load i64, ptr %8, align 8, !tbaa !10 %21 = tail call i32 @get_rolespec_oid(i64 noundef %20, i32 noundef 0) #3 br label %22 22: ; preds = %19, %17 %23 = phi i32 [ %18, %17 ], [ %21, %19 ] %24 = getelementptr inbounds i8, ptr %0, i64 4 %25 = load i32, ptr %24, align 4, !tbaa !16 %26 = tail call ptr @GetForeignServerByName(i32 noundef %25, i32 noundef 0) #3 %27 = load i32, ptr %26, align 4, !tbaa !17 %28 = load i32, ptr %24, align 4, !tbaa !16 %29 = tail call i32 @user_mapping_ddl_aclcheck(i32 noundef %23, i32 noundef %27, i32 noundef %28) #3 %30 = load i32, ptr @USERMAPPINGUSERSERVER, align 4, !tbaa !6 %31 = load i32, ptr @Anum_pg_user_mapping_oid, align 4, !tbaa !6 %32 = tail call i32 @ObjectIdGetDatum(i32 noundef %23) #3 %33 = load i32, ptr %26, align 4, !tbaa !17 %34 = tail call i32 @ObjectIdGetDatum(i32 noundef %33) #3 %35 = tail call i32 @GetSysCacheOid2(i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %34) #3 %36 = tail call i64 @OidIsValid(i32 noundef %35) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %59, label %38 38: ; preds = %22 %39 = getelementptr inbounds i8, ptr %0, i64 8 %40 = load i64, ptr %39, align 8, !tbaa !19 %41 = icmp eq i64 %40, 0 %42 = load i32, ptr @ERRCODE_DUPLICATE_OBJECT, align 4, !tbaa !6 br i1 %41, label %52, label %43 43: ; preds = %38 %44 = load i32, ptr @NOTICE, align 4, !tbaa !6 %45 = tail call i32 @errcode(i32 noundef %42) #3 %46 = tail call i32 @MappingUserName(i32 noundef %23) #3 %47 = load i32, ptr %24, align 4, !tbaa !16 %48 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %46, i32 noundef %47) #3 %49 = tail call i32 @ereport(i32 noundef %44, i32 noundef %48) #3 %50 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !6 %51 = tail call i32 @table_close(ptr noundef %13, i32 noundef %50) #3 br label %122 52: ; preds = %38 %53 = load i32, ptr @ERROR, align 4, !tbaa !6 %54 = tail call i32 @errcode(i32 noundef %42) #3 %55 = tail call i32 @MappingUserName(i32 noundef %23) #3 %56 = load i32, ptr %24, align 4, !tbaa !16 %57 = tail call i32 @errmsg(ptr noundef nonnull @.str.1, i32 noundef %55, i32 noundef %56) #3 %58 = tail call i32 @ereport(i32 noundef %53, i32 noundef %57) #3 br label %59 59: ; preds = %52, %22 %60 = getelementptr inbounds i8, ptr %26, i64 4 %61 = load i32, ptr %60, align 4, !tbaa !20 %62 = tail call ptr @GetForeignDataWrapper(i32 noundef %61) #3 %63 = shl i32 %4, 2 %64 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %63) #3 %65 = call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef %63) #3 %66 = load i32, ptr @UserMappingOidIndexId, align 4, !tbaa !6 %67 = load i32, ptr @Anum_pg_user_mapping_oid, align 4, !tbaa !6 %68 = call i32 @GetNewOidWithIndex(ptr noundef %13, i32 noundef %66, i32 noundef %67) #3 %69 = call i32 @ObjectIdGetDatum(i32 noundef %68) #3 %70 = load i32, ptr @Anum_pg_user_mapping_oid, align 4, !tbaa !6 %71 = sext i32 %70 to i64 %72 = getelementptr i32, ptr %6, i64 %71 %73 = getelementptr i8, ptr %72, i64 -4 store i32 %69, ptr %73, align 4, !tbaa !6 %74 = call i32 @ObjectIdGetDatum(i32 noundef %23) #3 %75 = load i32, ptr @Anum_pg_user_mapping_umuser, align 4, !tbaa !6 %76 = sext i32 %75 to i64 %77 = getelementptr i32, ptr %6, i64 %76 %78 = getelementptr i8, ptr %77, i64 -4 store i32 %74, ptr %78, align 4, !tbaa !6 %79 = load i32, ptr %26, align 4, !tbaa !17 %80 = call i32 @ObjectIdGetDatum(i32 noundef %79) #3 %81 = load i32, ptr @Anum_pg_user_mapping_umserver, align 4, !tbaa !6 %82 = sext i32 %81 to i64 %83 = getelementptr i32, ptr %6, i64 %82 %84 = getelementptr i8, ptr %83, i64 -4 store i32 %80, ptr %84, align 4, !tbaa !6 %85 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !6 %86 = call i32 @PointerGetDatum(ptr noundef null) #3 %87 = load i32, ptr %0, align 8, !tbaa !21 %88 = load i32, ptr %62, align 4, !tbaa !22 %89 = call i32 @transformGenericOptions(i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88) #3 %90 = call i32 @DatumGetPointer(i32 noundef %89) #3 %91 = call i64 @PointerIsValid(i32 noundef %90) #3 %92 = icmp eq i64 %91, 0 %93 = load i32, ptr @Anum_pg_user_mapping_umoptions, align 4, !tbaa !6 %94 = sext i32 %93 to i64 %95 = select i1 %92, ptr %7, ptr %6 %96 = select i1 %92, i32 1, i32 %89 %97 = getelementptr i32, ptr %95, i64 %94 %98 = getelementptr i8, ptr %97, i64 -4 store i32 %96, ptr %98, align 4, !tbaa !6 %99 = load i32, ptr %13, align 4, !tbaa !24 %100 = call i32 @heap_form_tuple(i32 noundef %99, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %101 = call i32 @CatalogTupleInsert(ptr noundef nonnull %13, i32 noundef %100) #3 %102 = call i32 @heap_freetuple(i32 noundef %100) #3 %103 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !6 %104 = getelementptr inbounds i8, ptr %2, i64 12 store i32 %103, ptr %104, align 4, !tbaa !26 %105 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %68, ptr %105, align 8, !tbaa !28 store i64 0, ptr %2, align 8, !tbaa !29 %106 = load i32, ptr @ForeignServerRelationId, align 4, !tbaa !6 %107 = getelementptr inbounds i8, ptr %3, i64 12 store i32 %106, ptr %107, align 4, !tbaa !26 %108 = load i32, ptr %26, align 4, !tbaa !17 %109 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %108, ptr %109, align 8, !tbaa !28 store i64 0, ptr %3, align 8, !tbaa !29 %110 = load i32, ptr @DEPENDENCY_NORMAL, align 4, !tbaa !6 %111 = call i32 @recordDependencyOn(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %110) #3 %112 = call i64 @OidIsValid(i32 noundef %23) #3 %113 = icmp eq i64 %112, 0 br i1 %113, label %117, label %114 114: ; preds = %59 %115 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !6 %116 = call i32 @recordDependencyOnOwner(i32 noundef %115, i32 noundef %68, i32 noundef %23) #3 br label %117 117: ; preds = %114, %59 %118 = load i32, ptr @UserMappingRelationId, align 4, !tbaa !6 %119 = call i32 @InvokeObjectPostCreateHook(i32 noundef %118, i32 noundef %68, i32 noundef 0) #3 %120 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !6 %121 = call i32 @table_close(ptr noundef nonnull %13, i32 noundef %120) #3 br label %122 122: ; preds = %117, %43 %123 = phi ptr [ %105, %117 ], [ getelementptr inbounds (i8, ptr @InvalidObjectAddress, i64 8), %43 ] %124 = phi ptr [ %2, %117 ], [ @InvalidObjectAddress, %43 ] %125 = load i64, ptr %123, align 8 %126 = load i64, ptr %124, align 8, !tbaa !15 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 %127 = insertvalue [2 x i64] poison, i64 %126, 0 %128 = insertvalue [2 x i64] %127, i64 %125, 1 ret [2 x i64] %128 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @table_open(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_rolespec_oid(i64 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @GetForeignServerByName(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @user_mapping_ddl_aclcheck(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetSysCacheOid2(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ObjectIdGetDatum(i32 noundef) local_unnamed_addr #2 declare i64 @OidIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errcode(i32 noundef) local_unnamed_addr #2 declare i32 @errmsg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MappingUserName(i32 noundef) local_unnamed_addr #2 declare i32 @table_close(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @GetForeignDataWrapper(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetNewOidWithIndex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @transformGenericOptions(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PointerGetDatum(ptr noundef) local_unnamed_addr #2 declare i64 @PointerIsValid(i32 noundef) local_unnamed_addr #2 declare i32 @DatumGetPointer(i32 noundef) local_unnamed_addr #2 declare i32 @heap_form_tuple(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CatalogTupleInsert(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @heap_freetuple(i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @recordDependencyOnOwner(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @InvokeObjectPostCreateHook(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, !12, i64 16} !11 = !{!"TYPE_23__", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_18__", !12, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!11, !7, i64 4} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_21__", !7, i64 0, !7, i64 4} !19 = !{!11, !12, i64 8} !20 = !{!18, !7, i64 4} !21 = !{!11, !7, i64 0} !22 = !{!23, !7, i64 0} !23 = !{!"TYPE_22__", !7, i64 0} !24 = !{!25, !7, i64 0} !25 = !{!"TYPE_19__", !7, i64 0} !26 = !{!27, !7, i64 12} !27 = !{!"TYPE_20__", !12, i64 0, !7, i64 8, !7, i64 12} !28 = !{!27, !7, i64 8} !29 = !{!27, !12, i64 0}
postgres_src_backend_commands_extr_foreigncmds.c_CreateUserMapping
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/cpufreq/extr_pmufreq.c_pmufreq_get.c' source_filename = "AnghaBench/freebsd/sys/powerpc/cpufreq/extr_pmufreq.c_pmufreq_get.c" target datalayout = "e-m:e-p270:32:32-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.cf_setting = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pmufreq_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pmufreq_get(i32 noundef %0, ptr noundef writeonly %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %4, label %6 4: ; preds = %2 %5 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %10 6: ; preds = %2 %7 = tail call ptr @device_get_softc(i32 noundef %0) #2 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = getelementptr inbounds %struct.cf_setting, ptr %1, i64 0, i32 1 store i32 %8, ptr %9, align 4, !tbaa !11 store i32 %0, ptr %1, align 4, !tbaa !13 br label %10 10: ; preds = %6, %4 %11 = phi i32 [ %5, %4 ], [ 0, %6 ] ret i32 %11 } declare ptr @device_get_softc(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 = !{!"pmufreq_softc", !6, i64 0} !11 = !{!12, !6, i64 4} !12 = !{!"cf_setting", !6, i64 0, !6, i64 4} !13 = !{!12, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/cpufreq/extr_pmufreq.c_pmufreq_get.c' source_filename = "AnghaBench/freebsd/sys/powerpc/cpufreq/extr_pmufreq.c_pmufreq_get.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 @pmufreq_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pmufreq_get(i32 noundef %0, ptr noundef writeonly %1) #0 { %3 = icmp eq ptr %1, null br i1 %3, label %4, label %6 4: ; preds = %2 %5 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %10 6: ; preds = %2 %7 = tail call ptr @device_get_softc(i32 noundef %0) #2 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %8, ptr %9, align 4, !tbaa !12 store i32 %0, ptr %1, align 4, !tbaa !14 br label %10 10: ; preds = %6, %4 %11 = phi i32 [ %5, %4 ], [ 0, %6 ] ret i32 %11 } declare ptr @device_get_softc(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 = !{!"pmufreq_softc", !7, i64 0} !12 = !{!13, !7, i64 4} !13 = !{!"cf_setting", !7, i64 0, !7, i64 4} !14 = !{!13, !7, i64 0}
freebsd_sys_powerpc_cpufreq_extr_pmufreq.c_pmufreq_get
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_set_alive.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_set_alive.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HCLGE_MBX_SET_ALIVE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hclgevf_set_alive], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hclgevf_set_alive(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = tail call ptr @hclgevf_ae_get_hdev(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = icmp ne i32 %1, 0 %6 = zext i1 %5 to i32 store i32 %6, ptr %3, align 4, !tbaa !5 %7 = load i32, ptr @HCLGE_MBX_SET_ALIVE, align 4, !tbaa !5 %8 = call i32 @hclgevf_send_mbx_msg(ptr noundef %4, i32 noundef %7, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 1, i32 noundef 0, ptr noundef null, i32 noundef 0) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #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 ptr @hclgevf_ae_get_hdev(ptr noundef) local_unnamed_addr #2 declare i32 @hclgevf_send_mbx_msg(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_set_alive.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/extr_hclgevf_main.c_hclgevf_set_alive.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HCLGE_MBX_SET_ALIVE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hclgevf_set_alive], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hclgevf_set_alive(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = tail call ptr @hclgevf_ae_get_hdev(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = icmp ne i32 %1, 0 %6 = zext i1 %5 to i32 store i32 %6, ptr %3, align 4, !tbaa !6 %7 = load i32, ptr @HCLGE_MBX_SET_ALIVE, align 4, !tbaa !6 %8 = call i32 @hclgevf_send_mbx_msg(ptr noundef %4, i32 noundef %7, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 1, i32 noundef 0, ptr noundef null, i32 noundef 0) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #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 ptr @hclgevf_ae_get_hdev(ptr noundef) local_unnamed_addr #2 declare i32 @hclgevf_send_mbx_msg(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_hisilicon_hns3_hns3vf_extr_hclgevf_main.c_hclgevf_set_alive
; ModuleID = 'AnghaBench/linux/drivers/staging/qlge/extr_qlge_ethtool.c_ql_set_phys_id.c' source_filename = "AnghaBench/linux/drivers/staging/qlge/extr_qlge_ethtool.c_ql_set_phys_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" @EIO = dso_local local_unnamed_addr global i32 0, align 4 @QL_LED_BLINK = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ql_set_phys_id], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ql_set_phys_id(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 switch i32 %1, label %20 [ i32 129, label %4 i32 128, label %13 ] 4: ; preds = %2 %5 = tail call i32 @ql_mb_get_led_cfg(ptr noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @EIO, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %23 10: ; preds = %4 %11 = load i32, ptr @QL_LED_BLINK, align 4, !tbaa !5 %12 = tail call i32 @ql_mb_set_led_cfg(ptr noundef %3, i32 noundef %11) #2 br label %23 13: ; preds = %2 %14 = load i32, ptr %3, align 4, !tbaa !9 %15 = tail call i32 @ql_mb_set_led_cfg(ptr noundef nonnull %3, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %23, label %17 17: ; preds = %13 %18 = load i32, ptr @EIO, align 4, !tbaa !5 %19 = sub nsw i32 0, %18 br label %23 20: ; preds = %2 %21 = load i32, ptr @EINVAL, align 4, !tbaa !5 %22 = sub nsw i32 0, %21 br label %23 23: ; preds = %13, %20, %17, %10, %7 %24 = phi i32 [ %22, %20 ], [ %19, %17 ], [ %9, %7 ], [ 0, %10 ], [ 0, %13 ] ret i32 %24 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ql_mb_get_led_cfg(ptr noundef) local_unnamed_addr #1 declare i32 @ql_mb_set_led_cfg(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ql_adapter", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/qlge/extr_qlge_ethtool.c_ql_set_phys_id.c' source_filename = "AnghaBench/linux/drivers/staging/qlge/extr_qlge_ethtool.c_ql_set_phys_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EIO = common local_unnamed_addr global i32 0, align 4 @QL_LED_BLINK = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ql_set_phys_id], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @ql_set_phys_id(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 switch i32 %1, label %20 [ i32 129, label %4 i32 128, label %13 ] 4: ; preds = %2 %5 = tail call i32 @ql_mb_get_led_cfg(ptr noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr @EIO, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %23 10: ; preds = %4 %11 = load i32, ptr @QL_LED_BLINK, align 4, !tbaa !6 %12 = tail call i32 @ql_mb_set_led_cfg(ptr noundef %3, i32 noundef %11) #2 br label %23 13: ; preds = %2 %14 = load i32, ptr %3, align 4, !tbaa !10 %15 = tail call i32 @ql_mb_set_led_cfg(ptr noundef nonnull %3, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %23, label %17 17: ; preds = %13 %18 = load i32, ptr @EIO, align 4, !tbaa !6 %19 = sub nsw i32 0, %18 br label %23 20: ; preds = %2 %21 = load i32, ptr @EINVAL, align 4, !tbaa !6 %22 = sub nsw i32 0, %21 br label %23 23: ; preds = %13, %20, %17, %10, %7 %24 = phi i32 [ %22, %20 ], [ %19, %17 ], [ %9, %7 ], [ 0, %10 ], [ 0, %13 ] ret i32 %24 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ql_mb_get_led_cfg(ptr noundef) local_unnamed_addr #1 declare i32 @ql_mb_set_led_cfg(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ql_adapter", !7, i64 0}
linux_drivers_staging_qlge_extr_qlge_ethtool.c_ql_set_phys_id
; ModuleID = 'AnghaBench/reactos/dll/win32/msxml3/extr_schema.c_SchemaCache_create.c' source_filename = "AnghaBench/reactos/dll/win32/msxml3/extr_schema.c_SchemaCache_create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [102 x i8] c"This program tried to use a SchemaCache object, but\0Alibxml2 support was not present at compile time.\0A\00", align 1 @E_NOTIMPL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @SchemaCache_create(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = tail call i32 @MESSAGE(ptr noundef nonnull @.str) #2 %4 = load i32, ptr @E_NOTIMPL, align 4, !tbaa !5 ret i32 %4 } declare i32 @MESSAGE(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/reactos/dll/win32/msxml3/extr_schema.c_SchemaCache_create.c' source_filename = "AnghaBench/reactos/dll/win32/msxml3/extr_schema.c_SchemaCache_create.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 [102 x i8] c"This program tried to use a SchemaCache object, but\0Alibxml2 support was not present at compile time.\0A\00", align 1 @E_NOTIMPL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @SchemaCache_create(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = tail call i32 @MESSAGE(ptr noundef nonnull @.str) #2 %4 = load i32, ptr @E_NOTIMPL, align 4, !tbaa !6 ret i32 %4 } declare i32 @MESSAGE(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"}
reactos_dll_win32_msxml3_extr_schema.c_SchemaCache_create
; ModuleID = 'AnghaBench/linux/drivers/net/extr_sungem_phy.c_genmii_read_link.c' source_filename = "AnghaBench/linux/drivers/net/extr_sungem_phy.c_genmii_read_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.mii_phy = type { i64, i32, i32, i64 } @MII_LPA = dso_local local_unnamed_addr global i32 0, align 4 @LPA_10FULL = dso_local local_unnamed_addr global i32 0, align 4 @LPA_100FULL = dso_local local_unnamed_addr global i32 0, align 4 @DUPLEX_FULL = dso_local local_unnamed_addr global i32 0, align 4 @DUPLEX_HALF = dso_local local_unnamed_addr global i32 0, align 4 @LPA_100HALF = dso_local local_unnamed_addr global i32 0, align 4 @SPEED_100 = dso_local local_unnamed_addr global i32 0, align 4 @SPEED_10 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @genmii_read_link], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @genmii_read_link(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.mii_phy, ptr %0, i64 0, i32 3 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %25, label %5 5: ; preds = %1 %6 = load i32, ptr @MII_LPA, align 4, !tbaa !11 %7 = tail call i32 @sungem_phy_read(ptr noundef nonnull %0, i32 noundef %6) #2 %8 = load i32, ptr @LPA_10FULL, align 4, !tbaa !11 %9 = load i32, ptr @LPA_100FULL, align 4, !tbaa !11 %10 = or i32 %9, %8 %11 = and i32 %10, %7 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @DUPLEX_HALF, align 4 %14 = load i32, ptr @DUPLEX_FULL, align 4 %15 = select i1 %12, i32 %13, i32 %14 %16 = getelementptr inbounds %struct.mii_phy, ptr %0, i64 0, i32 2 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @LPA_100HALF, align 4, !tbaa !11 %18 = or i32 %17, %9 %19 = and i32 %18, %7 %20 = icmp eq i32 %19, 0 %21 = load i32, ptr @SPEED_10, align 4 %22 = load i32, ptr @SPEED_100, align 4 %23 = select i1 %20, i32 %21, i32 %22 %24 = getelementptr inbounds %struct.mii_phy, ptr %0, i64 0, i32 1 store i32 %23, ptr %24, align 8 store i64 0, ptr %0, align 8, !tbaa !12 br label %25 25: ; preds = %5, %1 ret i32 0 } declare i32 @sungem_phy_read(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 16} !6 = !{!"mii_phy", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/extr_sungem_phy.c_genmii_read_link.c' source_filename = "AnghaBench/linux/drivers/net/extr_sungem_phy.c_genmii_read_link.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MII_LPA = common local_unnamed_addr global i32 0, align 4 @LPA_10FULL = common local_unnamed_addr global i32 0, align 4 @LPA_100FULL = common local_unnamed_addr global i32 0, align 4 @DUPLEX_FULL = common local_unnamed_addr global i32 0, align 4 @DUPLEX_HALF = common local_unnamed_addr global i32 0, align 4 @LPA_100HALF = common local_unnamed_addr global i32 0, align 4 @SPEED_100 = common local_unnamed_addr global i32 0, align 4 @SPEED_10 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @genmii_read_link], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @genmii_read_link(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %25, label %5 5: ; preds = %1 %6 = load i32, ptr @MII_LPA, align 4, !tbaa !12 %7 = tail call i32 @sungem_phy_read(ptr noundef nonnull %0, i32 noundef %6) #2 %8 = load i32, ptr @LPA_10FULL, align 4, !tbaa !12 %9 = load i32, ptr @LPA_100FULL, align 4, !tbaa !12 %10 = or i32 %9, %8 %11 = and i32 %10, %7 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @DUPLEX_HALF, align 4 %14 = load i32, ptr @DUPLEX_FULL, align 4 %15 = select i1 %12, i32 %13, i32 %14 %16 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @LPA_100HALF, align 4, !tbaa !12 %18 = or i32 %17, %9 %19 = and i32 %18, %7 %20 = icmp eq i32 %19, 0 %21 = load i32, ptr @SPEED_10, align 4 %22 = load i32, ptr @SPEED_100, align 4 %23 = select i1 %20, i32 %21, i32 %22 %24 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %23, ptr %24, align 8 store i64 0, ptr %0, align 8, !tbaa !13 br label %25 25: ; preds = %5, %1 ret i32 0 } declare i32 @sungem_phy_read(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 16} !7 = !{!"mii_phy", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 0}
linux_drivers_net_extr_sungem_phy.c_genmii_read_link
; ModuleID = 'AnghaBench/TDengine/src/util/src/extr_ttimer.c_addTimer.c' source_filename = "AnghaBench/TDengine/src/util/src/extr_ttimer.c_addTimer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { i32, ptr } %struct.TYPE_8__ = type { i32, ptr, i32 } %struct.TYPE_9__ = type { ptr } @wheels = dso_local local_unnamed_addr global i32 0, align 4 @timerMap = dso_local local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @addTimer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @addTimer(ptr noundef %0) #0 { %2 = tail call i32 @timerAddRef(ptr noundef %0) #2 %3 = load i32, ptr @wheels, align 4, !tbaa !5 %4 = tail call i32 @tListLen(i32 noundef %3) #2 %5 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 store i32 %4, ptr %5, align 8, !tbaa !9 %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = load i32, ptr @timerMap, align 8, !tbaa !13 %8 = srem i32 %6, %7 %9 = load ptr, ptr getelementptr inbounds (%struct.TYPE_10__, ptr @timerMap, i64 0, i32 1), align 8, !tbaa !15 %10 = sext i32 %8 to i64 %11 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 %10 %12 = tail call i32 @lockTimerList(ptr noundef %11) #2 %13 = load ptr, ptr %11, align 8, !tbaa !16 %14 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 store ptr %13, ptr %14, align 8, !tbaa !18 store ptr %0, ptr %11, align 8, !tbaa !16 %15 = tail call i32 @unlockTimerList(ptr noundef nonnull %11) #2 ret void } declare i32 @timerAddRef(ptr noundef) local_unnamed_addr #1 declare i32 @tListLen(i32 noundef) local_unnamed_addr #1 declare i32 @lockTimerList(ptr noundef) local_unnamed_addr #1 declare i32 @unlockTimerList(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 16} !10 = !{!"TYPE_8__", !6, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_10__", !6, i64 0, !11, i64 8} !15 = !{!14, !11, i64 8} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_9__", !11, i64 0} !18 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/TDengine/src/util/src/extr_ttimer.c_addTimer.c' source_filename = "AnghaBench/TDengine/src/util/src/extr_ttimer.c_addTimer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { i32, ptr } %struct.TYPE_9__ = type { ptr } @wheels = common local_unnamed_addr global i32 0, align 4 @timerMap = common local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @addTimer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @addTimer(ptr noundef %0) #0 { %2 = tail call i32 @timerAddRef(ptr noundef %0) #2 %3 = load i32, ptr @wheels, align 4, !tbaa !6 %4 = tail call i32 @tListLen(i32 noundef %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %4, ptr %5, align 8, !tbaa !10 %6 = load i32, ptr %0, align 8, !tbaa !13 %7 = load i32, ptr @timerMap, align 8, !tbaa !14 %8 = srem i32 %6, %7 %9 = load ptr, ptr getelementptr inbounds (i8, ptr @timerMap, i64 8), align 8, !tbaa !16 %10 = sext i32 %8 to i64 %11 = getelementptr inbounds %struct.TYPE_9__, ptr %9, i64 %10 %12 = tail call i32 @lockTimerList(ptr noundef %11) #2 %13 = load ptr, ptr %11, align 8, !tbaa !17 %14 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %13, ptr %14, align 8, !tbaa !19 store ptr %0, ptr %11, align 8, !tbaa !17 %15 = tail call i32 @unlockTimerList(ptr noundef nonnull %11) #2 ret void } declare i32 @timerAddRef(ptr noundef) local_unnamed_addr #1 declare i32 @tListLen(i32 noundef) local_unnamed_addr #1 declare i32 @lockTimerList(ptr noundef) local_unnamed_addr #1 declare i32 @unlockTimerList(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 16} !11 = !{!"TYPE_8__", !7, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_10__", !7, i64 0, !12, i64 8} !16 = !{!15, !12, i64 8} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_9__", !12, i64 0} !19 = !{!11, !12, i64 8}
TDengine_src_util_src_extr_ttimer.c_addTimer
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_mkdeps.c_deps_save.c' source_filename = "AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_mkdeps.c_deps_save.c" target datalayout = "e-m:e-p270:32:32-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.deps = type { i64, ptr } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @deps_save(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = tail call i32 @fwrite(ptr noundef %0, i64 noundef 8, i32 noundef 1, ptr noundef %1) #4 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %33 6: ; preds = %2 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %33, label %9 9: ; preds = %6 %10 = getelementptr inbounds %struct.deps, ptr %0, i64 0, i32 1 br label %16 11: ; preds = %25 %12 = add i32 %18, 1 %13 = zext i32 %12 to i64 %14 = load i64, ptr %0, align 8, !tbaa !5 %15 = icmp ugt i64 %14, %13 br i1 %15, label %16, label %33, !llvm.loop !11 16: ; preds = %9, %11 %17 = phi i64 [ 0, %9 ], [ %13, %11 ] %18 = phi i32 [ 0, %9 ], [ %12, %11 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %19 = load ptr, ptr %10, align 8, !tbaa !13 %20 = getelementptr inbounds ptr, ptr %19, i64 %17 %21 = load ptr, ptr %20, align 8, !tbaa !14 %22 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %21) store i64 %22, ptr %3, align 8, !tbaa !15 %23 = call i32 @fwrite(ptr noundef nonnull %3, i64 noundef 8, i32 noundef 1, ptr noundef %1) #4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %32 25: ; preds = %16 %26 = load ptr, ptr %10, align 8, !tbaa !13 %27 = getelementptr inbounds ptr, ptr %26, i64 %17 %28 = load ptr, ptr %27, align 8, !tbaa !14 %29 = load i64, ptr %3, align 8, !tbaa !15 %30 = call i32 @fwrite(ptr noundef %28, i64 noundef %29, i32 noundef 1, ptr noundef %1) #4 %31 = icmp eq i32 %30, 1 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 br i1 %31, label %11, label %33 32: ; preds = %16 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 br label %33 33: ; preds = %25, %11, %6, %32, %2 %34 = phi i32 [ -1, %2 ], [ -1, %32 ], [ 0, %6 ], [ -1, %25 ], [ 0, %11 ] ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-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 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 #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 = !{!"deps", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_mkdeps.c_deps_save.c' source_filename = "AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_mkdeps.c_deps_save.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @deps_save(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = tail call i32 @fwrite(ptr noundef %0, i64 noundef 8, i32 noundef 1, ptr noundef %1) #4 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %33 6: ; preds = %2 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %33, label %9 9: ; preds = %6 %10 = getelementptr inbounds i8, ptr %0, i64 8 br label %16 11: ; preds = %25 %12 = add i32 %18, 1 %13 = zext i32 %12 to i64 %14 = load i64, ptr %0, align 8, !tbaa !6 %15 = icmp ugt i64 %14, %13 br i1 %15, label %16, label %33, !llvm.loop !12 16: ; preds = %9, %11 %17 = phi i64 [ 0, %9 ], [ %13, %11 ] %18 = phi i32 [ 0, %9 ], [ %12, %11 ] call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %19 = load ptr, ptr %10, align 8, !tbaa !14 %20 = getelementptr inbounds ptr, ptr %19, i64 %17 %21 = load ptr, ptr %20, align 8, !tbaa !15 %22 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %21) store i64 %22, ptr %3, align 8, !tbaa !16 %23 = call i32 @fwrite(ptr noundef nonnull %3, i64 noundef 8, i32 noundef 1, ptr noundef %1) #4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %32 25: ; preds = %16 %26 = load ptr, ptr %10, align 8, !tbaa !14 %27 = getelementptr inbounds ptr, ptr %26, i64 %17 %28 = load ptr, ptr %27, align 8, !tbaa !15 %29 = load i64, ptr %3, align 8, !tbaa !16 %30 = call i32 @fwrite(ptr noundef %28, i64 noundef %29, i32 noundef 1, ptr noundef %1) #4 %31 = icmp eq i32 %30, 1 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 br i1 %31, label %11, label %33 32: ; preds = %16 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 br label %33 33: ; preds = %25, %11, %6, %32, %2 %34 = phi i32 [ -1, %2 ], [ -1, %32 ], [ 0, %6 ], [ -1, %25 ], [ 0, %11 ] ret i32 %34 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 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 #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 = !{!"deps", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!7, !11, i64 8} !15 = !{!11, !11, i64 0} !16 = !{!8, !8, i64 0}
freebsd_contrib_gcclibs_libcpp_extr_mkdeps.c_deps_save
; ModuleID = 'AnghaBench/linux/sound/isa/sb/extr_sb_mixer.c_snd_sbmixer_get_single.c' source_filename = "AnghaBench/linux/sound/isa/sb/extr_sb_mixer.c_snd_sbmixer_get_single.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_sbmixer_get_single], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @snd_sbmixer_get_single(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = and i32 %4, 255 %6 = lshr i32 %4, 16 %7 = and i32 %6, 255 %8 = lshr i32 %4, 24 %9 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %10 = tail call i32 @snd_sbmixer_read(ptr noundef %3, i32 noundef %5) #2 %11 = ashr i32 %10, %7 %12 = and i32 %11, %8 %13 = trunc i32 %12 to i8 %14 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 %15 = load ptr, ptr %1, align 8, !tbaa !10 store i8 %13, ptr %15, align 1, !tbaa !15 ret i32 0 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_sbmixer_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_kcontrol", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 0} !11 = !{!"snd_ctl_elem_value", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/sound/isa/sb/extr_sb_mixer.c_snd_sbmixer_get_single.c' source_filename = "AnghaBench/linux/sound/isa/sb/extr_sb_mixer.c_snd_sbmixer_get_single.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @snd_sbmixer_get_single], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @snd_sbmixer_get_single(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = and i32 %4, 255 %6 = lshr i32 %4, 16 %7 = and i32 %6, 255 %8 = lshr i32 %4, 24 %9 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %10 = tail call i32 @snd_sbmixer_read(ptr noundef %3, i32 noundef %5) #2 %11 = ashr i32 %10, %7 %12 = and i32 %11, %8 %13 = trunc nuw i32 %12 to i8 %14 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 %15 = load ptr, ptr %1, align 8, !tbaa !11 store i8 %13, ptr %15, align 1, !tbaa !16 ret i32 0 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_sbmixer_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_kcontrol", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !15, i64 0} !12 = !{!"snd_ctl_elem_value", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!9, !9, i64 0}
linux_sound_isa_sb_extr_sb_mixer.c_snd_sbmixer_get_single
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_pretimeout_panic.c_pretimeout_panic.c' source_filename = "AnghaBench/linux/drivers/watchdog/extr_pretimeout_panic.c_pretimeout_panic.c" target datalayout = "e-m:e-p270:32:32-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 [27 x i8] c"watchdog pretimeout event\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @pretimeout_panic], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pretimeout_panic(ptr nocapture readnone %0) #0 { %2 = tail call i32 @panic(ptr noundef nonnull @.str) #2 ret void } declare i32 @panic(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/watchdog/extr_pretimeout_panic.c_pretimeout_panic.c' source_filename = "AnghaBench/linux/drivers/watchdog/extr_pretimeout_panic.c_pretimeout_panic.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [27 x i8] c"watchdog pretimeout event\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @pretimeout_panic], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pretimeout_panic(ptr nocapture readnone %0) #0 { %2 = tail call i32 @panic(ptr noundef nonnull @.str) #2 ret void } declare i32 @panic(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_watchdog_extr_pretimeout_panic.c_pretimeout_panic
; ModuleID = 'AnghaBench/tengine/src/http/modules/extr_ngx_http_proxy_module.c_ngx_http_proxy_init_headers.c' source_filename = "AnghaBench/tengine/src/http/modules/extr_ngx_http_proxy_module.c_ngx_http_proxy_init_headers.c" target datalayout = "e-m:e-p270:32:32-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_27__ = type { i64, ptr } %struct.TYPE_25__ = type { ptr, ptr, i32, i32, i32, ptr, ptr } %struct.TYPE_34__ = type { ptr, ptr, ptr, ptr, ptr } %struct.TYPE_26__ = type { i32, i32 } %struct.TYPE_36__ = type { %struct.TYPE_28__, ptr, ptr, i32 } %struct.TYPE_28__ = type { i64 } %struct.TYPE_35__ = type { i32, i32, ptr } %struct.TYPE_29__ = type { i64, ptr } %struct.TYPE_32__ = type { %struct.TYPE_31__, %struct.TYPE_30__ } %struct.TYPE_31__ = type { i64 } %struct.TYPE_30__ = type { i32, i32 } %struct.TYPE_24__ = type { ptr, i32, %struct.TYPE_30__ } %struct.TYPE_33__ = type { i32, i64 } @NGX_OK = dso_local local_unnamed_addr global i64 0, align 8 @NGX_ERROR = dso_local local_unnamed_addr global i64 0, align 8 @ngx_http_script_copy_len_code = dso_local local_unnamed_addr global i64 0, align 8 @ngx_http_script_copy_code = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [19 x i8] c"proxy_headers_hash\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_proxy_init_headers], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @ngx_http_proxy_init_headers(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = alloca %struct.TYPE_27__, align 8 %6 = alloca %struct.TYPE_27__, align 8 %7 = alloca %struct.TYPE_25__, align 8 %8 = alloca %struct.TYPE_34__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #4 %9 = load i64, ptr %2, align 8, !tbaa !5 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %4 %12 = load i64, ptr @NGX_OK, align 8, !tbaa !13 br label %192 13: ; preds = %4 %14 = getelementptr inbounds %struct.TYPE_26__, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = call i64 @ngx_array_init(ptr noundef nonnull %5, i32 noundef %15, i32 noundef 4, i32 noundef 24) #4 %17 = load i64, ptr @NGX_OK, align 8, !tbaa !13 %18 = icmp eq i64 %16, %17 br i1 %18, label %21, label %19 19: ; preds = %13 %20 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 21: ; preds = %13 %22 = load i32, ptr %14, align 4, !tbaa !14 %23 = call i64 @ngx_array_init(ptr noundef nonnull %6, i32 noundef %22, i32 noundef 4, i32 noundef 16) #4 %24 = load i64, ptr @NGX_OK, align 8, !tbaa !13 %25 = icmp eq i64 %23, %24 br i1 %25, label %28, label %26 26: ; preds = %21 %27 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 28: ; preds = %21 %29 = load i32, ptr %0, align 4, !tbaa !16 %30 = call ptr @ngx_array_create(i32 noundef %29, i32 noundef 64, i32 noundef 1) #4 %31 = getelementptr inbounds %struct.TYPE_36__, ptr %2, i64 0, i32 1 store ptr %30, ptr %31, align 8, !tbaa !17 %32 = icmp eq ptr %30, null br i1 %32, label %33, label %35 33: ; preds = %28 %34 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 35: ; preds = %28 %36 = load i32, ptr %0, align 4, !tbaa !16 %37 = call ptr @ngx_array_create(i32 noundef %36, i32 noundef 512, i32 noundef 1) #4 %38 = getelementptr inbounds %struct.TYPE_36__, ptr %2, i64 0, i32 2 store ptr %37, ptr %38, align 8, !tbaa !18 %39 = icmp eq ptr %37, null br i1 %39, label %40, label %42 40: ; preds = %35 %41 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 42: ; preds = %35 %43 = getelementptr inbounds %struct.TYPE_35__, ptr %1, i64 0, i32 2 %44 = load ptr, ptr %43, align 8, !tbaa !19 %45 = icmp eq ptr %44, null br i1 %45, label %63, label %46 46: ; preds = %42 %47 = getelementptr inbounds %struct.TYPE_29__, ptr %44, i64 0, i32 1 %48 = load ptr, ptr %47, align 8, !tbaa !21 %49 = load i64, ptr %44, align 8, !tbaa !23 %50 = icmp eq i64 %49, 0 br i1 %50, label %63, label %51 51: ; preds = %46, %57 %52 = phi i64 [ %59, %57 ], [ 0, %46 ] %53 = call ptr @ngx_array_push(ptr noundef nonnull %6) #4 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %57 55: ; preds = %51 %56 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 57: ; preds = %51 %58 = getelementptr inbounds %struct.TYPE_32__, ptr %48, i64 %52 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %58, i64 16, i1 false), !tbaa.struct !24 %59 = add nuw i64 %52, 1 %60 = load ptr, ptr %43, align 8, !tbaa !19 %61 = load i64, ptr %60, align 8, !tbaa !23 %62 = icmp ult i64 %59, %61 br i1 %62, label %51, label %63, !llvm.loop !26 63: ; preds = %57, %46, %42 %64 = getelementptr inbounds %struct.TYPE_32__, ptr %3, i64 0, i32 1 %65 = load i32, ptr %64, align 8, !tbaa !28 %66 = icmp eq i32 %65, 0 br i1 %66, label %98, label %67 67: ; preds = %63 %68 = getelementptr inbounds %struct.TYPE_27__, ptr %6, i64 0, i32 1 br label %69 69: ; preds = %67, %93 %70 = phi ptr [ %3, %67 ], [ %94, %93 ] %71 = load ptr, ptr %68, align 8, !tbaa !32 %72 = load i64, ptr %6, align 8, !tbaa !34 %73 = icmp eq i64 %72, 0 br i1 %73, label %87, label %74 74: ; preds = %69 %75 = getelementptr inbounds %struct.TYPE_32__, ptr %70, i64 0, i32 1, i32 1 br label %80 76: ; preds = %80 %77 = add nuw i64 %81, 1 %78 = load i64, ptr %6, align 8, !tbaa !34 %79 = icmp ult i64 %77, %78 br i1 %79, label %80, label %87, !llvm.loop !35 80: ; preds = %74, %76 %81 = phi i64 [ 0, %74 ], [ %77, %76 ] %82 = load i32, ptr %75, align 4, !tbaa !36 %83 = getelementptr inbounds %struct.TYPE_32__, ptr %71, i64 %81, i32 1, i32 1 %84 = load i32, ptr %83, align 4, !tbaa !36 %85 = call i64 @ngx_strcasecmp(i32 noundef %82, i32 noundef %84) #4 %86 = icmp eq i64 %85, 0 br i1 %86, label %93, label %76 87: ; preds = %76, %69 %88 = call ptr @ngx_array_push(ptr noundef nonnull %6) #4 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %92 90: ; preds = %87 %91 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 92: ; preds = %87 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %88, ptr noundef nonnull align 8 dereferenceable(16) %70, i64 16, i1 false), !tbaa.struct !24 br label %93 93: ; preds = %80, %92 %94 = getelementptr inbounds %struct.TYPE_32__, ptr %70, i64 1 %95 = getelementptr inbounds %struct.TYPE_32__, ptr %70, i64 1, i32 1 %96 = load i32, ptr %95, align 8, !tbaa !28 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %69, !llvm.loop !37 98: ; preds = %93, %63 %99 = getelementptr inbounds %struct.TYPE_27__, ptr %6, i64 0, i32 1 %100 = load ptr, ptr %99, align 8, !tbaa !32 %101 = load i64, ptr %6, align 8, !tbaa !34 %102 = icmp eq i64 %101, 0 br i1 %102, label %174, label %103 103: ; preds = %98 %104 = getelementptr inbounds %struct.TYPE_34__, ptr %8, i64 0, i32 4 %105 = getelementptr inbounds %struct.TYPE_34__, ptr %8, i64 0, i32 3 %106 = getelementptr inbounds %struct.TYPE_36__, ptr %2, i64 0, i32 3 %107 = getelementptr inbounds %struct.TYPE_34__, ptr %8, i64 0, i32 2 %108 = getelementptr inbounds %struct.TYPE_34__, ptr %8, i64 0, i32 1 br label %109 109: ; preds = %103, %170 %110 = phi i64 [ 0, %103 ], [ %171, %170 ] %111 = call ptr @ngx_array_push(ptr noundef nonnull %5) #4 %112 = icmp eq ptr %111, null br i1 %112, label %113, label %115 113: ; preds = %109 %114 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 115: ; preds = %109 %116 = getelementptr inbounds %struct.TYPE_24__, ptr %111, i64 0, i32 2 %117 = getelementptr inbounds %struct.TYPE_32__, ptr %100, i64 %110 %118 = getelementptr inbounds %struct.TYPE_32__, ptr %100, i64 %110, i32 1 %119 = load i64, ptr %118, align 8 store i64 %119, ptr %116, align 4 %120 = getelementptr inbounds %struct.TYPE_32__, ptr %100, i64 %110, i32 1, i32 1 %121 = load i32, ptr %120, align 4, !tbaa !36 %122 = load i32, ptr %118, align 8, !tbaa !28 %123 = call i32 @ngx_hash_key_lc(i32 noundef %121, i32 noundef %122) #4 %124 = getelementptr inbounds %struct.TYPE_24__, ptr %111, i64 0, i32 1 store i32 %123, ptr %124, align 8, !tbaa !38 store ptr inttoptr (i64 1 to ptr), ptr %111, align 8, !tbaa !40 %125 = load i64, ptr %117, align 8, !tbaa !41 %126 = icmp eq i64 %125, 0 br i1 %126, label %170, label %127 127: ; preds = %115 %128 = load ptr, ptr %31, align 8, !tbaa !17 %129 = call ptr @ngx_array_push_n(ptr noundef %128, i32 noundef 16) #4 %130 = icmp eq ptr %129, null br i1 %130, label %131, label %133 131: ; preds = %127 %132 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 133: ; preds = %127 %134 = load i64, ptr @ngx_http_script_copy_len_code, align 8, !tbaa !13 %135 = getelementptr inbounds %struct.TYPE_33__, ptr %129, i64 0, i32 1 store i64 %134, ptr %135, align 8, !tbaa !42 %136 = load i32, ptr %118, align 8, !tbaa !28 store i32 %136, ptr %129, align 8, !tbaa !44 %137 = add i32 %136, 23 %138 = and i32 %137, -8 %139 = load ptr, ptr %38, align 8, !tbaa !18 %140 = call ptr @ngx_array_push_n(ptr noundef %139, i32 noundef %138) #4 %141 = icmp eq ptr %140, null br i1 %141, label %142, label %144 142: ; preds = %133 %143 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 144: ; preds = %133 %145 = load i64, ptr @ngx_http_script_copy_code, align 8, !tbaa !13 %146 = getelementptr inbounds %struct.TYPE_33__, ptr %140, i64 0, i32 1 store i64 %145, ptr %146, align 8, !tbaa !42 %147 = load i32, ptr %118, align 8, !tbaa !28 store i32 %147, ptr %140, align 8, !tbaa !44 %148 = getelementptr inbounds i32, ptr %140, i64 16 %149 = load i32, ptr %120, align 4, !tbaa !36 %150 = call i32 @ngx_memcpy(ptr noundef nonnull %148, i32 noundef %149, i32 noundef %147) #4 %151 = call i32 @ngx_memzero(ptr noundef nonnull %8, i32 noundef 40) #4 store ptr %0, ptr %104, align 8, !tbaa !45 store ptr %117, ptr %105, align 8, !tbaa !47 store ptr %106, ptr %107, align 8, !tbaa !48 store ptr %31, ptr %108, align 8, !tbaa !49 store ptr %38, ptr %8, align 8, !tbaa !50 %152 = call i64 @ngx_http_script_compile(ptr noundef nonnull %8) #4 %153 = load i64, ptr @NGX_OK, align 8, !tbaa !13 %154 = icmp eq i64 %152, %153 br i1 %154, label %157, label %155 155: ; preds = %144 %156 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 157: ; preds = %144 %158 = load ptr, ptr %31, align 8, !tbaa !17 %159 = call ptr @ngx_array_push_n(ptr noundef %158, i32 noundef 8) #4 %160 = icmp eq ptr %159, null br i1 %160, label %161, label %163 161: ; preds = %157 %162 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 163: ; preds = %157 store i64 0, ptr %159, align 8, !tbaa !13 %164 = load ptr, ptr %38, align 8, !tbaa !18 %165 = call ptr @ngx_array_push_n(ptr noundef %164, i32 noundef 8) #4 %166 = icmp eq ptr %165, null br i1 %166, label %167, label %169 167: ; preds = %163 %168 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 169: ; preds = %163 store i64 0, ptr %165, align 8, !tbaa !13 br label %170 170: ; preds = %115, %169 %171 = add nuw i64 %110, 1 %172 = load i64, ptr %6, align 8, !tbaa !34 %173 = icmp ult i64 %171, %172 br i1 %173, label %109, label %174, !llvm.loop !51 174: ; preds = %170, %98 %175 = load ptr, ptr %31, align 8, !tbaa !17 %176 = call ptr @ngx_array_push_n(ptr noundef %175, i32 noundef 8) #4 %177 = icmp eq ptr %176, null br i1 %177, label %178, label %180 178: ; preds = %174 %179 = load i64, ptr @NGX_ERROR, align 8, !tbaa !13 br label %192 180: ; preds = %174 store i64 0, ptr %176, align 8, !tbaa !13 %181 = getelementptr inbounds %struct.TYPE_25__, ptr %7, i64 0, i32 6 store ptr %2, ptr %181, align 8, !tbaa !52 %182 = getelementptr inbounds %struct.TYPE_25__, ptr %7, i64 0, i32 5 store ptr @ngx_hash_key_lc, ptr %182, align 8, !tbaa !54 %183 = getelementptr inbounds %struct.TYPE_25__, ptr %7, i64 0, i32 3 %184 = load <2 x i32>, ptr %1, align 8, !tbaa !25 store <2 x i32> %184, ptr %183, align 4, !tbaa !25 store ptr @.str, ptr %7, align 8, !tbaa !55 %185 = load i32, ptr %0, align 4, !tbaa !16 %186 = getelementptr inbounds %struct.TYPE_25__, ptr %7, i64 0, i32 2 store i32 %185, ptr %186, align 8, !tbaa !56 %187 = getelementptr inbounds %struct.TYPE_25__, ptr %7, i64 0, i32 1 store ptr null, ptr %187, align 8, !tbaa !57 %188 = getelementptr inbounds %struct.TYPE_27__, ptr %5, i64 0, i32 1 %189 = load ptr, ptr %188, align 8, !tbaa !32 %190 = load i64, ptr %5, align 8, !tbaa !34 %191 = call i64 @ngx_hash_init(ptr noundef nonnull %7, ptr noundef %189, i64 noundef %190) #4 br label %192 192: ; preds = %180, %178, %167, %161, %155, %142, %131, %113, %90, %55, %40, %33, %26, %19, %11 %193 = phi i64 [ %12, %11 ], [ %20, %19 ], [ %27, %26 ], [ %34, %33 ], [ %41, %40 ], [ %56, %55 ], [ %91, %90 ], [ %114, %113 ], [ %132, %131 ], [ %143, %142 ], [ %156, %155 ], [ %162, %161 ], [ %168, %167 ], [ %179, %178 ], [ %191, %180 ] call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 ret i64 %193 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ngx_array_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_array_create(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_array_push(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 i64 @ngx_strcasecmp(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_hash_key_lc(i32 noundef, i32 noundef) #2 declare ptr @ngx_array_push_n(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ngx_http_script_compile(ptr noundef) local_unnamed_addr #2 declare i64 @ngx_hash_init(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !8, i64 0} !6 = !{!"TYPE_36__", !7, i64 0, !11, i64 8, !11, i64 16, !12, i64 24} !7 = !{!"TYPE_28__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !12, i64 4} !15 = !{!"TYPE_26__", !12, i64 0, !12, i64 4} !16 = !{!15, !12, i64 0} !17 = !{!6, !11, i64 8} !18 = !{!6, !11, i64 16} !19 = !{!20, !11, i64 8} !20 = !{!"TYPE_35__", !12, i64 0, !12, i64 4, !11, i64 8} !21 = !{!22, !11, i64 8} !22 = !{!"TYPE_29__", !8, i64 0, !11, i64 8} !23 = !{!22, !8, i64 0} !24 = !{i64 0, i64 8, !13, i64 8, i64 4, !25, i64 12, i64 4, !25} !25 = !{!12, !12, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!29, !12, i64 8} !29 = !{!"TYPE_32__", !30, i64 0, !31, i64 8} !30 = !{!"TYPE_31__", !8, i64 0} !31 = !{!"TYPE_30__", !12, i64 0, !12, i64 4} !32 = !{!33, !11, i64 8} !33 = !{!"TYPE_27__", !8, i64 0, !11, i64 8} !34 = !{!33, !8, i64 0} !35 = distinct !{!35, !27} !36 = !{!29, !12, i64 12} !37 = distinct !{!37, !27} !38 = !{!39, !12, i64 8} !39 = !{!"TYPE_24__", !11, i64 0, !12, i64 8, !31, i64 12} !40 = !{!39, !11, i64 0} !41 = !{!29, !8, i64 0} !42 = !{!43, !8, i64 8} !43 = !{!"TYPE_33__", !12, i64 0, !8, i64 8} !44 = !{!43, !12, i64 0} !45 = !{!46, !11, i64 32} !46 = !{!"TYPE_34__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32} !47 = !{!46, !11, i64 24} !48 = !{!46, !11, i64 16} !49 = !{!46, !11, i64 8} !50 = !{!46, !11, i64 0} !51 = distinct !{!51, !27} !52 = !{!53, !11, i64 40} !53 = !{!"TYPE_25__", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !11, i64 32, !11, i64 40} !54 = !{!53, !11, i64 32} !55 = !{!53, !11, i64 0} !56 = !{!53, !12, i64 16} !57 = !{!53, !11, i64 8}
; ModuleID = 'AnghaBench/tengine/src/http/modules/extr_ngx_http_proxy_module.c_ngx_http_proxy_init_headers.c' source_filename = "AnghaBench/tengine/src/http/modules/extr_ngx_http_proxy_module.c_ngx_http_proxy_init_headers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_27__ = type { i64, ptr } %struct.TYPE_25__ = type { ptr, ptr, i32, i32, i32, ptr, ptr } %struct.TYPE_34__ = type { ptr, ptr, ptr, ptr, ptr } %struct.TYPE_32__ = type { %struct.TYPE_31__, %struct.TYPE_30__ } %struct.TYPE_31__ = type { i64 } %struct.TYPE_30__ = type { i32, i32 } @NGX_OK = common local_unnamed_addr global i64 0, align 8 @NGX_ERROR = common local_unnamed_addr global i64 0, align 8 @ngx_http_script_copy_len_code = common local_unnamed_addr global i64 0, align 8 @ngx_http_script_copy_code = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [19 x i8] c"proxy_headers_hash\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ngx_http_proxy_init_headers], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @ngx_http_proxy_init_headers(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = alloca %struct.TYPE_27__, align 8 %6 = alloca %struct.TYPE_27__, align 8 %7 = alloca %struct.TYPE_25__, align 8 %8 = alloca %struct.TYPE_34__, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #4 %9 = load i64, ptr %2, align 8, !tbaa !6 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %4 %12 = load i64, ptr @NGX_OK, align 8, !tbaa !14 br label %192 13: ; preds = %4 %14 = getelementptr inbounds i8, ptr %0, i64 4 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = call i64 @ngx_array_init(ptr noundef nonnull %5, i32 noundef %15, i32 noundef 4, i32 noundef 24) #4 %17 = load i64, ptr @NGX_OK, align 8, !tbaa !14 %18 = icmp eq i64 %16, %17 br i1 %18, label %21, label %19 19: ; preds = %13 %20 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 21: ; preds = %13 %22 = load i32, ptr %14, align 4, !tbaa !15 %23 = call i64 @ngx_array_init(ptr noundef nonnull %6, i32 noundef %22, i32 noundef 4, i32 noundef 16) #4 %24 = load i64, ptr @NGX_OK, align 8, !tbaa !14 %25 = icmp eq i64 %23, %24 br i1 %25, label %28, label %26 26: ; preds = %21 %27 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 28: ; preds = %21 %29 = load i32, ptr %0, align 4, !tbaa !17 %30 = call ptr @ngx_array_create(i32 noundef %29, i32 noundef 64, i32 noundef 1) #4 %31 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %30, ptr %31, align 8, !tbaa !18 %32 = icmp eq ptr %30, null br i1 %32, label %33, label %35 33: ; preds = %28 %34 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 35: ; preds = %28 %36 = load i32, ptr %0, align 4, !tbaa !17 %37 = call ptr @ngx_array_create(i32 noundef %36, i32 noundef 512, i32 noundef 1) #4 %38 = getelementptr inbounds i8, ptr %2, i64 16 store ptr %37, ptr %38, align 8, !tbaa !19 %39 = icmp eq ptr %37, null br i1 %39, label %40, label %42 40: ; preds = %35 %41 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 42: ; preds = %35 %43 = getelementptr inbounds i8, ptr %1, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !20 %45 = icmp eq ptr %44, null br i1 %45, label %63, label %46 46: ; preds = %42 %47 = getelementptr inbounds i8, ptr %44, i64 8 %48 = load ptr, ptr %47, align 8, !tbaa !22 %49 = load i64, ptr %44, align 8, !tbaa !24 %50 = icmp eq i64 %49, 0 br i1 %50, label %63, label %51 51: ; preds = %46, %57 %52 = phi i64 [ %59, %57 ], [ 0, %46 ] %53 = call ptr @ngx_array_push(ptr noundef nonnull %6) #4 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %57 55: ; preds = %51 %56 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 57: ; preds = %51 %58 = getelementptr inbounds %struct.TYPE_32__, ptr %48, i64 %52 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %58, i64 16, i1 false), !tbaa.struct !25 %59 = add nuw i64 %52, 1 %60 = load ptr, ptr %43, align 8, !tbaa !20 %61 = load i64, ptr %60, align 8, !tbaa !24 %62 = icmp ult i64 %59, %61 br i1 %62, label %51, label %63, !llvm.loop !27 63: ; preds = %57, %46, %42 %64 = getelementptr inbounds i8, ptr %3, i64 8 %65 = load i32, ptr %64, align 8, !tbaa !29 %66 = icmp eq i32 %65, 0 br i1 %66, label %98, label %67 67: ; preds = %63 %68 = getelementptr inbounds i8, ptr %6, i64 8 br label %69 69: ; preds = %67, %93 %70 = phi ptr [ %3, %67 ], [ %94, %93 ] %71 = load ptr, ptr %68, align 8, !tbaa !33 %72 = load i64, ptr %6, align 8, !tbaa !35 %73 = icmp eq i64 %72, 0 br i1 %73, label %87, label %74 74: ; preds = %69 %75 = getelementptr inbounds i8, ptr %70, i64 12 br label %80 76: ; preds = %80 %77 = add nuw i64 %81, 1 %78 = load i64, ptr %6, align 8, !tbaa !35 %79 = icmp ult i64 %77, %78 br i1 %79, label %80, label %87, !llvm.loop !36 80: ; preds = %74, %76 %81 = phi i64 [ 0, %74 ], [ %77, %76 ] %82 = load i32, ptr %75, align 4, !tbaa !37 %83 = getelementptr inbounds %struct.TYPE_32__, ptr %71, i64 %81, i32 1, i32 1 %84 = load i32, ptr %83, align 4, !tbaa !37 %85 = call i64 @ngx_strcasecmp(i32 noundef %82, i32 noundef %84) #4 %86 = icmp eq i64 %85, 0 br i1 %86, label %93, label %76 87: ; preds = %76, %69 %88 = call ptr @ngx_array_push(ptr noundef nonnull %6) #4 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %92 90: ; preds = %87 %91 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 92: ; preds = %87 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %88, ptr noundef nonnull align 8 dereferenceable(16) %70, i64 16, i1 false), !tbaa.struct !25 br label %93 93: ; preds = %80, %92 %94 = getelementptr inbounds i8, ptr %70, i64 16 %95 = getelementptr inbounds i8, ptr %70, i64 24 %96 = load i32, ptr %95, align 8, !tbaa !29 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %69, !llvm.loop !38 98: ; preds = %93, %63 %99 = getelementptr inbounds i8, ptr %6, i64 8 %100 = load ptr, ptr %99, align 8, !tbaa !33 %101 = load i64, ptr %6, align 8, !tbaa !35 %102 = icmp eq i64 %101, 0 br i1 %102, label %174, label %103 103: ; preds = %98 %104 = getelementptr inbounds i8, ptr %8, i64 32 %105 = getelementptr inbounds i8, ptr %8, i64 24 %106 = getelementptr inbounds i8, ptr %2, i64 24 %107 = getelementptr inbounds i8, ptr %8, i64 16 %108 = getelementptr inbounds i8, ptr %8, i64 8 br label %109 109: ; preds = %103, %170 %110 = phi i64 [ 0, %103 ], [ %171, %170 ] %111 = call ptr @ngx_array_push(ptr noundef nonnull %5) #4 %112 = icmp eq ptr %111, null br i1 %112, label %113, label %115 113: ; preds = %109 %114 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 115: ; preds = %109 %116 = getelementptr inbounds i8, ptr %111, i64 12 %117 = getelementptr inbounds %struct.TYPE_32__, ptr %100, i64 %110 %118 = getelementptr inbounds i8, ptr %117, i64 8 %119 = load i64, ptr %118, align 8 store i64 %119, ptr %116, align 4 %120 = getelementptr inbounds i8, ptr %117, i64 12 %121 = load i32, ptr %120, align 4, !tbaa !37 %122 = load i32, ptr %118, align 8, !tbaa !29 %123 = call i32 @ngx_hash_key_lc(i32 noundef %121, i32 noundef %122) #4 %124 = getelementptr inbounds i8, ptr %111, i64 8 store i32 %123, ptr %124, align 8, !tbaa !39 store ptr inttoptr (i64 1 to ptr), ptr %111, align 8, !tbaa !41 %125 = load i64, ptr %117, align 8, !tbaa !42 %126 = icmp eq i64 %125, 0 br i1 %126, label %170, label %127 127: ; preds = %115 %128 = load ptr, ptr %31, align 8, !tbaa !18 %129 = call ptr @ngx_array_push_n(ptr noundef %128, i32 noundef 16) #4 %130 = icmp eq ptr %129, null br i1 %130, label %131, label %133 131: ; preds = %127 %132 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 133: ; preds = %127 %134 = load i64, ptr @ngx_http_script_copy_len_code, align 8, !tbaa !14 %135 = getelementptr inbounds i8, ptr %129, i64 8 store i64 %134, ptr %135, align 8, !tbaa !43 %136 = load i32, ptr %118, align 8, !tbaa !29 store i32 %136, ptr %129, align 8, !tbaa !45 %137 = add i32 %136, 23 %138 = and i32 %137, -8 %139 = load ptr, ptr %38, align 8, !tbaa !19 %140 = call ptr @ngx_array_push_n(ptr noundef %139, i32 noundef %138) #4 %141 = icmp eq ptr %140, null br i1 %141, label %142, label %144 142: ; preds = %133 %143 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 144: ; preds = %133 %145 = load i64, ptr @ngx_http_script_copy_code, align 8, !tbaa !14 %146 = getelementptr inbounds i8, ptr %140, i64 8 store i64 %145, ptr %146, align 8, !tbaa !43 %147 = load i32, ptr %118, align 8, !tbaa !29 store i32 %147, ptr %140, align 8, !tbaa !45 %148 = getelementptr inbounds i8, ptr %140, i64 64 %149 = load i32, ptr %120, align 4, !tbaa !37 %150 = call i32 @ngx_memcpy(ptr noundef nonnull %148, i32 noundef %149, i32 noundef %147) #4 %151 = call i32 @ngx_memzero(ptr noundef nonnull %8, i32 noundef 40) #4 store ptr %0, ptr %104, align 8, !tbaa !46 store ptr %117, ptr %105, align 8, !tbaa !48 store ptr %106, ptr %107, align 8, !tbaa !49 store ptr %31, ptr %108, align 8, !tbaa !50 store ptr %38, ptr %8, align 8, !tbaa !51 %152 = call i64 @ngx_http_script_compile(ptr noundef nonnull %8) #4 %153 = load i64, ptr @NGX_OK, align 8, !tbaa !14 %154 = icmp eq i64 %152, %153 br i1 %154, label %157, label %155 155: ; preds = %144 %156 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 157: ; preds = %144 %158 = load ptr, ptr %31, align 8, !tbaa !18 %159 = call ptr @ngx_array_push_n(ptr noundef %158, i32 noundef 8) #4 %160 = icmp eq ptr %159, null br i1 %160, label %161, label %163 161: ; preds = %157 %162 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 163: ; preds = %157 store i64 0, ptr %159, align 8, !tbaa !14 %164 = load ptr, ptr %38, align 8, !tbaa !19 %165 = call ptr @ngx_array_push_n(ptr noundef %164, i32 noundef 8) #4 %166 = icmp eq ptr %165, null br i1 %166, label %167, label %169 167: ; preds = %163 %168 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 169: ; preds = %163 store i64 0, ptr %165, align 8, !tbaa !14 br label %170 170: ; preds = %115, %169 %171 = add nuw i64 %110, 1 %172 = load i64, ptr %6, align 8, !tbaa !35 %173 = icmp ult i64 %171, %172 br i1 %173, label %109, label %174, !llvm.loop !52 174: ; preds = %170, %98 %175 = load ptr, ptr %31, align 8, !tbaa !18 %176 = call ptr @ngx_array_push_n(ptr noundef %175, i32 noundef 8) #4 %177 = icmp eq ptr %176, null br i1 %177, label %178, label %180 178: ; preds = %174 %179 = load i64, ptr @NGX_ERROR, align 8, !tbaa !14 br label %192 180: ; preds = %174 store i64 0, ptr %176, align 8, !tbaa !14 %181 = getelementptr inbounds i8, ptr %7, i64 40 store ptr %2, ptr %181, align 8, !tbaa !53 %182 = getelementptr inbounds i8, ptr %7, i64 32 store ptr @ngx_hash_key_lc, ptr %182, align 8, !tbaa !55 %183 = getelementptr inbounds i8, ptr %7, i64 20 %184 = load <2 x i32>, ptr %1, align 8, !tbaa !26 store <2 x i32> %184, ptr %183, align 4, !tbaa !26 store ptr @.str, ptr %7, align 8, !tbaa !56 %185 = load i32, ptr %0, align 4, !tbaa !17 %186 = getelementptr inbounds i8, ptr %7, i64 16 store i32 %185, ptr %186, align 8, !tbaa !57 %187 = getelementptr inbounds i8, ptr %7, i64 8 store ptr null, ptr %187, align 8, !tbaa !58 %188 = getelementptr inbounds i8, ptr %5, i64 8 %189 = load ptr, ptr %188, align 8, !tbaa !33 %190 = load i64, ptr %5, align 8, !tbaa !35 %191 = call i64 @ngx_hash_init(ptr noundef nonnull %7, ptr noundef %189, i64 noundef %190) #4 br label %192 192: ; preds = %180, %178, %167, %161, %155, %142, %131, %113, %90, %55, %40, %33, %26, %19, %11 %193 = phi i64 [ %12, %11 ], [ %20, %19 ], [ %27, %26 ], [ %34, %33 ], [ %41, %40 ], [ %56, %55 ], [ %91, %90 ], [ %114, %113 ], [ %132, %131 ], [ %143, %142 ], [ %156, %155 ], [ %162, %161 ], [ %168, %167 ], [ %179, %178 ], [ %191, %180 ] call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 ret i64 %193 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ngx_array_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_array_create(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @ngx_array_push(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 i64 @ngx_strcasecmp(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_hash_key_lc(i32 noundef, i32 noundef) #2 declare ptr @ngx_array_push_n(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ngx_memzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @ngx_http_script_compile(ptr noundef) local_unnamed_addr #2 declare i64 @ngx_hash_init(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !9, i64 0} !7 = !{!"TYPE_36__", !8, i64 0, !12, i64 8, !12, i64 16, !13, i64 24} !8 = !{!"TYPE_28__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!"int", !10, i64 0} !14 = !{!9, !9, i64 0} !15 = !{!16, !13, i64 4} !16 = !{!"TYPE_26__", !13, i64 0, !13, i64 4} !17 = !{!16, !13, i64 0} !18 = !{!7, !12, i64 8} !19 = !{!7, !12, i64 16} !20 = !{!21, !12, i64 8} !21 = !{!"TYPE_35__", !13, i64 0, !13, i64 4, !12, i64 8} !22 = !{!23, !12, i64 8} !23 = !{!"TYPE_29__", !9, i64 0, !12, i64 8} !24 = !{!23, !9, i64 0} !25 = !{i64 0, i64 8, !14, i64 8, i64 4, !26, i64 12, i64 4, !26} !26 = !{!13, !13, i64 0} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"} !29 = !{!30, !13, i64 8} !30 = !{!"TYPE_32__", !31, i64 0, !32, i64 8} !31 = !{!"TYPE_31__", !9, i64 0} !32 = !{!"TYPE_30__", !13, i64 0, !13, i64 4} !33 = !{!34, !12, i64 8} !34 = !{!"TYPE_27__", !9, i64 0, !12, i64 8} !35 = !{!34, !9, i64 0} !36 = distinct !{!36, !28} !37 = !{!30, !13, i64 12} !38 = distinct !{!38, !28} !39 = !{!40, !13, i64 8} !40 = !{!"TYPE_24__", !12, i64 0, !13, i64 8, !32, i64 12} !41 = !{!40, !12, i64 0} !42 = !{!30, !9, i64 0} !43 = !{!44, !9, i64 8} !44 = !{!"TYPE_33__", !13, i64 0, !9, i64 8} !45 = !{!44, !13, i64 0} !46 = !{!47, !12, i64 32} !47 = !{!"TYPE_34__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32} !48 = !{!47, !12, i64 24} !49 = !{!47, !12, i64 16} !50 = !{!47, !12, i64 8} !51 = !{!47, !12, i64 0} !52 = distinct !{!52, !28} !53 = !{!54, !12, i64 40} !54 = !{!"TYPE_25__", !12, i64 0, !12, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !12, i64 32, !12, i64 40} !55 = !{!54, !12, i64 32} !56 = !{!54, !12, i64 0} !57 = !{!54, !13, i64 16} !58 = !{!54, !12, i64 8}
tengine_src_http_modules_extr_ngx_http_proxy_module.c_ngx_http_proxy_init_headers
; ModuleID = 'AnghaBench/linux/drivers/staging/media/allegro-dvt/extr_allegro-core.c_allegro_mbox_write.c' source_filename = "AnghaBench/linux/drivers/staging/media/allegro-dvt/extr_allegro-core.c_allegro_mbox_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.allegro_dev = type { i32, i32 } %struct.mcu_msg_header = type { i64, i32 } %struct.allegro_mbox = type { i64, i32, i32, i64 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"message (%zu bytes) to large for mailbox (%zu bytes)\0A\00", align 1 @.str.1 = private unnamed_addr constant [55 x i8] c"invalid message length: %u bytes (expected %zu bytes)\0A\00", align 1 @debug = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"write command message: type %s, body length %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"invalid tail (0x%x): must be smaller than mailbox size (0x%zx)\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @allegro_mbox_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @allegro_mbox_write(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = icmp eq ptr %2, null br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr @EINVAL, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %81 10: ; preds = %4 %11 = load i64, ptr %1, align 8, !tbaa !9 %12 = icmp ult i64 %11, %3 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = getelementptr inbounds %struct.allegro_dev, ptr %0, i64 0, i32 1 %15 = trunc i64 %3 to i32 %16 = tail call i32 @v4l2_err(ptr noundef nonnull %14, ptr noundef nonnull @.str, i32 noundef %15, i64 noundef %11) #3 %17 = load i32, ptr @EINVAL, align 4, !tbaa !5 %18 = sub nsw i32 0, %17 br label %81 19: ; preds = %10 %20 = load i64, ptr %2, align 8, !tbaa !12 %21 = add i64 %3, -16 %22 = icmp eq i64 %20, %21 br i1 %22, label %29, label %23 23: ; preds = %19 %24 = getelementptr inbounds %struct.allegro_dev, ptr %0, i64 0, i32 1 %25 = trunc i64 %20 to i32 %26 = tail call i32 @v4l2_err(ptr noundef nonnull %24, ptr noundef nonnull @.str.1, i32 noundef %25, i64 noundef %21) #3 %27 = load i32, ptr @EINVAL, align 4, !tbaa !5 %28 = sub nsw i32 0, %27 br label %81 29: ; preds = %19 %30 = load i32, ptr @debug, align 4, !tbaa !5 %31 = getelementptr inbounds %struct.allegro_dev, ptr %0, i64 0, i32 1 %32 = getelementptr inbounds %struct.mcu_msg_header, ptr %2, i64 0, i32 1 %33 = load i32, ptr %32, align 8, !tbaa !14 %34 = tail call i32 @msg_type_name(i32 noundef %33) #3 %35 = load i64, ptr %2, align 8, !tbaa !12 %36 = trunc i64 %35 to i32 %37 = tail call i32 @v4l2_dbg(i32 noundef 2, i32 noundef %30, ptr noundef nonnull %31, ptr noundef nonnull @.str.2, i32 noundef %34, i32 noundef %36) #3 %38 = getelementptr inbounds %struct.allegro_mbox, ptr %1, i64 0, i32 1 %39 = tail call i32 @mutex_lock(ptr noundef nonnull %38) #3 %40 = load i32, ptr %0, align 4, !tbaa !15 %41 = getelementptr inbounds %struct.allegro_mbox, ptr %1, i64 0, i32 2 %42 = load i32, ptr %41, align 4, !tbaa !17 %43 = call i32 @regmap_read(i32 noundef %40, i32 noundef %42, ptr noundef nonnull %5) #3 %44 = load i32, ptr %5, align 4, !tbaa !5 %45 = zext i32 %44 to i64 %46 = load i64, ptr %1, align 8, !tbaa !9 %47 = icmp ult i64 %46, %45 br i1 %47, label %48, label %52 48: ; preds = %29 %49 = call i32 @v4l2_err(ptr noundef nonnull %31, ptr noundef nonnull @.str.3, i32 noundef %44, i64 noundef %46) #3 %50 = load i32, ptr @EIO, align 4, !tbaa !5 %51 = sub nsw i32 0, %50 br label %78 52: ; preds = %29 %53 = sub i64 %46, %45 %54 = call i64 @min(i64 noundef %3, i64 noundef %53) #3 %55 = load i32, ptr %0, align 4, !tbaa !15 %56 = getelementptr inbounds %struct.allegro_mbox, ptr %1, i64 0, i32 3 %57 = load i64, ptr %56, align 8, !tbaa !18 %58 = load i32, ptr %5, align 4, !tbaa !5 %59 = zext i32 %58 to i64 %60 = add nsw i64 %57, %59 %61 = lshr i64 %54, 2 %62 = call i32 @regmap_bulk_write(i32 noundef %55, i64 noundef %60, ptr noundef nonnull %2, i64 noundef %61) #3 %63 = load i32, ptr %0, align 4, !tbaa !15 %64 = load i64, ptr %56, align 8, !tbaa !18 %65 = getelementptr inbounds i8, ptr %2, i64 %54 %66 = sub i64 %3, %54 %67 = lshr i64 %66, 2 %68 = call i32 @regmap_bulk_write(i32 noundef %63, i64 noundef %64, ptr noundef nonnull %65, i64 noundef %67) #3 %69 = load i32, ptr %0, align 4, !tbaa !15 %70 = load i32, ptr %41, align 4, !tbaa !17 %71 = load i32, ptr %5, align 4, !tbaa !5 %72 = zext i32 %71 to i64 %73 = add i64 %72, %3 %74 = load i64, ptr %1, align 8, !tbaa !9 %75 = urem i64 %73, %74 %76 = trunc i64 %75 to i32 %77 = call i32 @regmap_write(i32 noundef %69, i32 noundef %70, i32 noundef %76) #3 br label %78 78: ; preds = %52, %48 %79 = phi i32 [ %51, %48 ], [ 0, %52 ] %80 = call i32 @mutex_unlock(ptr noundef nonnull %38) #3 br label %81 81: ; preds = %78, %23, %13, %7 %82 = phi i32 [ %18, %13 ], [ %28, %23 ], [ %79, %78 ], [ %9, %7 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %82 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @v4l2_err(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @v4l2_dbg(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @msg_type_name(i32 noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @min(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @regmap_bulk_write(i32 noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"allegro_mbox", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"mcu_msg_header", !11, i64 0, !6, i64 8} !14 = !{!13, !6, i64 8} !15 = !{!16, !6, i64 0} !16 = !{!"allegro_dev", !6, i64 0, !6, i64 4} !17 = !{!10, !6, i64 12} !18 = !{!10, !11, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/staging/media/allegro-dvt/extr_allegro-core.c_allegro_mbox_write.c' source_filename = "AnghaBench/linux/drivers/staging/media/allegro-dvt/extr_allegro-core.c_allegro_mbox_write.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 @.str = private unnamed_addr constant [54 x i8] c"message (%zu bytes) to large for mailbox (%zu bytes)\0A\00", align 1 @.str.1 = private unnamed_addr constant [55 x i8] c"invalid message length: %u bytes (expected %zu bytes)\0A\00", align 1 @debug = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [48 x i8] c"write command message: type %s, body length %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c"invalid tail (0x%x): must be smaller than mailbox size (0x%zx)\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @allegro_mbox_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @allegro_mbox_write(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = icmp eq ptr %2, null br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr @EINVAL, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %81 10: ; preds = %4 %11 = load i64, ptr %1, align 8, !tbaa !10 %12 = icmp ult i64 %11, %3 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = getelementptr inbounds i8, ptr %0, i64 4 %15 = trunc i64 %3 to i32 %16 = tail call i32 @v4l2_err(ptr noundef nonnull %14, ptr noundef nonnull @.str, i32 noundef %15, i64 noundef %11) #3 %17 = load i32, ptr @EINVAL, align 4, !tbaa !6 %18 = sub nsw i32 0, %17 br label %81 19: ; preds = %10 %20 = load i64, ptr %2, align 8, !tbaa !13 %21 = add i64 %3, -16 %22 = icmp eq i64 %20, %21 br i1 %22, label %29, label %23 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %0, i64 4 %25 = trunc i64 %20 to i32 %26 = tail call i32 @v4l2_err(ptr noundef nonnull %24, ptr noundef nonnull @.str.1, i32 noundef %25, i64 noundef %21) #3 %27 = load i32, ptr @EINVAL, align 4, !tbaa !6 %28 = sub nsw i32 0, %27 br label %81 29: ; preds = %19 %30 = load i32, ptr @debug, align 4, !tbaa !6 %31 = getelementptr inbounds i8, ptr %0, i64 4 %32 = getelementptr inbounds i8, ptr %2, i64 8 %33 = load i32, ptr %32, align 8, !tbaa !15 %34 = tail call i32 @msg_type_name(i32 noundef %33) #3 %35 = load i64, ptr %2, align 8, !tbaa !13 %36 = trunc i64 %35 to i32 %37 = tail call i32 @v4l2_dbg(i32 noundef 2, i32 noundef %30, ptr noundef nonnull %31, ptr noundef nonnull @.str.2, i32 noundef %34, i32 noundef %36) #3 %38 = getelementptr inbounds i8, ptr %1, i64 8 %39 = tail call i32 @mutex_lock(ptr noundef nonnull %38) #3 %40 = load i32, ptr %0, align 4, !tbaa !16 %41 = getelementptr inbounds i8, ptr %1, i64 12 %42 = load i32, ptr %41, align 4, !tbaa !18 %43 = call i32 @regmap_read(i32 noundef %40, i32 noundef %42, ptr noundef nonnull %5) #3 %44 = load i32, ptr %5, align 4, !tbaa !6 %45 = zext i32 %44 to i64 %46 = load i64, ptr %1, align 8, !tbaa !10 %47 = icmp ult i64 %46, %45 br i1 %47, label %48, label %52 48: ; preds = %29 %49 = call i32 @v4l2_err(ptr noundef nonnull %31, ptr noundef nonnull @.str.3, i32 noundef %44, i64 noundef %46) #3 %50 = load i32, ptr @EIO, align 4, !tbaa !6 %51 = sub nsw i32 0, %50 br label %78 52: ; preds = %29 %53 = sub i64 %46, %45 %54 = call i64 @min(i64 noundef %3, i64 noundef %53) #3 %55 = load i32, ptr %0, align 4, !tbaa !16 %56 = getelementptr inbounds i8, ptr %1, i64 16 %57 = load i64, ptr %56, align 8, !tbaa !19 %58 = load i32, ptr %5, align 4, !tbaa !6 %59 = zext i32 %58 to i64 %60 = add nsw i64 %57, %59 %61 = lshr i64 %54, 2 %62 = call i32 @regmap_bulk_write(i32 noundef %55, i64 noundef %60, ptr noundef nonnull %2, i64 noundef %61) #3 %63 = load i32, ptr %0, align 4, !tbaa !16 %64 = load i64, ptr %56, align 8, !tbaa !19 %65 = getelementptr inbounds i8, ptr %2, i64 %54 %66 = sub i64 %3, %54 %67 = lshr i64 %66, 2 %68 = call i32 @regmap_bulk_write(i32 noundef %63, i64 noundef %64, ptr noundef nonnull %65, i64 noundef %67) #3 %69 = load i32, ptr %0, align 4, !tbaa !16 %70 = load i32, ptr %41, align 4, !tbaa !18 %71 = load i32, ptr %5, align 4, !tbaa !6 %72 = zext i32 %71 to i64 %73 = add i64 %72, %3 %74 = load i64, ptr %1, align 8, !tbaa !10 %75 = urem i64 %73, %74 %76 = trunc i64 %75 to i32 %77 = call i32 @regmap_write(i32 noundef %69, i32 noundef %70, i32 noundef %76) #3 br label %78 78: ; preds = %52, %48 %79 = phi i32 [ %51, %48 ], [ 0, %52 ] %80 = call i32 @mutex_unlock(ptr noundef nonnull %38) #3 br label %81 81: ; preds = %78, %23, %13, %7 %82 = phi i32 [ %18, %13 ], [ %28, %23 ], [ %79, %78 ], [ %9, %7 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %82 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @v4l2_err(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @v4l2_dbg(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @msg_type_name(i32 noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @regmap_read(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @min(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @regmap_bulk_write(i32 noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"allegro_mbox", !12, i64 0, !7, i64 8, !7, i64 12, !12, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"mcu_msg_header", !12, i64 0, !7, i64 8} !15 = !{!14, !7, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"allegro_dev", !7, i64 0, !7, i64 4} !18 = !{!11, !7, i64 12} !19 = !{!11, !12, i64 16}
linux_drivers_staging_media_allegro-dvt_extr_allegro-core.c_allegro_mbox_write
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_arcofi.c_clear_arcofi.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_arcofi.c_clear_arcofi.c" target datalayout = "e-m:e-p270:32:32-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.IsdnCardState = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @FLG_ARCOFI_TIMER = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @clear_arcofi(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @FLG_ARCOFI_TIMER, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.IsdnCardState, ptr %0, i64 0, i32 1 %4 = tail call i64 @test_and_clear_bit(i32 noundef %2, ptr noundef nonnull %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @del_timer(ptr noundef %0) #2 br label %8 8: ; preds = %6, %1 ret void } declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @del_timer(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/isdn/hisax/extr_arcofi.c_clear_arcofi.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_arcofi.c_clear_arcofi.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FLG_ARCOFI_TIMER = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @clear_arcofi(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @FLG_ARCOFI_TIMER, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call i64 @test_and_clear_bit(i32 noundef %2, ptr noundef nonnull %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @del_timer(ptr noundef %0) #2 br label %8 8: ; preds = %6, %1 ret void } declare i64 @test_and_clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @del_timer(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_isdn_hisax_extr_arcofi.c_clear_arcofi
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_base32.c_str_totext.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_base32.c_str_totext.c" target datalayout = "e-m:e-p270:32:32-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 } @ISC_R_NOSPACE = dso_local local_unnamed_addr global i32 0, align 4 @ISC_R_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @str_totext], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @str_totext(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i32 @isc_buffer_availableregion(ptr noundef %1, ptr noundef nonnull %3) #3 %5 = call i32 @strlen(ptr noundef %0) #3 %6 = load i32, ptr %3, align 4, !tbaa !5 %7 = icmp ugt i32 %5, %6 br i1 %7, label %13, label %8 8: ; preds = %2 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = call i32 @memcpy(i32 noundef %10, ptr noundef %0, i32 noundef %5) #3 %12 = call i32 @isc_buffer_add(ptr noundef %1, i32 noundef %5) #3 br label %13 13: ; preds = %2, %8 %14 = phi ptr [ @ISC_R_SUCCESS, %8 ], [ @ISC_R_NOSPACE, %2 ] %15 = load i32, ptr %14, align 4, !tbaa !11 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %15 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @isc_buffer_availableregion(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @isc_buffer_add(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_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/extr_base32.c_str_totext.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/extr_base32.c_str_totext.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32 } @ISC_R_NOSPACE = common local_unnamed_addr global i32 0, align 4 @ISC_R_SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @str_totext], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @str_totext(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i32 @isc_buffer_availableregion(ptr noundef %1, ptr noundef nonnull %3) #3 %5 = call i32 @strlen(ptr noundef %0) #3 %6 = load i32, ptr %3, align 4, !tbaa !6 %7 = icmp ugt i32 %5, %6 br i1 %7, label %13, label %8 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %3, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = call i32 @memcpy(i32 noundef %10, ptr noundef %0, i32 noundef %5) #3 %12 = call i32 @isc_buffer_add(ptr noundef %1, i32 noundef %5) #3 br label %13 13: ; preds = %2, %8 %14 = phi ptr [ @ISC_R_SUCCESS, %8 ], [ @ISC_R_NOSPACE, %2 ] %15 = load i32, ptr %14, align 4, !tbaa !12 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %15 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @isc_buffer_availableregion(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @isc_buffer_add(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_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0}
freebsd_contrib_ntp_lib_isc_extr_base32.c_str_totext
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_stree.c_is_tree_node.c' source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_stree.c_is_tree_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.buffer_head = type { i32, i32 } @.str = private unnamed_addr constant [14 x i8] c"reiserfs-5090\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"node level %d does not match to the expected one %d\00", align 1 @DISK_LEAF_NODE_LEVEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_tree_node], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @is_tree_node(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @B_LEVEL(ptr noundef %0) #2 %4 = icmp eq i32 %3, %1 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 @B_LEVEL(ptr noundef %0) #2 %7 = tail call i32 @reiserfs_warning(ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef %6, i32 noundef %1) #2 br label %18 8: ; preds = %2 %9 = load i32, ptr @DISK_LEAF_NODE_LEVEL, align 4, !tbaa !5 %10 = icmp eq i32 %9, %1 %11 = getelementptr inbounds %struct.buffer_head, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !9 %13 = load i32, ptr %0, align 4, !tbaa !11 br i1 %10, label %14, label %16 14: ; preds = %8 %15 = tail call i32 @is_leaf(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %0) #2 br label %18 16: ; preds = %8 %17 = tail call i32 @is_internal(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %0) #2 br label %18 18: ; preds = %16, %14, %5 %19 = phi i32 [ 0, %5 ], [ %15, %14 ], [ %17, %16 ] ret i32 %19 } declare i32 @B_LEVEL(ptr noundef) local_unnamed_addr #1 declare i32 @reiserfs_warning(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @is_leaf(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @is_internal(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"buffer_head", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/reiserfs/extr_stree.c_is_tree_node.c' source_filename = "AnghaBench/fastsocket/kernel/fs/reiserfs/extr_stree.c_is_tree_node.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"reiserfs-5090\00", align 1 @.str.1 = private unnamed_addr constant [52 x i8] c"node level %d does not match to the expected one %d\00", align 1 @DISK_LEAF_NODE_LEVEL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_tree_node], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @is_tree_node(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @B_LEVEL(ptr noundef %0) #2 %4 = icmp eq i32 %3, %1 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = tail call i32 @B_LEVEL(ptr noundef %0) #2 %7 = tail call i32 @reiserfs_warning(ptr noundef null, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef %6, i32 noundef %1) #2 br label %18 8: ; preds = %2 %9 = load i32, ptr @DISK_LEAF_NODE_LEVEL, align 4, !tbaa !6 %10 = icmp eq i32 %9, %1 %11 = getelementptr inbounds i8, ptr %0, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = load i32, ptr %0, align 4, !tbaa !12 br i1 %10, label %14, label %16 14: ; preds = %8 %15 = tail call i32 @is_leaf(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %0) #2 br label %18 16: ; preds = %8 %17 = tail call i32 @is_internal(i32 noundef %12, i32 noundef %13, ptr noundef nonnull %0) #2 br label %18 18: ; preds = %16, %14, %5 %19 = phi i32 [ 0, %5 ], [ %15, %14 ], [ %17, %16 ] ret i32 %19 } declare i32 @B_LEVEL(ptr noundef) local_unnamed_addr #1 declare i32 @reiserfs_warning(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @is_leaf(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @is_internal(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"buffer_head", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 0}
fastsocket_kernel_fs_reiserfs_extr_stree.c_is_tree_node
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_zcore.c_zcore_reipl_open.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_zcore.c_zcore_reipl_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @zcore_reipl_open], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @zcore_reipl_open(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_zcore.c_zcore_reipl_open.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_zcore.c_zcore_reipl_open.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 @zcore_reipl_open], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @zcore_reipl_open(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_s390_char_extr_zcore.c_zcore_reipl_open
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_fill_rates_for_column.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_fill_rates_for_column.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LINK_QUAL_MAX_RETRY_NUM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rs_fill_rates_for_column], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rs_fill_rates_for_column(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = load i32, ptr %2, align 4, !tbaa !5 %11 = load i32, ptr @LINK_QUAL_MAX_RETRY_NUM, align 4, !tbaa !10 %12 = load i32, ptr %4, align 4, !tbaa !10 %13 = icmp sgt i32 %5, 0 %14 = icmp slt i32 %12, %11 %15 = select i1 %13, i1 %14, i1 false br i1 %15, label %16, label %61 16: ; preds = %9 %17 = icmp sgt i32 %6, 0 %18 = icmp eq i32 %8, 0 %19 = sext i32 %11 to i64 br label %20 20: ; preds = %54, %16 %21 = phi i32 [ %12, %16 ], [ %42, %54 ] %22 = phi i32 [ 0, %16 ], [ %55, %54 ] br i1 %17, label %23, label %41 23: ; preds = %20 %24 = sext i32 %21 to i64 br label %25 25: ; preds = %23, %33 %26 = phi i64 [ %24, %23 ], [ %35, %33 ] %27 = phi i32 [ 0, %23 ], [ %34, %33 ] %28 = tail call i32 @ucode_rate_from_rs_rate(ptr noundef %0, ptr noundef nonnull %2) #2 %29 = tail call i32 @cpu_to_le32(i32 noundef %28) #2 %30 = getelementptr inbounds i32, ptr %3, i64 %26 store i32 %29, ptr %30, align 4, !tbaa !10 br i1 %18, label %33, label %31 31: ; preds = %25 %32 = tail call i32 @rs_toggle_antenna(i32 noundef %7, ptr noundef nonnull %2) #2 br label %33 33: ; preds = %25, %31 %34 = add nuw nsw i32 %27, 1 %35 = add nsw i64 %26, 1 %36 = icmp slt i32 %34, %6 %37 = icmp slt i64 %35, %19 %38 = select i1 %36, i1 %37, i1 false br i1 %38, label %25, label %39, !llvm.loop !11 39: ; preds = %33 %40 = trunc i64 %35 to i32 br label %41 41: ; preds = %39, %20 %42 = phi i32 [ %21, %20 ], [ %40, %39 ] %43 = load i32, ptr %2, align 4, !tbaa !5 %44 = tail call i32 @rs_get_lower_rate_in_column(ptr noundef %1, ptr noundef nonnull %2) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %56, label %46 46: ; preds = %41 %47 = tail call i32 @is_legacy(ptr noundef nonnull %2) #2 %48 = icmp eq i32 %47, 0 br i1 %48, label %67, label %49 49: ; preds = %46 %50 = add nuw nsw i32 %22, 1 %51 = icmp slt i32 %50, %5 %52 = icmp slt i32 %42, %11 %53 = select i1 %51, i1 %52, i1 false br i1 %53, label %54, label %67 54: ; preds = %49, %56 %55 = phi i32 [ %50, %49 ], [ %57, %56 ] br label %20, !llvm.loop !13 56: ; preds = %41 %57 = add nuw nsw i32 %22, 1 %58 = icmp slt i32 %57, %5 %59 = icmp slt i32 %42, %11 %60 = select i1 %58, i1 %59, i1 false br i1 %60, label %54, label %61 61: ; preds = %56, %9 %62 = phi i32 [ %12, %9 ], [ %42, %56 ] %63 = phi i32 [ %10, %9 ], [ %43, %56 ] %64 = tail call i32 @is_legacy(ptr noundef nonnull %2) #2 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %61 store i32 %63, ptr %2, align 4, !tbaa !5 br label %67 67: ; preds = %46, %49, %66, %61 %68 = phi i32 [ %62, %66 ], [ %62, %61 ], [ %42, %49 ], [ %42, %46 ] store i32 %68, ptr %4, align 4, !tbaa !10 ret void } declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @ucode_rate_from_rs_rate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rs_toggle_antenna(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rs_get_lower_rate_in_column(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @is_legacy(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 = !{!"rs_rate", !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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_fill_rates_for_column.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_fill_rates_for_column.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LINK_QUAL_MAX_RETRY_NUM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rs_fill_rates_for_column], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rs_fill_rates_for_column(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 { %10 = load i32, ptr %2, align 4, !tbaa !6 %11 = load i32, ptr @LINK_QUAL_MAX_RETRY_NUM, align 4, !tbaa !11 %12 = load i32, ptr %4, align 4, !tbaa !11 %13 = icmp sgt i32 %5, 0 %14 = icmp slt i32 %12, %11 %15 = select i1 %13, i1 %14, i1 false br i1 %15, label %16, label %61 16: ; preds = %9 %17 = icmp sgt i32 %6, 0 %18 = icmp eq i32 %8, 0 %19 = sext i32 %11 to i64 br label %20 20: ; preds = %54, %16 %21 = phi i32 [ %12, %16 ], [ %42, %54 ] %22 = phi i32 [ 0, %16 ], [ %55, %54 ] br i1 %17, label %23, label %41 23: ; preds = %20 %24 = sext i32 %21 to i64 br label %25 25: ; preds = %23, %33 %26 = phi i64 [ %24, %23 ], [ %35, %33 ] %27 = phi i32 [ 0, %23 ], [ %34, %33 ] %28 = tail call i32 @ucode_rate_from_rs_rate(ptr noundef %0, ptr noundef nonnull %2) #2 %29 = tail call i32 @cpu_to_le32(i32 noundef %28) #2 %30 = getelementptr inbounds i32, ptr %3, i64 %26 store i32 %29, ptr %30, align 4, !tbaa !11 br i1 %18, label %33, label %31 31: ; preds = %25 %32 = tail call i32 @rs_toggle_antenna(i32 noundef %7, ptr noundef nonnull %2) #2 br label %33 33: ; preds = %25, %31 %34 = add nuw nsw i32 %27, 1 %35 = add nsw i64 %26, 1 %36 = icmp slt i32 %34, %6 %37 = icmp slt i64 %35, %19 %38 = select i1 %36, i1 %37, i1 false br i1 %38, label %25, label %39, !llvm.loop !12 39: ; preds = %33 %40 = trunc nsw i64 %35 to i32 br label %41 41: ; preds = %39, %20 %42 = phi i32 [ %21, %20 ], [ %40, %39 ] %43 = load i32, ptr %2, align 4, !tbaa !6 %44 = tail call i32 @rs_get_lower_rate_in_column(ptr noundef %1, ptr noundef nonnull %2) #2 %45 = icmp eq i32 %44, 0 br i1 %45, label %56, label %46 46: ; preds = %41 %47 = tail call i32 @is_legacy(ptr noundef nonnull %2) #2 %48 = icmp eq i32 %47, 0 br i1 %48, label %67, label %49 49: ; preds = %46 %50 = add nuw nsw i32 %22, 1 %51 = icmp slt i32 %50, %5 %52 = icmp slt i32 %42, %11 %53 = select i1 %51, i1 %52, i1 false br i1 %53, label %54, label %67 54: ; preds = %49, %56 %55 = phi i32 [ %50, %49 ], [ %57, %56 ] br label %20, !llvm.loop !14 56: ; preds = %41 %57 = add nuw nsw i32 %22, 1 %58 = icmp slt i32 %57, %5 %59 = icmp slt i32 %42, %11 %60 = select i1 %58, i1 %59, i1 false br i1 %60, label %54, label %61 61: ; preds = %56, %9 %62 = phi i32 [ %12, %9 ], [ %42, %56 ] %63 = phi i32 [ %10, %9 ], [ %43, %56 ] %64 = tail call i32 @is_legacy(ptr noundef nonnull %2) #2 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %61 store i32 %63, ptr %2, align 4, !tbaa !6 br label %67 67: ; preds = %46, %49, %66, %61 %68 = phi i32 [ %62, %66 ], [ %62, %61 ], [ %42, %49 ], [ %42, %46 ] store i32 %68, ptr %4, align 4, !tbaa !11 ret void } declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @ucode_rate_from_rs_rate(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rs_toggle_antenna(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rs_get_lower_rate_in_column(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @is_legacy(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 = !{!"rs_rate", !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13}
linux_drivers_net_wireless_intel_iwlwifi_mvm_extr_rs.c_rs_fill_rates_for_column
; ModuleID = 'AnghaBench/Atlas/src/extr_network-mysqld-packet.c_network_mysqld_err_packet_new.c' source_filename = "AnghaBench/Atlas/src/extr_network-mysqld-packet.c_network_mysqld_err_packet_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NETWORK_MYSQLD_PROTOCOL_VERSION_41 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @network_mysqld_err_packet_new() local_unnamed_addr #0 { %1 = load i32, ptr @NETWORK_MYSQLD_PROTOCOL_VERSION_41, align 4, !tbaa !5 %2 = tail call ptr @network_mysqld_err_packet_new_full(i32 noundef %1) #2 ret ptr %2 } declare ptr @network_mysqld_err_packet_new_full(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/Atlas/src/extr_network-mysqld-packet.c_network_mysqld_err_packet_new.c' source_filename = "AnghaBench/Atlas/src/extr_network-mysqld-packet.c_network_mysqld_err_packet_new.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NETWORK_MYSQLD_PROTOCOL_VERSION_41 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @network_mysqld_err_packet_new() local_unnamed_addr #0 { %1 = load i32, ptr @NETWORK_MYSQLD_PROTOCOL_VERSION_41, align 4, !tbaa !6 %2 = tail call ptr @network_mysqld_err_packet_new_full(i32 noundef %1) #2 ret ptr %2 } declare ptr @network_mysqld_err_packet_new_full(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"}
Atlas_src_extr_network-mysqld-packet.c_network_mysqld_err_packet_new
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/tests/extr_zbufftest.c_ZBUFF_allocFunction.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/tests/extr_zbufftest.c_ZBUFF_allocFunction.c" target datalayout = "e-m:e-p270:32:32-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 @ZBUFF_allocFunction], section "llvm.metadata" ; Function Attrs: mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable define internal noalias noundef ptr @ZBUFF_allocFunction(ptr nocapture readnone %0, i64 noundef %1) #0 { %3 = tail call ptr @malloc(i64 noundef %1) #2 ret ptr %3 } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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)"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/tests/extr_zbufftest.c_ZBUFF_allocFunction.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/tests/extr_zbufftest.c_ZBUFF_allocFunction.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 @ZBUFF_allocFunction], section "llvm.metadata" ; Function Attrs: mustprogress nofree nounwind ssp willreturn memory(inaccessiblemem: readwrite) uwtable(sync) define internal noalias noundef ptr @ZBUFF_allocFunction(ptr nocapture readnone %0, i64 noundef %1) #0 { %3 = tail call ptr @malloc(i64 noundef %1) #2 ret ptr %3 } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind ssp willreturn memory(inaccessiblemem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { 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)"}
freebsd_sys_contrib_zstd_tests_extr_zbufftest.c_ZBUFF_allocFunction
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaH_next.c' source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaH_next.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @luaH_next], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @luaH_next(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @findindex(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %6 = sext i32 %4 to i64 br label %7 7: ; preds = %13, %3 %8 = phi i64 [ %9, %13 ], [ %6, %3 ] %9 = add nsw i64 %8, 1 %10 = load i32, ptr %1, align 8, !tbaa !5 %11 = sext i32 %10 to i64 %12 = icmp slt i64 %9, %11 br i1 %12, label %13, label %27 13: ; preds = %7 %14 = load ptr, ptr %5, align 8, !tbaa !11 %15 = getelementptr inbounds i32, ptr %14, i64 %9 %16 = tail call i32 @ttisnil(ptr noundef %15) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %7, !llvm.loop !12 18: ; preds = %13 %19 = trunc i64 %8 to i32 %20 = add nsw i32 %19, 2 %21 = tail call i32 @cast_num(i32 noundef %20) #2 %22 = tail call i32 @setnvalue(i64 noundef %2, i32 noundef %21) #2 %23 = add nsw i64 %2, 1 %24 = load ptr, ptr %5, align 8, !tbaa !11 %25 = getelementptr inbounds i32, ptr %24, i64 %9 %26 = tail call i32 @setobj(ptr noundef %0, i64 noundef %23, ptr noundef %25) #2 br label %52 27: ; preds = %7 %28 = trunc i64 %9 to i32 %29 = sub nsw i32 %28, %10 %30 = tail call i64 @sizenode(ptr noundef nonnull %1) #2 %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %29, %31 br i1 %32, label %33, label %52 33: ; preds = %27, %47 %34 = phi i32 [ %48, %47 ], [ %29, %27 ] %35 = tail call i32 @gnode(ptr noundef nonnull %1, i32 noundef %34) #2 %36 = tail call ptr @gval(i32 noundef %35) #2 %37 = tail call i32 @ttisnil(ptr noundef %36) #2 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %33 %40 = tail call i32 @gnode(ptr noundef nonnull %1, i32 noundef %34) #2 %41 = tail call ptr @key2tval(i32 noundef %40) #2 %42 = tail call i32 @setobj(ptr noundef %0, i64 noundef %2, ptr noundef %41) #2 %43 = add nsw i64 %2, 1 %44 = tail call i32 @gnode(ptr noundef nonnull %1, i32 noundef %34) #2 %45 = tail call ptr @gval(i32 noundef %44) #2 %46 = tail call i32 @setobj(ptr noundef %0, i64 noundef %43, ptr noundef %45) #2 br label %52 47: ; preds = %33 %48 = add nsw i32 %34, 1 %49 = tail call i64 @sizenode(ptr noundef nonnull %1) #2 %50 = trunc i64 %49 to i32 %51 = icmp slt i32 %48, %50 br i1 %51, label %33, label %52, !llvm.loop !14 52: ; preds = %47, %27, %39, %18 %53 = phi i32 [ 1, %18 ], [ 1, %39 ], [ 0, %27 ], [ 0, %47 ] ret i32 %53 } declare i32 @findindex(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ttisnil(ptr noundef) local_unnamed_addr #1 declare i32 @setnvalue(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cast_num(i32 noundef) local_unnamed_addr #1 declare i32 @setobj(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @sizenode(ptr noundef) local_unnamed_addr #1 declare ptr @gval(i32 noundef) local_unnamed_addr #1 declare i32 @gnode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @key2tval(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13}
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaH_next.c' source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaH_next.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 @luaH_next], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @luaH_next(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @findindex(ptr noundef %0, ptr noundef %1, i64 noundef %2) #2 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = sext i32 %4 to i64 br label %7 7: ; preds = %13, %3 %8 = phi i64 [ %9, %13 ], [ %6, %3 ] %9 = add nsw i64 %8, 1 %10 = load i32, ptr %1, align 8, !tbaa !6 %11 = sext i32 %10 to i64 %12 = icmp slt i64 %9, %11 br i1 %12, label %13, label %27 13: ; preds = %7 %14 = load ptr, ptr %5, align 8, !tbaa !12 %15 = getelementptr inbounds i32, ptr %14, i64 %9 %16 = tail call i32 @ttisnil(ptr noundef %15) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %7, !llvm.loop !13 18: ; preds = %13 %19 = trunc nsw i64 %8 to i32 %20 = add nsw i32 %19, 2 %21 = tail call i32 @cast_num(i32 noundef %20) #2 %22 = tail call i32 @setnvalue(i64 noundef %2, i32 noundef %21) #2 %23 = add nsw i64 %2, 1 %24 = load ptr, ptr %5, align 8, !tbaa !12 %25 = getelementptr inbounds i32, ptr %24, i64 %9 %26 = tail call i32 @setobj(ptr noundef %0, i64 noundef %23, ptr noundef %25) #2 br label %52 27: ; preds = %7 %28 = trunc nsw i64 %9 to i32 %29 = sub nsw i32 %28, %10 %30 = tail call i64 @sizenode(ptr noundef nonnull %1) #2 %31 = trunc i64 %30 to i32 %32 = icmp slt i32 %29, %31 br i1 %32, label %33, label %52 33: ; preds = %27, %47 %34 = phi i32 [ %48, %47 ], [ %29, %27 ] %35 = tail call i32 @gnode(ptr noundef nonnull %1, i32 noundef %34) #2 %36 = tail call ptr @gval(i32 noundef %35) #2 %37 = tail call i32 @ttisnil(ptr noundef %36) #2 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %33 %40 = tail call i32 @gnode(ptr noundef nonnull %1, i32 noundef %34) #2 %41 = tail call ptr @key2tval(i32 noundef %40) #2 %42 = tail call i32 @setobj(ptr noundef %0, i64 noundef %2, ptr noundef %41) #2 %43 = add nsw i64 %2, 1 %44 = tail call i32 @gnode(ptr noundef nonnull %1, i32 noundef %34) #2 %45 = tail call ptr @gval(i32 noundef %44) #2 %46 = tail call i32 @setobj(ptr noundef %0, i64 noundef %43, ptr noundef %45) #2 br label %52 47: ; preds = %33 %48 = add nsw i32 %34, 1 %49 = tail call i64 @sizenode(ptr noundef nonnull %1) #2 %50 = trunc i64 %49 to i32 %51 = icmp slt i32 %48, %50 br i1 %51, label %33, label %52, !llvm.loop !15 52: ; preds = %47, %27, %39, %18 %53 = phi i32 [ 1, %18 ], [ 1, %39 ], [ 0, %27 ], [ 0, %47 ] ret i32 %53 } declare i32 @findindex(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ttisnil(ptr noundef) local_unnamed_addr #1 declare i32 @setnvalue(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cast_num(i32 noundef) local_unnamed_addr #1 declare i32 @setobj(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @sizenode(ptr noundef) local_unnamed_addr #1 declare ptr @gval(i32 noundef) local_unnamed_addr #1 declare i32 @gnode(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @key2tval(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14}
php-src_ext_opcache_jit_dynasm_extr_minilua.c_luaH_next
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_utresrc.c_acpi_ut_walk_aml_resources.c' source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_utresrc.c_acpi_ut_walk_aml_resources.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ut_walk_aml_resources = dso_local local_unnamed_addr global i32 0, align 4 @AE_AML_NO_RESOURCE_END_TAG = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_RESOURCE_NAME_END_TAG = dso_local local_unnamed_addr global i64 0, align 8 @AE_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @acpi_ut_walk_aml_resources(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef readonly %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store i64 121, ptr %7, align 8 %8 = load i32, ptr @ut_walk_aml_resources, align 4, !tbaa !5 %9 = tail call i32 @ACPI_FUNCTION_TRACE(i32 noundef %8) #3 %10 = sext i32 %2 to i64 %11 = icmp ult i32 %2, 4 br i1 %11, label %12, label %15 12: ; preds = %5 %13 = load i32, ptr @AE_AML_NO_RESOURCE_END_TAG, align 4, !tbaa !5 %14 = tail call i32 @return_ACPI_STATUS(i32 noundef %13) #3 br label %15 15: ; preds = %12, %5 %16 = getelementptr inbounds i32, ptr %1, i64 %10 %17 = icmp sgt i32 %2, 0 br i1 %17, label %18, label %57 18: ; preds = %15 %19 = icmp eq ptr %3, null br label %20 20: ; preds = %18, %52 %21 = phi i32 [ 0, %18 ], [ %55, %52 ] %22 = phi ptr [ %1, %18 ], [ %54, %52 ] %23 = call i32 @acpi_ut_validate_resource(ptr noundef %0, ptr noundef %22, ptr noundef nonnull %6) #3 %24 = call i64 @ACPI_FAILURE(i32 noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %20 %27 = call i32 @return_ACPI_STATUS(i32 noundef %23) #3 br label %28 28: ; preds = %26, %20 %29 = call i32 @acpi_ut_get_descriptor_length(ptr noundef %22) #3 br i1 %19, label %37, label %30 30: ; preds = %28 %31 = load i32, ptr %6, align 4, !tbaa !5 %32 = call i32 %3(ptr noundef %22, i32 noundef %29, i32 noundef %21, i32 noundef %31, ptr noundef %4) #3 %33 = call i64 @ACPI_FAILURE(i32 noundef %32) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %30 %36 = call i32 @return_ACPI_STATUS(i32 noundef %32) #3 br label %37 37: ; preds = %30, %35, %28 %38 = call i64 @acpi_ut_get_resource_type(ptr noundef %22) #3 %39 = load i64, ptr @ACPI_RESOURCE_NAME_END_TAG, align 8, !tbaa !9 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %52 41: ; preds = %37 %42 = getelementptr inbounds i32, ptr %22, i64 1 %43 = icmp ult ptr %42, %16 br i1 %43, label %47, label %44 44: ; preds = %41 %45 = load i32, ptr @AE_AML_NO_RESOURCE_END_TAG, align 4, !tbaa !5 %46 = call i32 @return_ACPI_STATUS(i32 noundef %45) #3 br label %47 47: ; preds = %44, %41 br i1 %19, label %48, label %49 48: ; preds = %47 store ptr %22, ptr %4, align 8, !tbaa !11 br label %49 49: ; preds = %48, %47 %50 = load i32, ptr @AE_OK, align 4, !tbaa !5 %51 = call i32 @return_ACPI_STATUS(i32 noundef %50) #3 br label %52 52: ; preds = %49, %37 %53 = sext i32 %29 to i64 %54 = getelementptr inbounds i32, ptr %22, i64 %53 %55 = add nsw i32 %29, %21 %56 = icmp ult ptr %54, %16 br i1 %56, label %20, label %57, !llvm.loop !13 57: ; preds = %52, %15 %58 = phi i32 [ 0, %15 ], [ %55, %52 ] %59 = icmp eq ptr %3, null br i1 %59, label %68, label %60 60: ; preds = %57 %61 = call i32 @acpi_ut_validate_resource(ptr noundef %0, ptr noundef nonnull %7, ptr noundef nonnull %6) #3 %62 = load i32, ptr %6, align 4, !tbaa !5 %63 = call i32 %3(ptr noundef nonnull %7, i32 noundef 2, i32 noundef %58, i32 noundef %62, ptr noundef %4) #3 %64 = call i64 @ACPI_FAILURE(i32 noundef %63) #3 %65 = icmp eq i64 %64, 0 br i1 %65, label %68, label %66 66: ; preds = %60 %67 = call i32 @return_ACPI_STATUS(i32 noundef %63) #3 br label %68 68: ; preds = %60, %66, %57 %69 = load i32, ptr @AE_AML_NO_RESOURCE_END_TAG, align 4, !tbaa !5 %70 = call i32 @return_ACPI_STATUS(i32 noundef %69) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 undef } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ACPI_FUNCTION_TRACE(i32 noundef) local_unnamed_addr #2 declare i32 @return_ACPI_STATUS(i32 noundef) local_unnamed_addr #2 declare i32 @acpi_ut_validate_resource(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #2 declare i32 @acpi_ut_get_descriptor_length(ptr noundef) local_unnamed_addr #2 declare i64 @acpi_ut_get_resource_type(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_utresrc.c_acpi_ut_walk_aml_resources.c' source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_utresrc.c_acpi_ut_walk_aml_resources.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ut_walk_aml_resources = common local_unnamed_addr global i32 0, align 4 @AE_AML_NO_RESOURCE_END_TAG = common local_unnamed_addr global i32 0, align 4 @ACPI_RESOURCE_NAME_END_TAG = common local_unnamed_addr global i64 0, align 8 @AE_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @acpi_ut_walk_aml_resources(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef readonly %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store i64 121, ptr %7, align 8 %8 = load i32, ptr @ut_walk_aml_resources, align 4, !tbaa !6 %9 = tail call i32 @ACPI_FUNCTION_TRACE(i32 noundef %8) #3 %10 = sext i32 %2 to i64 %11 = icmp ult i32 %2, 4 br i1 %11, label %12, label %15 12: ; preds = %5 %13 = load i32, ptr @AE_AML_NO_RESOURCE_END_TAG, align 4, !tbaa !6 %14 = tail call i32 @return_ACPI_STATUS(i32 noundef %13) #3 br label %15 15: ; preds = %12, %5 %16 = getelementptr inbounds i32, ptr %1, i64 %10 %17 = icmp sgt i32 %2, 0 br i1 %17, label %18, label %57 18: ; preds = %15 %19 = icmp eq ptr %3, null br label %20 20: ; preds = %18, %52 %21 = phi i32 [ 0, %18 ], [ %55, %52 ] %22 = phi ptr [ %1, %18 ], [ %54, %52 ] %23 = call i32 @acpi_ut_validate_resource(ptr noundef %0, ptr noundef %22, ptr noundef nonnull %6) #3 %24 = call i64 @ACPI_FAILURE(i32 noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %20 %27 = call i32 @return_ACPI_STATUS(i32 noundef %23) #3 br label %28 28: ; preds = %26, %20 %29 = call i32 @acpi_ut_get_descriptor_length(ptr noundef %22) #3 br i1 %19, label %37, label %30 30: ; preds = %28 %31 = load i32, ptr %6, align 4, !tbaa !6 %32 = call i32 %3(ptr noundef %22, i32 noundef %29, i32 noundef %21, i32 noundef %31, ptr noundef %4) #3 %33 = call i64 @ACPI_FAILURE(i32 noundef %32) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %30 %36 = call i32 @return_ACPI_STATUS(i32 noundef %32) #3 br label %37 37: ; preds = %30, %35, %28 %38 = call i64 @acpi_ut_get_resource_type(ptr noundef %22) #3 %39 = load i64, ptr @ACPI_RESOURCE_NAME_END_TAG, align 8, !tbaa !10 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %52 41: ; preds = %37 %42 = getelementptr inbounds i8, ptr %22, i64 4 %43 = icmp ult ptr %42, %16 br i1 %43, label %47, label %44 44: ; preds = %41 %45 = load i32, ptr @AE_AML_NO_RESOURCE_END_TAG, align 4, !tbaa !6 %46 = call i32 @return_ACPI_STATUS(i32 noundef %45) #3 br label %47 47: ; preds = %44, %41 br i1 %19, label %48, label %49 48: ; preds = %47 store ptr %22, ptr %4, align 8, !tbaa !12 br label %49 49: ; preds = %48, %47 %50 = load i32, ptr @AE_OK, align 4, !tbaa !6 %51 = call i32 @return_ACPI_STATUS(i32 noundef %50) #3 br label %52 52: ; preds = %49, %37 %53 = sext i32 %29 to i64 %54 = getelementptr inbounds i32, ptr %22, i64 %53 %55 = add nsw i32 %29, %21 %56 = icmp ult ptr %54, %16 br i1 %56, label %20, label %57, !llvm.loop !14 57: ; preds = %52, %15 %58 = phi i32 [ 0, %15 ], [ %55, %52 ] %59 = icmp eq ptr %3, null br i1 %59, label %68, label %60 60: ; preds = %57 %61 = call i32 @acpi_ut_validate_resource(ptr noundef %0, ptr noundef nonnull %7, ptr noundef nonnull %6) #3 %62 = load i32, ptr %6, align 4, !tbaa !6 %63 = call i32 %3(ptr noundef nonnull %7, i32 noundef 2, i32 noundef %58, i32 noundef %62, ptr noundef %4) #3 %64 = call i64 @ACPI_FAILURE(i32 noundef %63) #3 %65 = icmp eq i64 %64, 0 br i1 %65, label %68, label %66 66: ; preds = %60 %67 = call i32 @return_ACPI_STATUS(i32 noundef %63) #3 br label %68 68: ; preds = %60, %66, %57 %69 = load i32, ptr @AE_AML_NO_RESOURCE_END_TAG, align 4, !tbaa !6 %70 = call i32 @return_ACPI_STATUS(i32 noundef %69) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 undef } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ACPI_FUNCTION_TRACE(i32 noundef) local_unnamed_addr #2 declare i32 @return_ACPI_STATUS(i32 noundef) local_unnamed_addr #2 declare i32 @acpi_ut_validate_resource(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #2 declare i32 @acpi_ut_get_descriptor_length(ptr noundef) local_unnamed_addr #2 declare i64 @acpi_ut_get_resource_type(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_drivers_acpi_acpica_extr_utresrc.c_acpi_ut_walk_aml_resources
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/dplayx/extr_dplayx_global.c_DPLAYX_GetConnectionSettingsA.c' source_filename = "AnghaBench/reactos/dll/directx/wine/dplayx/extr_dplayx_global.c_DPLAYX_GetConnectionSettingsA.c" target datalayout = "e-m:e-p270:32:32-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 [35 x i8] c"Application 0x%08x is not lobbied\0A\00", align 1 @DPERR_NOTLOBBIED = dso_local local_unnamed_addr global i32 0, align 4 @DPERR_BUFFERTOOSMALL = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Signalling setting read event %p %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"succeed\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"failed\00", align 1 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @DP_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @DPLAYX_GetConnectionSettingsA(i64 noundef %0, ptr noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = tail call i32 (...) @DPLAYX_AcquireSemaphore() #3 %7 = call i32 @DPLAYX_IsAppIdLobbied(i64 noundef %0, ptr noundef nonnull %4) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = call i32 (...) @DPLAYX_ReleaseSemaphore() #3 %11 = call i32 (ptr, i64, ...) @TRACE(ptr noundef nonnull @.str, i64 noundef %0) #3 br label %44 12: ; preds = %3 %13 = load ptr, ptr %4, align 8, !tbaa !5 %14 = load i32, ptr %13, align 4, !tbaa !9 %15 = call i64 @DPLAYX_SizeOfLobbyDataA(i32 noundef %14) #3 %16 = icmp eq ptr %1, null br i1 %16, label %20, label %17 17: ; preds = %12 %18 = load i64, ptr %2, align 8, !tbaa !12 %19 = icmp slt i64 %18, %15 br i1 %19, label %20, label %25 20: ; preds = %17, %12 %21 = call i32 (...) @DPLAYX_ReleaseSemaphore() #3 %22 = load ptr, ptr %4, align 8, !tbaa !5 %23 = load i32, ptr %22, align 4, !tbaa !9 %24 = call i64 @DPLAYX_SizeOfLobbyDataA(i32 noundef %23) #3 store i64 %24, ptr %2, align 8, !tbaa !12 br label %44 25: ; preds = %17 %26 = load ptr, ptr %4, align 8, !tbaa !5 %27 = load i32, ptr %26, align 4, !tbaa !9 %28 = call i32 @DPLAYX_CopyConnStructA(ptr noundef nonnull %1, i32 noundef %27) #3 %29 = call i32 (...) @DPLAYX_ReleaseSemaphore() #3 %30 = load i32, ptr @FALSE, align 4, !tbaa !14 %31 = call i64 @DPLAYX_GetThisLobbyHandles(ptr noundef null, ptr noundef null, ptr noundef nonnull %5, i32 noundef %30) #3 %32 = icmp ne i64 %31, 0 %33 = load i64, ptr %5, align 8 %34 = icmp ne i64 %33, 0 %35 = select i1 %32, i1 %34, i1 false br i1 %35, label %36, label %44 36: ; preds = %25 %37 = call i64 @SetEvent(i64 noundef %33) #3 %38 = load i64, ptr %5, align 8, !tbaa !12 %39 = icmp eq i64 %37, 0 %40 = select i1 %39, ptr @.str.3, ptr @.str.2 %41 = call i32 (ptr, i64, ...) @TRACE(ptr noundef nonnull @.str.1, i64 noundef %38, ptr noundef nonnull %40) #3 %42 = load i32, ptr @TRUE, align 4, !tbaa !14 %43 = call i64 @DPLAYX_GetThisLobbyHandles(ptr noundef null, ptr noundef null, ptr noundef nonnull %5, i32 noundef %42) #3 br label %44 44: ; preds = %25, %36, %20, %9 %45 = phi ptr [ @DPERR_BUFFERTOOSMALL, %20 ], [ @DPERR_NOTLOBBIED, %9 ], [ @DP_OK, %36 ], [ @DP_OK, %25 ] %46 = load i32, ptr %45, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @DPLAYX_AcquireSemaphore(...) local_unnamed_addr #2 declare i32 @DPLAYX_IsAppIdLobbied(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DPLAYX_ReleaseSemaphore(...) local_unnamed_addr #2 declare i32 @TRACE(ptr noundef, i64 noundef, ...) local_unnamed_addr #2 declare i64 @DPLAYX_SizeOfLobbyDataA(i32 noundef) local_unnamed_addr #2 declare i32 @DPLAYX_CopyConnStructA(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @DPLAYX_GetThisLobbyHandles(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @SetEvent(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_3__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/dplayx/extr_dplayx_global.c_DPLAYX_GetConnectionSettingsA.c' source_filename = "AnghaBench/reactos/dll/directx/wine/dplayx/extr_dplayx_global.c_DPLAYX_GetConnectionSettingsA.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 [35 x i8] c"Application 0x%08x is not lobbied\0A\00", align 1 @DPERR_NOTLOBBIED = common local_unnamed_addr global i32 0, align 4 @DPERR_BUFFERTOOSMALL = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Signalling setting read event %p %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"succeed\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"failed\00", align 1 @TRUE = common local_unnamed_addr global i32 0, align 4 @DP_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @DPLAYX_GetConnectionSettingsA(i64 noundef %0, ptr noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = tail call i32 @DPLAYX_AcquireSemaphore() #3 %7 = call i32 @DPLAYX_IsAppIdLobbied(i64 noundef %0, ptr noundef nonnull %4) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = call i32 @DPLAYX_ReleaseSemaphore() #3 %11 = call i32 (ptr, i64, ...) @TRACE(ptr noundef nonnull @.str, i64 noundef %0) #3 br label %44 12: ; preds = %3 %13 = load ptr, ptr %4, align 8, !tbaa !6 %14 = load i32, ptr %13, align 4, !tbaa !10 %15 = call i64 @DPLAYX_SizeOfLobbyDataA(i32 noundef %14) #3 %16 = icmp eq ptr %1, null br i1 %16, label %20, label %17 17: ; preds = %12 %18 = load i64, ptr %2, align 8, !tbaa !13 %19 = icmp slt i64 %18, %15 br i1 %19, label %20, label %25 20: ; preds = %17, %12 %21 = call i32 @DPLAYX_ReleaseSemaphore() #3 %22 = load ptr, ptr %4, align 8, !tbaa !6 %23 = load i32, ptr %22, align 4, !tbaa !10 %24 = call i64 @DPLAYX_SizeOfLobbyDataA(i32 noundef %23) #3 store i64 %24, ptr %2, align 8, !tbaa !13 br label %44 25: ; preds = %17 %26 = load ptr, ptr %4, align 8, !tbaa !6 %27 = load i32, ptr %26, align 4, !tbaa !10 %28 = call i32 @DPLAYX_CopyConnStructA(ptr noundef nonnull %1, i32 noundef %27) #3 %29 = call i32 @DPLAYX_ReleaseSemaphore() #3 %30 = load i32, ptr @FALSE, align 4, !tbaa !15 %31 = call i64 @DPLAYX_GetThisLobbyHandles(ptr noundef null, ptr noundef null, ptr noundef nonnull %5, i32 noundef %30) #3 %32 = icmp ne i64 %31, 0 %33 = load i64, ptr %5, align 8 %34 = icmp ne i64 %33, 0 %35 = select i1 %32, i1 %34, i1 false br i1 %35, label %36, label %44 36: ; preds = %25 %37 = call i64 @SetEvent(i64 noundef %33) #3 %38 = load i64, ptr %5, align 8, !tbaa !13 %39 = icmp eq i64 %37, 0 %40 = select i1 %39, ptr @.str.3, ptr @.str.2 %41 = call i32 (ptr, i64, ...) @TRACE(ptr noundef nonnull @.str.1, i64 noundef %38, ptr noundef nonnull %40) #3 %42 = load i32, ptr @TRUE, align 4, !tbaa !15 %43 = call i64 @DPLAYX_GetThisLobbyHandles(ptr noundef null, ptr noundef null, ptr noundef nonnull %5, i32 noundef %42) #3 br label %44 44: ; preds = %25, %36, %20, %9 %45 = phi ptr [ @DPERR_BUFFERTOOSMALL, %20 ], [ @DPERR_NOTLOBBIED, %9 ], [ @DP_OK, %36 ], [ @DP_OK, %25 ] %46 = load i32, ptr %45, align 4, !tbaa !15 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %46 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @DPLAYX_AcquireSemaphore(...) local_unnamed_addr #2 declare i32 @DPLAYX_IsAppIdLobbied(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @DPLAYX_ReleaseSemaphore(...) local_unnamed_addr #2 declare i32 @TRACE(ptr noundef, i64 noundef, ...) local_unnamed_addr #2 declare i64 @DPLAYX_SizeOfLobbyDataA(i32 noundef) local_unnamed_addr #2 declare i32 @DPLAYX_CopyConnStructA(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @DPLAYX_GetThisLobbyHandles(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @SetEvent(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!12, !12, i64 0}
reactos_dll_directx_wine_dplayx_extr_dplayx_global.c_DPLAYX_GetConnectionSettingsA
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/duck/octagon/v1/extr_matrix.c_unselect_cols.c' source_filename = "AnghaBench/qmk_firmware/keyboards/duck/octagon/v1/extr_matrix.c_unselect_cols.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DDRB = dso_local local_unnamed_addr global i32 0, align 4 @PORTB = dso_local local_unnamed_addr global i32 0, align 4 @DDRC = dso_local local_unnamed_addr global i32 0, align 4 @PORTC = dso_local local_unnamed_addr global i32 0, align 4 @DDRF = dso_local local_unnamed_addr global i32 0, align 4 @PORTF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @unselect_cols], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable define internal void @unselect_cols() #0 { %1 = load i32, ptr @DDRB, align 4, !tbaa !5 %2 = or i32 %1, 64 store i32 %2, ptr @DDRB, align 4, !tbaa !5 %3 = load i32, ptr @PORTB, align 4, !tbaa !5 %4 = and i32 %3, -65 store i32 %4, ptr @PORTB, align 4, !tbaa !5 %5 = load i32, ptr @DDRC, align 4, !tbaa !5 %6 = or i32 %5, 192 store i32 %6, ptr @DDRC, align 4, !tbaa !5 %7 = load i32, ptr @PORTC, align 4, !tbaa !5 %8 = and i32 %7, -193 store i32 %8, ptr @PORTC, align 4, !tbaa !5 %9 = load i32, ptr @DDRF, align 4, !tbaa !5 %10 = or i32 %9, 3 store i32 %10, ptr @DDRF, align 4, !tbaa !5 %11 = load i32, ptr @PORTF, align 4, !tbaa !5 %12 = and i32 %11, -4 store i32 %12, ptr @PORTF, align 4, !tbaa !5 ret void } 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/qmk_firmware/keyboards/duck/octagon/v1/extr_matrix.c_unselect_cols.c' source_filename = "AnghaBench/qmk_firmware/keyboards/duck/octagon/v1/extr_matrix.c_unselect_cols.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DDRB = common local_unnamed_addr global i32 0, align 4 @PORTB = common local_unnamed_addr global i32 0, align 4 @DDRC = common local_unnamed_addr global i32 0, align 4 @PORTC = common local_unnamed_addr global i32 0, align 4 @DDRF = common local_unnamed_addr global i32 0, align 4 @PORTF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @unselect_cols], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) define internal void @unselect_cols() #0 { %1 = load i32, ptr @DDRB, align 4, !tbaa !6 %2 = or i32 %1, 64 store i32 %2, ptr @DDRB, align 4, !tbaa !6 %3 = load i32, ptr @PORTB, align 4, !tbaa !6 %4 = and i32 %3, -65 store i32 %4, ptr @PORTB, align 4, !tbaa !6 %5 = load i32, ptr @DDRC, align 4, !tbaa !6 %6 = or i32 %5, 192 store i32 %6, ptr @DDRC, align 4, !tbaa !6 %7 = load i32, ptr @PORTC, align 4, !tbaa !6 %8 = and i32 %7, -193 store i32 %8, ptr @PORTC, align 4, !tbaa !6 %9 = load i32, ptr @DDRF, align 4, !tbaa !6 %10 = or i32 %9, 3 store i32 %10, ptr @DDRF, align 4, !tbaa !6 %11 = load i32, ptr @PORTF, align 4, !tbaa !6 %12 = and i32 %11, -4 store i32 %12, ptr @PORTF, align 4, !tbaa !6 ret void } 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"}
qmk_firmware_keyboards_duck_octagon_v1_extr_matrix.c_unselect_cols
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rds/extr_ib_rdma.c_rds_ib_destroy_mr_pool.c' source_filename = "AnghaBench/fastsocket/kernel/net/rds/extr_ib_rdma.c_rds_ib_destroy_mr_pool.c" target datalayout = "e-m:e-p270:32:32-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.rds_ib_mr_pool = type { i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @rds_ib_destroy_mr_pool(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.rds_ib_mr_pool, ptr %0, i64 0, i32 2 %3 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %2) #2 %4 = tail call i32 @rds_ib_flush_mr_pool(ptr noundef %0, i32 noundef 1, ptr noundef null) #2 %5 = getelementptr inbounds %struct.rds_ib_mr_pool, ptr %0, i64 0, i32 1 %6 = tail call i32 @atomic_read(ptr noundef nonnull %5) #2 %7 = tail call i32 @WARN_ON(i32 noundef %6) #2 %8 = tail call i32 @atomic_read(ptr noundef %0) #2 %9 = tail call i32 @WARN_ON(i32 noundef %8) #2 %10 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1 declare i32 @rds_ib_flush_mr_pool(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/rds/extr_ib_rdma.c_rds_ib_destroy_mr_pool.c' source_filename = "AnghaBench/fastsocket/kernel/net/rds/extr_ib_rdma.c_rds_ib_destroy_mr_pool.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 @rds_ib_destroy_mr_pool(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %2) #2 %4 = tail call i32 @rds_ib_flush_mr_pool(ptr noundef %0, i32 noundef 1, ptr noundef null) #2 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = tail call i32 @atomic_read(ptr noundef nonnull %5) #2 %7 = tail call i32 @WARN_ON(i32 noundef %6) #2 %8 = tail call i32 @atomic_read(ptr noundef %0) #2 %9 = tail call i32 @WARN_ON(i32 noundef %8) #2 %10 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1 declare i32 @rds_ib_flush_mr_pool(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_net_rds_extr_ib_rdma.c_rds_ib_destroy_mr_pool
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_conf.c_giant_ioctl.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_conf.c_giant_ioctl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @Giant = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @giant_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @giant_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call ptr @dev_refthread(ptr noundef %0, ptr noundef nonnull %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %5 %10 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %19 11: ; preds = %5 %12 = call i32 @mtx_lock(ptr noundef nonnull @Giant) #3 %13 = load ptr, ptr %7, align 8, !tbaa !9 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = call i32 %14(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #3 %16 = call i32 @mtx_unlock(ptr noundef nonnull @Giant) #3 %17 = load i32, ptr %6, align 4, !tbaa !5 %18 = call i32 @dev_relthread(ptr noundef %0, i32 noundef %17) #3 br label %19 19: ; preds = %11, %9 %20 = phi i32 [ %10, %9 ], [ %15, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_refthread(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @dev_relthread(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"cdevsw", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_conf.c_giant_ioctl.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_conf.c_giant_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENXIO = common local_unnamed_addr global i32 0, align 4 @Giant = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @giant_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @giant_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call ptr @dev_refthread(ptr noundef %0, ptr noundef nonnull %6) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %5 %10 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %19 11: ; preds = %5 %12 = call i32 @mtx_lock(ptr noundef nonnull @Giant) #3 %13 = load ptr, ptr %7, align 8, !tbaa !10 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = call i32 %14(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #3 %16 = call i32 @mtx_unlock(ptr noundef nonnull @Giant) #3 %17 = load i32, ptr %6, align 4, !tbaa !6 %18 = call i32 @dev_relthread(ptr noundef %0, i32 noundef %17) #3 br label %19 19: ; preds = %11, %9 %20 = phi i32 [ %10, %9 ], [ %15, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_refthread(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @dev_relthread(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"cdevsw", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0}
freebsd_sys_kern_extr_kern_conf.c_giant_ioctl
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_klv_encode_ber4_length.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_klv_encode_ber4_length.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @klv_encode_ber4_length], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @klv_encode_ber4_length(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @avio_w8(ptr noundef %0, i32 noundef 131) #2 %4 = tail call i32 @avio_wb24(ptr noundef %0, i32 noundef %1) #2 ret void } declare i32 @avio_w8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_wb24(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_klv_encode_ber4_length.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_mxfenc.c_klv_encode_ber4_length.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 @klv_encode_ber4_length], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @klv_encode_ber4_length(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @avio_w8(ptr noundef %0, i32 noundef 131) #2 %4 = tail call i32 @avio_wb24(ptr noundef %0, i32 noundef %1) #2 ret void } declare i32 @avio_w8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_wb24(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)"}
FFmpeg_libavformat_extr_mxfenc.c_klv_encode_ber4_length
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ips.c_ips_statupd_copperhead.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ips.c_ips_statupd_copperhead.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, ptr } %struct.TYPE_5__ = type { i32 } %struct.TYPE_7__ = type { ptr, i64 } @.str = private unnamed_addr constant [23 x i8] c"ips_statupd_copperhead\00", align 1 @IPS_REG_SQTR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ips_statupd_copperhead], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ips_statupd_copperhead(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @METHOD_TRACE(ptr noundef nonnull @.str, i32 noundef 1) #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 4 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = icmp eq ptr %5, %7 br i1 %8, label %13, label %9 9: ; preds = %1 %10 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 1 %11 = load i32, ptr %3, align 8, !tbaa !15 %12 = add i32 %11, 4 br label %18 13: ; preds = %1 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 3 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !17 br label %18 18: ; preds = %13, %9 %19 = phi ptr [ %15, %13 ], [ %10, %9 ] %20 = phi i32 [ %17, %13 ], [ %12, %9 ] store ptr %19, ptr %4, align 8 store i32 %20, ptr %3, align 8, !tbaa !15 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !18 %23 = load i64, ptr @IPS_REG_SQTR, align 8, !tbaa !19 %24 = add nsw i64 %23, %22 %25 = tail call i32 @outl(i32 noundef %20, i64 noundef %24) #2 %26 = load ptr, ptr %0, align 8, !tbaa !5 %27 = getelementptr inbounds %struct.TYPE_6__, ptr %26, i64 0, i32 2 %28 = load ptr, ptr %27, align 8, !tbaa !11 %29 = load i32, ptr %28, align 4, !tbaa !20 ret i32 %29 } declare i32 @METHOD_TRACE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outl(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 = !{!"TYPE_7__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !7, i64 8} !12 = !{!"TYPE_6__", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 16, !7, i64 24} !13 = !{!"int", !8, i64 0} !14 = !{!12, !7, i64 24} !15 = !{!12, !13, i64 0} !16 = !{!12, !7, i64 16} !17 = !{!12, !13, i64 4} !18 = !{!6, !10, i64 8} !19 = !{!10, !10, i64 0} !20 = !{!21, !13, i64 0} !21 = !{!"TYPE_5__", !13, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_ips.c_ips_statupd_copperhead.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_ips.c_ips_statupd_copperhead.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 [23 x i8] c"ips_statupd_copperhead\00", align 1 @IPS_REG_SQTR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ips_statupd_copperhead], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ips_statupd_copperhead(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @METHOD_TRACE(ptr noundef nonnull @.str, i32 noundef 1) #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %3, i64 24 %7 = load ptr, ptr %6, align 8, !tbaa !15 %8 = icmp eq ptr %5, %7 br i1 %8, label %13, label %9 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %5, i64 4 %11 = load i32, ptr %3, align 8, !tbaa !16 %12 = add i32 %11, 4 br label %18 13: ; preds = %1 %14 = getelementptr inbounds i8, ptr %3, i64 16 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = getelementptr inbounds i8, ptr %3, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !18 br label %18 18: ; preds = %13, %9 %19 = phi ptr [ %15, %13 ], [ %10, %9 ] %20 = phi i32 [ %17, %13 ], [ %12, %9 ] store ptr %19, ptr %4, align 8 store i32 %20, ptr %3, align 8, !tbaa !16 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !19 %23 = load i64, ptr @IPS_REG_SQTR, align 8, !tbaa !20 %24 = add nsw i64 %23, %22 %25 = tail call i32 @outl(i32 noundef %20, i64 noundef %24) #2 %26 = load ptr, ptr %0, align 8, !tbaa !6 %27 = getelementptr inbounds i8, ptr %26, i64 8 %28 = load ptr, ptr %27, align 8, !tbaa !12 %29 = load i32, ptr %28, align 4, !tbaa !21 ret i32 %29 } declare i32 @METHOD_TRACE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outl(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 = !{!"TYPE_7__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !8, i64 8} !13 = !{!"TYPE_6__", !14, i64 0, !14, i64 4, !8, i64 8, !8, i64 16, !8, i64 24} !14 = !{!"int", !9, i64 0} !15 = !{!13, !8, i64 24} !16 = !{!13, !14, i64 0} !17 = !{!13, !8, i64 16} !18 = !{!13, !14, i64 4} !19 = !{!7, !11, i64 8} !20 = !{!11, !11, i64 0} !21 = !{!22, !14, i64 0} !22 = !{!"TYPE_5__", !14, i64 0}
fastsocket_kernel_drivers_scsi_extr_ips.c_ips_statupd_copperhead
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-as3645a.c_as3645a_set_control.c' source_filename = "AnghaBench/linux/drivers/leds/extr_leds-as3645a.c_as3645a_set_control.c" target datalayout = "e-m:e-p270:32:32-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.as3645a = type { i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @AS_CONTROL_COIL_PEAK_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @AS_CONTROL_OUT_ON = dso_local local_unnamed_addr global i32 0, align 4 @AS_MODE_FLASH = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_FLASH_STROBE_SOURCE_EXTERNAL = dso_local local_unnamed_addr global i64 0, align 8 @AS_CONTROL_STROBE_TYPE_LEVEL = dso_local local_unnamed_addr global i32 0, align 4 @AS_CONTROL_STROBE_ON = dso_local local_unnamed_addr global i32 0, align 4 @AS_CONTROL_REG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @as3645a_set_control], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @as3645a_set_control(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.as3645a, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr @AS_CONTROL_COIL_PEAK_SHIFT, align 4, !tbaa !12 %7 = shl i32 %5, %6 %8 = icmp eq i32 %2, 0 %9 = load i32, ptr @AS_CONTROL_OUT_ON, align 4 %10 = select i1 %8, i32 0, i32 %9 %11 = or i32 %7, %10 %12 = or i32 %11, %1 %13 = load i32, ptr @AS_MODE_FLASH, align 4, !tbaa !12 %14 = icmp eq i32 %13, %1 br i1 %14, label %15, label %24 15: ; preds = %3 %16 = load i64, ptr %0, align 8, !tbaa !13 %17 = load i64, ptr @V4L2_FLASH_STROBE_SOURCE_EXTERNAL, align 8, !tbaa !14 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load i32, ptr @AS_CONTROL_STROBE_TYPE_LEVEL, align 4, !tbaa !12 %21 = load i32, ptr @AS_CONTROL_STROBE_ON, align 4, !tbaa !12 %22 = or i32 %20, %21 %23 = or i32 %22, %12 br label %24 24: ; preds = %19, %15, %3 %25 = phi i32 [ %23, %19 ], [ %12, %15 ], [ %12, %3 ] %26 = load i32, ptr @AS_CONTROL_REG, align 4, !tbaa !12 %27 = tail call i32 @as3645a_write(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %25) #2 ret i32 %27 } declare i32 @as3645a_write(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, !11, i64 8} !6 = !{!"as3645a", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/leds/extr_leds-as3645a.c_as3645a_set_control.c' source_filename = "AnghaBench/linux/drivers/leds/extr_leds-as3645a.c_as3645a_set_control.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AS_CONTROL_COIL_PEAK_SHIFT = common local_unnamed_addr global i32 0, align 4 @AS_CONTROL_OUT_ON = common local_unnamed_addr global i32 0, align 4 @AS_MODE_FLASH = common local_unnamed_addr global i32 0, align 4 @V4L2_FLASH_STROBE_SOURCE_EXTERNAL = common local_unnamed_addr global i64 0, align 8 @AS_CONTROL_STROBE_TYPE_LEVEL = common local_unnamed_addr global i32 0, align 4 @AS_CONTROL_STROBE_ON = common local_unnamed_addr global i32 0, align 4 @AS_CONTROL_REG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @as3645a_set_control], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @as3645a_set_control(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr @AS_CONTROL_COIL_PEAK_SHIFT, align 4, !tbaa !13 %7 = shl i32 %5, %6 %8 = icmp eq i32 %2, 0 %9 = load i32, ptr @AS_CONTROL_OUT_ON, align 4 %10 = select i1 %8, i32 0, i32 %9 %11 = or i32 %7, %10 %12 = or i32 %11, %1 %13 = load i32, ptr @AS_MODE_FLASH, align 4, !tbaa !13 %14 = icmp eq i32 %13, %1 br i1 %14, label %15, label %24 15: ; preds = %3 %16 = load i64, ptr %0, align 8, !tbaa !14 %17 = load i64, ptr @V4L2_FLASH_STROBE_SOURCE_EXTERNAL, align 8, !tbaa !15 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load i32, ptr @AS_CONTROL_STROBE_TYPE_LEVEL, align 4, !tbaa !13 %21 = load i32, ptr @AS_CONTROL_STROBE_ON, align 4, !tbaa !13 %22 = or i32 %20, %21 %23 = or i32 %22, %12 br label %24 24: ; preds = %19, %15, %3 %25 = phi i32 [ %23, %19 ], [ %12, %15 ], [ %12, %3 ] %26 = load i32, ptr @AS_CONTROL_REG, align 4, !tbaa !13 %27 = tail call i32 @as3645a_write(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %25) #2 ret i32 %27 } declare i32 @as3645a_write(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, !12, i64 8} !7 = !{!"as3645a", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0}
linux_drivers_leds_extr_leds-as3645a.c_as3645a_set_control
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_std.c_tape_std_mtcompression.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_std.c_tape_std_mtcompression.c" target datalayout = "e-m:e-p270:32:32-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.tape_request = type { i64, i32 } @.str = private unnamed_addr constant [11 x i8] c"xcom parm\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @TO_NOP = dso_local local_unnamed_addr global i32 0, align 4 @MODE_SET_DB = dso_local local_unnamed_addr global i32 0, align 4 @NOP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @tape_std_mtcompression(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp ugt i32 %1, 1 br i1 %3, label %4, label %8 4: ; preds = %2 %5 = tail call i32 @DBF_EXCEPTION(i32 noundef 6, ptr noundef nonnull @.str) #2 %6 = load i32, ptr @EINVAL, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %31 8: ; preds = %2 %9 = tail call ptr @tape_alloc_request(i32 noundef 2, i32 noundef 0) #2 %10 = tail call i64 @IS_ERR(ptr noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %8 %13 = tail call i32 @PTR_ERR(ptr noundef %9) #2 br label %31 14: ; preds = %8 %15 = load i32, ptr @TO_NOP, align 4, !tbaa !5 %16 = getelementptr inbounds %struct.tape_request, ptr %9, i64 0, i32 1 store i32 %15, ptr %16, align 8, !tbaa !9 %17 = icmp eq i32 %1, 0 %18 = load ptr, ptr %0, align 8, !tbaa !12 %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = and i32 %19, -9 %21 = select i1 %17, i32 0, i32 8 %22 = or disjoint i32 %20, %21 store i32 %22, ptr %18, align 4, !tbaa !5 %23 = load i64, ptr %9, align 8, !tbaa !15 %24 = load i32, ptr @MODE_SET_DB, align 4, !tbaa !5 %25 = tail call i32 @tape_ccw_cc(i64 noundef %23, i32 noundef %24, i32 noundef 1, ptr noundef nonnull %18) #2 %26 = load i64, ptr %9, align 8, !tbaa !15 %27 = add nsw i64 %26, 1 %28 = load i32, ptr @NOP, align 4, !tbaa !5 %29 = tail call i32 @tape_ccw_end(i64 noundef %27, i32 noundef %28, i32 noundef 0, ptr noundef null) #2 %30 = tail call i32 @tape_do_io_free(ptr noundef nonnull %0, ptr noundef nonnull %9) #2 br label %31 31: ; preds = %14, %12, %4 %32 = phi i32 [ %7, %4 ], [ %13, %12 ], [ %30, %14 ] ret i32 %32 } declare i32 @DBF_EXCEPTION(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @tape_alloc_request(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tape_ccw_cc(i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tape_ccw_end(i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tape_do_io_free(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 8} !10 = !{!"tape_request", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"tape_device", !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_std.c_tape_std_mtcompression.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_tape_std.c_tape_std_mtcompression.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 [11 x i8] c"xcom parm\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @TO_NOP = common local_unnamed_addr global i32 0, align 4 @MODE_SET_DB = common local_unnamed_addr global i32 0, align 4 @NOP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @tape_std_mtcompression(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp ugt i32 %1, 1 br i1 %3, label %4, label %8 4: ; preds = %2 %5 = tail call i32 @DBF_EXCEPTION(i32 noundef 6, ptr noundef nonnull @.str) #2 %6 = load i32, ptr @EINVAL, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %31 8: ; preds = %2 %9 = tail call ptr @tape_alloc_request(i32 noundef 2, i32 noundef 0) #2 %10 = tail call i64 @IS_ERR(ptr noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %8 %13 = tail call i32 @PTR_ERR(ptr noundef %9) #2 br label %31 14: ; preds = %8 %15 = load i32, ptr @TO_NOP, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %9, i64 8 store i32 %15, ptr %16, align 8, !tbaa !10 %17 = icmp eq i32 %1, 0 %18 = load ptr, ptr %0, align 8, !tbaa !13 %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = and i32 %19, -9 %21 = select i1 %17, i32 0, i32 8 %22 = or disjoint i32 %20, %21 store i32 %22, ptr %18, align 4, !tbaa !6 %23 = load i64, ptr %9, align 8, !tbaa !16 %24 = load i32, ptr @MODE_SET_DB, align 4, !tbaa !6 %25 = tail call i32 @tape_ccw_cc(i64 noundef %23, i32 noundef %24, i32 noundef 1, ptr noundef nonnull %18) #2 %26 = load i64, ptr %9, align 8, !tbaa !16 %27 = add nsw i64 %26, 1 %28 = load i32, ptr @NOP, align 4, !tbaa !6 %29 = tail call i32 @tape_ccw_end(i64 noundef %27, i32 noundef %28, i32 noundef 0, ptr noundef null) #2 %30 = tail call i32 @tape_do_io_free(ptr noundef nonnull %0, ptr noundef nonnull %9) #2 br label %31 31: ; preds = %14, %12, %4 %32 = phi i32 [ %7, %4 ], [ %13, %12 ], [ %30, %14 ] ret i32 %32 } declare i32 @DBF_EXCEPTION(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @tape_alloc_request(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @tape_ccw_cc(i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tape_ccw_end(i64 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tape_do_io_free(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 8} !11 = !{!"tape_request", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"tape_device", !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!11, !12, i64 0}
fastsocket_kernel_drivers_s390_char_extr_tape_std.c_tape_std_mtcompression
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_antsel.c_brcms_c_antsel_antsel2id.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_antsel.c_brcms_c_antsel_antsel2id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ANTSEL_2x4 = dso_local local_unnamed_addr global i64 0, align 8 @mimo_2x4_div_antselid_tbl = dso_local local_unnamed_addr global ptr null, align 8 @ANTSEL_2x3 = dso_local local_unnamed_addr global i64 0, align 8 @mimo_2x3_div_antselid_tbl = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @brcms_c_antsel_antsel2id(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @ANTSEL_2x4, align 8, !tbaa !10 %5 = icmp eq i64 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i64, ptr @ANTSEL_2x3, align 8, !tbaa !10 %8 = icmp eq i64 %3, %7 br i1 %8, label %9, label %16 9: ; preds = %6, %2 %10 = phi ptr [ @mimo_2x4_div_antselid_tbl, %2 ], [ @mimo_2x3_div_antselid_tbl, %6 ] %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = and i32 %1, 15 %13 = zext nneg i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !13 br label %16 16: ; preds = %9, %6 %17 = phi i32 [ 0, %6 ], [ %15, %9 ] ret i32 %17 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"antsel_info", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_antsel.c_brcms_c_antsel_antsel2id.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_antsel.c_brcms_c_antsel_antsel2id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ANTSEL_2x4 = common local_unnamed_addr global i64 0, align 8 @mimo_2x4_div_antselid_tbl = common local_unnamed_addr global ptr null, align 8 @ANTSEL_2x3 = common local_unnamed_addr global i64 0, align 8 @mimo_2x3_div_antselid_tbl = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @brcms_c_antsel_antsel2id(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @ANTSEL_2x4, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i64, ptr @ANTSEL_2x3, align 8, !tbaa !11 %8 = icmp eq i64 %3, %7 br i1 %8, label %9, label %16 9: ; preds = %6, %2 %10 = phi ptr [ @mimo_2x4_div_antselid_tbl, %2 ], [ @mimo_2x3_div_antselid_tbl, %6 ] %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = and i32 %1, 15 %13 = zext nneg i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !14 br label %16 16: ; preds = %9, %6 %17 = phi i32 [ 0, %6 ], [ %15, %9 ] ret i32 %17 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"antsel_info", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0}
linux_drivers_net_wireless_broadcom_brcm80211_brcmsmac_extr_antsel.c_brcms_c_antsel_antsel2id
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_arcfb.c_arcfb_lcd_update_vert.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_arcfb.c_arcfb_lcd_update_vert.c" target datalayout = "e-m:e-p270:32:32-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 @arcfb_lcd_update_vert], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @arcfb_lcd_update_vert(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = sub i32 %2, %1 %7 = add i32 %6, 1 %8 = icmp eq i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %5, %9 %10 = phi i32 [ %14, %9 ], [ %1, %5 ] %11 = phi i32 [ %12, %9 ], [ %7, %5 ] %12 = add i32 %11, -8 %13 = tail call i32 @arcfb_lcd_update_page(ptr noundef %0, i32 noundef %10, i32 noundef %3, i32 noundef %4, i32 noundef 8) #2 %14 = add i32 %10, 8 %15 = icmp eq i32 %12, 0 br i1 %15, label %16, label %9, !llvm.loop !5 16: ; preds = %9, %5 ret void } declare i32 @arcfb_lcd_update_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/extr_arcfb.c_arcfb_lcd_update_vert.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/extr_arcfb.c_arcfb_lcd_update_vert.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 @arcfb_lcd_update_vert], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @arcfb_lcd_update_vert(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = sub i32 %2, %1 %7 = add i32 %6, 1 %8 = icmp eq i32 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %5, %9 %10 = phi i32 [ %14, %9 ], [ %1, %5 ] %11 = phi i32 [ %12, %9 ], [ %7, %5 ] %12 = add i32 %11, -8 %13 = tail call i32 @arcfb_lcd_update_page(ptr noundef %0, i32 noundef %10, i32 noundef %3, i32 noundef %4, i32 noundef 8) #2 %14 = add i32 %10, 8 %15 = icmp eq i32 %12, 0 br i1 %15, label %16, label %9, !llvm.loop !6 16: ; preds = %9, %5 ret void } declare i32 @arcfb_lcd_update_page(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
linux_drivers_video_fbdev_extr_arcfb.c_arcfb_lcd_update_vert
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_generic.c_ppp_register_channel.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_generic.c_ppp_register_channel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @current = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @ppp_register_channel(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @current, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !9 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = tail call i32 @ppp_register_net_channel(i32 noundef %4, ptr noundef %0) #2 ret i32 %5 } declare i32 @ppp_register_net_channel(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_4__", !6, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_generic.c_ppp_register_channel.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_generic.c_ppp_register_channel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @current = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ppp_register_channel(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @current, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = tail call i32 @ppp_register_net_channel(i32 noundef %4, ptr noundef %0) #2 ret i32 %5 } declare i32 @ppp_register_net_channel(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"int", !8, i64 0}
fastsocket_kernel_drivers_net_extr_ppp_generic.c_ppp_register_channel
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_l_cmd.c_BigShort.c' source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_l_cmd.c_BigShort.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef signext i16 @BigShort(i16 noundef signext %0) local_unnamed_addr #0 { %2 = tail call i16 @llvm.bswap.i16(i16 %0) ret i16 %2 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i16 @llvm.bswap.i16(i16) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_l_cmd.c_BigShort.c' source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_l_cmd.c_BigShort.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef signext i16 @BigShort(i16 noundef signext %0) local_unnamed_addr #0 { %2 = tail call i16 @llvm.bswap.i16(i16 %0) ret i16 %2 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i16 @llvm.bswap.i16(i16) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
Quake-III-Arena_code_bspc_extr_l_cmd.c_BigShort
; ModuleID = 'AnghaBench/linux/drivers/hv/extr_ring_buffer.c_hv_get_next_write_location.c' source_filename = "AnghaBench/linux/drivers/hv/extr_ring_buffer.c_hv_get_next_write_location.c" target datalayout = "e-m:e-p270:32:32-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 @hv_get_next_write_location], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @hv_get_next_write_location(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hv_ring_buffer_info", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hv/extr_ring_buffer.c_hv_get_next_write_location.c' source_filename = "AnghaBench/linux/drivers/hv/extr_ring_buffer.c_hv_get_next_write_location.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 @hv_get_next_write_location], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @hv_get_next_write_location(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hv_ring_buffer_info", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_drivers_hv_extr_ring_buffer.c_hv_get_next_write_location
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_systohc.c_rtc_set_ntp_time.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_systohc.c_rtc_set_ntp_time.c" target datalayout = "e-m:e-p270:32:32-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.timespec64 = type { i64, i32 } %struct.rtc_time = type { i32 } %struct.rtc_device = type { i32, ptr } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @CONFIG_RTC_SYSTOHC_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @EPROTO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @rtc_set_ntp_time(i64 %0, i32 %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca %struct.timespec64, align 8 %5 = alloca %struct.rtc_time, align 4 %6 = alloca %struct.timespec64, align 8 store i64 %0, ptr %4, align 8 %7 = getelementptr inbounds { i64, i32 }, ptr %4, i64 0, i32 1 store i32 %1, ptr %7, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3 %8 = load i32, ptr @ENODEV, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 %10 = load i32, ptr @CONFIG_RTC_SYSTOHC_DEVICE, align 4, !tbaa !5 %11 = tail call ptr @rtc_class_open(i32 noundef %10) #3 %12 = icmp eq ptr %11, null br i1 %12, label %39, label %13 13: ; preds = %3 %14 = getelementptr inbounds %struct.rtc_device, ptr %11, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !9 %16 = icmp eq ptr %15, null br i1 %16, label %36, label %17 17: ; preds = %13 %18 = load i32, ptr %15, align 4, !tbaa !12 %19 = icmp eq i32 %18, 0 br i1 %19, label %36, label %20 20: ; preds = %17 %21 = load i32, ptr %11, align 8, !tbaa !14 %22 = sub nsw i32 0, %21 %23 = call i32 @set_normalized_timespec64(ptr noundef nonnull %6, i32 noundef 0, i32 noundef %22) #3 %24 = load i64, ptr %6, align 8, !tbaa !15 store i64 %24, ptr %2, align 8, !tbaa !18 %25 = load i32, ptr %11, align 8, !tbaa !14 %26 = call i32 @rtc_tv_nsec_ok(i32 noundef %25, ptr noundef nonnull %6, ptr noundef nonnull %4) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %20 %29 = load i32, ptr @EPROTO, align 4, !tbaa !5 %30 = sub nsw i32 0, %29 br label %36 31: ; preds = %20 %32 = getelementptr inbounds %struct.timespec64, ptr %6, i64 0, i32 1 %33 = load i32, ptr %32, align 8, !tbaa !19 %34 = call i32 @rtc_time64_to_tm(i32 noundef %33, ptr noundef nonnull %5) #3 %35 = call i32 @rtc_set_time(ptr noundef nonnull %11, ptr noundef nonnull %5) #3 br label %36 36: ; preds = %13, %17, %31, %28 %37 = phi i32 [ %35, %31 ], [ %30, %28 ], [ %9, %17 ], [ %9, %13 ] %38 = call i32 @rtc_class_close(ptr noundef nonnull %11) #3 br label %39 39: ; preds = %3, %36 %40 = phi i32 [ %37, %36 ], [ %9, %3 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @rtc_class_open(i32 noundef) local_unnamed_addr #2 declare i32 @set_normalized_timespec64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rtc_tv_nsec_ok(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rtc_time64_to_tm(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rtc_set_time(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rtc_class_close(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, !11, i64 8} !10 = !{!"rtc_device", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"TYPE_2__", !6, i64 0} !14 = !{!10, !6, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"timespec64", !17, i64 0, !6, i64 8} !17 = !{!"long", !7, i64 0} !18 = !{!17, !17, i64 0} !19 = !{!16, !6, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_systohc.c_rtc_set_ntp_time.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_systohc.c_rtc_set_ntp_time.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.timespec64 = type { i64, i32 } %struct.rtc_time = type { i32 } @ENODEV = common local_unnamed_addr global i32 0, align 4 @CONFIG_RTC_SYSTOHC_DEVICE = common local_unnamed_addr global i32 0, align 4 @EPROTO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @rtc_set_ntp_time([2 x i64] %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca %struct.timespec64, align 8 %4 = alloca %struct.rtc_time, align 4 %5 = alloca %struct.timespec64, align 8 %6 = extractvalue [2 x i64] %0, 0 store i64 %6, ptr %3, align 8 %7 = extractvalue [2 x i64] %0, 1 %8 = getelementptr inbounds i8, ptr %3, i64 8 store i64 %7, ptr %8, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3 %9 = load i32, ptr @ENODEV, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 %11 = load i32, ptr @CONFIG_RTC_SYSTOHC_DEVICE, align 4, !tbaa !6 %12 = tail call ptr @rtc_class_open(i32 noundef %11) #3 %13 = icmp eq ptr %12, null br i1 %13, label %40, label %14 14: ; preds = %2 %15 = getelementptr inbounds i8, ptr %12, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !10 %17 = icmp eq ptr %16, null br i1 %17, label %37, label %18 18: ; preds = %14 %19 = load i32, ptr %16, align 4, !tbaa !13 %20 = icmp eq i32 %19, 0 br i1 %20, label %37, label %21 21: ; preds = %18 %22 = load i32, ptr %12, align 8, !tbaa !15 %23 = sub nsw i32 0, %22 %24 = call i32 @set_normalized_timespec64(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %23) #3 %25 = load i64, ptr %5, align 8, !tbaa !16 store i64 %25, ptr %1, align 8, !tbaa !19 %26 = load i32, ptr %12, align 8, !tbaa !15 %27 = call i32 @rtc_tv_nsec_ok(i32 noundef %26, ptr noundef nonnull %5, ptr noundef nonnull %3) #3 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %21 %30 = load i32, ptr @EPROTO, align 4, !tbaa !6 %31 = sub nsw i32 0, %30 br label %37 32: ; preds = %21 %33 = getelementptr inbounds i8, ptr %5, i64 8 %34 = load i32, ptr %33, align 8, !tbaa !20 %35 = call i32 @rtc_time64_to_tm(i32 noundef %34, ptr noundef nonnull %4) #3 %36 = call i32 @rtc_set_time(ptr noundef nonnull %12, ptr noundef nonnull %4) #3 br label %37 37: ; preds = %14, %18, %32, %29 %38 = phi i32 [ %36, %32 ], [ %31, %29 ], [ %10, %18 ], [ %10, %14 ] %39 = call i32 @rtc_class_close(ptr noundef nonnull %12) #3 br label %40 40: ; preds = %2, %37 %41 = phi i32 [ %38, %37 ], [ %10, %2 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @rtc_class_open(i32 noundef) local_unnamed_addr #2 declare i32 @set_normalized_timespec64(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @rtc_tv_nsec_ok(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rtc_time64_to_tm(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rtc_set_time(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rtc_class_close(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, !12, i64 8} !11 = !{!"rtc_device", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_2__", !7, i64 0} !15 = !{!11, !7, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"timespec64", !18, i64 0, !7, i64 8} !18 = !{!"long", !8, i64 0} !19 = !{!18, !18, i64 0} !20 = !{!17, !7, i64 8}
linux_drivers_rtc_extr_systohc.c_rtc_set_ntp_time
; ModuleID = 'AnghaBench/linux/drivers/scsi/arm/extr_..NCR5380.h_NCR5380_dma_residual_none.c' source_filename = "AnghaBench/linux/drivers/scsi/arm/extr_..NCR5380.h_NCR5380_dma_residual_none.c" target datalayout = "e-m:e-p270:32:32-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 @NCR5380_dma_residual_none], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @NCR5380_dma_residual_none(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/arm/extr_..NCR5380.h_NCR5380_dma_residual_none.c' source_filename = "AnghaBench/linux/drivers/scsi/arm/extr_..NCR5380.h_NCR5380_dma_residual_none.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 @NCR5380_dma_residual_none], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @NCR5380_dma_residual_none(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_scsi_arm_extr_..NCR5380.h_NCR5380_dma_residual_none
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_max9850.c_max9850_set_bias_level.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_max9850.c_max9850_set_bias_level.c" target datalayout = "e-m:e-p270:32:32-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 [26 x i8] c"Failed to sync cache: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @max9850_set_bias_level], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @max9850_set_bias_level(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %0) #2 %4 = icmp eq i32 %1, 128 br i1 %4, label %5, label %15 5: ; preds = %2 %6 = tail call i32 @snd_soc_component_get_bias_level(ptr noundef %0) #2 %7 = icmp eq i32 %6, 131 br i1 %7, label %8, label %15 8: ; preds = %5 %9 = load i32, ptr %3, align 4, !tbaa !5 %10 = tail call i32 @regcache_sync(i32 noundef %9) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %8 %13 = load i32, ptr %0, align 4, !tbaa !10 %14 = tail call i32 @dev_err(i32 noundef %13, ptr noundef nonnull @.str, i32 noundef %10) #2 br label %15 15: ; preds = %2, %8, %5, %12 %16 = phi i32 [ %10, %12 ], [ 0, %5 ], [ 0, %8 ], [ 0, %2 ] ret i32 %16 } declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_get_bias_level(ptr noundef) local_unnamed_addr #1 declare i32 @regcache_sync(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 = !{!"max9850_priv", !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 = !{!"snd_soc_component", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_max9850.c_max9850_set_bias_level.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_max9850.c_max9850_set_bias_level.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 [26 x i8] c"Failed to sync cache: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @max9850_set_bias_level], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @max9850_set_bias_level(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %0) #2 %4 = icmp eq i32 %1, 128 br i1 %4, label %5, label %15 5: ; preds = %2 %6 = tail call i32 @snd_soc_component_get_bias_level(ptr noundef %0) #2 %7 = icmp eq i32 %6, 131 br i1 %7, label %8, label %15 8: ; preds = %5 %9 = load i32, ptr %3, align 4, !tbaa !6 %10 = tail call i32 @regcache_sync(i32 noundef %9) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %8 %13 = load i32, ptr %0, align 4, !tbaa !11 %14 = tail call i32 @dev_err(i32 noundef %13, ptr noundef nonnull @.str, i32 noundef %10) #2 br label %15 15: ; preds = %2, %8, %5, %12 %16 = phi i32 [ %10, %12 ], [ 0, %5 ], [ 0, %8 ], [ 0, %2 ] ret i32 %16 } declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_get_bias_level(ptr noundef) local_unnamed_addr #1 declare i32 @regcache_sync(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 = !{!"max9850_priv", !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 = !{!"snd_soc_component", !8, i64 0}
linux_sound_soc_codecs_extr_max9850.c_max9850_set_bias_level
; ModuleID = 'AnghaBench/linux/arch/arm/mach-exynos/extr_exynos.c_exynos_map_pmu.c' source_filename = "AnghaBench/linux/arch/arm/mach-exynos/extr_exynos.c_exynos_map_pmu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @exynos_dt_pmu_match = dso_local local_unnamed_addr global i32 0, align 4 @pmu_base_addr = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @exynos_map_pmu], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @exynos_map_pmu() #0 { %1 = load i32, ptr @exynos_dt_pmu_match, align 4, !tbaa !5 %2 = tail call ptr @of_find_matching_node(ptr noundef null, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @of_iomap(ptr noundef nonnull %2, i32 noundef 0) #2 store i32 %5, ptr @pmu_base_addr, align 4, !tbaa !5 br label %6 6: ; preds = %4, %0 ret void } declare ptr @of_find_matching_node(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @of_iomap(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/arm/mach-exynos/extr_exynos.c_exynos_map_pmu.c' source_filename = "AnghaBench/linux/arch/arm/mach-exynos/extr_exynos.c_exynos_map_pmu.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @exynos_dt_pmu_match = common local_unnamed_addr global i32 0, align 4 @pmu_base_addr = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @exynos_map_pmu], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @exynos_map_pmu() #0 { %1 = load i32, ptr @exynos_dt_pmu_match, align 4, !tbaa !6 %2 = tail call ptr @of_find_matching_node(ptr noundef null, i32 noundef %1) #2 %3 = icmp eq ptr %2, null br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @of_iomap(ptr noundef nonnull %2, i32 noundef 0) #2 store i32 %5, ptr @pmu_base_addr, align 4, !tbaa !6 br label %6 6: ; preds = %4, %0 ret void } declare ptr @of_find_matching_node(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @of_iomap(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_arm_mach-exynos_extr_exynos.c_exynos_map_pmu
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_svg-device.c_svg_path_curveto.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_svg-device.c_svg_path_curveto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"C %g %g %g %g %g %g \00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @svg_path_curveto], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @svg_path_curveto(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #0 { %9 = tail call i32 @fz_write_printf(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #2 ret void } declare i32 @fz_write_printf(ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_svg-device.c_svg_path_curveto.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_svg-device.c_svg_path_curveto.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [21 x i8] c"C %g %g %g %g %g %g \00", align 1 @llvm.used = appending global [1 x ptr] [ptr @svg_path_curveto], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @svg_path_curveto(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #0 { %9 = tail call i32 @fz_write_printf(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #2 ret void } declare i32 @fz_write_printf(ptr noundef, ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
sumatrapdf_mupdf_source_fitz_extr_svg-device.c_svg_path_curveto
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_xattr.c_read_xattr_block.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_xattr.c_read_xattr_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" @VALID_XATTR_BLOCK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_xattr_block], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_xattr_block(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @F2FS_I_SB(ptr noundef %0) #2 %4 = tail call ptr @F2FS_I(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @inline_xattr_size(ptr noundef %0) #2 %7 = tail call ptr @f2fs_get_node_page(ptr noundef %3, i32 noundef %5) #2 %8 = tail call i64 @IS_ERR(ptr noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = tail call i32 @PTR_ERR(ptr noundef %7) #2 br label %19 12: ; preds = %2 %13 = tail call ptr @page_address(ptr noundef %7) #2 %14 = zext i32 %6 to i64 %15 = getelementptr inbounds i8, ptr %1, i64 %14 %16 = load i32, ptr @VALID_XATTR_BLOCK_SIZE, align 4, !tbaa !10 %17 = tail call i32 @memcpy(ptr noundef %15, ptr noundef %13, i32 noundef %16) #2 %18 = tail call i32 @f2fs_put_page(ptr noundef %7, i32 noundef 1) #2 br label %19 19: ; preds = %12, %10 %20 = phi i32 [ %11, %10 ], [ 0, %12 ] ret i32 %20 } declare ptr @F2FS_I_SB(ptr noundef) local_unnamed_addr #1 declare ptr @F2FS_I(ptr noundef) local_unnamed_addr #1 declare i32 @inline_xattr_size(ptr noundef) local_unnamed_addr #1 declare ptr @f2fs_get_node_page(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @f2fs_put_page(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_xattr.c_read_xattr_block.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_xattr.c_read_xattr_block.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VALID_XATTR_BLOCK_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_xattr_block], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @read_xattr_block(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @F2FS_I_SB(ptr noundef %0) #2 %4 = tail call ptr @F2FS_I(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @inline_xattr_size(ptr noundef %0) #2 %7 = tail call ptr @f2fs_get_node_page(ptr noundef %3, i32 noundef %5) #2 %8 = tail call i64 @IS_ERR(ptr noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = tail call i32 @PTR_ERR(ptr noundef %7) #2 br label %19 12: ; preds = %2 %13 = tail call ptr @page_address(ptr noundef %7) #2 %14 = zext i32 %6 to i64 %15 = getelementptr inbounds i8, ptr %1, i64 %14 %16 = load i32, ptr @VALID_XATTR_BLOCK_SIZE, align 4, !tbaa !11 %17 = tail call i32 @memcpy(ptr noundef %15, ptr noundef %13, i32 noundef %16) #2 %18 = tail call i32 @f2fs_put_page(ptr noundef %7, i32 noundef 1) #2 br label %19 19: ; preds = %12, %10 %20 = phi i32 [ %11, %10 ], [ 0, %12 ] ret i32 %20 } declare ptr @F2FS_I_SB(ptr noundef) local_unnamed_addr #1 declare ptr @F2FS_I(ptr noundef) local_unnamed_addr #1 declare i32 @inline_xattr_size(ptr noundef) local_unnamed_addr #1 declare ptr @f2fs_get_node_page(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @f2fs_put_page(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_fs_f2fs_extr_xattr.c_read_xattr_block
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt76x0/extr_phy.c_mt76x0_phy_set_txpower.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt76x0/extr_phy.c_mt76x0_phy_set_txpower.c" target datalayout = "e-m:e-p270:32:32-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.mt76x02_dev = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i32, %struct.TYPE_3__, %struct.mt76_rate_power } %struct.TYPE_3__ = type { i32 } %struct.mt76_rate_power = type { i32 } ; Function Attrs: nounwind uwtable define dso_local void @mt76x0_phy_set_txpower(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = getelementptr inbounds %struct.mt76x02_dev, ptr %0, i64 0, i32 1 %4 = getelementptr inbounds %struct.mt76x02_dev, ptr %0, i64 0, i32 1, i32 3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = getelementptr inbounds %struct.mt76x02_dev, ptr %0, i64 0, i32 1, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @mt76x0_get_tx_power_per_rate(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %4) #3 %8 = load i32, ptr %5, align 4, !tbaa !5 %9 = call i32 @mt76x0_get_power_info(ptr noundef %0, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = load i32, ptr %2, align 4, !tbaa !13 %11 = call i32 @mt76x02_add_rate_power_offset(ptr noundef nonnull %4, i32 noundef %10) #3 %12 = getelementptr inbounds %struct.mt76x02_dev, ptr %0, i64 0, i32 1, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = call i32 @mt76x02_limit_rate_power(ptr noundef nonnull %4, i32 noundef %13) #3 %15 = call i32 @mt76x02_get_max_rate_power(ptr noundef nonnull %4) #3 store i32 %15, ptr %3, align 4, !tbaa !15 %16 = load i32, ptr %2, align 4, !tbaa !13 %17 = sub nsw i32 0, %16 %18 = call i32 @mt76x02_add_rate_power_offset(ptr noundef nonnull %4, i32 noundef %17) #3 %19 = load i32, ptr %2, align 4, !tbaa !13 store i32 %19, ptr %0, align 4, !tbaa !16 %20 = call i32 @mt76x02_phy_set_txpower(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %19) #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 @mt76x0_get_tx_power_per_rate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mt76x0_get_power_info(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mt76x02_add_rate_power_offset(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mt76x02_limit_rate_power(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mt76x02_get_max_rate_power(ptr noundef) local_unnamed_addr #2 declare i32 @mt76x02_phy_set_txpower(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 12} !6 = !{!"mt76x02_dev", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !11, i64 8, !12, i64 12} !11 = !{!"TYPE_3__", !7, i64 0} !12 = !{!"mt76_rate_power", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt76x0/extr_phy.c_mt76x0_phy_set_txpower.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt76x0/extr_phy.c_mt76x0_phy_set_txpower.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 @mt76x0_phy_set_txpower(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = getelementptr inbounds i8, ptr %0, i64 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = getelementptr inbounds i8, ptr %0, i64 12 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @mt76x0_get_tx_power_per_rate(ptr noundef %0, i32 noundef %6, ptr noundef nonnull %4) #3 %8 = load i32, ptr %5, align 4, !tbaa !6 %9 = call i32 @mt76x0_get_power_info(ptr noundef %0, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = load i32, ptr %2, align 4, !tbaa !14 %11 = call i32 @mt76x02_add_rate_power_offset(ptr noundef nonnull %4, i32 noundef %10) #3 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = call i32 @mt76x02_limit_rate_power(ptr noundef nonnull %4, i32 noundef %13) #3 %15 = call i32 @mt76x02_get_max_rate_power(ptr noundef nonnull %4) #3 store i32 %15, ptr %3, align 4, !tbaa !16 %16 = load i32, ptr %2, align 4, !tbaa !14 %17 = sub nsw i32 0, %16 %18 = call i32 @mt76x02_add_rate_power_offset(ptr noundef nonnull %4, i32 noundef %17) #3 %19 = load i32, ptr %2, align 4, !tbaa !14 store i32 %19, ptr %0, align 4, !tbaa !17 %20 = call i32 @mt76x02_phy_set_txpower(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %19) #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 @mt76x0_get_tx_power_per_rate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mt76x0_get_power_info(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mt76x02_add_rate_power_offset(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mt76x02_limit_rate_power(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mt76x02_get_max_rate_power(ptr noundef) local_unnamed_addr #2 declare i32 @mt76x02_phy_set_txpower(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 12} !7 = !{!"mt76x02_dev", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !12, i64 8, !13, i64 12} !12 = !{!"TYPE_3__", !8, i64 0} !13 = !{!"mt76_rate_power", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 4} !17 = !{!7, !8, i64 0}
linux_drivers_net_wireless_mediatek_mt76_mt76x0_extr_phy.c_mt76x0_phy_set_txpower
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-multitouch.c_mt_post_parse.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-multitouch.c_mt_post_parse.c" target datalayout = "e-m:e-p270:32:32-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.mt_application = type { i32, i32 } @MT_QUIRK_CONTACT_CNT_ACCURATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mt_post_parse], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @mt_post_parse(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.mt_application, ptr %1, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = load i32, ptr @MT_QUIRK_CONTACT_CNT_ACCURATE, align 4, !tbaa !10 %8 = xor i32 %7, -1 %9 = load i32, ptr %1, align 4, !tbaa !11 %10 = and i32 %9, %8 store i32 %10, ptr %1, align 4, !tbaa !11 br label %11 11: ; preds = %6, %2 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"mt_application", !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/linux/drivers/hid/extr_hid-multitouch.c_mt_post_parse.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-multitouch.c_mt_post_parse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MT_QUIRK_CONTACT_CNT_ACCURATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mt_post_parse], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @mt_post_parse(ptr nocapture readnone %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = load i32, ptr @MT_QUIRK_CONTACT_CNT_ACCURATE, align 4, !tbaa !11 %8 = xor i32 %7, -1 %9 = load i32, ptr %1, align 4, !tbaa !12 %10 = and i32 %9, %8 store i32 %10, ptr %1, align 4, !tbaa !12 br label %11 11: ; preds = %6, %2 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"mt_application", !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}
linux_drivers_hid_extr_hid-multitouch.c_mt_post_parse
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_common.c_qlcnic_sriov_get_vf_acl.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_common.c_qlcnic_sriov_get_vf_acl.c" target datalayout = "e-m:e-p270:32:32-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.qlcnic_cmd_args = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } %struct.qlcnic_adapter = type { ptr, ptr } @QLCNIC_BC_CMD_GET_ACL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Failed to get ACL, err=%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qlcnic_sriov_get_vf_acl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qlcnic_sriov_get_vf_acl(ptr noundef %0) #0 { %2 = alloca %struct.qlcnic_cmd_args, align 8 %3 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %6 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #3 %7 = load i32, ptr @QLCNIC_BC_CMD_GET_ACL, align 4, !tbaa !12 %8 = call i32 @qlcnic_sriov_alloc_bc_mbx_args(ptr noundef nonnull %2, i32 noundef %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %23 10: ; preds = %1 %11 = call i32 @qlcnic_issue_cmd(ptr noundef nonnull %0, ptr noundef nonnull %2) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load ptr, ptr %0, align 8, !tbaa !14 %15 = call i32 @dev_err(ptr noundef %14, ptr noundef nonnull @.str, i32 noundef %11) #3 br label %21 16: ; preds = %10 %17 = load ptr, ptr %2, align 8, !tbaa !15 %18 = getelementptr inbounds i32, ptr %17, i64 1 %19 = load i32, ptr %18, align 4, !tbaa !12 %20 = and i32 %19, 3 store i32 %20, ptr %5, align 4, !tbaa !18 br label %21 21: ; preds = %16, %13 %22 = call i32 @qlcnic_free_mbx_args(ptr noundef nonnull %2) #3 br label %23 23: ; preds = %1, %21 %24 = phi i32 [ %11, %21 ], [ %8, %1 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qlcnic_sriov_alloc_bc_mbx_args(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qlcnic_issue_cmd(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qlcnic_free_mbx_args(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"qlcnic_adapter", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_6__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"qlcnic_cmd_args", !17, i64 0} !17 = !{!"TYPE_5__", !7, i64 0} !18 = !{!19, !13, i64 0} !19 = !{!"qlcnic_sriov", !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_common.c_qlcnic_sriov_get_vf_acl.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_common.c_qlcnic_sriov_get_vf_acl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.qlcnic_cmd_args = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } @QLCNIC_BC_CMD_GET_ACL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Failed to get ACL, err=%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qlcnic_sriov_get_vf_acl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qlcnic_sriov_get_vf_acl(ptr noundef %0) #0 { %2 = alloca %struct.qlcnic_cmd_args, align 8 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %6 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #3 %7 = load i32, ptr @QLCNIC_BC_CMD_GET_ACL, align 4, !tbaa !13 %8 = call i32 @qlcnic_sriov_alloc_bc_mbx_args(ptr noundef nonnull %2, i32 noundef %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %23 10: ; preds = %1 %11 = call i32 @qlcnic_issue_cmd(ptr noundef nonnull %0, ptr noundef nonnull %2) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load ptr, ptr %0, align 8, !tbaa !15 %15 = call i32 @dev_err(ptr noundef %14, ptr noundef nonnull @.str, i32 noundef %11) #3 br label %21 16: ; preds = %10 %17 = load ptr, ptr %2, align 8, !tbaa !16 %18 = getelementptr inbounds i8, ptr %17, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !13 %20 = and i32 %19, 3 store i32 %20, ptr %5, align 4, !tbaa !19 br label %21 21: ; preds = %16, %13 %22 = call i32 @qlcnic_free_mbx_args(ptr noundef nonnull %2) #3 br label %23 23: ; preds = %1, %21 %24 = phi i32 [ %11, %21 ], [ %8, %1 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qlcnic_sriov_alloc_bc_mbx_args(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qlcnic_issue_cmd(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qlcnic_free_mbx_args(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"qlcnic_adapter", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_6__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"qlcnic_cmd_args", !18, i64 0} !18 = !{!"TYPE_5__", !8, i64 0} !19 = !{!20, !14, i64 0} !20 = !{!"qlcnic_sriov", !14, i64 0}
linux_drivers_net_ethernet_qlogic_qlcnic_extr_qlcnic_sriov_common.c_qlcnic_sriov_get_vf_acl
; ModuleID = 'AnghaBench/linux/drivers/bluetooth/extr_hci_intel.c_intel_recv.c' source_filename = "AnghaBench/linux/drivers/bluetooth/extr_hci_intel.c_intel_recv.c" target datalayout = "e-m:e-p270:32:32-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_uart = type { i32, i32, ptr } @HCI_UART_REGISTERED = dso_local local_unnamed_addr global i32 0, align 4 @EUNATCH = dso_local local_unnamed_addr global i32 0, align 4 @intel_recv_pkts = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Frame reassembly failed (%d)\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_recv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @intel_recv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.hci_uart, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr @HCI_UART_REGISTERED, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.hci_uart, ptr %0, i64 0, i32 1 %8 = tail call i32 @test_bit(i32 noundef %6, ptr noundef nonnull %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load i32, ptr @EUNATCH, align 4, !tbaa !11 %12 = sub nsw i32 0, %11 br label %26 13: ; preds = %3 %14 = load i32, ptr %0, align 8, !tbaa !12 %15 = load ptr, ptr %5, align 8, !tbaa !13 %16 = load i32, ptr @intel_recv_pkts, align 4, !tbaa !11 %17 = tail call i32 @ARRAY_SIZE(i32 noundef %16) #2 %18 = tail call ptr @h4_recv_buf(i32 noundef %14, ptr noundef %15, ptr noundef %1, i32 noundef %2, i32 noundef %16, i32 noundef %17) #2 store ptr %18, ptr %5, align 8, !tbaa !13 %19 = tail call i64 @IS_ERR(ptr noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %13 %22 = load ptr, ptr %5, align 8, !tbaa !13 %23 = tail call i32 @PTR_ERR(ptr noundef %22) #2 %24 = load i32, ptr %0, align 8, !tbaa !12 %25 = tail call i32 @bt_dev_err(i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %23) #2 store ptr null, ptr %5, align 8, !tbaa !13 br label %26 26: ; preds = %13, %21, %10 %27 = phi i32 [ %23, %21 ], [ %12, %10 ], [ %2, %13 ] ret i32 %27 } declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @h4_recv_buf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @bt_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, !10, i64 8} !6 = !{!"hci_uart", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"intel_data", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/bluetooth/extr_hci_intel.c_intel_recv.c' source_filename = "AnghaBench/linux/drivers/bluetooth/extr_hci_intel.c_intel_recv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HCI_UART_REGISTERED = common local_unnamed_addr global i32 0, align 4 @EUNATCH = common local_unnamed_addr global i32 0, align 4 @intel_recv_pkts = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Frame reassembly failed (%d)\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @intel_recv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @intel_recv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr @HCI_UART_REGISTERED, align 4, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = tail call i32 @test_bit(i32 noundef %6, ptr noundef nonnull %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %3 %11 = load i32, ptr @EUNATCH, align 4, !tbaa !12 %12 = sub nsw i32 0, %11 br label %26 13: ; preds = %3 %14 = load i32, ptr %0, align 8, !tbaa !13 %15 = load ptr, ptr %5, align 8, !tbaa !14 %16 = load i32, ptr @intel_recv_pkts, align 4, !tbaa !12 %17 = tail call i32 @ARRAY_SIZE(i32 noundef %16) #2 %18 = tail call ptr @h4_recv_buf(i32 noundef %14, ptr noundef %15, ptr noundef %1, i32 noundef %2, i32 noundef %16, i32 noundef %17) #2 store ptr %18, ptr %5, align 8, !tbaa !14 %19 = tail call i64 @IS_ERR(ptr noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %13 %22 = load ptr, ptr %5, align 8, !tbaa !14 %23 = tail call i32 @PTR_ERR(ptr noundef %22) #2 %24 = load i32, ptr %0, align 8, !tbaa !13 %25 = tail call i32 @bt_dev_err(i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %23) #2 store ptr null, ptr %5, align 8, !tbaa !14 br label %26 26: ; preds = %13, %21, %10 %27 = phi i32 [ %23, %21 ], [ %12, %10 ], [ %2, %13 ] ret i32 %27 } declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @h4_recv_buf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @bt_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, !11, i64 8} !7 = !{!"hci_uart", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"intel_data", !11, i64 0}
linux_drivers_bluetooth_extr_hci_intel.c_intel_recv
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/mipssim/extr_sim_console.c_serial_in.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/mipssim/extr_sim_console.c_serial_in.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @serial_in], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @serial_in(i32 noundef %0) #0 { %2 = add nsw i32 %0, 1016 %3 = tail call i32 @inb(i32 noundef %2) #2 ret i32 %3 } declare i32 @inb(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/mipssim/extr_sim_console.c_serial_in.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/mipssim/extr_sim_console.c_serial_in.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @serial_in], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @serial_in(i32 noundef %0) #0 { %2 = add nsw i32 %0, 1016 %3 = tail call i32 @inb(i32 noundef %2) #2 ret i32 %3 } declare i32 @inb(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_mips_mipssim_extr_sim_console.c_serial_in
; ModuleID = 'AnghaBench/linux/drivers/input/extr_mousedev.c_mousedev_packet.c' source_filename = "AnghaBench/linux/drivers/input/extr_mousedev.c_mousedev_packet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mousedev_client = type { i64, i32, i32, i64, i32, i64, ptr } %struct.mousedev_motion = type { i32, i64, i64, i64 } @PACKET_QUEUE_LEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mousedev_packet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mousedev_packet(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.mousedev_client, ptr %0, i64 0, i32 6 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr %0, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.mousedev_motion, ptr %4, i64 %5 %7 = getelementptr inbounds %struct.mousedev_motion, ptr %4, i64 %5, i32 3 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = tail call i32 @clamp_val(i64 noundef %8, i32 noundef -127, i32 noundef 127) #2 %10 = sext i32 %9 to i64 %11 = load i64, ptr %7, align 8, !tbaa !13 %12 = sub nsw i64 %11, %10 store i64 %12, ptr %7, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.mousedev_motion, ptr %4, i64 %5, i32 2 %14 = load i64, ptr %13, align 8, !tbaa !15 %15 = tail call i32 @clamp_val(i64 noundef %14, i32 noundef -127, i32 noundef 127) #2 %16 = sext i32 %15 to i64 %17 = load i64, ptr %13, align 8, !tbaa !15 %18 = sub nsw i64 %17, %16 store i64 %18, ptr %13, align 8, !tbaa !15 %19 = tail call i32 @BIT(i32 noundef 3) #2 store i32 %19, ptr %1, align 4, !tbaa !16 %20 = tail call i32 @BIT(i32 noundef 7) #2 %21 = and i32 %20, %9 %22 = ashr i32 %21, 3 %23 = tail call i32 @BIT(i32 noundef 7) #2 %24 = and i32 %23, %15 %25 = ashr i32 %24, 2 %26 = load i32, ptr %1, align 4, !tbaa !16 %27 = or i32 %26, %22 %28 = or i32 %27, %25 store i32 %28, ptr %1, align 4, !tbaa !16 %29 = load i32, ptr %6, align 8, !tbaa !17 %30 = and i32 %29, 7 %31 = or i32 %28, %30 store i32 %31, ptr %1, align 4, !tbaa !16 %32 = getelementptr inbounds i32, ptr %1, i64 1 store i32 %9, ptr %32, align 4, !tbaa !16 %33 = getelementptr inbounds i32, ptr %1, i64 2 store i32 %15, ptr %33, align 4, !tbaa !16 %34 = getelementptr inbounds %struct.mousedev_client, ptr %0, i64 0, i32 1 %35 = load i32, ptr %34, align 8, !tbaa !18 %36 = getelementptr inbounds %struct.mousedev_motion, ptr %4, i64 %5, i32 1 switch i32 %35, label %64 [ i32 130, label %37 i32 129, label %49 ] 37: ; preds = %2 %38 = load i64, ptr %36, align 8, !tbaa !19 %39 = tail call i32 @clamp_val(i64 noundef %38, i32 noundef -7, i32 noundef 7) #2 %40 = sext i32 %39 to i64 %41 = load i64, ptr %36, align 8, !tbaa !19 %42 = sub nsw i64 %41, %40 store i64 %42, ptr %36, align 8, !tbaa !19 %43 = and i32 %39, 15 %44 = load i32, ptr %6, align 8, !tbaa !17 %45 = shl i32 %44, 1 %46 = and i32 %45, 48 %47 = or disjoint i32 %46, %43 %48 = getelementptr inbounds i32, ptr %1, i64 3 store i32 %47, ptr %48, align 4, !tbaa !16 br label %72 49: ; preds = %2 %50 = load i64, ptr %36, align 8, !tbaa !19 %51 = tail call i32 @clamp_val(i64 noundef %50, i32 noundef -127, i32 noundef 127) #2 %52 = sext i32 %51 to i64 %53 = load i64, ptr %36, align 8, !tbaa !19 %54 = sub nsw i64 %53, %52 store i64 %54, ptr %36, align 8, !tbaa !19 %55 = load i32, ptr %6, align 8, !tbaa !17 %56 = lshr i32 %55, 3 %57 = and i32 %56, 2 %58 = lshr i32 %55, 1 %59 = and i32 %58, 4 %60 = load i32, ptr %1, align 4, !tbaa !16 %61 = or i32 %59, %60 %62 = or i32 %61, %57 store i32 %62, ptr %1, align 4, !tbaa !16 %63 = getelementptr inbounds i32, ptr %1, i64 3 store i32 %51, ptr %63, align 4, !tbaa !16 br label %72 64: ; preds = %2 store i64 0, ptr %36, align 8, !tbaa !19 %65 = load i32, ptr %6, align 8, !tbaa !17 %66 = lshr i32 %65, 3 %67 = and i32 %66, 2 %68 = lshr i32 %65, 1 %69 = and i32 %68, 4 %70 = or disjoint i32 %69, %67 %71 = or i32 %70, %31 store i32 %71, ptr %1, align 4, !tbaa !16 br label %72 72: ; preds = %64, %49, %37 %73 = phi i32 [ 3, %64 ], [ 4, %49 ], [ 4, %37 ] %74 = phi i64 [ 0, %64 ], [ %54, %49 ], [ %42, %37 ] %75 = getelementptr inbounds %struct.mousedev_client, ptr %0, i64 0, i32 2 store i32 %73, ptr %75, align 4, !tbaa !20 %76 = load i64, ptr %7, align 8, !tbaa !13 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %97 78: ; preds = %72 %79 = load i64, ptr %13, align 8, !tbaa !15 %80 = icmp eq i64 %79, 0 %81 = icmp eq i64 %74, 0 %82 = select i1 %80, i1 %81, i1 false br i1 %82, label %83, label %97 83: ; preds = %78 %84 = load i64, ptr %0, align 8, !tbaa !12 %85 = getelementptr inbounds %struct.mousedev_client, ptr %0, i64 0, i32 3 %86 = load i64, ptr %85, align 8, !tbaa !21 %87 = icmp eq i64 %84, %86 br i1 %87, label %88, label %92 88: ; preds = %83 %89 = getelementptr inbounds %struct.mousedev_client, ptr %0, i64 0, i32 5 store i64 0, ptr %89, align 8, !tbaa !22 %90 = load i32, ptr %6, align 8, !tbaa !17 %91 = getelementptr inbounds %struct.mousedev_client, ptr %0, i64 0, i32 4 store i32 %90, ptr %91, align 8, !tbaa !23 br label %97 92: ; preds = %83 %93 = add i64 %84, 1 %94 = load i32, ptr @PACKET_QUEUE_LEN, align 4, !tbaa !16 %95 = sext i32 %94 to i64 %96 = urem i64 %93, %95 store i64 %96, ptr %0, align 8, !tbaa !12 br label %97 97: ; preds = %88, %92, %78, %72 ret void } declare i32 @clamp_val(i64 noundef, i32 noundef, 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, !11, i64 40} !6 = !{!"mousedev_client", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !10, i64 24, !7, i64 32, !11, i64 40} !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 = !{!14, !7, i64 24} !14 = !{!"mousedev_motion", !10, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !15 = !{!14, !7, i64 16} !16 = !{!10, !10, i64 0} !17 = !{!14, !10, i64 0} !18 = !{!6, !10, i64 8} !19 = !{!14, !7, i64 8} !20 = !{!6, !10, i64 12} !21 = !{!6, !7, i64 16} !22 = !{!6, !7, i64 32} !23 = !{!6, !10, i64 24}
; ModuleID = 'AnghaBench/linux/drivers/input/extr_mousedev.c_mousedev_packet.c' source_filename = "AnghaBench/linux/drivers/input/extr_mousedev.c_mousedev_packet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mousedev_motion = type { i32, i64, i64, i64 } @PACKET_QUEUE_LEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mousedev_packet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mousedev_packet(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 40 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr %0, align 8, !tbaa !13 %6 = getelementptr inbounds %struct.mousedev_motion, ptr %4, i64 %5 %7 = getelementptr inbounds i8, ptr %6, i64 24 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = tail call i32 @clamp_val(i64 noundef %8, i32 noundef -127, i32 noundef 127) #2 %10 = sext i32 %9 to i64 %11 = load i64, ptr %7, align 8, !tbaa !14 %12 = sub nsw i64 %11, %10 store i64 %12, ptr %7, align 8, !tbaa !14 %13 = getelementptr inbounds i8, ptr %6, i64 16 %14 = load i64, ptr %13, align 8, !tbaa !16 %15 = tail call i32 @clamp_val(i64 noundef %14, i32 noundef -127, i32 noundef 127) #2 %16 = sext i32 %15 to i64 %17 = load i64, ptr %13, align 8, !tbaa !16 %18 = sub nsw i64 %17, %16 store i64 %18, ptr %13, align 8, !tbaa !16 %19 = tail call i32 @BIT(i32 noundef 3) #2 store i32 %19, ptr %1, align 4, !tbaa !17 %20 = tail call i32 @BIT(i32 noundef 7) #2 %21 = and i32 %20, %9 %22 = ashr i32 %21, 3 %23 = tail call i32 @BIT(i32 noundef 7) #2 %24 = and i32 %23, %15 %25 = ashr i32 %24, 2 %26 = load i32, ptr %1, align 4, !tbaa !17 %27 = or i32 %26, %22 %28 = or i32 %27, %25 store i32 %28, ptr %1, align 4, !tbaa !17 %29 = load i32, ptr %6, align 8, !tbaa !18 %30 = and i32 %29, 7 %31 = or i32 %28, %30 store i32 %31, ptr %1, align 4, !tbaa !17 %32 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %9, ptr %32, align 4, !tbaa !17 %33 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %15, ptr %33, align 4, !tbaa !17 %34 = getelementptr inbounds i8, ptr %0, i64 8 %35 = load i32, ptr %34, align 8, !tbaa !19 %36 = getelementptr inbounds i8, ptr %6, i64 8 switch i32 %35, label %64 [ i32 130, label %37 i32 129, label %49 ] 37: ; preds = %2 %38 = load i64, ptr %36, align 8, !tbaa !20 %39 = tail call i32 @clamp_val(i64 noundef %38, i32 noundef -7, i32 noundef 7) #2 %40 = sext i32 %39 to i64 %41 = load i64, ptr %36, align 8, !tbaa !20 %42 = sub nsw i64 %41, %40 store i64 %42, ptr %36, align 8, !tbaa !20 %43 = and i32 %39, 15 %44 = load i32, ptr %6, align 8, !tbaa !18 %45 = shl i32 %44, 1 %46 = and i32 %45, 48 %47 = or disjoint i32 %46, %43 %48 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %47, ptr %48, align 4, !tbaa !17 br label %72 49: ; preds = %2 %50 = load i64, ptr %36, align 8, !tbaa !20 %51 = tail call i32 @clamp_val(i64 noundef %50, i32 noundef -127, i32 noundef 127) #2 %52 = sext i32 %51 to i64 %53 = load i64, ptr %36, align 8, !tbaa !20 %54 = sub nsw i64 %53, %52 store i64 %54, ptr %36, align 8, !tbaa !20 %55 = load i32, ptr %6, align 8, !tbaa !18 %56 = lshr i32 %55, 3 %57 = and i32 %56, 2 %58 = lshr i32 %55, 1 %59 = and i32 %58, 4 %60 = load i32, ptr %1, align 4, !tbaa !17 %61 = or i32 %59, %60 %62 = or i32 %61, %57 store i32 %62, ptr %1, align 4, !tbaa !17 %63 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %51, ptr %63, align 4, !tbaa !17 br label %72 64: ; preds = %2 store i64 0, ptr %36, align 8, !tbaa !20 %65 = load i32, ptr %6, align 8, !tbaa !18 %66 = lshr i32 %65, 3 %67 = and i32 %66, 2 %68 = lshr i32 %65, 1 %69 = and i32 %68, 4 %70 = or disjoint i32 %69, %67 %71 = or i32 %70, %31 store i32 %71, ptr %1, align 4, !tbaa !17 br label %72 72: ; preds = %64, %49, %37 %73 = phi i32 [ 3, %64 ], [ 4, %49 ], [ 4, %37 ] %74 = phi i64 [ 0, %64 ], [ %54, %49 ], [ %42, %37 ] %75 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %73, ptr %75, align 4, !tbaa !21 %76 = load i64, ptr %7, align 8, !tbaa !14 %77 = icmp eq i64 %76, 0 br i1 %77, label %78, label %97 78: ; preds = %72 %79 = load i64, ptr %13, align 8, !tbaa !16 %80 = icmp eq i64 %79, 0 %81 = icmp eq i64 %74, 0 %82 = select i1 %80, i1 %81, i1 false br i1 %82, label %83, label %97 83: ; preds = %78 %84 = load i64, ptr %0, align 8, !tbaa !13 %85 = getelementptr inbounds i8, ptr %0, i64 16 %86 = load i64, ptr %85, align 8, !tbaa !22 %87 = icmp eq i64 %84, %86 br i1 %87, label %88, label %92 88: ; preds = %83 %89 = getelementptr inbounds i8, ptr %0, i64 32 store i64 0, ptr %89, align 8, !tbaa !23 %90 = load i32, ptr %6, align 8, !tbaa !18 %91 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %90, ptr %91, align 8, !tbaa !24 br label %97 92: ; preds = %83 %93 = add i64 %84, 1 %94 = load i32, ptr @PACKET_QUEUE_LEN, align 4, !tbaa !17 %95 = sext i32 %94 to i64 %96 = urem i64 %93, %95 store i64 %96, ptr %0, align 8, !tbaa !13 br label %97 97: ; preds = %88, %92, %78, %72 ret void } declare i32 @clamp_val(i64 noundef, i32 noundef, 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, !12, i64 40} !7 = !{!"mousedev_client", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !11, i64 24, !8, i64 32, !12, i64 40} !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 = !{!15, !8, i64 24} !15 = !{!"mousedev_motion", !11, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !16 = !{!15, !8, i64 16} !17 = !{!11, !11, i64 0} !18 = !{!15, !11, i64 0} !19 = !{!7, !11, i64 8} !20 = !{!15, !8, i64 8} !21 = !{!7, !11, i64 12} !22 = !{!7, !8, i64 16} !23 = !{!7, !8, i64 32} !24 = !{!7, !11, i64 24}
linux_drivers_input_extr_mousedev.c_mousedev_packet
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_GetITStatus.c' source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_GetITStatus.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RESET = dso_local local_unnamed_addr global i64 0, align 8 @RCC = dso_local local_unnamed_addr global ptr null, align 8 @SET = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @RCC_GetITStatus(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @IS_RCC_GET_IT(i32 noundef %0) #2 %3 = tail call i32 @assert_param(i32 noundef %2) #2 %4 = load ptr, ptr @RCC, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !9 %6 = and i32 %5, %0 %7 = load i64, ptr @RESET, align 8, !tbaa !12 %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %6, %8 %10 = load i64, ptr @SET, align 8 %11 = select i1 %9, i64 %7, i64 %10 ret i64 %11 } declare i32 @assert_param(i32 noundef) local_unnamed_addr #1 declare i32 @IS_RCC_GET_IT(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} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_GetITStatus.c' source_filename = "AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_GetITStatus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RESET = common local_unnamed_addr global i64 0, align 8 @RCC = common local_unnamed_addr global ptr null, align 8 @SET = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @RCC_GetITStatus(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @IS_RCC_GET_IT(i32 noundef %0) #2 %3 = tail call i32 @assert_param(i32 noundef %2) #2 %4 = load ptr, ptr @RCC, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = and i32 %5, %0 %7 = load i64, ptr @RESET, align 8, !tbaa !13 %8 = trunc i64 %7 to i32 %9 = icmp eq i32 %6, %8 %10 = load i64, ptr @SET, align 8 %11 = select i1 %9, i64 %7, i64 %10 ret i64 %11 } declare i32 @assert_param(i32 noundef) local_unnamed_addr #1 declare i32 @IS_RCC_GET_IT(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} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0}
anypixel_firmware_display_ThirdParty_SPL_src_extr_stm32f0xx_rcc.c_RCC_GetITStatus
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8997.c_wm8997_component_remove.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8997.c_wm8997_component_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @wm8997_component_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wm8997_component_remove(ptr noundef %0) #0 { %2 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 store ptr null, ptr %3, align 8, !tbaa !11 ret void } declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"wm8997_priv", !7, 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, !8, i64 0} !12 = !{!"TYPE_3__", !8, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8997.c_wm8997_component_remove.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8997.c_wm8997_component_remove.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 @wm8997_component_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wm8997_component_remove(ptr noundef %0) #0 { %2 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 store ptr null, ptr %3, align 8, !tbaa !12 ret void } declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"wm8997_priv", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 0} !13 = !{!"TYPE_3__", !9, i64 0}
linux_sound_soc_codecs_extr_wm8997.c_wm8997_component_remove
; ModuleID = 'AnghaBench/freebsd/sys/arm/nvidia/extr_tegra_soctherm.c_soctherm_detach.c' source_filename = "AnghaBench/freebsd/sys/arm/nvidia/extr_tegra_soctherm.c_soctherm_detach.c" target datalayout = "e-m:e-p270:32:32-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.soctherm_softc = type { ptr, ptr, ptr, ptr, ptr, ptr } @soctherm_sysctl_ctx = dso_local global i32 0, align 4 @SYS_RES_IRQ = dso_local local_unnamed_addr global i32 0, align 4 @SYS_RES_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @soctherm_detach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @soctherm_detach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = getelementptr inbounds %struct.soctherm_softc, ptr %2, i64 0, i32 5 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %10, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.soctherm_softc, ptr %2, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = tail call i32 @bus_teardown_intr(i32 noundef %0, ptr noundef %8, ptr noundef nonnull %4) #2 br label %10 10: ; preds = %6, %1 %11 = tail call i32 @sysctl_ctx_free(ptr noundef nonnull @soctherm_sysctl_ctx) #2 %12 = getelementptr inbounds %struct.soctherm_softc, ptr %2, i64 0, i32 4 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = icmp eq ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %10 %16 = tail call i32 @clk_release(ptr noundef nonnull %13) #2 br label %17 17: ; preds = %15, %10 %18 = getelementptr inbounds %struct.soctherm_softc, ptr %2, i64 0, i32 3 %19 = load ptr, ptr %18, align 8, !tbaa !12 %20 = icmp eq ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @clk_release(ptr noundef nonnull %19) #2 br label %23 23: ; preds = %21, %17 %24 = getelementptr inbounds %struct.soctherm_softc, ptr %2, i64 0, i32 2 %25 = load ptr, ptr %24, align 8, !tbaa !13 %26 = icmp eq ptr %25, null br i1 %26, label %29, label %27 27: ; preds = %23 %28 = tail call i32 @hwreset_release(ptr noundef nonnull %25) #2 br label %29 29: ; preds = %27, %23 %30 = getelementptr inbounds %struct.soctherm_softc, ptr %2, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !10 %32 = icmp eq ptr %31, null br i1 %32, label %36, label %33 33: ; preds = %29 %34 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !14 %35 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %34, i32 noundef 0, ptr noundef nonnull %31) #2 br label %36 36: ; preds = %33, %29 %37 = load ptr, ptr %2, align 8, !tbaa !16 %38 = icmp eq ptr %37, null br i1 %38, label %42, label %39 39: ; preds = %36 %40 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !14 %41 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %40, i32 noundef 0, ptr noundef nonnull %37) #2 br label %42 42: ; preds = %39, %36 %43 = load i32, ptr @ENXIO, align 4, !tbaa !14 ret i32 %43 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @bus_teardown_intr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sysctl_ctx_free(ptr noundef) local_unnamed_addr #1 declare i32 @clk_release(ptr noundef) local_unnamed_addr #1 declare i32 @hwreset_release(ptr noundef) local_unnamed_addr #1 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 40} !6 = !{!"soctherm_softc", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 32} !12 = !{!6, !7, i64 24} !13 = !{!6, !7, i64 16} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/arm/nvidia/extr_tegra_soctherm.c_soctherm_detach.c' source_filename = "AnghaBench/freebsd/sys/arm/nvidia/extr_tegra_soctherm.c_soctherm_detach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @soctherm_sysctl_ctx = common global i32 0, align 4 @SYS_RES_IRQ = common local_unnamed_addr global i32 0, align 4 @SYS_RES_MEMORY = common local_unnamed_addr global i32 0, align 4 @ENXIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @soctherm_detach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @soctherm_detach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 40 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %10, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %2, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = tail call i32 @bus_teardown_intr(i32 noundef %0, ptr noundef %8, ptr noundef nonnull %4) #2 br label %10 10: ; preds = %6, %1 %11 = tail call i32 @sysctl_ctx_free(ptr noundef nonnull @soctherm_sysctl_ctx) #2 %12 = getelementptr inbounds i8, ptr %2, i64 32 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = icmp eq ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %10 %16 = tail call i32 @clk_release(ptr noundef nonnull %13) #2 br label %17 17: ; preds = %15, %10 %18 = getelementptr inbounds i8, ptr %2, i64 24 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = icmp eq ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @clk_release(ptr noundef nonnull %19) #2 br label %23 23: ; preds = %21, %17 %24 = getelementptr inbounds i8, ptr %2, i64 16 %25 = load ptr, ptr %24, align 8, !tbaa !14 %26 = icmp eq ptr %25, null br i1 %26, label %29, label %27 27: ; preds = %23 %28 = tail call i32 @hwreset_release(ptr noundef nonnull %25) #2 br label %29 29: ; preds = %27, %23 %30 = getelementptr inbounds i8, ptr %2, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !11 %32 = icmp eq ptr %31, null br i1 %32, label %36, label %33 33: ; preds = %29 %34 = load i32, ptr @SYS_RES_IRQ, align 4, !tbaa !15 %35 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %34, i32 noundef 0, ptr noundef nonnull %31) #2 br label %36 36: ; preds = %33, %29 %37 = load ptr, ptr %2, align 8, !tbaa !17 %38 = icmp eq ptr %37, null br i1 %38, label %42, label %39 39: ; preds = %36 %40 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !15 %41 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %40, i32 noundef 0, ptr noundef nonnull %37) #2 br label %42 42: ; preds = %39, %36 %43 = load i32, ptr @ENXIO, align 4, !tbaa !15 ret i32 %43 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @bus_teardown_intr(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sysctl_ctx_free(ptr noundef) local_unnamed_addr #1 declare i32 @clk_release(ptr noundef) local_unnamed_addr #1 declare i32 @hwreset_release(ptr noundef) local_unnamed_addr #1 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 40} !7 = !{!"soctherm_softc", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 32} !13 = !{!7, !8, i64 24} !14 = !{!7, !8, i64 16} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!7, !8, i64 0}
freebsd_sys_arm_nvidia_extr_tegra_soctherm.c_soctherm_detach
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_ptgen.c_round_to_kb.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_ptgen.c_round_to_kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @kb_align = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @round_to_kb], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i64 @round_to_kb(i64 noundef %0) #0 { %2 = add nsw i64 %0, -1 %3 = load i64, ptr @kb_align, align 8, !tbaa !5 %4 = sdiv i64 %2, %3 %5 = add nsw i64 %4, 1 %6 = mul nsw i64 %5, %3 ret i64 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_ptgen.c_round_to_kb.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_ptgen.c_round_to_kb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @kb_align = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @round_to_kb], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i64 @round_to_kb(i64 noundef %0) #0 { %2 = add nsw i64 %0, -1 %3 = load i64, ptr @kb_align, align 8, !tbaa !6 %4 = sdiv i64 %2, %3 %5 = add nsw i64 %4, 1 %6 = mul nsw i64 %5, %3 ret i64 %6 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
openwrt_tools_firmware-utils_src_extr_ptgen.c_round_to_kb
; ModuleID = 'AnghaBench/postgres/contrib/auto_explain/extr_auto_explain.c_explain_ExecutorRun.c' source_filename = "AnghaBench/postgres/contrib/auto_explain/extr_auto_explain.c_explain_ExecutorRun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @nesting_level = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @explain_ExecutorRun], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @explain_ExecutorRun(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @nesting_level, align 4, !tbaa !5 %6 = add nsw i32 %5, 1 store i32 %6, ptr @nesting_level, align 4, !tbaa !5 %7 = tail call i32 (...) @PG_TRY() #2 %8 = tail call i32 @prev_ExecutorRun(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 %9 = tail call i32 (...) @PG_FINALLY() #2 %10 = load i32, ptr @nesting_level, align 4, !tbaa !5 %11 = add nsw i32 %10, -1 store i32 %11, ptr @nesting_level, align 4, !tbaa !5 %12 = tail call i32 (...) @PG_END_TRY() #2 ret void } declare i32 @PG_TRY(...) local_unnamed_addr #1 declare i32 @prev_ExecutorRun(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PG_FINALLY(...) local_unnamed_addr #1 declare i32 @PG_END_TRY(...) 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/postgres/contrib/auto_explain/extr_auto_explain.c_explain_ExecutorRun.c' source_filename = "AnghaBench/postgres/contrib/auto_explain/extr_auto_explain.c_explain_ExecutorRun.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @nesting_level = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @explain_ExecutorRun], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @explain_ExecutorRun(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @nesting_level, align 4, !tbaa !6 %6 = add nsw i32 %5, 1 store i32 %6, ptr @nesting_level, align 4, !tbaa !6 %7 = tail call i32 @PG_TRY() #2 %8 = tail call i32 @prev_ExecutorRun(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 %9 = tail call i32 @PG_FINALLY() #2 %10 = load i32, ptr @nesting_level, align 4, !tbaa !6 %11 = add nsw i32 %10, -1 store i32 %11, ptr @nesting_level, align 4, !tbaa !6 %12 = tail call i32 @PG_END_TRY() #2 ret void } declare i32 @PG_TRY(...) local_unnamed_addr #1 declare i32 @prev_ExecutorRun(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PG_FINALLY(...) local_unnamed_addr #1 declare i32 @PG_END_TRY(...) 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"}
postgres_contrib_auto_explain_extr_auto_explain.c_explain_ExecutorRun
; ModuleID = 'AnghaBench/lab/engine/code/client/extr_cl_main.c_CL_UpdateVisiblePings_f.c' source_filename = "AnghaBench/lab/engine/code/client/extr_cl_main.c_CL_UpdateVisiblePings_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_10__ = type { i32, i32, i32, i32, i64, i32*, %struct.TYPE_8__*, %struct.TYPE_8__*, %struct.TYPE_8__* } %struct.TYPE_8__ = type { i32, i32, i64 } %struct.TYPE_11__ = type { %struct.TYPE_9__, i64, i32 } %struct.TYPE_9__ = type { i32 } @MAX_STRING_CHARS = dso_local local_unnamed_addr global i32 0, align 4 @qfalse = dso_local local_unnamed_addr global i32 0, align 4 @cls = dso_local local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8 @MAX_PINGREQUESTS = dso_local local_unnamed_addr global i32 0, align 4 @cl_pinglist = dso_local local_unnamed_addr global %struct.TYPE_11__* null, align 8 @qtrue = dso_local local_unnamed_addr global i32 0, align 4 @NS_CLIENT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"getinfo xxx\00", align 1 @switch.table.CL_UpdateVisiblePings_f = private unnamed_addr constant [3 x i32*] [i32* getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 1), i32* getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 2), i32* getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 3)], align 8 @switch.table.CL_UpdateVisiblePings_f.1 = private unnamed_addr constant [3 x %struct.TYPE_8__**] [%struct.TYPE_8__** getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 8), %struct.TYPE_8__** getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 7), %struct.TYPE_8__** getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 6)], align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @CL_UpdateVisiblePings_f(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = load i32, i32* @MAX_STRING_CHARS, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 %6 = bitcast i32* %2 to i8* call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %6) #3 %7 = load i32, i32* @qfalse, align 4, !tbaa !5 %8 = icmp ugt i32 %0, 130 br i1 %8, label %159, label %9 9: ; preds = %1 store i32 %0, i32* getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 0), align 8, !tbaa !9 %10 = tail call i32 (...) @CL_GetPingQueueCount() #3 %11 = load i32, i32* @MAX_PINGREQUESTS, align 4, !tbaa !5 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %129 13: ; preds = %9 %14 = add i32 %0, -128 %15 = icmp ult i32 %14, 3 br i1 %15, label %16, label %127 16: ; preds = %13 %17 = sext i32 %14 to i64 %18 = getelementptr inbounds [3 x i32*], [3 x i32*]* @switch.table.CL_UpdateVisiblePings_f, i64 0, i64 %17 %19 = load i32*, i32** %18, align 8 %20 = sext i32 %14 to i64 %21 = getelementptr inbounds [3 x %struct.TYPE_8__**], [3 x %struct.TYPE_8__**]* @switch.table.CL_UpdateVisiblePings_f.1, i64 0, i64 %20 %22 = load %struct.TYPE_8__**, %struct.TYPE_8__*** %21, align 8 %23 = load %struct.TYPE_8__*, %struct.TYPE_8__** %22, align 8, !tbaa !13 %24 = load i32, i32* %19, align 4, !tbaa !5 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %129 26: ; preds = %16 %27 = icmp eq i32 %0, 129 %28 = zext i32 %24 to i64 br label %29 29: ; preds = %26, %120 %30 = phi i64 [ 0, %26 ], [ %123, %120 ] %31 = phi i32 [ %7, %26 ], [ %122, %120 ] %32 = phi i32 [ %10, %26 ], [ %121, %120 ] %33 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %23, i64 %30 %34 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %23, i64 %30, i32 2 %35 = load i64, i64* %34, align 8, !tbaa !14 %36 = icmp eq i64 %35, 0 br i1 %36, label %120, label %37 37: ; preds = %29 %38 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %33, i64 0, i32 0 %39 = load i32, i32* %38, align 8, !tbaa !16 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %109 41: ; preds = %37 %42 = load i32, i32* @MAX_PINGREQUESTS, align 4, !tbaa !5 %43 = icmp slt i32 %32, %42 br i1 %43, label %44, label %129 44: ; preds = %41 %45 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %23, i64 %30, i32 1 %46 = icmp sgt i32 %42, 0 br i1 %46, label %47, label %75 47: ; preds = %44 %48 = load %struct.TYPE_11__*, %struct.TYPE_11__** @cl_pinglist, align 8, !tbaa !13 br label %49 49: ; preds = %47, %65 %50 = phi i32 [ %42, %47 ], [ %66, %65 ] %51 = phi %struct.TYPE_11__* [ %48, %47 ], [ %67, %65 ] %52 = phi i64 [ 0, %47 ], [ %68, %65 ] %53 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %51, i64 %52, i32 0, i32 0 %54 = load i32, i32* %53, align 8, !tbaa !17 %55 = icmp eq i32 %54, 0 br i1 %55, label %65, label %56 56: ; preds = %49 %57 = load i32, i32* %45, align 4, !tbaa !20 %58 = tail call i64 @NET_CompareAdr(i32 %54, i32 noundef %57) #3 %59 = icmp eq i64 %58, 0 br i1 %59, label %62, label %60 60: ; preds = %56 %61 = load i32, i32* @MAX_PINGREQUESTS, align 4, !tbaa !5 br label %71 62: ; preds = %56 %63 = load %struct.TYPE_11__*, %struct.TYPE_11__** @cl_pinglist, align 8, !tbaa !13 %64 = load i32, i32* @MAX_PINGREQUESTS, align 4, !tbaa !5 br label %65 65: ; preds = %62, %49 %66 = phi i32 [ %64, %62 ], [ %50, %49 ] %67 = phi %struct.TYPE_11__* [ %63, %62 ], [ %51, %49 ] %68 = add nuw nsw i64 %52, 1 %69 = sext i32 %66 to i64 %70 = icmp slt i64 %68, %69 br i1 %70, label %49, label %71, !llvm.loop !21 71: ; preds = %65, %60 %72 = phi i32 [ %61, %60 ], [ %66, %65 ] %73 = phi i64 [ %52, %60 ], [ %68, %65 ] %74 = trunc i64 %73 to i32 br label %75 75: ; preds = %71, %44 %76 = phi i32 [ %42, %44 ], [ %72, %71 ] %77 = phi i32 [ 0, %44 ], [ %74, %71 ] %78 = icmp slt i32 %77, %76 br i1 %78, label %120, label %79 79: ; preds = %75 %80 = load i32, i32* @qtrue, align 4, !tbaa !5 %81 = icmp sgt i32 %76, 0 %82 = load %struct.TYPE_11__*, %struct.TYPE_11__** @cl_pinglist, align 8, !tbaa !13 br i1 %81, label %83, label %95 83: ; preds = %79 %84 = zext i32 %76 to i64 br label %85 85: ; preds = %83, %90 %86 = phi i64 [ 0, %83 ], [ %91, %90 ] %87 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %82, i64 %86, i32 0, i32 0 %88 = load i32, i32* %87, align 8, !tbaa !17 %89 = icmp eq i32 %88, 0 br i1 %89, label %93, label %90 90: ; preds = %85 %91 = add nuw nsw i64 %86, 1 %92 = icmp eq i64 %91, %84 br i1 %92, label %95, label %85, !llvm.loop !23 93: ; preds = %85 %94 = trunc i64 %86 to i32 br label %95 95: ; preds = %90, %93, %79 %96 = phi i32 [ 0, %79 ], [ %94, %93 ], [ %76, %90 ] %97 = zext i32 %96 to i64 %98 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %82, i64 %97, i32 0 %99 = tail call i32 @memcpy(%struct.TYPE_9__* noundef %98, i32* noundef nonnull %45, i32 noundef 4) #3 %100 = tail call i32 (...) @Sys_Milliseconds() #3 %101 = load %struct.TYPE_11__*, %struct.TYPE_11__** @cl_pinglist, align 8, !tbaa !13 %102 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %101, i64 %97, i32 2 store i32 %100, i32* %102, align 8, !tbaa !24 %103 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %101, i64 %97, i32 1 store i64 0, i64* %103, align 8, !tbaa !25 %104 = load i32, i32* @NS_CLIENT, align 4, !tbaa !5 %105 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %101, i64 %97, i32 0, i32 0 %106 = load i32, i32* %105, align 8 %107 = tail call i32 @NET_OutOfBandPrint(i32 noundef %104, i32 %106, i8* noundef getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0)) #3 %108 = add nsw i32 %32, 1 br label %120 109: ; preds = %37 %110 = icmp eq i32 %39, 0 %111 = and i1 %27, %110 %112 = load i64, i64* getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 4), align 8 %113 = icmp ne i64 %112, 0 %114 = select i1 %111, i1 %113, i1 false br i1 %114, label %115, label %120 115: ; preds = %109 %116 = add i64 %112, -1 store i64 %116, i64* getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 4), align 8, !tbaa !26 %117 = load i32*, i32** getelementptr inbounds (%struct.TYPE_10__, %struct.TYPE_10__* @cls, i64 0, i32 5), align 8, !tbaa !27 %118 = getelementptr inbounds i32, i32* %117, i64 %116 %119 = tail call i32 @CL_InitServerInfo(%struct.TYPE_8__* noundef nonnull %33, i32* noundef %118) #3 br label %120 120: ; preds = %75, %95, %29, %109, %115 %121 = phi i32 [ %32, %115 ], [ %32, %109 ], [ %32, %29 ], [ %32, %75 ], [ %108, %95 ] %122 = phi i32 [ %31, %115 ], [ %31, %109 ], [ %31, %29 ], [ %31, %75 ], [ %80, %95 ] %123 = add nuw nsw i64 %30, 1 %124 = icmp eq i64 %123, %28 br i1 %124, label %125, label %29, !llvm.loop !28 125: ; preds = %120 %126 = load i32, i32* @MAX_PINGREQUESTS, align 4, !tbaa !5 br label %129 127: ; preds = %13 %128 = load i32, i32* @qfalse, align 4, !tbaa !5 br label %159 129: ; preds = %41, %125, %16, %9 %130 = phi i32 [ %11, %9 ], [ %11, %16 ], [ %126, %125 ], [ %42, %41 ] %131 = phi i32 [ %10, %9 ], [ %10, %16 ], [ %121, %125 ], [ %32, %41 ] %132 = phi i32 [ %7, %9 ], [ %7, %16 ], [ %122, %125 ], [ %31, %41 ] %133 = icmp eq i32 %131, 0 %134 = load i32, i32* @qtrue, align 4 %135 = select i1 %133, i32 %132, i32 %134 %136 = icmp sgt i32 %130, 0 br i1 %136, label %137, label %159 137: ; preds = %129, %153 %138 = phi i64 [ %155, %153 ], [ 0, %129 ] %139 = phi i32 [ %154, %153 ], [ %135, %129 ] %140 = load %struct.TYPE_11__*, %struct.TYPE_11__** @cl_pinglist, align 8, !tbaa !13 %141 = getelementptr inbounds %struct.TYPE_11__, %struct.TYPE_11__* %140, i64 %138, i32 0, i32 0 %142 = load i32, i32* %141, align 8, !tbaa !17 %143 = icmp eq i32 %142, 0 br i1 %143, label %153, label %144 144: ; preds = %137 %145 = load i32, i32* @MAX_STRING_CHARS, align 4, !tbaa !5 %146 = trunc i64 %138 to i32 %147 = call i32 @CL_GetPing(i32 noundef %146, i8* noundef nonnull %5, i32 noundef %145, i32* noundef nonnull %2) #3 %148 = load i32, i32* %2, align 4, !tbaa !5 %149 = icmp eq i32 %148, 0 br i1 %149, label %153, label %150 150: ; preds = %144 %151 = call i32 @CL_ClearPing(i32 noundef %146) #3 %152 = load i32, i32* @qtrue, align 4, !tbaa !5 br label %153 153: ; preds = %144, %150, %137 %154 = phi i32 [ %152, %150 ], [ %139, %144 ], [ %139, %137 ] %155 = add nuw nsw i64 %138, 1 %156 = load i32, i32* @MAX_PINGREQUESTS, align 4, !tbaa !5 %157 = sext i32 %156 to i64 %158 = icmp slt i64 %155, %157 br i1 %158, label %137, label %159, !llvm.loop !29 159: ; preds = %153, %129, %127, %1 %160 = phi i32 [ %128, %127 ], [ %7, %1 ], [ %135, %129 ], [ %154, %153 ] call void @llvm.lifetime.end.p0i8(i64 4, i8* nonnull %6) #3 ret i32 %160 } ; Function Attrs: argmemonly mustprogress nofree nosync nounwind willreturn declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) #1 declare i32 @CL_GetPingQueueCount(...) local_unnamed_addr #2 declare i64 @NET_CompareAdr(i32, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(%struct.TYPE_9__* noundef, i32* noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Sys_Milliseconds(...) local_unnamed_addr #2 declare i32 @NET_OutOfBandPrint(i32 noundef, i32, i8* noundef) local_unnamed_addr #2 ; Function Attrs: argmemonly mustprogress nofree nosync nounwind willreturn declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) #1 declare i32 @CL_InitServerInfo(%struct.TYPE_8__* noundef, i32* noundef) local_unnamed_addr #2 declare i32 @CL_GetPing(i32 noundef, i8* noundef, i32 noundef, i32* noundef) local_unnamed_addr #2 declare i32 @CL_ClearPing(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { argmemonly mustprogress nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_10__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !11, i64 8} !15 = !{!"TYPE_8__", !6, i64 0, !6, i64 4, !11, i64 8} !16 = !{!15, !6, i64 0} !17 = !{!18, !6, i64 0} !18 = !{!"TYPE_11__", !19, i64 0, !11, i64 8, !6, i64 16} !19 = !{!"TYPE_9__", !6, i64 0} !20 = !{!15, !6, i64 4} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = distinct !{!23, !22} !24 = !{!18, !6, i64 16} !25 = !{!18, !11, i64 8} !26 = !{!10, !11, i64 16} !27 = !{!10, !12, i64 24} !28 = distinct !{!28, !22} !29 = distinct !{!29, !22}
; ModuleID = 'AnghaBench/lab/engine/code/client/extr_cl_main.c_CL_UpdateVisiblePings_f.c' source_filename = "AnghaBench/lab/engine/code/client/extr_cl_main.c_CL_UpdateVisiblePings_f.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { i32, i32, i32, i32, i64, ptr, ptr, ptr, ptr } %struct.TYPE_8__ = type { i32, i32, i64 } %struct.TYPE_11__ = type { %struct.TYPE_9__, i64, i32 } %struct.TYPE_9__ = type { i32 } @MAX_STRING_CHARS = common local_unnamed_addr global i32 0, align 4 @qfalse = common local_unnamed_addr global i32 0, align 4 @cls = common local_unnamed_addr global %struct.TYPE_10__ zeroinitializer, align 8 @MAX_PINGREQUESTS = common local_unnamed_addr global i32 0, align 4 @cl_pinglist = common local_unnamed_addr global ptr null, align 8 @qtrue = common local_unnamed_addr global i32 0, align 4 @NS_CLIENT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"getinfo xxx\00", align 1 @switch.table.CL_UpdateVisiblePings_f = private unnamed_addr constant [3 x ptr] [ptr getelementptr inbounds (i8, ptr @cls, i64 4), ptr getelementptr inbounds (i8, ptr @cls, i64 8), ptr getelementptr inbounds (i8, ptr @cls, i64 12)], align 8 @switch.table.CL_UpdateVisiblePings_f.1 = private unnamed_addr constant [3 x ptr] [ptr getelementptr inbounds (i8, ptr @cls, i64 48), ptr getelementptr inbounds (i8, ptr @cls, i64 40), ptr getelementptr inbounds (i8, ptr @cls, i64 32)], align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @CL_UpdateVisiblePings_f(i32 noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = load i32, ptr @MAX_STRING_CHARS, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %6 = load i32, ptr @qfalse, align 4, !tbaa !6 %7 = icmp ugt i32 %0, 130 br i1 %7, label %158, label %8 8: ; preds = %1 store i32 %0, ptr @cls, align 8, !tbaa !10 %9 = tail call i32 @CL_GetPingQueueCount() #3 %10 = load i32, ptr @MAX_PINGREQUESTS, align 4, !tbaa !6 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %128 12: ; preds = %8 %13 = trunc nuw i32 %0 to i8 %14 = xor i8 %13, -128 %15 = icmp ult i8 %14, 3 br i1 %15, label %16, label %126 16: ; preds = %12 %17 = zext nneg i8 %14 to i64 %18 = getelementptr inbounds [3 x ptr], ptr @switch.table.CL_UpdateVisiblePings_f, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = zext nneg i8 %14 to i64 %21 = getelementptr inbounds [3 x ptr], ptr @switch.table.CL_UpdateVisiblePings_f.1, i64 0, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = load i32, ptr %19, align 4, !tbaa !6 %25 = icmp sgt i32 %24, 0 br i1 %25, label %26, label %128 26: ; preds = %16 %27 = icmp eq i32 %0, 129 %28 = zext nneg i32 %24 to i64 br label %29 29: ; preds = %26, %119 %30 = phi i64 [ 0, %26 ], [ %122, %119 ] %31 = phi i32 [ %6, %26 ], [ %121, %119 ] %32 = phi i32 [ %9, %26 ], [ %120, %119 ] %33 = getelementptr inbounds %struct.TYPE_8__, ptr %23, i64 %30 %34 = getelementptr inbounds i8, ptr %33, i64 8 %35 = load i64, ptr %34, align 8, !tbaa !15 %36 = icmp eq i64 %35, 0 br i1 %36, label %119, label %37 37: ; preds = %29 %38 = load i32, ptr %33, align 8, !tbaa !17 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %108 40: ; preds = %37 %41 = load i32, ptr @MAX_PINGREQUESTS, align 4, !tbaa !6 %42 = icmp slt i32 %32, %41 br i1 %42, label %43, label %128 43: ; preds = %40 %44 = getelementptr inbounds i8, ptr %33, i64 4 %45 = icmp sgt i32 %41, 0 br i1 %45, label %46, label %73 46: ; preds = %43 %47 = load ptr, ptr @cl_pinglist, align 8, !tbaa !14 br label %48 48: ; preds = %46, %63 %49 = phi i32 [ %41, %46 ], [ %64, %63 ] %50 = phi ptr [ %47, %46 ], [ %65, %63 ] %51 = phi i64 [ 0, %46 ], [ %66, %63 ] %52 = getelementptr inbounds %struct.TYPE_11__, ptr %50, i64 %51 %53 = load i32, ptr %52, align 8 %54 = icmp eq i32 %53, 0 br i1 %54, label %63, label %55 55: ; preds = %48 %56 = load i32, ptr %44, align 4, !tbaa !18 %57 = zext i32 %53 to i64 %58 = tail call i64 @NET_CompareAdr(i64 %57, i32 noundef %56) #3 %59 = icmp eq i64 %58, 0 %60 = load i32, ptr @MAX_PINGREQUESTS, align 4, !tbaa !6 br i1 %59, label %61, label %69 61: ; preds = %55 %62 = load ptr, ptr @cl_pinglist, align 8, !tbaa !14 br label %63 63: ; preds = %61, %48 %64 = phi i32 [ %60, %61 ], [ %49, %48 ] %65 = phi ptr [ %62, %61 ], [ %50, %48 ] %66 = add nuw nsw i64 %51, 1 %67 = sext i32 %64 to i64 %68 = icmp slt i64 %66, %67 br i1 %68, label %48, label %69, !llvm.loop !19 69: ; preds = %55, %63 %70 = phi i32 [ %64, %63 ], [ %60, %55 ] %71 = phi i64 [ %66, %63 ], [ %51, %55 ] %72 = trunc i64 %71 to i32 br label %73 73: ; preds = %69, %43 %74 = phi i32 [ %41, %43 ], [ %70, %69 ] %75 = phi i32 [ 0, %43 ], [ %72, %69 ] %76 = icmp slt i32 %75, %74 br i1 %76, label %119, label %77 77: ; preds = %73 %78 = load i32, ptr @qtrue, align 4, !tbaa !6 %79 = icmp sgt i32 %74, 0 %80 = load ptr, ptr @cl_pinglist, align 8, !tbaa !14 br i1 %79, label %81, label %93 81: ; preds = %77 %82 = zext nneg i32 %74 to i64 br label %83 83: ; preds = %81, %88 %84 = phi i64 [ 0, %81 ], [ %89, %88 ] %85 = getelementptr inbounds %struct.TYPE_11__, ptr %80, i64 %84 %86 = load i32, ptr %85, align 8, !tbaa !21 %87 = icmp eq i32 %86, 0 br i1 %87, label %91, label %88 88: ; preds = %83 %89 = add nuw nsw i64 %84, 1 %90 = icmp eq i64 %89, %82 br i1 %90, label %93, label %83, !llvm.loop !24 91: ; preds = %83 %92 = trunc nuw nsw i64 %84 to i32 br label %93 93: ; preds = %88, %91, %77 %94 = phi i32 [ 0, %77 ], [ %92, %91 ], [ %74, %88 ] %95 = zext nneg i32 %94 to i64 %96 = getelementptr inbounds %struct.TYPE_11__, ptr %80, i64 %95 %97 = tail call i32 @memcpy(ptr noundef %96, ptr noundef nonnull %44, i32 noundef 4) #3 %98 = tail call i32 @Sys_Milliseconds() #3 %99 = load ptr, ptr @cl_pinglist, align 8, !tbaa !14 %100 = getelementptr inbounds %struct.TYPE_11__, ptr %99, i64 %95, i32 2 store i32 %98, ptr %100, align 8, !tbaa !25 %101 = getelementptr inbounds %struct.TYPE_11__, ptr %99, i64 %95, i32 1 store i64 0, ptr %101, align 8, !tbaa !26 %102 = load i32, ptr @NS_CLIENT, align 4, !tbaa !6 %103 = getelementptr inbounds %struct.TYPE_11__, ptr %99, i64 %95 %104 = load i32, ptr %103, align 8 %105 = zext i32 %104 to i64 %106 = tail call i32 @NET_OutOfBandPrint(i32 noundef %102, i64 %105, ptr noundef nonnull @.str) #3 %107 = add nsw i32 %32, 1 br label %119 108: ; preds = %37 %109 = icmp eq i32 %38, 0 %110 = and i1 %27, %109 %111 = load i64, ptr getelementptr inbounds (i8, ptr @cls, i64 16), align 8 %112 = icmp ne i64 %111, 0 %113 = select i1 %110, i1 %112, i1 false br i1 %113, label %114, label %119 114: ; preds = %108 %115 = add i64 %111, -1 store i64 %115, ptr getelementptr inbounds (i8, ptr @cls, i64 16), align 8, !tbaa !27 %116 = load ptr, ptr getelementptr inbounds (i8, ptr @cls, i64 24), align 8, !tbaa !28 %117 = getelementptr inbounds i32, ptr %116, i64 %115 %118 = tail call i32 @CL_InitServerInfo(ptr noundef nonnull %33, ptr noundef %117) #3 br label %119 119: ; preds = %73, %93, %29, %108, %114 %120 = phi i32 [ %32, %114 ], [ %32, %108 ], [ %32, %29 ], [ %32, %73 ], [ %107, %93 ] %121 = phi i32 [ %31, %114 ], [ %31, %108 ], [ %31, %29 ], [ %31, %73 ], [ %78, %93 ] %122 = add nuw nsw i64 %30, 1 %123 = icmp eq i64 %122, %28 br i1 %123, label %124, label %29, !llvm.loop !29 124: ; preds = %119 %125 = load i32, ptr @MAX_PINGREQUESTS, align 4, !tbaa !6 br label %128 126: ; preds = %12 %127 = load i32, ptr @qfalse, align 4, !tbaa !6 br label %158 128: ; preds = %40, %124, %16, %8 %129 = phi i32 [ %10, %8 ], [ %10, %16 ], [ %125, %124 ], [ %41, %40 ] %130 = phi i32 [ %9, %8 ], [ %9, %16 ], [ %120, %124 ], [ %32, %40 ] %131 = phi i32 [ %6, %8 ], [ %6, %16 ], [ %121, %124 ], [ %31, %40 ] %132 = icmp eq i32 %130, 0 %133 = load i32, ptr @qtrue, align 4 %134 = select i1 %132, i32 %131, i32 %133 %135 = icmp sgt i32 %129, 0 br i1 %135, label %136, label %158 136: ; preds = %128, %152 %137 = phi i64 [ %154, %152 ], [ 0, %128 ] %138 = phi i32 [ %153, %152 ], [ %134, %128 ] %139 = load ptr, ptr @cl_pinglist, align 8, !tbaa !14 %140 = getelementptr inbounds %struct.TYPE_11__, ptr %139, i64 %137 %141 = load i32, ptr %140, align 8, !tbaa !21 %142 = icmp eq i32 %141, 0 br i1 %142, label %152, label %143 143: ; preds = %136 %144 = load i32, ptr @MAX_STRING_CHARS, align 4, !tbaa !6 %145 = trunc nuw nsw i64 %137 to i32 %146 = call i32 @CL_GetPing(i32 noundef %145, ptr noundef nonnull %5, i32 noundef %144, ptr noundef nonnull %2) #3 %147 = load i32, ptr %2, align 4, !tbaa !6 %148 = icmp eq i32 %147, 0 br i1 %148, label %152, label %149 149: ; preds = %143 %150 = call i32 @CL_ClearPing(i32 noundef %145) #3 %151 = load i32, ptr @qtrue, align 4, !tbaa !6 br label %152 152: ; preds = %143, %149, %136 %153 = phi i32 [ %151, %149 ], [ %138, %143 ], [ %138, %136 ] %154 = add nuw nsw i64 %137, 1 %155 = load i32, ptr @MAX_PINGREQUESTS, align 4, !tbaa !6 %156 = sext i32 %155 to i64 %157 = icmp slt i64 %154, %156 br i1 %157, label %136, label %158, !llvm.loop !30 158: ; preds = %152, %128, %126, %1 %159 = phi i32 [ %127, %126 ], [ %6, %1 ], [ %134, %128 ], [ %153, %152 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %159 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @CL_GetPingQueueCount(...) local_unnamed_addr #2 declare i64 @NET_CompareAdr(i64, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Sys_Milliseconds(...) local_unnamed_addr #2 declare i32 @NET_OutOfBandPrint(i32 noundef, i64, 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 @CL_InitServerInfo(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CL_GetPing(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CL_ClearPing(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !12, i64 8} !17 = !{!16, !7, i64 0} !18 = !{!16, !7, i64 4} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_11__", !23, i64 0, !12, i64 8, !7, i64 16} !23 = !{!"TYPE_9__", !7, i64 0} !24 = distinct !{!24, !20} !25 = !{!22, !7, i64 16} !26 = !{!22, !12, i64 8} !27 = !{!11, !12, i64 16} !28 = !{!11, !13, i64 24} !29 = distinct !{!29, !20} !30 = distinct !{!30, !20}
lab_engine_code_client_extr_cl_main.c_CL_UpdateVisiblePings_f
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read.c___archive_read_filter_seek.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read.c___archive_read_filter_seek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.archive_read_filter = type { i64, i64, i32, i32, i64, i64, ptr, ptr, i64, i64 } %struct.archive_read_client = type { i32, ptr } %struct.TYPE_4__ = type { i64, i64 } @ARCHIVE_FATAL = dso_local local_unnamed_addr global i64 0, align 8 @ARCHIVE_FAILED = dso_local local_unnamed_addr global i64 0, align 8 @__LA_FALLTHROUGH = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_OK = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @__archive_read_filter_seek(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 9 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 8 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %7, %3 %12 = load i64, ptr @ARCHIVE_FATAL, align 8, !tbaa !13 br label %194 13: ; preds = %7 %14 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 7 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %13 %18 = load i64, ptr @ARCHIVE_FAILED, align 8, !tbaa !13 br label %194 19: ; preds = %13 %20 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 6 %21 = load ptr, ptr %20, align 8, !tbaa !15 switch i32 %2, label %177 [ i32 130, label %33 i32 128, label %37 i32 129, label %22 ] 22: ; preds = %19 %23 = getelementptr inbounds %struct.archive_read_client, ptr %21, i64 0, i32 1 %24 = load ptr, ptr %23, align 8, !tbaa !16 %25 = load i64, ptr %24, align 8, !tbaa !18 %26 = icmp slt i64 %25, 0 br i1 %26, label %115, label %27 27: ; preds = %22 %28 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 0, i32 1 %29 = load i64, ptr %28, align 8, !tbaa !20 %30 = icmp slt i64 %29, 0 br i1 %30, label %115, label %31 31: ; preds = %27 %32 = load i32, ptr %21, align 8, !tbaa !21 br label %102 33: ; preds = %19 %34 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 1 %35 = load i64, ptr %34, align 8, !tbaa !22 %36 = add nsw i64 %35, %1 br label %37 37: ; preds = %19, %33 %38 = phi i64 [ %1, %19 ], [ %36, %33 ] %39 = getelementptr inbounds %struct.archive_read_client, ptr %21, i64 0, i32 1 %40 = load ptr, ptr %39, align 8, !tbaa !16 %41 = load i64, ptr %40, align 8, !tbaa !18 %42 = icmp slt i64 %41, 0 br i1 %42, label %64, label %43 43: ; preds = %37 %44 = getelementptr inbounds %struct.TYPE_4__, ptr %40, i64 0, i32 1 %45 = load i64, ptr %44, align 8, !tbaa !20 %46 = icmp slt i64 %45, 0 br i1 %46, label %64, label %47 47: ; preds = %43, %58 %48 = phi i64 [ %62, %58 ], [ %45, %43 ] %49 = phi i32 [ %55, %58 ], [ 0, %43 ] %50 = phi i64 [ %51, %58 ], [ %41, %43 ] %51 = add nuw nsw i64 %48, %50 %52 = add nsw i64 %51, -1 %53 = icmp sgt i64 %52, %38 br i1 %53, label %64, label %54 54: ; preds = %47 %55 = add nuw i32 %49, 1 %56 = load i32, ptr %21, align 8, !tbaa !21 %57 = icmp ult i32 %55, %56 br i1 %57, label %58, label %64 58: ; preds = %54 %59 = zext i32 %55 to i64 %60 = getelementptr inbounds %struct.TYPE_4__, ptr %40, i64 %59 store i64 %51, ptr %60, align 8, !tbaa !18 %61 = getelementptr inbounds %struct.TYPE_4__, ptr %40, i64 %59, i32 1 %62 = load i64, ptr %61, align 8, !tbaa !20 %63 = icmp slt i64 %62, 0 br i1 %63, label %64, label %47 64: ; preds = %58, %47, %54, %43, %37 %65 = phi i32 [ 0, %37 ], [ 0, %43 ], [ %49, %54 ], [ %49, %47 ], [ %55, %58 ] %66 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %65) #3 %67 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !13 %68 = icmp eq i64 %66, %67 br i1 %68, label %69, label %194 69: ; preds = %64, %86 %70 = phi i32 [ %83, %86 ], [ %65, %64 ] %71 = tail call i64 @client_seek_proxy(ptr noundef %0, i64 noundef 0, i32 noundef 129) #3 %72 = icmp slt i64 %71, 0 br i1 %72, label %194, label %73 73: ; preds = %69 %74 = load ptr, ptr %39, align 8, !tbaa !16 %75 = zext i32 %70 to i64 %76 = getelementptr inbounds %struct.TYPE_4__, ptr %74, i64 %75, i32 1 store i64 %71, ptr %76, align 8, !tbaa !20 %77 = getelementptr inbounds %struct.TYPE_4__, ptr %74, i64 %75 %78 = load i64, ptr %77, align 8, !tbaa !18 %79 = add nsw i64 %78, %71 %80 = add nsw i64 %79, -1 %81 = icmp sgt i64 %80, %38 br i1 %81, label %92, label %82 82: ; preds = %73 %83 = add i32 %70, 1 %84 = load i32, ptr %21, align 8, !tbaa !21 %85 = icmp ult i32 %83, %84 br i1 %85, label %86, label %92 86: ; preds = %82 %87 = zext i32 %83 to i64 %88 = getelementptr inbounds %struct.TYPE_4__, ptr %74, i64 %87 store i64 %79, ptr %88, align 8, !tbaa !18 %89 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %83) #3 %90 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !13 %91 = icmp eq i64 %89, %90 br i1 %91, label %69, label %194 92: ; preds = %73, %82 %93 = sub nsw i64 %38, %78 %94 = icmp slt i64 %93, 0 %95 = icmp ugt i64 %93, %71 %96 = or i1 %94, %95 br i1 %96, label %97, label %99 97: ; preds = %92 %98 = load i64, ptr @ARCHIVE_FATAL, align 8, !tbaa !13 br label %194 99: ; preds = %92 %100 = tail call i64 @client_seek_proxy(ptr noundef %0, i64 noundef %93, i32 noundef 128) #3 %101 = icmp slt i64 %100, 0 br i1 %101, label %194, label %179 102: ; preds = %31, %108 %103 = phi i64 [ %113, %108 ], [ %29, %31 ] %104 = phi i32 [ %106, %108 ], [ 0, %31 ] %105 = phi i64 [ %109, %108 ], [ %25, %31 ] %106 = add nuw i32 %104, 1 %107 = icmp ult i32 %106, %32 br i1 %107, label %108, label %115 108: ; preds = %102 %109 = add nuw nsw i64 %103, %105 %110 = zext i32 %106 to i64 %111 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %110 store i64 %109, ptr %111, align 8, !tbaa !18 %112 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %110, i32 1 %113 = load i64, ptr %112, align 8, !tbaa !20 %114 = icmp slt i64 %113, 0 br i1 %114, label %115, label %102 115: ; preds = %108, %102, %27, %22 %116 = phi i32 [ 0, %22 ], [ 0, %27 ], [ %104, %102 ], [ %106, %108 ] %117 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %116) #3 %118 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !13 %119 = icmp eq i64 %117, %118 br i1 %119, label %120, label %194 120: ; preds = %115, %140 %121 = phi i32 [ %131, %140 ], [ %116, %115 ] %122 = tail call i64 @client_seek_proxy(ptr noundef %0, i64 noundef 0, i32 noundef 129) #3 %123 = icmp slt i64 %122, 0 br i1 %123, label %194, label %124 124: ; preds = %120 %125 = load ptr, ptr %23, align 8, !tbaa !16 %126 = zext i32 %121 to i64 %127 = getelementptr inbounds %struct.TYPE_4__, ptr %125, i64 %126, i32 1 store i64 %122, ptr %127, align 8, !tbaa !20 %128 = getelementptr inbounds %struct.TYPE_4__, ptr %125, i64 %126 %129 = load i64, ptr %128, align 8, !tbaa !18 %130 = add nsw i64 %129, %122 %131 = add i32 %121, 1 %132 = load i32, ptr %21, align 8, !tbaa !21 %133 = icmp ult i32 %131, %132 br i1 %133, label %140, label %134 134: ; preds = %124 %135 = add nsw i64 %130, %1 %136 = icmp slt i64 %135, %129 br i1 %136, label %137, label %161 137: ; preds = %134 %138 = add nsw i64 %122, %1 %139 = icmp eq i32 %121, 0 br i1 %139, label %161, label %149 140: ; preds = %124 %141 = zext i32 %131 to i64 %142 = getelementptr inbounds %struct.TYPE_4__, ptr %125, i64 %141 store i64 %130, ptr %142, align 8, !tbaa !18 %143 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %131) #3 %144 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !13 %145 = icmp eq i64 %143, %144 br i1 %145, label %120, label %194 146: ; preds = %149 %147 = add nsw i64 %157, %150 %148 = icmp eq i32 %152, 0 br i1 %148, label %161, label %149 149: ; preds = %137, %146 %150 = phi i64 [ %147, %146 ], [ %138, %137 ] %151 = phi i32 [ %152, %146 ], [ %121, %137 ] %152 = add i32 %151, -1 %153 = zext i32 %152 to i64 %154 = getelementptr inbounds %struct.TYPE_4__, ptr %125, i64 %153 %155 = load i64, ptr %154, align 8, !tbaa !18 %156 = getelementptr inbounds %struct.TYPE_4__, ptr %125, i64 %153, i32 1 %157 = load i64, ptr %156, align 8, !tbaa !20 %158 = add nsw i64 %157, %155 %159 = add nsw i64 %158, %150 %160 = icmp slt i64 %159, %155 br i1 %160, label %146, label %161 161: ; preds = %146, %149, %137, %134 %162 = phi i64 [ %130, %134 ], [ %130, %137 ], [ %158, %149 ], [ %158, %146 ] %163 = phi i32 [ %121, %134 ], [ 0, %137 ], [ %152, %149 ], [ 0, %146 ] %164 = phi i64 [ %129, %134 ], [ %129, %137 ], [ %155, %149 ], [ %155, %146 ] %165 = phi i64 [ %1, %134 ], [ %138, %137 ], [ %150, %149 ], [ %147, %146 ] %166 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %163) #3 %167 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !13 %168 = icmp eq i64 %166, %167 br i1 %168, label %169, label %194 169: ; preds = %161 %170 = sub i64 %162, %164 %171 = add i64 %170, %165 %172 = tail call i64 @client_seek_proxy(ptr noundef %0, i64 noundef %171, i32 noundef 128) #3 %173 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !13 %174 = icmp slt i64 %172, %173 br i1 %174, label %194, label %175 175: ; preds = %169 %176 = zext i32 %163 to i64 br label %179 177: ; preds = %19 %178 = load i64, ptr @ARCHIVE_FATAL, align 8, !tbaa !13 br label %194 179: ; preds = %175, %99 %180 = phi i64 [ %176, %175 ], [ %75, %99 ] %181 = phi i64 [ %172, %175 ], [ %100, %99 ] %182 = getelementptr inbounds %struct.archive_read_client, ptr %21, i64 0, i32 1 %183 = load ptr, ptr %182, align 8, !tbaa !16 %184 = getelementptr inbounds %struct.TYPE_4__, ptr %183, i64 %180 %185 = load i64, ptr %184, align 8, !tbaa !18 %186 = add nsw i64 %185, %181 %187 = icmp sgt i64 %186, -1 br i1 %187, label %188, label %194 188: ; preds = %179 %189 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 4 %190 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 2 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %189, i8 0, i64 16, i1 false) %191 = load i32, ptr %190, align 8, !tbaa !23 %192 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 3 store i32 %191, ptr %192, align 4, !tbaa !24 %193 = getelementptr inbounds %struct.archive_read_filter, ptr %0, i64 0, i32 1 store i64 %186, ptr %193, align 8, !tbaa !22 store i64 0, ptr %0, align 8, !tbaa !25 br label %194 194: ; preds = %140, %120, %86, %69, %115, %64, %179, %188, %169, %161, %99, %177, %97, %17, %11 %195 = phi i64 [ %12, %11 ], [ %18, %17 ], [ %178, %177 ], [ %98, %97 ], [ %100, %99 ], [ %166, %161 ], [ %172, %169 ], [ %186, %188 ], [ %186, %179 ], [ %66, %64 ], [ %117, %115 ], [ %89, %86 ], [ %71, %69 ], [ %143, %140 ], [ %122, %120 ] ret i64 %195 } declare i64 @client_switch_proxy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @client_seek_proxy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 64} !6 = !{!"archive_read_filter", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 32, !11, i64 40, !11, i64 48, !7, i64 56, !7, i64 64} !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 56} !13 = !{!7, !7, i64 0} !14 = !{!6, !11, i64 48} !15 = !{!6, !11, i64 40} !16 = !{!17, !11, i64 8} !17 = !{!"archive_read_client", !10, i64 0, !11, i64 8} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_4__", !7, i64 0, !7, i64 8} !20 = !{!19, !7, i64 8} !21 = !{!17, !10, i64 0} !22 = !{!6, !7, i64 8} !23 = !{!6, !10, i64 16} !24 = !{!6, !10, i64 20} !25 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read.c___archive_read_filter_seek.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read.c___archive_read_filter_seek.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i64, i64 } @ARCHIVE_FATAL = common local_unnamed_addr global i64 0, align 8 @ARCHIVE_FAILED = common local_unnamed_addr global i64 0, align 8 @__LA_FALLTHROUGH = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_OK = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @__archive_read_filter_seek(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 64 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 56 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %7, %3 %12 = load i64, ptr @ARCHIVE_FATAL, align 8, !tbaa !14 br label %202 13: ; preds = %7 %14 = getelementptr inbounds i8, ptr %0, i64 48 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %13 %18 = load i64, ptr @ARCHIVE_FAILED, align 8, !tbaa !14 br label %202 19: ; preds = %13 %20 = getelementptr inbounds i8, ptr %0, i64 40 %21 = load ptr, ptr %20, align 8, !tbaa !16 switch i32 %2, label %185 [ i32 130, label %34 i32 128, label %38 i32 129, label %22 ] 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %21, i64 8 %24 = load ptr, ptr %23, align 8, !tbaa !17 %25 = load i64, ptr %24, align 8, !tbaa !19 %26 = icmp slt i64 %25, 0 br i1 %26, label %119, label %27 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %24, i64 8 %29 = load i64, ptr %28, align 8, !tbaa !21 %30 = icmp slt i64 %29, 0 br i1 %30, label %119, label %31 31: ; preds = %27 %32 = load i32, ptr %21, align 8, !tbaa !22 %33 = zext i32 %32 to i64 br label %104 34: ; preds = %19 %35 = getelementptr inbounds i8, ptr %0, i64 8 %36 = load i64, ptr %35, align 8, !tbaa !23 %37 = add nsw i64 %36, %1 br label %38 38: ; preds = %19, %34 %39 = phi i64 [ %1, %19 ], [ %37, %34 ] %40 = getelementptr inbounds i8, ptr %21, i64 8 %41 = load ptr, ptr %40, align 8, !tbaa !17 %42 = load i64, ptr %41, align 8, !tbaa !19 %43 = icmp slt i64 %42, 0 br i1 %43, label %68, label %44 44: ; preds = %38 %45 = getelementptr inbounds i8, ptr %41, i64 8 %46 = load i64, ptr %45, align 8, !tbaa !21 %47 = icmp slt i64 %46, 0 br i1 %47, label %68, label %48 48: ; preds = %44, %60 %49 = phi i64 [ %63, %60 ], [ %46, %44 ] %50 = phi i64 [ %52, %60 ], [ %42, %44 ] %51 = phi i64 [ %56, %60 ], [ 0, %44 ] %52 = add nuw nsw i64 %49, %50 %53 = add nsw i64 %52, -1 %54 = icmp sgt i64 %53, %39 br i1 %54, label %65, label %55 55: ; preds = %48 %56 = add nuw nsw i64 %51, 1 %57 = load i32, ptr %21, align 8, !tbaa !22 %58 = zext i32 %57 to i64 %59 = icmp ult i64 %56, %58 br i1 %59, label %60, label %65 60: ; preds = %55 %61 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i64 %56 store i64 %52, ptr %61, align 8, !tbaa !19 %62 = getelementptr inbounds %struct.TYPE_4__, ptr %41, i64 %56, i32 1 %63 = load i64, ptr %62, align 8, !tbaa !21 %64 = icmp slt i64 %63, 0 br i1 %64, label %65, label %48 65: ; preds = %60, %48, %55 %66 = phi i64 [ %51, %55 ], [ %51, %48 ], [ %56, %60 ] %67 = trunc nuw i64 %66 to i32 br label %68 68: ; preds = %44, %65, %38 %69 = phi i32 [ 0, %38 ], [ 0, %44 ], [ %67, %65 ] %70 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %69) #3 %71 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !14 %72 = icmp eq i64 %70, %71 br i1 %72, label %73, label %202 73: ; preds = %68, %90 %74 = phi i32 [ %87, %90 ], [ %69, %68 ] %75 = tail call i64 @client_seek_proxy(ptr noundef %0, i64 noundef 0, i32 noundef 129) #3 %76 = icmp slt i64 %75, 0 br i1 %76, label %202, label %77 77: ; preds = %73 %78 = load ptr, ptr %40, align 8, !tbaa !17 %79 = zext i32 %74 to i64 %80 = getelementptr inbounds %struct.TYPE_4__, ptr %78, i64 %79, i32 1 store i64 %75, ptr %80, align 8, !tbaa !21 %81 = getelementptr inbounds %struct.TYPE_4__, ptr %78, i64 %79 %82 = load i64, ptr %81, align 8, !tbaa !19 %83 = add nsw i64 %75, %82 %84 = add nsw i64 %83, -1 %85 = icmp sgt i64 %84, %39 br i1 %85, label %96, label %86 86: ; preds = %77 %87 = add i32 %74, 1 %88 = load i32, ptr %21, align 8, !tbaa !22 %89 = icmp ult i32 %87, %88 br i1 %89, label %90, label %96 90: ; preds = %86 %91 = zext i32 %87 to i64 %92 = getelementptr inbounds %struct.TYPE_4__, ptr %78, i64 %91 store i64 %83, ptr %92, align 8, !tbaa !19 %93 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %87) #3 %94 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !14 %95 = icmp eq i64 %93, %94 br i1 %95, label %73, label %202 96: ; preds = %77, %86 %97 = sub nsw i64 %39, %82 %98 = icmp ugt i64 %97, %75 br i1 %98, label %99, label %101 99: ; preds = %96 %100 = load i64, ptr @ARCHIVE_FATAL, align 8, !tbaa !14 br label %202 101: ; preds = %96 %102 = tail call i64 @client_seek_proxy(ptr noundef %0, i64 noundef %97, i32 noundef 128) #3 %103 = icmp slt i64 %102, 0 br i1 %103, label %202, label %187 104: ; preds = %31, %110 %105 = phi i64 [ %114, %110 ], [ %29, %31 ] %106 = phi i64 [ %111, %110 ], [ %25, %31 ] %107 = phi i64 [ %108, %110 ], [ 0, %31 ] %108 = add nuw nsw i64 %107, 1 %109 = icmp ult i64 %108, %33 br i1 %109, label %110, label %116 110: ; preds = %104 %111 = add nuw nsw i64 %105, %106 %112 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %108 store i64 %111, ptr %112, align 8, !tbaa !19 %113 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %108, i32 1 %114 = load i64, ptr %113, align 8, !tbaa !21 %115 = icmp slt i64 %114, 0 br i1 %115, label %116, label %104 116: ; preds = %110, %104 %117 = phi i64 [ %107, %104 ], [ %108, %110 ] %118 = trunc nuw i64 %117 to i32 br label %119 119: ; preds = %27, %116, %22 %120 = phi i32 [ 0, %22 ], [ 0, %27 ], [ %118, %116 ] %121 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %120) #3 %122 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !14 %123 = icmp eq i64 %121, %122 br i1 %123, label %124, label %202 124: ; preds = %119, %146 %125 = phi i32 [ %135, %146 ], [ %120, %119 ] %126 = tail call i64 @client_seek_proxy(ptr noundef %0, i64 noundef 0, i32 noundef 129) #3 %127 = icmp slt i64 %126, 0 br i1 %127, label %202, label %128 128: ; preds = %124 %129 = load ptr, ptr %23, align 8, !tbaa !17 %130 = zext i32 %125 to i64 %131 = getelementptr inbounds %struct.TYPE_4__, ptr %129, i64 %130, i32 1 store i64 %126, ptr %131, align 8, !tbaa !21 %132 = getelementptr inbounds %struct.TYPE_4__, ptr %129, i64 %130 %133 = load i64, ptr %132, align 8, !tbaa !19 %134 = add nsw i64 %126, %133 %135 = add nuw i32 %125, 1 %136 = load i32, ptr %21, align 8, !tbaa !22 %137 = icmp ult i32 %135, %136 br i1 %137, label %146, label %138 138: ; preds = %128 %139 = add nsw i64 %134, %1 %140 = icmp slt i64 %139, %133 br i1 %140, label %141, label %169 141: ; preds = %138 %142 = getelementptr inbounds %struct.TYPE_4__, ptr %129, i64 %130, i32 1 %143 = load i64, ptr %142, align 8, !tbaa !21 %144 = add nsw i64 %143, %1 %145 = icmp eq i32 %125, 0 br i1 %145, label %169, label %157 146: ; preds = %128 %147 = zext i32 %135 to i64 %148 = getelementptr inbounds %struct.TYPE_4__, ptr %129, i64 %147 store i64 %134, ptr %148, align 8, !tbaa !19 %149 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %135) #3 %150 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !14 %151 = icmp eq i64 %149, %150 br i1 %151, label %124, label %202 152: ; preds = %157 %153 = getelementptr inbounds %struct.TYPE_4__, ptr %129, i64 %161, i32 1 %154 = load i64, ptr %153, align 8, !tbaa !21 %155 = add nsw i64 %154, %158 %156 = icmp eq i32 %160, 0 br i1 %156, label %169, label %157 157: ; preds = %141, %152 %158 = phi i64 [ %155, %152 ], [ %144, %141 ] %159 = phi i32 [ %160, %152 ], [ %125, %141 ] %160 = add i32 %159, -1 %161 = zext i32 %160 to i64 %162 = getelementptr inbounds %struct.TYPE_4__, ptr %129, i64 %161 %163 = load i64, ptr %162, align 8, !tbaa !19 %164 = getelementptr inbounds i8, ptr %162, i64 8 %165 = load i64, ptr %164, align 8, !tbaa !21 %166 = add nsw i64 %165, %163 %167 = add nsw i64 %166, %158 %168 = icmp slt i64 %167, %163 br i1 %168, label %152, label %169 169: ; preds = %152, %157, %141, %138 %170 = phi i64 [ %134, %138 ], [ %134, %141 ], [ %166, %157 ], [ %166, %152 ] %171 = phi i32 [ %125, %138 ], [ 0, %141 ], [ %160, %157 ], [ 0, %152 ] %172 = phi i64 [ %133, %138 ], [ %133, %141 ], [ %163, %157 ], [ %163, %152 ] %173 = phi i64 [ %1, %138 ], [ %144, %141 ], [ %158, %157 ], [ %155, %152 ] %174 = tail call i64 @client_switch_proxy(ptr noundef %0, i32 noundef %171) #3 %175 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !14 %176 = icmp eq i64 %174, %175 br i1 %176, label %177, label %202 177: ; preds = %169 %178 = sub i64 %170, %172 %179 = add i64 %178, %173 %180 = tail call i64 @client_seek_proxy(ptr noundef %0, i64 noundef %179, i32 noundef 128) #3 %181 = load i64, ptr @ARCHIVE_OK, align 8, !tbaa !14 %182 = icmp slt i64 %180, %181 br i1 %182, label %202, label %183 183: ; preds = %177 %184 = zext i32 %171 to i64 br label %187 185: ; preds = %19 %186 = load i64, ptr @ARCHIVE_FATAL, align 8, !tbaa !14 br label %202 187: ; preds = %183, %101 %188 = phi i64 [ %184, %183 ], [ %79, %101 ] %189 = phi i64 [ %180, %183 ], [ %102, %101 ] %190 = getelementptr inbounds i8, ptr %21, i64 8 %191 = load ptr, ptr %190, align 8, !tbaa !17 %192 = getelementptr inbounds %struct.TYPE_4__, ptr %191, i64 %188 %193 = load i64, ptr %192, align 8, !tbaa !19 %194 = add nsw i64 %193, %189 %195 = icmp sgt i64 %194, -1 br i1 %195, label %196, label %202 196: ; preds = %187 %197 = getelementptr inbounds i8, ptr %0, i64 24 %198 = getelementptr inbounds i8, ptr %0, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %197, i8 0, i64 16, i1 false) %199 = load i32, ptr %198, align 8, !tbaa !24 %200 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %199, ptr %200, align 4, !tbaa !25 %201 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %194, ptr %201, align 8, !tbaa !23 store i64 0, ptr %0, align 8, !tbaa !26 br label %202 202: ; preds = %146, %124, %90, %73, %119, %68, %187, %196, %177, %169, %101, %185, %99, %17, %11 %203 = phi i64 [ %12, %11 ], [ %18, %17 ], [ %186, %185 ], [ %100, %99 ], [ %102, %101 ], [ %174, %169 ], [ %180, %177 ], [ %194, %196 ], [ %194, %187 ], [ %70, %68 ], [ %121, %119 ], [ %93, %90 ], [ %75, %73 ], [ %149, %146 ], [ %126, %124 ] ret i64 %203 } declare i64 @client_switch_proxy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @client_seek_proxy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 64} !7 = !{!"archive_read_filter", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !8, i64 24, !8, i64 32, !12, i64 40, !12, i64 48, !8, i64 56, !8, i64 64} !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 56} !14 = !{!8, !8, i64 0} !15 = !{!7, !12, i64 48} !16 = !{!7, !12, i64 40} !17 = !{!18, !12, i64 8} !18 = !{!"archive_read_client", !11, i64 0, !12, i64 8} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_4__", !8, i64 0, !8, i64 8} !21 = !{!20, !8, i64 8} !22 = !{!18, !11, i64 0} !23 = !{!7, !8, i64 8} !24 = !{!7, !11, i64 16} !25 = !{!7, !11, i64 20} !26 = !{!7, !8, i64 0}
freebsd_contrib_libarchive_libarchive_extr_archive_read.c___archive_read_filter_seek
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_virtio.c_vi_intr_init.c' source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_virtio.c_vi_intr_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.virtio_softc = type { i32, i32, ptr } @VIRTIO_USE_MSIX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @vi_intr_init(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i32 %2, 0 %5 = load i32, ptr @VIRTIO_USE_MSIX, align 4, !tbaa !5 br i1 %4, label %20, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.virtio_softc, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = or i32 %8, %5 store i32 %9, ptr %7, align 4, !tbaa !9 %10 = tail call i32 @VS_LOCK(ptr noundef %0) #2 %11 = tail call i32 @vi_reset_dev(ptr noundef %0) #2 %12 = tail call i32 @VS_UNLOCK(ptr noundef %0) #2 %13 = getelementptr inbounds %struct.virtio_softc, ptr %0, i64 0, i32 2 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = add nsw i32 %15, 1 %17 = load i32, ptr %0, align 8, !tbaa !15 %18 = tail call i64 @pci_emul_add_msixcap(i32 noundef %17, i32 noundef %16, i32 noundef %1) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %30 20: ; preds = %3 %21 = xor i32 %5, -1 %22 = getelementptr inbounds %struct.virtio_softc, ptr %0, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !9 %24 = and i32 %23, %21 store i32 %24, ptr %22, align 4, !tbaa !9 br label %25 25: ; preds = %6, %20 %26 = load i32, ptr %0, align 8, !tbaa !15 %27 = tail call i32 @pci_emul_add_msicap(i32 noundef %26, i32 noundef 1) #2 %28 = load i32, ptr %0, align 8, !tbaa !15 %29 = tail call i32 @pci_lintr_request(i32 noundef %28) #2 br label %30 30: ; preds = %6, %25 %31 = phi i32 [ 0, %25 ], [ 1, %6 ] ret i32 %31 } declare i32 @VS_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @vi_reset_dev(ptr noundef) local_unnamed_addr #1 declare i32 @VS_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i64 @pci_emul_add_msixcap(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_emul_add_msicap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_lintr_request(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 4} !10 = !{!"virtio_softc", !6, i64 0, !6, i64 4, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_2__", !6, i64 0} !15 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_virtio.c_vi_intr_init.c' source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_virtio.c_vi_intr_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VIRTIO_USE_MSIX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @vi_intr_init(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i32 %2, 0 %5 = load i32, ptr @VIRTIO_USE_MSIX, align 4, !tbaa !6 br i1 %4, label %20, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = or i32 %8, %5 store i32 %9, ptr %7, align 4, !tbaa !10 %10 = tail call i32 @VS_LOCK(ptr noundef %0) #2 %11 = tail call i32 @vi_reset_dev(ptr noundef %0) #2 %12 = tail call i32 @VS_UNLOCK(ptr noundef %0) #2 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = add nsw i32 %15, 1 %17 = load i32, ptr %0, align 8, !tbaa !16 %18 = tail call i64 @pci_emul_add_msixcap(i32 noundef %17, i32 noundef %16, i32 noundef %1) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %25, label %30 20: ; preds = %3 %21 = xor i32 %5, -1 %22 = getelementptr inbounds i8, ptr %0, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !10 %24 = and i32 %23, %21 store i32 %24, ptr %22, align 4, !tbaa !10 br label %25 25: ; preds = %6, %20 %26 = load i32, ptr %0, align 8, !tbaa !16 %27 = tail call i32 @pci_emul_add_msicap(i32 noundef %26, i32 noundef 1) #2 %28 = load i32, ptr %0, align 8, !tbaa !16 %29 = tail call i32 @pci_lintr_request(i32 noundef %28) #2 br label %30 30: ; preds = %6, %25 %31 = phi i32 [ 0, %25 ], [ 1, %6 ] ret i32 %31 } declare i32 @VS_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @vi_reset_dev(ptr noundef) local_unnamed_addr #1 declare i32 @VS_UNLOCK(ptr noundef) local_unnamed_addr #1 declare i64 @pci_emul_add_msixcap(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_emul_add_msicap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_lintr_request(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 4} !11 = !{!"virtio_softc", !7, i64 0, !7, i64 4, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_2__", !7, i64 0} !16 = !{!11, !7, i64 0}
freebsd_usr.sbin_bhyve_extr_virtio.c_vi_intr_init
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_state.c_fp_none_get_caps.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_state.c_fp_none_get_caps.c" target datalayout = "e-m:e-p270:32:32-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 @fp_none_get_caps], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fp_none_get_caps(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 4) #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)"}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_state.c_fp_none_get_caps.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_state.c_fp_none_get_caps.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 @fp_none_get_caps], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fp_none_get_caps(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 4) #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)"}
reactos_dll_directx_wine_wined3d_extr_state.c_fp_none_get_caps
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_cm.c_mini_cm_del_listen.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_cm.c_mini_cm_del_listen.c" target datalayout = "e-m:e-p270:32:32-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.nes_cm_listener = type { ptr, i32 } @NES_CM_LISTENER_PASSIVE_STATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mini_cm_del_listen], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mini_cm_del_listen(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @NES_CM_LISTENER_PASSIVE_STATE, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.nes_cm_listener, ptr %1, i64 0, i32 1 store i32 %3, ptr %4, align 8, !tbaa !9 store ptr null, ptr %1, align 8, !tbaa !12 %5 = tail call i32 @mini_cm_dec_refcnt_listen(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 1) #2 ret i32 %5 } declare i32 @mini_cm_dec_refcnt_listen(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"nes_cm_listener", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_cm.c_mini_cm_del_listen.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_cm.c_mini_cm_del_listen.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NES_CM_LISTENER_PASSIVE_STATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mini_cm_del_listen], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mini_cm_del_listen(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @NES_CM_LISTENER_PASSIVE_STATE, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %3, ptr %4, align 8, !tbaa !10 store ptr null, ptr %1, align 8, !tbaa !13 %5 = tail call i32 @mini_cm_dec_refcnt_listen(ptr noundef %0, ptr noundef nonnull %1, i32 noundef 1) #2 ret i32 %5 } declare i32 @mini_cm_dec_refcnt_listen(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"nes_cm_listener", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
fastsocket_kernel_drivers_infiniband_hw_nes_extr_nes_cm.c_mini_cm_del_listen
; ModuleID = 'AnghaBench/openssl/crypto/pem/extr_pvkfmt.c_write_ledword.c' source_filename = "AnghaBench/openssl/crypto/pem/extr_pvkfmt.c_write_ledword.c" target datalayout = "e-m:e-p270:32:32-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 @write_ledword], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @write_ledword(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = trunc i32 %1 to i8 %5 = getelementptr inbounds i8, ptr %3, i64 1 store i8 %4, ptr %3, align 1, !tbaa !9 %6 = lshr i32 %1, 8 %7 = trunc i32 %6 to i8 %8 = getelementptr inbounds i8, ptr %3, i64 2 store i8 %7, ptr %5, align 1, !tbaa !9 %9 = lshr i32 %1, 16 %10 = trunc i32 %9 to i8 %11 = getelementptr inbounds i8, ptr %3, i64 3 store i8 %10, ptr %8, align 1, !tbaa !9 %12 = lshr i32 %1, 24 %13 = trunc i32 %12 to i8 %14 = getelementptr inbounds i8, ptr %3, i64 4 store i8 %13, ptr %11, align 1, !tbaa !9 store ptr %14, ptr %0, align 8, !tbaa !5 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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/pem/extr_pvkfmt.c_write_ledword.c' source_filename = "AnghaBench/openssl/crypto/pem/extr_pvkfmt.c_write_ledword.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 @write_ledword], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @write_ledword(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = trunc i32 %1 to i8 %5 = getelementptr inbounds i8, ptr %3, i64 1 store i8 %4, ptr %3, align 1, !tbaa !10 %6 = lshr i32 %1, 8 %7 = trunc i32 %6 to i8 %8 = getelementptr inbounds i8, ptr %3, i64 2 store i8 %7, ptr %5, align 1, !tbaa !10 %9 = lshr i32 %1, 16 %10 = trunc i32 %9 to i8 %11 = getelementptr inbounds i8, ptr %3, i64 3 store i8 %10, ptr %8, align 1, !tbaa !10 %12 = lshr i32 %1, 24 %13 = trunc nuw i32 %12 to i8 %14 = getelementptr inbounds i8, ptr %3, i64 4 store i8 %13, ptr %11, align 1, !tbaa !10 store ptr %14, ptr %0, align 8, !tbaa !6 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, !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}
openssl_crypto_pem_extr_pvkfmt.c_write_ledword
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_csigr_imode.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_csigr_imode.c" target datalayout = "e-m:e-p270:32:32-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 @mite_csigr_imode], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @mite_csigr_imode(i32 noundef %0) #0 { %2 = lshr i32 %0, 12 %3 = and i32 %2, 3 ret i32 %3 } 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/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_csigr_imode.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_csigr_imode.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 @mite_csigr_imode], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef range(i32 0, 4) i32 @mite_csigr_imode(i32 noundef %0) #0 { %2 = lshr i32 %0, 12 %3 = and i32 %2, 3 ret i32 %3 } 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)"}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_mite.h_mite_csigr_imode
; ModuleID = 'AnghaBench/linux/arch/x86/boot/extr_string.c_strchr.c' source_filename = "AnghaBench/linux/arch/x86/boot/extr_string.c_strchr.c" target datalayout = "e-m:e-p270:32:32-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 noundef ptr @strchr(ptr noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = shl i32 %1, 24 %4 = ashr exact i32 %3, 24 br label %5 5: ; preds = %10, %2 %6 = phi ptr [ %0, %2 ], [ %11, %10 ] %7 = load i8, ptr %6, align 1, !tbaa !5 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %4, %8 br i1 %9, label %13, label %10 10: ; preds = %5 %11 = getelementptr inbounds i8, ptr %6, i64 1 %12 = icmp eq i8 %7, 0 br i1 %12, label %13, label %5, !llvm.loop !8 13: ; preds = %5, %10 %14 = phi ptr [ null, %10 ], [ %6, %5 ] ret ptr %14 } 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/linux/arch/x86/boot/extr_string.c_strchr.c' source_filename = "AnghaBench/linux/arch/x86/boot/extr_string.c_strchr.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 noundef ptr @strchr(ptr noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = shl i32 %1, 24 %4 = ashr exact i32 %3, 24 br label %5 5: ; preds = %10, %2 %6 = phi ptr [ %0, %2 ], [ %11, %10 ] %7 = load i8, ptr %6, align 1, !tbaa !6 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %4, %8 br i1 %9, label %13, label %10 10: ; preds = %5 %11 = getelementptr inbounds i8, ptr %6, i64 1 %12 = icmp eq i8 %7, 0 br i1 %12, label %13, label %5, !llvm.loop !9 13: ; preds = %5, %10 %14 = phi ptr [ null, %10 ], [ %6, %5 ] ret ptr %14 } 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"}
linux_arch_x86_boot_extr_string.c_strchr
; ModuleID = 'AnghaBench/lab/engine/code/q3_ui/extr_ui_gameinfo.c_UI_InitGameinfo.c' source_filename = "AnghaBench/lab/engine/code/q3_ui/extr_ui_gameinfo.c_UI_InitGameinfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } @qfalse = dso_local local_unnamed_addr global i32 0, align 4 @uis = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local void @UI_InitGameinfo() local_unnamed_addr #0 { %1 = tail call i32 (...) @UI_InitMemory() #2 %2 = tail call i32 (...) @UI_LoadArenas() #2 %3 = tail call i32 (...) @UI_LoadBots() #2 %4 = load i32, i32* @qfalse, align 4, !tbaa !5 store i32 %4, i32* getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @uis, i64 0, i32 0), align 4, !tbaa !9 ret void } declare i32 @UI_InitMemory(...) local_unnamed_addr #1 declare i32 @UI_LoadArenas(...) local_unnamed_addr #1 declare i32 @UI_LoadBots(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !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}
; ModuleID = 'AnghaBench/lab/engine/code/q3_ui/extr_ui_gameinfo.c_UI_InitGameinfo.c' source_filename = "AnghaBench/lab/engine/code/q3_ui/extr_ui_gameinfo.c_UI_InitGameinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @qfalse = common local_unnamed_addr global i32 0, align 4 @uis = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @UI_InitGameinfo() local_unnamed_addr #0 { %1 = tail call i32 @UI_InitMemory() #2 %2 = tail call i32 @UI_LoadArenas() #2 %3 = tail call i32 @UI_LoadBots() #2 %4 = load i32, ptr @qfalse, align 4, !tbaa !6 store i32 %4, ptr @uis, align 4, !tbaa !10 ret void } declare i32 @UI_InitMemory(...) local_unnamed_addr #1 declare i32 @UI_LoadArenas(...) local_unnamed_addr #1 declare i32 @UI_LoadBots(...) 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_2__", !7, i64 0}
lab_engine_code_q3_ui_extr_ui_gameinfo.c_UI_InitGameinfo
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/crkbd/rev1/extr_matrix.c_rx_led_off.c' source_filename = "AnghaBench/qmk_firmware/keyboards/crkbd/rev1/extr_matrix.c_rx_led_off.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RXLED0 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @rx_led_off() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/crkbd/rev1/extr_matrix.c_rx_led_off.c' source_filename = "AnghaBench/qmk_firmware/keyboards/crkbd/rev1/extr_matrix.c_rx_led_off.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RXLED0 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @rx_led_off() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_keyboards_crkbd_rev1_extr_matrix.c_rx_led_off
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_traffic_class_index.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_traffic_class_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MBUF_TC_MAX = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mbuf_get_traffic_class_index(i64 noundef %0, ptr noundef writeonly %1) local_unnamed_addr #0 { %3 = icmp ne ptr %1, null %4 = load i64, ptr @MBUF_TC_MAX, align 8 %5 = icmp sgt i64 %4, %0 %6 = select i1 %3, i1 %5, i1 false br i1 %6, label %9, label %7 7: ; preds = %2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %13 9: ; preds = %2 %10 = tail call i32 @MBUF_TC2SCVAL(i64 noundef %0) #2 %11 = tail call i32 @m_service_class_from_val(i32 noundef %10) #2 %12 = tail call i64 @MBUF_SCIDX(i32 noundef %11) #2 store i64 %12, ptr %1, align 8, !tbaa !9 br label %13 13: ; preds = %9, %7 %14 = phi i32 [ %8, %7 ], [ 0, %9 ] ret i32 %14 } declare i64 @MBUF_SCIDX(i32 noundef) local_unnamed_addr #1 declare i32 @m_service_class_from_val(i32 noundef) local_unnamed_addr #1 declare i32 @MBUF_TC2SCVAL(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_traffic_class_index.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_traffic_class_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MBUF_TC_MAX = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mbuf_get_traffic_class_index(i64 noundef %0, ptr noundef writeonly %1) local_unnamed_addr #0 { %3 = icmp ne ptr %1, null %4 = load i64, ptr @MBUF_TC_MAX, align 8 %5 = icmp sgt i64 %4, %0 %6 = select i1 %3, i1 %5, i1 false br i1 %6, label %9, label %7 7: ; preds = %2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %13 9: ; preds = %2 %10 = tail call i32 @MBUF_TC2SCVAL(i64 noundef %0) #2 %11 = tail call i32 @m_service_class_from_val(i32 noundef %10) #2 %12 = tail call i64 @MBUF_SCIDX(i32 noundef %11) #2 store i64 %12, ptr %1, align 8, !tbaa !10 br label %13 13: ; preds = %9, %7 %14 = phi i32 [ %8, %7 ], [ 0, %9 ] ret i32 %14 } declare i64 @MBUF_SCIDX(i32 noundef) local_unnamed_addr #1 declare i32 @m_service_class_from_val(i32 noundef) local_unnamed_addr #1 declare i32 @MBUF_TC2SCVAL(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
darwin-xnu_bsd_kern_extr_kpi_mbuf.c_mbuf_get_traffic_class_index
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_program_power_level_enter_state.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_program_power_level_enter_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CG_SCLK_DPM_CTRL_5 = dso_local local_unnamed_addr global i32 0, align 4 @SCLK_FSTATE_BOOTUP_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sumo_program_power_level_enter_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sumo_program_power_level_enter_state(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @CG_SCLK_DPM_CTRL_5, align 4, !tbaa !5 %3 = tail call i32 @SCLK_FSTATE_BOOTUP(i32 noundef 0) #2 %4 = load i32, ptr @SCLK_FSTATE_BOOTUP_MASK, align 4, !tbaa !5 %5 = xor i32 %4, -1 %6 = tail call i32 @WREG32_P(i32 noundef %2, i32 noundef %3, i32 noundef %5) #2 ret void } declare i32 @WREG32_P(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SCLK_FSTATE_BOOTUP(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_program_power_level_enter_state.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_sumo_dpm.c_sumo_program_power_level_enter_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CG_SCLK_DPM_CTRL_5 = common local_unnamed_addr global i32 0, align 4 @SCLK_FSTATE_BOOTUP_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sumo_program_power_level_enter_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sumo_program_power_level_enter_state(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @CG_SCLK_DPM_CTRL_5, align 4, !tbaa !6 %3 = tail call i32 @SCLK_FSTATE_BOOTUP(i32 noundef 0) #2 %4 = load i32, ptr @SCLK_FSTATE_BOOTUP_MASK, align 4, !tbaa !6 %5 = xor i32 %4, -1 %6 = tail call i32 @WREG32_P(i32 noundef %2, i32 noundef %3, i32 noundef %5) #2 ret void } declare i32 @WREG32_P(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SCLK_FSTATE_BOOTUP(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_radeon_extr_sumo_dpm.c_sumo_program_power_level_enter_state
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/sis/extr_init.c_SiSInitPCIetc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/sis/extr_init.c_SiSInitPCIetc.c" target datalayout = "e-m:e-p270:32:32-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 @SiSInitPCIetc], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @SiSInitPCIetc(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/sis/extr_init.c_SiSInitPCIetc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/sis/extr_init.c_SiSInitPCIetc.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 @SiSInitPCIetc], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @SiSInitPCIetc(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_video_sis_extr_init.c_SiSInitPCIetc
; ModuleID = 'AnghaBench/freebsd/sys/teken/extr_teken.c_teken_get_sequence.c' source_filename = "AnghaBench/freebsd/sys/teken/extr_teken.c_teken_get_sequence.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TS_CONS25 = dso_local local_unnamed_addr global i32 0, align 4 @TS_CONS25KEYS = dso_local local_unnamed_addr global i32 0, align 4 @special_strings_cons25 = dso_local local_unnamed_addr global ptr null, align 8 @TS_CURSORKEYS = dso_local local_unnamed_addr global i32 0, align 4 @special_strings_ckeys = dso_local local_unnamed_addr global ptr null, align 8 @special_strings_normal = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local ptr @teken_get_sequence(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @TS_CONS25, align 4, !tbaa !10 %5 = load i32, ptr @TS_CONS25KEYS, align 4, !tbaa !10 %6 = or i32 %5, %4 %7 = and i32 %6, %3 %8 = icmp eq i32 %7, %6 br i1 %8, label %24, label %9 9: ; preds = %2 %10 = and i32 %4, %3 %11 = icmp ne i32 %10, 0 %12 = icmp eq i32 %1, 0 %13 = and i1 %12, %11 br i1 %13, label %20, label %14 14: ; preds = %9 %15 = load i32, ptr @TS_CURSORKEYS, align 4, !tbaa !10 %16 = and i32 %15, %3 %17 = icmp ne i32 %16, 0 %18 = and i1 %12, %17 %19 = select i1 %18, ptr @special_strings_ckeys, ptr @special_strings_normal br i1 %12, label %20, label %24 20: ; preds = %14, %9 %21 = phi ptr [ @special_strings_cons25, %9 ], [ %19, %14 ] %22 = load ptr, ptr %21, align 8, !tbaa !11 %23 = load ptr, ptr %22, align 8, !tbaa !11 br label %24 24: ; preds = %14, %20, %2 %25 = phi ptr [ null, %2 ], [ %23, %20 ], [ null, %14 ] ret ptr %25 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/teken/extr_teken.c_teken_get_sequence.c' source_filename = "AnghaBench/freebsd/sys/teken/extr_teken.c_teken_get_sequence.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TS_CONS25 = common local_unnamed_addr global i32 0, align 4 @TS_CONS25KEYS = common local_unnamed_addr global i32 0, align 4 @special_strings_cons25 = common local_unnamed_addr global ptr null, align 8 @TS_CURSORKEYS = common local_unnamed_addr global i32 0, align 4 @special_strings_ckeys = common local_unnamed_addr global ptr null, align 8 @special_strings_normal = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define ptr @teken_get_sequence(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @TS_CONS25, align 4, !tbaa !11 %5 = load i32, ptr @TS_CONS25KEYS, align 4, !tbaa !11 %6 = or i32 %5, %4 %7 = and i32 %6, %3 %8 = icmp eq i32 %7, %6 br i1 %8, label %24, label %9 9: ; preds = %2 %10 = and i32 %4, %3 %11 = icmp ne i32 %10, 0 %12 = icmp eq i32 %1, 0 %13 = and i1 %12, %11 br i1 %13, label %20, label %14 14: ; preds = %9 %15 = load i32, ptr @TS_CURSORKEYS, align 4, !tbaa !11 %16 = and i32 %15, %3 %17 = icmp ne i32 %16, 0 %18 = and i1 %12, %17 %19 = select i1 %18, ptr @special_strings_ckeys, ptr @special_strings_normal br i1 %12, label %20, label %24 20: ; preds = %14, %9 %21 = phi ptr [ @special_strings_cons25, %9 ], [ %19, %14 ] %22 = load ptr, ptr %21, align 8, !tbaa !12 %23 = load ptr, ptr %22, align 8, !tbaa !12 br label %24 24: ; preds = %14, %20, %2 %25 = phi ptr [ null, %2 ], [ %23, %20 ], [ null, %14 ] ret ptr %25 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0}
freebsd_sys_teken_extr_teken.c_teken_get_sequence
; ModuleID = 'AnghaBench/linux/security/extr_security.c_security_sb_kern_mount.c' source_filename = "AnghaBench/linux/security/extr_security.c_security_sb_kern_mount.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @sb_kern_mount = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @security_sb_kern_mount(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @sb_kern_mount, align 4, !tbaa !5 %3 = tail call i32 @call_int_hook(i32 noundef %2, i32 noundef 0, ptr noundef %0) #2 ret i32 %3 } declare i32 @call_int_hook(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/security/extr_security.c_security_sb_kern_mount.c' source_filename = "AnghaBench/linux/security/extr_security.c_security_sb_kern_mount.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sb_kern_mount = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @security_sb_kern_mount(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @sb_kern_mount, align 4, !tbaa !6 %3 = tail call i32 @call_int_hook(i32 noundef %2, i32 noundef 0, ptr noundef %0) #2 ret i32 %3 } declare i32 @call_int_hook(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_security_extr_security.c_security_sb_kern_mount
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68-core.c_opshft.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68-core.c_opshft.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, i32 } @INSN_GET_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @INSN_GET_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @INSN_GET_REG0 = dso_local local_unnamed_addr global i32 0, align 4 @size = dso_local local_unnamed_addr global i32 0, align 4 @EA_ADDRESS_REG = dso_local local_unnamed_addr global i64 0, align 8 @count = dso_local local_unnamed_addr global i32 0, align 4 @INSN_GET_REG = dso_local local_unnamed_addr global i32 0, align 4 @reg = dso_local local_unnamed_addr global i64 0, align 8 @reg0 = dso_local local_unnamed_addr global i64 0, align 8 @SR_X = dso_local local_unnamed_addr global i32 0, align 4 @SR_V = dso_local local_unnamed_addr global i32 0, align 4 @SR_C = dso_local local_unnamed_addr global i32 0, align 4 @SR_X_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @BYTE_OFS = dso_local local_unnamed_addr global i32 0, align 4 @WORD_OFS = dso_local local_unnamed_addr global i32 0, align 4 @SIZE_L = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @opshft], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @opshft(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = and i32 %1, 256 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = load i32, ptr @size, align 4, !tbaa !5 %6 = icmp eq i32 %5, 3 br i1 %6, label %7, label %21 7: ; preds = %2 %8 = and i32 %1, 2048 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = tail call i64 @EA_MODE(i32 noundef %1) #3 %12 = load i64, ptr @EA_ADDRESS_REG, align 8, !tbaa !9 %13 = icmp sgt i64 %11, %12 br i1 %13, label %16, label %14 14: ; preds = %10, %7 %15 = tail call i32 @op_ill(ptr noundef %0, i32 noundef %1) #3 br label %353 16: ; preds = %10 store i32 128, ptr @size, align 4, !tbaa !5 %17 = lshr i32 %1, 9 store i32 1, ptr @count, align 4, !tbaa !5 %18 = call i32 @ea_get(ptr noundef %0, i32 noundef %1, i32 noundef 128, i32 noundef 1, ptr noundef nonnull %3) #3 %19 = load i32, ptr %3, align 4, !tbaa !5 %20 = icmp slt i32 %19, 0 br i1 %20, label %353, label %36 21: ; preds = %2 %22 = lshr i32 %1, 3 %23 = and i32 %1, 32 %24 = icmp eq i32 %23, 0 br i1 %24, label %31, label %25 25: ; preds = %21 %26 = load ptr, ptr %0, align 8, !tbaa !11 %27 = load i64, ptr @reg, align 8, !tbaa !9 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !5 %30 = and i32 %29, 63 store i32 %30, ptr @count, align 4, !tbaa !5 br label %31 31: ; preds = %25, %21 %32 = load ptr, ptr %0, align 8, !tbaa !11 %33 = load i64, ptr @reg0, align 8, !tbaa !9 %34 = getelementptr inbounds i32, ptr %32, i64 %33 %35 = load i32, ptr %34, align 4, !tbaa !5 br label %36 36: ; preds = %16, %31 %37 = phi i32 [ %19, %16 ], [ 0, %31 ] %38 = phi i32 [ %18, %16 ], [ %35, %31 ] %39 = phi i32 [ %17, %16 ], [ %22, %31 ] %40 = and i32 %39, 3 %41 = load i32, ptr @count, align 4, !tbaa !5 %42 = shl nsw i32 %41, 1 %43 = add nsw i32 %37, %42 store i32 %43, ptr %3, align 4, !tbaa !5 %44 = call i32 (...) @INSN_CLEAR_CC() #3 %45 = load i32, ptr @count, align 4, !tbaa !5 %46 = icmp sgt i32 %45, 0 br i1 %46, label %47, label %310 47: ; preds = %36 %48 = load i32, ptr @size, align 4, !tbaa !5 %49 = icmp eq i32 %48, 129 %50 = icmp eq i32 %48, 128 %51 = select i1 %50, i32 16, i32 32 %52 = select i1 %49, i32 8, i32 %51 switch i32 %40, label %277 [ i32 0, label %53 i32 1, label %136 i32 2, label %168 ] 53: ; preds = %47 %54 = load i32, ptr @SR_X, align 4, !tbaa !5 %55 = xor i32 %54, -1 %56 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %57 = load i32, ptr %56, align 8, !tbaa !14 %58 = and i32 %57, %55 store i32 %58, ptr %56, align 8, !tbaa !14 %59 = icmp eq i32 %4, 0 br i1 %59, label %121, label %60 60: ; preds = %53 %61 = add nsw i32 %52, -1 %62 = and i32 %45, 3 %63 = icmp ult i32 %45, 4 br i1 %63, label %86, label %64 64: ; preds = %60 %65 = and i32 %45, 2147483644 br label %66 66: ; preds = %66, %64 %67 = phi i32 [ 0, %64 ], [ %83, %66 ] %68 = phi i32 [ %38, %64 ], [ %78, %66 ] %69 = phi i32 [ 0, %64 ], [ %84, %66 ] %70 = shl i32 %68, 1 %71 = xor i32 %70, %68 %72 = shl i32 %68, 2 %73 = xor i32 %72, %70 %74 = or i32 %71, %73 %75 = shl i32 %68, 3 %76 = xor i32 %75, %72 %77 = or i32 %74, %76 %78 = shl i32 %68, 4 %79 = xor i32 %78, %75 %80 = or i32 %77, %79 %81 = lshr i32 %80, %61 %82 = and i32 %81, 1 %83 = or i32 %82, %67 %84 = add i32 %69, 4 %85 = icmp eq i32 %84, %65 br i1 %85, label %86, label %66, !llvm.loop !15 86: ; preds = %66, %60 %87 = phi i32 [ undef, %60 ], [ %75, %66 ] %88 = phi i32 [ undef, %60 ], [ %78, %66 ] %89 = phi i32 [ undef, %60 ], [ %83, %66 ] %90 = phi i32 [ 0, %60 ], [ %83, %66 ] %91 = phi i32 [ %38, %60 ], [ %78, %66 ] %92 = icmp eq i32 %62, 0 br i1 %92, label %104, label %93 93: ; preds = %86, %93 %94 = phi i32 [ %101, %93 ], [ %90, %86 ] %95 = phi i32 [ %97, %93 ], [ %91, %86 ] %96 = phi i32 [ %102, %93 ], [ 0, %86 ] %97 = shl i32 %95, 1 %98 = xor i32 %97, %95 %99 = lshr i32 %98, %61 %100 = and i32 %99, 1 %101 = or i32 %100, %94 %102 = add i32 %96, 1 %103 = icmp eq i32 %102, %62 br i1 %103, label %104, label %93, !llvm.loop !17 104: ; preds = %93, %86 %105 = phi i32 [ %87, %86 ], [ %95, %93 ] %106 = phi i32 [ %88, %86 ], [ %97, %93 ] %107 = phi i32 [ %89, %86 ], [ %101, %93 ] store i32 0, ptr @count, align 4, !tbaa !5 %108 = shl nuw i32 1, %61 %109 = and i32 %105, %108 %110 = icmp eq i32 %109, 0 %111 = icmp eq i32 %107, 0 br i1 %111, label %115, label %112 112: ; preds = %104 %113 = load i32, ptr @SR_V, align 4, !tbaa !5 %114 = or i32 %113, %58 store i32 %114, ptr %56, align 8, !tbaa !14 br label %115 115: ; preds = %112, %104 %116 = phi i32 [ %114, %112 ], [ %58, %104 ] br i1 %110, label %321, label %117 117: ; preds = %115 %118 = load i32, ptr @SR_C, align 4, !tbaa !5 %119 = or i32 %118, %116 %120 = or i32 %119, %54 store i32 %120, ptr %56, align 8, !tbaa !14 br label %321 121: ; preds = %53 %122 = icmp ugt i32 %45, %52 br i1 %122, label %123, label %124 123: ; preds = %121 store i32 32, ptr @count, align 4, !tbaa !5 br label %124 124: ; preds = %123, %121 %125 = phi i32 [ 32, %123 ], [ %45, %121 ] %126 = add nsw i32 %125, -1 %127 = ashr i32 %38, %126 %128 = and i32 %127, 1 %129 = icmp eq i32 %128, 0 br i1 %129, label %134, label %130 130: ; preds = %124 %131 = load i32, ptr @SR_C, align 4, !tbaa !5 %132 = or i32 %54, %131 %133 = or i32 %132, %57 store i32 %133, ptr %56, align 8, !tbaa !14 br label %134 134: ; preds = %130, %124 %135 = ashr i32 %127, 1 br label %321 136: ; preds = %47 %137 = load i32, ptr @SR_X, align 4, !tbaa !5 %138 = xor i32 %137, -1 %139 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %140 = load i32, ptr %139, align 8, !tbaa !14 %141 = and i32 %140, %138 store i32 %141, ptr %139, align 8, !tbaa !14 %142 = icmp ugt i32 %45, %52 br i1 %142, label %321, label %143 143: ; preds = %136 %144 = icmp eq i32 %4, 0 %145 = add nsw i32 %45, -1 br i1 %144, label %158, label %146 146: ; preds = %143 %147 = shl i32 %38, %145 %148 = add nsw i32 %52, -1 %149 = shl nuw i32 1, %148 %150 = and i32 %149, %147 %151 = icmp eq i32 %150, 0 br i1 %151, label %156, label %152 152: ; preds = %146 %153 = load i32, ptr @SR_C, align 4, !tbaa !5 %154 = or i32 %137, %153 %155 = or i32 %154, %140 store i32 %155, ptr %139, align 8, !tbaa !14 br label %156 156: ; preds = %152, %146 %157 = shl i32 %147, 1 br label %321 158: ; preds = %143 %159 = ashr i32 %38, %145 %160 = and i32 %159, 1 %161 = icmp eq i32 %160, 0 br i1 %161, label %166, label %162 162: ; preds = %158 %163 = load i32, ptr @SR_C, align 4, !tbaa !5 %164 = or i32 %137, %163 %165 = or i32 %164, %140 store i32 %165, ptr %139, align 8, !tbaa !14 br label %166 166: ; preds = %162, %158 %167 = ashr i32 %159, 1 br label %321 168: ; preds = %47 %169 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %170 = load i32, ptr %169, align 8, !tbaa !14 %171 = load i32, ptr @SR_X_SHIFT, align 4, !tbaa !5 %172 = lshr i32 %170, %171 %173 = and i32 %172, 1 %174 = load i32, ptr @SR_X, align 4, !tbaa !5 %175 = xor i32 %174, -1 %176 = and i32 %170, %175 store i32 %176, ptr %169, align 8, !tbaa !14 %177 = icmp eq i32 %4, 0 %178 = add nsw i32 %52, -1 br i1 %177, label %201, label %179 179: ; preds = %168 %180 = and i32 %45, 3 %181 = icmp eq i32 %180, 0 br i1 %181, label %194, label %182 182: ; preds = %179, %182 %183 = phi i32 [ %188, %182 ], [ %173, %179 ] %184 = phi i32 [ %190, %182 ], [ %38, %179 ] %185 = phi i32 [ %191, %182 ], [ %45, %179 ] %186 = phi i32 [ %192, %182 ], [ 0, %179 ] %187 = lshr i32 %184, %178 %188 = and i32 %187, 1 %189 = shl i32 %184, 1 %190 = or disjoint i32 %189, %183 %191 = add nsw i32 %185, -1 %192 = add i32 %186, 1 %193 = icmp eq i32 %192, %180 br i1 %193, label %194, label %182, !llvm.loop !19 194: ; preds = %182, %179 %195 = phi i32 [ %173, %179 ], [ %188, %182 ] %196 = phi i32 [ %38, %179 ], [ %190, %182 ] %197 = phi i32 [ %45, %179 ], [ %191, %182 ] %198 = phi i32 [ undef, %179 ], [ %188, %182 ] %199 = phi i32 [ undef, %179 ], [ %190, %182 ] %200 = icmp ult i32 %45, 4 br i1 %200, label %269, label %223 201: ; preds = %168 %202 = and i32 %45, 3 %203 = icmp eq i32 %202, 0 br i1 %203, label %216, label %204 204: ; preds = %201, %204 %205 = phi i32 [ %209, %204 ], [ %173, %201 ] %206 = phi i32 [ %212, %204 ], [ %38, %201 ] %207 = phi i32 [ %213, %204 ], [ %45, %201 ] %208 = phi i32 [ %214, %204 ], [ 0, %201 ] %209 = and i32 %206, 1 %210 = ashr i32 %206, 1 %211 = shl nuw i32 %205, %178 %212 = or i32 %211, %210 %213 = add nsw i32 %207, -1 %214 = add i32 %208, 1 %215 = icmp eq i32 %214, %202 br i1 %215, label %216, label %204, !llvm.loop !20 216: ; preds = %204, %201 %217 = phi i32 [ %173, %201 ], [ %209, %204 ] %218 = phi i32 [ %38, %201 ], [ %212, %204 ] %219 = phi i32 [ %45, %201 ], [ %213, %204 ] %220 = phi i32 [ undef, %201 ], [ %209, %204 ] %221 = phi i32 [ undef, %201 ], [ %212, %204 ] %222 = icmp ult i32 %45, 4 br i1 %222, label %269, label %246 223: ; preds = %194, %223 %224 = phi i32 [ %240, %223 ], [ %195, %194 ] %225 = phi i32 [ %242, %223 ], [ %196, %194 ] %226 = phi i32 [ %243, %223 ], [ %197, %194 ] %227 = lshr i32 %225, %178 %228 = and i32 %227, 1 %229 = shl i32 %225, 1 %230 = or disjoint i32 %229, %224 %231 = lshr i32 %230, %178 %232 = and i32 %231, 1 %233 = shl i32 %230, 1 %234 = or disjoint i32 %233, %228 %235 = lshr i32 %234, %178 %236 = and i32 %235, 1 %237 = shl i32 %234, 1 %238 = or disjoint i32 %237, %232 %239 = lshr i32 %238, %178 %240 = and i32 %239, 1 %241 = shl i32 %238, 1 %242 = or disjoint i32 %241, %236 %243 = add nsw i32 %226, -4 %244 = add i32 %226, -5 %245 = icmp ult i32 %244, -2 br i1 %245, label %223, label %269, !llvm.loop !21 246: ; preds = %216, %246 %247 = phi i32 [ %262, %246 ], [ %217, %216 ] %248 = phi i32 [ %265, %246 ], [ %218, %216 ] %249 = phi i32 [ %266, %246 ], [ %219, %216 ] %250 = and i32 %248, 1 %251 = ashr i32 %248, 1 %252 = shl nuw i32 %247, %178 %253 = or i32 %252, %251 %254 = and i32 %251, 1 %255 = ashr i32 %253, 1 %256 = shl nuw i32 %250, %178 %257 = or i32 %256, %255 %258 = and i32 %255, 1 %259 = ashr i32 %257, 1 %260 = shl nuw i32 %254, %178 %261 = or i32 %260, %259 %262 = and i32 %259, 1 %263 = ashr i32 %261, 1 %264 = shl nuw i32 %258, %178 %265 = or i32 %264, %263 %266 = add nsw i32 %249, -4 %267 = add i32 %249, -5 %268 = icmp ult i32 %267, -2 br i1 %268, label %246, label %269, !llvm.loop !22 269: ; preds = %194, %223, %216, %246 %270 = phi i32 [ %221, %216 ], [ %265, %246 ], [ %199, %194 ], [ %242, %223 ] %271 = phi i32 [ %220, %216 ], [ %262, %246 ], [ %198, %194 ], [ %240, %223 ] store i32 0, ptr @count, align 4, !tbaa !5 %272 = icmp eq i32 %271, 0 br i1 %272, label %321, label %273 273: ; preds = %269 %274 = load i32, ptr @SR_C, align 4, !tbaa !5 %275 = or i32 %170, %274 %276 = or i32 %275, %174 store i32 %276, ptr %169, align 8, !tbaa !14 br label %321 277: ; preds = %47 %278 = add nuw i32 %52, 2147483647 %279 = and i32 %278, %45 store i32 %279, ptr @count, align 4, !tbaa !5 %280 = icmp eq i32 %4, 0 %281 = sub nsw i32 %52, %279 br i1 %280, label %297, label %282 282: ; preds = %277 %283 = shl i32 %38, %279 %284 = ashr i32 %38, %281 %285 = or i32 %284, %283 %286 = add nsw i32 %52, -1 %287 = shl nuw i32 1, %286 %288 = and i32 %285, %287 %289 = icmp eq i32 %288, 0 br i1 %289, label %295, label %290 290: ; preds = %282 %291 = load i32, ptr @SR_C, align 4, !tbaa !5 %292 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %293 = load i32, ptr %292, align 8, !tbaa !14 %294 = or i32 %293, %291 store i32 %294, ptr %292, align 8, !tbaa !14 br label %295 295: ; preds = %290, %282 %296 = shl i32 %285, 1 br label %321 297: ; preds = %277 %298 = ashr i32 %38, %279 %299 = shl i32 %38, %281 %300 = or i32 %299, %298 %301 = and i32 %300, 1 %302 = icmp eq i32 %301, 0 br i1 %302, label %308, label %303 303: ; preds = %297 %304 = load i32, ptr @SR_C, align 4, !tbaa !5 %305 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %306 = load i32, ptr %305, align 8, !tbaa !14 %307 = or i32 %306, %304 store i32 %307, ptr %305, align 8, !tbaa !14 br label %308 308: ; preds = %303, %297 %309 = ashr i32 %300, 1 br label %321 310: ; preds = %36 %311 = icmp eq i32 %40, 2 br i1 %311, label %312, label %321 312: ; preds = %310 %313 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %314 = load i32, ptr %313, align 8, !tbaa !14 %315 = load i32, ptr @SR_X, align 4, !tbaa !5 %316 = and i32 %315, %314 %317 = icmp eq i32 %316, 0 br i1 %317, label %321, label %318 318: ; preds = %312 %319 = load i32, ptr @SR_C, align 4, !tbaa !5 %320 = or i32 %319, %314 store i32 %320, ptr %313, align 8, !tbaa !14 br label %321 321: ; preds = %134, %156, %166, %308, %295, %117, %115, %136, %273, %269, %310, %312, %318 %322 = phi i32 [ %38, %318 ], [ %38, %312 ], [ %38, %310 ], [ %296, %295 ], [ %309, %308 ], [ %157, %156 ], [ %167, %166 ], [ %135, %134 ], [ %106, %117 ], [ %106, %115 ], [ 0, %136 ], [ %270, %273 ], [ %270, %269 ] %323 = call i32 @INSN_SETNZ(i32 noundef %322) #3 %324 = load i32, ptr @size, align 4, !tbaa !5 br i1 %6, label %325, label %327 325: ; preds = %321 %326 = call i32 @ea_set(ptr noundef %0, i32 noundef %1, i32 noundef %324, i32 noundef %322) #3 br label %346 327: ; preds = %321 switch i32 %324, label %342 [ i32 129, label %328 i32 128, label %335 ] 328: ; preds = %327 %329 = load i32, ptr @BYTE_OFS, align 4, !tbaa !5 %330 = load ptr, ptr %0, align 8, !tbaa !11 %331 = load i64, ptr @reg0, align 8, !tbaa !9 %332 = getelementptr inbounds i32, ptr %330, i64 %331 %333 = sext i32 %329 to i64 %334 = getelementptr inbounds i32, ptr %332, i64 %333 store i32 %322, ptr %334, align 4, !tbaa !5 br label %346 335: ; preds = %327 %336 = load i32, ptr @WORD_OFS, align 4, !tbaa !5 %337 = load ptr, ptr %0, align 8, !tbaa !11 %338 = load i64, ptr @reg0, align 8, !tbaa !9 %339 = getelementptr inbounds i32, ptr %337, i64 %338 %340 = sext i32 %336 to i64 %341 = getelementptr inbounds i32, ptr %339, i64 %340 store i32 %322, ptr %341, align 4, !tbaa !5 br label %346 342: ; preds = %327 %343 = load ptr, ptr %0, align 8, !tbaa !11 %344 = load i64, ptr @reg0, align 8, !tbaa !9 %345 = getelementptr inbounds i32, ptr %343, i64 %344 store i32 %322, ptr %345, align 4, !tbaa !5 br label %346 346: ; preds = %328, %335, %342, %325 %347 = load i32, ptr @size, align 4, !tbaa !5 %348 = load i32, ptr @SIZE_L, align 4, !tbaa !5 %349 = icmp eq i32 %347, %348 %350 = select i1 %349, i32 8, i32 6 %351 = load i32, ptr %3, align 4, !tbaa !5 %352 = add nsw i32 %350, %351 br label %353 353: ; preds = %16, %346, %14 %354 = phi i32 [ %15, %14 ], [ %352, %346 ], [ 0, %16 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %354 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @EA_MODE(i32 noundef) local_unnamed_addr #2 declare i32 @op_ill(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ea_get(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @INSN_CLEAR_CC(...) 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 @INSN_SETNZ(i32 noundef) local_unnamed_addr #2 declare i32 @ea_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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, !13, i64 0} !12 = !{!"TYPE_6__", !13, i64 0, !6, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !6, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.unroll.disable"} !19 = distinct !{!19, !18} !20 = distinct !{!20, !18} !21 = distinct !{!21, !16} !22 = distinct !{!22, !16}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68-core.c_opshft.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/q68/extr_q68-core.c_opshft.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INSN_GET_SIZE = common local_unnamed_addr global i32 0, align 4 @INSN_GET_COUNT = common local_unnamed_addr global i32 0, align 4 @INSN_GET_REG0 = common local_unnamed_addr global i32 0, align 4 @size = common local_unnamed_addr global i32 0, align 4 @EA_ADDRESS_REG = common local_unnamed_addr global i64 0, align 8 @count = common local_unnamed_addr global i32 0, align 4 @INSN_GET_REG = common local_unnamed_addr global i32 0, align 4 @reg = common local_unnamed_addr global i64 0, align 8 @reg0 = common local_unnamed_addr global i64 0, align 8 @SR_X = common local_unnamed_addr global i32 0, align 4 @SR_V = common local_unnamed_addr global i32 0, align 4 @SR_C = common local_unnamed_addr global i32 0, align 4 @SR_X_SHIFT = common local_unnamed_addr global i32 0, align 4 @BYTE_OFS = common local_unnamed_addr global i32 0, align 4 @WORD_OFS = common local_unnamed_addr global i32 0, align 4 @SIZE_L = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @opshft], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @opshft(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = and i32 %1, 256 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = load i32, ptr @size, align 4, !tbaa !6 %6 = icmp eq i32 %5, 3 br i1 %6, label %7, label %21 7: ; preds = %2 %8 = and i32 %1, 2048 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = tail call i64 @EA_MODE(i32 noundef %1) #3 %12 = load i64, ptr @EA_ADDRESS_REG, align 8, !tbaa !10 %13 = icmp sgt i64 %11, %12 br i1 %13, label %16, label %14 14: ; preds = %10, %7 %15 = tail call i32 @op_ill(ptr noundef %0, i32 noundef %1) #3 br label %250 16: ; preds = %10 store i32 128, ptr @size, align 4, !tbaa !6 %17 = lshr i32 %1, 9 store i32 1, ptr @count, align 4, !tbaa !6 %18 = call i32 @ea_get(ptr noundef %0, i32 noundef %1, i32 noundef 128, i32 noundef 1, ptr noundef nonnull %3) #3 %19 = load i32, ptr %3, align 4, !tbaa !6 %20 = icmp slt i32 %19, 0 br i1 %20, label %250, label %36 21: ; preds = %2 %22 = lshr i32 %1, 3 %23 = and i32 %1, 32 %24 = icmp eq i32 %23, 0 br i1 %24, label %31, label %25 25: ; preds = %21 %26 = load ptr, ptr %0, align 8, !tbaa !12 %27 = load i64, ptr @reg, align 8, !tbaa !10 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !6 %30 = and i32 %29, 63 store i32 %30, ptr @count, align 4, !tbaa !6 br label %31 31: ; preds = %25, %21 %32 = load ptr, ptr %0, align 8, !tbaa !12 %33 = load i64, ptr @reg0, align 8, !tbaa !10 %34 = getelementptr inbounds i32, ptr %32, i64 %33 %35 = load i32, ptr %34, align 4, !tbaa !6 br label %36 36: ; preds = %16, %31 %37 = phi i32 [ %19, %16 ], [ 0, %31 ] %38 = phi i32 [ %18, %16 ], [ %35, %31 ] %39 = phi i32 [ %17, %16 ], [ %22, %31 ] %40 = and i32 %39, 3 %41 = load i32, ptr @count, align 4, !tbaa !6 %42 = shl nsw i32 %41, 1 %43 = add nsw i32 %37, %42 store i32 %43, ptr %3, align 4, !tbaa !6 %44 = call i32 @INSN_CLEAR_CC() #3 %45 = load i32, ptr @count, align 4, !tbaa !6 %46 = icmp sgt i32 %45, 0 br i1 %46, label %47, label %207 47: ; preds = %36 %48 = load i32, ptr @size, align 4, !tbaa !6 %49 = icmp eq i32 %48, 129 %50 = icmp eq i32 %48, 128 %51 = select i1 %50, i32 16, i32 32 %52 = select i1 %49, i32 8, i32 %51 switch i32 %40, label %173 [ i32 0, label %53 i32 1, label %102 i32 2, label %134 i32 3, label %174 ] 53: ; preds = %47 %54 = load i32, ptr @SR_X, align 4, !tbaa !6 %55 = xor i32 %54, -1 %56 = getelementptr inbounds i8, ptr %0, i64 8 %57 = load i32, ptr %56, align 8, !tbaa !15 %58 = and i32 %57, %55 store i32 %58, ptr %56, align 8, !tbaa !15 %59 = icmp eq i32 %4, 0 br i1 %59, label %87, label %60 60: ; preds = %53 %61 = add nsw i32 %52, -1 br label %62 62: ; preds = %60, %62 %63 = phi i32 [ 0, %60 ], [ %70, %62 ] %64 = phi i32 [ %38, %60 ], [ %66, %62 ] %65 = phi i32 [ %45, %60 ], [ %71, %62 ] %66 = shl i32 %64, 1 %67 = xor i32 %66, %64 %68 = lshr i32 %67, %61 %69 = and i32 %68, 1 %70 = or i32 %69, %63 %71 = add nsw i32 %65, -1 %72 = icmp ugt i32 %65, 1 br i1 %72, label %62, label %73, !llvm.loop !16 73: ; preds = %62 store i32 0, ptr @count, align 4, !tbaa !6 %74 = shl nuw i32 1, %61 %75 = and i32 %64, %74 %76 = icmp eq i32 %75, 0 %77 = icmp eq i32 %70, 0 br i1 %77, label %81, label %78 78: ; preds = %73 %79 = load i32, ptr @SR_V, align 4, !tbaa !6 %80 = or i32 %79, %58 store i32 %80, ptr %56, align 8, !tbaa !15 br label %81 81: ; preds = %78, %73 %82 = phi i32 [ %80, %78 ], [ %58, %73 ] br i1 %76, label %218, label %83 83: ; preds = %81 %84 = load i32, ptr @SR_C, align 4, !tbaa !6 %85 = or i32 %84, %82 %86 = or i32 %85, %54 store i32 %86, ptr %56, align 8, !tbaa !15 br label %218 87: ; preds = %53 %88 = icmp ugt i32 %45, %52 br i1 %88, label %89, label %90 89: ; preds = %87 store i32 32, ptr @count, align 4, !tbaa !6 br label %90 90: ; preds = %89, %87 %91 = phi i32 [ 32, %89 ], [ %45, %87 ] %92 = add nsw i32 %91, -1 %93 = ashr i32 %38, %92 %94 = and i32 %93, 1 %95 = icmp eq i32 %94, 0 br i1 %95, label %100, label %96 96: ; preds = %90 %97 = load i32, ptr @SR_C, align 4, !tbaa !6 %98 = or i32 %54, %97 %99 = or i32 %98, %57 store i32 %99, ptr %56, align 8, !tbaa !15 br label %100 100: ; preds = %96, %90 %101 = ashr i32 %93, 1 br label %218 102: ; preds = %47 %103 = load i32, ptr @SR_X, align 4, !tbaa !6 %104 = xor i32 %103, -1 %105 = getelementptr inbounds i8, ptr %0, i64 8 %106 = load i32, ptr %105, align 8, !tbaa !15 %107 = and i32 %106, %104 store i32 %107, ptr %105, align 8, !tbaa !15 %108 = icmp ugt i32 %45, %52 br i1 %108, label %218, label %109 109: ; preds = %102 %110 = icmp eq i32 %4, 0 %111 = add nsw i32 %45, -1 br i1 %110, label %124, label %112 112: ; preds = %109 %113 = shl i32 %38, %111 %114 = add nsw i32 %52, -1 %115 = shl nuw i32 1, %114 %116 = and i32 %115, %113 %117 = icmp eq i32 %116, 0 br i1 %117, label %122, label %118 118: ; preds = %112 %119 = load i32, ptr @SR_C, align 4, !tbaa !6 %120 = or i32 %103, %119 %121 = or i32 %120, %106 store i32 %121, ptr %105, align 8, !tbaa !15 br label %122 122: ; preds = %118, %112 %123 = shl i32 %113, 1 br label %218 124: ; preds = %109 %125 = ashr i32 %38, %111 %126 = and i32 %125, 1 %127 = icmp eq i32 %126, 0 br i1 %127, label %132, label %128 128: ; preds = %124 %129 = load i32, ptr @SR_C, align 4, !tbaa !6 %130 = or i32 %103, %129 %131 = or i32 %130, %106 store i32 %131, ptr %105, align 8, !tbaa !15 br label %132 132: ; preds = %128, %124 %133 = ashr i32 %125, 1 br label %218 134: ; preds = %47 %135 = getelementptr inbounds i8, ptr %0, i64 8 %136 = load i32, ptr %135, align 8, !tbaa !15 %137 = load i32, ptr @SR_X_SHIFT, align 4, !tbaa !6 %138 = lshr i32 %136, %137 %139 = and i32 %138, 1 %140 = load i32, ptr @SR_X, align 4, !tbaa !6 %141 = xor i32 %140, -1 %142 = and i32 %136, %141 store i32 %142, ptr %135, align 8, !tbaa !15 %143 = icmp eq i32 %4, 0 %144 = add nsw i32 %52, -1 br i1 %143, label %155, label %145 145: ; preds = %134, %145 %146 = phi i32 [ %150, %145 ], [ %139, %134 ] %147 = phi i32 [ %152, %145 ], [ %38, %134 ] %148 = phi i32 [ %153, %145 ], [ %45, %134 ] %149 = lshr i32 %147, %144 %150 = and i32 %149, 1 %151 = shl i32 %147, 1 %152 = or disjoint i32 %151, %146 %153 = add nsw i32 %148, -1 %154 = icmp ugt i32 %148, 1 br i1 %154, label %145, label %165, !llvm.loop !18 155: ; preds = %134, %155 %156 = phi i32 [ %159, %155 ], [ %139, %134 ] %157 = phi i32 [ %162, %155 ], [ %38, %134 ] %158 = phi i32 [ %163, %155 ], [ %45, %134 ] %159 = and i32 %157, 1 %160 = ashr i32 %157, 1 %161 = shl nuw i32 %156, %144 %162 = or i32 %161, %160 %163 = add nsw i32 %158, -1 %164 = icmp ugt i32 %158, 1 br i1 %164, label %155, label %165, !llvm.loop !19 165: ; preds = %145, %155 %166 = phi i32 [ %162, %155 ], [ %152, %145 ] %167 = phi i32 [ %159, %155 ], [ %150, %145 ] store i32 0, ptr @count, align 4, !tbaa !6 %168 = icmp eq i32 %167, 0 br i1 %168, label %218, label %169 169: ; preds = %165 %170 = load i32, ptr @SR_C, align 4, !tbaa !6 %171 = or i32 %136, %170 %172 = or i32 %171, %140 store i32 %172, ptr %135, align 8, !tbaa !15 br label %218 173: ; preds = %47 unreachable 174: ; preds = %47 %175 = add nuw i32 %52, 2147483647 %176 = and i32 %175, %45 store i32 %176, ptr @count, align 4, !tbaa !6 %177 = icmp eq i32 %4, 0 %178 = sub nsw i32 %52, %176 br i1 %177, label %194, label %179 179: ; preds = %174 %180 = shl i32 %38, %176 %181 = ashr i32 %38, %178 %182 = or i32 %181, %180 %183 = add nsw i32 %52, -1 %184 = shl nuw i32 1, %183 %185 = and i32 %182, %184 %186 = icmp eq i32 %185, 0 br i1 %186, label %192, label %187 187: ; preds = %179 %188 = load i32, ptr @SR_C, align 4, !tbaa !6 %189 = getelementptr inbounds i8, ptr %0, i64 8 %190 = load i32, ptr %189, align 8, !tbaa !15 %191 = or i32 %190, %188 store i32 %191, ptr %189, align 8, !tbaa !15 br label %192 192: ; preds = %187, %179 %193 = shl i32 %182, 1 br label %218 194: ; preds = %174 %195 = ashr i32 %38, %176 %196 = shl i32 %38, %178 %197 = or i32 %196, %195 %198 = and i32 %197, 1 %199 = icmp eq i32 %198, 0 br i1 %199, label %205, label %200 200: ; preds = %194 %201 = load i32, ptr @SR_C, align 4, !tbaa !6 %202 = getelementptr inbounds i8, ptr %0, i64 8 %203 = load i32, ptr %202, align 8, !tbaa !15 %204 = or i32 %203, %201 store i32 %204, ptr %202, align 8, !tbaa !15 br label %205 205: ; preds = %200, %194 %206 = ashr i32 %197, 1 br label %218 207: ; preds = %36 %208 = icmp eq i32 %40, 2 br i1 %208, label %209, label %218 209: ; preds = %207 %210 = getelementptr inbounds i8, ptr %0, i64 8 %211 = load i32, ptr %210, align 8, !tbaa !15 %212 = load i32, ptr @SR_X, align 4, !tbaa !6 %213 = and i32 %212, %211 %214 = icmp eq i32 %213, 0 br i1 %214, label %218, label %215 215: ; preds = %209 %216 = load i32, ptr @SR_C, align 4, !tbaa !6 %217 = or i32 %216, %211 store i32 %217, ptr %210, align 8, !tbaa !15 br label %218 218: ; preds = %100, %122, %132, %205, %192, %83, %81, %102, %169, %165, %207, %209, %215 %219 = phi i32 [ %38, %215 ], [ %38, %209 ], [ %38, %207 ], [ %193, %192 ], [ %206, %205 ], [ %123, %122 ], [ %133, %132 ], [ %101, %100 ], [ %66, %83 ], [ %66, %81 ], [ 0, %102 ], [ %166, %169 ], [ %166, %165 ] %220 = call i32 @INSN_SETNZ(i32 noundef %219) #3 %221 = load i32, ptr @size, align 4, !tbaa !6 br i1 %6, label %222, label %224 222: ; preds = %218 %223 = call i32 @ea_set(ptr noundef %0, i32 noundef %1, i32 noundef %221, i32 noundef %219) #3 br label %243 224: ; preds = %218 switch i32 %221, label %239 [ i32 129, label %225 i32 128, label %232 ] 225: ; preds = %224 %226 = load i32, ptr @BYTE_OFS, align 4, !tbaa !6 %227 = load ptr, ptr %0, align 8, !tbaa !12 %228 = load i64, ptr @reg0, align 8, !tbaa !10 %229 = getelementptr inbounds i32, ptr %227, i64 %228 %230 = sext i32 %226 to i64 %231 = getelementptr inbounds i32, ptr %229, i64 %230 store i32 %219, ptr %231, align 4, !tbaa !6 br label %243 232: ; preds = %224 %233 = load i32, ptr @WORD_OFS, align 4, !tbaa !6 %234 = load ptr, ptr %0, align 8, !tbaa !12 %235 = load i64, ptr @reg0, align 8, !tbaa !10 %236 = getelementptr inbounds i32, ptr %234, i64 %235 %237 = sext i32 %233 to i64 %238 = getelementptr inbounds i32, ptr %236, i64 %237 store i32 %219, ptr %238, align 4, !tbaa !6 br label %243 239: ; preds = %224 %240 = load ptr, ptr %0, align 8, !tbaa !12 %241 = load i64, ptr @reg0, align 8, !tbaa !10 %242 = getelementptr inbounds i32, ptr %240, i64 %241 store i32 %219, ptr %242, align 4, !tbaa !6 br label %243 243: ; preds = %225, %232, %239, %222 %244 = load i32, ptr @size, align 4, !tbaa !6 %245 = load i32, ptr @SIZE_L, align 4, !tbaa !6 %246 = icmp eq i32 %244, %245 %247 = select i1 %246, i32 8, i32 6 %248 = load i32, ptr %3, align 4, !tbaa !6 %249 = add nsw i32 %247, %248 br label %250 250: ; preds = %16, %243, %14 %251 = phi i32 [ %15, %14 ], [ %249, %243 ], [ 0, %16 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %251 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @EA_MODE(i32 noundef) local_unnamed_addr #2 declare i32 @op_ill(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ea_get(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @INSN_CLEAR_CC(...) 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 @INSN_SETNZ(i32 noundef) local_unnamed_addr #2 declare i32 @ea_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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, !14, i64 0} !13 = !{!"TYPE_6__", !14, i64 0, !7, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !7, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17} !19 = distinct !{!19, !17}
Provenance_Cores_Yabause_yabause_src_q68_extr_q68-core.c_opshft
; ModuleID = 'AnghaBench/linux/fs/ext4/extr_balloc.c_ext4_bg_num_gdb.c' source_filename = "AnghaBench/linux/fs/ext4/extr_balloc.c_ext4_bg_num_gdb.c" target datalayout = "e-m:e-p270:32:32-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 @ext4_bg_num_gdb(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @EXT4_SB(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = tail call i64 @le32_to_cpu(i32 noundef %5) #2 %7 = tail call i64 @EXT4_DESC_PER_BLOCK(ptr noundef %0) #2 %8 = tail call i32 @ext4_has_feature_meta_bg(ptr noundef %0) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = udiv i64 %1, %7 %12 = icmp ult i64 %11, %6 br i1 %12, label %13, label %15 13: ; preds = %10, %2 %14 = tail call i64 @ext4_bg_num_gdb_nometa(ptr noundef %0, i64 noundef %1) #2 br label %17 15: ; preds = %10 %16 = tail call i64 @ext4_bg_num_gdb_meta(ptr noundef %0, i64 noundef %1) #2 br label %17 17: ; preds = %15, %13 %18 = phi i64 [ %14, %13 ], [ %16, %15 ] ret i64 %18 } declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare ptr @EXT4_SB(ptr noundef) local_unnamed_addr #1 declare i64 @EXT4_DESC_PER_BLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ext4_has_feature_meta_bg(ptr noundef) local_unnamed_addr #1 declare i64 @ext4_bg_num_gdb_nometa(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @ext4_bg_num_gdb_meta(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, !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/linux/fs/ext4/extr_balloc.c_ext4_bg_num_gdb.c' source_filename = "AnghaBench/linux/fs/ext4/extr_balloc.c_ext4_bg_num_gdb.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 i64 @ext4_bg_num_gdb(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @EXT4_SB(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = tail call i64 @le32_to_cpu(i32 noundef %5) #2 %7 = tail call i64 @EXT4_DESC_PER_BLOCK(ptr noundef %0) #2 %8 = tail call i32 @ext4_has_feature_meta_bg(ptr noundef %0) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = udiv i64 %1, %7 %12 = icmp ult i64 %11, %6 br i1 %12, label %13, label %15 13: ; preds = %10, %2 %14 = tail call i64 @ext4_bg_num_gdb_nometa(ptr noundef %0, i64 noundef %1) #2 br label %17 15: ; preds = %10 %16 = tail call i64 @ext4_bg_num_gdb_meta(ptr noundef %0, i64 noundef %1) #2 br label %17 17: ; preds = %15, %13 %18 = phi i64 [ %14, %13 ], [ %16, %15 ] ret i64 %18 } declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare ptr @EXT4_SB(ptr noundef) local_unnamed_addr #1 declare i64 @EXT4_DESC_PER_BLOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ext4_has_feature_meta_bg(ptr noundef) local_unnamed_addr #1 declare i64 @ext4_bg_num_gdb_nometa(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @ext4_bg_num_gdb_meta(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, !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}
linux_fs_ext4_extr_balloc.c_ext4_bg_num_gdb
; ModuleID = 'AnghaBench/freebsd/contrib/byacc/test/yacc/extr_quote_calc4.tab.c_main.c' source_filename = "AnghaBench/freebsd/contrib/byacc/test/yacc/extr_quote_calc4.tab.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" @stdin = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main() local_unnamed_addr #0 { %1 = load i32, ptr @stdin, align 4, !tbaa !5 %2 = tail call i32 @feof(i32 noundef %1) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %9 4: ; preds = %0, %4 %5 = tail call i32 (...) @yyparse() #2 %6 = load i32, ptr @stdin, align 4, !tbaa !5 %7 = tail call i32 @feof(i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %4, label %9, !llvm.loop !9 9: ; preds = %4, %0 ret i32 0 } declare i32 @feof(i32 noundef) local_unnamed_addr #1 declare i32 @yyparse(...) 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/freebsd/contrib/byacc/test/yacc/extr_quote_calc4.tab.c_main.c' source_filename = "AnghaBench/freebsd/contrib/byacc/test/yacc/extr_quote_calc4.tab.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stdin = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main() local_unnamed_addr #0 { %1 = load i32, ptr @stdin, align 4, !tbaa !6 %2 = tail call i32 @feof(i32 noundef %1) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %9 4: ; preds = %0, %4 %5 = tail call i32 @yyparse() #2 %6 = load i32, ptr @stdin, align 4, !tbaa !6 %7 = tail call i32 @feof(i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %4, label %9, !llvm.loop !10 9: ; preds = %4, %0 ret i32 0 } declare i32 @feof(i32 noundef) local_unnamed_addr #1 declare i32 @yyparse(...) 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"}
freebsd_contrib_byacc_test_yacc_extr_quote_calc4.tab.c_main
; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_pmap.c_pmap_large_map.c' source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_pmap.c_pmap_large_map.c" target datalayout = "e-m:e-p270:32:32-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 @dmaplimit = dso_local local_unnamed_addr global i64 0, align 8 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @amd_feature = dso_local local_unnamed_addr global i32 0, align 4 @AMDID_PAGE1GB = dso_local local_unnamed_addr global i32 0, align 4 @NBPDP = dso_local local_unnamed_addr global i64 0, align 8 @PDPMASK = dso_local local_unnamed_addr global i64 0, align 8 @NBPDR = dso_local local_unnamed_addr global i64 0, align 8 @PDRMASK = dso_local local_unnamed_addr global i64 0, align 8 @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @kernel_pmap = dso_local local_unnamed_addr global i32 0, align 4 @pg_g = dso_local local_unnamed_addr global i64 0, align 8 @X86_PG_PS = dso_local local_unnamed_addr global i64 0, align 8 @X86_PG_RW = dso_local local_unnamed_addr global i64 0, align 8 @X86_PG_V = dso_local local_unnamed_addr global i64 0, align 8 @X86_PG_A = dso_local local_unnamed_addr global i64 0, align 8 @pg_nx = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @pmap_large_map(i64 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = icmp eq i64 %1, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = add nsw i64 %1, %0 %9 = icmp slt i64 %1, 0 br i1 %9, label %10, label %12 10: ; preds = %7, %4 %11 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %178 12: ; preds = %7 %13 = load i64, ptr @dmaplimit, align 8, !tbaa !9 %14 = icmp sgt i64 %8, %13 br i1 %14, label %19, label %15 15: ; preds = %12 %16 = tail call i64 @PHYS_TO_DMAP(i64 noundef %0) #3 %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %2, align 8, !tbaa !11 %18 = tail call i32 @pmap_change_attr(i64 noundef %16, i64 noundef %1, i32 noundef %3) #3 br label %178 19: ; preds = %12 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %21 = load i32, ptr @amd_feature, align 4, !tbaa !5 %22 = load i32, ptr @AMDID_PAGE1GB, align 4, !tbaa !5 %23 = and i32 %22, %21 %24 = icmp eq i32 %23, 0 br i1 %24, label %37, label %25 25: ; preds = %19 %26 = load i64, ptr @NBPDP, align 8, !tbaa !9 %27 = tail call i64 @rounddown2(i64 noundef %8, i64 noundef %26) #3 %28 = load i64, ptr @NBPDP, align 8, !tbaa !9 %29 = tail call i64 @roundup2(i64 noundef %0, i64 noundef %28) #3 %30 = load i64, ptr @NBPDP, align 8, !tbaa !9 %31 = add nsw i64 %30, %29 %32 = icmp slt i64 %27, %31 br i1 %32, label %37, label %33 33: ; preds = %25 %34 = load i64, ptr @PDPMASK, align 8, !tbaa !9 %35 = and i64 %34, %0 %36 = call i32 @pmap_large_map_getva(i64 noundef %1, i64 noundef %30, i64 noundef %35, ptr noundef nonnull %5) #3 br label %37 37: ; preds = %33, %25, %19 %38 = phi i32 [ %36, %33 ], [ %20, %25 ], [ %20, %19 ] %39 = icmp eq i32 %38, 0 br i1 %39, label %57, label %40 40: ; preds = %37 %41 = load i64, ptr @NBPDR, align 8, !tbaa !9 %42 = call i64 @rounddown2(i64 noundef %8, i64 noundef %41) #3 %43 = load i64, ptr @NBPDR, align 8, !tbaa !9 %44 = call i64 @roundup2(i64 noundef %0, i64 noundef %43) #3 %45 = load i64, ptr @NBPDR, align 8, !tbaa !9 %46 = add nsw i64 %45, %44 %47 = icmp slt i64 %42, %46 br i1 %47, label %53, label %48 48: ; preds = %40 %49 = load i64, ptr @PDRMASK, align 8, !tbaa !9 %50 = and i64 %49, %0 %51 = call i32 @pmap_large_map_getva(i64 noundef %1, i64 noundef %45, i64 noundef %50, ptr noundef nonnull %5) #3 %52 = icmp eq i32 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %48, %40 %54 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !9 %55 = call i32 @pmap_large_map_getva(i64 noundef %1, i64 noundef %54, i64 noundef 0, ptr noundef nonnull %5) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %178 57: ; preds = %53, %48, %37 %58 = load i32, ptr @kernel_pmap, align 4, !tbaa !5 %59 = call i32 @PMAP_LOCK(i32 noundef %58) #3 %60 = load i64, ptr %5, align 8, !tbaa !9 br label %61 61: ; preds = %57, %163 %62 = phi i64 [ %166, %163 ], [ %0, %57 ] %63 = phi i64 [ %167, %163 ], [ %60, %57 ] %64 = phi i64 [ %168, %163 ], [ %1, %57 ] %65 = load i32, ptr @amd_feature, align 4, !tbaa !5 %66 = load i32, ptr @AMDID_PAGE1GB, align 4, !tbaa !5 %67 = and i32 %66, %65 %68 = icmp eq i32 %67, 0 %69 = load i64, ptr @NBPDP, align 8 %70 = icmp slt i64 %64, %69 %71 = select i1 %68, i1 true, i1 %70 br i1 %71, label %101, label %72 72: ; preds = %61 %73 = load i64, ptr @PDPMASK, align 8, !tbaa !9 %74 = and i64 %73, %62 %75 = icmp eq i64 %74, 0 %76 = and i64 %73, %63 %77 = icmp eq i64 %76, 0 %78 = select i1 %75, i1 %77, i1 false br i1 %78, label %79, label %101 79: ; preds = %72 %80 = call ptr @pmap_large_map_pdpe(i64 noundef %63) #3 %81 = load i64, ptr %80, align 8, !tbaa !9 %82 = icmp eq i64 %81, 0 %83 = zext i1 %82 to i32 %84 = call i32 @MPASS(i32 noundef %83) #3 %85 = load i64, ptr @pg_g, align 8, !tbaa !9 %86 = load i64, ptr @X86_PG_PS, align 8, !tbaa !9 %87 = load i64, ptr @X86_PG_RW, align 8, !tbaa !9 %88 = load i64, ptr @X86_PG_V, align 8, !tbaa !9 %89 = load i64, ptr @X86_PG_A, align 8, !tbaa !9 %90 = load i64, ptr @pg_nx, align 8, !tbaa !9 %91 = load i32, ptr @kernel_pmap, align 4, !tbaa !5 %92 = load i32, ptr @TRUE, align 4, !tbaa !5 %93 = call i64 @pmap_cache_bits(i32 noundef %91, i32 noundef %3, i32 noundef %92) #3 %94 = or i64 %85, %86 %95 = or i64 %94, %87 %96 = or i64 %95, %88 %97 = or i64 %96, %89 %98 = or i64 %97, %90 %99 = or i64 %98, %93 %100 = or i64 %99, %62 store i64 %100, ptr %80, align 8, !tbaa !9 br label %163 101: ; preds = %72, %61 %102 = load i64, ptr @NBPDR, align 8, !tbaa !9 %103 = icmp slt i64 %64, %102 br i1 %103, label %138, label %104 104: ; preds = %101 %105 = load i64, ptr @PDRMASK, align 8, !tbaa !9 %106 = and i64 %105, %62 %107 = icmp eq i64 %106, 0 %108 = and i64 %105, %63 %109 = icmp eq i64 %108, 0 %110 = select i1 %107, i1 %109, i1 false br i1 %110, label %111, label %138 111: ; preds = %104 %112 = call ptr @pmap_large_map_pde(i64 noundef %63) #3 %113 = load i64, ptr %112, align 8, !tbaa !9 %114 = icmp eq i64 %113, 0 %115 = zext i1 %114 to i32 %116 = call i32 @MPASS(i32 noundef %115) #3 %117 = load i64, ptr @pg_g, align 8, !tbaa !9 %118 = load i64, ptr @X86_PG_PS, align 8, !tbaa !9 %119 = load i64, ptr @X86_PG_RW, align 8, !tbaa !9 %120 = load i64, ptr @X86_PG_V, align 8, !tbaa !9 %121 = load i64, ptr @X86_PG_A, align 8, !tbaa !9 %122 = load i64, ptr @pg_nx, align 8, !tbaa !9 %123 = load i32, ptr @kernel_pmap, align 4, !tbaa !5 %124 = load i32, ptr @TRUE, align 4, !tbaa !5 %125 = call i64 @pmap_cache_bits(i32 noundef %123, i32 noundef %3, i32 noundef %124) #3 %126 = or i64 %117, %118 %127 = or i64 %126, %119 %128 = or i64 %127, %120 %129 = or i64 %128, %121 %130 = or i64 %129, %122 %131 = or i64 %130, %125 %132 = or i64 %131, %62 store i64 %132, ptr %112, align 8, !tbaa !9 %133 = ptrtoint ptr %112 to i64 %134 = call i32 @DMAP_TO_PHYS(i64 noundef %133) #3 %135 = call ptr @PHYS_TO_VM_PAGE(i32 noundef %134) #3 %136 = load i32, ptr %135, align 4, !tbaa !13 %137 = add nsw i32 %136, 1 store i32 %137, ptr %135, align 4, !tbaa !13 br label %163 138: ; preds = %104, %101 %139 = call ptr @pmap_large_map_pte(i64 noundef %63) #3 %140 = load i64, ptr %139, align 8, !tbaa !9 %141 = icmp eq i64 %140, 0 %142 = zext i1 %141 to i32 %143 = call i32 @MPASS(i32 noundef %142) #3 %144 = load i64, ptr @pg_g, align 8, !tbaa !9 %145 = load i64, ptr @X86_PG_RW, align 8, !tbaa !9 %146 = load i64, ptr @X86_PG_V, align 8, !tbaa !9 %147 = load i64, ptr @X86_PG_A, align 8, !tbaa !9 %148 = load i64, ptr @pg_nx, align 8, !tbaa !9 %149 = load i32, ptr @kernel_pmap, align 4, !tbaa !5 %150 = load i32, ptr @FALSE, align 4, !tbaa !5 %151 = call i64 @pmap_cache_bits(i32 noundef %149, i32 noundef %3, i32 noundef %150) #3 %152 = or i64 %144, %145 %153 = or i64 %152, %146 %154 = or i64 %153, %147 %155 = or i64 %154, %148 %156 = or i64 %155, %151 %157 = or i64 %156, %62 store i64 %157, ptr %139, align 8, !tbaa !9 %158 = ptrtoint ptr %139 to i64 %159 = call i32 @DMAP_TO_PHYS(i64 noundef %158) #3 %160 = call ptr @PHYS_TO_VM_PAGE(i32 noundef %159) #3 %161 = load i32, ptr %160, align 4, !tbaa !13 %162 = add nsw i32 %161, 1 store i32 %162, ptr %160, align 4, !tbaa !13 br label %163 163: ; preds = %79, %138, %111 %164 = phi ptr [ @NBPDP, %79 ], [ @NBPDR, %111 ], [ @PAGE_SIZE, %138 ] %165 = load i64, ptr %164, align 8, !tbaa !9 %166 = add nsw i64 %165, %62 %167 = add nsw i64 %165, %63 %168 = sub nsw i64 %64, %165 %169 = icmp sgt i64 %168, 0 br i1 %169, label %61, label %170, !llvm.loop !15 170: ; preds = %163 %171 = load i32, ptr @kernel_pmap, align 4, !tbaa !5 %172 = call i32 @PMAP_UNLOCK(i32 noundef %171) #3 %173 = icmp eq i64 %168, 0 %174 = zext i1 %173 to i32 %175 = call i32 @MPASS(i32 noundef %174) #3 %176 = load i64, ptr %5, align 8, !tbaa !9 %177 = inttoptr i64 %176 to ptr store ptr %177, ptr %2, align 8, !tbaa !11 br label %178 178: ; preds = %53, %170, %15, %10 %179 = phi i32 [ %11, %10 ], [ %18, %15 ], [ 0, %170 ], [ %55, %53 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %179 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @PHYS_TO_DMAP(i64 noundef) local_unnamed_addr #2 declare i32 @pmap_change_attr(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @rounddown2(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @roundup2(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @pmap_large_map_getva(i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PMAP_LOCK(i32 noundef) local_unnamed_addr #2 declare ptr @pmap_large_map_pdpe(i64 noundef) local_unnamed_addr #2 declare i32 @MPASS(i32 noundef) local_unnamed_addr #2 declare i64 @pmap_cache_bits(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @pmap_large_map_pde(i64 noundef) local_unnamed_addr #2 declare ptr @PHYS_TO_VM_PAGE(i32 noundef) local_unnamed_addr #2 declare i32 @DMAP_TO_PHYS(i64 noundef) local_unnamed_addr #2 declare ptr @pmap_large_map_pte(i64 noundef) local_unnamed_addr #2 declare i32 @PMAP_UNLOCK(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, !6, i64 0} !14 = !{!"TYPE_2__", !6, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/amd64/amd64/extr_pmap.c_pmap_large_map.c' source_filename = "AnghaBench/freebsd/sys/amd64/amd64/extr_pmap.c_pmap_large_map.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 @dmaplimit = common local_unnamed_addr global i64 0, align 8 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @amd_feature = common local_unnamed_addr global i32 0, align 4 @AMDID_PAGE1GB = common local_unnamed_addr global i32 0, align 4 @NBPDP = common local_unnamed_addr global i64 0, align 8 @PDPMASK = common local_unnamed_addr global i64 0, align 8 @NBPDR = common local_unnamed_addr global i64 0, align 8 @PDRMASK = common local_unnamed_addr global i64 0, align 8 @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @kernel_pmap = common local_unnamed_addr global i32 0, align 4 @pg_g = common local_unnamed_addr global i64 0, align 8 @X86_PG_PS = common local_unnamed_addr global i64 0, align 8 @X86_PG_RW = common local_unnamed_addr global i64 0, align 8 @X86_PG_V = common local_unnamed_addr global i64 0, align 8 @X86_PG_A = common local_unnamed_addr global i64 0, align 8 @pg_nx = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @pmap_large_map(i64 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = icmp eq i64 %1, 0 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = add nsw i64 %1, %0 %9 = icmp slt i64 %1, 0 br i1 %9, label %10, label %12 10: ; preds = %7, %4 %11 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %178 12: ; preds = %7 %13 = load i64, ptr @dmaplimit, align 8, !tbaa !10 %14 = icmp sgt i64 %8, %13 br i1 %14, label %19, label %15 15: ; preds = %12 %16 = tail call i64 @PHYS_TO_DMAP(i64 noundef %0) #3 %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %2, align 8, !tbaa !12 %18 = tail call i32 @pmap_change_attr(i64 noundef %16, i64 noundef %1, i32 noundef %3) #3 br label %178 19: ; preds = %12 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %21 = load i32, ptr @amd_feature, align 4, !tbaa !6 %22 = load i32, ptr @AMDID_PAGE1GB, align 4, !tbaa !6 %23 = and i32 %22, %21 %24 = icmp eq i32 %23, 0 br i1 %24, label %37, label %25 25: ; preds = %19 %26 = load i64, ptr @NBPDP, align 8, !tbaa !10 %27 = tail call i64 @rounddown2(i64 noundef %8, i64 noundef %26) #3 %28 = load i64, ptr @NBPDP, align 8, !tbaa !10 %29 = tail call i64 @roundup2(i64 noundef %0, i64 noundef %28) #3 %30 = load i64, ptr @NBPDP, align 8, !tbaa !10 %31 = add nsw i64 %30, %29 %32 = icmp slt i64 %27, %31 br i1 %32, label %37, label %33 33: ; preds = %25 %34 = load i64, ptr @PDPMASK, align 8, !tbaa !10 %35 = and i64 %34, %0 %36 = call i32 @pmap_large_map_getva(i64 noundef %1, i64 noundef %30, i64 noundef %35, ptr noundef nonnull %5) #3 br label %37 37: ; preds = %33, %25, %19 %38 = phi i32 [ %36, %33 ], [ %20, %25 ], [ %20, %19 ] %39 = icmp eq i32 %38, 0 br i1 %39, label %57, label %40 40: ; preds = %37 %41 = load i64, ptr @NBPDR, align 8, !tbaa !10 %42 = call i64 @rounddown2(i64 noundef %8, i64 noundef %41) #3 %43 = load i64, ptr @NBPDR, align 8, !tbaa !10 %44 = call i64 @roundup2(i64 noundef %0, i64 noundef %43) #3 %45 = load i64, ptr @NBPDR, align 8, !tbaa !10 %46 = add nsw i64 %45, %44 %47 = icmp slt i64 %42, %46 br i1 %47, label %53, label %48 48: ; preds = %40 %49 = load i64, ptr @PDRMASK, align 8, !tbaa !10 %50 = and i64 %49, %0 %51 = call i32 @pmap_large_map_getva(i64 noundef %1, i64 noundef %45, i64 noundef %50, ptr noundef nonnull %5) #3 %52 = icmp eq i32 %51, 0 br i1 %52, label %57, label %53 53: ; preds = %48, %40 %54 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !10 %55 = call i32 @pmap_large_map_getva(i64 noundef %1, i64 noundef %54, i64 noundef 0, ptr noundef nonnull %5) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %178 57: ; preds = %53, %48, %37 %58 = load i32, ptr @kernel_pmap, align 4, !tbaa !6 %59 = call i32 @PMAP_LOCK(i32 noundef %58) #3 %60 = load i64, ptr %5, align 8, !tbaa !10 br label %61 61: ; preds = %57, %163 %62 = phi i64 [ %166, %163 ], [ %0, %57 ] %63 = phi i64 [ %167, %163 ], [ %60, %57 ] %64 = phi i64 [ %168, %163 ], [ %1, %57 ] %65 = load i32, ptr @amd_feature, align 4, !tbaa !6 %66 = load i32, ptr @AMDID_PAGE1GB, align 4, !tbaa !6 %67 = and i32 %66, %65 %68 = icmp eq i32 %67, 0 %69 = load i64, ptr @NBPDP, align 8 %70 = icmp slt i64 %64, %69 %71 = select i1 %68, i1 true, i1 %70 br i1 %71, label %101, label %72 72: ; preds = %61 %73 = load i64, ptr @PDPMASK, align 8, !tbaa !10 %74 = and i64 %73, %62 %75 = icmp eq i64 %74, 0 %76 = and i64 %73, %63 %77 = icmp eq i64 %76, 0 %78 = select i1 %75, i1 %77, i1 false br i1 %78, label %79, label %101 79: ; preds = %72 %80 = call ptr @pmap_large_map_pdpe(i64 noundef %63) #3 %81 = load i64, ptr %80, align 8, !tbaa !10 %82 = icmp eq i64 %81, 0 %83 = zext i1 %82 to i32 %84 = call i32 @MPASS(i32 noundef %83) #3 %85 = load i64, ptr @pg_g, align 8, !tbaa !10 %86 = load i64, ptr @X86_PG_PS, align 8, !tbaa !10 %87 = load i64, ptr @X86_PG_RW, align 8, !tbaa !10 %88 = load i64, ptr @X86_PG_V, align 8, !tbaa !10 %89 = load i64, ptr @X86_PG_A, align 8, !tbaa !10 %90 = load i64, ptr @pg_nx, align 8, !tbaa !10 %91 = load i32, ptr @kernel_pmap, align 4, !tbaa !6 %92 = load i32, ptr @TRUE, align 4, !tbaa !6 %93 = call i64 @pmap_cache_bits(i32 noundef %91, i32 noundef %3, i32 noundef %92) #3 %94 = or i64 %85, %86 %95 = or i64 %94, %87 %96 = or i64 %95, %88 %97 = or i64 %96, %89 %98 = or i64 %97, %90 %99 = or i64 %98, %93 %100 = or i64 %99, %62 store i64 %100, ptr %80, align 8, !tbaa !10 br label %163 101: ; preds = %72, %61 %102 = load i64, ptr @NBPDR, align 8, !tbaa !10 %103 = icmp slt i64 %64, %102 br i1 %103, label %138, label %104 104: ; preds = %101 %105 = load i64, ptr @PDRMASK, align 8, !tbaa !10 %106 = and i64 %105, %62 %107 = icmp eq i64 %106, 0 %108 = and i64 %105, %63 %109 = icmp eq i64 %108, 0 %110 = select i1 %107, i1 %109, i1 false br i1 %110, label %111, label %138 111: ; preds = %104 %112 = call ptr @pmap_large_map_pde(i64 noundef %63) #3 %113 = load i64, ptr %112, align 8, !tbaa !10 %114 = icmp eq i64 %113, 0 %115 = zext i1 %114 to i32 %116 = call i32 @MPASS(i32 noundef %115) #3 %117 = load i64, ptr @pg_g, align 8, !tbaa !10 %118 = load i64, ptr @X86_PG_PS, align 8, !tbaa !10 %119 = load i64, ptr @X86_PG_RW, align 8, !tbaa !10 %120 = load i64, ptr @X86_PG_V, align 8, !tbaa !10 %121 = load i64, ptr @X86_PG_A, align 8, !tbaa !10 %122 = load i64, ptr @pg_nx, align 8, !tbaa !10 %123 = load i32, ptr @kernel_pmap, align 4, !tbaa !6 %124 = load i32, ptr @TRUE, align 4, !tbaa !6 %125 = call i64 @pmap_cache_bits(i32 noundef %123, i32 noundef %3, i32 noundef %124) #3 %126 = or i64 %117, %118 %127 = or i64 %126, %119 %128 = or i64 %127, %120 %129 = or i64 %128, %121 %130 = or i64 %129, %122 %131 = or i64 %130, %125 %132 = or i64 %131, %62 store i64 %132, ptr %112, align 8, !tbaa !10 %133 = ptrtoint ptr %112 to i64 %134 = call i32 @DMAP_TO_PHYS(i64 noundef %133) #3 %135 = call ptr @PHYS_TO_VM_PAGE(i32 noundef %134) #3 %136 = load i32, ptr %135, align 4, !tbaa !14 %137 = add nsw i32 %136, 1 store i32 %137, ptr %135, align 4, !tbaa !14 br label %163 138: ; preds = %104, %101 %139 = call ptr @pmap_large_map_pte(i64 noundef %63) #3 %140 = load i64, ptr %139, align 8, !tbaa !10 %141 = icmp eq i64 %140, 0 %142 = zext i1 %141 to i32 %143 = call i32 @MPASS(i32 noundef %142) #3 %144 = load i64, ptr @pg_g, align 8, !tbaa !10 %145 = load i64, ptr @X86_PG_RW, align 8, !tbaa !10 %146 = load i64, ptr @X86_PG_V, align 8, !tbaa !10 %147 = load i64, ptr @X86_PG_A, align 8, !tbaa !10 %148 = load i64, ptr @pg_nx, align 8, !tbaa !10 %149 = load i32, ptr @kernel_pmap, align 4, !tbaa !6 %150 = load i32, ptr @FALSE, align 4, !tbaa !6 %151 = call i64 @pmap_cache_bits(i32 noundef %149, i32 noundef %3, i32 noundef %150) #3 %152 = or i64 %144, %145 %153 = or i64 %152, %146 %154 = or i64 %153, %147 %155 = or i64 %154, %148 %156 = or i64 %155, %151 %157 = or i64 %156, %62 store i64 %157, ptr %139, align 8, !tbaa !10 %158 = ptrtoint ptr %139 to i64 %159 = call i32 @DMAP_TO_PHYS(i64 noundef %158) #3 %160 = call ptr @PHYS_TO_VM_PAGE(i32 noundef %159) #3 %161 = load i32, ptr %160, align 4, !tbaa !14 %162 = add nsw i32 %161, 1 store i32 %162, ptr %160, align 4, !tbaa !14 br label %163 163: ; preds = %79, %138, %111 %164 = phi ptr [ @NBPDP, %79 ], [ @NBPDR, %111 ], [ @PAGE_SIZE, %138 ] %165 = load i64, ptr %164, align 8, !tbaa !10 %166 = add nsw i64 %165, %62 %167 = add nsw i64 %165, %63 %168 = sub nsw i64 %64, %165 %169 = icmp sgt i64 %168, 0 br i1 %169, label %61, label %170, !llvm.loop !16 170: ; preds = %163 %171 = load i32, ptr @kernel_pmap, align 4, !tbaa !6 %172 = call i32 @PMAP_UNLOCK(i32 noundef %171) #3 %173 = icmp eq i64 %168, 0 %174 = zext i1 %173 to i32 %175 = call i32 @MPASS(i32 noundef %174) #3 %176 = load i64, ptr %5, align 8, !tbaa !10 %177 = inttoptr i64 %176 to ptr store ptr %177, ptr %2, align 8, !tbaa !12 br label %178 178: ; preds = %53, %170, %15, %10 %179 = phi i32 [ %11, %10 ], [ %18, %15 ], [ 0, %170 ], [ %55, %53 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %179 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @PHYS_TO_DMAP(i64 noundef) local_unnamed_addr #2 declare i32 @pmap_change_attr(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @rounddown2(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @roundup2(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @pmap_large_map_getva(i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PMAP_LOCK(i32 noundef) local_unnamed_addr #2 declare ptr @pmap_large_map_pdpe(i64 noundef) local_unnamed_addr #2 declare i32 @MPASS(i32 noundef) local_unnamed_addr #2 declare i64 @pmap_cache_bits(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @pmap_large_map_pde(i64 noundef) local_unnamed_addr #2 declare ptr @PHYS_TO_VM_PAGE(i32 noundef) local_unnamed_addr #2 declare i32 @DMAP_TO_PHYS(i64 noundef) local_unnamed_addr #2 declare ptr @pmap_large_map_pte(i64 noundef) local_unnamed_addr #2 declare i32 @PMAP_UNLOCK(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, !7, i64 0} !15 = !{!"TYPE_2__", !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
freebsd_sys_amd64_amd64_extr_pmap.c_pmap_large_map
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/extr_fman_ncsw.c_fman_bmi_init.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/extr_fman_ncsw.c_fman_bmi_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fman_cfg = type { i32, i32, i32, i32 } %struct.fman_bmi_regs = type { i32, i32, i32, i32 } @BMI_FIFO_ALIGN = dso_local local_unnamed_addr global i32 0, align 4 @FMAN_BMI_FIFO_UNITS = dso_local local_unnamed_addr global i32 0, align 4 @BMI_CFG1_FIFO_SIZE_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @BMI_CFG2_TASKS_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @BMI_ERR_INTR_EN_LIST_RAM_ECC = dso_local local_unnamed_addr global i32 0, align 4 @BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC = dso_local local_unnamed_addr global i32 0, align 4 @BMI_ERR_INTR_EN_STATISTICS_RAM_ECC = dso_local local_unnamed_addr global i32 0, align 4 @BMI_ERR_INTR_EN_DISPATCH_RAM_ECC = dso_local local_unnamed_addr global i32 0, align 4 @FMAN_EX_BMI_LIST_RAM_ECC = dso_local local_unnamed_addr global i32 0, align 4 @FMAN_EX_BMI_PIPELINE_ECC = dso_local local_unnamed_addr global i32 0, align 4 @FMAN_EX_BMI_STATISTICS_RAM_ECC = dso_local local_unnamed_addr global i32 0, align 4 @FMAN_EX_BMI_DISPATCH_RAM_ECC = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @fman_bmi_init(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = load i32, ptr @BMI_FIFO_ALIGN, align 4, !tbaa !10 %5 = sdiv i32 %3, %4 %6 = getelementptr inbounds %struct.fman_cfg, ptr %1, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = load i32, ptr @FMAN_BMI_FIFO_UNITS, align 4, !tbaa !10 %9 = sdiv i32 %7, %8 %10 = add nsw i32 %9, -1 %11 = load i32, ptr @BMI_CFG1_FIFO_SIZE_SHIFT, align 4, !tbaa !10 %12 = shl i32 %10, %11 %13 = or i32 %12, %5 %14 = getelementptr inbounds %struct.fman_bmi_regs, ptr %0, i64 0, i32 3 %15 = tail call i32 @iowrite32be(i32 noundef %13, ptr noundef nonnull %14) #2 %16 = getelementptr inbounds %struct.fman_cfg, ptr %1, i64 0, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = add nsw i32 %17, -1 %19 = load i32, ptr @BMI_CFG2_TASKS_SHIFT, align 4, !tbaa !10 %20 = shl i32 %18, %19 %21 = getelementptr inbounds %struct.fman_bmi_regs, ptr %0, i64 0, i32 2 %22 = tail call i32 @iowrite32be(i32 noundef %20, ptr noundef nonnull %21) #2 %23 = load i32, ptr @BMI_ERR_INTR_EN_LIST_RAM_ECC, align 4, !tbaa !10 %24 = load i32, ptr @BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC, align 4, !tbaa !10 %25 = or i32 %24, %23 %26 = load i32, ptr @BMI_ERR_INTR_EN_STATISTICS_RAM_ECC, align 4, !tbaa !10 %27 = or i32 %25, %26 %28 = load i32, ptr @BMI_ERR_INTR_EN_DISPATCH_RAM_ECC, align 4, !tbaa !10 %29 = or i32 %27, %28 %30 = getelementptr inbounds %struct.fman_bmi_regs, ptr %0, i64 0, i32 1 %31 = tail call i32 @iowrite32be(i32 noundef %29, ptr noundef nonnull %30) #2 %32 = getelementptr inbounds %struct.fman_cfg, ptr %1, i64 0, i32 3 %33 = load i32, ptr %32, align 4, !tbaa !13 %34 = load i32, ptr @FMAN_EX_BMI_LIST_RAM_ECC, align 4, !tbaa !10 %35 = and i32 %34, %33 %36 = icmp eq i32 %35, 0 %37 = load i32, ptr @BMI_ERR_INTR_EN_LIST_RAM_ECC, align 4 %38 = select i1 %36, i32 0, i32 %37 %39 = load i32, ptr @FMAN_EX_BMI_PIPELINE_ECC, align 4, !tbaa !10 %40 = and i32 %39, %33 %41 = icmp eq i32 %40, 0 %42 = load i32, ptr @BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC, align 4 %43 = select i1 %41, i32 0, i32 %42 %44 = or i32 %43, %38 %45 = load i32, ptr @FMAN_EX_BMI_STATISTICS_RAM_ECC, align 4, !tbaa !10 %46 = and i32 %45, %33 %47 = icmp eq i32 %46, 0 %48 = load i32, ptr @BMI_ERR_INTR_EN_STATISTICS_RAM_ECC, align 4 %49 = select i1 %47, i32 0, i32 %48 %50 = or i32 %44, %49 %51 = load i32, ptr @FMAN_EX_BMI_DISPATCH_RAM_ECC, align 4, !tbaa !10 %52 = and i32 %51, %33 %53 = icmp eq i32 %52, 0 %54 = load i32, ptr @BMI_ERR_INTR_EN_DISPATCH_RAM_ECC, align 4 %55 = select i1 %53, i32 0, i32 %54 %56 = or i32 %50, %55 %57 = tail call i32 @iowrite32be(i32 noundef %56, ptr noundef %0) #2 ret i32 0 } declare i32 @iowrite32be(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fman_cfg", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 12}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/extr_fman_ncsw.c_fman_bmi_init.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/extr_fman_ncsw.c_fman_bmi_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BMI_FIFO_ALIGN = common local_unnamed_addr global i32 0, align 4 @FMAN_BMI_FIFO_UNITS = common local_unnamed_addr global i32 0, align 4 @BMI_CFG1_FIFO_SIZE_SHIFT = common local_unnamed_addr global i32 0, align 4 @BMI_CFG2_TASKS_SHIFT = common local_unnamed_addr global i32 0, align 4 @BMI_ERR_INTR_EN_LIST_RAM_ECC = common local_unnamed_addr global i32 0, align 4 @BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC = common local_unnamed_addr global i32 0, align 4 @BMI_ERR_INTR_EN_STATISTICS_RAM_ECC = common local_unnamed_addr global i32 0, align 4 @BMI_ERR_INTR_EN_DISPATCH_RAM_ECC = common local_unnamed_addr global i32 0, align 4 @FMAN_EX_BMI_LIST_RAM_ECC = common local_unnamed_addr global i32 0, align 4 @FMAN_EX_BMI_PIPELINE_ECC = common local_unnamed_addr global i32 0, align 4 @FMAN_EX_BMI_STATISTICS_RAM_ECC = common local_unnamed_addr global i32 0, align 4 @FMAN_EX_BMI_DISPATCH_RAM_ECC = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @fman_bmi_init(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = load i32, ptr @BMI_FIFO_ALIGN, align 4, !tbaa !11 %5 = sdiv i32 %3, %4 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = load i32, ptr @FMAN_BMI_FIFO_UNITS, align 4, !tbaa !11 %9 = sdiv i32 %7, %8 %10 = add nsw i32 %9, -1 %11 = load i32, ptr @BMI_CFG1_FIFO_SIZE_SHIFT, align 4, !tbaa !11 %12 = shl i32 %10, %11 %13 = or i32 %12, %5 %14 = getelementptr inbounds i8, ptr %0, i64 12 %15 = tail call i32 @iowrite32be(i32 noundef %13, ptr noundef nonnull %14) #2 %16 = getelementptr inbounds i8, ptr %1, i64 8 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = add nsw i32 %17, -1 %19 = load i32, ptr @BMI_CFG2_TASKS_SHIFT, align 4, !tbaa !11 %20 = shl i32 %18, %19 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = tail call i32 @iowrite32be(i32 noundef %20, ptr noundef nonnull %21) #2 %23 = load i32, ptr @BMI_ERR_INTR_EN_LIST_RAM_ECC, align 4, !tbaa !11 %24 = load i32, ptr @BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC, align 4, !tbaa !11 %25 = or i32 %24, %23 %26 = load i32, ptr @BMI_ERR_INTR_EN_STATISTICS_RAM_ECC, align 4, !tbaa !11 %27 = or i32 %25, %26 %28 = load i32, ptr @BMI_ERR_INTR_EN_DISPATCH_RAM_ECC, align 4, !tbaa !11 %29 = or i32 %27, %28 %30 = getelementptr inbounds i8, ptr %0, i64 4 %31 = tail call i32 @iowrite32be(i32 noundef %29, ptr noundef nonnull %30) #2 %32 = getelementptr inbounds i8, ptr %1, i64 12 %33 = load i32, ptr %32, align 4, !tbaa !14 %34 = load i32, ptr @FMAN_EX_BMI_LIST_RAM_ECC, align 4, !tbaa !11 %35 = and i32 %34, %33 %36 = icmp eq i32 %35, 0 %37 = load i32, ptr @BMI_ERR_INTR_EN_LIST_RAM_ECC, align 4 %38 = select i1 %36, i32 0, i32 %37 %39 = load i32, ptr @FMAN_EX_BMI_PIPELINE_ECC, align 4, !tbaa !11 %40 = and i32 %39, %33 %41 = icmp eq i32 %40, 0 %42 = load i32, ptr @BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC, align 4 %43 = select i1 %41, i32 0, i32 %42 %44 = or i32 %43, %38 %45 = load i32, ptr @FMAN_EX_BMI_STATISTICS_RAM_ECC, align 4, !tbaa !11 %46 = and i32 %45, %33 %47 = icmp eq i32 %46, 0 %48 = load i32, ptr @BMI_ERR_INTR_EN_STATISTICS_RAM_ECC, align 4 %49 = select i1 %47, i32 0, i32 %48 %50 = or i32 %44, %49 %51 = load i32, ptr @FMAN_EX_BMI_DISPATCH_RAM_ECC, align 4, !tbaa !11 %52 = and i32 %51, %33 %53 = icmp eq i32 %52, 0 %54 = load i32, ptr @BMI_ERR_INTR_EN_DISPATCH_RAM_ECC, align 4 %55 = select i1 %53, i32 0, i32 %54 %56 = or i32 %50, %55 %57 = tail call i32 @iowrite32be(i32 noundef %56, ptr noundef %0) #2 ret i32 0 } declare i32 @iowrite32be(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fman_cfg", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 12}
freebsd_sys_contrib_ncsw_Peripherals_FM_extr_fman_ncsw.c_fman_bmi_init
; ModuleID = 'AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_send_response_line_s.c' source_filename = "AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_send_response_line_s.c" target datalayout = "e-m:e-p270:32:32-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 [17 x i8] c"HTTP/1.1 %d %s\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Server: %s\0D\0A\00", align 1 @mg_version_header = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"%.*s\0D\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @mg_send_response_line_s(ptr noundef %0, i32 noundef %1, i64 %2, i32 %3) local_unnamed_addr #0 { %5 = tail call i32 @mg_status_message(i32 noundef %1) #2 %6 = tail call i32 (ptr, ptr, i32, ...) @mg_printf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %5) #2 %7 = load i32, ptr @mg_version_header, align 4, !tbaa !5 %8 = tail call i32 (ptr, ptr, i32, ...) @mg_printf(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %7) #2 %9 = icmp sgt i64 %2, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = trunc i64 %2 to i32 %12 = tail call i32 (ptr, ptr, i32, ...) @mg_printf(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %11, i32 noundef %3) #2 br label %13 13: ; preds = %10, %4 ret void } declare i32 @mg_printf(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @mg_status_message(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/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_send_response_line_s.c' source_filename = "AnghaBench/mongoose/examples/ESP8266_RTOS/user/extr_mongoose.c_mg_send_response_line_s.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 [17 x i8] c"HTTP/1.1 %d %s\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Server: %s\0D\0A\00", align 1 @mg_version_header = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"%.*s\0D\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @mg_send_response_line_s(ptr noundef %0, i32 noundef %1, [2 x i64] %2) local_unnamed_addr #0 { %4 = extractvalue [2 x i64] %2, 0 %5 = tail call i32 @mg_status_message(i32 noundef %1) #2 %6 = tail call i32 (ptr, ptr, i32, ...) @mg_printf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %5) #2 %7 = load i32, ptr @mg_version_header, align 4, !tbaa !6 %8 = tail call i32 (ptr, ptr, i32, ...) @mg_printf(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %7) #2 %9 = icmp sgt i64 %4, 0 br i1 %9, label %10, label %15 10: ; preds = %3 %11 = extractvalue [2 x i64] %2, 1 %12 = trunc i64 %11 to i32 %13 = trunc i64 %4 to i32 %14 = tail call i32 (ptr, ptr, i32, ...) @mg_printf(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %13, i32 noundef %12) #2 br label %15 15: ; preds = %10, %3 ret void } declare i32 @mg_printf(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @mg_status_message(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"}
mongoose_examples_ESP8266_RTOS_user_extr_mongoose.c_mg_send_response_line_s
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-clk.c___v4l2_clk_register_fixed.c' source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-clk.c___v4l2_clk_register_fixed.c" target datalayout = "e-m:e-p270:32:32-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_clk_fixed = type { i64, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @fixed_get_rate = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @__v4l2_clk_register_fixed(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %5 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %3 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 %10 = tail call ptr @ERR_PTR(i32 noundef %9) #2 br label %20 11: ; preds = %3 store i64 %1, ptr %5, align 8, !tbaa !9 %12 = load i32, ptr @fixed_get_rate, align 4, !tbaa !5 %13 = getelementptr inbounds %struct.v4l2_clk_fixed, ptr %5, i64 0, i32 1 %14 = getelementptr inbounds %struct.v4l2_clk_fixed, ptr %5, i64 0, i32 1, i32 1 store i32 %12, ptr %14, align 8, !tbaa !14 store ptr %2, ptr %13, align 8, !tbaa !15 %15 = tail call ptr @v4l2_clk_register(ptr noundef nonnull %13, ptr noundef %0, ptr noundef nonnull %5) #2 %16 = tail call i64 @IS_ERR(ptr noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %11 %19 = tail call i32 @kfree(ptr noundef nonnull %5) #2 br label %20 20: ; preds = %11, %18, %7 %21 = phi ptr [ %10, %7 ], [ %15, %18 ], [ %15, %11 ] ret ptr %21 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @v4l2_clk_register(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"v4l2_clk_fixed", !11, i64 0, !12, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !6, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!10, !6, i64 16} !15 = !{!10, !13, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-clk.c___v4l2_clk_register_fixed.c' source_filename = "AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-clk.c___v4l2_clk_register_fixed.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 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @fixed_get_rate = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @__v4l2_clk_register_fixed(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %5 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %3 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 %10 = tail call ptr @ERR_PTR(i32 noundef %9) #2 br label %20 11: ; preds = %3 store i64 %1, ptr %5, align 8, !tbaa !10 %12 = load i32, ptr @fixed_get_rate, align 4, !tbaa !6 %13 = getelementptr inbounds i8, ptr %5, i64 8 %14 = getelementptr inbounds i8, ptr %5, i64 16 store i32 %12, ptr %14, align 8, !tbaa !15 store ptr %2, ptr %13, align 8, !tbaa !16 %15 = tail call ptr @v4l2_clk_register(ptr noundef nonnull %13, ptr noundef %0, ptr noundef nonnull %5) #2 %16 = tail call i64 @IS_ERR(ptr noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %11 %19 = tail call i32 @kfree(ptr noundef nonnull %5) #2 br label %20 20: ; preds = %11, %18, %7 %21 = phi ptr [ %10, %7 ], [ %15, %18 ], [ %15, %11 ] ret ptr %21 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare ptr @v4l2_clk_register(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"v4l2_clk_fixed", !12, i64 0, !13, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!"TYPE_2__", !14, i64 0, !7, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!11, !7, i64 16} !16 = !{!11, !14, i64 8}
linux_drivers_media_v4l2-core_extr_v4l2-clk.c___v4l2_clk_register_fixed
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_sched.h_sched_fair_runnable.c' source_filename = "AnghaBench/linux/kernel/sched/extr_sched.h_sched_fair_runnable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @sched_fair_runnable], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @sched_fair_runnable(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"rq", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/kernel/sched/extr_sched.h_sched_fair_runnable.c' source_filename = "AnghaBench/linux/kernel/sched/extr_sched.h_sched_fair_runnable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @sched_fair_runnable], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal range(i32 0, 2) i32 @sched_fair_runnable(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i64 %2, 0 %4 = zext i1 %3 to i32 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"rq", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
linux_kernel_sched_extr_sched.h_sched_fair_runnable
; ModuleID = 'AnghaBench/freebsd/sys/dev/trm/extr_trm.c_trm_EnableMsgOutAbort1.c' source_filename = "AnghaBench/freebsd/sys/dev/trm/extr_trm.c_trm_EnableMsgOutAbort1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MSG_ABORT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @trm_EnableMsgOutAbort1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @trm_EnableMsgOutAbort1(i32 noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @MSG_ABORT, align 4, !tbaa !5 %4 = load ptr, ptr %1, align 8, !tbaa !9 store i32 %3, ptr %4, align 4, !tbaa !5 %5 = tail call i32 @trm_EnableMsgOutAbort2(i32 noundef %0, ptr noundef nonnull %1) #2 ret void } declare i32 @trm_EnableMsgOutAbort2(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, !11, i64 0} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/trm/extr_trm.c_trm_EnableMsgOutAbort1.c' source_filename = "AnghaBench/freebsd/sys/dev/trm/extr_trm.c_trm_EnableMsgOutAbort1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSG_ABORT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @trm_EnableMsgOutAbort1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @trm_EnableMsgOutAbort1(i32 noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @MSG_ABORT, align 4, !tbaa !6 %4 = load ptr, ptr %1, align 8, !tbaa !10 store i32 %3, ptr %4, align 4, !tbaa !6 %5 = tail call i32 @trm_EnableMsgOutAbort2(i32 noundef %0, ptr noundef nonnull %1) #2 ret void } declare i32 @trm_EnableMsgOutAbort2(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, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
freebsd_sys_dev_trm_extr_trm.c_trm_EnableMsgOutAbort1
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-rcar.c_rcar_i2c_master_xfer.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-rcar.c_rcar_i2c_master_xfer.c" target datalayout = "e-m:e-p270:32:32-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.rcar_i2c_priv = type { i64, i32, i32, i64, i32, ptr, i32 } %struct.i2c_msg = type { i32 } @I2C_RCAR_GEN3 = dso_local local_unnamed_addr global i64 0, align 8 @ID_P_NO_RXDMA = dso_local local_unnamed_addr global i32 0, align 4 @ID_P_MASK = dso_local local_unnamed_addr global i32 0, align 4 @ID_FIRST_MSG = dso_local local_unnamed_addr global i32 0, align 4 @ID_DONE = dso_local local_unnamed_addr global i32 0, align 4 @DMA_NONE = dso_local local_unnamed_addr global i64 0, align 8 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @ID_NACK = dso_local local_unnamed_addr global i32 0, align 4 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @ID_ARBLOST = dso_local local_unnamed_addr global i32 0, align 4 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"error %d : %x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rcar_i2c_master_xfer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rcar_i2c_master_xfer(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @i2c_get_adapdata(ptr noundef %0) #2 %5 = tail call ptr @rcar_i2c_priv_to_dev(ptr noundef %4) #2 %6 = tail call i32 @pm_runtime_get_sync(ptr noundef %5) #2 %7 = tail call i32 @rcar_i2c_bus_barrier(ptr noundef %4) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %3 %10 = tail call i32 @pm_runtime_put(ptr noundef %5) #2 br label %89 11: ; preds = %3 %12 = load i64, ptr %4, align 8, !tbaa !5 %13 = load i64, ptr @I2C_RCAR_GEN3, align 8, !tbaa !12 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %32 15: ; preds = %11 %16 = load i32, ptr @ID_P_NO_RXDMA, align 4, !tbaa !13 %17 = getelementptr inbounds %struct.rcar_i2c_priv, ptr %4, i64 0, i32 1 %18 = load i32, ptr %17, align 8, !tbaa !14 %19 = or i32 %18, %16 store i32 %19, ptr %17, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.rcar_i2c_priv, ptr %4, i64 0, i32 6 %21 = load i32, ptr %20, align 8, !tbaa !15 %22 = tail call i32 @IS_ERR(i32 noundef %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %32 24: ; preds = %15 %25 = tail call i32 @rcar_i2c_do_reset(ptr noundef nonnull %4) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load i32, ptr @ID_P_NO_RXDMA, align 4, !tbaa !13 %29 = xor i32 %28, -1 %30 = load i32, ptr %17, align 8, !tbaa !14 %31 = and i32 %30, %29 store i32 %31, ptr %17, align 8, !tbaa !14 br label %32 32: ; preds = %15, %27, %24, %11 %33 = tail call i32 @rcar_i2c_init(ptr noundef nonnull %4) #2 %34 = icmp sgt i32 %2, 0 br i1 %34, label %35, label %43 35: ; preds = %32 %36 = zext nneg i32 %2 to i64 br label %37 37: ; preds = %35, %37 %38 = phi i64 [ 0, %35 ], [ %41, %37 ] %39 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %38 %40 = tail call i32 @rcar_i2c_request_dma(ptr noundef nonnull %4, ptr noundef %39) #2 %41 = add nuw nsw i64 %38, 1 %42 = icmp eq i64 %41, %36 br i1 %42, label %43, label %37, !llvm.loop !16 43: ; preds = %37, %32 %44 = getelementptr inbounds %struct.rcar_i2c_priv, ptr %4, i64 0, i32 5 store ptr %1, ptr %44, align 8, !tbaa !18 %45 = getelementptr inbounds %struct.rcar_i2c_priv, ptr %4, i64 0, i32 2 store i32 %2, ptr %45, align 4, !tbaa !19 %46 = getelementptr inbounds %struct.rcar_i2c_priv, ptr %4, i64 0, i32 1 %47 = load i32, ptr %46, align 8, !tbaa !14 %48 = load i32, ptr @ID_P_MASK, align 4, !tbaa !13 %49 = and i32 %48, %47 %50 = load i32, ptr @ID_FIRST_MSG, align 4, !tbaa !13 %51 = or i32 %49, %50 store i32 %51, ptr %46, align 8, !tbaa !14 %52 = tail call i32 @rcar_i2c_prepare_msg(ptr noundef nonnull %4) #2 %53 = getelementptr inbounds %struct.rcar_i2c_priv, ptr %4, i64 0, i32 4 %54 = load i32, ptr %53, align 8, !tbaa !20 %55 = load i32, ptr %46, align 8, !tbaa !14 %56 = load i32, ptr @ID_DONE, align 4, !tbaa !13 %57 = and i32 %56, %55 %58 = load i32, ptr %0, align 4, !tbaa !21 %59 = mul nsw i32 %58, %2 %60 = tail call i64 @wait_event_timeout(i32 noundef %54, i32 noundef %57, i32 noundef %59) #2 %61 = getelementptr inbounds %struct.rcar_i2c_priv, ptr %4, i64 0, i32 3 %62 = load i64, ptr %61, align 8, !tbaa !23 %63 = load i64, ptr @DMA_NONE, align 8, !tbaa !12 %64 = icmp eq i64 %62, %63 br i1 %64, label %67, label %65 65: ; preds = %43 %66 = tail call i32 @rcar_i2c_cleanup_dma(ptr noundef nonnull %4) #2 br label %67 67: ; preds = %65, %43 %68 = icmp eq i64 %60, 0 br i1 %68, label %69, label %71 69: ; preds = %67 %70 = tail call i32 @rcar_i2c_init(ptr noundef nonnull %4) #2 br label %82 71: ; preds = %67 %72 = load i32, ptr %46, align 8, !tbaa !14 %73 = load i32, ptr @ID_NACK, align 4, !tbaa !13 %74 = and i32 %73, %72 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %82 76: ; preds = %71 %77 = load i32, ptr @ID_ARBLOST, align 4, !tbaa !13 %78 = and i32 %77, %72 %79 = icmp eq i32 %78, 0 %80 = select i1 %79, ptr %45, ptr @EAGAIN %81 = select i1 %79, i32 %2, i32 0 br label %82 82: ; preds = %76, %71, %69 %83 = phi ptr [ @ETIMEDOUT, %69 ], [ @ENXIO, %71 ], [ %80, %76 ] %84 = phi i32 [ 0, %69 ], [ 0, %71 ], [ %81, %76 ] %85 = load i32, ptr %83, align 4, !tbaa !13 %86 = sub nsw i32 %84, %85 %87 = tail call i32 @pm_runtime_put(ptr noundef %5) #2 %88 = icmp slt i32 %86, 0 br i1 %88, label %89, label %98 89: ; preds = %9, %82 %90 = phi i32 [ %7, %9 ], [ %86, %82 ] %91 = load i32, ptr @ENXIO, align 4, !tbaa !13 %92 = sub nsw i32 0, %91 %93 = icmp eq i32 %90, %92 br i1 %93, label %98, label %94 94: ; preds = %89 %95 = getelementptr inbounds %struct.rcar_i2c_priv, ptr %4, i64 0, i32 1 %96 = load i32, ptr %95, align 8, !tbaa !14 %97 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %90, i32 noundef %96) #2 br label %98 98: ; preds = %94, %89, %82 %99 = phi i32 [ %90, %94 ], [ %90, %89 ], [ %86, %82 ] ret i32 %99 } declare ptr @i2c_get_adapdata(ptr noundef) local_unnamed_addr #1 declare ptr @rcar_i2c_priv_to_dev(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(ptr noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_bus_barrier(ptr noundef) local_unnamed_addr #1 declare i32 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_do_reset(ptr noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_init(ptr noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_request_dma(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_prepare_msg(ptr noundef) local_unnamed_addr #1 declare i64 @wait_event_timeout(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_cleanup_dma(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_put(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"rcar_i2c_priv", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !10, i64 24, !11, i64 32, !10, i64 40} !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 = !{!7, !7, i64 0} !13 = !{!10, !10, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!6, !10, i64 40} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!6, !11, i64 32} !19 = !{!6, !10, i64 12} !20 = !{!6, !10, i64 24} !21 = !{!22, !10, i64 0} !22 = !{!"i2c_adapter", !10, i64 0} !23 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-rcar.c_rcar_i2c_master_xfer.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-rcar.c_rcar_i2c_master_xfer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.i2c_msg = type { i32 } @I2C_RCAR_GEN3 = common local_unnamed_addr global i64 0, align 8 @ID_P_NO_RXDMA = common local_unnamed_addr global i32 0, align 4 @ID_P_MASK = common local_unnamed_addr global i32 0, align 4 @ID_FIRST_MSG = common local_unnamed_addr global i32 0, align 4 @ID_DONE = common local_unnamed_addr global i32 0, align 4 @DMA_NONE = common local_unnamed_addr global i64 0, align 8 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @ID_NACK = common local_unnamed_addr global i32 0, align 4 @ENXIO = common local_unnamed_addr global i32 0, align 4 @ID_ARBLOST = common local_unnamed_addr global i32 0, align 4 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"error %d : %x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rcar_i2c_master_xfer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rcar_i2c_master_xfer(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @i2c_get_adapdata(ptr noundef %0) #2 %5 = tail call ptr @rcar_i2c_priv_to_dev(ptr noundef %4) #2 %6 = tail call i32 @pm_runtime_get_sync(ptr noundef %5) #2 %7 = tail call i32 @rcar_i2c_bus_barrier(ptr noundef %4) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %3 %10 = tail call i32 @pm_runtime_put(ptr noundef %5) #2 br label %89 11: ; preds = %3 %12 = load i64, ptr %4, align 8, !tbaa !6 %13 = load i64, ptr @I2C_RCAR_GEN3, align 8, !tbaa !13 %14 = icmp eq i64 %12, %13 br i1 %14, label %15, label %32 15: ; preds = %11 %16 = load i32, ptr @ID_P_NO_RXDMA, align 4, !tbaa !14 %17 = getelementptr inbounds i8, ptr %4, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !15 %19 = or i32 %18, %16 store i32 %19, ptr %17, align 8, !tbaa !15 %20 = getelementptr inbounds i8, ptr %4, i64 40 %21 = load i32, ptr %20, align 8, !tbaa !16 %22 = tail call i32 @IS_ERR(i32 noundef %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %32 24: ; preds = %15 %25 = tail call i32 @rcar_i2c_do_reset(ptr noundef nonnull %4) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %24 %28 = load i32, ptr @ID_P_NO_RXDMA, align 4, !tbaa !14 %29 = xor i32 %28, -1 %30 = load i32, ptr %17, align 8, !tbaa !15 %31 = and i32 %30, %29 store i32 %31, ptr %17, align 8, !tbaa !15 br label %32 32: ; preds = %15, %27, %24, %11 %33 = tail call i32 @rcar_i2c_init(ptr noundef nonnull %4) #2 %34 = icmp sgt i32 %2, 0 br i1 %34, label %35, label %43 35: ; preds = %32 %36 = zext nneg i32 %2 to i64 br label %37 37: ; preds = %35, %37 %38 = phi i64 [ 0, %35 ], [ %41, %37 ] %39 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %38 %40 = tail call i32 @rcar_i2c_request_dma(ptr noundef nonnull %4, ptr noundef %39) #2 %41 = add nuw nsw i64 %38, 1 %42 = icmp eq i64 %41, %36 br i1 %42, label %43, label %37, !llvm.loop !17 43: ; preds = %37, %32 %44 = getelementptr inbounds i8, ptr %4, i64 32 store ptr %1, ptr %44, align 8, !tbaa !19 %45 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %2, ptr %45, align 4, !tbaa !20 %46 = getelementptr inbounds i8, ptr %4, i64 8 %47 = load i32, ptr %46, align 8, !tbaa !15 %48 = load i32, ptr @ID_P_MASK, align 4, !tbaa !14 %49 = and i32 %48, %47 %50 = load i32, ptr @ID_FIRST_MSG, align 4, !tbaa !14 %51 = or i32 %49, %50 store i32 %51, ptr %46, align 8, !tbaa !15 %52 = tail call i32 @rcar_i2c_prepare_msg(ptr noundef nonnull %4) #2 %53 = getelementptr inbounds i8, ptr %4, i64 24 %54 = load i32, ptr %53, align 8, !tbaa !21 %55 = load i32, ptr %46, align 8, !tbaa !15 %56 = load i32, ptr @ID_DONE, align 4, !tbaa !14 %57 = and i32 %56, %55 %58 = load i32, ptr %0, align 4, !tbaa !22 %59 = mul nsw i32 %58, %2 %60 = tail call i64 @wait_event_timeout(i32 noundef %54, i32 noundef %57, i32 noundef %59) #2 %61 = getelementptr inbounds i8, ptr %4, i64 16 %62 = load i64, ptr %61, align 8, !tbaa !24 %63 = load i64, ptr @DMA_NONE, align 8, !tbaa !13 %64 = icmp eq i64 %62, %63 br i1 %64, label %67, label %65 65: ; preds = %43 %66 = tail call i32 @rcar_i2c_cleanup_dma(ptr noundef nonnull %4) #2 br label %67 67: ; preds = %65, %43 %68 = icmp eq i64 %60, 0 br i1 %68, label %69, label %71 69: ; preds = %67 %70 = tail call i32 @rcar_i2c_init(ptr noundef nonnull %4) #2 br label %82 71: ; preds = %67 %72 = load i32, ptr %46, align 8, !tbaa !15 %73 = load i32, ptr @ID_NACK, align 4, !tbaa !14 %74 = and i32 %73, %72 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %82 76: ; preds = %71 %77 = load i32, ptr @ID_ARBLOST, align 4, !tbaa !14 %78 = and i32 %77, %72 %79 = icmp eq i32 %78, 0 %80 = select i1 %79, ptr %45, ptr @EAGAIN %81 = select i1 %79, i32 %2, i32 0 br label %82 82: ; preds = %76, %71, %69 %83 = phi ptr [ @ETIMEDOUT, %69 ], [ @ENXIO, %71 ], [ %80, %76 ] %84 = phi i32 [ 0, %69 ], [ 0, %71 ], [ %81, %76 ] %85 = load i32, ptr %83, align 4, !tbaa !14 %86 = sub nsw i32 %84, %85 %87 = tail call i32 @pm_runtime_put(ptr noundef %5) #2 %88 = icmp slt i32 %86, 0 br i1 %88, label %89, label %98 89: ; preds = %9, %82 %90 = phi i32 [ %7, %9 ], [ %86, %82 ] %91 = load i32, ptr @ENXIO, align 4, !tbaa !14 %92 = sub nsw i32 0, %91 %93 = icmp eq i32 %90, %92 br i1 %93, label %98, label %94 94: ; preds = %89 %95 = getelementptr inbounds i8, ptr %4, i64 8 %96 = load i32, ptr %95, align 8, !tbaa !15 %97 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %90, i32 noundef %96) #2 br label %98 98: ; preds = %94, %89, %82 %99 = phi i32 [ %90, %94 ], [ %90, %89 ], [ %86, %82 ] ret i32 %99 } declare ptr @i2c_get_adapdata(ptr noundef) local_unnamed_addr #1 declare ptr @rcar_i2c_priv_to_dev(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(ptr noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_bus_barrier(ptr noundef) local_unnamed_addr #1 declare i32 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_do_reset(ptr noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_init(ptr noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_request_dma(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_prepare_msg(ptr noundef) local_unnamed_addr #1 declare i64 @wait_event_timeout(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rcar_i2c_cleanup_dma(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_put(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"rcar_i2c_priv", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !11, i64 24, !12, i64 32, !11, i64 40} !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 = !{!8, !8, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!7, !11, i64 40} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!7, !12, i64 32} !20 = !{!7, !11, i64 12} !21 = !{!7, !11, i64 24} !22 = !{!23, !11, i64 0} !23 = !{!"i2c_adapter", !11, i64 0} !24 = !{!7, !8, i64 16}
linux_drivers_i2c_busses_extr_i2c-rcar.c_rcar_i2c_master_xfer
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/zd1211rw/extr_zd_usb.c_speed.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/zd1211rw/extr_zd_usb.c_speed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"low\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"full\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"high\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"unknown speed\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @speed], section "llvm.metadata" @reltable.speed = private unnamed_addr constant [3 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.speed to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.speed to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.speed to i64)) to i32)], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef nonnull ptr @speed(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 3 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = shl i64 %5, 2 %7 = call ptr @llvm.load.relative.i64(ptr @reltable.speed, i64 %6) br label %8 8: ; preds = %1, %4 %9 = phi ptr [ %7, %4 ], [ @.str.3, %1 ] ret ptr %9 } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read) declare ptr @llvm.load.relative.i64(ptr, i64) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/net/wireless/zd1211rw/extr_zd_usb.c_speed.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/zd1211rw/extr_zd_usb.c_speed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"low\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"full\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"high\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"unknown speed\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @speed], section "llvm.metadata" @switch.table.speed = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.2, ptr @.str.1], align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef nonnull ptr @speed(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 3 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 %6 = getelementptr inbounds [3 x ptr], ptr @switch.table.speed, i64 0, i64 %5 %7 = load ptr, ptr %6, align 8 br label %8 8: ; preds = %1, %4 %9 = phi ptr [ %7, %4 ], [ @.str.3, %1 ] ret ptr %9 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_wireless_zd1211rw_extr_zd_usb.c_speed
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/core/extr_containers_list.c_vc_containers_list_destroy.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/core/extr_containers_list.c_vc_containers_list_destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, i64 } ; Function Attrs: nounwind uwtable define dso_local void @vc_containers_list_destroy(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %14, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %3 %8 = load ptr, ptr %0, align 8, !tbaa !11 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %7 %11 = tail call i32 @free(ptr noundef nonnull %8) #2 br label %12 12: ; preds = %10, %7 %13 = tail call i32 @free(ptr noundef nonnull %0) #2 br label %14 14: ; preds = %12, %3, %1 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/core/extr_containers_list.c_vc_containers_list_destroy.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/core/extr_containers_list.c_vc_containers_list_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @vc_containers_list_destroy(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %14, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %3 %8 = load ptr, ptr %0, align 8, !tbaa !12 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %7 %11 = tail call i32 @free(ptr noundef nonnull %8) #2 br label %12 12: ; preds = %10, %7 %13 = tail call i32 @free(ptr noundef nonnull %0) #2 br label %14 14: ; preds = %12, %3, %1 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0}
RetroArch_gfx_include_userland_containers_core_extr_containers_list.c_vc_containers_list_destroy
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/watchdog/extr_s3c2410_wdt.c___s3c2410wdt_stop.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/watchdog/extr_s3c2410_wdt.c___s3c2410wdt_stop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @wdt_base = dso_local local_unnamed_addr global i64 0, align 8 @S3C2410_WTCON = dso_local local_unnamed_addr global i64 0, align 8 @S3C2410_WTCON_ENABLE = dso_local local_unnamed_addr global i64 0, align 8 @S3C2410_WTCON_RSTEN = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @__s3c2410wdt_stop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__s3c2410wdt_stop() #0 { %1 = load i64, ptr @wdt_base, align 8, !tbaa !5 %2 = load i64, ptr @S3C2410_WTCON, align 8, !tbaa !5 %3 = add nsw i64 %2, %1 %4 = tail call i64 @readl(i64 noundef %3) #2 %5 = load i64, ptr @S3C2410_WTCON_ENABLE, align 8, !tbaa !5 %6 = load i64, ptr @S3C2410_WTCON_RSTEN, align 8, !tbaa !5 %7 = or i64 %6, %5 %8 = xor i64 %7, -1 %9 = and i64 %4, %8 %10 = load i64, ptr @wdt_base, align 8, !tbaa !5 %11 = load i64, ptr @S3C2410_WTCON, align 8, !tbaa !5 %12 = add nsw i64 %11, %10 %13 = tail call i32 @writel(i64 noundef %9, i64 noundef %12) #2 ret void } declare i64 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @writel(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/watchdog/extr_s3c2410_wdt.c___s3c2410wdt_stop.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/watchdog/extr_s3c2410_wdt.c___s3c2410wdt_stop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @wdt_base = common local_unnamed_addr global i64 0, align 8 @S3C2410_WTCON = common local_unnamed_addr global i64 0, align 8 @S3C2410_WTCON_ENABLE = common local_unnamed_addr global i64 0, align 8 @S3C2410_WTCON_RSTEN = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @__s3c2410wdt_stop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__s3c2410wdt_stop() #0 { %1 = load i64, ptr @wdt_base, align 8, !tbaa !6 %2 = load i64, ptr @S3C2410_WTCON, align 8, !tbaa !6 %3 = add nsw i64 %2, %1 %4 = tail call i64 @readl(i64 noundef %3) #2 %5 = load i64, ptr @S3C2410_WTCON_ENABLE, align 8, !tbaa !6 %6 = load i64, ptr @S3C2410_WTCON_RSTEN, align 8, !tbaa !6 %7 = or i64 %6, %5 %8 = xor i64 %7, -1 %9 = and i64 %4, %8 %10 = load i64, ptr @wdt_base, align 8, !tbaa !6 %11 = load i64, ptr @S3C2410_WTCON, align 8, !tbaa !6 %12 = add nsw i64 %11, %10 %13 = tail call i32 @writel(i64 noundef %9, i64 noundef %12) #2 ret void } declare i64 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @writel(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_watchdog_extr_s3c2410_wdt.c___s3c2410wdt_stop
; ModuleID = 'AnghaBench/vlc/modules/codec/extr_substx3g.c_FontSizeConvert.c' source_filename = "AnghaBench/vlc/modules/codec/extr_substx3g.c_FontSizeConvert.c" target datalayout = "e-m:e-p270:32:32-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 { double, double } @llvm.compiler.used = appending global [1 x ptr] [ptr @FontSizeConvert], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @FontSizeConvert(ptr noundef readonly %0, ptr noundef %1) #0 { %3 = icmp eq ptr %1, null %4 = zext i1 %3 to i32 %5 = tail call i64 @unlikely(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %23 7: ; preds = %2 %8 = icmp eq ptr %0, null %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load double, ptr %0, align 8, !tbaa !5 %14 = fcmp oeq double %13, 0.000000e+00 br i1 %14, label %15, label %16 15: ; preds = %12, %7 store <2 x double> <double 0.000000e+00, double 5.000000e+00>, ptr %1, align 8, !tbaa !10 br label %23 16: ; preds = %12 %17 = load double, ptr %1, align 8, !tbaa !5 %18 = fptrunc double %17 to float %19 = fpext float %18 to double %20 = fmul double %19, 5.000000e+00 %21 = fdiv double %20, %13 %22 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 store double %21, ptr %22, align 8, !tbaa !11 store double 0.000000e+00, ptr %1, align 8, !tbaa !5 br label %23 23: ; preds = %15, %16, %2 ret void } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8} !7 = !{!"double", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/vlc/modules/codec/extr_substx3g.c_FontSizeConvert.c' source_filename = "AnghaBench/vlc/modules/codec/extr_substx3g.c_FontSizeConvert.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 @FontSizeConvert], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @FontSizeConvert(ptr noundef readonly %0, ptr noundef %1) #0 { %3 = icmp eq ptr %1, null %4 = zext i1 %3 to i32 %5 = tail call i64 @unlikely(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %23 7: ; preds = %2 %8 = icmp eq ptr %0, null %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load double, ptr %0, align 8, !tbaa !6 %14 = fcmp oeq double %13, 0.000000e+00 br i1 %14, label %15, label %16 15: ; preds = %12, %7 store <2 x double> <double 0.000000e+00, double 5.000000e+00>, ptr %1, align 8, !tbaa !11 br label %23 16: ; preds = %12 %17 = load double, ptr %1, align 8, !tbaa !6 %18 = fptrunc double %17 to float %19 = fpext float %18 to double %20 = fmul double %19, 5.000000e+00 %21 = fdiv double %20, %13 %22 = getelementptr inbounds i8, ptr %1, i64 8 store double %21, ptr %22, align 8, !tbaa !12 store double 0.000000e+00, ptr %1, align 8, !tbaa !6 br label %23 23: ; preds = %15, %16, %2 ret void } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8} !8 = !{!"double", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 8}
vlc_modules_codec_extr_substx3g.c_FontSizeConvert
; ModuleID = 'AnghaBench/postgres/contrib/btree_gist/extr_btree_macaddr8.c_gbt_macad8lt.c' source_filename = "AnghaBench/postgres/contrib/btree_gist/extr_btree_macaddr8.c_gbt_macad8lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @macaddr8_lt = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gbt_macad8lt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gbt_macad8lt(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr @macaddr8_lt, align 4, !tbaa !5 %5 = tail call i32 @PointerGetDatum(ptr noundef %0) #2 %6 = tail call i32 @PointerGetDatum(ptr noundef %1) #2 %7 = tail call i32 @DirectFunctionCall2(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2 %8 = tail call i32 @DatumGetBool(i32 noundef %7) #2 ret i32 %8 } declare i32 @DatumGetBool(i32 noundef) local_unnamed_addr #1 declare i32 @DirectFunctionCall2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PointerGetDatum(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/postgres/contrib/btree_gist/extr_btree_macaddr8.c_gbt_macad8lt.c' source_filename = "AnghaBench/postgres/contrib/btree_gist/extr_btree_macaddr8.c_gbt_macad8lt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @macaddr8_lt = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gbt_macad8lt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gbt_macad8lt(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = load i32, ptr @macaddr8_lt, align 4, !tbaa !6 %5 = tail call i32 @PointerGetDatum(ptr noundef %0) #2 %6 = tail call i32 @PointerGetDatum(ptr noundef %1) #2 %7 = tail call i32 @DirectFunctionCall2(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2 %8 = tail call i32 @DatumGetBool(i32 noundef %7) #2 ret i32 %8 } declare i32 @DatumGetBool(i32 noundef) local_unnamed_addr #1 declare i32 @DirectFunctionCall2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PointerGetDatum(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"}
postgres_contrib_btree_gist_extr_btree_macaddr8.c_gbt_macad8lt
; ModuleID = 'AnghaBench/RetroArch/libretro-common/streams/extr_interface_stream.c_intfstream_get_chd_pregap.c' source_filename = "AnghaBench/RetroArch/libretro-common/streams/extr_interface_stream.c_intfstream_get_chd_pregap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INTFSTREAM_CHD = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @intfstream_get_chd_pregap(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/RetroArch/libretro-common/streams/extr_interface_stream.c_intfstream_get_chd_pregap.c' source_filename = "AnghaBench/RetroArch/libretro-common/streams/extr_interface_stream.c_intfstream_get_chd_pregap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INTFSTREAM_CHD = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @intfstream_get_chd_pregap(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
RetroArch_libretro-common_streams_extr_interface_stream.c_intfstream_get_chd_pregap
; ModuleID = 'AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fd_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fd_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.fd_data = type { i32, i32 } @fd_attach2 = dso_local local_unnamed_addr global i32 0, align 4 @M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4 @FD_EMPTY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fd_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @fd_attach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = load i32, ptr @fd_attach2, align 4, !tbaa !5 %4 = load i32, ptr @M_WAITOK, align 4, !tbaa !5 %5 = tail call i32 @g_post_event(i32 noundef %3, ptr noundef %2, i32 noundef %4, ptr noundef null) #2 %6 = load i32, ptr @FD_EMPTY, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.fd_data, ptr %2, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !9 %9 = or i32 %8, %6 store i32 %9, ptr %7, align 4, !tbaa !9 %10 = tail call i32 @bioq_init(ptr noundef %2) #2 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @g_post_event(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bioq_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"} !9 = !{!10, !6, i64 4} !10 = !{!"fd_data", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fd_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/fdc/extr_fdc.c_fd_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fd_attach2 = common local_unnamed_addr global i32 0, align 4 @M_WAITOK = common local_unnamed_addr global i32 0, align 4 @FD_EMPTY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fd_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @fd_attach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = load i32, ptr @fd_attach2, align 4, !tbaa !6 %4 = load i32, ptr @M_WAITOK, align 4, !tbaa !6 %5 = tail call i32 @g_post_event(i32 noundef %3, ptr noundef %2, i32 noundef %4, ptr noundef null) #2 %6 = load i32, ptr @FD_EMPTY, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %2, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = or i32 %8, %6 store i32 %9, ptr %7, align 4, !tbaa !10 %10 = tail call i32 @bioq_init(ptr noundef %2) #2 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @g_post_event(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @bioq_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"} !10 = !{!11, !7, i64 4} !11 = !{!"fd_data", !7, i64 0, !7, i64 4}
freebsd_sys_dev_fdc_extr_fdc.c_fd_attach
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_ucast_ftree.c_fabric_add_sw.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_ucast_ftree.c_fabric_add_sw.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i32 } %struct.TYPE_12__ = type { i64, i32 } @IB_NODE_TYPE_SWITCH = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @fabric_add_sw], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fabric_add_sw(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = tail call i64 @osm_node_get_type(ptr noundef %3) #2 %5 = load i64, ptr @IB_NODE_TYPE_SWITCH, align 8, !tbaa !10 %6 = icmp eq i64 %4, %5 %7 = zext i1 %6 to i32 %8 = tail call i32 @CL_ASSERT(i32 noundef %7) #2 %9 = tail call ptr @sw_create(ptr noundef nonnull %1) #2 %10 = icmp eq ptr %9, null br i1 %10, label %21, label %11 11: ; preds = %2 %12 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %13 = load ptr, ptr %1, align 8, !tbaa !5 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 1 %16 = tail call i32 @cl_qmap_insert(ptr noundef nonnull %12, i32 noundef %14, ptr noundef nonnull %15) #2 %17 = load i64, ptr %9, align 8, !tbaa !16 %18 = load i64, ptr %0, align 8, !tbaa !18 %19 = icmp sgt i64 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %11 store i64 %17, ptr %0, align 8, !tbaa !18 br label %21 21: ; preds = %11, %20, %2 ret void } declare i32 @CL_ASSERT(i32 noundef) local_unnamed_addr #1 declare i64 @osm_node_get_type(ptr noundef) local_unnamed_addr #1 declare ptr @sw_create(ptr noundef) local_unnamed_addr #1 declare i32 @cl_qmap_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_11__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !15, i64 0} !13 = !{!"TYPE_14__", !14, i64 0} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_12__", !11, i64 0, !15, i64 8} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_13__", !11, i64 0, !15, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_ucast_ftree.c_fabric_add_sw.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_ucast_ftree.c_fabric_add_sw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IB_NODE_TYPE_SWITCH = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @fabric_add_sw], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fabric_add_sw(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = tail call i64 @osm_node_get_type(ptr noundef %3) #2 %5 = load i64, ptr @IB_NODE_TYPE_SWITCH, align 8, !tbaa !11 %6 = icmp eq i64 %4, %5 %7 = zext i1 %6 to i32 %8 = tail call i32 @CL_ASSERT(i32 noundef %7) #2 %9 = tail call ptr @sw_create(ptr noundef nonnull %1) #2 %10 = icmp eq ptr %9, null br i1 %10, label %21, label %11 11: ; preds = %2 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %1, align 8, !tbaa !6 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = getelementptr inbounds i8, ptr %9, i64 8 %16 = tail call i32 @cl_qmap_insert(ptr noundef nonnull %12, i32 noundef %14, ptr noundef nonnull %15) #2 %17 = load i64, ptr %9, align 8, !tbaa !17 %18 = load i64, ptr %0, align 8, !tbaa !19 %19 = icmp sgt i64 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %11 store i64 %17, ptr %0, align 8, !tbaa !19 br label %21 21: ; preds = %11, %20, %2 ret void } declare i32 @CL_ASSERT(i32 noundef) local_unnamed_addr #1 declare i64 @osm_node_get_type(ptr noundef) local_unnamed_addr #1 declare ptr @sw_create(ptr noundef) local_unnamed_addr #1 declare i32 @cl_qmap_insert(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_11__", !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 = !{!"long", !9, i64 0} !13 = !{!14, !16, i64 0} !14 = !{!"TYPE_14__", !15, i64 0} !15 = !{!"TYPE_10__", !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_12__", !12, i64 0, !16, i64 8} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_13__", !12, i64 0, !16, i64 8}
freebsd_contrib_ofed_opensm_opensm_extr_osm_ucast_ftree.c_fabric_add_sw
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/bridge/synopsys/extr_dw-hdmi.c_dw_hdmi_set_channel_allocation.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/synopsys/extr_dw-hdmi.c_dw_hdmi_set_channel_allocation.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HDMI_FC_AUDICONF2 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dw_hdmi_set_channel_allocation(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @mutex_lock(ptr noundef %0) #2 %4 = load i32, ptr @HDMI_FC_AUDICONF2, align 4, !tbaa !5 %5 = tail call i32 @hdmi_writeb(ptr noundef %0, i32 noundef %1, i32 noundef %4) #2 %6 = tail call i32 @mutex_unlock(ptr noundef %0) #2 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @hdmi_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/bridge/synopsys/extr_dw-hdmi.c_dw_hdmi_set_channel_allocation.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/bridge/synopsys/extr_dw-hdmi.c_dw_hdmi_set_channel_allocation.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HDMI_FC_AUDICONF2 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dw_hdmi_set_channel_allocation(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @mutex_lock(ptr noundef %0) #2 %4 = load i32, ptr @HDMI_FC_AUDICONF2, align 4, !tbaa !6 %5 = tail call i32 @hdmi_writeb(ptr noundef %0, i32 noundef %1, i32 noundef %4) #2 %6 = tail call i32 @mutex_unlock(ptr noundef %0) #2 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @hdmi_writeb(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_bridge_synopsys_extr_dw-hdmi.c_dw_hdmi_set_channel_allocation
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nvc0.c_nvc0_fifo_context_ctor.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nvc0.c_nvc0_fifo_context_ctor.c" target datalayout = "e-m:e-p270:32:32-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.nvc0_fifo_base = type { ptr, i32 } @NVOBJ_FLAG_ZERO_ALLOC = dso_local local_unnamed_addr global i32 0, align 4 @NVOBJ_FLAG_HEAP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nvc0_fifo_context_ctor], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nvc0_fifo_context_ctor(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture readnone %3, i32 %4, ptr nocapture noundef writeonly %5) #0 { %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = load i32, ptr @NVOBJ_FLAG_ZERO_ALLOC, align 4, !tbaa !5 %9 = load i32, ptr @NVOBJ_FLAG_HEAP, align 4, !tbaa !5 %10 = or i32 %9, %8 %11 = call i32 @nouveau_fifo_context_create(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef null, i32 noundef 4096, i32 noundef 4096, i32 noundef %10, ptr noundef nonnull %7) #3 %12 = load ptr, ptr %7, align 8, !tbaa !9 %13 = call ptr @nv_object(ptr noundef %12) #3 store ptr %13, ptr %5, align 8, !tbaa !9 %14 = icmp eq i32 %11, 0 br i1 %14, label %15, label %40 15: ; preds = %6 %16 = load ptr, ptr %7, align 8, !tbaa !9 %17 = call i32 @nouveau_gpuobj_new(ptr noundef %0, ptr noundef null, i32 noundef 65536, i32 noundef 4096, i32 noundef 0, ptr noundef %16) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %40 19: ; preds = %15 %20 = load ptr, ptr %7, align 8, !tbaa !9 %21 = load ptr, ptr %20, align 8, !tbaa !11 %22 = load i32, ptr %21, align 4, !tbaa !13 %23 = call i32 @lower_32_bits(i32 noundef %22) #3 %24 = call i32 @nv_wo32(ptr noundef nonnull %20, i32 noundef 512, i32 noundef %23) #3 %25 = load ptr, ptr %7, align 8, !tbaa !9 %26 = load ptr, ptr %25, align 8, !tbaa !11 %27 = load i32, ptr %26, align 4, !tbaa !13 %28 = call i32 @upper_32_bits(i32 noundef %27) #3 %29 = call i32 @nv_wo32(ptr noundef nonnull %25, i32 noundef 516, i32 noundef %28) #3 %30 = load ptr, ptr %7, align 8, !tbaa !9 %31 = call i32 @nv_wo32(ptr noundef %30, i32 noundef 520, i32 noundef -1) #3 %32 = load ptr, ptr %7, align 8, !tbaa !9 %33 = call i32 @nv_wo32(ptr noundef %32, i32 noundef 524, i32 noundef 255) #3 %34 = call ptr @nouveau_client(ptr noundef %0) #3 %35 = load i32, ptr %34, align 4, !tbaa !15 %36 = load ptr, ptr %7, align 8, !tbaa !9 %37 = getelementptr inbounds %struct.nvc0_fifo_base, ptr %36, i64 0, i32 1 %38 = load ptr, ptr %36, align 8, !tbaa !11 %39 = call i32 @nouveau_vm_ref(i32 noundef %35, ptr noundef nonnull %37, ptr noundef %38) #3 br label %40 40: ; preds = %19, %15, %6 %41 = phi i32 [ %11, %6 ], [ %17, %15 ], [ %39, %19 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nouveau_fifo_context_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @nv_object(ptr noundef) local_unnamed_addr #2 declare i32 @nouveau_gpuobj_new(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nv_wo32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lower_32_bits(i32 noundef) local_unnamed_addr #2 declare i32 @upper_32_bits(i32 noundef) local_unnamed_addr #2 declare i32 @nouveau_vm_ref(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @nouveau_client(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"nvc0_fifo_base", !10, i64 0, !6, i64 8} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_4__", !6, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_5__", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nvc0.c_nvc0_fifo_context_ctor.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nvc0.c_nvc0_fifo_context_ctor.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NVOBJ_FLAG_ZERO_ALLOC = common local_unnamed_addr global i32 0, align 4 @NVOBJ_FLAG_HEAP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nvc0_fifo_context_ctor], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nvc0_fifo_context_ctor(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture readnone %3, i32 %4, ptr nocapture noundef writeonly %5) #0 { %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = load i32, ptr @NVOBJ_FLAG_ZERO_ALLOC, align 4, !tbaa !6 %9 = load i32, ptr @NVOBJ_FLAG_HEAP, align 4, !tbaa !6 %10 = or i32 %9, %8 %11 = call i32 @nouveau_fifo_context_create(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef null, i32 noundef 4096, i32 noundef 4096, i32 noundef %10, ptr noundef nonnull %7) #3 %12 = load ptr, ptr %7, align 8, !tbaa !10 %13 = call ptr @nv_object(ptr noundef %12) #3 store ptr %13, ptr %5, align 8, !tbaa !10 %14 = icmp eq i32 %11, 0 br i1 %14, label %15, label %40 15: ; preds = %6 %16 = load ptr, ptr %7, align 8, !tbaa !10 %17 = call i32 @nouveau_gpuobj_new(ptr noundef %0, ptr noundef null, i32 noundef 65536, i32 noundef 4096, i32 noundef 0, ptr noundef %16) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %40 19: ; preds = %15 %20 = load ptr, ptr %7, align 8, !tbaa !10 %21 = load ptr, ptr %20, align 8, !tbaa !12 %22 = load i32, ptr %21, align 4, !tbaa !14 %23 = call i32 @lower_32_bits(i32 noundef %22) #3 %24 = call i32 @nv_wo32(ptr noundef nonnull %20, i32 noundef 512, i32 noundef %23) #3 %25 = load ptr, ptr %7, align 8, !tbaa !10 %26 = load ptr, ptr %25, align 8, !tbaa !12 %27 = load i32, ptr %26, align 4, !tbaa !14 %28 = call i32 @upper_32_bits(i32 noundef %27) #3 %29 = call i32 @nv_wo32(ptr noundef nonnull %25, i32 noundef 516, i32 noundef %28) #3 %30 = load ptr, ptr %7, align 8, !tbaa !10 %31 = call i32 @nv_wo32(ptr noundef %30, i32 noundef 520, i32 noundef -1) #3 %32 = load ptr, ptr %7, align 8, !tbaa !10 %33 = call i32 @nv_wo32(ptr noundef %32, i32 noundef 524, i32 noundef 255) #3 %34 = call ptr @nouveau_client(ptr noundef %0) #3 %35 = load i32, ptr %34, align 4, !tbaa !16 %36 = load ptr, ptr %7, align 8, !tbaa !10 %37 = getelementptr inbounds i8, ptr %36, i64 8 %38 = load ptr, ptr %36, align 8, !tbaa !12 %39 = call i32 @nouveau_vm_ref(i32 noundef %35, ptr noundef nonnull %37, ptr noundef %38) #3 br label %40 40: ; preds = %19, %15, %6 %41 = phi i32 [ %11, %6 ], [ %17, %15 ], [ %39, %19 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @nouveau_fifo_context_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @nv_object(ptr noundef) local_unnamed_addr #2 declare i32 @nouveau_gpuobj_new(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nv_wo32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lower_32_bits(i32 noundef) local_unnamed_addr #2 declare i32 @upper_32_bits(i32 noundef) local_unnamed_addr #2 declare i32 @nouveau_vm_ref(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @nouveau_client(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"nvc0_fifo_base", !11, i64 0, !7, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_4__", !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_5__", !7, i64 0}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_engine_fifo_extr_nvc0.c_nvc0_fifo_context_ctor
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/extr_persona.c_kpersona_info.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/extr_persona.c_kpersona_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" @PERSONA_OP_INFO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @kpersona_info(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 1, ptr %4, align 8, !tbaa !9 %5 = load i32, ptr @PERSONA_OP_INFO, align 4, !tbaa !5 %6 = call i32 @__persona(i32 noundef %5, i32 noundef 0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @__persona(i32 noundef, i32 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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}
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/extr_persona.c_kpersona_info.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/extr_persona.c_kpersona_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PERSONA_OP_INFO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @kpersona_info(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store i64 1, ptr %4, align 8, !tbaa !10 %5 = load i32, ptr @PERSONA_OP_INFO, align 4, !tbaa !6 %6 = call i32 @__persona(i32 noundef %5, i32 noundef 0, ptr noundef %1, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %6 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @__persona(i32 noundef, i32 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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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}
darwin-xnu_libsyscall_wrappers_extr_persona.c_kpersona_info
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dir.c_dsl_dir_create_sync.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dir.c_dsl_dir_create_sync.c" target datalayout = "e-m:e-p270:32:32-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 { i32, ptr } %struct.TYPE_15__ = type { i32, ptr, ptr, i32, i32 } @DMU_OT_DSL_DIR = dso_local local_unnamed_addr global i32 0, align 4 @DMU_POOL_DIRECTORY_OBJECT = dso_local local_unnamed_addr global i32 0, align 4 @DMU_POOL_ROOT_DATASET = dso_local local_unnamed_addr global ptr null, align 8 @FTAG = dso_local local_unnamed_addr global i32 0, align 4 @DD_FIELD_FILESYSTEM_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @DMU_OT_DSL_PROPS = dso_local local_unnamed_addr global i32 0, align 4 @DMU_OT_NONE = dso_local local_unnamed_addr global i32 0, align 4 @DMU_OT_DSL_DIR_CHILD_MAP = dso_local local_unnamed_addr global i32 0, align 4 @SPA_VERSION_USED_BREAKDOWN = dso_local local_unnamed_addr global i64 0, align 8 @DD_FLAG_USED_BREAKDOWN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dsl_dir_create_sync(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %9 = load i32, ptr @DMU_OT_DSL_DIR, align 4, !tbaa !11 %10 = tail call i32 @dmu_object_alloc(ptr noundef %8, i32 noundef %9, i32 noundef 0, i32 noundef %9, i32 noundef 32, ptr noundef %3) #3 store i32 %10, ptr %5, align 4, !tbaa !11 %11 = icmp eq ptr %1, null br i1 %11, label %16, label %12 12: ; preds = %4 %13 = tail call ptr @dsl_dir_phys(ptr noundef nonnull %1) #3 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = call i32 @zap_add(ptr noundef %8, i32 noundef %14, ptr noundef %2, i32 noundef 4, i32 noundef 1, ptr noundef nonnull %5, ptr noundef %3) #3 br label %20 16: ; preds = %4 %17 = load i32, ptr @DMU_POOL_DIRECTORY_OBJECT, align 4, !tbaa !11 %18 = load ptr, ptr @DMU_POOL_ROOT_DATASET, align 8, !tbaa !14 %19 = call i32 @zap_add(ptr noundef %8, i32 noundef %17, ptr noundef %18, i32 noundef 4, i32 noundef 1, ptr noundef nonnull %5, ptr noundef %3) #3 br label %20 20: ; preds = %16, %12 %21 = phi i32 [ %19, %16 ], [ %15, %12 ] %22 = call i32 @VERIFY0(i32 noundef %21) #3 %23 = load i32, ptr %5, align 4, !tbaa !11 %24 = load i32, ptr @FTAG, align 4, !tbaa !11 %25 = call i32 @dmu_bonus_hold(ptr noundef %8, i32 noundef %23, i32 noundef %24, ptr noundef nonnull %6) #3 %26 = call i32 @VERIFY0(i32 noundef %25) #3 %27 = load ptr, ptr %6, align 8, !tbaa !14 %28 = call i32 @dmu_buf_will_dirty(ptr noundef %27, ptr noundef %3) #3 %29 = load ptr, ptr %6, align 8, !tbaa !14 %30 = load ptr, ptr %29, align 8, !tbaa !15 %31 = call i32 (...) @gethrestime_sec() #3 %32 = getelementptr inbounds %struct.TYPE_15__, ptr %30, i64 0, i32 4 store i32 %31, ptr %32, align 4, !tbaa !17 br i1 %11, label %38, label %33 33: ; preds = %20 %34 = load i32, ptr %1, align 4, !tbaa !19 %35 = getelementptr inbounds %struct.TYPE_15__, ptr %30, i64 0, i32 3 store i32 %34, ptr %35, align 8, !tbaa !21 %36 = load i32, ptr @DD_FIELD_FILESYSTEM_COUNT, align 4, !tbaa !11 %37 = call i32 @dsl_fs_ss_count_adjust(ptr noundef nonnull %1, i32 noundef 1, i32 noundef %36, ptr noundef %3) #3 br label %38 38: ; preds = %33, %20 %39 = load i32, ptr @DMU_OT_DSL_PROPS, align 4, !tbaa !11 %40 = load i32, ptr @DMU_OT_NONE, align 4, !tbaa !11 %41 = call ptr @zap_create(ptr noundef %8, i32 noundef %39, i32 noundef %40, i32 noundef 0, ptr noundef %3) #3 %42 = getelementptr inbounds %struct.TYPE_15__, ptr %30, i64 0, i32 2 store ptr %41, ptr %42, align 8, !tbaa !22 %43 = load i32, ptr @DMU_OT_DSL_DIR_CHILD_MAP, align 4, !tbaa !11 %44 = load i32, ptr @DMU_OT_NONE, align 4, !tbaa !11 %45 = call ptr @zap_create(ptr noundef %8, i32 noundef %43, i32 noundef %44, i32 noundef 0, ptr noundef %3) #3 %46 = getelementptr inbounds %struct.TYPE_15__, ptr %30, i64 0, i32 1 store ptr %45, ptr %46, align 8, !tbaa !23 %47 = load i32, ptr %0, align 8, !tbaa !24 %48 = call i64 @spa_version(i32 noundef %47) #3 %49 = load i64, ptr @SPA_VERSION_USED_BREAKDOWN, align 8, !tbaa !25 %50 = icmp slt i64 %48, %49 br i1 %50, label %55, label %51 51: ; preds = %38 %52 = load i32, ptr @DD_FLAG_USED_BREAKDOWN, align 4, !tbaa !11 %53 = load i32, ptr %30, align 8, !tbaa !27 %54 = or i32 %53, %52 store i32 %54, ptr %30, align 8, !tbaa !27 br label %55 55: ; preds = %51, %38 %56 = load ptr, ptr %6, align 8, !tbaa !14 %57 = load i32, ptr @FTAG, align 4, !tbaa !11 %58 = call i32 @dmu_buf_rele(ptr noundef %56, i32 noundef %57) #3 %59 = load i32, ptr %5, align 4, !tbaa !11 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %59 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @dmu_object_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @VERIFY0(i32 noundef) local_unnamed_addr #2 declare i32 @zap_add(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @dsl_dir_phys(ptr noundef) local_unnamed_addr #2 declare i32 @dmu_bonus_hold(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dmu_buf_will_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gethrestime_sec(...) local_unnamed_addr #2 declare i32 @dsl_fs_ss_count_adjust(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @zap_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @spa_version(i32 noundef) local_unnamed_addr #2 declare i32 @dmu_buf_rele(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, !10, i64 8} !6 = !{!"TYPE_13__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_17__", !7, i64 0} !14 = !{!10, !10, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_16__", !10, i64 0} !17 = !{!18, !7, i64 28} !18 = !{!"TYPE_15__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_14__", !7, i64 0} !21 = !{!18, !7, i64 24} !22 = !{!18, !10, i64 16} !23 = !{!18, !10, i64 8} !24 = !{!6, !7, i64 0} !25 = !{!26, !26, i64 0} !26 = !{!"long", !8, i64 0} !27 = !{!18, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dir.c_dsl_dir_create_sync.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_dir.c_dsl_dir_create_sync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMU_OT_DSL_DIR = common local_unnamed_addr global i32 0, align 4 @DMU_POOL_DIRECTORY_OBJECT = common local_unnamed_addr global i32 0, align 4 @DMU_POOL_ROOT_DATASET = common local_unnamed_addr global ptr null, align 8 @FTAG = common local_unnamed_addr global i32 0, align 4 @DD_FIELD_FILESYSTEM_COUNT = common local_unnamed_addr global i32 0, align 4 @DMU_OT_DSL_PROPS = common local_unnamed_addr global i32 0, align 4 @DMU_OT_NONE = common local_unnamed_addr global i32 0, align 4 @DMU_OT_DSL_DIR_CHILD_MAP = common local_unnamed_addr global i32 0, align 4 @SPA_VERSION_USED_BREAKDOWN = common local_unnamed_addr global i64 0, align 8 @DD_FLAG_USED_BREAKDOWN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dsl_dir_create_sync(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %9 = load i32, ptr @DMU_OT_DSL_DIR, align 4, !tbaa !12 %10 = tail call i32 @dmu_object_alloc(ptr noundef %8, i32 noundef %9, i32 noundef 0, i32 noundef %9, i32 noundef 32, ptr noundef %3) #3 store i32 %10, ptr %5, align 4, !tbaa !12 %11 = icmp eq ptr %1, null br i1 %11, label %16, label %12 12: ; preds = %4 %13 = tail call ptr @dsl_dir_phys(ptr noundef nonnull %1) #3 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = call i32 @zap_add(ptr noundef %8, i32 noundef %14, ptr noundef %2, i32 noundef 4, i32 noundef 1, ptr noundef nonnull %5, ptr noundef %3) #3 br label %20 16: ; preds = %4 %17 = load i32, ptr @DMU_POOL_DIRECTORY_OBJECT, align 4, !tbaa !12 %18 = load ptr, ptr @DMU_POOL_ROOT_DATASET, align 8, !tbaa !15 %19 = call i32 @zap_add(ptr noundef %8, i32 noundef %17, ptr noundef %18, i32 noundef 4, i32 noundef 1, ptr noundef nonnull %5, ptr noundef %3) #3 br label %20 20: ; preds = %16, %12 %21 = phi i32 [ %19, %16 ], [ %15, %12 ] %22 = call i32 @VERIFY0(i32 noundef %21) #3 %23 = load i32, ptr %5, align 4, !tbaa !12 %24 = load i32, ptr @FTAG, align 4, !tbaa !12 %25 = call i32 @dmu_bonus_hold(ptr noundef %8, i32 noundef %23, i32 noundef %24, ptr noundef nonnull %6) #3 %26 = call i32 @VERIFY0(i32 noundef %25) #3 %27 = load ptr, ptr %6, align 8, !tbaa !15 %28 = call i32 @dmu_buf_will_dirty(ptr noundef %27, ptr noundef %3) #3 %29 = load ptr, ptr %6, align 8, !tbaa !15 %30 = load ptr, ptr %29, align 8, !tbaa !16 %31 = call i32 @gethrestime_sec() #3 %32 = getelementptr inbounds i8, ptr %30, i64 28 store i32 %31, ptr %32, align 4, !tbaa !18 br i1 %11, label %38, label %33 33: ; preds = %20 %34 = load i32, ptr %1, align 4, !tbaa !20 %35 = getelementptr inbounds i8, ptr %30, i64 24 store i32 %34, ptr %35, align 8, !tbaa !22 %36 = load i32, ptr @DD_FIELD_FILESYSTEM_COUNT, align 4, !tbaa !12 %37 = call i32 @dsl_fs_ss_count_adjust(ptr noundef nonnull %1, i32 noundef 1, i32 noundef %36, ptr noundef %3) #3 br label %38 38: ; preds = %33, %20 %39 = load i32, ptr @DMU_OT_DSL_PROPS, align 4, !tbaa !12 %40 = load i32, ptr @DMU_OT_NONE, align 4, !tbaa !12 %41 = call ptr @zap_create(ptr noundef %8, i32 noundef %39, i32 noundef %40, i32 noundef 0, ptr noundef %3) #3 %42 = getelementptr inbounds i8, ptr %30, i64 16 store ptr %41, ptr %42, align 8, !tbaa !23 %43 = load i32, ptr @DMU_OT_DSL_DIR_CHILD_MAP, align 4, !tbaa !12 %44 = load i32, ptr @DMU_OT_NONE, align 4, !tbaa !12 %45 = call ptr @zap_create(ptr noundef %8, i32 noundef %43, i32 noundef %44, i32 noundef 0, ptr noundef %3) #3 %46 = getelementptr inbounds i8, ptr %30, i64 8 store ptr %45, ptr %46, align 8, !tbaa !24 %47 = load i32, ptr %0, align 8, !tbaa !25 %48 = call i64 @spa_version(i32 noundef %47) #3 %49 = load i64, ptr @SPA_VERSION_USED_BREAKDOWN, align 8, !tbaa !26 %50 = icmp slt i64 %48, %49 br i1 %50, label %55, label %51 51: ; preds = %38 %52 = load i32, ptr @DD_FLAG_USED_BREAKDOWN, align 4, !tbaa !12 %53 = load i32, ptr %30, align 8, !tbaa !28 %54 = or i32 %53, %52 store i32 %54, ptr %30, align 8, !tbaa !28 br label %55 55: ; preds = %51, %38 %56 = load ptr, ptr %6, align 8, !tbaa !15 %57 = load i32, ptr @FTAG, align 4, !tbaa !12 %58 = call i32 @dmu_buf_rele(ptr noundef %56, i32 noundef %57) #3 %59 = load i32, ptr %5, align 4, !tbaa !12 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %59 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @dmu_object_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @VERIFY0(i32 noundef) local_unnamed_addr #2 declare i32 @zap_add(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @dsl_dir_phys(ptr noundef) local_unnamed_addr #2 declare i32 @dmu_bonus_hold(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dmu_buf_will_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gethrestime_sec(...) local_unnamed_addr #2 declare i32 @dsl_fs_ss_count_adjust(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @zap_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @spa_version(i32 noundef) local_unnamed_addr #2 declare i32 @dmu_buf_rele(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, !11, i64 8} !7 = !{!"TYPE_13__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_17__", !8, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_16__", !11, i64 0} !18 = !{!19, !8, i64 28} !19 = !{!"TYPE_15__", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_14__", !8, i64 0} !22 = !{!19, !8, i64 24} !23 = !{!19, !11, i64 16} !24 = !{!19, !11, i64 8} !25 = !{!7, !8, i64 0} !26 = !{!27, !27, i64 0} !27 = !{!"long", !9, i64 0} !28 = !{!19, !8, i64 0}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_dsl_dir.c_dsl_dir_create_sync
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_should_refresh_lock_res.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_should_refresh_lock_res.c" target datalayout = "e-m:e-p270:32:32-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.ocfs2_lock_res = type { i32, i32 } @OCFS2_LOCK_NEEDS_REFRESH = dso_local local_unnamed_addr global i32 0, align 4 @OCFS2_LOCK_REFRESHING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"status %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_should_refresh_lock_res], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ocfs2_should_refresh_lock_res(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.ocfs2_lock_res, ptr %0, i64 0, i32 1 %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @OCFS2_LOCK_NEEDS_REFRESH, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %23, label %8 8: ; preds = %1, %13 %9 = phi i32 [ %17, %13 ], [ %4, %1 ] %10 = load i32, ptr @OCFS2_LOCK_REFRESHING, align 4, !tbaa !10 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 br i1 %12, label %21, label %13 13: ; preds = %8 %14 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 %15 = tail call i32 @ocfs2_wait_on_refreshing_lock(ptr noundef nonnull %0) #2 %16 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %17 = load i32, ptr %0, align 4, !tbaa !5 %18 = load i32, ptr @OCFS2_LOCK_NEEDS_REFRESH, align 4, !tbaa !10 %19 = and i32 %18, %17 %20 = icmp eq i32 %19, 0 br i1 %20, label %23, label %8 21: ; preds = %8 %22 = tail call i32 @lockres_or_flags(ptr noundef nonnull %0, i32 noundef %10) #2 br label %23 23: ; preds = %13, %1, %21 %24 = phi i32 [ 1, %21 ], [ 0, %1 ], [ 0, %13 ] %25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 %26 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %24) #2 ret i32 %24 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ocfs2_wait_on_refreshing_lock(ptr noundef) local_unnamed_addr #1 declare i32 @lockres_or_flags(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlog(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 = !{!"ocfs2_lock_res", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_should_refresh_lock_res.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_dlmglue.c_ocfs2_should_refresh_lock_res.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OCFS2_LOCK_NEEDS_REFRESH = common local_unnamed_addr global i32 0, align 4 @OCFS2_LOCK_REFRESHING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"status %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ocfs2_should_refresh_lock_res], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @ocfs2_should_refresh_lock_res(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @OCFS2_LOCK_NEEDS_REFRESH, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %23, label %8 8: ; preds = %1, %13 %9 = phi i32 [ %17, %13 ], [ %4, %1 ] %10 = load i32, ptr @OCFS2_LOCK_REFRESHING, align 4, !tbaa !11 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 br i1 %12, label %21, label %13 13: ; preds = %8 %14 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 %15 = tail call i32 @ocfs2_wait_on_refreshing_lock(ptr noundef nonnull %0) #2 %16 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %17 = load i32, ptr %0, align 4, !tbaa !6 %18 = load i32, ptr @OCFS2_LOCK_NEEDS_REFRESH, align 4, !tbaa !11 %19 = and i32 %18, %17 %20 = icmp eq i32 %19, 0 br i1 %20, label %23, label %8 21: ; preds = %8 %22 = tail call i32 @lockres_or_flags(ptr noundef nonnull %0, i32 noundef %10) #2 br label %23 23: ; preds = %13, %1, %21 %24 = phi i32 [ 1, %21 ], [ 0, %1 ], [ 0, %13 ] %25 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 %26 = tail call i32 @mlog(i32 noundef 0, ptr noundef nonnull @.str, i32 noundef %24) #2 ret i32 %24 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ocfs2_wait_on_refreshing_lock(ptr noundef) local_unnamed_addr #1 declare i32 @lockres_or_flags(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlog(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 = !{!"ocfs2_lock_res", !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}
linux_fs_ocfs2_extr_dlmglue.c_ocfs2_should_refresh_lock_res
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_mci.c_ath_mci_cleanup.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_mci.c_ath_mci_cleanup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MCI = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"MCI De-Initialized\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ath_mci_cleanup(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call ptr @ath9k_hw_common(ptr noundef %2) #2 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call i32 @ar9003_mci_cleanup(ptr noundef %4) #2 %6 = load i32, ptr @MCI, align 4, !tbaa !10 %7 = tail call i32 @ath_dbg(ptr noundef %3, i32 noundef %6, ptr noundef nonnull @.str) #2 ret void } declare ptr @ath9k_hw_common(ptr noundef) local_unnamed_addr #1 declare i32 @ar9003_mci_cleanup(ptr noundef) local_unnamed_addr #1 declare i32 @ath_dbg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ath_softc", !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/net/wireless/ath/ath9k/extr_mci.c_ath_mci_cleanup.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_mci.c_ath_mci_cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MCI = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"MCI De-Initialized\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ath_mci_cleanup(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call ptr @ath9k_hw_common(ptr noundef %2) #2 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call i32 @ar9003_mci_cleanup(ptr noundef %4) #2 %6 = load i32, ptr @MCI, align 4, !tbaa !11 %7 = tail call i32 @ath_dbg(ptr noundef %3, i32 noundef %6, ptr noundef nonnull @.str) #2 ret void } declare ptr @ath9k_hw_common(ptr noundef) local_unnamed_addr #1 declare i32 @ar9003_mci_cleanup(ptr noundef) local_unnamed_addr #1 declare i32 @ath_dbg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ath_softc", !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_net_wireless_ath_ath9k_extr_mci.c_ath_mci_cleanup
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_hwlat.c_hwlat_tracer_init.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace_hwlat.c_hwlat_tracer_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64 } @hwlat_busy = dso_local local_unnamed_addr global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @hwlat_trace = dso_local local_unnamed_addr global ptr null, align 8 @disable_migrate = dso_local local_unnamed_addr global i32 0, align 4 @hwlat_data = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @tracing_thresh = dso_local local_unnamed_addr global i64 0, align 8 @save_tracing_thresh = dso_local local_unnamed_addr global i64 0, align 8 @last_tracing_thresh = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @hwlat_tracer_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hwlat_tracer_init(ptr noundef %0) #0 { %2 = load i32, ptr @hwlat_busy, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load i32, ptr @EBUSY, align 4, !tbaa !5 %6 = sub nsw i32 0, %5 br label %18 7: ; preds = %1 store ptr %0, ptr @hwlat_trace, align 8, !tbaa !9 store i32 0, ptr @disable_migrate, align 4, !tbaa !5 store i64 0, ptr @hwlat_data, align 8, !tbaa !11 store i64 0, ptr %0, align 8, !tbaa !14 %8 = load i64, ptr @tracing_thresh, align 8, !tbaa !16 store i64 %8, ptr @save_tracing_thresh, align 8, !tbaa !16 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = load i64, ptr @last_tracing_thresh, align 8, !tbaa !16 store i64 %11, ptr @tracing_thresh, align 8, !tbaa !16 br label %12 12: ; preds = %10, %7 %13 = tail call i64 @tracer_tracing_is_on(ptr noundef nonnull %0) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %12 %16 = tail call i32 @hwlat_tracer_start(ptr noundef nonnull %0) #2 br label %17 17: ; preds = %15, %12 store i32 1, ptr @hwlat_busy, align 4, !tbaa !5 br label %18 18: ; preds = %17, %4 %19 = phi i32 [ %6, %4 ], [ 0, %17 ] ret i32 %19 } declare i64 @tracer_tracing_is_on(ptr noundef) local_unnamed_addr #1 declare i32 @hwlat_tracer_start(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"trace_array", !13, i64 0} !16 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_hwlat.c_hwlat_tracer_init.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace_hwlat.c_hwlat_tracer_init.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 { i64 } @hwlat_busy = common local_unnamed_addr global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @hwlat_trace = common local_unnamed_addr global ptr null, align 8 @disable_migrate = common local_unnamed_addr global i32 0, align 4 @hwlat_data = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @tracing_thresh = common local_unnamed_addr global i64 0, align 8 @save_tracing_thresh = common local_unnamed_addr global i64 0, align 8 @last_tracing_thresh = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @hwlat_tracer_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @hwlat_tracer_init(ptr noundef %0) #0 { %2 = load i32, ptr @hwlat_busy, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load i32, ptr @EBUSY, align 4, !tbaa !6 %6 = sub nsw i32 0, %5 br label %18 7: ; preds = %1 store ptr %0, ptr @hwlat_trace, align 8, !tbaa !10 store i32 0, ptr @disable_migrate, align 4, !tbaa !6 store i64 0, ptr @hwlat_data, align 8, !tbaa !12 store i64 0, ptr %0, align 8, !tbaa !15 %8 = load i64, ptr @tracing_thresh, align 8, !tbaa !17 store i64 %8, ptr @save_tracing_thresh, align 8, !tbaa !17 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = load i64, ptr @last_tracing_thresh, align 8, !tbaa !17 store i64 %11, ptr @tracing_thresh, align 8, !tbaa !17 br label %12 12: ; preds = %10, %7 %13 = tail call i64 @tracer_tracing_is_on(ptr noundef nonnull %0) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %12 %16 = tail call i32 @hwlat_tracer_start(ptr noundef nonnull %0) #2 br label %17 17: ; preds = %15, %12 store i32 1, ptr @hwlat_busy, align 4, !tbaa !6 br label %18 18: ; preds = %17, %4 %19 = phi i32 [ %6, %4 ], [ 0, %17 ] ret i32 %19 } declare i64 @tracer_tracing_is_on(ptr noundef) local_unnamed_addr #1 declare i32 @hwlat_tracer_start(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"trace_array", !14, i64 0} !17 = !{!14, !14, i64 0}
linux_kernel_trace_extr_trace_hwlat.c_hwlat_tracer_init
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/examples/extr_cwebp.c_PrintExtraInfoLossy.c' source_filename = "AnghaBench/sumatrapdf/ext/libwebp/examples/extr_cwebp.c_PrintExtraInfoLossy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i32, ptr } %struct.TYPE_6__ = type { i32, ptr, ptr, i32, ptr, ptr, i64, i32, i32, i32 } @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"%7d %2.2f\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"File: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Dimension: %d x %d%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c" (with alpha)\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [87 x i8] c"Output: %d bytes Y-U-V-All-PSNR %2.2f %2.2f %2.2f %2.2f dB\0A (%.2f bpp)\0A\00", align 1 @.str.6 = private unnamed_addr constant [121 x i8] c"block count: intra4: %6d (%.2f%%)\0A intra16: %6d (%.2f%%)\0A skipped: %6d (%.2f%%)\0A\00", align 1 @.str.7 = private unnamed_addr constant [87 x i8] c"bytes used: header: %6d (%.1f%%)\0A mode-partition: %6d (%.1f%%)\0A\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c" transparency: %6d (%.1f dB)\0A\00", align 1 @.str.9 = private unnamed_addr constant [68 x i8] c" Residuals bytes |segment 1|segment 2|segment 3|segment 4| total\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c" intra4-coeffs: \00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c" intra16-coeffs: \00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c" chroma coeffs: \00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c" macroblocks: \00", align 1 @.str.14 = private unnamed_addr constant [19 x i8] c" quantizer: \00", align 1 @.str.15 = private unnamed_addr constant [19 x i8] c" filter level: \00", align 1 @.str.16 = private unnamed_addr constant [29 x i8] c"------------------+---------\00", align 1 @.str.17 = private unnamed_addr constant [50 x i8] c"+---------+---------+---------+-----------------\0A\00", align 1 @.str.18 = private unnamed_addr constant [19 x i8] c" segments total: \00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"alpha\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @PrintExtraInfoLossy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @PrintExtraInfoLossy(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca [4 x i32], align 16 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = icmp eq i32 %1, 0 br i1 %8, label %17, label %9 9: ; preds = %4 %10 = load i32, ptr @stderr, align 4, !tbaa !11 %11 = load i32, ptr %7, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds double, ptr %13, i64 3 %15 = load double, ptr %14, align 8, !tbaa !16 %16 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %11, double noundef %15) #4 br label %162 17: ; preds = %4 %18 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !18 %20 = load i32, ptr %19, align 4, !tbaa !11 %21 = getelementptr inbounds i32, ptr %19, i64 1 %22 = load i32, ptr %21, align 4, !tbaa !11 %23 = getelementptr inbounds i32, ptr %19, i64 2 %24 = load i32, ptr %23, align 4, !tbaa !11 %25 = add nsw i32 %22, %20 %26 = load i32, ptr @stderr, align 4, !tbaa !11 %27 = tail call i32 @WFPRINTF(i32 noundef %26, ptr noundef nonnull @.str.1, ptr noundef %3) #4 %28 = load i32, ptr @stderr, align 4, !tbaa !11 %29 = load i32, ptr %0, align 8, !tbaa !19 %30 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %31 = load i32, ptr %30, align 4, !tbaa !20 %32 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 3 %33 = load i32, ptr %32, align 8, !tbaa !21 %34 = icmp eq i32 %33, 0 %35 = select i1 %34, ptr @.str.4, ptr @.str.3 %36 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef nonnull @.str.2, i32 noundef %29, i32 noundef %31, ptr noundef nonnull %35) #4 %37 = load i32, ptr @stderr, align 4, !tbaa !11 %38 = load i32, ptr %7, align 8, !tbaa !12 %39 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 1 %40 = load ptr, ptr %39, align 8, !tbaa !15 %41 = load double, ptr %40, align 8, !tbaa !16 %42 = getelementptr inbounds double, ptr %40, i64 1 %43 = load double, ptr %42, align 8, !tbaa !16 %44 = getelementptr inbounds double, ptr %40, i64 2 %45 = load double, ptr %44, align 8, !tbaa !16 %46 = getelementptr inbounds double, ptr %40, i64 3 %47 = load double, ptr %46, align 8, !tbaa !16 %48 = sitofp i32 %38 to float %49 = fmul float %48, 8.000000e+00 %50 = load i32, ptr %0, align 8, !tbaa !19 %51 = sitofp i32 %50 to float %52 = fdiv float %49, %51 %53 = load i32, ptr %30, align 4, !tbaa !20 %54 = sitofp i32 %53 to float %55 = fdiv float %52, %54 %56 = fpext float %55 to double %57 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef nonnull @.str.5, i32 noundef %38, double noundef %41, double noundef %43, double noundef %45, double noundef %47, double noundef %56) #4 %58 = icmp sgt i32 %25, 0 br i1 %58, label %59, label %156 59: ; preds = %17 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, i8 0, i64 16, i1 false) %60 = load i32, ptr @stderr, align 4, !tbaa !11 %61 = sitofp i32 %20 to float %62 = fmul float %61, 1.000000e+02 %63 = sitofp i32 %25 to float %64 = fdiv float %62, %63 %65 = fpext float %64 to double %66 = sitofp i32 %22 to float %67 = fmul float %66, 1.000000e+02 %68 = fdiv float %67, %63 %69 = fpext float %68 to double %70 = sitofp i32 %24 to float %71 = fmul float %70, 1.000000e+02 %72 = fdiv float %71, %63 %73 = fpext float %72 to double %74 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef nonnull @.str.6, i32 noundef %20, double noundef %65, i32 noundef %22, double noundef %69, i32 noundef %24, double noundef %73) #4 %75 = load i32, ptr @stderr, align 4, !tbaa !11 %76 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 4 %77 = load ptr, ptr %76, align 8, !tbaa !22 %78 = load float, ptr %77, align 4, !tbaa !23 %79 = fpext float %78 to double %80 = fmul float %78, 1.000000e+02 %81 = load i32, ptr %7, align 8, !tbaa !12 %82 = sitofp i32 %81 to float %83 = fdiv float %80, %82 %84 = fpext float %83 to double %85 = getelementptr inbounds float, ptr %77, i64 1 %86 = load float, ptr %85, align 4, !tbaa !23 %87 = fpext float %86 to double %88 = fmul float %86, 1.000000e+02 %89 = fdiv float %88, %82 %90 = fpext float %89 to double %91 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef nonnull @.str.7, double noundef %79, double noundef %84, double noundef %87, double noundef %90) #4 %92 = load i32, ptr %32, align 8, !tbaa !21 %93 = icmp sgt i32 %92, 0 br i1 %93, label %94, label %100 94: ; preds = %59 %95 = load i32, ptr @stderr, align 4, !tbaa !11 %96 = load ptr, ptr %39, align 8, !tbaa !15 %97 = getelementptr inbounds double, ptr %96, i64 4 %98 = load double, ptr %97, align 8, !tbaa !16 %99 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %95, ptr noundef nonnull @.str.8, i32 noundef %92, double noundef %98) #4 br label %100 100: ; preds = %94, %59 %101 = load i32, ptr @stderr, align 4, !tbaa !11 %102 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef nonnull @.str.9) #4 %103 = icmp eq i32 %2, 0 br i1 %103, label %129, label %104 104: ; preds = %100 %105 = load i32, ptr @stderr, align 4, !tbaa !11 %106 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %105, ptr noundef nonnull @.str.10) #4 %107 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 5 %108 = load ptr, ptr %107, align 8, !tbaa !25 %109 = load ptr, ptr %108, align 8, !tbaa !26 %110 = load i32, ptr %7, align 8, !tbaa !12 %111 = sitofp i32 %110 to float %112 = call i32 @PrintByteCount(ptr noundef %109, float noundef %111, ptr noundef nonnull %5) #4 %113 = load i32, ptr @stderr, align 4, !tbaa !11 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %113, ptr noundef nonnull @.str.11) #4 %115 = load ptr, ptr %107, align 8, !tbaa !25 %116 = getelementptr inbounds ptr, ptr %115, i64 1 %117 = load ptr, ptr %116, align 8, !tbaa !26 %118 = load i32, ptr %7, align 8, !tbaa !12 %119 = sitofp i32 %118 to float %120 = call i32 @PrintByteCount(ptr noundef %117, float noundef %119, ptr noundef nonnull %5) #4 %121 = load i32, ptr @stderr, align 4, !tbaa !11 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef nonnull @.str.12) #4 %123 = load ptr, ptr %107, align 8, !tbaa !25 %124 = getelementptr inbounds ptr, ptr %123, i64 2 %125 = load ptr, ptr %124, align 8, !tbaa !26 %126 = load i32, ptr %7, align 8, !tbaa !12 %127 = sitofp i32 %126 to float %128 = call i32 @PrintByteCount(ptr noundef %125, float noundef %127, ptr noundef nonnull %5) #4 br label %129 129: ; preds = %104, %100 %130 = load i32, ptr @stderr, align 4, !tbaa !11 %131 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %130, ptr noundef nonnull @.str.13) #4 %132 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 9 %133 = load i32, ptr %132, align 8, !tbaa !27 %134 = call i32 @PrintPercents(i32 noundef %133) #4 %135 = load i32, ptr @stderr, align 4, !tbaa !11 %136 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %135, ptr noundef nonnull @.str.14) #4 %137 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 8 %138 = load i32, ptr %137, align 4, !tbaa !28 %139 = call i32 @PrintValues(i32 noundef %138) #4 %140 = load i32, ptr @stderr, align 4, !tbaa !11 %141 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %140, ptr noundef nonnull @.str.15) #4 %142 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 7 %143 = load i32, ptr %142, align 8, !tbaa !29 %144 = call i32 @PrintValues(i32 noundef %143) #4 br i1 %103, label %155, label %145 145: ; preds = %129 %146 = load i32, ptr @stderr, align 4, !tbaa !11 %147 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %146, ptr noundef nonnull @.str.16) #4 %148 = load i32, ptr @stderr, align 4, !tbaa !11 %149 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %148, ptr noundef nonnull @.str.17) #4 %150 = load i32, ptr @stderr, align 4, !tbaa !11 %151 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %150, ptr noundef nonnull @.str.18) #4 %152 = load i32, ptr %7, align 8, !tbaa !12 %153 = sitofp i32 %152 to float %154 = call i32 @PrintByteCount(ptr noundef nonnull %5, float noundef %153, ptr noundef null) #4 br label %155 155: ; preds = %145, %129 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 br label %156 156: ; preds = %155, %17 %157 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 6 %158 = load i64, ptr %157, align 8, !tbaa !30 %159 = icmp sgt i64 %158, 0 br i1 %159, label %160, label %162 160: ; preds = %156 %161 = call i32 @PrintFullLosslessInfo(ptr noundef nonnull %7, ptr noundef nonnull @.str.19) #4 br label %162 162: ; preds = %156, %160, %9 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 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @WFPRINTF(i32 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 declare i32 @PrintByteCount(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PrintPercents(i32 noundef) local_unnamed_addr #2 declare i32 @PrintValues(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @PrintFullLosslessInfo(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 = { 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, !10, i64 8} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !10, i64 40, !14, i64 48, !7, i64 56, !7, i64 60, !7, i64 64} !14 = !{!"long", !8, i64 0} !15 = !{!13, !10, i64 8} !16 = !{!17, !17, i64 0} !17 = !{!"double", !8, i64 0} !18 = !{!13, !10, i64 16} !19 = !{!6, !7, i64 0} !20 = !{!6, !7, i64 4} !21 = !{!13, !7, i64 24} !22 = !{!13, !10, i64 32} !23 = !{!24, !24, i64 0} !24 = !{!"float", !8, i64 0} !25 = !{!13, !10, i64 40} !26 = !{!10, !10, i64 0} !27 = !{!13, !7, i64 64} !28 = !{!13, !7, i64 60} !29 = !{!13, !7, i64 56} !30 = !{!13, !14, i64 48}
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/examples/extr_cwebp.c_PrintExtraInfoLossy.c' source_filename = "AnghaBench/sumatrapdf/ext/libwebp/examples/extr_cwebp.c_PrintExtraInfoLossy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"%7d %2.2f\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"File: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Dimension: %d x %d%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c" (with alpha)\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [87 x i8] c"Output: %d bytes Y-U-V-All-PSNR %2.2f %2.2f %2.2f %2.2f dB\0A (%.2f bpp)\0A\00", align 1 @.str.6 = private unnamed_addr constant [121 x i8] c"block count: intra4: %6d (%.2f%%)\0A intra16: %6d (%.2f%%)\0A skipped: %6d (%.2f%%)\0A\00", align 1 @.str.7 = private unnamed_addr constant [87 x i8] c"bytes used: header: %6d (%.1f%%)\0A mode-partition: %6d (%.1f%%)\0A\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c" transparency: %6d (%.1f dB)\0A\00", align 1 @.str.9 = private unnamed_addr constant [68 x i8] c" Residuals bytes |segment 1|segment 2|segment 3|segment 4| total\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c" intra4-coeffs: \00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c" intra16-coeffs: \00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c" chroma coeffs: \00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c" macroblocks: \00", align 1 @.str.14 = private unnamed_addr constant [19 x i8] c" quantizer: \00", align 1 @.str.15 = private unnamed_addr constant [19 x i8] c" filter level: \00", align 1 @.str.16 = private unnamed_addr constant [29 x i8] c"------------------+---------\00", align 1 @.str.17 = private unnamed_addr constant [50 x i8] c"+---------+---------+---------+-----------------\0A\00", align 1 @.str.18 = private unnamed_addr constant [19 x i8] c" segments total: \00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"alpha\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @PrintExtraInfoLossy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @PrintExtraInfoLossy(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca [4 x i32], align 4 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = icmp eq i32 %1, 0 br i1 %8, label %17, label %9 9: ; preds = %4 %10 = load i32, ptr @stderr, align 4, !tbaa !12 %11 = load i32, ptr %7, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %7, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !16 %14 = getelementptr inbounds i8, ptr %13, i64 24 %15 = load double, ptr %14, align 8, !tbaa !17 %16 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %11, double noundef %15) #4 br label %162 17: ; preds = %4 %18 = getelementptr inbounds i8, ptr %7, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !19 %20 = load i32, ptr %19, align 4, !tbaa !12 %21 = getelementptr inbounds i8, ptr %19, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = getelementptr inbounds i8, ptr %19, i64 8 %24 = load i32, ptr %23, align 4, !tbaa !12 %25 = add nsw i32 %22, %20 %26 = load i32, ptr @stderr, align 4, !tbaa !12 %27 = tail call i32 @WFPRINTF(i32 noundef %26, ptr noundef nonnull @.str.1, ptr noundef %3) #4 %28 = load i32, ptr @stderr, align 4, !tbaa !12 %29 = load i32, ptr %0, align 8, !tbaa !20 %30 = getelementptr inbounds i8, ptr %0, i64 4 %31 = load i32, ptr %30, align 4, !tbaa !21 %32 = getelementptr inbounds i8, ptr %7, i64 24 %33 = load i32, ptr %32, align 8, !tbaa !22 %34 = icmp eq i32 %33, 0 %35 = select i1 %34, ptr @.str.4, ptr @.str.3 %36 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef nonnull @.str.2, i32 noundef %29, i32 noundef %31, ptr noundef nonnull %35) #4 %37 = load i32, ptr @stderr, align 4, !tbaa !12 %38 = load i32, ptr %7, align 8, !tbaa !13 %39 = getelementptr inbounds i8, ptr %7, i64 8 %40 = load ptr, ptr %39, align 8, !tbaa !16 %41 = load double, ptr %40, align 8, !tbaa !17 %42 = getelementptr inbounds i8, ptr %40, i64 8 %43 = load double, ptr %42, align 8, !tbaa !17 %44 = getelementptr inbounds i8, ptr %40, i64 16 %45 = load double, ptr %44, align 8, !tbaa !17 %46 = getelementptr inbounds i8, ptr %40, i64 24 %47 = load double, ptr %46, align 8, !tbaa !17 %48 = sitofp i32 %38 to float %49 = fmul float %48, 8.000000e+00 %50 = load i32, ptr %0, align 8, !tbaa !20 %51 = sitofp i32 %50 to float %52 = fdiv float %49, %51 %53 = load i32, ptr %30, align 4, !tbaa !21 %54 = sitofp i32 %53 to float %55 = fdiv float %52, %54 %56 = fpext float %55 to double %57 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef nonnull @.str.5, i32 noundef %38, double noundef %41, double noundef %43, double noundef %45, double noundef %47, double noundef %56) #4 %58 = icmp sgt i32 %25, 0 br i1 %58, label %59, label %156 59: ; preds = %17 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %5, i8 0, i64 16, i1 false) %60 = load i32, ptr @stderr, align 4, !tbaa !12 %61 = sitofp i32 %20 to float %62 = fmul float %61, 1.000000e+02 %63 = uitofp nneg i32 %25 to float %64 = fdiv float %62, %63 %65 = fpext float %64 to double %66 = sitofp i32 %22 to float %67 = fmul float %66, 1.000000e+02 %68 = fdiv float %67, %63 %69 = fpext float %68 to double %70 = sitofp i32 %24 to float %71 = fmul float %70, 1.000000e+02 %72 = fdiv float %71, %63 %73 = fpext float %72 to double %74 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef nonnull @.str.6, i32 noundef %20, double noundef %65, i32 noundef %22, double noundef %69, i32 noundef %24, double noundef %73) #4 %75 = load i32, ptr @stderr, align 4, !tbaa !12 %76 = getelementptr inbounds i8, ptr %7, i64 32 %77 = load ptr, ptr %76, align 8, !tbaa !23 %78 = load float, ptr %77, align 4, !tbaa !24 %79 = fpext float %78 to double %80 = fmul float %78, 1.000000e+02 %81 = load i32, ptr %7, align 8, !tbaa !13 %82 = sitofp i32 %81 to float %83 = fdiv float %80, %82 %84 = fpext float %83 to double %85 = getelementptr inbounds i8, ptr %77, i64 4 %86 = load float, ptr %85, align 4, !tbaa !24 %87 = fpext float %86 to double %88 = fmul float %86, 1.000000e+02 %89 = fdiv float %88, %82 %90 = fpext float %89 to double %91 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef nonnull @.str.7, double noundef %79, double noundef %84, double noundef %87, double noundef %90) #4 %92 = load i32, ptr %32, align 8, !tbaa !22 %93 = icmp sgt i32 %92, 0 br i1 %93, label %94, label %100 94: ; preds = %59 %95 = load i32, ptr @stderr, align 4, !tbaa !12 %96 = load ptr, ptr %39, align 8, !tbaa !16 %97 = getelementptr inbounds i8, ptr %96, i64 32 %98 = load double, ptr %97, align 8, !tbaa !17 %99 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %95, ptr noundef nonnull @.str.8, i32 noundef %92, double noundef %98) #4 br label %100 100: ; preds = %94, %59 %101 = load i32, ptr @stderr, align 4, !tbaa !12 %102 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef nonnull @.str.9) #4 %103 = icmp eq i32 %2, 0 br i1 %103, label %129, label %104 104: ; preds = %100 %105 = load i32, ptr @stderr, align 4, !tbaa !12 %106 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %105, ptr noundef nonnull @.str.10) #4 %107 = getelementptr inbounds i8, ptr %7, i64 40 %108 = load ptr, ptr %107, align 8, !tbaa !26 %109 = load ptr, ptr %108, align 8, !tbaa !27 %110 = load i32, ptr %7, align 8, !tbaa !13 %111 = sitofp i32 %110 to float %112 = call i32 @PrintByteCount(ptr noundef %109, float noundef %111, ptr noundef nonnull %5) #4 %113 = load i32, ptr @stderr, align 4, !tbaa !12 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %113, ptr noundef nonnull @.str.11) #4 %115 = load ptr, ptr %107, align 8, !tbaa !26 %116 = getelementptr inbounds i8, ptr %115, i64 8 %117 = load ptr, ptr %116, align 8, !tbaa !27 %118 = load i32, ptr %7, align 8, !tbaa !13 %119 = sitofp i32 %118 to float %120 = call i32 @PrintByteCount(ptr noundef %117, float noundef %119, ptr noundef nonnull %5) #4 %121 = load i32, ptr @stderr, align 4, !tbaa !12 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef nonnull @.str.12) #4 %123 = load ptr, ptr %107, align 8, !tbaa !26 %124 = getelementptr inbounds i8, ptr %123, i64 16 %125 = load ptr, ptr %124, align 8, !tbaa !27 %126 = load i32, ptr %7, align 8, !tbaa !13 %127 = sitofp i32 %126 to float %128 = call i32 @PrintByteCount(ptr noundef %125, float noundef %127, ptr noundef nonnull %5) #4 br label %129 129: ; preds = %104, %100 %130 = load i32, ptr @stderr, align 4, !tbaa !12 %131 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %130, ptr noundef nonnull @.str.13) #4 %132 = getelementptr inbounds i8, ptr %7, i64 64 %133 = load i32, ptr %132, align 8, !tbaa !28 %134 = call i32 @PrintPercents(i32 noundef %133) #4 %135 = load i32, ptr @stderr, align 4, !tbaa !12 %136 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %135, ptr noundef nonnull @.str.14) #4 %137 = getelementptr inbounds i8, ptr %7, i64 60 %138 = load i32, ptr %137, align 4, !tbaa !29 %139 = call i32 @PrintValues(i32 noundef %138) #4 %140 = load i32, ptr @stderr, align 4, !tbaa !12 %141 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %140, ptr noundef nonnull @.str.15) #4 %142 = getelementptr inbounds i8, ptr %7, i64 56 %143 = load i32, ptr %142, align 8, !tbaa !30 %144 = call i32 @PrintValues(i32 noundef %143) #4 br i1 %103, label %155, label %145 145: ; preds = %129 %146 = load i32, ptr @stderr, align 4, !tbaa !12 %147 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %146, ptr noundef nonnull @.str.16) #4 %148 = load i32, ptr @stderr, align 4, !tbaa !12 %149 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %148, ptr noundef nonnull @.str.17) #4 %150 = load i32, ptr @stderr, align 4, !tbaa !12 %151 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %150, ptr noundef nonnull @.str.18) #4 %152 = load i32, ptr %7, align 8, !tbaa !13 %153 = sitofp i32 %152 to float %154 = call i32 @PrintByteCount(ptr noundef nonnull %5, float noundef %153, ptr noundef null) #4 br label %155 155: ; preds = %145, %129 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4 br label %156 156: ; preds = %155, %17 %157 = getelementptr inbounds i8, ptr %7, i64 48 %158 = load i64, ptr %157, align 8, !tbaa !31 %159 = icmp sgt i64 %158, 0 br i1 %159, label %160, label %162 160: ; preds = %156 %161 = call i32 @PrintFullLosslessInfo(ptr noundef nonnull %7, ptr noundef nonnull @.str.19) #4 br label %162 162: ; preds = %156, %160, %9 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 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @WFPRINTF(i32 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 declare i32 @PrintByteCount(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PrintPercents(i32 noundef) local_unnamed_addr #2 declare i32 @PrintValues(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @PrintFullLosslessInfo(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 = { 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, !11, i64 8} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !11, i64 40, !15, i64 48, !8, i64 56, !8, i64 60, !8, i64 64} !15 = !{!"long", !9, i64 0} !16 = !{!14, !11, i64 8} !17 = !{!18, !18, i64 0} !18 = !{!"double", !9, i64 0} !19 = !{!14, !11, i64 16} !20 = !{!7, !8, i64 0} !21 = !{!7, !8, i64 4} !22 = !{!14, !8, i64 24} !23 = !{!14, !11, i64 32} !24 = !{!25, !25, i64 0} !25 = !{!"float", !9, i64 0} !26 = !{!14, !11, i64 40} !27 = !{!11, !11, i64 0} !28 = !{!14, !8, i64 64} !29 = !{!14, !8, i64 60} !30 = !{!14, !8, i64 56} !31 = !{!14, !15, i64 48}
sumatrapdf_ext_libwebp_examples_extr_cwebp.c_PrintExtraInfoLossy
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_main.c_brcms_c_intrsoff.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_main.c_brcms_c_intrsoff.c" target datalayout = "e-m:e-p270:32:32-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.brcms_c_info = type { i64, i64, ptr } %struct.brcms_hardware = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local i64 @brcms_c_intrsoff(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.brcms_c_info, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.brcms_hardware, ptr %3, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = icmp eq i32 %5, 0 br i1 %6, label %20, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.brcms_c_info, ptr %0, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !14 %10 = load i32, ptr %3, align 4, !tbaa !15 %11 = tail call i32 @D11REGOFFS(i64 noundef %9) #2 %12 = tail call i32 @bcma_write32(i32 noundef %10, i32 noundef %11, i32 noundef 0) #2 %13 = load i32, ptr %3, align 4, !tbaa !15 %14 = tail call i32 @D11REGOFFS(i64 noundef %9) #2 %15 = tail call i32 @bcma_read32(i32 noundef %13, i32 noundef %14) #2 %16 = tail call i32 @udelay(i32 noundef 1) #2 store i64 0, ptr %8, align 8, !tbaa !14 %17 = load i64, ptr %0, align 8, !tbaa !16 %18 = icmp eq i64 %17, 0 %19 = select i1 %18, i64 %9, i64 0 br label %20 20: ; preds = %1, %7 %21 = phi i64 [ %19, %7 ], [ 0, %1 ] ret i64 %21 } declare i32 @bcma_write32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @D11REGOFFS(i64 noundef) local_unnamed_addr #1 declare i32 @bcma_read32(i32 noundef, i32 noundef) local_unnamed_addr #1 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)"} !5 = !{!6, !10, i64 16} !6 = !{!"brcms_c_info", !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 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 4} !12 = !{!"brcms_hardware", !13, i64 0, !13, i64 4} !13 = !{!"int", !8, i64 0} !14 = !{!6, !7, i64 8} !15 = !{!12, !13, i64 0} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_main.c_brcms_c_intrsoff.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_main.c_brcms_c_intrsoff.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 i64 @brcms_c_intrsoff(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = icmp eq i32 %5, 0 br i1 %6, label %20, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !15 %10 = load i32, ptr %3, align 4, !tbaa !16 %11 = tail call i32 @D11REGOFFS(i64 noundef %9) #2 %12 = tail call i32 @bcma_write32(i32 noundef %10, i32 noundef %11, i32 noundef 0) #2 %13 = load i32, ptr %3, align 4, !tbaa !16 %14 = tail call i32 @D11REGOFFS(i64 noundef %9) #2 %15 = tail call i32 @bcma_read32(i32 noundef %13, i32 noundef %14) #2 %16 = tail call i32 @udelay(i32 noundef 1) #2 store i64 0, ptr %8, align 8, !tbaa !15 %17 = load i64, ptr %0, align 8, !tbaa !17 %18 = icmp eq i64 %17, 0 %19 = select i1 %18, i64 %9, i64 0 br label %20 20: ; preds = %1, %7 %21 = phi i64 [ %19, %7 ], [ 0, %1 ] ret i64 %21 } declare i32 @bcma_write32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @D11REGOFFS(i64 noundef) local_unnamed_addr #1 declare i32 @bcma_read32(i32 noundef, i32 noundef) local_unnamed_addr #1 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)"} !6 = !{!7, !11, i64 16} !7 = !{!"brcms_c_info", !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 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 4} !13 = !{!"brcms_hardware", !14, i64 0, !14, i64 4} !14 = !{!"int", !9, i64 0} !15 = !{!7, !8, i64 8} !16 = !{!13, !14, i64 0} !17 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_extr_main.c_brcms_c_intrsoff